:root {
  /* ▼背景を「もうちょっと薄く」 */
  --bg: #d8ece6;
  /* 薄めのくすみミント */
  --bg2: #eaf5f2;
  /* さらに薄い差し色 */
  --surface: rgba(255, 255, 255, .72);
  --surface-strong: rgba(255, 255, 255, .9);
  --text: #0f1a18;
  --muted: rgba(15, 26, 24, .68);
  --line: rgba(15, 26, 24, .12);
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255, 255, 255, .34), transparent 55%),
    radial-gradient(900px 500px at 80% 30%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(900px 500px at 40% 80%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  line-height: 1.6;
  letter-spacing: .02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 16px 80px;
}

/* Top nav */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(216, 236, 230, .68);
  border-bottom: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* 非表示状態 */
.topbar.is-hidden {
  transform: translateY(-110%);
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  vertical-align: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-logo {
  width: 120px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .10));
}

.img_paycomp {
  width: 125px;
  display: block;    /* インラインからブロックに変更 */
  margin: 0 auto;    /* 左右の余白を自動にして中央へ */
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
}

/* Desktop nav */
.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:hover {
  background: rgba(255, 255, 255, .45);
  color: var(--text);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  width: 42px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.hamburger:active {
  transform: scale(.99);
}

.hamburger .bars {
  width: 18px;
  height: 14px;
  position: relative;
}

.hamburger .bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 99px;
  background: rgba(15, 26, 24, .88);
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}

.hamburger .bars span:nth-child(1) {
  top: 0;
}

.hamburger .bars span:nth-child(2) {
  top: 6px;
}

.hamburger .bars span:nth-child(3) {
  top: 12px;
}

/* open state */
.topbar[data-open="true"] .hamburger .bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.topbar[data-open="true"] .hamburger .bars span:nth-child(2) {
  opacity: 0;
}

.topbar[data-open="true"] .hamburger .bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* mobile drawer */
.drawer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .48);
  backdrop-filter: blur(14px);
}

.drawer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px 14px;
  display: grid;
  gap: 8px;
}

.drawer a {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 26, 24, .10);
  background: rgba(255, 255, 255, .62);
  color: rgba(15, 26, 24, .86);
  font-weight: 650;
  font-size: 15px;
}

.drawer a:hover {
  background: rgba(255, 255, 255, .8);
}

.drawer[hidden] {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  font-weight: 650;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.btn:active {
  transform: translateY(0px) scale(.99);
}

.btn.primary {
  background: rgba(15, 26, 24, .92);
  color: rgba(255, 255, 255, .96);
  border-color: rgba(15, 26, 24, .14);
}

.btn.primary:hover {
  background: rgba(15, 26, 24, .98);
}

.btn.small {
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cards / Sections */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section {
  margin-top: 18px;
  padding: 22px;
}

@media (min-width: 860px) {
  .section {
    padding: 28px;
  }
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.hero {
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .grid.hero {
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
  }
}

/* Hero video */
.video-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: rgba(0, 0, 0, .08);
}

.hero-title {
  position: absolute;
  inset: 14px 14px auto 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(15, 26, 24, .12);
  backdrop-filter: blur(10px);
}

.hero-title h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: .02em;
}

@media (min-width: 560px) {
  .hero-title h1 {
    font-size: 22px;
  }
}

.hero-right h2 {
  margin: 0 0 10px 0;
  font-size: 26px;
  line-height: 1.2;
}

.hero-right p {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 15px;
}


/* HERO: 動画をセクション横幅いっぱいに */
.hero-full {
  padding: 0;
  /* card sectionの内側余白を消してフル幅感 */
  overflow: hidden;
}

/* video-shellをフル幅・高めに */
.hero-video {
  position: relative;
  border-radius: 0;
  /* cardの角丸を活かすなら0でもOK。残したいなら24px等 */
  border: none;
  box-shadow: none;
  width: 100%;
}

/* 動画自体を「全面カバー」に */
.hero-video .video {
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  object-fit: cover;
  display: block;
}

/* 動画をほんのり暗くする層 */
.hero-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .30);
  /* “ほんのり暗く” */
  pointer-events: none;
}

/* コピーを動画に重ねる */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.hero-overlay .kicker {
  color: rgba(255, 255, 255, .72);
  margin: 0;
}

.hero-overlay h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: .02em;
}

.hero-overlay p {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

/* CTA（cta-rowは使わない） */
.hero-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ボタンの見やすさを少し上げる（暗い背景用） */
.hero-actions .btn {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .20);
  color: rgba(255, 255, 255, .92);
  box-shadow: none;
}

.hero-actions .btn:hover {
  background: rgba(255, 255, 255, .26);
}

.hero-actions .btn.primary {
  background: rgba(15, 26, 24, .92);
  border-color: rgba(15, 26, 24, .18);
  color: rgba(255, 255, 255, .96);
}

/* BENEFITS：横長にして縦並び */
.benefits-vertical {
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.benefit-wide {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: auto;
}

.benefit-wide .icon {
  flex: 0 0 auto;
  /* サイズを画像に任せる */
  display: flex;
  align-items: center;
}

/* 画像サイズを完全固定 */
.benefit-wide .icon img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
}

.benefit-body h3 {
  margin: 0 0 4px 0;
}

.benefit-body p {
  margin: 0;
}

/* スマホはコピーが詰まるので余白調整 */
@media (max-width: 520px) {
  .hero-overlay {
    padding: 16px;
  }

  .benefits-vertical {
    padding: 14px 16px 16px;
  }
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 画像サイズだけ指定 */
.icon img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
}

