/* =========================================================
   ページごとの部品（部品の定義は DESIGN-GUIDELINE.html 5章）
   ========================================================= */
.sp-block { display: none; }
@media (max-width: 767px) { .sp-block { display: block; } }

/* ---------- ファーストビュー ---------- */
.fv { position: relative; color: var(--white); background: var(--ai-deep); overflow: hidden; }
.fv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.fv::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.15) 75%);
}
.fv__in { position: relative; z-index: 1; min-height: min(calc(100vh - var(--head-h)), 760px); display: flex; flex-direction: column; justify-content: center; padding: 80px 0 96px; }
.fv__label { margin: 0 0 22px; font-family: var(--f-gothic); font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--on-dark); }
.fv__copy { margin: 0; font-family: var(--f-mincho); font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.45; letter-spacing: .06em; }
.fv__lead { margin: 24px 0 0; max-width: 30em; font-size: 17px; color: var(--on-dark); }
.fv__proof { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; }
.fv__proof li {
  padding: 6px 16px; border-radius: 999px; font-size: 14px;
  background: var(--ai-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.fv__proof b { font-weight: 700; }
.fv__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; align-items: center; }
.fv__area {
  position: absolute; z-index: 1; right: 28px; bottom: 28px; margin: 0;
  writing-mode: vertical-rl; font-family: var(--f-mincho); font-weight: 700; font-size: 15px; letter-spacing: .3em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 767px) {
  .fv__img { inset: auto; top: -24px; left: -22%; width: 140%; max-width: none; height: auto; }
  .fv::after { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 22%, rgba(0,0,0,.96) 40%, var(--ai-deep) 100%); }
  .fv__in { min-height: 0; justify-content: flex-end; padding: 53vw 0 24px; }
  .fv__label { font-size: 11px; margin-bottom: 10px; letter-spacing: .08em; }
  .fv__copy { font-size: 27px; line-height: 1.5; }
  .fv__lead { font-size: 14px; margin-top: 12px; line-height: 1.8; }
  .fv__proof { gap: 6px; margin-top: 14px; }
  .fv__proof li { font-size: 12px; padding: 3px 11px; }
  .fv__cta { margin-top: 18px; gap: 10px; }
  .fv__cta .btn { width: 100%; }
  .fv__cta .btn--lg { min-height: 58px; font-size: 17px; }
  .fv__cta .btn--line { min-height: 46px; font-size: 14px; }
}

