/* =====================
   共通・PCベース
   ===================== */

/* ======================================
  基本設定
====================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  color: #222;
}

/* LP全体幅 */
body#page-jrwest,
#top,
.contentsInr,
.contentsUnit {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* ======================================
  表示切り替え（PC / SP）
====================================== */
.sp {
  display: none;
}
.pc {
  display: block;
}

@media (max-width: 768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/* ======================================
  ヘッダー（共通）
====================================== */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

/* ======================================
  PCレイアウト
====================================== */
@media (min-width: 769px) {
  /* ヘッダー */
  .lp-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    /* padding: 12px 24px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .lp-logo img {
    height: 30px;
    width: auto;
  }

  .lp-global-nav--pc {
    display: block;
  }

  .lp-hamburger,
  .lp-global-nav--sp {
    display: none;
  }

  /* ヘッダー分の余白 */
  body#page-jrwest {
    padding-top: 70px;
  }

  /* FV（PC） */
  .lp-fv {
    position: relative;
    background-color: #f7f7f7;
  }

  .lp-fv-visual {
    height: calc(100vh - 70px);
    min-height: 520px;
    overflow: hidden; /* ←トリミング前提なら必要 */
  }

  .fv-img--pc {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面にフィットさせる */
    object-position: center; /* 基本は中央 */
  }

  .fv-img--sp {
    display: none;
  }

  /* ★狭いPC・拡大表示で左の訴求が切れやすいので、少し左寄せにする */
  @media (max-width: 1400px) {
    .fv-img--pc {
      object-position: 35% center;
    }
  }

  /* さらに狭いPC（1366px想定） */
  @media (max-width: 1200px) {
    .fv-img--pc {
      object-position: 28% center;
    }
  }

  /* 固定CTA（PC） */
  .lp-fixed-cta {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(1000px, calc(100% - 48px));
    border-radius: 12px;
  }

  body {
    padding-bottom: 96px;
  }
}

/* ======================================
  SPレイアウト
====================================== */
@media (max-width: 768px) {
  :root {
    --sp-header-h: 44px;
  }

  body#page-jrwest {
    padding-top: var(--sp-header-h);
    overflow-x: hidden;
  }

  .lp-header-inner {
    height: var(--sp-header-h);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .lp-logo img {
    height: 22px;
    width: auto;
  }

  .lp-global-nav--pc {
    display: none;
  }

  .lp-hamburger {
    display: block;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    position: relative;
  }

  /* SPナビ */
  .lp-global-nav--sp {
    display: block;
    position: fixed;
    top: var(--sp-header-h);
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    z-index: 999;
  }

  .lp-global-nav--sp ul {
    list-style: none;
    margin: 0;
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .lp-global-nav--sp.is-open {
    max-height: 260px;
  }

  /* FV（SP） */
  .lp-fv {
    background-color: #f7f7f7;
  }

  .fv-img--pc {
    display: none;
  }

  .fv-img--sp {
    display: block;
    width: 100%;
    height: auto;
  }

  /* 固定CTA（SP） */
  .lp-fixed-cta {
    padding: 10px 12px;
    gap: 8px;
  }

  .lp-fixed-cta-btn {
    font-size: 16px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  main {
    padding-bottom: 96px;
  }
}
@media (max-width: 1100px) {
  .fv-img--pc {
    object-fit: contain;
    background-color: #5fc3e4; /* FV背景色に合わせる */
  }
}
/* ======================================
  固定CTA（共通）
====================================== */
.lp-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #fff;
  padding: 12px 16px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
}

.lp-fixed-cta-switch {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-fixed-cta-btn {
  flex: 1;
  background: #f98594;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 0;
  border-radius: 8px;
  text-decoration: none;
}

.lp-fixed-cta-btn.secondary {
  background: #f98594;
  color: #fff;
  border: 2px solid #f98594;
}

.lp-cta-badge {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #f98594;
}

/* ======================================
  ナビ
====================================== */
.lp-global-nav--pc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.lp-global-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 700;
}

.lp-global-nav a:hover {
  text-decoration: underline;
}

/* ======================================
  ハンバーガー
====================================== */
.lp-hamburger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background-color: #222;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.lp-hamburger span:nth-child(1) {
  top: 9px;
}
.lp-hamburger span:nth-child(2) {
  top: 15px;
}
.lp-hamburger span:nth-child(3) {
  top: 21px;
}

.lp-hamburger.is-open span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}
.lp-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.lp-hamburger.is-open span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* ======================================
  FV CTA