/* 3 benefits */
.benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

@media (min-width: 860px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit {
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
  min-height: 96px;
}

.benefit h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

/* Child-friendly section */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.headline {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.bullets li {
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(15, 26, 24, .9);
  color: white;
  font-size: 13px;
  flex: 0 0 22px;
  margin-top: 1px;
}

.bullets b {
  display: block;
  margin-bottom: 2px;
}

.bullets span {
  color: var(--muted);
  font-size: 14.5px;
}

.ph {
  border-radius: 24px;
  border: none;
  /*border: 1px dashed rgba(15,26,24,.18);*/
  background: rgba(255, 255, 255, .25);
  padding: 0;
  /* ← 余白なし */
  min-height: 260px;
  width: 100%;
  overflow: hidden;
  /* ← 角丸を効かせるため必須 */
}

.ph>div {
  height: 100%;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Detail photos (placeholders) */
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shot {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .45);
}

.shot .img {
  aspect-ratio: 8 / 5;
  /* 枠の比率は維持 */
  background: rgba(0, 0, 0, .08);
  /* ← 余った部分のグレー */

  overflow: hidden;
  /* はみ出しを隠す */
  display: flex;
  align-items: center;
  /* ← 縦センタリング */
  justify-content: center;
  /* ← 横センタリング（念のため） */
}

.shot .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 枠いっぱいに（端は少し切れる） */
  display: block;
}

.shot .img video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* ← はみ出さず全体表示 */
  display: block;
}

.shot .cap {
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  /* 折り返しを許可 */
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.shot .cap b {
  font-size: 15px;
}

.shot .cap small {
  color: var(--muted);
  font-size: 14.5px;
}

/* Compliance + specs */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  font-size: 12px;
  color: rgba(15, 26, 24, .78);
}

.specs {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 26, 24, .10);
  font-size: 15px;
}

th {
  width: 38%;
  color: rgba(15, 26, 24, .72);
  font-weight: 650;
  background: rgba(255, 255, 255, .35);
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}

/* FAQ */
details {
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
}

details+details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Footer CTA */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 18px;
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
}

.footer-cta b {
  font-size: 15px;
}

.footer-cta span {
  color: var(--muted);
  font-size: 14.5px;
  display: block;
  margin-top: 2px;
}

/* Tiny helper */
.muted {
  color: var(--muted);
}

.kicker {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 6px 0;
  text-align: center;
}

.h3 {
  margin: 0 0 30px 0;
  font-size: 25px;
  line-height: 1.25;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.step_note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  margin: 0 0 0 10px;
}

.step_title {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.4;
}

.step_mark {
  display: inline-block;
  background: #dcd7ef;
  color: #333;
  font-weight: 700;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 14px;
}

.step_icon {
  width: 128px;
  height: 128px;
  border-radius: 400px;
  background: #f3f0e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.5;
  padding: 12px;
  box-sizing: border-box;
}

.space {
  height: 6px;
}

/* ▼レスポンシブ：スマホはハンバーガー */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hide-sp {
    display: none !important;
  }

  .step_note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step_note > div:last-child {
    border-left: none !important;
    padding-left: 0 !important;
  }

}


/* Purchase modal */
body.modal-open {
  overflow: hidden;
}

.purchase-modal[hidden] {
  display: none;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.purchase-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 24, .48);
  backdrop-filter: blur(6px);
}

.purchase-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 26, 24, .12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  padding: 24px;
}

.purchase-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.purchase-modal__desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.purchase-form {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.purchase-group {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(15, 26, 24, .10);
  border-radius: 20px;
  background: rgba(234, 245, 242, .55);
}

.purchase-group legend {
  padding: 0 8px;
  font-weight: 700;
  font-size: 15px;
}

.purchase-check,
.purchase-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 650;
  cursor: pointer;
}

.purchase-choice + .purchase-choice {
  margin-top: 14px;
}

.purchase-check input,
.purchase-choice input {
  margin-top: 6px;
  transform: scale(1.15);
}

.purchase-text {
  margin: 3px 0 0 35px;
  font-size: 15px;
  line-height: 1.6;
}

.purchase-help {
  margin: 3px 0 0 35px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.purchase-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.purchase-note {
  margin: 0;
  color: brown;
  font-size: 13px;
  line-height: 1.7;
}

.btn[disabled] {
  opacity: .48;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .purchase-modal {
    padding: 12px;
  }

  .purchase-modal__dialog {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .purchase-modal__title {
    font-size: 22px;
    padding-right: 36px;
  }

  .purchase-actions {
    flex-direction: column-reverse;
  }

  .purchase-actions .btn {
    width: 100%;
  }
}

.text-link {
  appearance: none;
  border: 0;
  padding-left: 20px;
  background: transparent;
  color: inherit;
  font: inherit;
  /* text-decoration: underline; */
  text-underline-offset: 3px;
  cursor: pointer;
}

.disclosure-modal__dialog {
  width: min(820px, 100%);
}

.disclosure-table {
  margin-top: 18px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(15, 26, 24, .10);
  background: rgba(255, 255, 255, .72);
}

.disclosure-table table {
  min-width: 100%;
}

.disclosure-table th {
  width: 34%;
}

.disclosure-actions {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .disclosure-table th,
  .disclosure-table td {
    display: block;
    width: 100%;
  }

  .disclosure-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .disclosure-table td {
    padding-top: 0;
  }
}

