/* ==========================================================
   UGO学院高等部 サイト共通スタイル
   デザインコンセプト：「学びのノート」を編集するような、
   写真とてがき風の余白を活かしたオリジナル・エディトリアル。
   ========================================================== */

:root {
    --paper: #F7F2E9;
    --paper-deep: #EEE6D4;
    --white: #FFFDF9;
    --ink: #23283B;
    --ink-soft: #4E5468;
    --ink-faint: #8A8A7E;
    --clay: #BD5B34;
    --clay-deep: #9C4726;
    --clay-tint: #F1DCC9;
    --sage: #5F7A5A;
    --sage-tint: #E1E8DA;
    --line: #DCD2BB;
    --line-strong: #23283B;
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-off: 6px 6px 0 var(--ink);
    --shadow-off-sm: 4px 4px 0 var(--ink);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}
.container--narrow { max-width: 880px; }
.container--text { max-width: 720px; }

@media (max-width: 640px) {
    .container { padding: 0 22px; }
}

/* ---------- 写真プレースホルダーの統一トーン ---------- */
.ph-photo {
    filter: sepia(6%) saturate(108%) contrast(102%) brightness(101%);
}

/* ---------- 見出し共通パーツ ---------- */
.eyebrow {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}
.eyebrow .idx {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--clay);
    letter-spacing: 0.05em;
}
.eyebrow .label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--ink-soft);
    text-transform: uppercase;
}
.eyebrow .rule {
    flex: 1;
    height: 1px;
    background: var(--line);
    min-width: 30px;
}

.headline {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.55;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.headline em {
    font-style: normal;
    color: var(--clay);
}

.lede {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-top: 22px;
}

.body-text {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.95;
}

.section-head {
    max-width: 620px;
    margin-bottom: 56px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .rule { display: none; }

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 2px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color .25s var(--ease);
    box-shadow: var(--shadow-off-sm);
    white-space: nowrap;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }

.btn--clay { background: var(--clay); border-color: var(--clay); color: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }

.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--clay); }
.btn--ink:hover { background: #171B29; }

.btn--ghost-light { background: transparent; border-color: var(--white); color: var(--white); box-shadow: 6px 6px 0 rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }

.btn--lg { padding: 18px 38px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

.link-tel {
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

/* ---------- タグ / チップ ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border: 1px solid currentColor;
}
.tag--clay { color: var(--clay-deep); background: var(--clay-tint); border-color: transparent; }
.tag--sage { color: var(--sage); background: var(--sage-tint); border-color: transparent; }
.tag--line { color: var(--ink); background: transparent; border-color: var(--line-strong); }

/* ---------- 写真フレーム（オフセット影・手貼り風） ---------- */
.frame {
    position: relative;
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-off);
    background: var(--white);
    padding: 8px;
}
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame.rot-l { transform: rotate(-2deg); }
.frame.rot-r { transform: rotate(1.6deg); }
.frame .cap {
    position: absolute;
    bottom: -18px;
    right: -14px;
    background: var(--clay);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 0.82rem;
    padding: 6px 14px;
    box-shadow: 3px 3px 0 var(--ink);
    transform: rotate(-2deg);
}

/* ==========================================================
   ヘッダー
   ========================================================== */
#header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(247, 242, 233, 0.94);
    backdrop-filter: blur(6px);
    border-bottom: 2px solid var(--ink);
    transition: padding 0.3s var(--ease);
}
.header-topbar {
    background: var(--ink);
    color: var(--paper);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}
.header-topbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    padding-top: 7px;
    padding-bottom: 7px;
}
.header-topbar a { color: var(--paper); }
.header-topbar .tel { font-weight: 700; letter-spacing: 0.02em; }
.header-topbar .tel .num { color: var(--clay-tint); margin-left: 6px; font-size: 0.95rem; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    transition: padding 0.3s var(--ease);
}
#header.is-scrolled .header-inner { padding: 10px 0; }
#header.is-scrolled .header-topbar { display: none; }

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-mark { height: 46px; width: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-sub { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 500; }
.logo-main { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: 0.03em; }

.global-nav ul { display: flex; gap: 28px; }
.global-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
.global-nav a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--clay);
    transition: width 0.3s var(--ease);
}
.global-nav a:hover::after { width: 100%; }

