/* 姜門変面 — 紙の束デザイン */
:root {
  --desk: #d9d2c5;
  --paper: #fbf8f1;
  --ink: #26201b;
  --sub: #5f554b;
  --faint: #8a7f72;
  --red: #a3221f;
  --red-deep: #7d1714;
  --rule: #d8cdbb;
  --gold: #9a7a45;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
* { box-sizing: border-box; }
html { background: var(--desk); scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; padding: 0 16px 80px; color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.35), transparent 60%), var(--desk);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.95; }
/* 改行の調整：文節で折り返し、最終行に1〜2文字だけ残る「泣き別れ」を防ぐ */
p, li, dd, dt, td, figcaption, .act span, .assoc span {
  word-break: auto-phrase; text-wrap: pretty; line-break: strict;
}
h1, h2, h3, summary, .catch, .quote { text-wrap: balance; word-break: auto-phrase; }
.nw { white-space: nowrap; }

/* ===== 付箋（目次タブ） ===== */
.tabs {
  position: sticky; z-index: 10; top: 0; display: flex; gap: 4px; overflow-x: auto;
  max-width: 820px; margin: 0 auto 28px; padding: 10px 0 8px;
  background: var(--desk); scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; white-space: nowrap; padding: 7px 12px 6px; border-top: 3px solid var(--red);
  background: #f3eee4; color: var(--sub); font-size: 13px; letter-spacing: .08em;
  text-decoration: none; box-shadow: 0 2px 4px rgba(60,45,30,.12);
}
.tabs a { transition: background .15s, color .15s; }
.tabs a:hover { background: var(--paper); color: var(--red); }
/* 今いる紙：位置は動かさず、色で示す */
.tabs a.on { background: var(--red); color: #fff; font-weight: 800; border-color: var(--red-deep); }
@media (min-width: 1200px) {
  .tabs {
    position: fixed; top: 110px; left: calc(50% + 410px); flex-direction: column; align-items: stretch;
    gap: 6px; margin: 0; padding: 0; background: none; overflow: visible;
  }
  .tabs a {
    min-width: 112px; white-space: nowrap; border-top: 0; border-left: 4px solid var(--red);
    padding: 8px 12px;
  }
}

/* ===== 紙 ===== */
.sheet {
  position: relative; max-width: 820px; margin: 0 auto 14px;
  background:
    radial-gradient(ellipse at 85% 8%, rgba(163,34,31,.045), transparent 38%),
    radial-gradient(ellipse at 10% 95%, rgba(154,122,69,.06), transparent 40%),
    var(--paper);
  box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 10px 24px rgba(60,45,30,.14), 0 30px 60px rgba(60,45,30,.10);
}
.sheet::before {
  content: ""; display: block; height: 10px;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 50%, var(--red-deep));
}
.inner { padding: 44px 56px 40px; }
.folio { padding: 0 0 22px; text-align: center; font-size: 12px; letter-spacing: .3em; color: var(--faint); }

/* 各紙の見出し */
.sheet-head { display: flex; align-items: baseline; gap: 16px; margin: 0 0 26px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet-head .no { color: var(--red); font-size: 34px; font-weight: 800; line-height: 1; }
.sheet-head h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: .14em; }
.sheet-head small { margin-left: auto; font-size: 11px; letter-spacing: .24em; color: var(--faint); }

.sec { margin-top: 34px; }
.sec:first-child { margin-top: 0; }
.sec-title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: 18px; font-weight: 800; letter-spacing: .12em;
}
.sec-title::before { content: ""; flex: none; width: 5px; height: 20px; background: var(--red); }
.sec-title::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.sec-title small { order: 2; font-size: 11px; font-weight: 400; letter-spacing: .2em; color: var(--faint); }
.note { margin: 8px 0 0; font-size: 11.5px; color: var(--faint); line-height: 1.6; }
.lead-text { font-size: 16px; line-height: 2; }
.quote {
  margin: 18px 0; padding: 16px 22px; border-left: 3px solid var(--red);
  background: rgba(163,34,31,.05); font-size: 17px; font-weight: 600; line-height: 1.9; letter-spacing: .06em;
}

