@charset "utf-8";
/* =========================================================
   トータルスクール ピタゴラス  /  Renewal 2026
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, figcaption, dl, dd, blockquote {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #17211d;
  --ink-mid:    #46534e;
  --ink-soft:   #6d7a75;
  --line:       #e2e7e3;
  --line-soft:  #eef1ee;
  --paper:      #ffffff;
  --mist:       #f5f7f5;
  --cream:      #fdf8f2;
  --orange:     #d3601f;
  --orange-lt:  #f3a56d;
  --leaf:       #2f7a5c;
  --leaf-lt:    #cfe3d8;
  --rose:       #e39aa6;

  --header-h:   80px;
  --gutter:     clamp(20px, 5vw, 64px);
  --maxw:       1180px;
  --maxw-narrow: 860px;

  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  --sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-s: 0 2px 10px rgba(23,33,29,.06);
  --shadow-m: 0 14px 40px rgba(23,33,29,.10);
  --shadow-l: 0 30px 70px rgba(23,33,29,.14);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}
body.is-locked { overflow: hidden; }

::selection { background: var(--orange); color: #fff; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }

/* ---------- Section heading ---------- */
.shead { margin-bottom: clamp(36px, 5vw, 64px); }
.shead__no {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: clamp(17px, 1.7vw, 21px); letter-spacing: .14em;
  color: var(--orange); margin-bottom: 14px;
}
.shead__no::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .5; }
.shead__en {
  display: block; font-family: var(--serif); font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.15; letter-spacing: .02em; font-weight: 400;
}
.shead__ja {
  display: block; margin-top: 10px; font-size: 13px; letter-spacing: .34em;
  color: var(--ink-soft); font-weight: 500;
}
.section--ink .shead__ja { color: rgba(255,255,255,.66); }
.shead--center { text-align: center; }
.shead--center .shead__no::before { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 34px;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  border-radius: 999px; position: relative; overflow: hidden;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.btn__arrow { width: 18px; height: 1px; background: currentColor; position: relative; flex: none; transition: transform .4s var(--ease); }
.btn__arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--fill { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(211,96,31,.28); }
.btn--fill:hover { background: var(--ink); box-shadow: 0 10px 26px rgba(23,33,29,.24); }
.btn--line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 46px; padding: 0 24px; font-size: 13px; }

/* text link */
.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.tlink:hover { color: var(--orange); gap: 16px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.header__inner {
  width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.header__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.header__logo {
  display: flex; align-items: center; gap: clamp(10px, 1.2vw, 14px);
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); letter-spacing: .06em;
  line-height: 1; white-space: nowrap;
}
.header__mark {
  height: 46px; width: auto; flex: none;
  transition: height .45s var(--ease);
}
.header--solid .header__mark { height: 38px; }
.header__logo small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; margin-top: 7px; opacity: .7; font-weight: 500; }

.gnav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.gnav a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .08em; padding: 6px 0;
  white-space: nowrap;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav a[aria-current="page"] { color: var(--orange); }

.header__tel { text-align: right; line-height: 1.35; white-space: nowrap; }
.header__tel .num { font-family: var(--serif); font-size: 20px; letter-spacing: .02em; }
.header__tel .lbl { display: block; font-size: 10px; letter-spacing: .18em; opacity: .7; }
.header__cta { flex: none; }

/* transparent over hero */
.header--over { color: #fff; }
.header--over .btn--line { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }
.header--over .btn--line:hover { background: #fff; color: var(--ink); }

.header--solid {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  height: 68px;
}

/* burger */
.burger { display: none; width: 46px; height: 46px; position: relative; flex: none; z-index: 120; }
.burger span {
  position: absolute; left: 11px; width: 24px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 48px;
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path .7s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); }
.drawer__list li { border-bottom: 1px solid rgba(255,255,255,.14); }
.drawer__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 4px;
  font-family: var(--serif); font-size: clamp(20px, 5vw, 26px);
}
.drawer__list a span { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; color: var(--orange-lt); }
.drawer__foot { margin-top: 34px; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.75); }
.drawer__foot .num { font-family: var(--serif); font-size: 26px; color: #fff; display: inline-block; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; width: 100%;
  min-height: min(94vh, 900px);
  display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
  padding-bottom: clamp(72px, 11vw, 120px);
  padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; animation: kenburns 12s linear forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(12,20,17,.86) 0%, rgba(12,20,17,.62) 38%, rgba(12,20,17,.18) 68%, rgba(12,20,17,.42) 100%),
    linear-gradient(to top, rgba(12,20,17,.66), transparent 45%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .28em; font-weight: 500; margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--orange-lt); }

