/* セクション① */
.lp-hero {
  margin: 2rem;
}

.lp-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* カード（緑の背景） */
.lp-hero__card {
  position: relative;
  border-radius: 40px;
  height: 340px;
  overflow: visible;
  /* ← 変更 */
}

/* スライダーを全画面に広げる */
.lp-hero__slider {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  /* ここで画像を角丸クリップ */
}

.lp-hero__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右下のはみ出しボタン */
.lp-hero__cta {
  position: absolute;
  right: 40px;
  bottom: -35px;
  padding: 20px 80px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.lp-hero__cta:hover {
  opacity: 0.9;
}

/* SP */
@media (max-width: 768px) {
  .lp-hero__card {
    height: 260px;
  }

  .lp-hero__cta {
    left: 20px;
    right: 20px;
    bottom: -30px;
    padding: 16px 24px;
    font-size: 16px;
    text-align: center;
  }
}

/* セクション①終わり*/

/* セクション② */
.lp-desc {
  padding: 72px 20px 0;
  /* 上だけ少し広めに */
  background: #fff;
}

.lp-desc__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* グレーの「プロモーション」 */
.lp-desc__label {
  font-size: 20px;
  font-weight: 700;
  color: #d3d3d3;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

/* 大きい見出し */
.lp-desc__title {
  font-size: 44px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 32px;
}

/* 説明文 */
.lp-desc__text {
  font-size: 16px;
  line-height: 2;
}

/* スマホ用 */
@media (max-width: 768px) {
  .lp-desc {
    padding: 48px 16px 0;
  }

  .lp-desc__label {
    font-size: 16px;
  }

  .lp-desc__title {
    font-size: 28px;
  }

  .lp-desc__text {
    font-size: 14px;
  }
}

/* セクション③ */
.lp-recommend {
  padding: 80px 20px;
  background: #fff;
}

.lp-recommend__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-recommend__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.lp-recommend__list {
  display: flex;
  gap: 40px;
}

.lp-recommend__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-recommend__item {
  background: #f8f8f8;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-recommend__icon {
  font-size: 18px;
  color: #000;
}

/* スマホ用 */
@media (max-width: 768px) {
  .lp-recommend__list {
    flex-direction: column;
  }

  .lp-recommend__column {
    gap: 16px;
  }
}

/* セクション③終わり */

/* セクション④ */
.lp-flow {
  padding: 80px 20px;
  background: #fff;
}

.lp-flow__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-flow__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.lp-flow__lead {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
}

/* 全体の枠 */
.lp-flow__table {
  border-radius: 16px;
  border: 1px solid #eee;
  overflow: visible;
  /* 三角を切らない */
  background: #ffffff;
  /* 三角の“抜き”になる色 */
}

/* 各行 */
.lp-flow__row {
  display: flex;
  border-top: 1px solid #eee;
  position: relative;
}

.lp-flow__row:first-child {
  border-top: none;
}

/* 左側（STEP部分） */
.lp-flow__step {
  position: relative;
  width: 160px;
  min-width: 160px;
  padding: 32px 24px;
  background: #f5f5f5;
  text-align: center;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* ▼ 下向き三角形（最後の行以外） */
.lp-flow__row:not(:last-child) .lp-flow__step::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #ffffff;
  /* ★ テーブル背景色と同じに変更 */
  z-index: 2;
}

.lp-flow__step-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #999;
}

.lp-flow__step-num {
  font-size: 28px;
  font-weight: 800;
}

/* 右側（白背景） */
.lp-flow__body {
  flex: 1;
  padding: 32px 40px;
  background: #fff;
  /* ★白背景を明示 */
}

.lp-flow__row-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lp-flow__row-text {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.lp-flow__row-text a {
  color: inherit;
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .lp-flow__row {
    flex-direction: row;
  }

  .lp-flow__step {
    width: 100px;
    min-width: 100px;
    padding: 20px 12px;
  }

  .lp-flow__step-num {
    font-size: 22px;
  }

  .lp-flow__body {
    padding: 20px 20px;
  }

  .lp-flow__row-title {
    font-size: 16px;
  }

  .lp-flow__row-text {
    font-size: 13px;
  }
}

/* セクション④終わり */

/* セクション⑤ */
.lp-faq {
  padding: 80px 20px 100px;
  background: #fff;
}

.lp-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-faq__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}

.lp-faq__list {
  border-top: 1px solid #eee;
}

.lp-faq__item {
  border-bottom: 1px solid #eee;
}

/* 質問行 */
.lp-faq__question {
  width: 100%;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* 左のピンク丸Q */
.lp-faq__q-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid #ff2b7a;
  color: #ff2b7a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

/* 質問テキスト */
.lp-faq__q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  text-align: start;
}

/* 右の下向き矢印 */
.lp-faq__toggle-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  margin-right: 4px;
  transition: transform 0.2s ease;
}