/* ===== 表紙：写真を紙に刷り込み、文字を載せる ===== */
.masthead { position: relative; isolation: isolate; min-height: 560px; margin: -44px -56px 0; padding: 56px 56px 30px; }
.masthead .photo {
  position: absolute; z-index: -2; top: 0; right: 0; width: 62%; height: 100%;
  object-fit: cover; object-position: 60% 30%; mix-blend-mode: multiply; filter: saturate(.92) contrast(1.02);
}
.masthead::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 40%, rgba(251,248,241,.93) 49%, rgba(251,248,241,.5) 56%, rgba(251,248,241,0) 68%),
    linear-gradient(0deg, var(--paper) 2%, rgba(251,248,241,0) 32%),
    linear-gradient(180deg, rgba(251,248,241,.55), rgba(251,248,241,0) 14%);
}
.masthead::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(94,72,49,.025) 0 1px, transparent 1px 4px);
}
.lead { position: relative; max-width: 54%; }
.lead .bio { max-width: 400px; }
.kicker { display: inline-block; margin: 0 0 6px; padding-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: .14em; border-bottom: 1px solid var(--ink); }
.name { display: flex; align-items: flex-end; gap: 14px; margin: 6px 0 0; }
.name h1 { margin: 0; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: .12em; white-space: nowrap; }
.seal {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-bottom: 4px;
  border: 2px solid var(--red); border-radius: 4px; color: var(--red);
  font-size: 15px; font-weight: 800; line-height: 1.05; writing-mode: vertical-rl;
  transform: rotate(-4deg); opacity: .9;
}
.catch { margin: 18px 0 14px; color: var(--red); font-size: 24px; font-weight: 600; letter-spacing: .08em; }
.bio { text-shadow: 0 0 6px var(--paper), 0 0 2px var(--paper); }
.bio p { text-indent: 1em; }
.person { margin: 18px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.person b { margin-left: .3em; font-size: 22px; font-weight: 800; letter-spacing: .16em; }

/* 目次 */
.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dotted var(--rule); text-decoration: none; font-size: 15px; }
.toc a span { color: var(--red); font-weight: 800; width: 1.4em; }
.toc a em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--faint); }
.toc a:hover { color: var(--red); }

/* 演目グリッド */
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.act { padding: 12px 14px 13px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.act b { display: block; font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.act span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.6; color: var(--sub); }
.act.main b { color: var(--red); }

/* 年表・リスト */
.tl { margin: 0; padding: 0; list-style: none; }
.tl li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--rule); font-size: 13.5px; line-height: 1.6; }
.tl time { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.dots { margin: 0; padding: 0; list-style: none; }
.dots li { position: relative; padding: 5px 0 5px 18px; font-size: 14px; line-height: 1.7; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

/* 写真 */
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.photos.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ece5d8; }
figcaption { margin-top: 5px; font-size: 12px; color: var(--sub); letter-spacing: .04em; line-height: 1.5; }

/* 出演シーン */
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.scenes div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--rule); font-size: 13px; line-height: 1.6; }
.scenes dt { font-weight: 800; color: var(--red-deep); }
.scenes dd { margin: 0; color: var(--sub); }

/* 演目解説 */
.art { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.art:last-child { border-bottom: 0; }
.art h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: .08em; color: var(--red-deep); }
.art h3 small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--faint); letter-spacing: .1em; }
.art p { margin: 0; font-size: 14px; }
.disciples { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.disciples li { padding: 6px 12px; border: 1px solid var(--rule); background: #fff; font-size: 14px; }
.disciples li b { color: var(--red); margin-right: 6px; }

/* 協会・教室カード */
.assoc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.assoc div { padding: 18px 20px; border: 1px solid var(--rule); background: rgba(255,255,255,.5); }
.assoc b { display: block; font-size: 17px; letter-spacing: .06em; }
.assoc span { display: block; margin-top: 6px; font-size: 13px; color: var(--sub); }
.class { margin-top: 22px; padding: 22px 24px; border: 1px solid var(--rule); border-top: 3px solid var(--red); background: rgba(255,255,255,.45); }
.class h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; letter-spacing: .08em; }
.class .tag { display: inline-block; margin: 0 6px 10px 0; padding: 2px 10px; background: var(--red); color: #fff; font-size: 12px; letter-spacing: .1em; }
.class .tag.alt { background: none; border: 1px solid var(--red); color: var(--red); }
.spec { display: grid; grid-template-columns: 84px 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: 14px; line-height: 1.7; }
.spec dt { color: var(--red-deep); font-weight: 800; }
.spec dd { margin: 0; }
.spec ol { margin: 0; padding-left: 1.3em; }
.spec ol li { margin-bottom: 4px; }
.spec ol li small { display: block; color: var(--sub); font-size: 12.5px; }
.class .photos { margin-top: 16px; }

/* メンバー */
/* メンバー：人数が4の倍数でなくても最後の段を中央に寄せ、空きを目立たせない */
.members { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 14px; }
.members figure { flex: 0 0 calc((100% - 42px) / 4); min-width: 0; }
.members img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: #ece5d8; }
.members figcaption { margin-top: 7px; text-align: center; }
.members figcaption b { display: block; font-size: 15px; color: var(--ink); letter-spacing: .1em; }
.members .leader b { color: var(--red); }
/* メンバー募集中の仮枠（写真と同じ大きさ） */
.members .recruit a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 4 / 5; padding: 12px; border: 2px dashed var(--red); background: rgba(163,34,31,.04);
  color: var(--ink); text-align: center; text-decoration: none; transition: background .2s;
}
.members .recruit a:hover { background: rgba(163,34,31,.09); }
.members .recruit .rc-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-size: 24px; line-height: 1; }
.members .recruit b { font-size: 16px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.members .recruit small { font-size: 11.5px; line-height: 1.6; color: var(--sub); }
.members .recruit .rc-btn { margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--red-deep); border-bottom: 1px solid currentColor; }