/* ---------- 保護者の不安に答える ---------- */
.worry__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.worry__item { padding: 36px 32px 8px; border-right: 1px solid var(--rule); }
.worry__item:first-child { padding-left: 0; }
.worry__item:last-child { border-right: 0; padding-right: 0; }
.worry__q { margin: 0 0 14px; font-size: 14px; color: var(--mute); }
.worry__a { margin: 0 0 16px; font-family: var(--f-mincho); font-weight: 800; font-size: 22px; line-height: 1.55; }
.worry__item p:last-child { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .worry__list { grid-template-columns: 1fr; }
  .worry__item, .worry__item:first-child, .worry__item:last-child { padding: 28px 0 12px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .worry__a { font-size: 20px; }
}

/* ---------- 特徴（ジグザグ） ---------- */
.feature__row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature__row + .feature__row { border-top: 1px solid var(--rule); }
.feature__row--rev .feature__fig { order: 2; }
.feature__fig { margin: 0; position: relative; }
.feature__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature__fig--trio { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.feature__fig--trio img { aspect-ratio: auto; height: 100%; }
.feature__fig--trio img:first-child { grid-row: 1 / 3; }
.feature__no {
  display: block; font-family: var(--f-latin); font-style: italic; font-weight: 600;
  font-size: 88px; line-height: .9; color: var(--shu); margin-bottom: 8px;
}
.feature__title { margin: 0 0 20px; font-family: var(--f-mincho); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.55; }
.feature__body p { color: var(--ink-2); }
.feature__record li { padding: 10px 0 10px 30px; font-size: 15px; }
.feature__record li::before { top: 1.35em; }
.feature__body .rulelist { margin: 8px 0 22px; }
@media (max-width: 900px) {
  .feature__row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature__row--rev .feature__fig { order: 0; }
  .feature__no { font-size: 64px; }
}

/* ---------- 実績 ---------- */
.result { position: relative; }
.result__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .07; mix-blend-mode: luminosity; }
.result .wrap { position: relative; }
.result__stats { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); margin: 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.result__stat { padding: 32px 24px; border-left: 1px solid var(--rule-dark); }
.result__stat:first-child { border-left: 0; padding-left: 0; }
.result__stat dt { font-size: 14px; color: var(--on-dark); letter-spacing: .1em; }
.result__stat dd { margin: 6px 0 0; font-family: var(--f-latin); font-weight: 600; font-size: 64px; line-height: 1; }
.result__stat dd small { font-family: var(--f-gothic); font-size: 15px; margin-left: 4px; }
.result__stat--main dd { font-size: 112px; }
.result .note { margin-top: 16px; }
@media (max-width: 900px) {
  .result__stats { grid-template-columns: 1fr 1fr; }
  .result__stat { padding: 22px 0 22px 18px; border-top: 1px solid var(--rule-dark); }
  .result__stat:nth-child(2n) { border-left: 0; padding-left: 0; }
  .result__stat--main { grid-column: 1 / -1; border-top: 0; padding-left: 0; }
  .result__stat:nth-child(odd):not(:first-child) { border-left: 1px solid var(--rule-dark); padding-left: 18px; }
  .result__stat dd { font-size: 48px; }
  .result__stat--main dd { font-size: 88px; }
}

/* ---------- クラス ---------- */
.classes__main { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.class-card { display: block; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px -18px rgba(28,31,36,.35); transition: transform .2s; }
.class-card:hover { transform: translateY(-4px); }
.class-card figure { margin: 0; }
.class-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.class-card__body { position: relative; padding: 34px 32px 30px; }
.class-card__age {
  position: absolute; top: -18px; left: 28px; padding: 6px 16px; border-radius: 999px;
  background: var(--ai); color: var(--white); font-size: 13px; font-weight: 700;
}
.class-card h3 { margin: 0 0 10px; font-family: var(--f-mincho); font-weight: 800; font-size: 26px; }
.class-card p { color: var(--ink-2); font-size: 15px; }
.class-card__time { margin: 0; padding-top: 14px; border-top: 1px solid var(--rule); font-weight: 700; color: var(--ink) !important; }
.classes__sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.class-mini { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding: 26px 24px 26px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.class-mini + .class-mini { padding-left: 24px; border-left: 1px solid var(--rule); }
.class-mini img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.class-mini h3 { margin: 0 0 4px; font-family: var(--f-mincho); font-weight: 800; font-size: 20px; }
.class-mini p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.class-mini span { font-size: 13px; font-weight: 700; }
.classes__more { margin: 36px 0 0; text-align: center; }
@media (max-width: 900px) {
  .classes__main { grid-template-columns: 1fr; gap: 40px; }
  .classes__sub { grid-template-columns: 1fr; }
  .class-mini, .class-mini + .class-mini { padding: 20px 0; border-left: 0; grid-template-columns: 80px 1fr; }
  .class-mini img { width: 80px; height: 80px; }
  .class-card__body { padding: 30px 22px 24px; }
}

/* ---------- 時間割 ---------- */
.tt { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.tt__table th small { display: block; font-size: 12px; font-weight: 400; color: var(--on-dark); }
.tt__table td { font-size: 14px; }
.tt__table tbody th { font-feature-settings: "tnum"; }
.tag { display: inline-block; margin-right: 6px; padding: 1px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--white); }
.tag--kids { background: var(--shu); }
.tag--elem { background: var(--ai); }
.tag--adult { background: var(--ink); }
.tag--kata { background: var(--kata); }
.days__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid var(--ink); }
.days__tabs button {
  padding: 12px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--f-mincho); font-weight: 800; font-size: 20px; color: var(--mute);
}
.days__tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-radius: var(--radius) var(--radius) 0 0; }
.days__place { margin: 16px 0 4px; font-weight: 700; }
.days__list { list-style: none; margin: 0; padding: 0; }
.days__list li { display: grid; grid-template-columns: 7.6em 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.days__list b { font-feature-settings: "tnum"; }
.schedule__notes { margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.schedule__notes li { position: relative; padding-left: 1.2em; margin-bottom: 6px; }
.schedule__notes li::before { content: "※"; position: absolute; left: 0; }

/* ---------- 保護者の声 ---------- */
.voice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.voice__item { margin: 0; position: relative; padding: 34px 32px 28px; background: var(--white); border-radius: var(--radius); }
.voice__item::after { /* 吹き出しの尾（三角） */
  content: ""; position: absolute; left: 40px; bottom: -14px;
  border-style: solid; border-width: 14px 12px 0 0; border-color: var(--white) transparent transparent transparent;
}
.voice__item blockquote { margin: 0; }
.voice__item h3 { margin: 0 0 12px; font-family: var(--f-mincho); font-weight: 800; font-size: 19px; line-height: 1.6; }
.voice__item p { margin: 0; font-size: 15px; color: var(--ink-2); }
.voice__item:nth-child(even) { transform: translateY(32px); }
@media (max-width: 900px) {
  .voice__grid { grid-template-columns: 1fr; gap: 28px; }
  .voice__item:nth-child(even) { transform: none; }
  .voice__item { padding: 28px 22px 22px; }
}

/* ---------- 年間行事 ---------- */
.events__head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.events__head .sec-head { margin-bottom: 0; }
.events__fig { margin: 0; }
.events__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.events__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule-ink); }
.events__list li { position: relative; padding: 30px 16px 0 0; font-size: 15px; line-height: 1.7; }
.events__list li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--shu); }
.events__month { display: block; margin-bottom: 6px; font-family: var(--f-mincho); font-weight: 800; font-size: 26px; }
@media (max-width: 900px) {
  .events__head { grid-template-columns: 1fr; gap: 32px; }
  .events__list { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--rule-ink); margin-left: 6px; }
  .events__list li { padding: 0 0 22px 26px; }
  .events__list li::before { top: 10px; left: -6px; }
  .events__month { display: inline-block; width: 3.2em; font-size: 20px; margin: 0; }
}