====================================== */
.lp-fv-cta {
  background-color: #f98594;
  text-align: center;
  padding: 18px 12px;
}

.lp-fv-cta-btn {
  display: inline-block;
  padding: 10px 40px;
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}
/* =====================
   キャンペーン概要
   ===================== */

.lp-benefit {
  background-color: #ffffff;
  padding: 100px 16px 10px;
  text-align: center;
}

.lp-benefit-inner {
  max-width: 800px;
  margin: 0 auto;
}

.lp-benefit-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin: 0 auto 16px;
  font-size: 12px;
  color: #fff;
  background-color: #f4a35a; /* 画像エリアの目印オレンジ */
  border-radius: 4px;
}

/* 画像に差し替える場合用（後で有効にする想定） */

.lp-benefit-label img {
  display: block;
  height: 40px;
}

.lp-benefit-title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.6;
  color: #0070c8; /* 青系 */
}

.lp-benefit-title-main {
  font-weight: 700;
}
.lp-benefit-title-main img {
  vertical-align: -3px;
  height: 34px;
}

.lp-benefit-title-strong {
  font-size: 30px;
  font-weight: 700;
}
.lp-benefit-title-strong img {
  vertical-align: -9px;
  height: 40px;
}
.lp-benefit-asterisk {
  font-size: 0.4em;
  vertical-align: super;
  color: #666;
}

.lp-benefit-lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  margin-top: 40px;
  color: #333;
}

.lp-benefit-note {
  font-size: 11px;
  color: #666;
  text-align: left;
  padding-top: 30px;
}

.lp-benefit-blue {
  color: #0070c8;
  font-weight: 700; /* 必要なら太字も */
}

.lp-benefit-pink {
  color: #f98594;
  font-weight: 700; /* 必要なら太字も */
}

.lp-benefit-red {
  color: red;
}

a {
  color: inherit;
}

.flow-case-title {
  border-left: 6px solid #1e74c6; /* ブランド青に寄せる */
  border-radius: 4px;
  padding: 7px 14px;
  margin: 14px auto 10px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left; /* 中央寄せにしたいなら center */
  max-width: 520px; /* なくてもOK */
}
/* =========================
  PC：キャンペーン概要（benefit）調整
  ※SPには影響しない
========================= */
@media (min-width: 769px) {
  /* セクション左右の“余白感”を少し増やす */
  .lp-benefit {
    padding: 100px 24px 24px; /* 16px→24pxに */
  }

  /* 中央ブロックを少し広げる（注釈が詰まりすぎない） */
  .lp-benefit-inner {
    max-width: 920px; /* 800→920（好みで） */
    padding: 0 24px; /* 端すぎ対策 */
    box-sizing: border-box;
  }

  /* 注釈：左寄せは維持しつつ“端すぎ”を解消 */
  .lp-benefit-note {
    max-width: 720px; /* ← この幅が“読みやすさの芯” */
    margin: 32px auto 0; /* ← ブロック自体を中央に */
    padding: 0; /* paddingで調整しない */
    text-align: left; /* 文章は左寄せ */
    line-height: 1.9;
  }
}

/* =====================
   利用シーン
   ===================== */

.lp-scene {
  background-color: #ffffff;
  padding: 90px 16px 60px;
}

.lp-scene-inner {
  max-width: 960px;
  margin: 0 auto;
}

.lp-scene-list {
  position: relative; /* 矢印の基準 */
  display: flex;
  justify-content: center;
  align-items: flex-start; /* ← アイテムの高さを揃えない */
  gap: 90px;
}

.lp-scene-item {
  flex: 1;
  text-align: center;
}

.lp-scene-head {
  display: inline-block;
  min-width: 260px;
  padding: 10px 86px;
  margin-bottom: 18px;
  background-color: #0070c8; /* 青帯 */
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
}

.lp-scene-img {
  border-radius: 4px;
  overflow: hidden;
  padding: 12px; /* 画像用スペースの仮余白 */
  min-height: 190px; /* ざっくり高さ合わせ用 */
}

/* 実画像を入れたらこのコメントアウトを有効に */

.lp-scene-img img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-scene-caption {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

/* 矢印を2つの画像の中央に配置 */
.lp-scene-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%; /* 中央 */
  transform: translate(-50%, -50%);
  z-index: 10;
}

.lp-scene-arrow img {
  width: 60px;
  height: auto;
  display: block;
}
.lp-scene-arrow--sp {
  display: none;
}
/* =====================
   特徴セクション
   ===================== */

.lp-feature {
  background-color: #e7f4ff; /* 水色背景 */
  padding: 60px 16px;
  text-align: center;
}

