* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: #fffaf2;
  color: #46524a;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.95;
}
a {
  color: inherit;
  text-underline-offset: 6px;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: "Klee One", serif;
  line-height: 1.65;
  font-weight: 600;
}
h2 {
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: 0.04em;
  margin: 12px 0 25px;
}
h3 {
  font-size: 26px;
  margin: 14px 0 20px;
}
h4 {
  font-size: 22px;
}
p {
  margin: 0 0 24px;
}
.shell {
  max-width: 1240px;
  padding: 0 40px;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand b {
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.brand-community {
  font-size: 16px;
  display: inline-block;
  letter-spacing: 0.03em;
  margin-left: 16px;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}
nav {
  display: flex;
  gap: 26px;
  font-size: 16px;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  color: #a0654e;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 0;
  padding: 62px 0 84px;
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: -15px -35px 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 40%, #e1e8d8 0, transparent 50%),
    radial-gradient(ellipse at 20% 30%, #f9dfcc 0, transparent 59%);
  border-radius: 45% 32% 44% 20%;
  filter: blur(32px);
  pointer-events: none;
}
.eyebrow {
  font-size: 16px;
  color: #94694f;
  letter-spacing: 0.1em;
}
.hero .eyebrow {
  font-size: 18px;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: 0.025em;
  color: #3b605a;
  margin: 28px 0;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero p {
  font-size: 18px;
}
.hero-art {
  margin: 0 -15px 0 -20px;
  transform: rotate(3deg);
}
.hero-art img {
  display: block;
  width: 100%;
  mask-image:
    linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent),
    linear-gradient(transparent, #000 13%, #000 83%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.hero-art figcaption {
  text-align: center;
  font-size: 15px;
  transform: rotate(-3deg);
  color: #85755e;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  background: #53766a;
  color: #fff;
  border-radius: 40px;
  padding: 12px 25px;
  text-decoration: none;
  font-size: 17px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #3e6256;
  transform: translateY(-2px);
}
.hero .button {
  background: #a8664d;
}
.section {
  padding: 90px 0;
}
.section-head {
  margin-bottom: 40px;
}
.section-head p {
  max-width: 650px;
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-radius: 8px 36px 8px 36px;
  box-shadow: 0 8px 22px #65523b09;
  border: 1px solid #ffffffb0;
}
.green {
  background: #e9efdb;
}
.blue {
  background: #e6eef0;
}
.peach {
  background: #f8e1cf;
}
.card:nth-child(2) {
  border-radius: 36px 8px 36px 8px;
}
.card h3 {
  font-size: 25px;
}
.card p {
  font-size: 17px;
  margin-bottom: 28px;
}
.card .button {
  margin-top: auto;
  min-height: 54px;
  padding: 12px 25px;
  background: #53766a;
  border: 1px solid #53766a;
  border-radius: 40px;
  color: #fff;
  font-size: 17px;
}
.card .button::after {
  content: none;
}
.card .button:hover {
  background: #3e6256;
  border-color: #3e6256;
}
.icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon.line {
  background: #06c755;
  padding: 9px;
  border-radius: 14px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}
.quote {
  font-family: "Klee One", serif;
  font-size: 28px;
  color: #6c7961;
}
#parents {
  position: relative;
  margin: 10px 0;
  padding: 70px 55px;
  background: #edf0e1;
  border-radius: 60px 12px 60px 12px;
  box-shadow: 0 12px 32px #625b4009;
}
#parents .eyebrow:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #829b6e;
  margin-right: 12px;
}
.activity {
  background: #eaf0f0;
  border-radius: 12px 65px 12px 65px;
  padding: 50px;
  box-shadow: 0 10px 28px #5264660b;
  position: relative;
}
.banner {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 8px;
  margin: 12px auto 50px;
}
.schedule {
  display: inline-block;
  padding: 6px 16px;
  background: #fff4d9;
  border-radius: 5px;
}
.muted,
.source-link,
.role {
  font-size: 15px;
  color: #7c786b;
}
.friends {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.friend {
  padding: 20px 25px 30px;
  background: #f3eee2;
  border-radius: 50% 50% 18px 18px;
  box-shadow: 0 8px 28px #625b400a;
  text-align: center;
}
.friend:nth-child(2) {
  background: #f7eed9;
}
.friend:nth-child(3) {
  background: #e9eff0;
}
.friend img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: contain;
  mask-image:
    linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.friend h3 {
  margin: 8px 0 16px;
}
.friend p {
  font-size: 17px;
  text-align: left;
  margin-bottom: 0;
}
.role {
  margin-top: 20px;
}
#friends {
  padding-top: 35px;
}
#reading {
  max-width: 850px;
  margin: auto;
}
.read-list {
  border-top: 1px solid #d8c6ae;
}
.read-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  padding: 30px 0;
  border-bottom: 1px solid #d8c6ae;
  font-family: "Klee One", serif;
  font-size: 23px;
}
.read-list span {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  white-space: nowrap;
  color: #96735b;
}
.read-list a:hover {
  color: #9c6049;
}
#news {
  padding-top: 65px;
}
.join-guide {
  background: #f2eadc;
  padding: 42px 50px;
  border-radius: 20px;
  box-shadow: 0 8px 28px #625b400a;
}
.join-guide h3 {
  margin-top: 0;
}
.conditions {
  background: #fffaf2;
  padding: 20px 28px;
  border-radius: 12px;
}
.conditions h4 {
  margin: 0 0 15px;
}
.conditions p:last-child {
  margin-bottom: 0;
}
.join-guide li {
  padding-bottom: 6px;
}
.join-button {
  display: inline-block;
  padding: 12px 0;
}
.faq-section {
  max-width: 780px;
  margin: auto;
}
details {
  border-bottom: 1px solid #d5d7c9;
  padding: 23px 0;
}
summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "＋";
  position: absolute;
  right: 3px;
  top: 0;
  color: #75846c;
  border-radius: 50%;
  width: 30px;
  text-align: center;
  transition: background 0.2s;
}
summary:hover:after {
  background: #e6ebda;
}
details[open] summary:after {
  content: "−";
}
details p {
  padding: 20px 0 0;
  font-size: 17px;
  margin: 0;
}
.origin {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 20px auto 90px;
  padding: 60px 25px;
  background:
    radial-gradient(ellipse at 20% 40%, #e3e8d0 0, transparent 55%),
    radial-gradient(ellipse at 80% 60%, #f4d9c5 0, transparent 58%);
}
.origin h2 {
  color: #64765e;
}
.colors {
  display: flex;
  gap: 13px;
  justify-content: center;
  margin: 30px;
}
.colors i {
  width: 28px;
  height: 28px;
  border-radius: 45% 55% 45% 50%;
  background: #a8c5c0;
}
.colors i:nth-child(2) {
  background: #debaa2;
}
.colors i:nth-child(3) {
  background: #c6d2a0;
}
.colors i:nth-child(4) {
  background: #e8cc85;
}
.footer {
  background: #e6eadf;
  padding: 55px 0 26px;
  border-radius: 22px 22px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.8fr;
  gap: 45px;
}
.footer a {
  text-decoration: none;
}
.footer-top > div > a:not(.brand) {
  display: block;
  font-size: 16px;
  margin: 9px 0;
}
.footer .brand b {
  font-size: 25px;
}
.footer .brand-community {
  display: block;
  margin: 4px 0 0;
  font-size: 16px;
}
.footer p {
  font-size: 16px;
  margin-top: 24px;
}
.footer-social-icon {
  vertical-align: middle;
  margin-right: 8px;
}
.copyright {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #c9d2c1;
}
.top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: 1px solid #d5bca0;
  border-radius: 50%;
  background: #f6e6ce;
  color: #715844;
  box-shadow: 0 3px 12px #67513d18;
  font-size: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 10;
}
.top.show {
  opacity: 1;
  pointer-events: auto;
}
.reveal {
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
.hero > div {
  animation: arrive 0.8s both;
}
.hero-art {
  animation: arrive 1.1s 0.15s both;
}
@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 1000px) {
  .brand-community {
    display: block;
    margin: 2px 0 0;
    font-size: 15px;
  }
  nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: clamp(31px, 4.3vw, 48px);
  }
  .card {
    padding: 25px;
  }
  .card h3 {
    font-size: 22px;
  }
  .split {
    gap: 35px;
  }
  .friend {
    padding: 15px;
  }
  .friend img {
    height: 200px;
  }
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
  }
  .footer-top > div:last-child {
    grid-column: 2;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 17px;
  }
  .shell {
    padding: 0 24px;
  }
  header {
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 18px;
  }
  .brand b {
    font-size: 25px;
  }
  .brand small {
    font-size: 13px;
  }
  nav {
    width: 100%;
    gap: 25px;
    font-size: 15px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 35px 0 45px;
  }
  .hero:before {
    inset: 0 -24px;
  }
  .hero .eyebrow {
    font-size: 16px;
    letter-spacing: 0;
  }
  .hero h1 {
    font-size: clamp(28px, 7.5vw, 46px);
    margin: 23px 0;
  }
  .hero-art {
    max-width: 380px;
    margin: 15px auto 0;
    transform: none;
  }
  .hero-art figcaption {
    transform: none;
  }
  .hero p {
    font-size: 17px;
  }
  .section {
    padding: 55px 0;
  }
  .choices,
  .friends,
  .split,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .choices {
    gap: 18px;
  }
  .card {
    padding: 28px;
  }
  .card h3 {
    font-size: 25px;
  }
  .card .button {
    margin-top: 3px;
  }
  #parents {
    padding: 35px 26px;
    border-radius: 35px 8px 35px 8px;
  }
  .activity {
    padding: 28px 24px;
    border-radius: 8px 36px 8px 36px;
  }
  .banner {
    margin: 12px auto 25px;
  }
  .friend {
    padding: 20px 30px 30px;
    max-width: 400px;
    width: 100%;
    margin: auto;
  }
  .friend img {
    height: 260px;
  }
  .friend p {
    text-align: center;
  }
  .friends {
    gap: 24px;
  }
  .read-list a {
    font-size: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
  }
  .join-guide {
    padding: 28px 24px;
  }
  .conditions {
    padding: 18px;
  }
  .join-guide ul {
    padding-left: 22px;
  }
  .origin {
    padding: 35px 5px;
    margin-bottom: 45px;
  }
  .origin br {
    display: none;
  }
  .footer {
    border-radius: 16px 16px 0 0;
    padding-top: 38px;
  }
  .footer-top {
    gap: 25px;
  }
  .footer-top > div:last-child {
    grid-column: auto;
  }
  .copyright {
    display: block;
  }
  .copyright span {
    display: block;
  }
  .top {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero > div,
  .hero-art {
    animation: none;
  }
  .reveal {
    transition: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Soft microphone silhouettes for the three radio companions. */
.friends {
  padding-bottom: 35px;
  row-gap: 70px;
}
.friend {
  position: relative;
  isolation: isolate;
  border-radius: 150px 150px 72px 72px;
  padding-bottom: 38px;
}
.friend:before {
  content: "";
  position: absolute;
  left: calc(50% - 9px);
  bottom: -23px;
  width: 18px;
  height: 25px;
  background: #c2bbab;
  border-radius: 0 0 6px 6px;
  z-index: -1;
}
.friend:after {
  content: "";
  position: absolute;
  left: calc(50% - 46px);
  bottom: -34px;
  width: 92px;
  height: 12px;
  background: #d7d0bf;
  border-radius: 50%;
  box-shadow: 0 4px 10px #6f634911;
  z-index: -1;
}
.friend:nth-child(2):before {
  background: #d2bd8e;
}
.friend:nth-child(2):after {
  background: #e2cfaa;
}
.friend:nth-child(3):before {
  background: #acc0c5;
}
.friend:nth-child(3):after {
  background: #c7d7d9;
}
.friend img {
  width: auto;
  max-width: 100%;
  height: 250px;
  margin: 0 auto;
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%),
    linear-gradient(transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%),
    linear-gradient(transparent 0%, #000 14%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .friend img {
    height: 200px;
  }
}
@media (max-width: 700px) {
  .friend img {
    height: 260px;
  }
  .friends {
    gap: 70px;
  }
  .friend {
    border-radius: 150px 150px 65px 65px;
  }
}
.founder-heading span {
  display: inline-block;
  white-space: nowrap;
}
.founder-heading {
  font-size: clamp(28px, 2.8vw, 36px);
} /* Consistent, gentle depth for content panels. */
:root {
  --panel-shadow: 0 8px 26px rgba(94, 78, 53, 0.075), 0 2px 6px rgba(94, 78, 53, 0.025);
}
.card,
#parents,
.activity,
.friend,
.join-guide,
.conditions,
.schedule {
  box-shadow: var(--panel-shadow);
}
.origin {
  box-shadow: none;
}

.menu-toggle {
  display: none;
}
@media (max-width: 700px) {
  header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
    gap: 12px;
  }
  header .brand {
    min-width: 0;
    gap: 9px;
  }
  header .brand > img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  header .brand > div {
    min-width: 0;
  }
  header .brand b {
    font-size: 23px;
  }
  header .brand-community {
    font-size: 14px;
  }
  header .brand small {
    font-size: 12px;
    letter-spacing: 0;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-top: 3px;
    border: 1px solid #d8d9ca;
    border-radius: 13px;
    background: #f3f1e6;
    color: #53766a;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition:
      transform 0.2s,
      opacity 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  header nav {
    display: none;
    grid-column: 1/-1;
    width: 100%;
    margin: 0;
    padding: 10px 18px;
    background: #fffaf2;
    border: 1px solid #e6e1d5;
    border-radius: 18px;
    box-shadow: var(--panel-shadow);
  }
  header nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  header nav a {
    display: block;
    padding: 12px 4px;
  }
  header nav a + a {
    border-top: 1px solid #ece7dc;
  }
}
.menu-toggle:focus-visible {
  outline: 2px solid #53766a;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  header {
    z-index: 20;
  }
  header nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 0;
    width: min(280px, 100%);
    z-index: 21;
    margin: 0;
  }
}

/* Three illustrations crossfade inside a stable, softly feathered frame. */
.hero-slides {
  display: grid;
  aspect-ratio: 1;
  align-items: center;
  justify-items: center;
}
.hero-art .hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-art .hero-slide.is-active {
  opacity: 1;
}
.slideshow-toggle {
  display: none;
  margin: 8px auto 0;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid #d7d0c0;
  border-radius: 20px;
  color: #766b59;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.js .slideshow-toggle {
  display: block;
}
.slideshow-toggle:focus-visible {
  outline: 2px solid #53766a;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-slide {
    transition: none;
  }
}

/* Feather the illustrations at their actual edges, without letterboxed margins. */
.hero-art .hero-slide[src="parents-hero.png"],
.hero-art .hero-slide[src="online-mother.png"] {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Balance the square mascot with the wider parent illustrations. */
.hero-art .hero-slide[src="paomaru.webp"] {
  width: 86%;
}

/* Slightly smaller body copy on phones; keep desktop and headings unchanged. */
@media (max-width: 700px) {
  body,
  .hero p,
  .card p,
  .friend p,
  details p {
    font-size: 16px;
  }
}