/* 出演実績（年別） */
.years details { border-bottom: 1px solid var(--rule); }
.years summary {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 4px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 800; letter-spacing: .06em;
}
.years summary::-webkit-details-marker { display: none; }
.years summary::after { content: "＋"; margin-left: auto; color: var(--red); font-weight: 400; }
.years details[open] summary::after { content: "－"; }
.years summary small { font-size: 12px; font-weight: 400; color: var(--faint); letter-spacing: .1em; }
.years summary .tag { font-size: 11px; font-weight: 600; padding: 1px 8px; border: 1px solid var(--red); color: var(--red); letter-spacing: .1em; }
.log { columns: 2; column-gap: 32px; margin: 0; padding: 0 4px 16px; list-style: none; }
.log li { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 4px 0; break-inside: avoid; font-size: 13px; line-height: 1.6; border-bottom: 1px dotted #e6ddcf; }
.log b { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }

/* 新聞・証書 */
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
.docs a { display: block; text-decoration: none; }
.docs img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; padding: 6px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 2px 5px rgba(60,45,30,.08); transition: transform .2s; }
.docs a:hover img { transform: rotate(-1deg) scale(1.02); }

/* 記念品 */
.goods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
.goods img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ece5d8; }
.goods figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; margin-top: 7px; font-size: 13.5px; color: var(--ink); }
.goods figcaption b { color: var(--red); white-space: nowrap; }
.goods .sold { position: relative; }
.goods .sold::after { content: "売切れ"; position: absolute; top: 10px; left: 10px; padding: 3px 10px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .1em; }
.goods b .tax { display: inline; font-size: 11px; font-weight: 400; color: var(--sub); }
.goods small { display: block; font-size: 11.5px; color: var(--faint); }
.video { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.video a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--rule); background: #fff; text-decoration: none; font-size: 15px; }
.video a::before { content: "▶"; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; }

/* 会社概要 */
.company { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.company th, .company td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.company th { width: 96px; color: var(--red-deep); font-weight: 800; letter-spacing: .1em; }
.company td small { color: var(--faint); }
.company ul { margin: 0; padding-left: 1.1em; }

/* お申込みの流れ */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps > li { position: relative; padding: 0 0 22px 64px; }
.steps > li::before {
  counter-increment: st; content: "STEP\A0" counter(st, decimal-leading-zero);
  position: absolute; left: 0; top: 2px; width: 50px; padding: 6px 0; background: var(--red);
  color: #fff; font-size: 10px; text-align: center; letter-spacing: .04em; line-height: 1.3; white-space: pre-wrap;
}
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 46px; bottom: 6px; width: 1px; background: var(--rule); }
.steps h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: .08em; }
.steps p, .steps li li { font-size: 13.5px; line-height: 1.85; }
.steps .small { font-size: 12.5px; color: var(--sub); }
.need { margin: 10px 0 0; padding: 14px 18px 12px 2.4em; background: rgba(163,34,31,.05); font-size: 13.5px; line-height: 1.85; }