/* ---------- 新着・ブログカード ---------- */
.news__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.news__head .sec-head { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.post-card { display: block; text-decoration: none; }
.post-card figure { margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover img { transform: scale(1.04); }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--mute); }
.post-card__meta span { white-space: nowrap; padding: 1px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; }
.post-card h3 { margin: 8px 0 6px; font-size: 17px; line-height: 1.6; font-weight: 700; }
.post-card__result { margin: 0; font-size: 14px; font-weight: 700; color: var(--shu); }
.news__more { margin: 32px 0 0; text-align: center; }
@media (max-width: 767px) {
  /* スマホは写真＋題名の横並び1列。題名は記事ごとに長さが違うので、文字の幅を広く取る */
  .post-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
  .post-card { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .post-card figure { grid-row: 1 / 4; margin: 0; aspect-ratio: 1 / 1; }
  .post-card img { height: 100%; aspect-ratio: auto; }
  .post-card h3 { margin: 6px 0 4px; font-size: 15px; }
  .post-card__result { font-size: 13px; }
  .news__head { margin-bottom: 32px; }
}

/* ---------- 月謝・アクセス要約 ---------- */
.info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.info .sec-head { margin-bottom: 28px; }
.info .table { margin-bottom: 14px; }
.info .note { margin-bottom: 18px; }
.place-list { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--rule); }
.place-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.place-list b { display: block; font-family: var(--f-mincho); font-size: 19px; }
.place-list span { display: block; font-size: 15px; }
.place-list .place-list__sub { font-size: 13px; color: var(--mute); }
@media (max-width: 900px) { .info__grid { grid-template-columns: 1fr; gap: 64px; } }

/* =========================================================
   下層ページ
   ========================================================= */
