/* 自作ムービーDVD化 LP（/lp/dvd）。ChatGPT の見本（2026-11-28 木下さん承認）を再現した CSS。
   申込・認証ページは lp_dvd.css のまま。写真は public/img/lp_dvd/ */

/* ========================================
   基本設定
======================================== */

:root {
  --teal: #1cb4a7;
  --teal-dark: #087f77;
  --teal-light: #eef7f6;
  --coral: #f56569;
  --coral-hover: #e95459;
  --text: #252b2a;
  --text-sub: #596360;
  --white: #ffffff;
  --border: #dce7e4;
  --background: #e9f0ee;
  --radius: 10px;
  --shadow: 0 3px 10px rgba(24, 72, 65, 0.07);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
}

.dv-page,
.dv-page *,
.dv-page *::before,
.dv-page *::after {
  box-sizing: border-box;
}

.dv-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  color: var(--text);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
}

.dv-page h1,
.dv-page h2,
.dv-page h3,
.dv-page p {
  margin: 0;
}

.dv-page ul,
.dv-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dv-page a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.dv-page img {
  display: block;
  max-width: 100%;
}

.dv-page a:focus-visible,
.dv-page summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}


/* ========================================
   ヘッダー
======================================== */

.dv-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  min-height: 54px;
  padding: 12px 16px;
  background: var(--white);
}

.dv-brand {
  color: var(--teal-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.dv-brand-sub {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}


/* ========================================
   ファーストビュー
======================================== */

.dv-hero {
  position: relative;
  isolation: isolate;
  background-color: #c8beb1;
  background-image: url("/img/lp_dvd/hero.webp");
  background-size: cover;
  /* ディスクが右下に見えるよう下寄せ */
  background-position: center bottom;
}

.dv-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  /* 上＝白い見出しを読ませる暗がり／下＝左側だけ白くして価格を読ませ、右下のディスクは見せる */
  background:
    linear-gradient(
      180deg,
      rgba(28, 25, 20, 0.5) 0%,
      rgba(28, 25, 20, 0.18) 28%,
      rgba(28, 25, 20, 0) 40%
    );
}

/* 下の左側だけ白くして価格を読ませる。上へ向かってなめらかに消す（境目を出さない） */
.dv-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.86) 45%,
    rgba(255, 255, 255, 0.12) 78%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask-image: linear-gradient(180deg, transparent 32%, #000 62%);
  mask-image: linear-gradient(180deg, transparent 32%, #000 62%);
}

.dv-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 435px;
  padding: 27px 20px 24px;
}

.dv-hero-title {
  color: var(--white);
  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: clamp(25px, 7vw, 33px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.23);
}

.dv-hero-bottom {
  padding-top: 110px;
}

.dv-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  line-height: 1.15;
  white-space: nowrap;
}

.dv-price-number {
  color: var(--teal-dark);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.055em;
  font-variant-numeric: lining-nums;
}

.dv-price-yen {
  margin-left: 3px;
  color: var(--teal-dark);
  font-size: 25px;
  font-weight: 800;
}

.dv-price-tax {
  margin-left: 3px;
  font-size: 13px;
  font-weight: 700;
}

.dv-delivery {
  margin-top: 12px !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.dv-delivery strong {
  font-size: 21px;
  font-weight: 800;
}

.dv-delivery small {
  display: block;
  margin-top: 3px;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 500;
}

.dv-hero .dv-button {
  margin-top: 18px;
}


/* ========================================
   申込ボタン
======================================== */

.dv-page .dv-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 15px 38px 15px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--coral);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.035em;
  box-shadow: 0 4px 0 rgba(194, 64, 68, 0.18);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.dv-button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.dv-button:active {
  transform: translateY(2px);
  box-shadow: none;
}

@media (hover: hover) {
  .dv-page .dv-button:hover {
    background: var(--coral-hover);
  }
}


/* ========================================
   共通セクション
======================================== */

