@charset "UTF-8";

/* ==========================================================================
   help/demo-rental.html 専用スタイル
   ・既存の共通CSS(import.css / pc.css / pc02.css 等)は一切上書きしない。
   ・すべて #demo_rental を起点にスコープし、詳細度の衝突は
     セレクタの深さで解決する(!important は極力使用しない)。
   ========================================================================== */

/* ---------- 共通 ---------- */
#demo_rental .demo_inner {
  width: 1200px;
  margin: 0 auto;
}

#demo_rental .bg_band {
  background: #f5f5f5;
}

/* h1(.ttl_circle)は全ページ共通クラスのため共通CSS側は変更せず、
   このページに限り背景サークルを非表示にする */
#demo_rental .ttl_circle {
  background: none;
}

#demo_rental .section_ttl {
  margin: 0 0 40px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  text-align: center;
}

#demo_rental .section_note {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  font-weight: 600;
}

#demo_rental .section_lead {
  margin: 0 auto;
  max-width: 900px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  text-align: center;
}

/* ---------- ヒーローエリア ---------- */
#demo_rental .demo_hero {
  padding: 40px 0 45px;
}

#demo_rental .demo_hero_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 40px;
}

#demo_rental .demo_hero_lead {
  text-align: left;
}

#demo_rental .demo_hero_ttl {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  color: #03498f;
  text-align: left; /* .help_content h2 { text-align:center } は継承でなく直接指定のため、明示的に上書きが必要 */
}

#demo_rental .demo_hero_txt {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  font-weight: 600;
}

/* バッジ(特徴)エリア */
#demo_rental .demo_hero_badges {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
}

#demo_rental .demo_badge {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

#demo_rental .demo_badge_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  margin: 0 0 6px;
  color: #03498f;
  transform: translateY(5px);
}

#demo_rental .demo_badge_icon svg {
  width: 100%;
  height: 100%;
}

#demo_rental .demo_badge_sub {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #03498f;
  text-align: center;
  transform: translateY(5px);
}

#demo_rental .demo_badge_txt {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.0;
  color: #03498f;
  letter-spacing: 0.025em;
  transform: translateY(5px);
}

/* CTAボタン */
#demo_rental .demo_hero_cta {
  margin-top: 40px;
  text-align: center;
}

#demo_rental .btn_demo_apply {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 420px;
  padding: 18px 30px;
  border-radius: 50px;
  background: #ff4f37;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

#demo_rental .btn_demo_apply:hover {
  opacity: 0.8;
}

#demo_rental .btn_demo_apply_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

#demo_rental .btn_demo_apply_icon svg {
  display: block;
  width: 22px;
  height: 13px;
}

#demo_rental .btn_demo_apply:hover .btn_demo_apply_icon {
  transform: translateY(5px);
}

#demo_rental .demo_hero_annotation {
  margin: 7px 0 0;
  font-size: 13px;
}

#demo_rental .demo_hero_annotation span + span {
  margin-left: 1.5em;
}

/* ---------- ビジネスパートナー案内ボックス ---------- */
/* PC: アイコン+文章を横並び(アイコンあり・リストは行頭マークなし) */
#demo_rental .demo_bp_notice {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  margin: 30px auto 30px;
  padding: 15px 20px;
  border: 1px solid #ffb4a8;
  border-radius: 6px;
  background: #fff;
}

#demo_rental .demo_bp_notice_icon {
  flex: 0 0 auto;
  display: block;
  width: 40px;
  height: 40px;
  color: rgba(255, 79, 55, 0.25);
}

#demo_rental .demo_bp_notice_icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

#demo_rental .demo_bp_notice ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#demo_rental .demo_bp_notice li {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

#demo_rental .demo_bp_notice li:last-child {
  margin-bottom: 0;
}

#demo_rental .demo_bp_notice a {
  margin-right: 0.4em;
  font-weight: 800;
  color: #ff4f37;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-size: 1.1em;
}

#demo_rental .demo_bp_notice a:hover {
  text-decoration: none;
}