.header-cta { display: flex; gap: 12px; align-items: center; }

.menu-trigger {
    display: none;
    background: none; border: 2px solid var(--ink); cursor: pointer;
    width: 42px; height: 42px; position: relative; z-index: 1001;
    flex-shrink: 0;
}
.menu-trigger span {
    display: block; position: absolute; height: 2px; width: 20px;
    background: var(--ink); left: 10px; transition: 0.25s;
}
.menu-trigger span:nth-child(1) { top: 15px; }
.menu-trigger span:nth-child(2) { top: 21px; }
.menu-trigger span:nth-child(3) { top: 27px; }
.menu-trigger.active span:nth-child(1) { top: 21px; transform: rotate(135deg); }
.menu-trigger.active span:nth-child(2) { opacity: 0; }
.menu-trigger.active span:nth-child(3) { top: 21px; transform: rotate(-135deg); }

.mobile-nav {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--paper);
    z-index: 999; padding: 110px 30px 40px;
    overflow-y: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.mobile-nav .m-btn { display: block; text-align: center; padding: 15px; font-size: 1rem; margin-top: 8px; border: 2px solid var(--ink); }
.mobile-nav .tel-line { font-size: 1rem; color: var(--clay-deep); font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }

@media (max-width: 991px) {
    .global-nav, .header-cta { display: none; }
    .menu-trigger { display: block; }
    .header-topbar .label-desk { display: none; }
}

/* ==========================================================
   ヒーロー（写真コラージュ）
   ========================================================== */
.hero {
    margin-top: 100px;
    padding: 64px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: -10%;
    width: 60%; height: 100%;
    background: var(--paper-deep);
    z-index: 0;
}
.hero .container {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
}
.hero-text .kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
    color: var(--clay-deep); margin-bottom: 22px;
}
.hero-text .kicker::before { content: ''; width: 26px; height: 2px; background: var(--clay); }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4.6vw, 3.1rem);
    line-height: 1.55;
    color: var(--ink);
}
.hero-title .accent { color: var(--clay); position: relative; white-space: nowrap; }

.hero-sub {
    margin-top: 26px;
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.95;
    max-width: 46ch;
}

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 30px;
}

.hero-collage {
    position: relative;
    height: 460px;
}
.hero-collage .frame { position: absolute; }
.hc-1 { width: 54%; top: 0; left: 4%; height: 62%; }
.hc-2 { width: 40%; top: 8%; right: 0; height: 42%; }
.hc-3 { width: 46%; bottom: 0; right: 6%; height: 46%; }
.hc-note {
    position: absolute; left: -6px; bottom: 8%;
    background: var(--white); border: 2px solid var(--ink);
    box-shadow: var(--shadow-off-sm);
    padding: 14px 18px; max-width: 190px;
    font-size: 0.82rem; line-height: 1.6; color: var(--ink);
    transform: rotate(-3deg);
    z-index: 3;
}
.hc-note strong { font-family: var(--font-serif); display: block; color: var(--clay-deep); font-size: 0.95rem; margin-bottom: 2px; }

@media (max-width: 991px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero::before { width: 100%; right: 0; }
    .hero-collage { height: 380px; margin-top: 10px; }
}
@media (max-width: 560px) {
    .hero { padding: 40px 0 60px; }
    .hero-collage { height: 320px; }
    .hc-note { display: none; }
}

/* ==========================================================
   セクション基本
   ========================================================== */
