:root {
  --paper: #f6faf8;
  --white: #fff;
  --mint: #ddf3eb;
  --teal: #166c67;
  --hover: #00524e;
  --ink: #213b39;
  --muted: #405754;
  --line: #c8d8d3;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5.75rem; }
body { margin: 0; font: 1rem/1.8 var(--sans); color: var(--ink); background: var(--paper); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 700 1.875rem/1.45 var(--serif); letter-spacing: .02em; text-wrap: balance; }
h3 { font: 700 1.0625rem/1.55 var(--sans); }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 5; background: white; padding: .6rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 4rem, 68rem); margin-inline: auto; }
.narrow { max-width: 51rem; }
.section { padding-block: clamp(3.4rem, 6.5vw, 5rem); }
.white { background: var(--white); border-block: 1px solid var(--line); }
.mint { background: #e8f3ee; }

.site-header { position: sticky; top: 0; z-index: 3; background: #fffffff7; border-bottom: 1px solid var(--line); }
.header-bar { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; white-space: nowrap; }
.brand img { width: 3.5rem; height: auto; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 1.25rem/1.25 var(--serif); }
.brand small { font-size: .75rem; font-weight: 700; color: var(--teal); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.6rem, 1.4vw, 1.35rem); }
.nav a, .footer a { font-size: .875rem; font-weight: 700; }
.nav a:hover, .footer a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: .25em; }
.nav .nav-trial, .menu-toggle { display: none; }
.pill { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; width: fit-content; padding: .75rem 1.4rem; border: 1px solid transparent; border-radius: 999px; background: var(--teal); color: white; font-size: .9375rem; font-weight: 700; line-height: 1.5; text-align: center; }
.pill:hover { background: var(--hover); }
.header-trial { font-size: .8125rem; white-space: nowrap; }
.pill.secondary { background: #fffffff2; color: var(--teal); border-color: #a9c3ba; }
.pill.secondary:hover { background: var(--mint); }
.preview-notice { padding: .55rem 1rem; border-bottom: 1px solid var(--line); background: var(--mint); color: var(--hover); font-size: .875rem; font-weight: 700; text-align: center; }

.hero { position: relative; isolation: isolate; min-height: clamp(48rem, 59vw, 61rem); text-align: center; background: white; overflow: hidden; }
.hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 44%; background: linear-gradient(white 8%, #ffffffd9 58%, transparent); }
.hero-copy { max-width: 56rem; padding-block: clamp(2.7rem, 4.7vw, 4.25rem) 18rem; display: grid; justify-items: center; gap: clamp(.95rem, 1.7vw, 1.45rem); }
.hero-tag { width: fit-content; padding: .32rem .95rem; background: #e0f3ed; color: var(--teal); border: 1px solid var(--line); border-radius: 99px; font-size: .875rem; font-weight: 700; }
.hero-brand p { font: 700 1.5rem/1.35 var(--serif); letter-spacing: .12em; color: var(--teal); }
.hero-brand small { font-size: .875rem; letter-spacing: .07em; }
.brand-wave { display: block; width: 10rem; height: .45rem; margin: .35rem auto .2rem; border-top: 1.5px solid #2b9a82; border-radius: 70%; }
.hero h1 { font-size: clamp(1.9rem, 4.15vw, 3rem); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem .9rem; }
.hero-wave { display: block; position: absolute; bottom: -1px; width: 100%; height: clamp(1.75rem, 3.4vw, 3rem); color: var(--paper); }

.intro { display: grid; gap: .65rem; max-width: 42rem; margin-bottom: 2rem; }
.feature-grid .intro { margin: 0; max-width: none; }
.centered { margin-inline: auto; text-align: center; }
.label { color: var(--teal); font-weight: 700; font-size: .875rem; letter-spacing: .025em; }
.grid { display: grid; gap: 1.35rem; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 3px 12px #1e5c4c0a; }
.concern, .principles li { display: flex; gap: 1rem; align-items: flex-start; }
.concern, .lesson { padding: 1.4rem; }
.concern p, .principles p, .profile p:not(.label) { margin-top: .35rem; }
.medallion { display: grid; place-items: center; border-radius: 50%; width: 2.75rem; height: 2.75rem; flex: none; color: var(--teal); background: var(--mint); font-weight: 700; }
.bridge { margin-top: 1.35rem; padding: 1.15rem 1.5rem; border-radius: 1rem; background: var(--mint); color: var(--hover); }
.feature-grid { gap: clamp(1.5rem, 4vw, 3.4rem); align-items: center; }
.feature-art { min-height: 23rem; position: relative; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; background: #eaf6f0; }
.feature-art img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.principles { margin: .8rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.lesson { display: grid; align-content: start; gap: .7rem; }
.lesson h3 { font: 700 1.27rem/1.55 var(--serif); }
.lesson .pill { margin-top: .4rem; }
.profile { display: grid; grid-template-columns: 2fr 3fr; min-height: 13rem; overflow: hidden; }
.profile > div:last-child { align-self: center; padding: 1.25rem; }
.profile h3 { margin-top: .25rem; font-family: var(--serif); }
.portrait { display: grid; place-items: center; min-height: 10rem; background: radial-gradient(ellipse at 26% 16%, white, transparent 73%), #dcece8; }
.portrait.second { background: radial-gradient(ellipse at 78% 14%, #f6fffd, transparent 70%), #cce9de; }
.portrait span { width: min(60%, 6rem); aspect-ratio: 1; position: relative; color: #79a99b; }
.portrait span::before { content: ""; position: absolute; inset: 5% 31% auto; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.portrait span::after { content: ""; position: absolute; inset: 49% 10% 6%; border-radius: 100% 100% 30% 30%; background: currentColor; }

.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.filters button { min-height: 2.75rem; cursor: pointer; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 99px; padding: .35rem .95rem; font-size: .875rem; font-weight: 700; }
.filters button:hover { background: var(--mint); }
.filters button[aria-pressed="true"] { color: white; background: var(--teal); border-color: var(--teal); }
.article { overflow: hidden; }
.article-art { aspect-ratio: 16 / 9; background-color: var(--mint); }
.ripples { background: url("assets/hero.png") 50% 100% / 138% auto no-repeat #bcebe1; }
.microphone { background: url("assets/hero.png") 50% 69% / 185% auto no-repeat #eef8f4; }
.keys { background: linear-gradient(178deg, #f6fffb 4%, #f6fffb00 62%, #86c0af42 63%), repeating-linear-gradient(105deg, #f3faf7 0 9%, #8aafa5 9% 9.7%, #fcfffe 10% 14%); }
.article-copy { padding: 1.15rem 1.35rem 1.4rem; }
.article-copy h3 { margin-top: .2rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { padding: .85rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; }
.faq-list summary { min-height: 2rem; list-style: none; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: .6rem; height: .6rem; margin-right: .25rem; flex: none; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list p { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.trial { max-width: 60rem; padding: clamp(2rem, 6vw, 4rem) 1rem; display: grid; justify-items: center; gap: 1.1rem; text-align: center; border: 1px solid var(--line); border-radius: 2rem; background: radial-gradient(ellipse at 55% 150%, #7cd9c03d, transparent 61%), linear-gradient(130deg, white, var(--mint)); }
.trial h2 { font-size: clamp(1.65rem, 3.3vw, 2.25rem); }
.footer { background: #eff7f3; border-top: 1px solid var(--line); padding-block: 2.5rem 1.2rem; }
.footer-main, .footer-end { display: flex; justify-content: space-between; gap: 1.5rem; }
.footer-name { color: var(--ink); font-size: 1.3rem; font-family: var(--serif); font-weight: 700; }
.footer-main nav { display: grid; gap: .6rem 1.4rem; grid-template-columns: repeat(3, auto); align-content: start; }
.footer-end { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; }

@media (max-width: 67rem) {
  .header-bar { justify-content: flex-start; }
  .header-trial { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--teal); cursor: pointer; }
  .header-trial + .menu-toggle { margin-left: 0; }
  .menu-toggle span:first-child { width: 1rem; height: .7rem; display: block; border-block: 1.5px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 5rem); overflow-y: auto; background: white; border-block: 1px solid var(--line); padding: .7rem max(1.25rem, calc((100vw - 68rem) / 2)); gap: 0; box-shadow: 0 .6rem 1.3rem #123e3220; }
  .menu-toggle[aria-expanded="true"] { background: var(--mint); }
  .header-bar:has(.menu-toggle[aria-expanded="true"]) .nav { display: grid; }
  .nav a, .nav .nav-trial { display: flex; min-height: 2.75rem; padding: .3rem .5rem; align-items: center; }
}

@media (max-width: 46rem) {
  html { scroll-padding-top: 4.75rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-bar { min-height: 4.2rem; }
  .hero { min-height: 0; }
  .hero-copy { padding-bottom: clamp(15.5rem, 62vw, 19rem); }
  .hero-art { height: 27rem; top: auto; }
  .hero::before { bottom: 36%; }
  .hero h1 { font-size: clamp(1.8rem, 6.9vw, 2.25rem); }
  .hero-lead { max-width: 27rem; }
  .two, .three { grid-template-columns: minmax(0, 1fr); }
  .feature-art { min-height: 0; aspect-ratio: 4 / 3; }
  .footer-main { flex-direction: column; }
  .footer-main nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  .header-trial { display: none; }
  .header-trial + .menu-toggle { margin-left: auto; }
  .brand img { width: 2.9rem; }
  .brand strong { font-size: 1.1rem; }
  .brand small { font-size: .68rem; }
  .wide-only { display: none; }
}