.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 8.4vw, 104px); line-height: 1.16; letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero__title .l { display: block; overflow: hidden; }
.hero__title .l > span { display: block; transform: translateY(110%); animation: riseIn 1.1s var(--ease) forwards; }
.hero__title .l:nth-child(1) > span { animation-delay: .15s; }
.hero__title .l:nth-child(2) > span { animation-delay: .3s; }
@keyframes riseIn { to { transform: translateY(0); } }
.hero__title em { font-style: normal; color: var(--orange-lt); }

.hero__lead {
  margin-top: 26px; max-width: 30em; font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2.1; color: rgba(255,255,255,.9);
  opacity: 0; animation: fadeUp 1s var(--ease) .7s forwards;
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp 1s var(--ease) .9s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__vert {
  position: absolute; z-index: 3; right: clamp(14px, 2.4vw, 34px); top: calc(var(--header-h) + 30px);
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 12px; letter-spacing: .5em;
  color: rgba(255,255,255,.7);
}
.hero__scroll {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 0;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.75);
  padding-bottom: 64px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 54px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
}

/* ticker */
.ticker {
  position: relative; z-index: 3;
  border-block: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  overflow: hidden; padding-block: 16px;
}
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker__track span {
  font-family: var(--serif); font-size: clamp(15px, 1.8vw, 20px); letter-spacing: .08em;
  padding-inline: 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px;
}
.ticker__track span::after { content: "●"; font-size: 6px; color: var(--orange); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* =========================================================
   Page hero (下層)
   ========================================================= */
.phero {
  position: relative; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 90px));
  padding-bottom: clamp(44px, 6vw, 76px);
  background: var(--ink); color: #fff; overflow: hidden;
}
.phero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .34; transform: scale(1.04);
}
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,20,17,.8), rgba(12,20,17,.35));
}
.phero__inner { position: relative; z-index: 2; }
.phero__en { display: block; font-family: var(--serif); font-size: clamp(34px, 6vw, 66px); line-height: 1.1; }
.phero__ja { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .34em; color: var(--orange-lt); }