.section { padding: 108px 0; position: relative; }
.section--deep { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .body-text { color: rgba(247,242,233,0.78); }
.section--ink .eyebrow .label { color: var(--clay-tint); }
.section--ink .eyebrow .idx { color: var(--clay-tint); }
.section--ink .eyebrow .rule { background: rgba(247,242,233,0.25); }

@media (max-width: 768px) {
    .section { padding: 64px 0; }
}

/* ---------- ファクト・ストリップ ---------- */
.fact-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}
.fact-item {
    padding: 30px 24px;
    border-left: 1px solid var(--line);
    text-align: center;
}
.fact-item:first-child { border-left: none; }
.fact-item .num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--clay);
    display: block;
    margin-bottom: 6px;
}
.fact-item .desc { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 768px) {
    .fact-strip { grid-template-columns: repeat(2, 1fr); }
    .fact-item { border-left: none; border-bottom: 1px solid var(--line); }
    .fact-item:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ---------- 非対称2カラム ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split--40-60 { grid-template-columns: 0.85fr 1.15fr; }
.split--60-40 { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

@media (max-width: 900px) {
    .split, .split--40-60, .split--60-40 { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
}

/* ==========================================================
   スクーリング・タイムライン
   ========================================================== */
.timeline {
    display: flex;
    gap: 0;
    margin-top: 60px;
    counter-reset: step;
}
.tl-step {
    flex: 1;
    position: relative;
    padding: 0 28px 0 0;
}
.tl-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px; right: -8px;
    width: 30px; height: 30px;
    border-top: 2px dashed rgba(247,242,233,0.45);
    border-right: 2px dashed rgba(247,242,233,0.45);
    transform: rotate(45deg);
}
.tl-step .tl-num {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: var(--clay-tint);
    line-height: 1;
    margin-bottom: 18px;
    display: block;
}
.tl-step h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--white); font-family: var(--font-serif); }
.tl-step p { font-size: 0.92rem; color: rgba(247,242,233,0.75); line-height: 1.85; }
.tl-step.result { background: rgba(189,91,52,0.16); padding: 26px; border: 1px solid rgba(189,91,52,0.4); }
.tl-step.result .tl-num { color: var(--clay-tint); }

@media (max-width: 900px) {
    .timeline { flex-direction: column; gap: 26px; }
    .tl-step:not(:last-child)::after { display: none; }
    .tl-step { padding: 0 0 26px; border-bottom: 1px dashed rgba(247,242,233,0.25); }
}

.schooling-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 70px;
}
.schooling-photos .frame img { height: 280px; }
.schooling-photos .cap { right: auto; left: 14px; }

@media (max-width: 768px) {
    .schooling-photos { grid-template-columns: 1fr; gap: 40px; }
    .schooling-photos .frame img { height: 220px; }
}

/* ==========================================================
   学びの特長（縦積み・写真主体の交互レイアウト）
   ========================================================== */
.feature-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
}
.feature-row:first-of-type { padding-top: 0; }
.feature-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row .frame { height: 320px; }
.feature-row .fnum {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--clay);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 14px;
}
.feature-row h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 18px;
}
.feature-row p { color: var(--ink-soft); font-size: 1rem; line-height: 1.9; }
.feature-row .tag { margin-top: 20px; }

@media (max-width: 900px) {
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 24px; padding: 40px 0; }
    .feature-row .frame { height: 240px; }
}

/* ==========================================================
   不安解消パネル
   ========================================================== */
.anxiety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: stretch;
}
.anxiety-panel {
    background: var(--white);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-off);
    padding: 44px;
    display: flex;
    flex-direction: column;
}
.anxiety-panel .tag { margin-bottom: 22px; align-self: flex-start; }
.anxiety-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 18px;
}
.anxiety-panel p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.9; margin-bottom: 20px; }
.anxiety-panel .price-note {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.anxiety-panel .price-note b { color: var(--clay-deep); font-size: 1.1rem; }

.link-arrow { font-weight: 700; color: var(--clay-deep); display: inline-flex; align-items: center; margin-top: 22px; }
.link-arrow::after { content: '→'; margin-left: 8px; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

@media (max-width: 900px) {
    .anxiety-grid { grid-template-columns: 1fr; }
    .anxiety-panel { padding: 30px; }
}

/* ==========================================================
   よくある不安の声（吹き出し）
   ========================================================== */
.worry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.worry-bubble {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--clay);
    padding: 28px 26px;
    position: relative;
}
.worry-bubble .q-mark {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--clay);
    display: block;
    margin-bottom: 10px;
}
.worry-bubble p { font-size: 0.95rem; color: var(--ink); line-height: 1.8; }
.worry-bubble .to-faq { display: block; margin-top: 16px; font-size: 0.82rem; color: var(--ink-faint); }

