@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');

:root {
  color-scheme: light;
  --paper: #fffcfa;
  --ink: #322723;
  --muted: #65554e;
  --salmon: #a83d34;
  --salmon-pink: #fa8072;
  --salmon-light: #ffe6df;
  --salmon-line: #efb0a4;
  --salmon-dark: #842d27;
  --hand: "Yomogi", "Hiragino Maru Gothic ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
  --body: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.85 var(--body); }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #2a6696; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.45; }
h2 { font-size: clamp(1.85rem, 4.5vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 5; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: var(--hand); font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.75rem); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; }
nav a { text-decoration: none; font-size: .94rem; font-weight: 700; }
nav a:hover, .text-link:hover { color: var(--salmon-dark); text-decoration: underline; }
.nav-contact { border: 1px solid var(--salmon-line); background: #fff0eb; border-radius: 100vw; padding: .45rem .95rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #fffefa; }
.hero { --salmon: #a74234; --salmon-dark: #843226; }
body:not(.detail-page) .nav-contact { border-color: #c98c7d; background: transparent; }
.hero-inner { min-height: min(650px, 69vw); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3%; align-items: center; padding-block: 72px 90px; }
.eyebrow { color: var(--muted); font-size: .89rem; font-weight: 700; letter-spacing: .06em; }
.hero h1 { font-family: var(--hand); font-weight: 700; font-size: clamp(2rem, 4.05vw, 3.65rem); line-height: 1.28; letter-spacing: .025em; margin: .19em 0 .32em; }
.hero h1 span { position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 8%; bottom: -.09em; height: .17em; border-top: .065em solid #d97f6e; border-radius: 53% 50% 0 0; transform: rotate(-4deg); }
.intro { margin: 1.4rem 0 1.5rem; max-width: 34rem; }
.intro p + p { margin-top: .65rem; }
.hero-quote { color: var(--salmon-dark); font-weight: 700; font-size: 1.14rem; }
.hero-invitation { font-weight: 700; }
.course-rates, .topics { margin: .7rem 0 0; padding-inline-start: 1.35rem; }
.course-rates { font-weight: 700; }
.topics { margin-top: 0; }
.topics li + li { margin-top: .6rem; }
.topics span { display: block; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .57rem 1.2rem; border: 1px solid transparent; border-radius: 100vw; color: white; background: var(--salmon); font-weight: 700; text-align: center; text-decoration: none; line-height: 1.45; transition: background-color .18s, color .18s; }
.button:hover { background: var(--salmon-dark); }
.button--outline { color: var(--salmon-dark); border-color: #c67f74; background: #fff9f6; }
.button--outline:hover { color: white; }
.hero-visual { position: relative; padding: 3% 2%; }
.hero-photo { aspect-ratio: 1.28; overflow: hidden; border-radius: 43% 57% 48% 52% / 45% 42% 58% 55%; background: #f5e9e0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.wash { position: absolute; z-index: -1; pointer-events: none; filter: blur(5px); opacity: .78; }
.wash--coral { width: 44%; height: 46%; left: -13%; top: -27%; transform: rotate(-12deg); background: radial-gradient(ellipse at 65% 65%, #eda995 0%, #f7c1b0 26%, #f9d6c8 55%, transparent 73%); border-radius: 43% 57% 69% 31%; }
.wash--mint { width: 44%; height: 55%; right: 0%; top: -39%; transform: rotate(-12deg); background: radial-gradient(ellipse at 45% 69%, #acd7c0 0%, #d2e9d7 51%, transparent 73%); }
.wash--sky { width: 41%; height: 62%; right: -16%; top: -19%; transform: rotate(21deg); background: radial-gradient(ellipse at 52% 54%, #abcfe7 0%, #d5e7f4 45%, transparent 71%); }
.wash--violet { width: 35%; height: 60%; left: -15%; bottom: -42%; transform: rotate(35deg); background: radial-gradient(ellipse, #d4bce6 0%, #e6d8ef 52%, transparent 73%); }
.wash--gold { width: 47%; height: 52%; right: -9%; bottom: -34%; transform: rotate(-16deg); background: radial-gradient(ellipse, #f1d288 0%, #fae8bd 51%, transparent 72%); }
.section { padding-block: clamp(52px, 7vw, 92px); }
.section-heading { margin-bottom: 1.9rem; }
.section-heading h2 { margin-bottom: .3rem; }
.section-heading p { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.training { background: #fff1ec; }
.text-link { color: var(--salmon-dark); font-weight: 700; margin-top: auto; padding-block: .35rem; }
.about > div { max-width: 44rem; }
.about h2 { margin: .15rem 0 .6rem; }
.about p + p { margin-top: .65rem; }
.about > .profile-highlights {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2rem;
}
.profile-highlights section {
  padding: clamp(1.05rem, 3vw, 1.65rem);
  background: #fff2ed;
  border-top: 3px solid var(--salmon-pink);
  border-radius: 12px;
}
.profile-highlights ul { padding-inline-start: 1.25em; margin: .6rem 0 0; }
.profile-highlights li + li { margin-top: .3rem; }
.contact { text-align: center; padding-block: 58px; background: linear-gradient(120deg, var(--salmon-light), #ffd2c7); }
.contact p { max-width: 690px; margin: .65rem auto 1.2rem; }
.site-footer { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: .7rem; }
.site-footer a:last-child { font-size: .9rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2.5vw, 1.5rem); }
.service-summary {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  border: 1px solid #f0c0b6; border-top: 4px solid var(--salmon-pink); border-radius: 16px;
  padding: clamp(1.1rem, 2.6vw, 1.65rem); background: #fff2ed;
}
.service-summary:nth-child(2) { background: #ffe8e0; }
.training .service-summary { background: var(--paper); }
.service-summary h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.service-summary .button { margin-top: auto; }
.service-summary > p:not(.eyebrow) { margin-bottom: .4rem; }
.summary-lines { font-weight: 700; }
.detail-page { border-top: 5px solid var(--salmon-pink); display: flex; flex-direction: column; min-height: 100vh; }
.detail-page main { flex: 1; }
.detail-banner { padding: clamp(1.6rem, 5vw, 3.8rem) 0; background: linear-gradient(120deg, #fff0ea, #ffd0c4); }
.detail-banner h1 { font-size: clamp(1.8rem, 5vw, 3.25rem); margin-top: .45rem; }
.detail-content { max-width: 760px; padding-block: clamp(2rem, 6vw, 4rem); }
.detail-content p + p, .detail-content ul + p, .detail-content ol + p { margin-top: .75rem; }
.detail-content h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 1.9rem 0 .55rem; }
.detail-lead { color: var(--salmon-dark); font-weight: 700; font-size: clamp(1.15rem, 3vw, 1.4rem); }
.detail-actions { margin-top: 1.75rem; }
.training-recommendation {
  margin-top: .85rem;
  padding: .7rem .9rem;
  border-inline-start: 3px solid var(--salmon-pink);
  background: #fff2ed;
}
.training-fees { width: 100%; max-width: 34rem; margin-block: .75rem; border-collapse: collapse; }
.training-fees th, .training-fees td { border: 1px solid var(--salmon-line); padding: .5rem .3rem; text-align: center; }
.training-fees thead { background: #fff2ed; }
.training-fees td { white-space: nowrap; font-variant-numeric: tabular-nums; }

.coach-course h3 { margin: 1rem 0 .25rem; }
.course-story, .course-gallery, .course-options { display: grid; gap: 1rem; margin-block: 1.25rem; }
.course-story { grid-template-columns: minmax(110px, 165px) minmax(0, 1fr); align-items: center; }
.course-story h2 { margin-top: 0; }
.course-gallery, .course-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-gallery figure { margin: 0; }
.course-story img, .course-gallery img { border-radius: 12px; }
.course-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff2ed; }
.course-option { padding: 1rem; border: 1px solid var(--salmon-line); border-radius: 12px; background: #fff2ed; }
.course-option h3 { margin-top: 0; }
.course-option dl { margin: .7rem 0 0; }
.course-option dt { margin-top: .55rem; font-weight: 700; }
.course-option dd { margin: 0; }
@media (max-width: 560px) {
  .course-story, .course-options { grid-template-columns: 1fr; }
  .course-story img { width: 145px; }
}

@media(max-width: 800px) {
  .wrap { width: calc(100% - 44px); }
  .hero-inner { padding-block: 55px 68px; }
  .wide-only { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { align-items: start; flex-direction: column; justify-content: center; gap: .2rem; padding-block: .55rem; }
  nav { width: 100%; justify-content: space-between; gap: .35rem; }
  nav a { font-size: .875rem; }
  .nav-contact { padding: .28rem .65rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 1.1rem; padding-block: 1.75rem 1.9rem; }
  .hero h1 { font-size: clamp(1.75rem, 7.5vw, 3rem); margin-bottom: .2em; }
  .intro { margin: .9rem 0 1rem; }
  .hero-visual { width: min(100%, 480px); margin-inline: auto; }
  .hero-photo { aspect-ratio: 1.35; }
  .service-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.hero-mission { font-weight: 700; margin-top: 1rem; }

.service-summary:has(.service-material) {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto; align-items: start;
}
.service-summary:has(.service-material) > :is(.eyebrow,h3,p:not(.eyebrow)) { grid-column: 1 / -1; }
.service-summary:has(.service-material) > .eyebrow { grid-row: 1; }
.service-summary:has(.service-material) > h3 { grid-row: 2; }
.service-summary:has(.service-material) > p:not(.eyebrow) { grid-row: 3; }
.service-summary:has(.service-material) > .button { grid-area: 4 / 1; align-self: end; justify-self: start; }

.service-material { grid-area: 4 / 2; position: relative; justify-self: end; align-self: end; width: 100%; max-width: 6rem; height: 6.3rem; display: grid; place-items: end center; }
.service-material img { width: auto; height: 5.6rem; max-width: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgb(93 58 42 / .14)); transform: rotate(2deg); }
#mental .service-material img { transform: rotate(-3deg); }
.service-material.cards { max-width: 8rem; height: 5.7rem; }
.service-material.cards img { position: absolute; width: 78%; height: auto; }
.service-material.cards img:first-child { top: 3%; left: 0; transform: rotate(-5deg); }
.service-material.cards img:last-child { bottom: 0; right: 0; width: 60%; transform: rotate(5deg); }