/* ---------- 貸出サービスの流れ(STEP) ---------- */
#demo_rental .demo_flow {
  padding: 20px 0 80px;
}

#demo_rental .demo_steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

#demo_rental .demo_step {
  flex: 1 1 0;
  padding: 25px 25px 30px;
  background: #f5f5f5;
  border-radius: 4px;
}

#demo_rental .demo_step_num {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #7197be;
}

#demo_rental .demo_step_ttl {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

#demo_rental .demo_step_txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

#demo_rental .demo_step_arrow {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: #c0d1e3;
  font-size: 22px;
}

/* ---------- お申し込みエリア(見出し・リード文まで) ---------- */
#demo_rental .demo_apply_head {
  padding: 30px 0 10px;
}

#demo_rental .demo_apply_head .section_ttl {
  margin-bottom: 20px;
}

#demo_rental .demo_apply_lead {
  padding: 40px 0 0;
}

#demo_rental .demo_apply_lead p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

#demo_rental .demo_apply_divider {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* フォーム本体(フォームメーラー: form02.cssの form_wide/form_mailer_ctt を流用) */
#demo_form {
  padding-bottom: 60px;
}

/* form02.cssの .form_sec_aria .item_label はデフォルト40%幅だが、
   このページでは通常の form_item と同じ23%に揃えて縦のラインを統一する */
#demo_rental .form_wide .form_sec_aria .item_label {
  flex: 0 1 23%;
}

/* .field_content にflex指定がないと、中の説明文(field_note)の長さによって
   幅が変わってしまう(auto basis)ため、常に残り幅いっぱいに伸ばす */
#demo_rental .form_wide .form_item .field_content {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
}

#demo_rental .form_wide {
  max-width: 1000px;
  margin: 0 auto;
}

#demo_rental .field_note {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

#demo_rental .form_sec_ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2.5rem;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

#demo_rental .form_sec_ttl_arrow {
  flex: 0 0 auto;
}

#demo_rental .form_sec_ttl_text {
  line-height: 1.5;
}

/* 利用規約スクロールボックス */
#demo_rental .agreement_box {
  box-sizing: border-box;
  height: 200px;
  overflow-y: auto;
  margin-bottom: 15px;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

#demo_rental .agreement_box h3 {
  margin: 0 0 10px;
  font-size: 16px;
  text-align: center;
}

#demo_rental .agreement_box h4 {
  margin: 14px 0 4px;
  font-size: 15px;
}

#demo_rental .agreement_box p {
  margin: 0 0 8px;
  font-size: 15px;
}

#demo_rental .agreement_box ul {
  margin: 0 0 8px 1.4em;
  padding: 0;
  font-size: 15px;
  list-style: disc outside;
}

#demo_rental .agreement_box li {
  font-size: 15px;
}

#demo_rental .agreement_check {
  margin: 0;
}

/* field_6311534(異なる場合の住所)のテキストを規約ボックスの文章と同じスタイルに */
#demo_rental #field_6311534 {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

/* 貸出機到着希望日: form02.cssの .form-control{appearance:none} により、
   Safari(特にiOS)ではカレンダーUI・年/月/日の表示ごと消えてしまうため、
   date入力だけネイティブ表示に戻す */
#demo_rental input[type="date"] {
  -webkit-appearance: auto;
  appearance: auto;
  max-width: 100%;
  box-sizing: border-box;
}

/* Safari(iOS)はネイティブの日付ウィジェットに独自の最小幅があり、
   max-width指定だけでは枠からはみ出すことがあるため、
   親ごとoverflow:hiddenで強制的に幅を丸め込む */
#demo_rental .date_field_wrap {
  width: 100%;
  overflow: hidden;
}

/* 貸出機到着希望日: type="date"のネイティブ表示(年/月/日)の間隔を調整
   ※Chrome/Edge/Safari(WebKit系)限定の疑似要素。Firefox等には影響しない */
#demo_rental input[type="date"]::-webkit-datetime-edit-text {
  padding: 0 4px;
}