.dv-section {
  padding: 30px 20px 32px;
  border-top: 6px solid var(--white);
}

.dv-section-mint {
  background: linear-gradient(
    135deg,
    #eaf5f3 0%,
    #f3f8f7 100%
  );
}

.dv-heading {
  margin-bottom: 20px !important;
  color: var(--teal-dark);
  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.035em;
}

.dv-caption {
  margin-top: 10px !important;
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}


/* ========================================
   チェックリスト
======================================== */

.dv-check-list {
  display: grid;
  gap: 9px;
}

.dv-check-item {
  position: relative;
  min-height: 56px;
  padding: 14px 15px 14px 43px;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  box-shadow: var(--shadow);
}

.dv-check-item::before {
  position: absolute;
  top: 20px;
  left: 17px;
  width: 15px;
  height: 8px;
  border-bottom: 3px solid var(--teal);
  border-left: 3px solid var(--teal);
  content: "";
  transform: rotate(-45deg);
}

.dv-check-item strong {
  color: var(--teal-dark);
  font-weight: 800;
}


/* ========================================
   料金表
======================================== */

.dv-price-table {
  padding: 5px 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dv-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.dv-price-row:last-child {
  border-bottom: 0;
}

.dv-price-row-main {
  padding-top: 18px;
  padding-bottom: 18px;
}

.dv-price-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dv-price-note {
  display: block;
  margin-top: 4px;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.dv-price-value {
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.035em;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dv-price-value span {
  margin-left: 1px;
  font-size: 15px;
}

.dv-price-value small {
  margin-right: 2px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.dv-price-row-main .dv-price-value {
  font-size: 29px;
}


/* ========================================
   お届けまでの流れ
======================================== */

.dv-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dv-steps::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 26px;
  width: 2px;
  background: rgba(28, 180, 167, 0.38);
  content: "";
}

.dv-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 56px;
  padding: 12px 14px 12px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.dv-step-number {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.dv-step-content {
  flex: 1;
  padding-top: 3px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.dv-step-description {
  margin-top: 5px !important;
  color: var(--text-sub);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}


/* ========================================
   ハレムビ
======================================== */

.dv-page .dv-related {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease;
}

.dv-related-image {
  width: 100%;
  height: 100%;
  min-height: 192px;
  object-fit: cover;
  object-position: center;
}

.dv-related-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 13px;
}

.dv-related-label {
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 600;
}

.dv-related-title {
  margin-top: 1px !important;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.dv-related-text {
  margin-top: 7px !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.dv-related-text strong {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dv-related-link {
  position: relative;
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  min-height: 44px;
  margin-top: 3px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.dv-related-link::after {
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

@media (hover: hover) {
  .dv-page .dv-related:hover {
    opacity: 0.8;
  }
}


/* ========================================
   よくある質問
======================================== */

.dv-faq {
  display: grid;
  gap: 9px;
}

.dv-faq-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.dv-faq-question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 17px 42px 17px 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dv-faq-question::-webkit-details-marker {
  display: none;
}

.dv-faq-question::marker {
  content: "";
}

.dv-faq-question::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.dv-faq-item[open] .dv-faq-question::after {
  transform: translateY(-25%) rotate(225deg);
}

.dv-faq-answer {
  margin: 0 16px;
  padding: 13px 0 18px;
  border-top: 1px solid var(--border);
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.8;
}


/* ========================================
   最後の申込エリア
======================================== */

.dv-closing {
  position: relative;
  isolation: isolate;
  border-top: 6px solid var(--white);
  background-color: #f6f5ef;
  background-image: url("/img/lp_dvd/couple.webp");
  background-position: 65% center;
  background-size: cover;
}

.dv-closing::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 0.1) 100%
  );
  content: "";
}

.dv-closing-inner {
  padding: 34px 20px 30px;
}

.dv-closing-title {
  color: var(--text);
  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: clamp(21px, 5.7vw, 27px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.dv-closing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  line-height: 1.2;
}

.dv-closing-price strong {
  color: var(--teal-dark);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dv-closing-price strong span {
  margin-left: 3px;
  font-size: 20px;
}

.dv-closing-price small {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.dv-closing .dv-button {
  margin-top: 20px;
}


/* ========================================
   幅360px前後のスマートフォン
======================================== */

@media screen and (max-width: 374px) {
  .dv-header {
    gap: 5px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .dv-brand {
    font-size: 19px;
  }

  .dv-section {
    padding: 27px 16px;
  }

  .dv-hero-inner {
    min-height: 420px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .dv-hero-title {
    font-size: 25px;
  }

  .dv-price-number {
    font-size: 52px;
  }

  .dv-price-tax {
    font-size: 12px;
  }

  .dv-heading {
    font-size: 23px;
  }

  .dv-price-table {
    padding-right: 12px;
    padding-left: 12px;
  }

  .dv-price-value {
    font-size: 20px;
  }

  .dv-price-value small {
    font-size: 12px;
  }

  .dv-related {
    grid-template-columns: 39% minmax(0, 1fr) !important;
  }

  .dv-related-content {
    padding-right: 10px;
    padding-left: 11px;
  }

  .dv-closing-inner {
    padding-right: 16px;
    padding-left: 16px;
  }
}


/* ========================================
   幅414px以上のスマートフォン
======================================== */

@media screen and (min-width: 414px) {
  .dv-hero-inner {
    min-height: 470px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .dv-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dv-price-number {
    font-size: 64px;
  }

  .dv-closing-inner {
    padding-right: 24px;
    padding-left: 24px;
  }
}


/* ========================================
   パソコン表示
======================================== */

@media screen and (min-width: 768px) {
  .dv-page {
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(24, 72, 65, 0.09);
  }

  .dv-header {
    min-height: 60px;
  }

  .dv-hero-inner {
    min-height: 500px;
  }

  .dv-hero-title {
    font-size: 33px;
  }

  .dv-section {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .dv-heading {
    font-size: 28px;
  }

  .dv-closing-inner {
    padding-top: 40px;
    padding-bottom: 36px;
  }
}


/* ========================================
   アニメーションを減らす設定への対応
======================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dv-page *,
  .dv-page *::before,
  .dv-page *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ========================================
   追加：実装でつないだ部分（ロゴのリンク・フッター・改行）
======================================== */

.dv-page .dv-brand {
  color: var(--teal-dark);
}

.dv-hero-title,
.dv-heading,
.dv-closing-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.dv-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 24px 20px 32px;
  border-top: 6px solid var(--white);
  background: var(--teal-light);
  color: var(--text-sub);
  font-size: 13px;
}

.dv-page .dv-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 最初の画面：写真（4:5）を丸ごと見せ、価格は左、ディスクは右下に見える。ボタンは写真の下 */
.dv-hero-inner {
  aspect-ratio: 4 / 5;
  min-height: 0;
  justify-content: space-between;
}

.dv-hero-bottom {
  max-width: 64%;
  padding-top: 0;
  padding-bottom: 6px;
}

.dv-hero .dv-price-number {
  font-size: clamp(46px, 13vw, 60px);
}

.dv-hero .dv-price-tax {
  display: block;
  width: 100%;
  margin: 4px 0 0;
}

.dv-hero-cta {
  padding: 16px 20px 24px;
  background: var(--white);
}

@media screen and (max-width: 374px) {
  .dv-hero-inner {
    min-height: 0;
  }

  .dv-hero-bottom {
    max-width: 70%;
  }

  .dv-hero-cta {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media screen and (min-width: 768px) {
  .dv-hero-inner {
    min-height: 0;
  }
}


/* ========================================
   2026-11-28 改良版（ChatGPT 見本 2 枚目）：選ばれる理由・比較表・固定バー・動き
======================================== */

:root {
  --teal-deep: #0b5f59;
}

.dv-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 選ばれる理由：番号つきの行（アイコンカードにしない） */
.dv-reasons {
  display: grid;
  gap: 8px;
}

.dv-reasons li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.dv-reasons-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.dv-reasons p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.dv-reasons strong {
  margin-left: 4px;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 800;
}

/* 比較表：スマホでも横スクロールせず読める幅に詰める */
.dv-compare-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dv-compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.dv-compare th,
.dv-compare td {
  padding: 9px 2px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.dv-compare thead th {
  padding-top: 11px;
  padding-bottom: 11px;
  background: #f4f8f7;
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
}

.dv-compare tbody th {
  width: 22%;
  padding-left: 8px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.dv-compare tr:last-child th,
.dv-compare tr:last-child td {
  border-bottom: 0;
}

.dv-compare .is-us {
  width: 19%;
  background: #e5f6f3;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 2px 0 0 var(--teal), inset -2px 0 0 var(--teal);
}

.dv-compare thead .is-us {
  background: var(--teal-deep);
  color: var(--white);
  box-shadow: none;
}

@media screen and (min-width: 414px) {
  .dv-compare,
  .dv-compare thead th,
  .dv-compare tbody th {
    font-size: 12px;
  }
}

/* 画面下に固定の申込バー */
.dv-sticky {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--teal-deep);
  box-shadow: 0 -6px 20px rgba(11, 95, 89, 0.22);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.dv-sticky.is-shown {
  transform: translateY(0);
}

.dv-sticky-price {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  color: var(--white);
  line-height: 1.15;
}

.dv-sticky-price strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dv-sticky-price strong span {
  margin-left: 2px;
  font-size: 14px;
}

.dv-sticky-price small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.dv-sticky .dv-button {
  min-height: 52px;
  font-size: 17px;
}

/* JS が動くときだけ、下から静かに入ってくる */
.dv-js .dv-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dv-js .dv-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 固定バーにフッターが隠れないように */
.dv-footer {
  padding-bottom: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .dv-js .dv-reveal {
    opacity: 1;
    transform: none;
  }

  .dv-sticky {
    transition: none;
  }
}

/* 比較表の見出しを折らない */
.dv-compare thead .is-us {
  font-size: 10px;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: normal;
}

.dv-compare tbody th {
  width: 24%;
  word-break: keep-all;
}

/* table-layout: fixed は先頭行で幅が決まるので、見出し行の左端に幅を持たせる */
.dv-compare thead th:first-child {
  width: 22%;
}

.dv-compare thead .is-us {
  width: 20%;
}


/* ========================================
   申込ページ（3ステップ）2026-11-28 ChatGPT 見本
======================================== */

.dv-apply {
  min-height: 100vh;
  padding-bottom: 88px;
  background: var(--white);
}

.dv-apply-hero {
  position: relative;
  isolation: isolate;
  padding: 26px 20px 30px;
  background: url("/img/lp_dvd/hero.webp") center 58% / cover no-repeat;
}

.dv-apply-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0.35) 100%);
}

.dv-apply-hero h1 {
  color: var(--text);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(22px, 6.4vw, 27px);
  font-weight: 700;
  line-height: 1.45;
}

/* 進み具合 */
.dv-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 12px 14px;
  background: var(--white);
}

.dv-stepper li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.dv-stepper li + li::before {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: var(--border);
  content: "";
}

.dv-stepper li.is-done + li::before,
.dv-stepper li.is-current::before {
  background: var(--teal);
}

.dv-stepper-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e3ebe9;
  color: var(--text-sub);
  font-size: 17px;
  font-weight: 800;
}

.dv-stepper .is-current .dv-stepper-num,
.dv-stepper .is-done .dv-stepper-num {
  background: var(--teal);
  color: var(--white);
}

.dv-stepper .is-current {
  color: var(--teal-dark);
}

/* 入力の本体 */
.dv-apply-body {
  padding: 4px 18px 24px;
}

.dv-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fff1f1;
  color: #b42d32;
  font-size: 15px;
  font-weight: 600;
}

.dv-panel-title {
  margin: 6px 0 18px !important;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.dv-panel-lead {
  margin: -6px 0 16px !important;
  color: var(--text-sub);
  font-size: 15px;
}

.dv-field {
  margin-bottom: 18px;
}

.dv-field > label,
.dv-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.dv-field > label small {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
}

.dv-req,
.dv-opt {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.dv-req {
  background: #d5ece8;
  color: var(--teal-dark);
}

.dv-opt {
  background: #eef1f0;
  color: var(--text-sub);
}

.dv-apply input[type="text"],
.dv-apply input[type="email"],
.dv-apply input[type="tel"],
.dv-apply input[type="date"],
.dv-apply select,
.dv-apply textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #cfdcd9;
  border-radius: 10px;
  background-color: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.dv-apply select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.dv-apply textarea {
  resize: vertical;
}

.dv-apply input:focus,
.dv-apply select:focus,
.dv-apply textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(28, 180, 167, 0.22);
  outline-offset: 0;
}

.dv-apply ::placeholder {
  color: #9aa6a3;
}

.dv-help {
  margin-top: 6px !important;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.dv-error {
  margin-top: 6px !important;
  color: #c0393e;
  font-size: 14px;
  font-weight: 700;
}

.dv-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 選択肢：押せる範囲を広く */
.dv-choices {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.dv-choices[hidden] {
  display: none;
}

.dv-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1.5px solid #d8e3e0;
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.dv-choice:has(input:checked) {
  border-color: var(--teal);
  background: #f0faf8;
}

.dv-choice input,
.dv-check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--teal);
}

.dv-choice-body {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.dv-choice-body small,
.dv-check small {
  display: block;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
}

.dv-choice em {
  flex-shrink: 0;
  color: var(--teal-dark);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.dv-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
}

.dv-check input {
  margin-top: 3px;
}

.dv-page .dv-check a {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* 次へ・戻る */
.dv-panel-nav {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.dv-next,
.dv-back {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
}

.dv-next {
  position: relative;
  flex: 1;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 0 rgba(8, 127, 119, 0.25);
}

.dv-next::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.dv-back {
  flex: 0 0 30%;
  background: #eef3f2;
  color: var(--text-sub);
  font-size: 16px;
}

.dv-page .dv-panel-nav .dv-submit {
  flex: 1;
  width: auto;
  font-size: 18px;
}

.dv-submit:disabled {
  opacity: 0.6;
}

/* JS が無いときは全ステップを1ページで見せるので、次へ・戻るは隠す */
html:not(.dv-js) .dv-next,
html:not(.dv-js) .dv-back {
  display: none;
}

/* 画面下の合計金額（タップで明細） */
.dv-total-bar {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  background: #f3faf8;
  box-shadow: 0 -4px 16px rgba(24, 72, 65, 0.08);
}

.dv-total-detail > summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.dv-total-detail > summary::-webkit-details-marker {
  display: none;
}

.dv-total-detail > summary strong {
  margin-left: auto;
  color: var(--teal-dark);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dv-total-detail > summary strong span {
  margin-left: 2px;
  font-size: 15px;
}

.dv-total-detail > summary small {
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 600;
}

.dv-total-lines {
  padding: 0 18px 12px !important;
}

.dv-total-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px dashed var(--border);
  font-size: 14px;
}

/* 確認コード入力 */
.dv-code {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 8px 0 20px;
}

.dv-apply .dv-code input {
  min-height: 60px;
  padding: 0;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
}

.dv-apply .dv-code input.filled {
  border-color: var(--teal);
  background-color: #f0faf8;
}

.dv-page .dv-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.dv-field-row {
  align-items: end;
}
