/* ============================================
   MINT MAT Yoga Studio — site styles
   ============================================ */
:root {
  --green: #14502e;
  --green-dark: #0f3a22;
  --blue: #4A7BA6;
  --ink: #1c2422;
  --ink-soft: #57645f;
  --bg: #f4f8f9;
  --mint: #dfedeb;
  --sand: #ecf2f3;
  --line: #dce7e8;
  --white: #ffffff;
  --radius: 12px;
  --maxw: 1180px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;
  --font-en-body: "Karla", "Noto Sans JP", sans-serif;
  --font-serif-jp: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
ul { list-style: none; }

.en { font-family: var(--font-en); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 9px 16px;
  letter-spacing: 0.04em;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce strong { font-weight: 700; }

/* ---------- header ---------- */
.header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 56px; width: auto; display: block; }
@media (max-width: 900px) { .logo-img { height: 46px; } }
.logo-text { line-height: 1.25; }
.logo-text .name {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.32em;
  color: var(--green);
}
.logo-text .sub {
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: var(--ink-soft);
  font-weight: 400;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; }
.nav a {
  color: var(--ink);
  font-size: 13px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.btn-book {
  background: var(--green);
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  font-weight: 500;
  transition: background .2s;
  flex-shrink: 0;
}
.btn-book:hover { background: var(--green-dark); }

/* mobile nav */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .btn-book { text-align: center; margin-top: 16px; border-radius: var(--radius); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,42,26,.5) 10%, rgba(15,42,26,.16) 60%, rgba(15,42,26,.04));
  z-index: 1;
}
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; padding: 56px 24px; width: 100%; }
.hero h1 {
  font-family: var(--font-en);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.hero .tagline {
  font-family: var(--font-en);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-top: 14px;
}
.hero .lead { margin-top: 26px; font-size: 16px; line-height: 2.1; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cta { margin-top: 36px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border: 1px solid var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: var(--mint); }
.btn-ghost-white { border: 1px solid rgba(255,255,255,.85); color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,.15); }

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section.tint { background: var(--sand); }
.section.green { background: var(--green); color: #fff; }
.section.mint { background: var(--mint); }

.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head .en-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 10px;
}
.section.green .sec-head .en-label { color: #bcd8c4; }
.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.sec-head .note { color: var(--ink-soft); margin-top: 14px; font-size: 14.5px; }
.section.green .sec-head .note { color: #d7e5db; }

/* ---------- features (3 columns) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature h3 {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 600;
  color: var(--green);
  margin: 20px 0 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.feature p { font-size: 14.5px; color: var(--ink-soft); }
.feature img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: .06em; margin-bottom: 18px; line-height: 1.6; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 10px; letter-spacing: .04em; }
.card-body p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.card-body .more { margin-top: 16px; font-size: 13.5px; font-weight: 500; }
.card-body .more::after { content: " →"; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- class table ---------- */
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.class-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.class-item .level {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--green);
  background: var(--mint);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
}
.class-item h3 { font-family: var(--font-en); font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: .03em; }
.class-item p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .class-grid { grid-template-columns: 1fr; } }
.class-grid.names-only { grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.class-grid.names-only .class-item {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.class-grid.names-only .class-item .level { margin-bottom: 0; }
.class-grid.names-only .class-item h3 { margin-bottom: 0; font-size: 16.5px; }
@media (max-width: 900px) { .class-grid.names-only { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .class-grid.names-only { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--green); position: relative; }
.price-card .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  border-radius: 999px;
  padding: 3px 18px;
  white-space: nowrap;
}
.price-card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: .05em; }
.price-card .price { font-family: var(--font-en); font-size: 34px; font-weight: 600; color: var(--green); margin: 14px 0 2px; }
.price-card .price small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.price-card ul { margin: 18px 0 24px; text-align: left; flex: 1; }
.price-card li { font-size: 13.5px; color: var(--ink-soft); padding: 7px 0 7px 24px; position: relative; border-bottom: 1px dashed var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* ticket table */
.table-wrap { overflow-x: auto; }
table.tickets { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.tickets th, table.tickets td { padding: 15px 20px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tickets th { background: var(--green); color: #fff; font-weight: 500; letter-spacing: .06em; }
table.tickets tr:last-child td { border-bottom: none; }
table.tickets td:first-child { font-weight: 600; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .num {
  counter-increment: step;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: .04em; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-group h3 {
  font-size: 19px; font-weight: 600;
  margin: 44px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--green);
  letter-spacing: .05em;
}
details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer;
  padding: 18px 48px 18px 22px;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--green);
  transition: transform .2s;
}
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq .a { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- instructors ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
}
.person .avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--mint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 600;
}
.person h3 { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.person .role { font-size: 12px; color: var(--ink-soft); font-family: var(--font-en); letter-spacing: .06em; margin: 4px 0 10px; }
.person .classes { font-size: 12.5px; color: var(--green); line-height: 1.7; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* ---------- gallery strip ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 600; letter-spacing: .06em; line-height: 1.6; }
.cta-band p { margin: 16px auto 30px; max-width: 620px; color: #d7e5db; }
.cta-band .price-em { font-family: var(--font-en); font-size: clamp(34px, 5vw, 46px); font-weight: 600; display: block; margin: 8px 0; }

/* ---------- access ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.access-grid iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
.access-info dt { font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--green); margin-top: 20px; }
.access-info dd { font-size: 15px; margin-top: 4px; }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  background: var(--green);
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.page-hero .en-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #bcd8c4;
  display: block;
  margin-bottom: 8px;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 600; letter-spacing: .08em; }
.page-hero p { margin-top: 12px; color: #d7e5db; font-size: 14.5px; }

/* ---------- notice box ---------- */
.notice {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
.notice h3 { color: var(--ink); font-size: 15px; margin-bottom: 8px; }

/* ---------- momence embed ---------- */
.momence-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 600px;
}

/* ---------- footer ---------- */
.footer { background: var(--green-dark); color: #cfe0d4; padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer .logo-text .name { color: #fff; }
.footer .logo-text .sub { color: #9fbfaa; }
.footer p { font-size: 13.5px; margin-top: 16px; line-height: 2; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; margin-bottom: 14px; font-weight: 600; }
.footer ul li { margin-bottom: 9px; }
.footer a { color: #cfe0d4; font-size: 13.5px; }
.footer a:hover { color: #fff; }
.footer .sns { display: flex; gap: 14px; margin-top: 18px; }
.footer .sns a { display: flex; width: 38px; height: 38px; border: 1px solid #4a6d56; border-radius: 50%; align-items: center; justify-content: center; }
.footer .sns a:hover { background: rgba(255,255,255,.1); }
.footer .copy { border-top: 1px solid #2c4f3a; margin-top: 48px; padding-top: 24px; text-align: center; font-size: 12px; color: #9fbfaa; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.center { text-align: center; }
.max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.max-900 { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- contact form ---------- */
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; }
.form-row { display: grid; gap: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; letter-spacing: .04em; }
.form-field .req { font-size: 10.5px; font-weight: 600; color: #fff; background: var(--green); border-radius: 3px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-jp); font-size: 15px; color: var(--ink);
  background: var(--bg);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--green); outline-offset: -1px; background: #fff;
}
.form-field.agree label { font-weight: 400; font-size: 14px; }
.form-field.agree input { width: auto; margin-right: 8px; vertical-align: -1px; }
.contact-form button { border: none; cursor: pointer; font-family: var(--font-jp); }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 16px; line-height: 1.9; }
@media (max-width: 640px) { .form-row.two, .form-row.three { grid-template-columns: 1fr; gap: 0; } .contact-form { padding: 28px 20px; } }

/* ---------- typography & accent (F: Poppins / Noto Serif JP / Karla / Noto Sans JP + P4 icemint) ---------- */
.sec-head h2, .page-hero h1,
.split h3, .card-body h3, .class-item h3, .price-card h3,
.person h3, .notice h3, .steps h3, .step h3 {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.hero .lead { font-family: var(--font-jp); }
.hero .tagline, .en-sub { font-family: var(--font-en-body); letter-spacing: .14em; }
.sec-head .en-label { color: var(--blue); }
.section.green .sec-head .en-label { color: #a8c8ce; }
.page-hero .en-label { color: #a8c8ce; }
.body-en, p[lang="en"], .en-text { font-family: var(--font-en-body); }


/* ---------- wave dividers（場所ごとに形の違うワンカール） ---------- */
.wave-top { position: relative; }
.wave-top::before {
  content: ""; position: absolute; bottom: 100%; left: 0; width: 100%; height: 56px;
  background: inherit; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C56%20C560%2C44%20950%2C-2%201440%2C42%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C56%20C560%2C44%20950%2C-2%201440%2C42%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
}
.section.wave-top:not(.green)::before {
  height: 50px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C46%20C220%2C4%20720%2C16%201440%2C54%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C46%20C220%2C4%20720%2C16%201440%2C54%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
}
.footer.wave-top::before {
  height: 50px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C54%20C520%2C48%20900%2C4%201440%2C44%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C54%20C520%2C48%20900%2C4%201440%2C44%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 48px;
  background: var(--bg); pointer-events: none; z-index: 2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C22%20C420%2C62%201020%2C58%201440%2C16%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2064'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2C22%20C420%2C62%201020%2C58%201440%2C16%20L1440%2C64%20L0%2C64%20Z'%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;
}
.page-hero { position: relative; padding-bottom: 84px !important; }


/* ---------- photos ---------- */
.person .face { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.page-photo { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 36px; }

.price-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .price-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid.four { grid-template-columns: 1fr; } }

a.person { display: block; color: inherit; transition: transform .2s, box-shadow .2s; }
a.person:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,40,30,.12); }
.person .readbio { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--blue); font-family: var(--font-en); letter-spacing: .08em; }
.bio-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; max-width: 980px; margin: 0 auto; }
.bio-photo { width: 100%; border-radius: var(--radius); }
.bio-meta { font-size: 13px; color: var(--ink-soft); margin-top: 14px; line-height: 2; }
.bio-text p { margin-bottom: 14px; font-size: 14.5px; line-height: 2; }
.bio-text .event-lead {
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--green);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.bio-text .event-teacher {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.bio-text .event-lead:has(+ .event-teacher) {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 6px;
}
@media (max-width: 800px) { .bio-grid { grid-template-columns: 1fr; gap: 28px; } .bio-photo { max-width: 340px; } }

/* ---------- events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.event-card { display: block; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,40,30,.12); }
.event-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.event-card h3 { font-family: var(--font-serif-jp); font-size: 15.5px; font-weight: 600; padding: 14px 16px 2px; line-height: 1.6; }
.event-card .readbio { display: inline-block; padding: 0 16px 16px; }
.event-btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 1000px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .event-grid { grid-template-columns: 1fr; } }


/* ---------- dropdown nav ---------- */
.nav ul { gap: 20px; }
.nav a { font-size: 13.5px; }
.nav li { position: relative; }
.nav .nav-label { cursor: default; }
.nav li.has-sub > a::after { content: "▾"; font-size: 9px; margin-left: 5px; color: var(--ink-soft); vertical-align: 1px; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: -6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 0; min-width: 200px; box-shadow: 0 14px 34px rgba(20,40,30,.13); z-index: 300;
}
.nav li.has-sub:hover .sub, .nav li.has-sub:focus-within .sub { display: block; }
.nav .sub li { width: 100%; }
.nav .sub a { display: block; padding: 9px 18px; border-bottom: none; font-size: 13px; white-space: nowrap; }
.nav .sub a::after { content: none; }
.nav .sub a:hover { background: var(--mint); border-bottom: none; }

@media (max-width: 900px) {
  .nav li.has-sub > a::after { content: none; }
  .nav .sub { display: block; position: static; border: none; box-shadow: none; border-radius: 0; padding: 0 0 0 16px; min-width: 0; background: transparent; }
  .nav .nav-label { color: var(--ink-soft); font-size: 12.5px; }
}

.rental-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.rental-choice .event-card p { font-size: 13px; color: var(--ink-soft); padding: 0 16px 4px; line-height: 1.8; }
@media (max-width: 700px) { .rental-choice { grid-template-columns: 1fr; } }

/* ---------- event teacher box ---------- */
.teacher-box { display: grid; grid-template-columns: 190px 1fr; gap: 36px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; max-width: 900px; margin: 0 auto; }
.teacher-box img, .teacher-box .avatar-big { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; }
.teacher-box .avatar-big { background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 60px; font-family: var(--font-en); font-weight: 600; }
.teacher-box h3 { font-family: var(--font-serif-jp); font-size: 19px; margin-bottom: 12px; letter-spacing: .06em; }
.teacher-box .teacher-text p { font-size: 14px; line-height: 2; margin-bottom: 12px; }
@media (max-width: 700px) { .teacher-box { grid-template-columns: 1fr; justify-items: center; text-align: left; } }

.price-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .price-grid.two { grid-template-columns: 1fr; } }

.teacher-box.mt-40 { margin-top: 26px; }

/* ---------- language toggle ---------- */
.nav .lang a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 12px; font-family: var(--font-en); color: var(--ink-soft); border-bottom: 1px solid var(--line) !important; }
.nav .lang a:hover { color: var(--green); border-color: var(--green) !important; }
@media (max-width: 900px) { .nav .lang { margin-top: 12px; } .nav .lang a { display: inline-block; border-bottom: 1px solid var(--line); } }

/* ---------- event language labels ---------- */
.page-hero .lang-badge { display: inline-block; margin-top: 14px; padding: 5px 16px; border-radius: 999px; font-size: 12.5px; letter-spacing: .05em; color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); }
.event-card .lang-tag { display: inline-block; margin: 12px 16px 0; padding: 3px 13px; border-radius: 999px; font-size: 11px; letter-spacing: .05em; color: #fff; background: #4a524d; }

/* ---------- mobile language switch in header ---------- */
.lang-mobile { display: none; }
@media (max-width: 900px) {
  .lang-mobile {
    display: inline-block; margin-left: auto;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 5px 14px; font-size: 12px; font-family: var(--font-en);
    color: var(--ink-soft);
  }
  .nav-toggle { margin-left: 6px; }
  .nav .lang { display: none; }
}

/* ---------- waiver page ---------- */
.waiver-lead { margin-bottom: 34px; }
.waiver-list { list-style: none; counter-reset: waiver; }
.waiver-list li {
  counter-increment: waiver;
  position: relative;
  padding-left: 42px;
  margin-bottom: 22px;
}
.waiver-list li::before {
  content: counter(waiver);
  position: absolute; left: 0; top: 3px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--mint); color: var(--green);
  font-family: var(--font-en); font-weight: 600; font-size: 13px;
  line-height: 26px; text-align: center;
}
.waiver-note {
  margin-top: 38px; padding: 20px 24px;
  background: var(--sand); border-radius: var(--radius);
  font-size: 14px; color: var(--ink-soft);
}

/* ---------- key points (EN home) ---------- */
.section.points { padding: 44px 0 0; }
.key-points {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px;
}
.key-points li { position: relative; padding-left: 32px; font-size: 16px; }
.key-points li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2314502e" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 11px no-repeat;
}
.key-points a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .key-points { grid-template-columns: 1fr; }
}


/* ---------- weekly schedule ---------- */
.schedule-pdf { display: block; text-align: center; }
.schedule-pdf img {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 20px;
}
.schedule-pdf img { transition: box-shadow .18s ease, border-color .18s ease; }
.schedule-pdf:hover img { border-color: var(--green); box-shadow: 0 4px 18px rgba(20,80,46,.16); }
.schedule-pdf:focus-visible img { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ↓ここから下は現在未使用。HTML表示に戻す場合に使う
   （tools/build-schedule.py が生成する .sc-* 用のスタイル） */
/* 「押せそう」に見えないよう、枠線つきカードではなく印刷物のような表にする */
.schedule { margin-top: 4px; }
.sc-legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px;
}
.sc-legend li { display: flex; align-items: center; gap: 7px; }
.sc-key { width: 14px; height: 14px; border: 1px solid var(--line); display: inline-block; flex: none; }
.sc-key-jp { background: var(--white); }
.sc-key-en { background: var(--mint); border-color: #cfe2de; }
.sc-key-chg {
  width: auto; height: auto; border: none; background: none;
  color: var(--blue); font-family: var(--font-en); font-size: 12px; font-weight: 600;
}
.sc-key-chg::before { content: "Aa"; }
.sc-badge { font-size: 11px; line-height: 1; margin-left: 5px; }
.sc-legend .sc-badge { margin-left: 0; }
.sc-mon { font-family: var(--font-en); font-style: italic; font-weight: 600; color: #b7791f; }

.sc-item { display: flex; flex-direction: column; gap: 1px; padding: 9px 9px 10px; }
.sc-item.sc-en { background: var(--mint); }
.sc-time { font-family: var(--font-en); font-size: 11.5px; color: var(--ink-soft); }
.sc-name { font-weight: 600; color: var(--ink); }
.sc-teacher { color: var(--ink-soft); }
.sc-note { font-size: 11px; color: var(--ink-soft); opacity: .8; }
.sc-item.is-changed .sc-name, .sc-item.is-changed .sc-time { color: var(--blue); }
.sc-item.is-new .sc-name, .sc-item.is-new .sc-time { color: #c0553f; }
.sc-footnote { font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.sc-booknote { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* スマホ：曜日ごとの縦リスト */
.sc-grid { display: none; }
.sc-list { display: flex; flex-direction: column; gap: 26px; }
.sc-day-block h3 {
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--green); border-bottom: 1px solid var(--line); padding-bottom: 7px;
}
.sc-list .sc-item {
  flex-direction: row; flex-wrap: wrap; align-items: baseline;
  gap: 2px 10px; font-size: 13.5px; padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.sc-list .sc-item.sc-en { padding-left: 9px; padding-right: 9px; }
.sc-list .sc-time { flex: 0 0 74px; }
.sc-list .sc-name { flex: 1 1 auto; }
.sc-list .sc-teacher, .sc-list .sc-note { flex: 1 1 100%; padding-left: 84px; }

/* PC：曜日 × 時間帯の表 */
@media (min-width: 900px) {
  .sc-list { display: none; }
  .sc-grid { display: block; border-top: 1px solid var(--line); }
  .sc-row { display: grid; grid-template-columns: 44px repeat(7, 1fr); }
  .sc-row + .sc-row { border-top: 1px solid var(--line); }
  .sc-head { background: none; border-bottom: 1px solid var(--ink); }
  .sc-head .sc-day, .sc-head .sc-period {
    padding: 8px 4px; text-align: center; color: var(--ink);
    font-family: var(--font-en); font-size: 12.5px; letter-spacing: .08em; font-weight: 600;
  }
  .sc-period {
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft); font-family: var(--font-en);
    font-size: 11px; letter-spacing: .2em; writing-mode: vertical-rl;
  }
  .sc-head .sc-period { writing-mode: horizontal-tb; }
  .sc-col { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
  .sc-col .sc-item + .sc-item { border-top: 1px solid var(--line); }
  .sc-grid .sc-item { font-size: 12px; line-height: 1.55; }
}

.booking-lead { font-size: 14px; color: var(--ink-soft); text-align: center; margin-bottom: 22px; }
.booking-lead a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }


/* ---------- 英語ページの書体（決定どおり：見出し Poppins / 本文 Karla） ----------
   日本語ページは Noto Serif JP + Noto Sans JP のまま。ここは英語ページだけに効きます。
   日本語フォントは各スタックの2番目に残してあるので、言語切替リンクの「日本語」も正しく出ます。 */
html[lang="en"] body,
html[lang="en"] .hero .lead,
html[lang="en"] .contact-form input,
html[lang="en"] .contact-form select,
html[lang="en"] .contact-form textarea,
html[lang="en"] .contact-form button {
  font-family: var(--font-en-body);
}
html[lang="en"] .sec-head h2,
html[lang="en"] .page-hero h1,
html[lang="en"] .split h3,
html[lang="en"] .card-body h3,
html[lang="en"] .class-item h3,
html[lang="en"] .price-card h3,
html[lang="en"] .person h3,
html[lang="en"] .notice h3,
html[lang="en"] .steps h3,
html[lang="en"] .step h3,
html[lang="en"] .event-card h3,
html[lang="en"] .teacher-box h3 {
  font-family: var(--font-en);
  letter-spacing: 0.01em;
}
html[lang="en"] .page-hero h1 { letter-spacing: 0.01em; }

.bio-pose { width: 100%; border-radius: var(--radius); margin-top: 14px; }

/* ---------- 本文中心のページ（maternity / ishta） ---------- */
.prose p { color: var(--ink-soft); line-height: 2; }
.prose p + p { margin-top: 16px; }
.prose .sec-head + p { margin-top: 0; }
.prose ul.key-points { margin-top: 4px; }
.prose .deflist { margin-top: 26px; }
.prose .notice p + p { margin-top: 12px; }
.prose small { font-size: 12.5px; }

/* 並列項目の一覧（手順ではないので番号は付けない） */
.deflist { display: grid; gap: 0; }
.deflist-item { padding: 20px 0; border-top: 1px solid var(--line); }
.deflist-item:last-child { border-bottom: 1px solid var(--line); }
.deflist-item h3 {
  font-family: var(--font-serif-jp);
  font-size: 17px; font-weight: 600; letter-spacing: .06em; margin-bottom: 7px;
}
html[lang="en"] .deflist-item h3 { font-family: var(--font-en); letter-spacing: .01em; }
.deflist-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 2; }

/* ---------- 本文中のリンクは下線を付けて分かりやすくする ----------
   ナビ・ボタン・カード全体のリンクは対象外（見た目で既にリンクと分かるため） */
main p a:not(.btn), main li a:not(.btn), main dd a:not(.btn),
main .a a, main summary a, .prose a:not(.btn), .notice a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
main p a:not(.btn):hover, main li a:not(.btn):hover, main dd a:not(.btn):hover,
main .a a:hover, .prose a:not(.btn):hover, .notice a:not(.btn):hover { text-decoration-thickness: 2px; }
