/* ==========================================================
   LIFUL College（リフルカレッジ） 共通スタイル
   色・書体は :root の変数でまとめて変更できます
   ========================================================== */

:root {
  --c-ink: #26302c;          /* 本文 */
  --c-ink-sub: #5b645f;      /* 補足テキスト */
  --c-green: #2e5e4e;        /* 基本色：深い緑 */
  --c-green-dark: #22473b;
  --c-green-pale: #eef3ef;
  --c-red: #c0522b;          /* 申込ボタン：朱色 */
  --c-red-dark: #a3431f;
  --c-paper: #f4f6f5;        /* 背景：薄いグレー */
  --c-white: #ffffff;
  --c-line: #dcd6c8;
  --c-line-soft: #e9e4d8;
  --c-online: #3b5f8f;

  --radius: 10px;
  --container: 1080px;
  --header-h: 64px;

  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-green); text-underline-offset: 3px; }
a:hover { color: var(--c-green-dark); }

h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .6em; font-weight: 700; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--c-green); color: #fff; padding: 8px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 24px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; line-height: 1.3;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--apply { background: var(--c-red); color: #fff; }
.btn--apply:hover { background: var(--c-red-dark); color: #fff; }
.btn--primary { background: var(--c-green); color: #fff; }
.btn--primary:hover { background: var(--c-green-dark); color: #fff; }
.btn--outline { background: var(--c-white); color: var(--c-green); border-color: var(--c-green); }
.btn--outline:hover { background: var(--c-green-pale); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 12px 32px; font-size: 1.05rem; }

.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link::after { content: "　›"; }
.more-link { margin: 24px 0 0; text-align: right; }
.more-link a { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.more-link a::after { content: "　›"; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--c-ink); }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__en { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--c-green); letter-spacing: .06em; }
.logo__ja { font-size: .7rem; color: var(--c-ink-sub); white-space: nowrap; letter-spacing: .08em; }

.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.global-nav a:not(.btn) {
  display: block; padding: 8px 12px; color: var(--c-ink); text-decoration: none;
  font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent;
}
.global-nav a:not(.btn):hover { color: var(--c-green); }
.global-nav a[aria-current="page"] { color: var(--c-green); border-bottom-color: var(--c-green); }
.global-nav .btn { margin-left: 10px; white-space: nowrap; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--c-ink);
  transition: transform .2s, background .2s; content: "";
}
.nav-toggle span { top: 23px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-white); padding: 8px 20px 24px;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; overflow-y: auto;
  }
  .nav-open .global-nav { visibility: visible; opacity: 1; }
  .global-nav ul { flex-direction: column; align-items: stretch; }
  .global-nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--c-line-soft); font-size: 1.02rem; }
  .global-nav a[aria-current="page"] { border-bottom-color: var(--c-line-soft); font-weight: 700; }
  .global-nav .btn { margin: 24px 0 0; width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- トップ：ヒーロー ---------- */
.hero { background: var(--c-white); border-bottom: 1px solid var(--c-line); padding: 56px 0; }
.hero__inner { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.hero__place { font-size: .88rem; color: var(--c-ink-sub); margin-bottom: 12px; letter-spacing: .1em; }
.hero__title { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.55; margin-bottom: 20px; color: var(--c-ink); }
.hero__lead { color: var(--c-ink-sub); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__panel { border: 1px solid var(--c-line); border-top: 4px solid var(--c-green); background: var(--c-paper); padding: 20px 22px 16px; }
.hero__panel-title { font-weight: 700; margin-bottom: 8px; font-size: .95rem; }
.hero__panel-more { display: inline-block; margin-top: 10px; font-size: .9rem; font-weight: 700; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { border-bottom: 1px dashed var(--c-line); }
.mini li.is-hidden { display: none; }
.mini a { display: flex; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--c-ink); font-size: .92rem; line-height: 1.5; }
.mini a:hover .mini__name { color: var(--c-green); text-decoration: underline; }
.mini__date { flex-shrink: 0; width: 6.2em; font-weight: 700; color: var(--c-green); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .hero { padding: 36px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- お知らせ ---------- */
.notice { background: var(--c-green-pale); border-bottom: 1px solid var(--c-line); font-size: .92rem; }
.notice p { margin: 0; padding: 14px 0; }
.notice__label { display: inline-block; font-weight: 700; color: var(--c-green); margin-right: 12px; }

/* ---------- セクション ---------- */
.section { padding: 72px 0; }
.section--line { border-top: 1px solid var(--c-line); }
.section--paper, .section--white { background: var(--c-white); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section--tint { background: var(--c-green-pale); }
@media (max-width: 640px) { .section { padding: 52px 0; } }

.sec-head, .section__head { margin-bottom: 32px; }
.sec-title, .section__title {
  font-size: clamp(1.4rem, 2.8vw, 1.8rem); margin-bottom: 8px;
  padding-bottom: 12px; border-bottom: 1px solid var(--c-line); position: relative;
}
.sec-title::after, .section__title::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; background: var(--c-green);
}
.sec-desc, .section__desc { color: var(--c-ink-sub); margin: 12px 0 0; font-size: .95rem; }

/* ---------- 日程表 ---------- */
.sch-wrap { background: var(--c-white); border: 1px solid var(--c-line); }
.sch { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sch th { text-align: left; font-size: .8rem; font-weight: 700; color: var(--c-ink-sub); background: var(--c-paper); padding: 10px 16px; border-bottom: 1px solid var(--c-line); letter-spacing: .1em; }
.sch td { padding: 14px 16px; border-bottom: 1px solid var(--c-line-soft); vertical-align: middle; }
.sch tr:last-child td { border-bottom: 0; }
.sch tr.is-hidden { display: none; }
.sch__date { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.sch__y { display: block; font-size: .72rem; font-weight: 400; color: var(--c-ink-sub); line-height: 1.2; }
.sch__w { font-weight: 400; font-size: .85rem; }
.sch__name a { color: var(--c-ink); font-weight: 500; }
.sch__name a:hover { color: var(--c-green); }
.sch__venue { color: var(--c-ink-sub); white-space: nowrap; }
.sch__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sch__act { text-align: right; }
.link-apply {
  display: inline-block; white-space: nowrap; font-size: .88rem; font-weight: 700; text-decoration: none;
  color: var(--c-red); border: 1px solid var(--c-red); border-radius: var(--radius); padding: 5px 14px;
}
.link-apply:hover { background: var(--c-red); color: #fff; }

@media (max-width: 760px) {
  .sch thead { display: none; }
  .sch, .sch tbody { display: block; }
  .sch tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--c-line-soft); }
  .sch tr:last-child { border-bottom: 0; }
  .sch td { padding: 0; border: 0; }
  .sch__date { grid-column: 1; grid-row: 1; white-space: normal; }
  .sch__y { display: inline; margin-right: 6px; }
  .sch__act { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .sch__name { grid-column: 1; grid-row: 2; font-size: 1rem; line-height: 1.6; }
  .sch__venue { grid-column: 1; grid-row: 3; font-size: .85rem; }
  .sch__price { grid-column: 1; grid-row: 4; font-size: .85rem; }
}

/* ---------- 講座リスト ---------- */
.course-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.course-item {
  display: block; padding: 24px 26px; background: var(--c-white); text-decoration: none; color: var(--c-ink);
  border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transition: background .15s;
}
.course-item:hover { background: var(--c-green-pale); color: var(--c-ink); }
.course-item__cat { display: block; font-size: .78rem; color: var(--c-green); font-weight: 700; letter-spacing: .1em; margin-bottom: 4px; }
.course-item__name { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.course-item__name::after { content: "　›"; color: var(--c-green); }
.course-item__desc { display: block; font-size: .9rem; color: var(--c-ink-sub); line-height: 1.8; }
@media (max-width: 760px) { .course-list { grid-template-columns: 1fr; } }

/* ---------- 学校紹介（トップ） ---------- */
.about-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about-row__sign { font-size: .9rem; color: var(--c-ink-sub); margin-top: 20px; }
.facts { margin: 0; border-top: 1px solid var(--c-line); }
.facts div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: .93rem; }
.facts dt { font-weight: 700; color: var(--c-green); }
.facts dd { margin: 0; }
@media (max-width: 860px) { .about-row { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 流れ ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: flow; border-top: 3px solid var(--c-green); }
.flow li { counter-increment: flow; padding: 20px 20px 4px 0; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--c-line); }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--c-green); line-height: 1; margin-bottom: 10px; }
.flow h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow p { font-size: .9rem; color: var(--c-ink-sub); margin: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--c-green); }
  .flow li, .flow li + li { padding: 4px 0 20px 20px; border-left: 0; }
}

/* ---------- 2カラム ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split__title { font-size: 1.3rem; }
.split p { color: var(--c-ink-sub); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- 下層ページ：タイトル ---------- */
.page-hero { background: var(--c-white); border-bottom: 1px solid var(--c-line); padding: 40px 0 36px; }
.page-hero__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0; }
.page-hero__lead { margin: 10px 0 0; color: var(--c-ink-sub); }
.breadcrumb { font-size: .82rem; margin-bottom: 8px; color: var(--c-ink-sub); }
.breadcrumb a { color: var(--c-ink-sub); }

/* ---------- 講座一覧ページ ---------- */
.course-nav { display: flex; flex-wrap: wrap; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.course-nav a {
  flex: 1 1 auto; text-align: center; padding: 10px 14px; background: var(--c-white);
  border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-ink); font-size: .88rem;
}
.course-nav a:hover { background: var(--c-green-pale); color: var(--c-green); }

.course-detail { background: var(--c-white); border: 1px solid var(--c-line); border-top: 3px solid var(--c-green); padding: 32px; margin-bottom: 32px; }
.course-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.course-detail__title { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; margin: 0; }
.course-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.course-detail h3:not(.course-detail__title) { font-size: .98rem; color: var(--c-green); margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--c-green); line-height: 1.4; }
@media (max-width: 760px) {
  .course-detail { padding: 22px 18px; }
  .course-detail__grid { grid-template-columns: 1fr; gap: 8px; }
  .course-detail__head .btn { width: 100%; }
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 8px; border: 1px solid currentColor; border-radius: 2px; line-height: 1.7; color: var(--c-ink-sub); }
.tag--offline { color: var(--c-green); }
.tag--online { color: var(--c-online); }
.tag--both { color: #6a4f86; }
.tag--prep { color: #8a8a8a; }

.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 8px; }
.price-table th, .price-table td { padding: 10px 4px; border-bottom: 1px solid var(--c-line-soft); text-align: left; vertical-align: top; }
.price-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .incl { font-weight: 700; font-size: 1.08rem; display: block; }
.price-table .incl small { font-weight: 400; font-size: .75rem; margin-left: 2px; }
.price-table .excl { font-size: .78rem; color: var(--c-ink-sub); }
.price-table .disc { display: block; margin-top: 4px; font-weight: 700; color: #b5532a; }
.price-table .disc small { font-weight: 400; font-size: .75rem; margin-left: 2px; }

.note { font-size: .87rem; color: var(--c-ink-sub); }
.note-list { list-style: none; padding: 0; margin: 0; font-size: .87rem; color: var(--c-ink-sub); }
.note-list li { padding-left: 1.2em; text-indent: -1.2em; }
.note-list li::before { content: "※"; }

.schedule details { border: 1px solid var(--c-line); margin-bottom: -1px; background: var(--c-white); }
.schedule summary { cursor: pointer; padding: 12px 14px; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 10px; }
.schedule summary::-webkit-details-marker { display: none; }
.schedule summary::before { content: "＋"; color: var(--c-green); font-weight: 400; }
.schedule details[open] summary::before { content: "－"; }
.schedule summary .cap { font-size: .8rem; font-weight: 400; color: var(--c-ink-sub); margin-left: auto; }
.schedule__body { padding: 0 16px 14px 36px; }
.schedule__body h4 { font-size: .88rem; margin: 10px 0 2px; color: var(--c-green); }
.schedule h4 { font-size: .9rem; color: var(--c-green); }
.schedule ol { margin: 0; padding-left: 1.5em; font-size: .93rem; font-variant-numeric: tabular-nums; }
.schedule li.is-past { color: #a5a5a5; text-decoration: line-through; }
details.is-ended summary { color: #a5a5a5; }
details.is-ended summary .cap::before { content: "受付終了 ・ "; color: var(--c-red); }

.date-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-line-soft); font-variant-numeric: tabular-nums; }
.date-list li { padding: 10px 2px; border-bottom: 1px solid var(--c-line-soft); }
.date-list li.is-past { color: #a5a5a5; text-decoration: line-through; }

/* ---------- 汎用 ---------- */
.box { background: var(--c-white); border: 1px solid var(--c-line); padding: 28px; }
.box + .box { margin-top: 20px; }
.box--accent { background: #fbf6ef; border-color: #e5d3bd; }
.box--primary { background: var(--c-green-pale); }
.box__title { font-size: 1.12rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0 6px 1.2em; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; background: var(--c-green); }

/* 特徴（学校紹介・就職サポート） */
.features, .grid-3:has(> .feature) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--c-green); }
.feature { padding: 24px 24px 8px 0; }
.feature + .feature { padding-left: 24px; border-left: 1px solid var(--c-line); }
.feature__num { font-family: var(--font-head); font-size: 1.6rem; color: var(--c-green); line-height: 1; margin-bottom: 12px; }
.feature__title { font-size: 1.1rem; }
.feature p { color: var(--c-ink-sub); font-size: .93rem; margin: 0; }
@media (max-width: 860px) {
  .features, .grid-3:has(> .feature) { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--c-line); }
}

/* メッセージ */
.message { display: block; }
.message__role { font-size: .88rem; color: var(--c-ink-sub); margin: 0; }
.message__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin-bottom: 14px; }

/* 教室 */
.room { background: var(--c-white); border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.room__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.room__name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-bottom: 2px; }
.room__addr { color: var(--c-ink-sub); font-size: .93rem; }
.room__body ul { font-size: .88rem; padding-left: 1.2em; margin: 6px 0 18px; flex: 1; }
.room .btn { align-self: flex-start; }

/* FAQ */
.faq-cat { margin-bottom: 40px; }
.faq-cat__title { font-size: 1.15rem; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--c-line-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 34px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 15px; font-family: var(--font-head); color: var(--c-green); font-size: 1.1rem; }
.faq summary::after { content: "＋"; position: absolute; right: 6px; top: 16px; color: var(--c-green); }
.faq details[open] summary::after { content: "－"; }
.faq__a { padding: 0 12px 18px 34px; position: relative; color: var(--c-ink-sub); }
.faq__a::before { content: "A"; position: absolute; left: 4px; top: -2px; font-family: var(--font-head); color: var(--c-red); font-size: 1.1rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* 申込ページ */
.selected-course { display: none; background: #fbf6ef; border: 1px solid #e5d3bd; padding: 14px 18px; margin-bottom: 24px; font-weight: 700; }
.selected-course.is-show { display: block; }
.selected-course span { color: var(--c-red); }

.bank-steps { counter-reset: bank; list-style: none; margin: 0; }
.bank-steps li { counter-increment: bank; position: relative; padding: 0 0 20px 44px; }
.bank-steps li::before {
  content: counter(bank); position: absolute; left: 0; top: 0; width: 28px; height: 28px;
  border: 1px solid var(--c-green); color: var(--c-green); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; line-height: 1;
}
.bank-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 6px; width: 1px; background: var(--c-line); }
.bank-steps strong { display: block; }

/* 表（特商法など） */
.info-table { width: 100%; border-collapse: collapse; background: var(--c-white); border: 1px solid var(--c-line); }
.info-table th, .info-table td { padding: 16px 20px; border-bottom: 1px solid var(--c-line-soft); text-align: left; vertical-align: top; }
.info-table th { width: 30%; background: var(--c-paper); font-weight: 700; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 6px; }
}
.todo { background: #fff3cd; color: #7a5a00; padding: 0 4px; }

.prose h2 { font-size: 1.2rem; margin-top: 2em; padding-bottom: 6px; border-bottom: 1px solid var(--c-line); }
.prose ul, .prose ol { padding-left: 1.4em; }

/* ---------- 申込・相談の帯 ---------- */
.cta-band { background: var(--c-green-dark); color: #fff; padding: 48px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .85; font-size: .95rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ---------- フッター ---------- */
.site-footer { background: #1f2724; color: #cfd6d2; padding: 48px 0 24px; font-size: .9rem; }
.site-footer a { color: #cfd6d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer__logo { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.25rem; letter-spacing: .06em; }
.footer__brand p { margin-top: 10px; color: #9fb0a9; }
.footer__title { font-family: var(--font-body); font-size: .95rem; color: #fff; margin-bottom: 10px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8a9a94; font-size: .8rem; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- スマホ：画面下の申込バー ---------- */
.fixed-cta { display: none; }
@media (max-width: 760px) {
  .fixed-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--c-white); border-top: 1px solid var(--c-line);
  }
  .fixed-cta .btn { flex: 1; min-height: 46px; padding: 8px; }
  .fixed-cta .btn--apply { flex: 1.4; }
  body { padding-bottom: 70px; }
}

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.sch__end { font-weight: 400; font-size: .88rem; }

/* ---------- 写真 ---------- */
.photo { margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--band { background: var(--c-white); }
.photo--band img { max-height: 460px; }
.course-detail > .photo { margin: 0 0 24px; aspect-ratio: 16 / 7; overflow: hidden; }
.room > .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.message:has(> .photo--portrait) { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.photo--portrait { aspect-ratio: 3 / 4; overflow: hidden; }
@media (max-width: 640px) {
  .message:has(> .photo--portrait) { grid-template-columns: 1fr; }
  .photo--portrait { width: 140px; }
}

/* 受講者の多い講座・少人数制 */
.course-item__pop { display: inline-block; margin-left: 10px; padding: 0 8px; font-size: .72rem; color: #fff; background: var(--c-red); border-radius: 2px; letter-spacing: .04em; vertical-align: 1px; }
.tag--pop { color: #fff; background: var(--c-red); border-color: var(--c-red); }
.tag--small { color: var(--c-green); }

/* ---------- 申込締切 ---------- */
.urgent { background: #fbeee7; border-bottom: 1px solid #efcdbd; font-size: .95rem; }
.urgent p { margin: 0; padding: 12px 0; }
.urgent__label { display: inline-block; background: var(--c-red); color: #fff; font-weight: 700; font-size: .8rem; padding: 1px 10px; border-radius: 2px; margin-right: 10px; letter-spacing: .08em; }
.urgent a { font-weight: 700; white-space: nowrap; }
.dl-badge { display: inline-block; margin-left: 8px; font-size: .74rem; font-weight: 700; color: var(--c-red); border: 1px solid var(--c-red); border-radius: 2px; padding: 0 6px; line-height: 1.6; white-space: nowrap; vertical-align: 1px; }
.dl-badge[hidden] { display: none; }
.is-closed .dl-badge { color: #8a8a8a; border-color: #bdbdbd; }
.sch__dl { white-space: nowrap; font-size: .88rem; color: var(--c-ink-sub); font-variant-numeric: tabular-nums; }
.is-soon .sch__dl { color: var(--c-red); font-weight: 700; }
tr.is-closed td:not(.sch__act) { color: #9a9a9a; }
tr.is-closed .sch__name a { color: #9a9a9a; }
.link-apply--closed { color: #8a8a8a; border-color: #bdbdbd; }
.link-apply--closed:hover { background: #eee; color: #666; }
.date-list__dl { display: inline-block; margin-left: 12px; font-size: .8rem; color: var(--c-ink-sub); }
.mini .dl-badge { margin-left: 6px; }

@media (max-width: 760px) {
  .sch__dl { grid-column: 1; grid-row: 5; font-size: .82rem; }
  .sch__dl::before { content: "申込締切 "; }
}

/* ---------- イラスト ---------- */
.photo--illust img { object-fit: contain; }
.hero__visual { margin: 40px 0 0; }
.hero__visual img { width: 100%; height: auto; max-height: 300px; object-fit: cover; object-position: center bottom; }
.course-detail > .photo--illust { aspect-ratio: auto; background: var(--c-white); }
.course-detail > .photo--illust img { max-height: 260px; }
.course-item__img { display: block; width: 100%; aspect-ratio: 600 / 250; object-fit: cover; object-position: center 70%; margin: -24px -26px 18px; width: calc(100% + 52px); max-width: none; border-bottom: 1px solid var(--c-line-soft); }
.split__img { width: 100%; max-width: 420px; margin-bottom: 16px; border: 1px solid var(--c-line-soft); }
.page-illust { margin: 0 0 28px; max-width: 560px; border: 1px solid var(--c-line-soft); background: var(--c-white); }
.page-illust img { width: 100%; }
@media (max-width: 860px) { .hero__visual { margin-top: 28px; } }

/* ---------- 写真（トップ）・担当講師 ---------- */
.hero__visual:not(.photo--illust) { overflow: hidden; border: 1px solid var(--c-line-soft); }
.hero__visual:not(.photo--illust) img { max-height: 440px; object-fit: cover; object-position: center 38%; }
.teacher { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; background: var(--c-white); border: 1px solid var(--c-line); padding: 20px 24px; margin: 0 0 28px; max-width: 760px; }
.teacher__img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; background: #fdf6d8; }
.teacher__role { margin: 0; font-size: .85rem; color: var(--c-green); font-weight: 700; }
.teacher__name { margin: 0 0 6px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.teacher__text { margin: 0; color: var(--c-ink-sub); font-size: .93rem; }
@media (max-width: 560px) {
  .teacher { grid-template-columns: 1fr; text-align: center; }
  .teacher__img { margin: 0 auto; }
}
.discount-box { margin: 12px 0; padding: 14px 16px; }
.discount-box .check-list li { padding: 3px 0 3px 1.2em; }

/* 選ばれる理由：比較表 */
.compare__title { font-size: 1.15rem; margin: 48px 0 16px; }
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--c-white); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--c-line-soft); text-align: left; vertical-align: middle; }
.compare thead th { font-size: .85rem; color: var(--c-ink-sub); background: var(--c-paper); border-bottom: 1px solid var(--c-line); }
.compare tbody th { font-size: .88rem; font-weight: 700; width: 26%; }
.compare .compare__us { background: var(--c-green-pale); color: var(--c-green-dark); }
.compare thead .compare__us { background: var(--c-green); color: #fff; font-size: .95rem; }
.compare td:not(.compare__us) { color: var(--c-ink-sub); }
.compare__note { margin-top: 10px; }
@media (max-width: 600px) {
  .compare { font-size: .85rem; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare tbody th { width: 30%; }
}

/* 運営会社の事業所 */
.group-card { display: flex; flex-direction: column; }
.group-card + .group-card { margin-top: 0; }
.group-card p { color: var(--c-ink-sub); }
.group-card__cat { font-size: .8rem; font-weight: 700; color: var(--c-green) !important; letter-spacing: .08em; margin-bottom: 4px; }
.group-card .text-link { margin-top: auto; }

/* 講座一覧 → 専用ページへのカード */
.course-link { display: flex; flex-direction: column; text-decoration: none; color: var(--c-ink); }
.course-link:hover { border-color: var(--c-green); }
.course-link + .course-link { margin-top: 0; }
.course-link p { color: var(--c-ink-sub); font-size: .93rem; }
.course-link .text-link { margin-top: auto; }
.course-points li { padding: 4px 0 4px 1.2em; }

/* 申込ページ：日程を選ぶ */
.apply-box__label { display: block; font-weight: 700; margin: 16px 0 6px; }
.apply-box__select { width: 100%; font-size: 1rem; padding: 12px; border: 2px solid var(--c-green); border-radius: var(--radius); background: var(--c-white); color: var(--c-ink); }
.apply-box__summary { margin-top: 14px; padding: 14px 16px; background: var(--c-green-pale); }
.apply-box__summary p { margin: 0 0 6px; }
.apply-box__summary p:last-child { margin-bottom: 0; }
.apply-box__early { color: #b5532a; font-weight: 700; }
.term-apply { margin: 12px 0 4px; }
.is-ended .term-apply { display: none; }
.apply-box__num { display: inline-flex; align-items: center; justify-content: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--c-green); color: #fff; font-size: .85rem; margin-right: 8px; }
.apply-box__num--w { background: #fff; color: var(--c-red); }
.apply-box__select:disabled { opacity: .5; border-color: var(--c-line); }
.apply-box__price { font-size: 1.1rem; }
.apply-box__price strong { font-size: 1.6rem; color: var(--c-ink); }
.btn.is-disabled { opacity: .5; }
.apply-box__date { font-size: 1.1em; text-decoration: underline; text-underline-offset: 3px; }
.apply-box__regular { color: var(--c-ink-sub); font-weight: 400; font-size: .9em; }

/* 早期割引の締切が近いときのポップアップ */
.early-popup { border: 0; border-top: 6px solid #b5532a; padding: 28px 24px 24px; max-width: 420px; width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.early-popup::backdrop { background: rgba(0,0,0,.45); }
.early-popup__label { display: inline-block; background: #b5532a; color: #fff; font-weight: 700; padding: 2px 12px; border-radius: 99px; font-size: .9rem; margin-bottom: 8px; }
.early-popup__title { font-size: 1.15rem; margin-bottom: 12px; }
.early-popup__price { font-size: 1.6rem; font-weight: 700; color: #b5532a; }
.early-popup .btn { margin-top: 8px; min-width: 160px; }

/* 講座ページ：研修で学べること／受講するメリット／受講条件 */
.learn__lead { max-width: 820px; margin-bottom: 20px; }
.learn .box__title { display: flex; align-items: baseline; gap: 10px; }
.learn__days { font-size: .82rem; font-weight: 400; color: var(--c-ink-sub); }
.learn__label { font-weight: 700; color: var(--c-green); font-size: .9rem; margin: 14px 0 4px; }
.learn .check-list li { padding: 4px 0 4px 1.2em; }
.audience__card { display: flex; flex-direction: column; }
.audience__card + .audience__card { margin-top: 0; }
.audience__card--corp { background: var(--c-green-pale); }
.audience__for { display: inline-block; align-self: flex-start; font-size: .8rem; font-weight: 700; color: #fff; background: var(--c-green); padding: 2px 12px; border-radius: 99px; margin-bottom: 8px; }
.audience__card--corp .audience__for { background: var(--c-ink); }
.audience__btns { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.cond-table { width: 100%; border-collapse: collapse; background: var(--c-white); border: 1px solid var(--c-line); }
.cond-table th, .cond-table td { padding: 14px 16px; border-bottom: 1px solid var(--c-line-soft); text-align: left; vertical-align: top; }
.cond-table th { width: 22%; background: var(--c-paper); font-size: .9rem; white-space: nowrap; }
@media (max-width: 600px) { .cond-table th, .cond-table td { display: block; width: auto; } .cond-table th { border-bottom: 0; padding-bottom: 4px; } }
.term-apply.is-closed { display: none; }
.learn + .learn { margin-top: 0; }

/* ===== 講座ページ：見やすい表示（アイコン・流れ・カード） ===== */
.learns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.learn { background: var(--c-white); border: 1px solid var(--c-line); border-top: 4px solid var(--c-green); padding: 22px 22px 18px; margin: 0; }
.learn__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.learn__head h3 { font-size: 1.25rem; margin: 0; }
.learn__days { background: var(--c-green-pale); color: var(--c-green-dark); font-weight: 700; font-size: .85rem; padding: 2px 10px; border-radius: 99px; }
.tiles { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { display: flex; align-items: center; gap: 10px; background: var(--c-paper); padding: 12px; font-weight: 700; font-size: .92rem; line-height: 1.4; }
.ico { width: 30px; height: 30px; flex: none; color: var(--c-green); }
.after { display: flex; align-items: center; gap: 10px; background: var(--c-green); color: #fff; padding: 12px 14px; border-radius: 10px; }
.after__label { font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 4px; flex: none; }
.after__arrow { font-weight: 700; flex: none; }
.after__role { font-weight: 700; line-height: 1.5; }
.after__note { font-size: .82rem; color: var(--c-ink-sub); margin: 8px 0 0; }

.merits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.merit { display: flex; flex-direction: column; border: 1px solid var(--c-line); background: var(--c-white); padding: 24px; }
.merit--corp { background: var(--c-green-pale); }
.merit__for { align-self: flex-start; font-size: .8rem; font-weight: 700; color: #fff; background: var(--c-green); padding: 3px 12px; border-radius: 99px; margin: 0 0 10px; }
.merit--corp .merit__for { background: var(--c-ink); }
.merit__title { font-size: 1.2rem; line-height: 1.6; margin: 0 0 14px; }
.merit__points { list-style: none; padding: 0; margin: 0 0 12px; }
.merit__points li { position: relative; padding: 8px 0 8px 32px; font-weight: 700; border-bottom: 1px dashed var(--c-line); }
.merit__points li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-green); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.merit__more summary { cursor: pointer; color: var(--c-green); font-size: .9rem; font-weight: 700; padding: 6px 0; }
.merit__more p { font-size: .92rem; color: var(--c-ink-sub); margin: 6px 0 0; }
.merit__btns { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.merit__btns .btn { width: 100%; justify-content: center; text-align: center; }

.conds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cond { background: var(--c-white); border: 1px solid var(--c-line); padding: 16px; text-align: center; }
.cond__label { font-size: .82rem; font-weight: 700; color: var(--c-ink-sub); margin: 0 0 6px; }
.cond__value { font-size: 1.15rem; font-weight: 700; color: var(--c-green-dark); margin: 0 0 4px; line-height: 1.4; }
.cond__sub { font-size: .8rem; color: var(--c-ink-sub); margin: 0; }

@media (max-width: 860px) {
  .learns, .merits { grid-template-columns: 1fr; }
  .conds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr; }
}


/* =====================================================================
   アプリ風デザイン（Klook参考）— 色はブランドの緑＋朱色のまま
   ===================================================================== */
:root { --r-card: 14px; --shadow: 0 2px 10px rgba(30, 50, 40, .08); }
body { background: var(--c-paper); }
.box, .course-detail, .learn, .merit, .cond, .compare, .price-table, .faq details, .schedule details, .cond-table { border-radius: var(--r-card); }
.box, .learn, .merit, .cond { box-shadow: var(--shadow); border-color: transparent; }
.course-detail { background: var(--c-white); padding: 22px; box-shadow: var(--shadow); }
.btn { border-radius: 999px; }
.section--white, .section--paper { border: 0; }
.is-hidden, .is-filtered { display: none !important; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* 検索バー */
.search-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--c-paper); border: 1.5px solid var(--c-green); color: var(--c-ink-sub);
  border-radius: 999px; padding: 8px 16px; font-size: .9rem; text-decoration: none; flex: 1; max-width: 340px; margin: 0 16px; }
.search-pill .ico { width: 18px; height: 18px; }
.search-pill:hover { color: var(--c-green); background: var(--c-green-pale); }
.search-pill--big { display: flex; max-width: 520px; margin: 18px 0 0; padding: 12px 18px; background: var(--c-white); font-size: 1rem; }
@media (max-width: 1000px) { .site-header .search-pill { margin: 0 10px; } .site-header .search-pill span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } }

/* トップ：上部 */
.home-top { background: linear-gradient(160deg, #e3f0e8 0%, #f4f6f5 55%, #fdf1e6 100%); padding: 34px 0 26px; }
.home-top__kicker { font-size: .82rem; color: var(--c-green); font-weight: 700; margin: 0 0 6px; }
.home-top__title { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.4; margin: 0 0 10px; color: var(--c-ink); }
.home-top__lead { color: var(--c-ink-sub); margin: 0; max-width: 640px; }
.cat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 22px; }
.cat-row--grid { grid-template-columns: repeat(4, 1fr); margin: 0 0 18px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--c-ink); font-size: .82rem; font-weight: 700; text-align: center; }
.cat-item__icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow); }
.cat-item__icon .ico { width: 28px; height: 28px; color: #fff; }
.cat-item:hover .cat-item__icon { transform: translateY(-2px); }
.c1 { background: #2e5e4e; } .c2 { background: #3b7d6a; } .c3 { background: #3b5f8f; } .c4 { background: #c0522b; } .c5 { background: #b88a2e; } .c6 { background: #6b5b95; }
@media (max-width: 640px) { .cat-row { grid-template-columns: repeat(3, 1fr); row-gap: 14px; } }

.section--tight { padding: 22px 0; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.row-head__title { font-size: 1.2rem; margin: 0; }
.row-head__title::after { display: none; }
.row-head__more { font-size: .88rem; color: var(--c-green); font-weight: 700; }

/* クーポン風カード */
.promo { display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, #fff5ec, #fde7d9); border-radius: var(--r-card); padding: 16px 18px;
  text-decoration: none; color: var(--c-ink); box-shadow: var(--shadow); flex-wrap: wrap; }
.promo__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-red); display: flex; align-items: center; justify-content: center; flex: none; }
.promo__icon .ico { color: #fff; }
.promo__body { flex: 1; min-width: 180px; }
.promo__title { display: block; font-weight: 700; font-size: 1.05rem; }
.promo__text { display: block; font-size: .85rem; color: var(--c-ink-sub); }
.promo__coupons { display: flex; gap: 8px; }
.coupon { background: #fff; border: 1.5px dashed #e7a989; border-radius: 10px; padding: 6px 12px; text-align: center; line-height: 1.3; }
.coupon strong { display: block; color: var(--c-red); font-size: 1.1rem; }
.coupon small { font-size: .72rem; color: var(--c-ink-sub); }

/* 目的からさがす（丸い画像） */
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.goal { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--c-ink); text-align: center; font-weight: 700; font-size: .88rem; line-height: 1.4; }
.goal__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: var(--shadow); display: block; }
.goal__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .goals { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } .goal__img { width: 84px; height: 84px; } }

/* タブ（おすすめ／周辺 風） */
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--c-line); margin-bottom: 14px; }
.tabs__btn { background: none; border: 0; padding: 8px 0; font-size: 1rem; font-weight: 700; color: var(--c-ink-sub); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; font-family: inherit; }
.tabs__btn.is-active { color: var(--c-green); border-bottom-color: var(--c-green); }

/* 日程カード（2列） */
.ocards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ocard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--c-ink); box-shadow: var(--shadow); }
.ocard:hover { transform: translateY(-2px); }
.ocard__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--c-green-pale); }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; }
.ocard__place { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 3px; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 99px; }
.ocard__place .ico { width: 12px; height: 12px; color: #fff; }
.ocard__badge { position: absolute; left: 8px; top: 8px; background: var(--c-red); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.ocard__body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; flex: 1; }
.ocard__course { font-size: .72rem; color: var(--c-ink-sub); }
.ocard__label { font-weight: 700; font-size: .9rem; line-height: 1.45; }
.ocard__dl { font-size: .75rem; color: var(--c-ink-sub); }
.ocard__dl .dl-badge { margin-left: 4px; }
.ocard__price { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 1.15rem; }
.ocard__price small { font-size: .75rem; margin-left: 1px; }
@media (max-width: 1000px) { .ocards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ocards { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* 講座ページ：情報・固定タブ・パッケージ */
.info-rows { list-style: none; margin: 0; padding: 14px 16px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.info-rows li { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.info-rows .ico { width: 20px; height: 20px; }
@media (max-width: 640px) { .info-rows { grid-template-columns: 1fr; } }
.stabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--c-line); }
.stabs__inner { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.stabs__inner::-webkit-scrollbar { display: none; }
.stabs a { flex: none; padding: 12px 0; font-weight: 700; font-size: .92rem; color: var(--c-ink-sub); text-decoration: none; border-bottom: 3px solid transparent; }
.stabs a.is-active { color: var(--c-green); border-bottom-color: var(--c-green); }
[id] { scroll-margin-top: calc(var(--header-h) + 56px); }
.pkgs { display: grid; gap: 12px; }
.pkg { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: #fff; border-radius: var(--r-card); padding: 16px 18px; box-shadow: var(--shadow); }
.pkg.is-closed { display: none; }
.pkg__title { font-weight: 700; margin: 0 0 4px; }
.pkg__dl { font-size: .82rem; color: var(--c-ink-sub); margin: 0; }
.pkg__early { font-size: .82rem; color: #b5532a; margin: 6px 0 0; font-weight: 700; }
.pkg__side { text-align: right; flex: none; }
.pkg__price { font-weight: 700; font-size: 1.25rem; margin: 0 0 6px; }
.pkg__price small { font-size: .8rem; }

/* 申込：タップで選ぶ */
.picks { display: grid; gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--c-line); border-radius: 12px; padding: 14px 14px; font: inherit; color: var(--c-ink); cursor: pointer; }
.pick__title { flex: 1; font-weight: 700; line-height: 1.5; }
.pick__price { font-weight: 700; white-space: nowrap; }
.pick__check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--c-line); flex: none; }
.pick.is-on { border-color: var(--c-green); background: var(--c-green-pale); }
.pick.is-on .pick__check { background: var(--c-green); border-color: var(--c-green); box-shadow: inset 0 0 0 4px var(--c-green-pale); }

/* 下部タブバー・購入バー（スマホ） */
.tabbar, .buybar { display: none; }
@media (max-width: 860px) {
  .fixed-cta { display: none !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--c-line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; color: var(--c-ink-sub); text-decoration: none; }
  .tabbar .ico { width: 22px; height: 22px; color: currentColor; }
  .tabbar a[aria-current] { color: var(--c-green); font-weight: 700; }
  body { padding-bottom: 64px; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--c-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .buybar__price strong { font-size: 1.25rem; }
  .buybar__price small { font-size: .75rem; color: var(--c-ink-sub); margin-left: 4px; }
  .buybar .btn { flex: none; padding: 12px 28px; }
  .site-header .search-pill { display: none; }
}
@media (min-width: 861px) { .buybar { display: flex; position: sticky; bottom: 16px; z-index: 30; max-width: 520px; margin: 0 auto 16px; background: #fff; border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.15); padding: 10px 10px 10px 24px; align-items: center; justify-content: space-between; } .buybar__price strong { font-size: 1.2rem; } .buybar__price small { margin-left: 4px; color: var(--c-ink-sub); font-size: .8rem; } }
/* パッケージ：コースごとのカード */
.pkg { display: block; padding: 16px 18px 6px; }
.pkg__title { font-size: 1.1rem; margin: 0 0 4px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--c-line-soft); }
.pkg__early + .opt, .pkg__title + .opt { margin-top: 6px; }
.opt.is-closed { display: none; }
.opt__name { font-weight: 700; margin: 0 0 2px; line-height: 1.45; }
.opt__dl { font-size: .8rem; color: var(--c-ink-sub); margin: 0; }
.opt__side { display: flex; align-items: center; gap: 10px; flex: none; }
.opt__price { font-weight: 700; font-size: 1.1rem; margin: 0; text-align: right; line-height: 1.3; }
.opt__price small { font-size: .78rem; }
.opt__disc { display: block; font-size: .72rem; color: #b5532a; }
.site-header .search-pill { display: none; }

/* =====================================================================
   ぷっくり3D画像＋丸ゴシック（押したくなるボタン・カード）
   ===================================================================== */
body { font-weight: 500; }
h1, h2, h3, .row-head__title, .home-top__title { font-weight: 900; }
:root { --r-card: 18px; --shadow: 0 4px 14px rgba(30, 50, 40, .10); --shadow-up: 0 10px 24px rgba(30, 50, 40, .16); }

/* ボタン：ぷっくり、押すと沈む */
.btn { transition: transform .12s, box-shadow .12s, background .15s; }
.btn--apply { background: linear-gradient(180deg, #db6a3f 0%, var(--c-red) 100%); box-shadow: 0 4px 0 #8f3a1d, 0 8px 16px rgba(192, 82, 43, .28); }
.btn--apply:hover { background: linear-gradient(180deg, #e2774c 0%, #c95a32 100%); transform: translateY(-1px); }
.btn--primary { background: linear-gradient(180deg, #3d7a65 0%, var(--c-green) 100%); box-shadow: 0 4px 0 #1d3f34, 0 8px 16px rgba(46, 94, 78, .25); }
.btn--outline { box-shadow: 0 3px 0 rgba(46, 94, 78, .35); border-width: 2px; }
.btn--apply:active, .btn--primary:active, .btn--outline:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }

/* トップ：大きい画像 */
.home-top { position: relative; overflow: hidden; padding: 0; background: linear-gradient(120deg, #dff0e6 0%, #fbeee2 100%); }
.home-top__visual { display: block; width: 100%; height: auto; }
.home-top__text { padding: 18px 0 26px; }
.home-top__title { font-size: clamp(1.7rem, 4.4vw, 2.8rem); line-height: 1.35; color: var(--c-green); }
.home-top__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 640px) { .home-top__actions .btn { flex: 1 1 100%; } }
@media (min-width: 861px) {
  .home-top { min-height: 480px; display: flex; align-items: center; }
  .home-top__visual { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 75% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .home-top .container { position: relative; width: 100%; }
  .home-top__text { max-width: 440px; padding: 40px 0; }
}

/* カテゴリ：画像タイル */
.cat-row { margin-top: 0; gap: 12px; }
.cat-item { gap: 8px; font-size: .86rem; }
.cat-item__icon { width: 96px; height: 96px; border-radius: 26px; background: none; box-shadow: none; overflow: hidden; transition: transform .15s; }
.cat-item__icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.cat-item:hover .cat-item__icon { transform: translateY(-4px) scale(1.03); }
.cat-item:active .cat-item__icon { transform: scale(.95); }
@media (max-width: 640px) { .cat-item__icon { width: 76px; height: 76px; border-radius: 22px; } }

/* 目的：大きめの丸 */
.goal__img { width: 124px; height: 124px; border: 4px solid #fff; box-shadow: var(--shadow); transition: transform .15s; }
.goal:hover .goal__img { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.goal:active .goal__img { transform: scale(.96); }
@media (max-width: 640px) { .goal__img { width: 104px; height: 104px; } }

/* クーポン */
.promo__icon { width: 56px; height: 56px; border-radius: 16px; background: none; overflow: hidden; }
.promo__icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.promo { border: 2px solid #f6c9b1; }

/* 日程カード：押せる感じ */
.ocard { transition: transform .15s, box-shadow .15s; position: relative; }
.ocard:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.ocard:active { transform: scale(.98); }
.ocard__price { color: var(--c-red); font-size: 1.25rem; padding-right: 40px; }
.ocard::after { content: "›"; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-red); color: #fff; font-size: 1.3rem; line-height: 30px; text-align: center; font-weight: 700; box-shadow: 0 3px 0 #8f3a1d; }

/* パッケージ・選択行 */
.pkg { transition: transform .15s, box-shadow .15s; border: 2px solid transparent; }
.pkg:hover { box-shadow: var(--shadow-up); border-color: #cfe3d8; }
.pick { border-radius: 16px; transition: transform .1s; }
.pick:active { transform: scale(.98); }

/* イラスト枠 */
.photo--illust img, .page-illust img, .split__img { border-radius: var(--r-card); }

/* 講座ページ上部の画像 */
.course-top { display: grid; gap: 14px; }
.course-top__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow); }
@media (min-width: 861px) { .course-top { grid-template-columns: 1fr 1fr; align-items: center; } }

/* =====================================================================
   講座カード＋「詳しく見る」
   ===================================================================== */
.ccard { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.ccard__title { font-size: 1.2rem; line-height: 1.45; margin: 8px 0 6px; }
.ccard__catch { margin: 0 0 12px; color: var(--c-ink-sub); }
.ccard__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.ccard__facts div { background: var(--c-green-pale); border-radius: 12px; padding: 8px 10px; }
.ccard__facts dt { font-size: .72rem; color: var(--c-green); font-weight: 700; }
.ccard__facts dd { margin: 0; font-weight: 700; font-size: .92rem; line-height: 1.4; }
@media (max-width: 640px) { .ccard__facts { grid-template-columns: 1fr 1fr; } .ccard__facts div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.ccard__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ccard__btns .btn { flex: 1 1 220px; }
.ccard .more summary { margin-top: 0; }

.more { margin: 0; }
.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: 999px; background: #fff; border: 2px solid var(--c-green); color: var(--c-green);
  font-weight: 700; box-shadow: 0 3px 0 rgba(46, 94, 78, .35); transition: transform .12s, box-shadow .12s; user-select: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.more > summary:hover { background: var(--c-green-pale); }
.more > summary:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(0,0,0,0); }
.more__close { display: none; }
.more[open] .more__open { display: none; }
.more[open] .more__close { display: inline; }
.more__body { padding: 16px 2px 4px; animation: moreIn .25s ease; }
.more__body h4 { font-size: 1rem; margin: 14px 0 8px; padding-left: 10px; border-left: 4px solid var(--c-green); }
.more__body h4:first-child { margin-top: 0; }
@keyframes moreIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fit-list li { position: relative; padding: 8px 12px 8px 36px; background: #fdf1e6; border-radius: 12px; font-weight: 500; }
.fit-list li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--c-red); box-shadow: inset 0 0 0 4px #fdf1e6; }
#detail .more > .more__body > .course-detail { box-shadow: none; padding: 0; background: none; }