#demo_rental input[type="date"]::-webkit-datetime-edit-year-field,
#demo_rental input[type="date"]::-webkit-datetime-edit-month-field,
#demo_rental input[type="date"]::-webkit-datetime-edit-day-field {
  padding: 0 2px;
}

#demo_rental .agreement_check label {
  font-weight: bold;
  cursor: pointer;
}

/* ==========================================================================
   SP(768px以下)
   ========================================================================== */
@media (max-width: 768px) {
  #demo_rental .demo_inner {
    width: 94%;
  }

  #demo_rental .section_ttl {
    font-size: 20px;
    margin-bottom: 25px;
  }

  #demo_rental .demo_hero {
    padding: 30px 0 35px;
  }

  #demo_rental .demo_hero_inner {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  #demo_rental .demo_hero_lead {
    min-width: 0;
  }

  #demo_rental .demo_hero_ttl {
    font-size: 22px;
    text-align: center;
  }

  #demo_rental .demo_hero_txt {
    font-size: 14px;
    text-align: center;
  }

  #demo_rental .demo_hero_badges {
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 12px;
  }

  #demo_rental .demo_badge {
    width: 30vw;
    height: 30vw;
    min-width: 0;
    max-width: 130px;
    max-height: 130px;
  }

  #demo_rental .demo_badge_icon {
    width: 7vw;
    height: 7vw;
    max-width: 28px;
    max-height: 28px;
    margin-bottom: 4px;
  }

  #demo_rental .demo_badge_txt {
    font-size: 4.2vw;
  }

  #demo_rental .demo_badge_sub {
    top: 14%;
    font-size: 2.8vw;
  }

  #demo_rental .btn_demo_apply {
    min-width: 0;
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
  }

  #demo_rental .demo_hero_annotation {
    text-align: center;
  }

  #demo_rental .demo_hero_annotation span {
    display: block;
  }

  #demo_rental .demo_hero_annotation span + span {
    margin-left: 0;
  }

  #demo_rental .demo_bp_notice {
    width: 100%;
    padding: 20px;
    margin-bottom: 40px;
  }

  #demo_rental .demo_bp_notice_icon {
    display: none;
  }

  #demo_rental .demo_bp_notice ul {
    padding-left: 1.3em;
    list-style: disc outside;
  }

  #demo_rental .demo_bp_notice li::marker {
    color: #ff4f37;
    font-size: 1.2em;
  }

  #demo_rental .demo_apply_head .section_note {
    box-sizing: border-box;
    width: 90%;
    margin: 0 auto;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
  }

  #demo_rental .demo_flow {
    padding: 40px 0;
  }

  #demo_rental .demo_steps {
    flex-direction: column;
    gap: 20px;
  }

  #demo_rental .demo_step_arrow {
    width: auto;
    height: 20px;
    transform: rotate(90deg);
  }

  #demo_rental .demo_apply_head {
    padding: 35px 0 25px;
  }

  #demo_rental .demo_apply_lead {
    padding: 30px 0 0;
  }

  #demo_rental .form_wide {
    width: 94%;
    margin: 0 auto;
  }

  #demo_rental .form_sec_ttl {
    margin: 1.5rem 0;
    gap: 6px;
    font-size: 17px;
  }

  /* 貸出機到着希望日: 実機でカレンダーUIが欠けることがあるため、
     form02.cssの .size_l(16.8em固定) を上書きして幅いっぱいにする */
  #demo_rental input[type="date"].size_l {
    width: 200px !important;
    max-width: 100% !important;
    height: 42px !important;
  }

  /* お名前: 姓・名を横並びのまま維持する */
  #demo_rental .field_content_inline {
    display: flex;
    gap: 10px;
  }

  #demo_rental .field_content_inline input {
    flex: 1 1 0;
    min-width: 0;
  }

  /* 貴社/ご自宅住所: ラジオボタンの選択肢を縦並びにする */
  #demo_rental .field_content_stack .radio_pair {
    display: block;
    margin-bottom: 8px;
  }
}
