@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ivory: #f2efe4;
  --ink: #283027;
  --muted: #515b50;
  --pine: #254335;
  --pine-deep: #18352a;
  --gold: #9a7842;
  --terra: #874d39;
  --line: #dedacf;
  --serif: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.85 var(--sans); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #a67d3d; outline-offset: 4px; }
[id] { scroll-margin-top: 5.5rem; }
.shell { width: min(100% - 6rem, 1220px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; background: white; padding: .4rem .8rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid #e5e1d6; }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; color: var(--pine-deep); font: 600 1.02rem/1.3 Georgia, serif; letter-spacing: .13em; }
.brand-symbol { display: flex; align-items: end; gap: 3px; height: 25px; padding-inline: 1px; }
.brand-symbol i { position: relative; width: 1px; height: 12px; background: var(--pine); }
.brand-symbol i:nth-child(2n) { height: 18px; }
.brand-symbol i:nth-child(3) { height: 24px; }
.brand-symbol i::before { content: ''; position: absolute; width: 3px; height: 3px; background: var(--gold); border-radius: 50%; top: 0; left: -1px; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.9rem); }
nav a { font-size: .875rem; font-weight: 600; text-decoration: none; }
nav a:hover, .sub-link:hover, .legal a:hover { text-decoration-thickness: 2px; text-underline-offset: .35em; text-decoration-line: underline; }
.header-button { padding: .55rem 1.18rem; border: 1px solid #848e75; border-radius: 3px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #f0eade; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 43%; background: #e9ddc5 url('assets/dna-hero.webp') 58% 54% / cover no-repeat; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f0eade, #f0eade80 14%, transparent 38%); }
.hero-inner { min-height: clamp(478px, 46vw, 675px); display: flex; align-items: center; }
.hero-copy { padding: 3.7rem 0 3.5rem; max-width: 49%; }
.hero-label { font-size: .84rem; font-weight: 700; letter-spacing: .08em; color: var(--pine); margin-bottom: 1.23rem; display: inline-block; border-block: 1px solid #a98e63; padding: .32rem 0; }
h1 { color: var(--pine-deep); font-size: clamp(2.55rem, 5vw, 5.15rem); font-weight: 600; letter-spacing: .035em; line-height: 1.22; }
h1 span { display: block; }
.hero-tagline { font: 600 clamp(1.13rem, 2vw, 1.62rem)/1.6 var(--serif); margin-top: 1.23rem; color: #394732; }
.hero-description { margin: .86rem 0 1.6rem; max-width: 28rem; color: #40493d; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.3rem; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: .9rem; font-weight: 700; text-align: center; transition: background-color .18s, color .18s; }
.primary { background: var(--pine); color: white; }
.primary:hover { background: #365b43; }
.hero .button { min-height: 3.25rem; padding-inline: 1.6rem; }
.sub-link { display: block; width: fit-content; margin-top: .8rem; font-size: .875rem; text-underline-offset: .28em; color: #3d513e; }
.benefits { background: var(--pine-deep); color: #fff9ee; }
.benefits-inner { display: grid; grid-template-columns: 1fr 1fr 1.2fr; padding: 1.2rem 0; }
.benefits-inner > div { display: flex; align-items: baseline; justify-content: center; gap: .7rem; padding: .12rem .7rem; font-size: .9rem; }
.benefits-inner > div + div { border-left: 1px solid #788575; }
.metric { font: 400 1.85rem/1.3 var(--serif); white-space: nowrap; color: #efdbb2; }
.metric span { font-size: .95rem; }
.section { padding-block: clamp(3.4rem, 7.2vw, 6.25rem); }
.section-title { margin-bottom: 2rem; }
.section-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: .04em; color: var(--pine-deep); }
.section-title h2::after { content: ''; display: block; width: 46px; height: 1px; margin-top: .55rem; background: var(--gold); }
.section-title p { color: var(--muted); margin-top: .8rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.45rem; }
.plan { padding: clamp(1.15rem, 3.1vw, 2.55rem); border: 1px solid #dadcce; background: #fffdf7; border-top: 4px solid #52684a; border-radius: 4px 4px 12px 12px; }
.plan.family { border-color: #e5d7cb; border-top-color: #a6644b; background: #fffaf4; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.plan-head h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--pine); }
.capacity { border-radius: 20px; background: #e9eddf; color: #394d35; font-weight: 600; font-size: .875rem; padding: .14rem .75rem; white-space: nowrap; }
.family h3, .family .price { color: var(--terra); }
.family .capacity { color: #754736; background: #f4e5db; }
.price { margin: 1.02rem 0 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font: 400 clamp(2.75rem, 5vw, 4.55rem)/1 Georgia, serif; color: var(--pine-deep); white-space: nowrap; font-variant-numeric: lining-nums; }
.price span { font: 500 .9rem/1 var(--sans); margin-left: .3rem; }
.ticks { list-style: none; padding: 0; margin-bottom: 1.3rem; }
.ticks li { margin: .32rem 0; padding-left: 1.3rem; position: relative; }
.ticks li::before { content: ''; position: absolute; left: .12rem; top: .6em; width: .44rem; height: .7rem; border: solid #5f7756; border-width: 0 2px 2px 0; transform: rotate(42deg); }
.family .ticks li::before { border-color: var(--terra); }
.outline { color: var(--pine-deep); border-color: #82927d; width: 100%; }
.outline:hover { background: #e9eddf; }
.family .outline { color: var(--terra); border-color: #b58670; }
.family .outline:hover { background: #f4e5db; }
.flow-band { background: #efeee3; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; }
.flow li { border-top: 1px solid #aba68b; padding-top: 1rem; counter-increment: step; }
.flow li::before { content: counter(step, decimal-leading-zero); display: block; font: 400 1.7rem/1.1 Georgia, serif; color: #795c36; margin-bottom: .58rem; }
.flow h3 { font-size: 1.12rem; margin-bottom: .48rem; }
.flow p { color: var(--muted); }
.community { background: radial-gradient(ellipse at 92% -10%, #84404d, transparent 63%), linear-gradient(120deg, #422437, #542541); color: #fff7f2; }
.community-inner { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.4rem, 7.2vw, 6.25rem); }
.community-label { display: inline-block; border: 1px solid #e4ada5; color: #fff1e6; padding: .15rem .7rem; font-size: .875rem; border-radius: 2px; margin-bottom: .9rem; }
.community h2 { font-size: clamp(1.8rem, 3.3vw, 3rem); line-height: 1.35; }
.community h2 span, .community h2 strong { display: block; }
.community h2 strong { color: #ffbbac; font-weight: 600; font-size: 1.19em; letter-spacing: .035em; }
.community-intro { font: 600 1.23rem/1.55 var(--serif); margin: 1.08rem 0 .6rem; }
.community-details { margin-top: 1rem; padding-left: 1.25em; }
.community-details li::marker { color: #ffbbac; }
.schedule { padding: clamp(1.15rem, 3.1vw, 2.1rem); background: #fff4ed; color: #4c273d; border: 1px solid #ffc9b7; border-radius: 10px; text-align: center; }
.schedule h3 { font-size: 1.45rem; }
.schedule > p { font-size: .92rem; margin-top: .2rem; }
.schedule ul { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.schedule li { border: 1px solid #edd3c8; background: #fffaf7; border-radius: 3px; padding: .66rem .13rem; }
.schedule time { white-space: nowrap; font: 500 clamp(1.23rem, 2.4vw, 2rem)/1 Georgia, serif; }
.schedule time span { font: 600 .78rem/1 var(--sans); }
.schedule .schedule-hours { background: #572844; padding: .43rem .5rem; border-radius: 4px; color: white; }
.schedule-hours strong { font-family: Georgia, var(--sans); font-size: 1.24rem; }
.schedule .schedule-note { margin-top: .42rem; color: #69505b; font-size: .85rem; }
.team-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 1.15rem; }
.team h3 { font-size: 1.22rem; color: var(--pine-deep); padding: .52rem .65rem; margin-bottom: .75rem; border-bottom: 1px solid #94a088; }
.family-team h3 { color: var(--terra); border-color: #bd907b; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.profile { background: #fffdf7; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.profile img { width: 100%; height: auto; aspect-ratio: 1 / 1.04; object-fit: cover; object-position: center 26%; background: #ece6df; }
.profile-copy { padding: 1rem; display: flex; flex-direction: column; }
.profile h4 { font-size: 1.24rem; }
.profile p { color: var(--muted); font-size: .875rem; min-height: 3.4em; margin: .25rem 0 .8rem; }
.family-button { background: var(--terra); color: white; }
.family-button:hover { background: #a2634c; }
.faq-band { background: #f0ede3; }
.faq { max-width: 920px; }
details { border-top: 1px solid #cfcabd; }
details:last-child { border-bottom: 1px solid #cfcabd; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1rem .25rem; font-weight: 600; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 400 1.25rem Georgia, serif; flex: none; color: var(--pine); }
details[open] summary::after { content: '−'; }
details p { padding: 0 .25rem 1rem; color: var(--muted); }
.footer { background: var(--pine-deep); color: #f7f3e8; }
.footer-inner { padding-block: 2.2rem; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 1.7rem; }
.footer .brand { color: #f7f3e8; }
.legal { display: flex; gap: .7rem 1.25rem; flex-wrap: wrap; font-size: .875rem; }
.legal a { text-underline-offset: .2rem; }
.footer small { font-size: .8rem; }
@media (max-width: 980px) {
  .shell { width: calc(100% - 3.2rem); }
  .team-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .family-team .profile { max-width: calc((100% - 2rem) / 3); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.75rem; }
  nav { gap: .8rem; }
  nav a:not(.header-button) { display: none; }
  .header-button { padding: .4rem .65rem; }
  .hero-photo { inset: 0 0 auto; height: 16.75rem; background-position: center 56%; }
  .hero-photo::after { background: linear-gradient(0deg, #f0eade, transparent 36%); }
  .hero-inner { min-height: 0; }
  .hero-copy { max-width: 100%; padding: 14.7rem 0 2rem; }
  .hero-label { margin-bottom: .75rem; }
  h1 { font-size: clamp(2.44rem, 8.5vw, 4.4rem); }
  .hero-tagline { margin-top: .65rem; }
  .hero-description { margin: .48rem 0 1.12rem; }
  .benefits-inner { padding: .7rem 0; grid-template-columns: 1fr .93fr 1.17fr; }
  .benefits-inner > div { flex-direction: column; align-items: center; text-align: center; justify-content: flex-start; padding: 0 .25rem; gap: .24rem; font-size: .875rem; line-height: 1.45; }
  .metric { font-size: 1.52rem; }
  .plan-grid, .community-inner { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .95rem; }
  .schedule time { font-size: 1.55rem; }
  .community-inner { gap: 1.65rem; }
  .team-grid { grid-template-columns: 1fr; gap: .72rem; }
  .profile { display: grid; grid-template-columns: .73fr 1fr; }
  .profile img { height: 100%; object-position: center 24%; }
  .profile-copy { align-items: flex-start; justify-content: center; padding: .75rem .83rem; }
  .profile p { min-height: 0; }
  .family-team .profile { max-width: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
