:root {
  --bg: #fbfbfa;
  --card: #ffffff;
  --ink: #2f2f2f;
  --muted: #777;
  --purple: #372a6e;
  --green: #00756b;
  --green-soft: #e3f1ef;
  --zoom: #0b5cff;
  --line: #06c755;
  --warn: #a14a1d;
  --rule: #e6e6e3;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16.5px; line-height: 1.85; letter-spacing: .02em;
}
.mock { background: #fff4c2; color: #6b5300; font-size: 13px; text-align: center; padding: 6px 10px; }

/* 1. 冒頭 */
.hero {
  position: relative; text-align: center; color: #fff;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, #4a3a8a 0%, var(--purple) 45%, #1f5f63 100%);
  padding: 56px 20px 48px;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--green); }
.hero-in { max-width: 720px; margin: 0 auto; }
.kicker { margin: 0; font-size: 14px; letter-spacing: .12em; opacity: .9; }
.hero h1 { margin: 10px 0 14px; font-size: 32px; line-height: 1.4; font-weight: 700; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
.catch { margin: 0 0 24px; font-size: 17px; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
.hero-btn { display: inline-block; min-height: 48px; padding: 12px 30px; border: 0; border-radius: 99px; background: #e8792b; color: #fff; text-decoration: none; font-size: 18px; font-weight: 700; box-shadow: 0 3px 0 #b85a1a, 0 6px 16px rgba(0,0,0,.25); text-shadow: none; }
.hero-btn:hover { background: #f08a3e; }

.wrap { max-width: 720px; margin: 0 auto; padding: 8px 16px 24px; }
.notice { background: #fff4e5; border-left: 4px solid #e08a3c; padding: 10px 12px; margin: 20px 0 0; font-size: 16px; }

/* 帯の見出し */
.sec { margin: 44px 0 0; }
.band { margin: 0 0 20px; padding: 12px 18px; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.5; }
.band-p { background: var(--purple); }
.band-g { background: var(--green); }
.sub-h { margin: 0 0 18px; padding: 0 4px 8px; font-size: 18px; border-bottom: 1px solid var(--rule); position: relative; }
.sub-h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 8em; height: 2px; background: var(--green); }
.body p { margin: 0 0 14px; }
.body strong { font-weight: 700; }

.card { background: var(--card); padding: 22px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

/* 3. 次回 */
.next { text-align: center; }
.next-label { display: inline-block; margin: 0 0 4px; padding: 1px 14px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 700; }
.next.soon .next-label { background: #fff0d6; color: #9a5a00; }
.next.live .next-label { background: #ffe1e1; color: #b3261e; }
.next-date { margin: 6px 0 0; font-size: 28px; font-weight: 700; line-height: 1.4; }
.next-time { margin: 0; font-size: 20px; }
.next-rest { margin: 2px 0 16px; color: var(--muted); font-size: 14px; min-height: 1.4em; }

button { font: inherit; cursor: pointer; }
.btn-join { display: block; width: 100%; border: 0; border-radius: 12px; padding: 16px 12px; background: var(--zoom); color: #fff; box-shadow: 0 4px 0 #0843b8; }
.btn-join:active { transform: translateY(2px); box-shadow: 0 2px 0 #0843b8; }
.btn-main { display: block; font-size: 22px; font-weight: 700; letter-spacing: .05em; }
.btn-sub { display: block; font-size: 12.5px; opacity: .9; }
.next:not(.soon):not(.live) .btn-join { background: #5a86e6; box-shadow: 0 4px 0 #4067bf; }
.next.live .btn-join { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 4px 0 #0843b8, 0 0 0 8px rgba(11,92,255,.18); } }

.zinfo { margin: 16px 0 0; font-size: 16px; text-align: left; }
.zinfo > div { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px; border-top: 1px solid var(--rule); }
.zinfo dt { color: var(--muted); }
.zinfo dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.copy { margin-left: 6px; border: 1px solid var(--rule); background: #f7f7f5; border-radius: 6px; padding: 1px 8px; font-size: 12px; color: var(--muted); font-weight: 400; }
.btn-line { display: block; width: 100%; border: 0; border-radius: 12px; padding: 14px; background: var(--line); color: #fff; font-size: 18px; font-weight: 700; }
.btn-sub2 { display: block; width: 100%; margin-top: 10px; border: 1px solid var(--rule); border-radius: 12px; padding: 10px; background: #fff; color: var(--ink); font-size: 16px; }
.btn-cal { margin-top: 16px; border: 0; background: none; color: var(--green); text-decoration: underline; font-size: 16px; }
.warn { color: var(--warn); font-size: 16px; text-align: left; margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; padding: 14px 0; }

/* 4. 講師 */
.teacher { display: flex; gap: 24px; align-items: flex-start; }
.t-photo { flex: none; width: 150px; aspect-ratio: 3 / 4; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 40px; overflow: hidden; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.t-text { flex: 1; min-width: 0; }
.t-role { margin: 0; font-size: 13px; color: var(--muted); }
.t-name { margin: 0 0 12px; padding-bottom: 8px; font-size: 20px; border-bottom: 1px solid var(--rule); position: relative; }
.t-name::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 6em; height: 2px; background: var(--green); }
.t-profile p { margin: 0 0 10px; font-size: 16.5px; }
@media (max-width: 520px) {
  .teacher { flex-direction: column; align-items: center; }
  .t-photo { width: 170px; }
  .t-text { width: 100%; }
}

/* 5. 声 */
.voice { background: var(--card); margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.voice h3 { margin: 0; padding: 8px 14px; background: var(--green); color: #fff; font-size: 16.5px; text-align: center; }
.voice p { margin: 0; padding: 16px 18px; font-size: 16.5px; }

/* 6・7 */
.steps { margin: 0; padding: 22px 20px 10px 2.4em; }
.steps li { margin-bottom: 14px; }
.steps li b { display: block; }
.steps li span { display: block; font-size: 16px; color: #555; }
.links a { display: inline-block; margin: 6px 6px 0 0; padding: 2px 12px; border: 1px solid var(--rule); border-radius: 99px; color: var(--green); text-decoration: none; font-size: 14px; }
.faq { padding-top: 10px; padding-bottom: 10px; }
details { border-top: 1px solid var(--rule); padding: 10px 0; }
details:first-child { border-top: 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 6px 0 2px; font-size: 16px; color: #555; }

/* 8 */
.btn-cta { display: block; margin: 8px auto 0; max-width: 420px; text-align: center; padding: 15px; border-radius: 99px; background: var(--green); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 #00544d; }

.foot { margin-top: 48px; padding: 24px 16px 36px; background: #f0efec; text-align: center; color: var(--muted); font-size: 14px; }
.foot p { margin: 0 0 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(40,35,30,.92); color: #fff; padding: 8px 16px; border-radius: 99px; font-size: 14px; }
/* build 20261126-3 */

/* ===== 日程と申込み（2026/11/26 公開ページ） ===== */
.lead-s { font-size: 16px; color: #555; margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 8px 0; }
.chip { border: 1px solid var(--rule); background: #fff; color: var(--ink); border-radius: 99px; padding: 5px 16px; font-size: 16px; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.month { margin: 22px 0 8px; font-size: 17px; color: var(--purple); border-left: 5px solid var(--purple); padding-left: 10px; }
.item { display: flex; gap: 10px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.07); margin: 0 0 10px; padding: 14px 14px 14px 8px; border-left: 4px solid transparent; }
.item.picked { border-left-color: var(--green); background: #f4faf9; }
.pick { flex: none; display: flex; align-items: flex-start; padding: 4px 4px 0; cursor: pointer; }
.pick input { width: 22px; height: 22px; accent-color: var(--green); }
.item-main { flex: 1; min-width: 0; }
.item-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.date { font-size: 18px; font-weight: 700; }
.time { font-size: 16px; color: #444; }
.tag { font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 4px; color: #fff; background: #777; }
.tag-fukuno { background: #b5651d; }
.tag-fukumitsu { background: #00756b; }
.tag-johana { background: #8a3b6b; }
.tag-shogawa { background: #2f6fa8; }
.tag-inami { background: #8a3b6b; }
.tag-ome { background: #1f6f8b; }
.tag-online { background: var(--purple); }
.item-title { margin: 4px 0 0; font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.item-place { margin: 0 0 10px; font-size: 15.5px; color: #555; }
.btn-apply { border: 0; border-radius: 99px; background: #e8792b; color: #fff; font-weight: 700; font-size: 16.5px; padding: 8px 20px; box-shadow: 0 2px 0 #b85a1a; }
.btn-apply:active { transform: translateY(1px); box-shadow: 0 1px 0 #b85a1a; }
.btn-wide { display: block; width: 100%; padding: 13px; font-size: 18px; margin-top: 12px; }
.empty { background: #fff; padding: 18px; color: #555; }
.online { margin-bottom: 14px; }
.on-when { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--purple); }
.on-text { margin: 0; font-size: 16.5px; }
.h3 { margin: 4px 0 8px; font-size: 16.5px; color: var(--green); }
.steps { margin: 0 0 14px; padding-left: 1.5em; }
.pickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -2px 10px rgba(0,0,0,.12); }
.pickbar #pickCount { font-weight: 700; font-size: 16px; }
.pick-clear { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 14px; }
body.has-bar { padding-bottom: 80px; }
.foot a { color: var(--green); }
/* build 20261126-4 */

/* ===== 申込みフォーム（2026/11/26） ===== */
.form { padding: 22px 20px; }
.f-row { display: block; margin: 0 0 16px; }
.f-label { display: block; margin: 0 0 4px; font-weight: 700; font-size: 16.5px; }
.req { display: inline-block; margin-left: 6px; padding: 0 6px; background: #c0392b; color: #fff; font-size: 11.5px; border-radius: 3px; vertical-align: 2px; font-weight: 700; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  display: block; width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfcfca; border-radius: 6px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.chosen { list-style: none; margin: 0; padding: 0; }
.chosen li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; margin: 0 0 6px; background: #f4faf9; border-left: 4px solid var(--green); font-size: 16px; line-height: 1.5; }
.chosen .x { flex: none; border: 1px solid var(--rule); background: #fff; border-radius: 6px; font-size: 13px; padding: 2px 8px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-err { color: #b3261e; font-weight: 700; background: #fdecea; padding: 8px 12px; }
.btn-apply:disabled { opacity: .6; }
.done { text-align: left; }
.done-h { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--green); }
.done ul { margin: 0 0 10px; padding-left: 1.2em; }
/* build 20261126-5 */

/* ===== 特別講座（2026/11/26） ===== */
.item.special { border: 2px solid #c9971c; border-left-width: 6px; background: #fffaf0; }
.item.special.picked { background: #fdf3dc; }
.item.special .item-title { color: #7a4f00; font-size: 18px; }
.tag-special { background: #b8860b; letter-spacing: .05em; }
.item-sp-note { margin: -4px 0 10px; font-size: 14px; color: #7a4f00; }
.chip-special { border-color: #c9971c; color: #7a4f00; }
.chip-special.on { background: #b8860b; border-color: #b8860b; color: #fff; }
.chosen li.special { border-left-color: #b8860b; background: #fffaf0; }
/* build 20261126-8 */

/* ===== 写真（2026/11/26） ===== */
.hero.has-photo { background-size: cover; background-position: center 35%; padding: 96px 20px 80px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery .ph { margin: 0; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.gallery .ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 6px 10px 8px; font-size: 13.5px; color: #555; line-height: 1.5; }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
/* build 20261126-9 */

/* ===== オンライン講座だけのページ（2026/11/26） ===== */
.on-next { text-align: center; border-top: 5px solid var(--purple); }
.on-label { margin: 0 0 4px; font-size: 14px; color: var(--purple); font-weight: 700; letter-spacing: .05em; }
.on-next .on-when { font-size: 22px; }
.teacher-lg .t-photo { width: 190px; }
.teacher-lg .t-name { font-size: 24px; }
@media (max-width: 520px) { .teacher-lg .t-photo { width: 220px; } }
.page-online .item .tag-online { display: none; }
/* build 20261126-10 */

.map-link { display: inline-block; margin-left: 2px; padding: 1px 9px; font-size: 13px; border: 1px solid #1f5f63; border-radius: 999px; color: #1f5f63; text-decoration: none; background: #fff; }
.map-link::before { content: '📍'; margin-right: 3px; }
.map-link:hover { background: #e3f1ef; }

/* 会場のご案内 */
.venue-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.venue-map { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #eef3f2; }
.venue-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.venue-info { padding: 16px 18px 18px; }
.venue-name { margin: 0 0 2px; font-size: 20px; color: var(--green); }
.venue-full { margin: 0 0 8px; font-size: 14px; color: #666; }
.venue-addr, .venue-room { margin: 0 0 6px; font-size: 16.5px; }
.venue-room { font-weight: 700; }
.venue-open { text-align: center; text-decoration: none; color: var(--green); font-weight: 700; border-color: var(--green); }
#mapChips { margin-bottom: 12px; }
@media (min-width: 760px) {
  .venue-card { grid-template-columns: 3fr 2fr; }
  .venue-map { aspect-ratio: auto; min-height: 340px; }
  .venue-info { display: flex; flex-direction: column; justify-content: center; }
}

/* ページの切り替え（上の帯） */
.topnav { position: sticky; top: 0; z-index: 30; display: flex; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.topnav a { flex: 1; text-align: center; padding: 11px 6px; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.topnav a.on { color: var(--green); border-bottom-color: var(--green); background: #f3f9f8; }
.topnav a:not(.on):hover { background: #f6f6f6; }
.cross-link { display: block; margin-top: 12px; padding: 11px 14px; text-align: center; border: 1px solid var(--green); border-radius: 12px; color: var(--green); font-weight: 700; text-decoration: none; background: #fff; }
.cross-link::after { content: ' ›'; }
.cross-link:hover { background: #e3f1ef; }
.cross-card { text-align: center; }
.cross-t { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--green); }
.cross-s { margin: 0; font-size: 16px; color: #555; }
.foot-links a { margin: 0 4px; }
.sec, #apply, #nittei, #kaijo { scroll-margin-top: 54px; }

/* 押しやすさ（指で押す目安 44px） */
body { font-size: 17px; }
.map-link { min-height: 40px; display: inline-flex; align-items: center; padding: 4px 14px; font-size: 15px; vertical-align: middle; margin: 2px 2px 2px 4px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; font-size: 16px; }
.chip { min-height: 44px; padding: 8px 18px; }
.btn-apply { min-height: 46px; padding: 10px 24px; font-size: 17px; }
.btn-sub2, .cross-link { min-height: 46px; }
.topnav a { min-height: 46px; display: flex; align-items: center; justify-content: center; }
.foot { font-size: 15.5px; }
.foot-links a, .foot-contact a { display: inline-block; padding: 10px 6px; }
.btn-cal { min-height: 44px; }
details summary { min-height: 44px; padding: 10px 0; }
.opt { display: inline-block; margin-left: 6px; padding: 0 6px; background: #888; color: #fff; font-size: 12px; border-radius: 3px; vertical-align: 2px; font-weight: 700; }
.f-help { display: block; margin-top: 4px; font-size: 14.5px; color: #666; }
.load-help { margin: 12px 0; padding: 14px 16px; background: #fff4e5; border-left: 4px solid #e08a3c; border-radius: 6px; }
.load-help p { margin: 0 0 8px; }

/* 見出しの下の絵 */
.sec-art { display: block; width: 100%; height: auto; margin: 0 0 16px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }

/* 1つの回だけの申込みページ（fukumitsu.html） */
.lp-hero { padding: 72px 20px 64px; }
.lp-badge { display: inline-block; margin: 0 0 10px; padding: 4px 14px; border-radius: 99px; background: #b8860b; color: #fff; font-weight: 700; font-size: 16px; text-shadow: none; }
.lp-facts { border: 2px solid #c9971c; background: #fffbf0; }
.lp-lead { margin: 0 0 14px; font-size: 17px; }
.lp-facts dl { display: grid; grid-template-columns: 5em 1fr; gap: 10px 12px; margin: 0 0 16px; }
.lp-facts dt { font-weight: 700; color: #7a4f00; }
.lp-facts dd { margin: 0; }
.lp-facts .map-link { margin-left: 0; margin-top: 4px; }
.lp-ended { margin-top: 20px; background: #fff4e5; border-left: 4px solid #e08a3c; }
.lp-ended p { margin: 0 0 10px; font-weight: 700; }
.lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
.lp-bar span { font-weight: 700; font-size: 15.5px; }
.lp-bar .btn-apply { text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; }
.page-lp .done .cross-link { margin-top: 10px; }
a.btn-apply { text-decoration: none; text-align: center; }
@media (max-width: 440px) {
  .topnav a { font-size: 14px; padding: 8px 2px; letter-spacing: -0.02em; white-space: nowrap; }
}
.sec, #apply, #nittei, #kaijo { scroll-margin-top: 58px; }