.lp-feature-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.lp-feature-label {
  display: inline-block;
  background-color: #f4a35a;
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.lp-feature-inner img {
  height: 34px;
  vertical-align: -2px;
}
.lp-feature-title {
  font-size: 30px;
  line-height: 1.6;
  color: #0070c8;
}

.lp-feature-lead {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 700;
}

.lp-feature-note {
  margin-top: 30px;
  font-size: 11px;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* =====================
   料金プラン
   ===================== */

.lp-plan {
  background-color: #ffffff;
  padding: 60px 16px;
}

.lp-plan-inner {
  max-width: 780px; /* 表のmax-widthと合わせるのが重要！ */
  margin: 0 auto;
  padding-left: 0; /* 不要なら削除 */
  padding-right: 0;
}

.lp-plan-title {
  text-align: center;
  font-size: 30px;
  line-height: 1.6;
  color: #0070c8;
}

.lp-plan-lead {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin: 1px;
}

.lp-plan-lead-note {
  text-align: right;
  font-size: 11px;
  line-height: 1.7;
  color: #666;
}

.lp-plan-block + .lp-plan-block {
  margin-top: 40px;
}

/* 見出し（戸建て/集合住宅）も左揃え */
.lp-plan-heading {
  text-align: left;
}

.lp-plan-heading::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 18px;
  background-color: #0070c8; /* 青ライン */
}

/* テーブルラッパ：中央で幅を狭く  */
.lp-plan-tableWrap {
  width: 100%;
  overflow-x: auto;
  max-width: 780px; /* ★PCは最大幅を絞る */
  margin: 0 auto; /* 中央寄せ */
}

/* テーブル本体 */
.lp-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed; /* ★列幅を均等化して無駄な空白を消す */
}
.lp-plan-table th,
.lp-plan-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 17px;
  font-weight: 700;
}

/* オプション表の2列目・3列目は常に中央揃え */
.lp-option-table td:nth-child(2),
.lp-option-table td:nth-child(3),
.lp-option-table th:nth-child(2),
.lp-option-table th:nth-child(3) {
  text-align: center !important;
}

/* 料金セルのスタイル */
.lp-plan-price {
  text-align: center;
  white-space: nowrap;
}

/* 各列の幅指定（細かい余白削減） */
.lp-plan-table th:nth-child(1),
.lp-plan-table td:nth-child(1) {
  width: 40%; /* プラン名 */
}

.lp-plan-table th:nth-child(2),
.lp-plan-table td:nth-child(2) {
  width: 20%; /* 最大速度 */
}

.lp-plan-table th:nth-child(3),
.lp-plan-table td:nth-child(3) {
  width: 40%; /* 料金 */
}

.lp-plan-table thead th {
  background-color: #0070c8;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.lp-plan-th-note,
.lp-plan-td-note {
  font-size: 10px;
  vertical-align: super;
}

.lp-plan-price-main {
  font-size: 26px;
  font-weight: 700;
}

.lp-plan-price-tax {
  font-size: 11px;
  margin-left: 4px;
}

/* 脚注 */
.lp-plan-note {
  text-align: left;
  margin-top: 30px;
  font-size: 11px;
  color: #666;
  line-height: 1.7;
}

span.en {
  font-size: 14px;
  font-weight: 700;
}
/* .lp-acc {
  margin-top: 16px;
  border-top: 1px solid #ddd;
} */

/* 初期費用アコーディオン */
.lp-acc-btn {
  width: 100%;
  /* background: #f3f3f3; */
  border: none;
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  cursor: pointer;
}

.lp-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: #fafafa;
  padding: 0 14px;
}

.lp-acc-content p {
  padding: 10px 0 14px;
  color: #666;
  line-height: 1.7;
  font-size: 11px;
  text-align: left;
}

.lp-acc.open .lp-acc-content {
  max-height: 1000px;
}

/* 承諾番号だけ上書き */
.lp-acc--blue.open .lp-acc-content {
  max-height: 1550px; /* 内容が長いなら増やす */
}

/* 承諾番号のアコーディオン */
/* 承諾番号用（背景ブルー） */
.lp-acc--blue .lp-acc-btn {
  background: #e7f4ff;
}

.lp-acc--blue .lp-acc-content {
  background: #e7f4ff;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
}

.lp-acc--blue .lp-acc-content p {
  padding: 10px 0 14px;
  color: #666;
  line-height: 1.7;
  font-size: 11px;
  text-align: left;
}