/* breadcrumb */
.crumb { font-size: 11px; letter-spacing: .1em; color: var(--ink-soft); padding-block: 16px; border-bottom: 1px solid var(--line-soft); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumb li + li::before { content: "／"; margin-right: 8px; opacity: .5; }
.crumb a:hover { color: var(--orange); }

/* =========================================================
   Intro (top)
   ========================================================= */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.intro__body p + p { margin-top: 1.4em; }
.intro__lead {
  font-family: var(--serif); font-size: clamp(21px, 2.8vw, 32px); line-height: 1.85;
  margin-bottom: 30px;
}
.intro__lead em { font-style: normal; background: linear-gradient(transparent 66%, rgba(243,165,109,.42) 0); }
.intro__figs { position: relative; }
.intro__figs img { border-radius: 4px; box-shadow: var(--shadow-m); }
.intro__figs .f1 { width: 86%; }
.intro__figs .f2 { width: 56%; position: absolute; right: 0; bottom: -12%; border: 8px solid #fff; }
.intro__mark {
  position: absolute; left: -6%; bottom: 4%;
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 13px; letter-spacing: .4em; color: var(--ink-soft);
}

/* =========================================================
   News
   ========================================================= */
.newsblock { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.newslist { border-top: 1px solid var(--line); }
.newslist li { border-bottom: 1px solid var(--line); }
.newslist__item {
  display: grid; grid-template-columns: 130px 1fr; gap: 6px 20px; align-items: baseline;
  padding: 22px 4px; transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}
a.newslist__item:hover { background: var(--mist); padding-left: 14px; }
.newslist__date { font-family: var(--serif); font-size: 14px; letter-spacing: .06em; color: var(--orange); }
.newslist__txt { font-size: 15px; line-height: 1.85; }
.newslist__sub { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.newslist__tag {
  display: inline-block; font-size: 10px; letter-spacing: .14em; padding: 3px 10px; border-radius: 999px;
  background: var(--leaf-lt); color: var(--leaf); margin-right: 10px; vertical-align: 2px; font-weight: 700;
}
.newslist__tag--end { background: #eceeec; color: var(--ink-soft); }
.newslist__tag--info { background: #fbe6d6; color: var(--orange); }

/* =========================================================
   Pickup cards (banners)
   ========================================================= */
.pickup { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.pickup--2 { grid-template-columns: repeat(2, 1fr); }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(26px, 3vw, 38px); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  overflow: hidden;
}
.pcard::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.pcard:hover::before { transform: scaleX(1); }
.pcard__label { font-size: 11px; letter-spacing: .2em; color: var(--orange); font-weight: 700; }
.pcard__ttl { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.5; text-wrap: balance; }
.pcard__ttl small {
  display: block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .05em; line-height: 1.7; color: var(--ink-soft); margin-bottom: 9px;
}
.pcard__txt { font-size: 14px; color: var(--ink-mid); line-height: 1.9; }
.pcard__meta { font-size: 13px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.pcard__more { margin-top: 6px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--orange); }
.pcard__more::after { content: "→"; transition: transform .3s var(--ease); }
.pcard:hover .pcard__more::after { transform: translateX(4px); }
.pcard--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard--accent .pcard__txt { color: rgba(255,255,255,.8); }
.pcard--accent .pcard__meta { color: rgba(255,255,255,.7); border-top-color: rgba(255,255,255,.24); }
.pcard--accent .pcard__label { color: var(--orange-lt); }
.pcard--accent .pcard__ttl small { color: rgba(255,255,255,.6); }

/* ---- 横長カード（1列・左右分割） ---- */
.pickup--row { grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 20px); }
.pickup--row .pcard {
  display: grid;
  grid-template-columns: minmax(240px, 30%) 1fr max-content;
  align-items: center;
  gap: clamp(22px, 3.2vw, 48px);
  padding: clamp(24px, 2.8vw, 34px) clamp(26px, 3.2vw, 42px);
}
/* 上のオレンジ線は、横長では左端の縦線に変える */
.pickup--row .pcard::before {
  width: 3px; height: 100%; transform: scaleY(0); transform-origin: top;
}
.pickup--row .pcard:hover { transform: translateY(-3px); }
.pickup--row .pcard:hover::before { transform: scaleY(1); }

.pcard__head { display: flex; flex-direction: column; gap: 10px; }
.pcard__body { display: flex; flex-direction: column; gap: 10px; }
.pcard__act  { display: flex; align-items: center; }

.pickup--row .pcard__ttl  { font-size: clamp(20px, 2.2vw, 26px); }
.pickup--row .pcard__label { font-size: 12.5px; }
.pickup--row .pcard__ttl small { font-size: 13.5px; }
.pickup--row .pcard__txt  { font-size: 15px; line-height: 1.85; }
.pickup--row .pcard__meta {
  margin-top: 0; padding-top: 0; border-top: none;
  font-size: 14px; letter-spacing: .02em;
}
.pickup--row .pcard__more { margin-top: 0; white-space: nowrap; font-size: 14.5px; }
.pickup--row .btn--sm { font-size: 14px; }
.pickup--row .pcard__body { border-left: 1px dashed var(--line); padding-left: clamp(20px, 2.6vw, 34px); }
.pickup--row .pcard--accent .pcard__body { border-left-color: rgba(255,255,255,.24); }

@media (max-width: 1080px) {
  .pickup--row .pcard { grid-template-columns: minmax(200px, 34%) 1fr; row-gap: 18px; }
  .pickup--row .pcard__act { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .pickup--row .pcard { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .pickup--row .pcard__act { grid-column: 1; }
  .pickup--row .pcard__body { border-left: none; padding-left: 0; }
  .pickup--row .pcard__meta {
    border-top: 1px dashed var(--line); padding-top: 12px;
  }
  .pickup--row .pcard--accent .pcard__meta { border-top-color: rgba(255,255,255,.24); }
  .pickup--row .pcard::before { width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; }
  .pickup--row .pcard:hover::before { transform: scaleX(1); }
}

/* =========================================================
   Course grid
   ========================================================= */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ccard {
  background: #fff; padding: clamp(28px, 3.4vw, 46px);
  display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: background-color .45s var(--ease);
  min-height: 100%;
}
.ccard:hover { background: var(--cream); }
.ccard__no { font-family: var(--serif); font-size: 12px; letter-spacing: .2em; color: var(--orange); }
.ccard__ttl { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.5; }
.ccard__ttl small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; color: var(--ink-soft); margin-top: 8px; font-weight: 500; }
.ccard__txt { font-size: 14.5px; color: var(--ink-mid); line-height: 1.95; }
.ccard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.ccard__tags span { font-size: 11px; letter-spacing: .08em; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.ccard--wide { grid-column: 1 / -1; }
.ccard--pub { background: var(--ink); color: #fff; }
.ccard--pub:hover { background: #101915; }
.ccard--pub .ccard__txt { color: rgba(255,255,255,.82); }
.ccard--pub .ccard__no { color: var(--orange-lt); }
.ccard--pub .ccard__ttl small { color: rgba(255,255,255,.6); }
.ccard--pub .ccard__tags span { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.8); }

/* =========================================================
   4つのP
   ========================================================= */
.philo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.venn { position: relative; aspect-ratio: 1 / .96; max-width: 520px; margin-inline: auto; width: 100%; }
.venn__c {
  position: absolute; width: 54%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  mix-blend-mode: multiply; text-align: center; color: #fff; line-height: 1.3;
}
.venn__c b { font-family: var(--serif); font-size: clamp(17px, 2.4vw, 26px); font-weight: 400; letter-spacing: .02em; }
.venn__c i { font-style: normal; font-size: 11px; letter-spacing: .16em; opacity: .95; margin-top: 4px; }
.venn__c--1 { background: #d9a3ac; top: 0; left: 23%; }
.venn__c--2 { background: #a8b6d6; bottom: 0; left: 0; }
.venn__c--3 { background: #bcd0a3; bottom: 0; right: 0; }
.venn__core {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 3; pointer-events: none;
}
.venn__core b {
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 5vw, 50px);
  color: var(--orange); letter-spacing: .01em; line-height: 1;
  text-shadow: 0 0 14px rgba(255,255,255,.9), 0 0 5px rgba(255,255,255,.95);
}
.venn__core i { font-style: normal; font-size: 11px; letter-spacing: .3em; color: var(--ink-mid); margin-top: 10px; }

.philo__list { margin-top: 30px; border-top: 1px solid var(--line); }
.philo__list li { border-bottom: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: baseline; }
.philo__list dt, .philo__list .k { font-family: var(--serif); letter-spacing: .04em; color: var(--orange); }
.philo__list .v { font-size: 14.5px; color: var(--ink-mid); }

/* =========================================================
   Voice
   ========================================================= */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.voice {
  background: #fff; border-radius: 4px; padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line); position: relative;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.voice:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.voice__q { font-size: 15px; line-height: 2.05; color: var(--ink-mid); }
.voice__q::before {
  content: "“"; display: block; font-family: var(--serif); font-size: 54px; line-height: .6;
  color: var(--rose); margin-bottom: 12px;
}
.voice__who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.voice__badge {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; font-family: var(--serif); font-size: 12px; color: var(--orange);
  border: 1px solid var(--orange-lt); line-height: 1.1; text-align: center;
}
.voice__badge b { display: block; font-size: 19px; font-weight: 400; }
.voice__name { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.voice__job { font-size: 12px; color: var(--ink-soft); }

/* =========================================================
   Gallery
   ========================================================= */
.gal { display: grid; gap: 10px; }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal--4 { grid-template-columns: repeat(4, 1fr); }
.gal__item {
  position: relative; overflow: hidden; border-radius: 3px; background: var(--mist);
  aspect-ratio: 4 / 3; display: block; cursor: zoom-in;
}
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.gal__item:hover img { transform: scale(1.07); }
.gal__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(23,33,29,.18);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gal__item:hover::after { opacity: 1; }
.gal__item--tall { grid-row: span 2; aspect-ratio: auto; }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 13vw, 190px); gap: 10px; }
.mosaic .gal__item { aspect-ratio: auto; height: 100%; }
.mosaic .s2 { grid-column: span 2; grid-row: span 2; }
.mosaic .w2 { grid-column: span 2; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,16,13,.94);
  display: grid; place-items: center; padding: 5vh 5vw;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; border-radius: 3px; box-shadow: var(--shadow-l); }
.lightbox__close, .lightbox__nav {
  position: absolute; color: #fff; width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 20px; transition: background-color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.16); }
.lightbox__close { top: 3vh; right: 4vw; }
.lightbox__nav--prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 2vh; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .1em; }

/* =========================================================
   Media / feature blocks
   ========================================================= */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.feature--rev .feature__fig { order: 2; }
.feature__fig img { border-radius: 4px; box-shadow: var(--shadow-m); width: 100%; }
.feature__ttl { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); line-height: 1.55; margin-bottom: 20px; }
.feature__txt { font-size: 15px; line-height: 2.05; color: var(--ink-mid); }
.feature__txt + .feature__txt { margin-top: 1.2em; }

.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-m); background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--map { aspect-ratio: 16 / 10; box-shadow: none; border: 1px solid var(--line); }

/* notice band */
.notice {
  border: 1px solid var(--orange-lt); background: #fff; border-radius: 4px;
  padding: clamp(24px, 3vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: 20px 26px; align-items: center;
}
.notice__ic {
  width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 22px; flex: none;
}
.notice__ttl { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 23px); margin-bottom: 8px; line-height: 1.6; }
.notice__txt { font-size: 14.5px; color: var(--ink-mid); line-height: 1.95; }
.notice__txt a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Article body (下層共通)
   ========================================================= */
.prose { font-size: 15.5px; line-height: 2.1; color: var(--ink-mid); }
.prose > * + * { margin-top: 1.3em; }
.prose h3 {
  font-family: var(--serif); font-size: clamp(21px, 2.6vw, 28px); color: var(--ink); line-height: 1.55;
  margin-top: 2.4em; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative;
}
.prose h3::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 1px; background: var(--orange); }
.prose h4 { font-size: 17px; color: var(--ink); margin-top: 2em; font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-lt); }
.prose figure img { border-radius: 4px; box-shadow: var(--shadow-s); }
.prose figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.lead-mincho { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.95; color: var(--ink); }

/* pull quote */
.pull {
  border-left: 3px solid var(--orange); background: var(--cream);
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3.4vw, 40px);
  font-family: var(--serif); font-size: clamp(17px, 2.1vw, 22px); line-height: 1.9; color: var(--ink);
}

/* checklist */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.checks li {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 18px 22px; font-size: 15px; font-weight: 500;
}
.checks li::before {
  content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--leaf); color: #fff; display: grid; place-items: center; font-size: 13px;
}

/* data table */
.dtable { width: 100%; font-size: 15px; }
.dtable th, .dtable td { border-bottom: 1px solid var(--line); padding: 18px 14px; text-align: left; vertical-align: top; }
.dtable th { width: 30%; font-weight: 700; color: var(--ink); background: var(--mist); white-space: nowrap; }

/* =========================================================
   Form
   ========================================================= */
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field__lbl { font-size: 14px; font-weight: 700; letter-spacing: .05em; display: flex; align-items: center; gap: 10px; }
.req { font-size: 10px; letter-spacing: .1em; background: var(--orange); color: #fff; padding: 3px 9px; border-radius: 3px; }
.opt { font-size: 10px; letter-spacing: .1em; background: var(--mist); color: var(--ink-soft); padding: 3px 9px; border-radius: 3px; border: 1px solid var(--line); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 15px 18px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(211,96,31,.12);
}
.field textarea { min-height: 190px; resize: vertical; line-height: 1.9; }
.form__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

/* =========================================================
   CTA band
   ========================================================= */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; opacity: .3; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,20,17,.88), rgba(12,20,17,.42)); }
.cta__inner { position: relative; z-index: 2; text-align: center; }
.cta__ttl { font-family: var(--serif); font-size: clamp(26px, 4.4vw, 48px); line-height: 1.5; }
.cta__txt { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,.85); line-height: 2; }
.cta__acts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta__tel { margin-top: 30px; }
.cta__tel .num { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 44px); letter-spacing: .04em; display: inline-block; }
.cta__tel .lbl { display: block; font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.7); margin-bottom: 6px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #0f1714; color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 88px); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: clamp(34px, 5vw, 70px); padding-bottom: 54px; }
.footer__logo { font-family: var(--serif); font-size: 26px; color: #fff; letter-spacing: .06em; }
.footer__logo small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; margin-top: 9px; opacity: .6; }
.footer__addr { margin-top: 22px; line-height: 2.1; font-size: 13.5px; }
.footer__addr a:hover { color: #fff; }
.footer__num { font-family: var(--serif); font-size: 24px; color: #fff; letter-spacing: .03em; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
.footer__nav h4 { font-size: 11px; letter-spacing: .22em; color: var(--orange-lt); margin-bottom: 14px; font-weight: 700; }
.footer__nav li + li { margin-top: 9px; }
.footer__nav a { font-size: 13.5px; transition: color .3s, padding-left .3s; }
.footer__nav a:hover { color: #fff; padding-left: 5px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  font-size: 11.5px; letter-spacing: .06em; color: rgba(255,255,255,.5);
}
.footer__bottom a:hover { color: #fff; }

/* pagetop */
.pagetop {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s;
}
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--orange); }

/* =========================================================
   Reveal
   ========================================================= */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; } .rv-d5 { transition-delay: .5s; }