.lead-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lead-block__title { margin: 0 0 24px; font-family: var(--f-mincho); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.6; }
.lead-block p { color: var(--ink-2); }
.lead-block figure { margin: 0; }
.lead-block img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.mind { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.mind span { padding: 12px 22px; background: var(--ai); color: var(--white); border-radius: var(--radius); font-family: var(--f-mincho); font-weight: 700; font-size: 17px; }
@media (max-width: 900px) { .lead-block { grid-template-columns: 1fr; gap: 32px; } }

/* 実績・大会運営 */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pair__item figure { margin: 0 0 22px; }
.pair__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.pair__item h3 { margin: 0 0 12px; font-family: var(--f-mincho); font-weight: 800; font-size: 22px; line-height: 1.55; }
.pair__item p { color: var(--ink-2); }
.sec--ai .pair__item p { color: var(--on-dark); }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; gap: 48px; } }

/* 指導員 */
.staff { display: grid; grid-template-columns: 380px 1fr; gap: 64px; padding: 64px 0; }
.staff + .staff { border-top: 1px solid var(--rule); }
.staff__photos { position: relative; align-self: start; }
.staff__photos > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.staff__photos figure { margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.staff__photos figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.staff__photos figcaption { grid-column: 1 / -1; font-size: 12px; color: var(--mute); }
.staff__role { position: absolute; top: 16px; left: -10px; padding: 6px 18px; background: var(--shu); color: var(--white); font-weight: 700; font-size: 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.staff .staff__name { padding: 0; border: 0; margin: 0; font-family: var(--f-mincho); font-weight: 800; font-size: 36px; letter-spacing: .1em; }
.staff__en { display: block; font-family: var(--f-latin); font-style: italic; font-size: 20px; color: var(--mute); letter-spacing: .04em; }
.staff__prof { margin: 10px 0 28px; font-size: 14px; color: var(--ink-2); }
.staff h3 { margin: 32px 0 12px; font-size: 17px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.staff p { color: var(--ink-2); }
.staff .staff__msg { color: var(--white); }
.staff__msg { margin: 32px 0 0; padding: 28px 30px; background: var(--ai); color: var(--white); border-radius: var(--radius); font-family: var(--f-mincho); font-weight: 700; font-size: 18px; line-height: 1.9; }
.staff__msg small { display: block; margin-top: 10px; font-family: var(--f-gothic); font-weight: 400; font-size: 13px; color: var(--on-dark); }
.staff .dl dt { font-weight: 700; }
@media (max-width: 900px) {
  .staff { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .staff__name { font-size: 30px; }
}

/* 無料体験の流れ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.steps li { list-style: none; position: relative; padding: 0 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--rule-dark); }
.steps h3 { margin: 0 0 10px; font-family: var(--f-mincho); font-weight: 800; font-size: 21px; }
.steps h3::before { counter-increment: step; content: "STEP " counter(step); display: block; font-family: var(--f-latin); font-style: italic; font-size: 18px; color: var(--on-dark); letter-spacing: .08em; margin-bottom: 6px; }
.steps p { color: var(--on-dark); font-size: 15px; margin: 0; }
.steps { padding: 0; margin: 0 0 48px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule-dark); }
}

/* クラス詳細 */
.class-detail { display: grid; grid-template-columns: 440px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--rule); }
.class-detail:first-of-type { border-top: 2px solid var(--ink); }
.class-detail figure { margin: 0; }
.class-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.class-detail h3 { margin: 0; font-family: var(--f-mincho); font-weight: 800; font-size: 30px; }
.class-detail__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.class-detail__meta span { padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; }
.class-detail__time { margin: 0 0 20px; }
.class-detail__time li { padding: 10px 0 10px 30px; }
.class-detail__time li::before { top: 1.3em; }
.class-detail p { color: var(--ink-2); }
@media (max-width: 900px) { .class-detail { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; } }

/* 費用 */
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.fee-total { padding: 30px 30px 26px; background: var(--white); border-radius: var(--radius); }
.fee-total h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.fee-total__price { margin: 0 0 16px; font-family: var(--f-latin); font-weight: 600; font-size: 56px; line-height: 1.1; }
.fee-total__price small { font-family: var(--f-gothic); font-size: 15px; font-weight: 700; margin-left: 4px; }
.fee-total .table th, .fee-total .table td { padding: 10px 0; }
.fee-total .table { background: transparent; }
.fee-h { margin: 64px 0 20px; font-family: var(--f-mincho); font-weight: 800; font-size: 24px; }
.fee-h:first-child { margin-top: 0; }
@media (max-width: 900px) { .fee-grid { grid-template-columns: 1fr; gap: 24px; } .fee-total__price { font-size: 46px; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* アクセス */
.place { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--rule); }
.place:first-of-type { border-top: 2px solid var(--ink); }
.place__name { margin: 0; font-family: var(--f-mincho); font-weight: 800; font-size: 30px; }
.place__days { display: inline-block; margin: 12px 0 20px; padding: 4px 16px; border-radius: 999px; background: var(--ai); color: var(--white); font-size: 14px; font-weight: 700; }
.place h4 { margin: 24px 0 8px; font-size: 15px; font-weight: 700; }
.place p, .place li { color: var(--ink-2); font-size: 15px; }
.place__map { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.place__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.place__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.place__imgs img { width: 100%; border-radius: var(--radius); background: var(--white); }
.place__imgs figcaption { font-size: 12px; color: var(--mute); margin-top: 4px; }
.place__imgs figure { margin: 0; }
.place .alert { color: var(--white); }
.alert { margin: 20px 0 0; padding: 18px 22px; background: var(--ink); color: var(--white); border-radius: var(--radius); font-size: 14px; }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; } }

/* ブログ一覧 */
.blog-layout { display: grid; grid-template-columns: 1fr 260px; gap: 64px; }
.blog-side h2 { margin: 0 0 14px; font-size: 14px; letter-spacing: .12em; }
.blog-side ul { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--rule); }
.blog-side li a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; }
.blog-side li a[aria-current] { font-weight: 700; color: var(--ai); }
.blog-side li span { color: var(--mute); font-size: 13px; }
.search { display: flex; margin-bottom: 40px; }
.search input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--ink-2); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font: inherit; background: var(--white); }
.search button { height: 48px; padding: 0 18px; border: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink); color: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.cat-chips { display: none; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--radius); text-decoration: none; font-weight: 700; background: var(--white); }
.pager span[aria-current] { background: var(--ink); color: var(--white); }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 0; }
  .blog-side { order: 2; margin-top: 64px; }
  .cat-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 28px; padding-bottom: 4px; }
  .cat-chips a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--white); text-decoration: none; font-size: 14px; font-weight: 700; }
  .cat-chips a[aria-current] { background: var(--ink); color: var(--white); }
}