/* 開いているときに回転 */
.lp-faq__item.is-open .lp-faq__toggle-icon {
  transform: rotate(-135deg);
}

/* 回答 */
.lp-faq__answer {
  display: none;
  padding: 0 0 16px 56px;
  /* 左はQの位置に合わせて少しインデント */
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

/* 開いたとき表示 */
.lp-faq__item.is-open .lp-faq__answer {
  display: block;
}

/* スマホ */
@media (max-width: 768px) {
  .lp-faq {
    padding: 64px 16px 80px;
  }

  .lp-faq__title {
    font-size: 26px;
  }

  .lp-faq__q-text {
    font-size: 14px;
  }

  .lp-faq__answer {
    padding-left: 52px;
    font-size: 13px;
  }
}

/* セクション⑤終わり */

/* セクション⑥：ランニング費用 */
.lp-running {
  padding: 80px 20px 100px;
  background: #fff;
}

.lp-running__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-running__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-running__lead {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 40px;
}

/* 上部の丸いボックス */
.lp-running__summary {
  display: flex;
  border-radius: 999px;
  border: 1px solid #eee;
  overflow: hidden;
  /* 角丸に沿って中身も切る */
  margin-bottom: 40px;
}

/* 左側：グレー背景のラベル部分 */
.lp-running__summary-left {
  flex: 0 0 260px;
  padding: 28px 48px;
  background: #f7f7f7;
  font-size: 22px;
  font-weight: 700;

  display: flex;
  align-items: center;
  /* 縦方向の中央揃え */
  justify-content: center;
  /* 横方向の中央揃え */
  text-align: center;
  /* テキスト中央揃え */
}

/* 下部補足テキスト用 */
.lp-running__underText {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 20px;
}

/* 右側：白背景＋太字の内容部分 */
.lp-running__summary-right {
  flex: 1;
  padding: 28px 48px;
  background: #ffffff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

/* スマホ時は縦積み */
@media (max-width: 768px) {
  .lp-running__summary {
    flex-direction: column;
    border-radius: 24px;
  }

  .lp-running__summary-left,
  .lp-running__summary-right {
    flex: 1 1 auto;
    width: 100%;
    padding: 20px 24px;
    font-size: 18px;
  }

  .lp-running__summary-right {
    font-size: 20px;
  }
}

.lp-running__summary-label {
  font-size: 18px;
  font-weight: 600;
}

.lp-running__summary-main {
  font-size: 24px;
  font-weight: 800;
}

/* 一例テーブル */
.lp-running__subheading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.lp-running__table {
  border-top: 1px solid #eee;
}

.lp-running__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.lp-running__cell {
  font-size: 14px;
}

.lp-running__cell--label {
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .lp-running__cell--label {
    text-align: start;
  }
}

.lp-running__cell--price {
  font-weight: 700;
  text-align: center;
  padding: 0 24px;
}

.lp-running__cell--note {
  color: #777;
  text-align: start;
}

/* スマホ用レイアウト */
@media (max-width: 768px) {
  .lp-running {
    padding: 64px 16px 80px;
  }

  .lp-running__title {
    font-size: 26px;
  }

  .lp-running__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 24px;
  }

  .lp-running__summary-main {
    font-size: 20px;
  }

  .lp-running__row {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .lp-running__cell--price {
    text-align: left;
    padding: 0;
  }
}

/* セクション⑥終わり */
.breadcrumbs {
  margin: 1rem auto;
  font-size: 14px;
  color: #6b7a86;
  max-width: 1200px;
}

.bc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-item {
  display: flex;
  align-items: center;
  color: #6b7a86;
}

.bc-item a {
  color: #004751;
  text-decoration: none;
  font-weight: 600;
}

.bc-item a:hover {
  text-decoration: underline;
}

.bc-item::after {
  content: ">";
  margin: 0 6px;
  color: #9aa5af;
}

.bc-item:last-child::after {
  content: "";
}

.bc-current {
  color: #1f3137;
  font-weight: 700;
}
/* ================================
   Design Digital Spoke：ヘッダーデザイン
================================ */

/* header 内側の高さ・整列（PC共通） */
.dds-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 左：ロゴ / 右：ボタン群 */
  gap: 32px;
}

/* ロゴ（PC） */
.dds-logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #154B5A;
}