/* =========================================================
   Slideshow (生徒作品)
   ========================================================= */
.slider { position: relative; }
.slider__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--mist); box-shadow: var(--shadow-m); }
.slider__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.slider__stage img.is-active { opacity: 1; }
.slider__thumbs { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; margin-top: 10px; }
.slider__thumbs button { aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; opacity: .45; transition: opacity .3s; }
.slider__thumbs button.is-active, .slider__thumbs button:hover { opacity: 1; }
.slider__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-s); z-index: 2; }
.slider__nav:hover { background: #fff; }
.slider__nav--prev { left: 14px; }
.slider__nav--next { right: 14px; }

/* =========================================================
   Utilities
   ========================================================= */
.mt0 { margin-top: 0 !important; }
.mt-s { margin-top: 22px; }
.mt-m { margin-top: 40px; }
.mt-l { margin-top: clamp(46px, 6vw, 76px); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions--center { justify-content: center; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .header__tel { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__mark { height: 38px; }
  .intro, .philo, .feature, .newsblock { grid-template-columns: 1fr; }
  .feature--rev .feature__fig { order: 0; }
  .pickup, .pickup--2 { grid-template-columns: 1fr; }
  .courses { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .gal--4 { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .intro__figs { max-width: 520px; margin-inline: auto; }
  .intro__figs .f2 { bottom: -8%; }
  .intro__mark { display: none; }
  .hero__vert { display: none; }
  /* 作品13枚を 7+6 の2段に割る。6列だと3段目に1枚だけ取り残される */
  .slider__thumbs { grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header__mark { height: 34px; }
  .header__logo { gap: 9px; }
  .header__logo small { font-size: 9px; letter-spacing: .18em; margin-top: 5px; }
  .hero { min-height: 86vh; }
  .hero__scroll { display: none; }
  .gal--3 { grid-template-columns: repeat(2, 1fr); }
  .newslist__item { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .notice { grid-template-columns: 1fr; }
  .dtable th, .dtable td { display: block; width: 100%; }
  .dtable th { border-bottom: 0; }
  .philo__list li { grid-template-columns: 1fr; gap: 4px; }
  .slider__thumbs { grid-template-columns: repeat(5, 1fr); }
  .lightbox__nav { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero__title .l > span { transform: none; }
  .hero__lead, .hero__cta { opacity: 1; }
}

/* ---------- Print ---------- */
@media print {
  .header, .drawer, .pagetop, .cta, .ticker, .hero__scroll { display: none !important; }
  body { color: #000; }
}