@media (max-width: 900px) {
    .worry-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   入学までの流れ（ステップ）
   ========================================================== */
.steps {
    counter-reset: stepnum;
    display: flex;
    flex-direction: column;
}
.step-row {
    display: flex;
    gap: 30px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.step-row:last-child { border-bottom: none; }
.step-row .s-num {
    counter-increment: stepnum;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--clay);
    width: 56px;
    flex-shrink: 0;
}
.step-row .s-num::before { content: "0" counter(stepnum); }
.step-row h4 { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.step-row p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.8; }
.step-row .s-tag { font-size: 0.75rem; color: var(--clay-deep); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 6px; display: block; }

/* ==========================================================
   対応エリア
   ========================================================== */
.area-band {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.area-chip {
    border: 1px solid var(--line-strong);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================
   CTAバンド
   ========================================================== */
.cta-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(247,242,233,0.2);
    border: 1px solid rgba(247,242,233,0.2);
    margin-top: 54px;
}
.cta-card {
    background: var(--ink);
    padding: 38px 30px;
    text-align: center;
}
.cta-card .cc-label { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--clay-tint); font-weight: 700; margin-bottom: 10px; display: block; }
.cta-card h4 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); margin-bottom: 20px; line-height: 1.6; }

@media (max-width: 900px) {
    .cta-band { grid-template-columns: 1fr; }
}

/* ==========================================================
   サブページ共通ヒーロー
   ========================================================== */
.page-hero {
    margin-top: 100px;
    padding: 70px 0 60px;
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -6%; top: -30%;
    width: 340px; height: 340px;
    border: 60px solid rgba(189,91,52,0.14);
    border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .crumb { font-size: 0.8rem; letter-spacing: 0.14em; color: var(--clay-tint); font-weight: 700; text-transform: uppercase; margin-bottom: 16px; display: block; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.5; margin-bottom: 16px; }
.page-hero .desc { font-size: 1rem; color: rgba(247,242,233,0.78); max-width: 60ch; line-height: 1.85; }

/* ==========================================================
   学費テーブル
   ========================================================== */
.tuition-table-wrap {
    margin-top: 40px;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-off);
    background: var(--white);
    overflow-x: auto;
}
.tuition-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 560px; }
.tuition-table th {
    background: var(--ink); color: var(--paper);
    font-weight: 700; padding: 18px 22px; font-size: 0.95rem;
}
.tuition-table td { padding: 22px; border-top: 1px solid var(--line); vertical-align: top; font-size: 0.98rem; }
.tuition-table td.item { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tuition-table td.price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--clay-deep); white-space: nowrap; }
.tuition-table .note { font-size: 0.85rem; color: var(--ink-soft); display: block; margin-top: 6px; }
.tuition-table .waiver { color: var(--sage); font-weight: 700; }

.tuition-callout {
    margin-top: 32px;
    background: var(--clay-tint);
    border-left: 4px solid var(--clay);
    padding: 30px 34px;
}
.tuition-callout .t { font-weight: 700; color: var(--clay-deep); margin-bottom: 10px; display: block; font-size: 1.02rem; }

.support-flex {
    display: flex;
    gap: 0;
    margin-top: 20px;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-off);
    background: var(--white);
}
.support-flex.reverse { flex-direction: row-reverse; }
.support-flex .simg { flex: 0 0 38%; min-height: 300px; }
.support-flex .simg img { width: 100%; height: 100%; object-fit: cover; }
.support-flex .sbody { flex: 1; padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.support-flex .sbody h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 16px; color: var(--ink); }
.support-flex .sbody p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.9; }

@media (max-width: 860px) {
    .support-flex, .support-flex.reverse { flex-direction: column; }
    .support-flex .simg { min-height: 220px; }
    .support-flex .sbody { padding: 30px; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-cat { margin-bottom: 20px; }
.faq-cat-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ink);
}
.faq-cat-title .n { color: var(--clay); }