/* =====================
   オプション（アコーディオン）
   ===================== */

.lp-option {
  margin-top: 48px;
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
}

.lp-option-title {
  margin: 0 0 8px;
}

/* トグルボタン */
.lp-option-toggle {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid #0070c8;
  background-color: #ffffff;
  color: #0070c8;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}

.lp-option-toggle-text {
  flex: 1;
  text-align: left;
}

/* ＋／−アイコン */
.lp-option-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.lp-option-toggle-icon::before,
.lp-option-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: #0070c8;
  transform: translate(-50%, -50%);
}

/* 縦線（＋）は is-open で消す */
.lp-option-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lp-option-toggle.is-open .lp-option-toggle-icon::after {
  opacity: 0;
}

/* 開閉エリア */
.lp-option-body {
  margin-top: 16px;
}

.lp-option-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: #666;
}

/* =====================
   ご契約の流れ
   ===================== */

.lp-flow {
  background-color: #e7f4ff;
  padding: 60px 16px;
}

.lp-flow-inner {
  max-width: 960px;
  margin: 0 auto;
}

.lp-flow-title {
  text-align: center;
  font-size: 30px;
  line-height: 1.6;
  color: #0070c8;
}

.lp-flow-lead {
  text-align: center;
  font-size: 18px;
  margin: 0 0 32px;
  font-weight: 700;
}

.lp-flow-block + .lp-flow-block {
  margin-top: 36px;
}

.lp-flow-heading {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-left: 16px;
}

.lp-flow-heading::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 18px;
  background-color: #0070c8;
}

/* ステップ4つ横並び */
.lp-flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.lp-flow-step {
  width: 25%;
  background-color: transparent;
}

.lp-flow-step-head {
  background-color: #0070c8;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  padding: 6px 0;
}

.lp-flow-step-body {
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
  padding: 20px 10px 21px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.lp-flow-step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 8px;
}

.lp-flow-step-img img {
  margin: auto;
  display: block;
  /* width: 100%; */
  height: auto;
  height: 80px;
}

/* =====================
   お支払い方法
   ===================== */

.lp-payment {
  background-color: #ffffff;
  padding: 60px 16px;
  text-align: center;
}

.lp-payment-inner {
  max-width: 760px;
  margin: 0 auto;
}

.lp-payment-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0070c8;
}

.lp-payment-lead {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 28px;
}

.lp-payment-card {
  border-radius: 12px;
  border: 3px solid #0070c8; /* 青枠 */
  padding: 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lp-payment-card img {
  display: block;
  width: 75%;
  height: auto;
}

.lp-payment-note {
  font-size: 11px;
  color: #666;
  line-height: 1.7;
}

/* ================================
   CTA（PC）
================================ */
.lp-cta {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background: url("../img/bg_wave_cta.png") center/cover no-repeat;
  color: #fff;
}

.lp-cta-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f59bab;
  color: #fff;
  padding: 16px 40px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.lp-cta-btn:hover {
  background: #ffb1c2;
  transform: translateY(-2px);
}

.lp-cta-btn .arrow {
  padding-left: 8px;
  font-size: 24px;
  line-height: 1;
}

/* ================================
   Footer（PC）
================================ */
.lp-footer {
  background: #000;
  color: #fff;
  padding: 1px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

/* アイテムの並び：PCは4つ横並び */
.lp-feature-list {
  display: flex;
  gap: 24px;
}

.lp-feature-item {
  display: flex;
  flex-direction: column; /* ヘッダー → 画像 → テキスト の縦並び */
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background-color: #fff;
  padding: 20px 10px;
  border-radius: 3px;
}

.lp-feature-item--extra {
  display: block;
}

/* 見た目調整（高さ揃え対策） */
.lp-feature-img {
  flex: 0 0 auto;
  position: static !important;
  margin: 0 auto 16px; /* 画像の下に確実に余白を作る */
}

.lp-feature-img img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lp-feature-head {
  background-color: #0070c8;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  width: 90px;
  padding: 4px 75px;
  margin: 0 auto 16px;
  border-radius: 6px;
}

/* テキストを普通のフローに戻して余白をつける */
.lp-feature-text {
  position: static !important; /* absolute/relative を打ち消す */
  margin: 0 12px 0;
  line-height: 1.6;
  font-weight: 500;
  font-size: 14px;
}

@media (min-width: 769px) {
  /* 固定CTA：PCは確実に中央寄せ */
  body#page-jrwest .lp-fixed-cta {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;

    width: min(1000px, calc(100% - 48px));
    box-sizing: border-box;
  }
}
