@charset "UTF-8";

/* =========================================================
   Design tokens / base
========================================================= */
:root {
  --aqua: #52c4c8;
  --aqua-deep: #219fa6;
  --aqua-pale: #eaf8f7;
  --green: #91c965;
  --green-pale: #f0f8e9;
  --pink: #f19ab4;
  --pink-pale: #fff0f4;
  --yellow: #f7c75a;
  --yellow-pale: #fff8e8;
  --purple: #9ca2dd;
  --cream: #fbfaf6;
  --white: #ffffff;
  --text: #594942;
  --text-soft: #766a65;
  --line: #e8e1dc;
  --shadow: 0 14px 38px rgba(86, 74, 65, 0.09);
  --container: 1100px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --section-space: clamp(4.75rem, 9vw, 8rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.045em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.48;
  letter-spacing: 0.065em;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--cream {
  background: var(--cream);
}

.section-label {
  margin-bottom: 0.55rem;
  color: var(--aqua-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label--center,
.section-title--center {
  text-align: center;
}

.section-title {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
}

.sp-only {
  display: none;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: #fff;
  background: var(--aqua-deep);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 92px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(91, 77, 68, 0.045);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  width: 198px;
  height: 74px;
  overflow: hidden;
}

.site-logo img {
  width: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 0.65vw, 0.7rem);
  font-size: clamp(0.62rem, 0.7vw, 0.7rem);
  font-weight: 700;
  line-height: 1.5;
}

.header-nav a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a::after {
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--aqua), var(--aqua-deep));
  box-shadow: 0 8px 20px rgba(33, 159, 166, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(33, 159, 166, 0.28);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.hero__mobile-logo {
  display: none;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  display: grid;
  min-height: min(730px, calc(100vh - 92px));
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0%, #fff 60%, #f6fcfb 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  align-items: center;
  gap: 4rem;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.hero__copy {
  padding-bottom: 2rem;
}

.hero__eyebrow {
  margin-bottom: 1rem;
  color: var(--aqua-deep);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-bottom: 1.45rem;
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0.08em;
}

.hero__lead {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: clamp(0.96rem, 1.2vw, 1.07rem);
  line-height: 2.05;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 2rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #4fc5c7, #39b4bc);
  box-shadow: 0 10px 25px rgba(45, 175, 182, 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 15px 32px rgba(45, 175, 182, 0.32);
}

.mail-icon {
  position: relative;
  display: inline-block;
  width: 23px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mail-icon::before,
.mail-icon::after {
  position: absolute;
  top: 2px;
  width: 11px;
  height: 2px;
  content: "";
  background: currentColor;
}

.mail-icon::before {
  left: 1px;
  transform: rotate(35deg);
  transform-origin: left center;
}

.mail-icon::after {
  right: 1px;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 475px;
  place-items: center;
}

.hero__logo-wrap {
  position: relative;
  z-index: 2;
  width: min(360px, 85%);
  padding: 1.6rem;
  border-radius: 48% 52% 52% 48% / 46% 45% 55% 54%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(85, 116, 108, 0.11);
}

.hero__logo-wrap img {
  width: 100%;
  border-radius: 45%;
}

.hero__shape {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: shape-breathe 13s ease-in-out infinite alternate;
}

.hero__shape--a {
  top: -235px;
  right: -125px;
  width: 620px;
  height: 520px;
  background: linear-gradient(145deg, rgba(82, 196, 200, 0.4), rgba(82, 196, 200, 0.18));
  transform: rotate(-12deg);
}

.hero__shape--b {
  right: -100px;
  bottom: -255px;
  width: 610px;
  height: 480px;
  background: linear-gradient(100deg, rgba(241, 154, 180, 0.52) 0 55%, rgba(247, 199, 90, 0.6) 55% 100%);
  transform: rotate(-16deg);
  animation-delay: -6s;
}

@keyframes shape-breathe {
  from { translate: 0 0; scale: 1; }
  to { translate: 0 -8px; scale: 1.025; }
}

.leaf,
.contact-leaf {
  position: absolute;
  z-index: 3;
  width: 32px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  transform: rotate(25deg);
  animation: float-leaf 6s ease-in-out infinite;
}

.leaf--1 { top: 5%; right: 12%; background: var(--green); }
.leaf--2 { top: 27%; left: 3%; background: var(--aqua); animation-delay: -1.2s; }
.leaf--3 { right: 2%; bottom: 36%; background: var(--pink); animation-delay: -2.7s; }
.leaf--4 { bottom: 8%; left: 15%; background: var(--yellow); animation-delay: -4s; }
.leaf--5 { top: 42%; right: 6%; background: var(--purple); animation-delay: -0.8s; }

@keyframes float-leaf {
  0%, 100% { transform: translateY(0) rotate(25deg); }
  50% { transform: translateY(-9px) rotate(30deg); }
}

/* =========================================================
   Training
========================================================= */
.training {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.training-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4.25rem);
  overflow: hidden;
  border: 1px solid rgba(241, 154, 180, 0.55);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff8fa, #fff1f5);
  box-shadow: var(--shadow);
}

.training-card::after {
  position: absolute;
  right: -95px;
  bottom: -115px;
  width: 260px;
  height: 240px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.52);
}

.training-card__badge {
  display: grid;
  width: 150px;
  height: 150px;
  align-self: start;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5a8bd, #ef84a5);
  box-shadow: 0 12px 26px rgba(226, 108, 145, 0.2);
}

.rosette {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border: 7px solid #fff;
  border-radius: 50%;
}

.rosette::before,
.rosette::after {
  position: absolute;
  top: 43px;
  width: 18px;
  height: 40px;
  content: "";
  background: #fff;
}

.rosette::before { left: 2px; transform: rotate(12deg); clip-path: polygon(0 0, 100% 0, 80% 100%, 45% 75%, 0 100%); }
.rosette::after { right: 2px; transform: rotate(-12deg); clip-path: polygon(0 0, 100% 0, 100% 100%, 55% 75%, 20% 100%); }

.training-card__content {
  position: relative;
  z-index: 1;
}

.training-card h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.training-card__content > p:not(.section-label) {
  max-width: 49rem;
}

.training-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.training-item {
  display: grid;
  grid-template-columns: 145px 1fr;
  overflow: hidden;
  border: 1px solid rgba(241, 154, 180, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
}

.training-item p {
  margin: 0;
}

.training-item__label {
  display: grid;
  min-height: 92px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f1a2ba, #ee8eac);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.training-item__name {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  font-weight: 700;
  line-height: 1.75;
}

/* =========================================================
   About / concerns
========================================================= */
.about {
  padding-top: 1.5rem;
}

.about__grid {
  display: grid;
  max-width: 930px;
  grid-template-columns: 150px 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4.25rem);
  border: 1px solid rgba(82, 196, 200, 0.44);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, #f5fcfb);
  box-shadow: 0 12px 32px rgba(71, 153, 151, 0.07);
}

.round-icon {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #60cbcc, #35b2b9);
}

.round-icon--leaf span {
  position: relative;
  display: block;
  width: 5px;
  height: 50px;
  border-radius: 3px;
  background: #fff;
}

.round-icon--leaf span::before,
.round-icon--leaf span::after {
  position: absolute;
  top: 4px;
  width: 29px;
  height: 19px;
  border-radius: 100% 0 100% 0;
  content: "";
  background: #fff;
}

.round-icon--leaf span::before { right: 2px; transform: rotate(12deg); }
.round-icon--leaf span::after { top: 17px; left: 2px; transform: scaleX(-1) rotate(12deg); }

.about .section-title {
  margin-bottom: 1.25rem;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.concerns {
  isolation: isolate;
}

.concerns::before,
.concerns::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
}

.concerns::before {
  top: 12%;
  left: -110px;
  width: 250px;
  height: 250px;
  background: rgba(247, 199, 90, 0.13);
}

.concerns::after {
  right: -120px;
  bottom: 8%;
  width: 300px;
  height: 300px;
  background: rgba(241, 154, 180, 0.1);
}

.concerns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.concerns-grid li {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border: 1px solid rgba(231, 224, 218, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(87, 77, 69, 0.055);
  font-weight: 700;
}

.check {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.check::after {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 11px;
  height: 6px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.check--a { background: var(--aqua); }
.check--b { background: var(--green); }
.check--c { background: var(--yellow); }
.check--d { background: var(--pink); }
.check--e { background: var(--purple); }

/* =========================================================
   Services
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
  border: 1px solid;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card--blue { border-color: rgba(82, 196, 200, 0.55); }
.service-card--pink { border-color: rgba(241, 154, 180, 0.55); }

.service-card__icon {
  display: grid;
  align-self: stretch;
  place-items: center;
}

.service-card--blue .service-card__icon { background: linear-gradient(160deg, #e7f8f7, #f7ffff); }
.service-card--pink .service-card__icon { background: linear-gradient(160deg, #fff0f4, #fffafa); }

.service-card__icon > span {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.service-card--blue .service-card__icon { color: var(--aqua-deep); }
.service-card--pink .service-card__icon { color: #df7898; }

.service-card__icon--plan span::before {
  position: absolute;
  top: 12px;
  left: 15px;
  width: 19px;
  height: 25px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.service-card__icon--plan span::after {
  position: absolute;
  top: 9px;
  left: 22px;
  width: 8px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  content: "";
}

.service-card__icon--child span::before,
.service-card__icon--child span::after {
  position: absolute;
  top: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 0 15px 0 3px currentColor;
}

.service-card__icon--child span::before { left: 11px; }
.service-card__icon--child span::after { right: 11px; }

.service-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.8rem 1.7rem 0;
}

.service-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.38rem;
}

.service-card--blue h3,
.service-card--blue .service-number { color: var(--aqua-deep); }
.service-card--pink h3,
.service-card--pink .service-number { color: #d96f92; }

.service-card__body > p:not(.service-number) {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.service-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: auto -1.7rem 0;
  padding: 0.85rem 1.5rem;
  background: rgba(82, 196, 200, 0.1);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card--pink .service-number { background: rgba(241, 154, 180, 0.11); }

.service-number span {
  font-size: 0.77rem;
}

/* =========================================================
   Flow
========================================================= */
.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list::before {
  position: absolute;
  z-index: 0;
  top: 34px;
  left: 10%;
  width: 80%;
  height: 3px;
  content: "";
  background-image: linear-gradient(to right, var(--aqua) 45%, transparent 45%);
  background-size: 10px 3px;
  opacity: 0.5;
}

.flow-step {
  position: relative;
  z-index: 1;
  padding: 0 0.25rem;
  text-align: center;
}

.flow-step__number {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  place-items: center;
  border: 7px solid var(--cream);
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(74, 74, 70, 0.1);
}

.flow-step--a .flow-step__number { background: var(--aqua); }
.flow-step--b .flow-step__number { background: var(--green); }
.flow-step--c .flow-step__number { background: var(--yellow); }
.flow-step--d .flow-step__number { background: var(--pink); }

.flow-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.03rem;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* =========================================================
   Office information
========================================================= */
.office-table {
  max-width: 880px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(85, 76, 69, 0.06);
}

.office-table > div {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.office-table > div + div {
  border-top: 1px solid var(--line);
}

.office-table dt,
.office-table dd {
  margin: 0;
  padding: 1rem 1.5rem;
}

.office-table dt {
  background: #faf9f5;
  font-weight: 800;
  text-align: center;
}

.office-table dd {
  border-left: 1px solid var(--line);
}

.office-table a {
  color: var(--aqua-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* =========================================================
   Contact / footer
========================================================= */
.contact {
  padding-top: 1rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(120deg, #42bdc0, #71d1d0);
  box-shadow: 0 16px 36px rgba(61, 174, 179, 0.2);
}

.contact-panel__icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 50%;
  color: var(--aqua-deep);
  background: #fff;
}

.contact-panel .section-label {
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-panel h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.contact-panel__copy > p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: 0.93rem;
}

.button--white {
  position: relative;
  z-index: 2;
  color: var(--aqua-deep);
  background: #fff;
  box-shadow: 0 9px 22px rgba(24, 128, 134, 0.18);
  white-space: nowrap;
}

.contact-leaf {
  z-index: 1;
  animation-duration: 7s;
  opacity: 0.92;
}

.contact-leaf--1 { right: 2%; bottom: 18%; background: var(--yellow); }
.contact-leaf--2 { right: 8%; top: 8%; background: var(--green); animation-delay: -2s; }
.contact-leaf--3 { left: 4%; bottom: 5%; background: var(--pink); animation-delay: -4s; }

.site-footer {
  position: relative;
  min-height: 260px;
  padding-top: 4.5rem;
  overflow: hidden;
  background: #f4f8ee;
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  top: -80px;
  width: 65%;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: #fff;
}

.site-footer::before { left: -15%; transform: rotate(4deg); }
.site-footer::after { right: -15%; transform: rotate(-4deg); }

.site-footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.site-footer__inner img {
  width: 190px;
  height: auto;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 8px 18px rgba(72, 91, 75, 0.08));
}

.site-footer__inner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.76rem;
}

/* =========================================================
   Reveal animations
========================================================= */
.js-enabled [data-hero-animate] {
  opacity: 0;
  animation: hero-in 0.9s cubic-bezier(0.22, 0.75, 0.2, 1) forwards;
}

.js-enabled [data-hero-animate="logo"] { animation-delay: 0.08s; }
.js-enabled [data-hero-animate="title"] { animation-delay: 0.28s; }
.js-enabled [data-hero-animate="text"] { animation-delay: 0.45s; }
.js-enabled [data-hero-animate="button"] { animation-delay: 0.62s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.js-enabled .reveal,
.js-enabled .reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.75, 0.2, 1), transform 0.9s cubic-bezier(0.22, 0.75, 0.2, 1);
}

.js-enabled .reveal-card {
  transform: translateY(40px) scale(0.99);
}

.js-enabled .reveal.is-visible,
.js-enabled .reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.services-grid .reveal-card:nth-child(2),
.flow-list .reveal-card:nth-child(2) { transition-delay: 0.08s; }
.flow-list .reveal-card:nth-child(3) { transition-delay: 0.16s; }
.flow-list .reveal-card:nth-child(4) { transition-delay: 0.24s; }

/* =========================================================
   Tablet
========================================================= */
@media (max-width: 900px) {
  .site-header { height: 82px; }
  .site-logo { width: 174px; height: 66px; }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 52;
  }

  .header-nav {
    position: fixed;
    z-index: 51;
    top: 94px;
    right: 20px;
    left: 20px;
    display: grid;
    max-height: calc(100vh - 112px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid rgba(82, 196, 200, 0.24);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 22px 50px rgba(77, 68, 62, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top right;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .header-nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .header-nav a:hover,
  .header-nav a:focus-visible {
    color: var(--aqua-deep);
    background: var(--aqua-pale);
  }

  .header-nav a::after {
    display: none;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  body.is-menu-open .header-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 1.5rem;
    padding-block: 4rem 5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .hero__visual {
    min-height: 390px;
  }

  .hero__logo-wrap {
    width: min(295px, 95%);
    padding: 1rem;
  }

  .training-card {
    grid-template-columns: 120px 1fr;
    gap: 2rem;
  }

  .training-card__badge {
    width: 115px;
    height: 115px;
  }

  .round-icon {
    width: 112px;
    height: 112px;
  }

  .about__grid {
    grid-template-columns: 115px 1fr;
    gap: 2rem;
  }

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

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

  .flow-list::before {
    display: none;
  }

  .contact-panel {
    grid-template-columns: 72px 1fr;
  }

  .contact-panel__icon {
    width: 68px;
    height: 68px;
  }

  .contact-panel .button {
    grid-column: 2;
    justify-self: start;
  }
}

/* =========================================================
   Mobile (390px first)
========================================================= */
@media (max-width: 600px) {
  :root {
    --section-space: 4.6rem;
    --radius: 20px;
    --radius-lg: 28px;
  }

  body {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .sp-only {
    display: block;
  }

  .site-header {
    height: 74px;
  }

  .site-logo {
    width: 142px;
    height: 58px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .header-nav {
    top: 84px;
    right: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 98px);
    padding: 0.8rem;
    border-radius: 21px;
  }

  .header-nav a {
    min-height: 48px;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid rgba(232, 225, 220, 0.68);
    border-radius: 9px;
    font-size: 0.84rem;
  }

  .header-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 735px;
    background: linear-gradient(180deg, #fff 0%, #fff 78%, #f9fdfc 100%);
  }

  .hero__inner {
    display: block;
    padding-block: 1.1rem 8rem;
  }

  .hero__copy {
    position: relative;
    z-index: 4;
    padding: 0;
  }

  .hero__mobile-logo {
    display: block;
    width: min(270px, 78vw);
    margin: -0.5rem auto -2.25rem;
  }

  .hero__mobile-logo img {
    width: 100%;
  }

  .hero__eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .hero h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.55;
    letter-spacing: 0.055em;
  }

  .hero__lead {
    margin-bottom: 1.7rem;
    font-size: 0.9rem;
    line-height: 1.95;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding-inline: 1.3rem;
  }

  .hero__visual {
    position: absolute;
    z-index: 1;
    right: -28px;
    bottom: -6px;
    display: block;
    width: 225px;
    min-height: 210px;
    opacity: 0.23;
  }

  .hero__logo-wrap {
    display: none;
  }

  .hero__shape--a {
    top: auto;
    right: -130px;
    bottom: 120px;
    width: 350px;
    height: 220px;
  }

  .hero__shape--b {
    right: -135px;
    bottom: -135px;
    width: 380px;
    height: 245px;
  }

  .leaf {
    transform: scale(0.75) rotate(25deg);
  }

  .training {
    padding-top: 2.1rem;
  }

  .training-card {
    display: block;
    padding: 1.7rem 1.25rem 1.25rem;
    border-radius: 24px;
  }

  .training-card__badge {
    width: 78px;
    height: 78px;
    margin-bottom: 1.35rem;
  }

  .rosette {
    width: 38px;
    height: 38px;
    border-width: 5px;
  }

  .rosette::before,
  .rosette::after {
    top: 28px;
    width: 13px;
    height: 27px;
  }

  .training-card h2 {
    margin-bottom: 1rem;
    font-size: 1.38rem;
  }

  .training-card__content > p:not(.section-label) {
    font-size: 0.9rem;
  }

  .training-list {
    margin-top: 1.35rem;
  }

  .training-item {
    display: block;
  }

  .training-item__label {
    min-height: 48px;
  }

  .training-item__name {
    padding: 1rem;
    font-size: 0.87rem;
  }

  .about {
    padding-top: 0;
  }

  .about__grid {
    display: block;
    padding: 1.65rem 1.3rem;
  }

  .round-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 1.15rem;
  }

  .round-icon--leaf span {
    height: 36px;
  }

  .round-icon--leaf span::before,
  .round-icon--leaf span::after {
    width: 20px;
    height: 13px;
  }

  .section-title {
    margin-bottom: 2rem;
    font-size: 1.55rem;
  }

  .about .section-title {
    margin-bottom: 1rem;
  }

  .concerns-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .concerns-grid li {
    min-height: 68px;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.89rem;
  }

  .check {
    width: 30px;
    height: 30px;
  }

  .check::after {
    top: 7px;
    left: 9px;
    width: 10px;
    height: 6px;
  }

  .service-card {
    display: block;
  }

  .service-card__icon {
    width: 74px;
    height: 74px;
    margin: 1.3rem 0 0 1.3rem;
    border-radius: 50%;
  }

  .service-card__icon > span {
    width: 50px;
    height: 50px;
  }

  .service-card__body {
    padding: 0.7rem 1.25rem 0;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-card__body > p:not(.service-number) {
    font-size: 0.88rem;
  }

  .service-number {
    margin-inline: -1.25rem;
    padding: 0.8rem 1.1rem;
    font-size: 0.9rem;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    box-shadow: 0 7px 18px rgba(74, 66, 60, 0.05);
  }

  .flow-step__number {
    width: 50px;
    height: 50px;
    margin: 0;
    border-width: 4px;
    font-size: 0.92rem;
  }

  .flow-step h3 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
  }

  .flow-step p {
    font-size: 0.8rem;
  }

  .office-table {
    border-radius: 18px;
  }

  .office-table > div {
    grid-template-columns: 42% 58%;
  }

  .office-table dt,
  .office-table dd {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 0.85rem 0.75rem;
    font-size: 0.81rem;
    overflow-wrap: anywhere;
  }

  .office-table dt {
    justify-content: center;
  }

  .contact {
    padding-top: 0.5rem;
  }

  .contact-panel {
    display: block;
    padding: 2rem 1.3rem 1.4rem;
    border-radius: 25px;
    text-align: center;
  }

  .contact-panel__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
  }

  .contact-panel h2 {
    font-size: 1.55rem;
  }

  .contact-panel__copy > p:last-child {
    margin-bottom: 1.5rem;
    font-size: 0.87rem;
  }

  .contact-panel .button {
    width: 100%;
  }

  .site-footer {
    min-height: 220px;
  }

  .site-footer__inner img {
    width: 168px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-logo {
    width: 132px;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .service-number {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-enabled .reveal,
  .js-enabled .reveal-card,
  .js-enabled [data-hero-animate] {
    opacity: 1;
    transform: none;
  }
}