/* ナビ */
.dds-nav-ul {
  display: flex;
  align-items: center;
  gap: 56px;
  text-transform: uppercase;
  font-size: 14px;
}

.dds-nav-link {
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: color .2s ease;
}

.dds-nav-link:hover {
  color: #bfbfbf;
}

/* 検索アイコン（丸 / PC） */
.dds-search-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.dds-search-btn:hover {
  background: #f5f5f5;
}

/* お問い合わせ（PC） */
.dds-contact-btn {
  background: #154B5A;
  /* 濃いめブルーグレー */
  color: #fff;
  padding: 10px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

.dds-contact-btn:hover {
  background: #6a93a6;
}

/* お問い合わせ（SP 用。ヘッダーで使わないなら残しておいてもOK） */
.dds-contact-btn-sm {
  background: #7aa7bd;
  color: #fff;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

.dds-contact-btn-sm:hover {
  background: #6a93a6;
}

/* ================================
   全画面検索オーバーレイ（PCベース）
================================ */

/* 初期状態：非表示だが DOM には存在させる */
.dds-search-overlay {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 1s ease-out, visibility 1s ease-out;
  overflow-y: auto;
}

/* 白ベール（画像を少し薄く） */
.dds-search-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  pointer-events: none;
  /* クリックを通す */
}

/* 開いた状態 */
.dds-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 中身：中央寄せ（PC） */
.dds-search-overlay-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 720px;
  text-align: center;
  z-index: 2;

  opacity: 0;
  transform: translate(-50%, calc(-50% + 30px));
  transition:
    opacity 1.1s ease-out 0.1s,
    transform 1.1s ease-out 0.1s;
}

/* 開いたとき：上にふわっと */
.dds-search-overlay.is-open .dds-search-overlay-inner {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* タイトル */
.dds-search-overlay-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #144c65;
  margin-bottom: 20px;
}

/* 検索フォーム */
.dds-search-form {
  position: relative;
  width: 100%;
  height: 64px;
  border-radius: 9999px;
  border: 2px solid #000;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 64px 0 24px;
  box-sizing: border-box;
}

.dds-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}

/* 右端の虫メガネ（オーバーレイ内） */
.dds-search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dds-search-submit-icon {
  width: 16px;
}

/* Closeボタン（右上） */
.dds-search-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 40px;
  font-weight: bold;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  color: #333;
  transition: opacity .3s ease;
  z-index: 3;
}

.dds-search-close:hover {
  opacity: 0.7;
}

/* ================================
   SP レイアウト調整（ヘッダー＋検索画面）
================================ */
@media (max-width: 768px) {

  /* ヘッダー内レイアウト（高さ＆左右余白） */
  .dds-header-inner {
    height: 56px;
    padding: 0 12px;
    gap: 8px;
  }

  /* ロゴを小さめにして1行に */
  .dds-logo {
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  /* ナビは完全非表示（念のため） */
  .dds-nav-ul {
    display: none;
  }

  /* 検索アイコンを少し小さく */
  .dds-search-btn {
    width: 32px;
    height: 32px;
    border-width: 1px;
  }

  .dds-search-btn svg {
    width: 14px;
    height: 14px;
  }

  /* ハンバーガーも同じサイズ感に */
  #navOpen {
    width: 32px;
    height: 32px;
    padding: 0;
    margin-left: 4px;
  }

  /* オーバーレイ全体：デバイス画面ピッタリ */
  .dds-search-overlay {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  /* 中身：画面ど真ん中にコンパクト配置 */
  .dds-search-overlay-inner {
    top: 40%;
    left: 50%;
    width: 100%;
    max-width: 320px;
    /* バー＋タイトルの最大幅 */
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;

    opacity: 0;
    transform: translate(-50%, -50%);
    transition:
      opacity 0.7s ease-out 0.1s,
      transform 0.7s ease-out 0.1s;
  }

  .dds-search-overlay.is-open .dds-search-overlay-inner {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  /* KEYWORD */
  .dds-search-overlay-title {
    font-size: 16px;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
  }

  /* 検索フォーム：細め＆短め */
  .dds-search-form {
    height: 34px;
    padding: 0 30px 0 8px;
    border-width: 1px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .dds-search-input {
    font-size: 11px;
  }

  .dds-search-submit {
    width: 22px;
    height: 22px;
    right: 6px;
  }

  .dds-search-submit-icon {
    width: 11px;
  }

  /* Closeボタン：少し小さく内側に */
  .dds-search-close {
    top: 12px;
    right: 12px;
    font-size: 22px;
  }
}