/* ブログ記事 */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 14px; color: var(--mute); }
.article__meta a { padding: 2px 12px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 12px; }
.article__title { margin: 0 0 32px; font-family: var(--f-mincho); font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.55; }
.article__eyecatch { margin: 0 0 40px; }
.article__eyecatch img { width: 100%; border-radius: var(--radius); }
.article__body { font-size: 17px; line-height: 2.05; }
.article__body h2 { margin: 56px 0 18px; padding-bottom: 10px; font-family: var(--f-mincho); font-weight: 800; font-size: 24px; line-height: 1.6; border-bottom: 2px solid var(--ink); }
.article__body h3 { margin: 36px 0 12px; font-size: 19px; }
.article__body p { margin: 0 0 1.4em; }
.article__body figure { margin: 32px 0; }
.article__body figure img { border-radius: var(--radius); }
.article__body figcaption { font-size: 13px; color: var(--mute); margin-top: 6px; }
.article__body .wp-block-file { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 16px 0; border-top: 1px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); }
.article__body .wp-block-file a:first-child { color: var(--ink); font-weight: 700; line-height: 1.7; }
.article__body .wp-block-file__button { flex: none; display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 20px; border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.article__body .wp-block-embed { margin: 32px 0; }
.article__body .wp-block-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.article__result { margin: 32px 0; padding: 26px 28px; background: var(--ai); color: var(--white); border-radius: var(--radius); }
.article__result h3 { margin: 0 0 8px; font-size: 15px; color: var(--on-dark); font-weight: 500; }
.article__result p { margin: 0; font-family: var(--f-mincho); font-weight: 800; font-size: 24px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.article__tags a { font-size: 13px; color: var(--ink-2); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.article__nav a { display: block; padding: 18px 20px; background: var(--white); border-radius: var(--radius); text-decoration: none; font-size: 14px; }
.article__nav a span { display: block; font-size: 12px; color: var(--mute); }
.article__nav a:last-child { text-align: right; }
/* 記事下の募集案内（WordPressでは全記事に自動で表示） */
.recruit { margin-top: 56px; padding: 40px 44px; background: linear-gradient(160deg, var(--ai) 0%, var(--ai-deep) 100%); color: var(--white); border-radius: var(--radius); }
.recruit__title { margin: 0 0 12px; font-family: var(--f-mincho); font-weight: 800; font-size: 22px; line-height: 1.6; }
.recruit p { color: var(--on-dark); }
.recruit__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
@media (max-width: 767px) {
  .recruit { padding: 28px 22px; }
  .recruit__title { font-size: 19px; }
  .recruit__btns .btn { width: 100%; padding: 0 18px; white-space: nowrap; }
}
/* フォーム送信後のお知らせ */
.form__msg { max-width: 760px; margin: 0 auto 32px; padding: 18px 22px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) { .article__body { font-size: 16px; } .article__nav { grid-template-columns: 1fr; } .article__nav a:last-child { text-align: left; } }

/* お問い合わせ */
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 120px; border-top: 2px solid var(--ink); }
.contact-ways > div { padding: 30px 28px 26px 0; }
.contact-ways > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.contact-ways h3 { margin: 0 0 6px; font-family: var(--f-mincho); font-weight: 800; font-size: 21px; }
.contact-ways p { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); }
.contact-ways .btn { width: 100%; }
.contact-ways__tel { font-family: var(--f-latin); font-weight: 600; font-size: 30px; text-decoration: none; letter-spacing: .04em; }
@media (max-width: 900px) {
  .contact-ways { grid-template-columns: 1fr; }
  .contact-ways > div, .contact-ways > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
.form { max-width: 760px; margin-inline: auto; }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.form__row:first-of-type { border-top: 1px solid var(--rule); }
.form__label { padding-top: 12px; font-weight: 700; }
.req, .opt { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; font-size: 11px; vertical-align: 2px; }
.req { background: var(--shu); color: var(--white); }
.opt { background: var(--ink-2); color: var(--white); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-form); border-radius: var(--radius); font: inherit; font-size: 16px; background: var(--white); color: var(--ink);
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(29,47,79,.35); border-color: var(--ai); }
.form__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 10px; }
.form__checks label { display: inline-flex; align-items: center; gap: 8px; }
.form__checks input { width: 20px; height: 20px; accent-color: var(--ai); }
.form__hint { margin: 8px 0 0; font-size: 13px; color: var(--mute); }
.form__submit { margin-top: 40px; text-align: center; }
.form__submit .btn { min-width: 320px; }
@media (max-width: 767px) {
  .form__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .form__label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }
}

