/* 美禅 2027 イベント募集サイト 共通スタイル
   ブランド: 墨 / 生成り / 深縹 / 利休鼠 / 朱華 / 白磁 + Noto Serif JP / Noto Sans JP */
:root {
  --sumi: #1A1A1A;
  --kinari: #F5F1EA;
  --hanada: #1F3A5F;
  --rikyu: #888E7E;
  --hanezu: #E8A0A0;
  --hakuji: #FAFAF7;
  --kobai: #DC8290;
  --sakura: #FCE9F1;
  --ink-2: #4a4a46;
  --line: #ddd7cc;
  /* ページごとに上書きするテーマ色 */
  --accent: var(--hanada);
  --accent-soft: #e6ebf1;
  --bg: var(--kinari);
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  --gutter: 20px;
  --maxw: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--sumi);
  font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; letter-spacing: .06em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: 64px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-label {
  display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .3em;
  color: var(--accent); margin-bottom: 10px; text-transform: uppercase;
}
.sec h2 { font-size: 24px; margin-bottom: 28px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; line-height: 1.8; }
.tbc { /* 確認中の印 */
  display: inline-block; background: #fff3c4; color: #6b4e00; border: 1px dashed #c9a227;
  font-size: 12px; padding: 0 8px; border-radius: 4px; letter-spacing: .05em; font-weight: 700;
}

/* ヘッダー */
.site-head {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.brand { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--sumi); text-decoration: none; }
.brand small { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--rikyu); margin-left: 8px; }
.head-link { font-size: 13px; text-decoration: none; color: var(--ink-2); }

/* ボタン */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 56px; padding: 12px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .08em; text-align: center; line-height: 1.4;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-member { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .05em; opacity: .9; }
.btn .arrow { font-family: var(--sans); }

/* 料金 */
.price-box { background: var(--hakuji); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-of-type { border-bottom: none; }
.price-row .lbl { font-size: 14px; }
.price-row .val { font-family: var(--serif); font-size: 28px; font-weight: 600; white-space: nowrap; }
.price-row .val small { font-family: var(--sans); font-size: 12px; font-weight: 400; margin-left: 2px; }
.price-row.member .lbl b { color: #b4505f; }
.price-row.member .val { color: #b4505f; }
.badge-off { display: inline-block; background: var(--hanezu); color: #fff; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 0 8px; margin-left: 6px; letter-spacing: .05em; }
.cta-stack { display: grid; gap: 12px; margin-top: 20px; }
.note-list { margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.note-list li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 4px; }
.note-list li::before { content: '※'; }

/* 定義リスト(開催概要) */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--ink-2); letter-spacing: .1em; }
.facts dd { margin: 0; font-weight: 500; }

/* 学ぶことリスト */
.learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: lrn; }
.learn li { background: var(--hakuji); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px 60px; position: relative; counter-increment: lrn; }
.learn li::before {
  content: counter(lrn, decimal-leading-zero); position: absolute; left: 18px; top: 16px;
  font-family: var(--serif); font-size: 20px; color: var(--accent);
}
.learn h3 { font-size: 17px; margin-bottom: 6px; }
.learn p { margin: 0; font-size: 15px; color: var(--ink-2); }

.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check li { padding-left: 1.8em; position: relative; }
.check li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* 写真差し替え枠 */
.photo-slot {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end; padding: 14px;
}
.photo-slot .slot-cap { display: none; } /* 公開中は「写真差し替え枠」の文字を出さない（写真を入れたら枠ごと差し替え） */

/* よくある質問 */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 2.2em; position: relative; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 0; top: 16px; font-family: var(--serif); color: var(--accent); font-size: 18px; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 22px; color: var(--rikyu); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px 2.2em; color: var(--ink-2); font-size: 15px; }

/* スマホ下部固定の申込バー */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--hakuji) 94%, transparent); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.sticky-cta .p { font-size: 12px; line-height: 1.4; white-space: nowrap; }
.sticky-cta .p b { font-family: var(--serif); font-size: 18px; }
.sticky-cta .btn { min-height: 48px; font-size: 15px; }
body.has-sticky { padding-bottom: 84px; }

/* フッター */
.site-foot { padding: 40px 0 56px; text-align: center; font-size: 12px; color: var(--rikyu); border-top: 1px solid var(--line); }
.site-foot a { color: var(--ink-2); }
.other-events { display: grid; gap: 10px; margin: 0 0 24px; }
.other-events a { display: block; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--sumi); background: var(--hakuji); font-size: 14px; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .sec { padding: 96px 0; }
  .sec h2 { font-size: 30px; }
  .cta-stack { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