.faq-accordion { display: flex; flex-direction: column; gap: 12px; margin-bottom: 60px; }
.faq-item { border: 1px solid var(--line-strong); background: var(--white); }
.faq-header {
    width: 100%; text-align: left; background: none; border: none;
    padding: 22px 26px; cursor: pointer;
    display: flex; align-items: flex-start; gap: 16px; position: relative;
}
.faq-header .q-icon {
    font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700;
    color: var(--white); background: var(--clay);
    width: 30px; height: 30px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.faq-header .q-text { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.6; padding-right: 30px; }
.faq-header::after {
    content: '+'; position: absolute; right: 24px; top: 20px;
    font-size: 1.5rem; color: var(--ink); transition: transform 0.25s;
}
.faq-header.active::after { content: '−'; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); background: var(--paper); }
.faq-body-inner { padding: 4px 26px 26px 72px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.9; border-top: 1px solid var(--line); }

/* ==========================================================
   お問い合わせフォーム
   ========================================================== */
.contact-layout { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 50px; align-items: start; }
.contact-card { background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow-off); padding: 46px; }
.form-group { margin-bottom: 30px; }
.form-label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--ink); font-size: 0.95rem; }
.required { font-size: 0.7rem; color: var(--white); background: var(--clay); padding: 2px 8px; font-weight: 700; margin-left: 6px; vertical-align: middle; }
.optional { font-size: 0.7rem; color: var(--ink-soft); border: 1px solid var(--line-strong); padding: 2px 8px; font-weight: 700; margin-left: 6px; vertical-align: middle; }

.form-input, .form-textarea, .form-select {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong);
    font-size: 1rem; font-family: inherit; color: var(--ink);
    background: var(--paper); outline: none; transition: 0.25s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--clay); background: var(--white); }
.form-textarea { height: 140px; resize: vertical; }

.radio-group-vertical { display: flex; flex-direction: column; gap: 14px; }
.radio-container { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.95rem; }
.radio-container input { margin-top: 5px; accent-color: var(--clay); }

.privacy-note { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 24px; line-height: 1.7; }

.contact-side { display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--ink); color: var(--paper); padding: 34px; border: 2px solid var(--ink); }
.side-card .st { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--clay-tint); font-weight: 700; margin-bottom: 14px; display: block; }
.side-card .tel-big { font-family: var(--font-serif); font-size: 1.9rem; color: var(--white); margin-bottom: 8px; display: block; }
.side-card .hours { font-size: 0.85rem; color: rgba(247,242,233,0.7); line-height: 1.8; }
.side-card.alt { background: var(--white); color: var(--ink); border-color: var(--ink); }
.side-card.alt .hours { color: var(--ink-soft); }
.side-card.alt h4 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 12px; }
.side-card.alt p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.85; }

@media (max-width: 991px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-card { padding: 30px 22px; }
}

/* ==========================================================
   フッター
   ========================================================== */
.footer { background: var(--ink); color: rgba(247,242,233,0.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(247,242,233,0.15); }
.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: rgba(247,242,233,0.55); }
.footer-desc { font-size: 0.88rem; line-height: 1.85; margin-top: 20px; color: rgba(247,242,233,0.65); }
.footer h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 20px; letter-spacing: 0.04em; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer a { font-size: 0.88rem; color: rgba(247,242,233,0.65); }
.footer a:hover { color: var(--clay-tint); }
.footer .contact-block p { font-size: 0.88rem; line-height: 1.9; color: rgba(247,242,233,0.65); }
.footer .contact-block .tel { color: var(--clay-tint); font-weight: 700; font-size: 1.1rem; font-family: var(--font-serif); }
.footer-bottom { padding: 26px 0; text-align: center; font-size: 0.78rem; color: rgba(247,242,233,0.4); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================
   追従モバイルCTA
   ========================================================== */
.fixed-mobile-cta {
    display: none;
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 998;
    border-top: 2px solid var(--ink);
}
.fixed-mobile-cta .row { display: flex; }
.cta-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 6px; font-size: 0.8rem; font-weight: 700; color: var(--white); text-align: center; line-height: 1.3; }
.cta-item.tel { background: var(--ink-soft); }
.cta-item.brochure { background: var(--ink); }
.cta-item.opencampus { background: var(--clay); }

@media (max-width: 768px) {
    .fixed-mobile-cta { display: block; }
    body { padding-bottom: 58px; }
}

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