.cta-band__btns--left { justify-content: flex-start; }
.dl--spaced, .fee-pdf { margin-top: 28px; }
.note--tight { margin-bottom: 10px; }

/* スマホでの表と2カラムのはみ出し対策 */
.blog-layout > *, .place > div, .fee-grid > div, .lead-block > div, .staff > div, .class-detail > div { min-width: 0; }
@media (max-width: 767px) {
  .table th, .table td { padding: 12px 10px; font-size: 14px; }
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .table--stack th, .table--stack td { display: block; padding: 2px 12px; border: 0; white-space: normal; }
  .table--stack td:nth-of-type(1)::before { content: "徒歩 "; }
}

/* =========================================================
   新デザインの下層ページ（トップの見出し・余白・配色に合わせる）
   ========================================================= */
h2,h3,p,li{text-wrap:pretty}
.sec{padding:120px 0}
.wrap{width:min(1120px,100% - 40px)}
.sec-head{margin-bottom:56px;text-align:center}
.sec-head__wm{position:static;display:block;font:400 64px/1.05 "Bebas Neue",sans-serif;letter-spacing:.06em;color:#000;opacity:1;white-space:normal;transform:none!important}
.sec--ai .sec-head__wm,.sec--ink .sec-head__wm{color:#fff;opacity:1}
.sec-head__title{margin-top:6px;font-size:clamp(18px,1.8vw,24px);font-weight:900;line-height:1.5;letter-spacing:0}
.sec-head__lead{margin:14px auto 0;max-width:40em;font-size:15.5px}
.page-hero{clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 56px))}
.page-hero__img{top:-20%;bottom:auto;height:140%}
.page-hero::after{background:rgba(0,0,0,.66)}
.page-hero__in{padding:88px 0 128px;text-align:center}
.page-hero__wm{margin:0;font:400 clamp(72px,11vw,160px)/1 "Bebas Neue",sans-serif;font-style:normal;letter-spacing:.04em;opacity:1;color:#fff}
.page-hero__title{margin-top:8px;font-size:clamp(20px,2vw,26px);font-weight:900;letter-spacing:0}
.page-hero__lead{margin:12px auto 0;font-size:15.5px;color:#fff}
.crumb{text-align:left;font-size:12.5px;color:#fff}
.crumb--light{color:#555}
.toc{position:relative}
.toc__in{justify-content:center}
.btn{border-radius:3px;letter-spacing:0;font-weight:900}
.btn--cta{background:var(--shu)}
.table thead th{background:#000}
.note{font-size:14px;line-height:1.8}
.faq summary::before{font-style:normal}
.rulelist li::before{background:var(--shu)}
.cta-band{clip-path:polygon(0 56px,100% 0,100% 100%,0 100%)}
.cta-band__img{top:-20%;bottom:auto;height:140%}
.cta-band::after{background:rgba(0,0,0,.72)}
.cta-band__in{padding:176px 0 120px}
.cta-band__title{font-size:clamp(24px,3vw,38px);font-weight:900;letter-spacing:0}
.cta-band__tel a{font-size:36px;font-weight:400}
.post-card__meta span{background:#000}
.post-card h3{font-weight:900}
@media (max-width:767px){
  .sec{padding:72px 0}
  .sec-head{margin-bottom:36px}
  .sec-head__wm{font-size:52px}
  .page-hero{clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 28px))}
  .page-hero__in{padding:44px 0 72px}
  .page-hero__wm{font-size:calc(100vw * .17)}
  .cta-band{clip-path:polygon(0 28px,100% 0,100% 100%,0 100%)}
  .cta-band__in{padding:100px 0 72px}
}

.fe__p{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0 0 24px;padding:0}
.fe__p li{background:#fff;border:1px solid #ddd;border-radius:6px;overflow:hidden}
.fe__p h4{margin:0;background:#1c1c1e;color:#fff;text-align:center;font-size:19px;font-weight:900;line-height:1.5;padding:10px}
.fe__p dl{margin:0;padding:8px 22px 14px}
.fe__p dl div{padding:12px 0}.fe__p dl div+div{border-top:1px solid #ddd}
.fe__p dt{font-size:14px;font-weight:700;line-height:1.5}
.fe__p dd{margin:0;font:400 54px/1.05 "Bebas Neue",sans-serif;color:var(--shu)}
.fe__p dd small{font:700 17px/1 var(--f-gothic);color:#000;margin-left:4px}
.staff .dl{grid-template-columns:11em minmax(0,1fr)}
.staff .dl dt{white-space:nowrap}
.faq summary::before{top:50%;transform:translateY(-50%);font-size:26px;line-height:1}
.faq details[open] summary::after{margin-top:-3px}
.news__head{justify-content:center;text-align:center}
.news__head .sec-head{margin-inline:auto}
@media (max-width:767px){
  .fe__p{grid-template-columns:minmax(0,1fr);gap:12px}
  .fe__p h4{font-size:17px;padding:7px}
  .fe__p dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:10px 14px 12px}
  .fe__p dl div{padding:0}.fe__p dl div+div{border-top:0}
  .fe__p dt{font-size:12.5px}
  .fe__p dd{font-size:40px}
  .staff .dl{grid-template-columns:minmax(0,1fr)}
  .trial{width:84px;height:84px;font-size:13px}.trial em{font-size:12px}.trial small{font-size:10px}
}