/* 奥付（連絡先） */
.colophon { padding: 26px 56px 30px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--red-deep); color: #fbf3e8; }
.colophon h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: .14em; font-weight: 800; }
.colophon h2 small { font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.colophon p { margin: 0; font-size: 13px; line-height: 1.85; color: #f1dfd2; }
.colophon .tel { display: block; font-size: 26px; font-weight: 800; letter-spacing: .06em; color: #fff; text-decoration: none; text-align: right; }
.colophon .btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.colophon .btn { padding: 9px 16px; border: 1px solid #f3dccb; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .1em; }
.colophon .btn:hover { background: rgba(255,255,255,.12); }
.sns { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; }
.sns a { color: #fff; }

/* 表紙：依頼ボタン・数字帯 */
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-main, .btn-tel {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  font-size: 15px; font-weight: 800; letter-spacing: .08em; text-decoration: none;
}
.btn-main { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-deep); }
.btn-main:hover { background: var(--red-deep); }
.btn-tel { border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.btn-tel::before { content: "☎"; margin-right: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 6px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.stats li { padding: 14px 8px 12px; text-align: center; }
.stats li + li { border-left: 1px solid var(--rule); }
.stats strong { display: block; color: var(--red); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: .02em; }
.stats strong small { font-size: 14px; margin-left: 2px; }
.stats span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--sub); }
.highlight { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.highlight div { padding: 16px 18px; background: rgba(163,34,31,.05); border-left: 3px solid var(--red); }
.highlight b { display: block; font-size: 17px; letter-spacing: .04em; margin-bottom: 4px; }
.highlight span { font-size: 13px; line-height: 1.75; color: var(--sub); }

/* 各紙の下の相談帯 */
.sheet-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  margin: 0 56px 18px; padding: 14px 16px; border: 1px dashed var(--red); background: rgba(163,34,31,.035);
  font-size: 14px;
}
.sheet-cta span { color: var(--red-deep); font-weight: 800; letter-spacing: .06em; }
.sheet-cta a { font-weight: 800; color: var(--ink); }
.sheet-cta a.c-tel { font-size: 18px; text-decoration: none; }

/* 出演実績のまとめ */
.rec-sum { margin: 4px 0 18px; padding: 16px 18px; border: 1px solid var(--rule); background: rgba(255,255,255,.5); }
.rec-sum .total { margin: 0 0 6px; font-size: 15px; }
.rec-sum .total b { font-size: 28px; color: var(--red); margin: 0 2px; }
.rec-sum .majors { margin: 0; font-size: 13.5px; line-height: 1.85; }

/* 料金の目安 */
.price { width: 100%; border-collapse: collapse; font-size: 14px; }
.price th, .price td { padding: 11px 8px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.price thead th { border-bottom: 2px solid var(--ink); font-size: 12px; color: var(--faint); letter-spacing: .12em; font-weight: 600; }
.price td.yen { text-align: right; white-space: nowrap; color: var(--red); font-size: 18px; font-weight: 800; }
.price td.yen small { font-size: 12px; color: var(--sub); font-weight: 400; }
.price td small { display: block; color: var(--sub); font-size: 12.5px; }
.tbd { position: relative; }
.tbd::after {
  content: "仮"; position: absolute; top: -10px; right: -6px; display: grid; place-items: center;
  width: 26px; height: 26px; border: 1.5px solid var(--red); border-radius: 50%; color: var(--red);
  background: var(--paper); font-size: 12px; font-weight: 800; transform: rotate(8deg);
}
.legal { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.75; }
.legal th, .legal td { padding: 8px 0; border-bottom: 1px dotted var(--rule); text-align: left; vertical-align: top; }
.legal th { width: 150px; padding-right: 12px; color: var(--red-deep); font-weight: 800; }

/* スマホ固定バー */
.mbar { display: none; }

/* ===== スマホ ===== */
@media (max-width: 720px) {
  body { padding: 0 0 40px; }
  .tabs { margin-bottom: 0; padding: 8px 10px; }
  .sheet { margin-bottom: 8px; box-shadow: 0 4px 14px rgba(60,45,30,.12); }
  .inner { padding: 28px 18px 30px; }
  .masthead { min-height: 0; margin: -28px -18px 0; padding: 300px 18px 10px; }
  .masthead .photo { width: 100%; height: 400px; object-position: 50% 25%; }
  .masthead::before { background: linear-gradient(0deg, var(--paper) 0, var(--paper) calc(100% - 400px), rgba(251,248,241,.75) calc(100% - 300px), rgba(251,248,241,0) calc(100% - 170px)); }
  .lead { max-width: none; }
  .name h1 { font-size: 52px; }
  .catch { font-size: 20px; margin-top: 16px; }
  .sheet-head h2 { font-size: 24px; }
  .sheet-head small { display: none; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two, .scenes, .toc, .assoc, .video { grid-template-columns: 1fr; }
  .photos, .photos.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { gap: 28px; }
  .art { grid-template-columns: 1fr; gap: 8px; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members figure { flex-basis: calc((100% - 14px) / 2); }
  .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log { columns: 1; }
  .class { padding: 18px 16px; }
  .spec { grid-template-columns: 1fr; gap: 0; }
  .spec dd { margin-bottom: 8px; }
  .colophon { grid-template-columns: 1fr; padding: 24px 18px 28px; }
  .colophon .tel { text-align: left; }
  .colophon .btns { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .highlight { grid-template-columns: 1fr; }
  .legal th { width: 104px; }
  .price td.yen { font-size: 16px; }
  .cta { flex-direction: column; }
  .sheet-cta { margin: 0 18px 16px; }
  body { padding-bottom: 76px; }
  .mbar {
    position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(251,248,241,.97);
    box-shadow: 0 -4px 14px rgba(60,45,30,.15);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 15px; font-weight: 800; text-decoration: none; }
  .mbar .m-tel { border: 1.5px solid var(--ink); color: var(--ink); }
  .mbar .m-mail { background: var(--red); color: #fff; }
}

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff; padding: 0; }
  .tabs, .mbar, .sheet-cta, .cta { display: none; }
  .sheet { max-width: none; margin: 0; box-shadow: none; break-after: page; }
  .sheet::before, .colophon { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .years details > * { display: block; }
}

/* 教室の申し込み */
.apply { margin-top: 18px; padding: 14px 16px; border: 1px dashed var(--red); background: rgba(163,34,31,.04); }
.apply p { margin: 0 0 10px; font-size: 13.5px; }
.apply p b { color: var(--red); }
.apply-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.apply-main, .apply-tel { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; font-weight: 800; font-size: 14.5px; letter-spacing: .06em; text-decoration: none; }
.apply-main { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-deep); }
.apply-main:hover { background: var(--red-deep); }
.apply-tel { border: 1.5px solid var(--ink); color: var(--ink); background: var(--paper); }
@media (max-width: 720px) { .apply-btns { flex-direction: column; } }
@media print { .apply-btns { display: none; } }

/* お問い合わせフォーム */
.inq { padding: 22px 22px 18px; border: 1px solid var(--rule); background: #fff; }
.inq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-kind { margin: 0 0 16px; padding: 0; border: 0; }
.inq-kind legend { margin-bottom: 8px; font-weight: 800; font-size: 14px; }
.inq-kind label { display: inline-block; margin: 0 6px 6px 0; }
.inq-kind input { position: absolute; opacity: 0; }
.inq-kind span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--rule); background: var(--paper); font-size: 14px; cursor: pointer; }
.inq-kind input:checked + span { border-color: var(--red); background: var(--red); color: #fff; font-weight: 800; }
.inq-kind input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.inq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.inq-f { display: block; margin-bottom: 14px; }
.inq-f span { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 800; }
.inq em, .inq-kind em { margin-left: 6px; padding: 0 6px; background: var(--red); color: #fff; font-style: normal; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.inq input[type=text], .inq input[type=tel], .inq input[type=email], .inq textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--rule); background: var(--paper);
  font: inherit; font-size: 16px; color: var(--ink);
}
.inq textarea { line-height: 1.8; resize: vertical; }
.inq input:focus, .inq textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.inq-note, .inq-privacy { margin: -6px 0 14px; font-size: 12.5px; color: var(--sub); }
.inq-privacy { margin: 0 0 14px; }
.inq-send { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
/* ご用件に合わせて欄を出し分け */
.inq-lesson { display: none; }
.inq:has(input[value="lesson"]:checked) .inq-lesson { display: block; }
.inq:has(input[value="lesson"]:checked) .inq-booking,
.inq:has(input[value="goods"]:checked) .inq-booking,
.inq:has(input[value="other"]:checked) .inq-booking { display: none; }
.apply-mail { margin: 8px 0 0 !important; font-size: 12.5px !important; color: var(--sub); }
.notecard { text-align: center; padding: 60px 30px; }
.note-title { margin: 0 0 18px; font-size: 24px; letter-spacing: .1em; }
.notecard .btn-main { margin-top: 10px; }
@media (max-width: 720px) {
  .inq { padding: 16px 14px; }
  .inq-grid { grid-template-columns: 1fr; }
}
@media print { .inq { display: none; } }

/* ───── 写真の拡大表示（写真プリント風）───── */
[data-lb] { cursor: zoom-in; }
img[data-lb] { transition: transform .2s, box-shadow .2s; }
img[data-lb]:hover, img[data-lb]:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(60,45,30,.18); outline: none; }
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 56px 64px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(80,62,44,.55), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 2px, transparent 2px 7px),
    rgba(28,22,17,.92);
}
.lb.on { display: flex; }
.lb-print {
  --tilt: 0deg;
  position: relative; margin: 0; padding: 14px 14px 0; max-width: min(92vw, 1100px);
  background: #fdfbf6; box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 18px 50px rgba(0,0,0,.45);
  transform: rotate(var(--tilt));
}
.lb-print.in { animation: lb-in .28s ease-out; }
@keyframes lb-in {
  from { opacity: 0; transform: translateY(18px) rotate(calc(var(--tilt) - 2deg)) scale(.97); }
  to { opacity: 1; transform: rotate(var(--tilt)); }
}
.lb-print::before { /* 留めテープ */
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(232,220,190,.75); box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.lb-photo img { display: block; max-width: 100%; max-height: calc(100vh - 230px); margin: 0 auto; object-fit: contain; background: #eee; }
.lb-print figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 58px; padding: 12px 4px 14px;
  font-family: "Klee One", "Shippori Mincho", serif; font-weight: 600; font-size: 18px; color: #3a3028; line-height: 1.5;
}
.lb-count { flex: none; font-size: 13px; color: #8a7f72; letter-spacing: .1em; }
.lb-act {
  display: block; margin: 0 4px 14px; padding: 12px; background: var(--red); color: #fff; text-align: center;
  font-family: "Shippori Mincho", serif; font-weight: 800; letter-spacing: .08em; text-decoration: none;
}
.lb-act:hover { background: var(--red-deep); }
.lb-act[hidden] { display: none; }
html.lb-open .mbar, html.lb-open .tabs, html.lb-open .mhead { visibility: hidden; }
.lb-close, .lb-nav {
  position: absolute; display: grid; place-items: center; border: 0; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.12); font-family: system-ui, sans-serif; line-height: 1;
}
.lb-close { top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; }
.lb-nav { top: 50%; width: 48px; height: 72px; margin-top: -36px; font-size: 40px; border-radius: 6px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-nav[hidden] { display: none; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb button:focus-visible, .lb a:focus-visible { outline: 2px solid #f3dccb; outline-offset: 2px; }
@media (max-width: 720px) {
  .lb { padding: 64px 10px 72px; }
  .lb-print { padding: 8px 8px 0; max-width: 96vw; }
  .lb-photo img { max-height: calc(100vh - 260px); }
  .lb-print figcaption { font-size: 15px; min-height: 48px; padding: 10px 2px 12px; }
  .lb-nav { top: auto; bottom: 14px; margin: 0; width: 56px; height: 44px; font-size: 30px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) { .lb-print.in { animation: none; } img[data-lb] { transition: none; } }
@media print { .lb { display: none !important; } }

/* SNS・公式アカウント（ボタン） */
.sns-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sns-btn {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px;
  border: 1px solid var(--rule); background: #fff; color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sns-btn:hover { border-color: currentColor; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(60,45,30,.1); }
.sns-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; }
.sns-ic svg { width: 30px; height: 30px; }
.sns-tx { min-width: 0; }
.sns-tx b { display: block; font-size: 15px; letter-spacing: .04em; }
.sns-tx small { display: block; font-size: 11.5px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sns-instagram .sns-ic { color: #c13584; }
.sns-tiktok .sns-ic { color: #111; }
.sns-line .sns-ic { color: #06c755; }
.sns-youtube .sns-ic { color: #e62117; }
.sns-facebook .sns-ic { color: #1877f2; }
.sns-x .sns-ic { color: #111; }
.sns-web .sns-ic { color: var(--sub); }
/* LINE の QR は PC だけ */
.line-qr { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 14px 16px; border: 1px dashed #06c755; background: #fff; }
.line-qr .sns-qr { flex: none; width: 112px; aspect-ratio: 1; }
.line-qr .sns-qr img, .line-qr .sns-qr svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.line-qr p { margin: 0; font-size: 13.5px; line-height: 1.8; }
.line-qr b { color: #06a347; }
/* 一番下の帯の SNS アイコン */
.colophon .sns { gap: 8px; }
.colophon .sns a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.colophon .sns a:hover { background: rgba(255,255,255,.28); }
.colophon .sns svg { width: 20px; height: 20px; }
.colophon .sns svg text { fill: var(--red-deep); }
.colophon .sns svg path[fill="#fff"] { fill: var(--red-deep); }
@media (max-width: 720px) {
  .sns-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sns-btn { padding: 10px; gap: 8px; }
  .line-qr { display: none; }
}
@media print { .line-qr { display: none; } }

/* 表紙：題字の読み */
.yomi { margin: 6px 0 0; font-size: 13px; letter-spacing: .22em; color: var(--sub); }

/* ロゴ */
.name .logo-mark { flex: none; width: 64px; height: auto; margin-bottom: 2px; }
.colo-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.colo-logo img { display: block; width: 240px; height: auto; }
.colo-logo small { font-size: 13px; font-weight: 400; letter-spacing: .08em; }
@media (max-width: 720px) { .name .logo-mark { width: 46px; } .colo-logo img { width: 210px; } }

/* 写真館 */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.album-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ece5d8; border: 6px solid #fff; box-shadow: 0 2px 6px rgba(60,45,30,.14); }
.album-grid figcaption b { color: var(--red); margin-right: 4px; }
@media (max-width: 720px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* 出演実績の写真 */
.perf-photo { margin-left: 4px; text-decoration: none; font-size: 14px; }
.perf-photo:hover { opacity: .7; }

/* 写真館：切り替えボタンと分類の札 */
.album-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.album-filter button { padding: 7px 14px; border: 1.5px solid var(--rule); background: #fff; color: var(--sub); font: inherit; font-size: 14px; cursor: pointer; }
.album-filter button small { margin-left: 6px; font-size: 11px; color: var(--faint); }
.album-filter button.on { border-color: var(--red); background: var(--red); color: #fff; font-weight: 800; }
.album-filter button.on small { color: #f3dccb; }
.album-tag { display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid var(--rule); font-size: 11px; color: var(--faint); }
.to-album { display: block; margin-top: 20px; padding: 14px 16px; border: 1px dashed var(--red); background: rgba(163,34,31,.04); color: var(--red-deep); font-weight: 800; text-align: center; text-decoration: none; }
.to-album:hover { background: rgba(163,34,31,.09); }

/* 一番下：著作権表示と制作者クレジット */
.colophon .copyright { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 11.5px; letter-spacing: .06em; color: rgba(251,243,232,.7); }
.colophon .credit a { color: rgba(251,243,232,.85); text-decoration: none; font-family: Georgia, "Times New Roman", serif; letter-spacing: .08em; }
.colophon .credit a:hover { color: #fff; text-decoration: underline; }

/* 紙と紙のあいだの制作者クレジット */
.sheet-credit { max-width: 820px; margin: 0 auto 42px; padding: 0 4px; text-align: right; font-size: 11px; letter-spacing: .08em; }
.sheet-credit a { color: #8f8577; text-decoration: none; font-family: Georgia, "Times New Roman", serif; }
.sheet-credit a:hover { color: var(--red); text-decoration: underline; }
@media (max-width: 720px) { .sheet-credit { margin-bottom: 18px; padding: 0 12px; } }
@media print { .sheet-credit { display: none; } }

/* 奥付：右側の連絡先を枠でまとめ、左とつり合わせる */
.colophon { gap: 24px 48px; }
.colo-contact { min-width: 300px; padding: 20px 24px 22px; border: 1px solid rgba(243,220,203,.45); background: rgba(0,0,0,.12); }
.colophon .colo-label { margin: 0 0 4px; font-size: 12.5px; letter-spacing: .14em; color: #f1dfd2; text-align: center; }
.colophon .colo-contact .tel { text-align: center; font-size: 30px; line-height: 1.3; }
.colophon .colo-contact .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.colophon .colo-contact .btn { text-align: center; padding: 10px 8px; white-space: nowrap; }
.colophon .colo-contact .btn-fill { background: #fbf3e8; border-color: #fbf3e8; color: var(--red-deep); font-weight: 700; }
.colophon .colo-contact .btn-fill:hover { background: #fff; }
@media (max-width: 720px) {
  .colo-contact { min-width: 0; padding: 16px; }
  .colophon .colo-contact .tel { font-size: 26px; }
}
@media (max-width: 720px) {
  .colophon .colo-contact .btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon .colo-contact .btn { white-space: normal; padding: 10px 4px; font-size: 12.5px; letter-spacing: .04em; }
}

/* ===== スマホ表示の見直し（2026-11-07） ===== */
.toc a span { flex: none; width: auto; min-width: 1.6em; white-space: nowrap; }
@media (max-width: 720px) {
  /* 下の固定バー（電話・問い合わせ）があるので、各紙ごとの相談枠は出さない */
  .sheet-cta { display: none; }
  /* 料金表：見出しと金額を1行に収める */
  .price thead th { letter-spacing: .02em; white-space: nowrap; }
  .tbd .price thead th:last-child { padding-right: 24px; }
  .price th, .price td { padding: 11px 4px; }
  .price tbody th { width: 5.2em; }
  .price td.yen small { display: inline; margin-left: 1px; }
  /* 会社概要・特定商取引法：項目名を上、内容を下に */
  .legal tr, .company tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .legal th, .legal td, .company th, .company td { display: block; width: auto; padding: 0; border: 0; }
  .legal th, .company th { margin-bottom: 2px; font-size: 12.5px; letter-spacing: .08em; }
  /* 賞状：余白が大きすぎないように */
  .docs img { aspect-ratio: 1 / 1; }
  /* 写真館の分類ボタン：1行に収める */
  .album-filter { gap: 6px; }
  .album-filter button { padding: 6px 10px; font-size: 13px; }
  .album-filter button small { margin-left: 4px; }
  .to-album { font-size: 14px; padding: 12px 10px; }
}
@media (max-width: 720px) {
  .price tbody th { width: 6.2em; }
  .sns-btn { gap: 8px; padding: 10px; }
  .sns-tx b { font-size: 14px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== スマホ：上の名前の帯と「目次」 ===== */
.mhead, .mtoc { display: none; }
.mh-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.mh-brand img { width: 30px; height: 30px; flex: none; }
.mh-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.mh-brand b { font-size: 17px; letter-spacing: .14em; font-weight: 800; }
.mh-brand small { margin-top: 2px; font-size: 8.5px; letter-spacing: .18em; color: var(--sub); }
@media (max-width: 720px) {
  .tabs { display: none; }
  .mhead {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px;
    height: 54px; padding: 0 8px 0 12px; background: rgba(251,248,241,.97);
    border-bottom: 3px solid var(--red); box-shadow: 0 2px 8px rgba(60,45,30,.12);
  }
  .mh-now { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--sub); }
  .mh-now b { margin-right: 4px; color: var(--red); }
  .mh-btn {
    flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 54px; height: 44px; border: 0; background: var(--red); color: #fff;
    font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .1em; cursor: pointer;
  }
  .mh-btn i { display: block; width: 18px; height: 2px; margin: 6px 0 6px; background: #fff; box-shadow: 0 5px 0 #fff, 0 -5px 0 #fff; }
  .sheet, [id] { scroll-margin-top: 62px; }

  /* 目次（全画面の一覧） */
  .mtoc { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--paper); }
  .mtoc[hidden] { display: none; }
  html.mtoc-open { overflow: hidden; }
  .mt-top { flex: none; display: flex; align-items: center; height: 57px; padding: 0 8px 0 12px; border-bottom: 3px solid var(--red); }
  .mt-close { margin-left: auto; padding: 0 12px; height: 44px; border: 1.5px solid var(--ink); background: none; color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; }
  .mt-list { flex: 1; overflow-y: auto; margin: 0; padding: 6px 18px; list-style: none; }
  .mt-list a { display: flex; align-items: baseline; gap: 12px; padding: 12px 6px; border-bottom: 1px dotted var(--rule); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
  .mt-list a span { min-width: 2.2em; color: var(--red); font-weight: 800; white-space: nowrap; }
  .mt-list a em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--faint); font-weight: 400; white-space: nowrap; }
  .mt-list a.on { background: var(--red); color: #fff; padding-left: 12px; }
  .mt-list a.on span, .mt-list a.on em { color: #fbe3d6; }
  .mt-cta { flex: none; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); }
  .mt-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 15px; font-weight: 800; text-decoration: none; }
  .mt-cta .m-tel { border: 1.5px solid var(--ink); color: var(--ink); }
  .mt-cta .m-mail { background: var(--red); color: #fff; }
}
@media print { .mhead, .mtoc { display: none !important; } }
