: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));
}
.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: 14px;
}
.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: 8px;
}

.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: 15px;
}
.benefit p{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  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: 13px; }

.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;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.shot .cap b{ font-size: 14px; }
.shot .cap small{ color: var(--muted); font-size: 12px; }

/* 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: 14px;
}
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: 13px;
  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: 13px; display:block; margin-top: 2px; }

/* Tiny helper */
.muted{ color: var(--muted); }
.kicker{ font-size: 12px; color: var(--muted); margin: 0 0 6px 0; }
.h2{ margin: 0 0 10px 0; font-size: 20px; line-height: 1.25; }
.space{ height: 6px; }

/* ▼レスポンシブ：スマホはハンバーガー */
@media (max-width: 820px){
  .nav{ display:none; }
  .hamburger{ display:inline-flex; }
  .hide-sp{ display: none !important; }
}
