/* ============================================================
   青森県中小企業家同友会 リニューアル デザインデモ（v2：白基調）
   レイアウトの考え方：白い紙面と広い余白。色は面に塗らず、細い線・小さな丸矢印・文字だけに使う。
   期限のある行事は切り取り線のついた「チケット」、会報は「原稿用紙のマス目」で静かに動かす。
   ============================================================ */
:root {
  /* color */
  --paper: #ffffff;            /* 地 */
  --tint: #f7f9f7;             /* ごく淡い緑がかった白（帯・フッター） */
  --tint-2: #eff4f1;           /* 仮枠・タグの地 */
  --ink: #2b3430;              /* 本文（真っ黒にしない） */
  --ink-2: #5b6862;            /* 補足 */
  --ink-3: #8a958f;            /* キャプション */
  --line: #e4eae6;             /* 罫線 */
  --line-2: #cdd8d1;           /* ボタン・入力欄の枠 */
  --accent: #33805f;           /* アクセント（1色のみ） */
  --accent-soft: #e8f2ec;      /* アクセントのごく淡い色 */
  --marker: rgba(51, 128, 95, .16);
  --on-accent: #ffffff;
  --alert: #c0563f;            /* 締切間近の文字だけに使う */
  --shadow: 0 12px 36px rgba(43, 70, 56, .07);
  --shadow-sm: 0 4px 16px rgba(43, 70, 56, .06);

  /* type */
  --f-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-latin: "Lato", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem;
  --fs-lg: 1.3125rem; --fs-xl: 1.625rem; --fs-2xl: 2rem;

  /* shape */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
  --wrap: 1100px;
  --head-h: 80px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141917; --tint: #19201d; --tint-2: #212a26; --ink: #e6ece9; --ink-2: #b6c2bc; --ink-3: #8d9a93;
    --line: #2a342f; --line-2: #3a4741; --accent: #7cc3a2; --accent-soft: #1d2d26; --marker: rgba(124, 195, 162, .22); --on-accent: #10201a;
    --alert: #ef977f; --shadow: 0 12px 36px rgba(0, 0, 0, .35); --shadow-sm: 0 4px 16px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141917; --tint: #19201d; --tint-2: #212a26; --ink: #e6ece9; --ink-2: #b6c2bc; --ink-3: #8d9a93;
  --line: #2a342f; --line-2: #3a4741; --accent: #7cc3a2; --accent-soft: #1d2d26; --marker: rgba(124, 195, 162, .22); --on-accent: #10201a;
  --alert: #ef977f; --shadow: 0 12px 36px rgba(0, 0, 0, .35); --shadow-sm: 0 4px 16px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.9; letter-spacing: .05em; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.55; letter-spacing: .08em; margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-family: var(--f-latin); font-variant-numeric: tabular-nums; letter-spacing: .03em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * max(24px, env(safe-area-inset-left, 0px))); margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: calc(800px + 48px); }
@media (max-width: 600px) { .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); } }

.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(52px, 7vw, 88px); }
.panel-band { background: var(--tint); }

/* demo notice */
.demo-bar { background: var(--tint); color: var(--ink-3); font-size: .75rem; text-align: center; padding: 6px 16px; letter-spacing: .08em; border-bottom: 1px solid var(--line); }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__in { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.3; flex-shrink: 0; }
.brand__tag { font-size: .6875rem; color: var(--ink-3); letter-spacing: .14em; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .1em; color: var(--ink); }
.brand__name b { font-weight: 700; color: var(--accent); }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gnav a { position: relative; text-decoration: none; font-size: var(--fs-sm); padding: 8px 12px; white-space: nowrap; color: var(--ink); }
.gnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .3s; }
.gnav a:hover { color: var(--accent); } .gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--accent); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.login-pill { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: var(--fs-xs); letter-spacing: .06em; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 16px; white-space: nowrap; background: var(--paper); transition: border-color .25s, color .25s; }
.login-pill:hover { border-color: var(--accent); color: var(--accent); }
.login-pill svg { width: 15px; height: 15px; color: var(--accent); }
.menu-btn { display: none; width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; }
.menu-btn small { font-family: var(--f-latin); font-size: 8px; letter-spacing: .12em; line-height: 1; margin-top: 1px; color: var(--ink-3); }
@media (max-width: 1180px) { .gnav { display: none; } .menu-btn { display: inline-flex; } .head-actions { margin-left: auto; } }
@media (max-width: 600px) { .head-actions .btn--head { display: none; } .brand__name { font-size: 1rem; } :root { --head-h: 66px; } .menu-btn { width: 46px; height: 46px; } .site-head__in { gap: 12px; } .login-pill { padding: 7px 12px; } }
@media (max-width: 440px) { .login-pill { display: none; } .brand__tag { font-size: .625rem; letter-spacing: .06em; } }

/* ---------- drawer (hamburger) ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.drawer__close { width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__body { display: grid; gap: 28px; padding-block: 8px 24px; }
.drawer__search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 6px 4px 20px; }
.drawer__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 11px 0; color: var(--ink); }
.drawer__search input:focus { outline: none; }
.drawer__search button { border: 0; background: transparent; color: var(--accent); width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; }
.drawer__search svg { width: 19px; height: 19px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 20px 4px; font-family: var(--f-display); font-weight: 700; font-size: var(--fs-md); letter-spacing: .08em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 16px; height: 16px; position: relative; flex-shrink: 0; color: var(--accent); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: currentColor; transition: transform .3s; }
.acc summary .pm::after { transform: rotate(90deg); }
.acc details[open] summary .pm::after { transform: rotate(0); }
.acc ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; padding: 0 4px 20px; }
.acc ul a { display: block; padding: 8px 0; text-decoration: none; font-size: var(--fs-sm); color: var(--ink-2); }
.acc ul a:hover { color: var(--accent); }
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.who a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-size: var(--fs-sm); }
.who a svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.drawer__cta { display: grid; gap: 10px; }
.cta-bar { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px 18px; font-weight: 500; }
.cta-bar--ink { background: var(--tint); }
.cta-bar span { flex: 1; }
.cta-bar small { display: block; font-weight: 400; font-size: .75rem; color: var(--ink-3); }
.cta-bar svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
body.no-scroll { overflow: hidden; }

/* ---------- buttons（白地＋細い枠の角丸。色は丸い矢印だけ） ---------- */
.btn { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; cursor: pointer; border-radius: var(--r-pill);
  background: var(--paper); color: var(--accent); border: 1px solid var(--accent); font-weight: 500; font-size: var(--fs-sm); letter-spacing: .08em;
  min-height: 56px; padding: 8px 10px 8px 28px; transition: box-shadow .3s, background .3s; }
.btn__label { white-space: nowrap; }
.btn__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; flex-shrink: 0; transition: background .3s, color .3s; }
.btn__arrow svg { width: 15px; height: 15px; transition: transform .3s; }
.btn:hover { box-shadow: var(--shadow-sm); }
.btn:hover .btn__arrow { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn:hover .btn__arrow svg { transform: translateX(2px); }
.btn--ghost, .btn--ink, .btn--line { color: var(--ink); border-color: var(--line-2); }
.btn--ghost .btn__arrow, .btn--ink .btn__arrow, .btn--line .btn__arrow { color: var(--accent); border-color: var(--accent); }
.btn--wide { width: 100%; justify-content: space-between; }
.btn--head { min-height: 44px; font-size: var(--fs-xs); padding: 6px 8px 6px 18px; gap: 10px; } .btn--head .btn__arrow { width: 28px; height: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-sm); text-decoration: none; color: var(--ink); }
.text-link .circ { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; transition: background .25s, color .25s; }
.text-link .circ svg { width: 13px; height: 13px; }
.text-link:hover .circ { background: var(--accent); color: var(--on-accent); }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; font-size: .6875rem; letter-spacing: .08em; line-height: 1; padding: 6px 10px; border-radius: 4px;
  color: var(--accent); background: var(--accent-soft); white-space: nowrap; }
.tag--fill, .tag--soft { color: var(--accent); background: var(--accent-soft); }
.tag--ink { color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); padding: 5px 9px; }
.tag--alert { color: var(--alert); background: transparent; border: 1px solid currentColor; padding: 5px 9px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- section heading（和文が主役。英字は小さく添える） ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head__en { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-latin); font-weight: 700; font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.sec-head__en::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.sec-head__ja { display: block; margin-top: 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .1em; }
.sec-head__lead { margin-top: 16px; color: var(--ink-2); max-width: 38em; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }

/* ---------- loading (TOP only) ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: grid; place-items: center; transition: opacity .7s ease, visibility 0s .7s; }
.loader::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 25% 25%; background-position: center; opacity: .6; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { position: relative; display: grid; justify-items: center; gap: 16px; }
.loader__ring { width: 64px; height: 64px; }
.loader__ring circle { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: ring 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.loader__ring .dot { fill: var(--accent); stroke: none; opacity: 0; animation: pop .3s .9s forwards; }
.loader__word { font-family: var(--f-display); font-weight: 500; letter-spacing: .4em; text-indent: .4em; font-size: var(--fs-sm); color: var(--ink-2); opacity: 0; animation: fadeup .6s .7s forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(32px, 6vw, 72px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__eyebrow { display: inline-flex; gap: 12px; align-items: center; font-size: var(--fs-xs); color: var(--accent); letter-spacing: .16em; margin-bottom: 26px; }
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__copy { display: grid; gap: 4px; justify-items: start; }
.hero__line { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.875rem, 4.1vw, 3.125rem); line-height: 1.5; letter-spacing: .1em; }
.hero__line em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 64%, var(--marker) 64%); padding: 0 .06em; }
.hero__sub { margin-top: 28px; max-width: 30em; color: var(--ink-2); line-height: 2.05; }
.hero__sub strong { color: var(--ink); font-weight: 500; }
.hero .btn-row { margin-top: 36px; }
.hero__art { position: relative; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 42%, var(--accent-soft), transparent 70%); opacity: .8; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__art { order: -1; } }

/* 文字アニメ：1字ずつ、うすい原稿用紙のマス目に入っていく */
.chars .ch { display: inline-block; position: relative; }
html.js .chars.is-play .ch { animation: chIn .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 50ms + var(--d, 0ms)); }
html.js .chars.is-play .ch::after { content: ""; position: absolute; inset: .02em -.03em; border: 1px solid var(--line-2); opacity: 0; pointer-events: none;
  animation: chBox 1s ease both; animation-delay: calc(var(--i) * 50ms + var(--d, 0ms)); }
@keyframes chIn { from { opacity: 0; transform: translateY(.25em); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes chBox { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }

/* reveal：常に見えている状態から、少しだけ浮き上がる */
html.js .rv { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
html.js .rv:not(.is-in) { transform: translateY(16px); }

/* ---------- illustration / photo slots ---------- */
.illust { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.illust img { width: 100%; height: 100%; object-fit: contain; }
.ph { position: relative; display: grid; place-items: center; text-align: center; width: 100%; aspect-ratio: var(--ar, 4 / 3); max-width: 100%;
  border-radius: var(--r-lg); color: var(--ink-3); font-size: .75rem; line-height: 1.7; padding: 16px; background: var(--tint); border: 1px dashed var(--line-2); }
.ph b { display: block; color: var(--accent); font-family: var(--f-latin); letter-spacing: .12em; font-size: .6875rem; margin-bottom: 2px; }
.ph--photo { background: var(--tint-2); border-style: solid; border-color: var(--line); }
.photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: var(--ar, 4 / 3); background: var(--tint-2); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.illust.photo img { object-fit: cover; }
.cap { font-size: .75rem; color: var(--ink-3); margin-top: 8px; }

/* ---------- wave divider ---------- */
.wave { display: block; width: 100%; height: clamp(24px, 4vw, 56px); color: var(--tint); }
.wave--flip { transform: scaleY(-1); }
.wave path { fill: currentColor; }

/* ---------- entrance split ---------- */
.entrance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 24px; align-items: center; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 32px 32px 36px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s; }
.door:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.door__label { font-family: var(--f-latin); font-weight: 700; font-size: .6875rem; letter-spacing: .22em; color: var(--accent); }
.door h3 { font-size: var(--fs-lg); margin-top: 6px; }
.door p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 8px; }
.door .text-link { margin-top: 16px; }
.door .ph, .door .illust { --ar: 1 / 1; border-radius: 50%; }
@media (max-width: 800px) { .entrance { grid-template-columns: minmax(0, 1fr); } .door { grid-template-columns: minmax(0, 1fr) 92px; padding: 24px; } }

/* ---------- ticket（行事・例会）：白地＋切り取り線 ---------- */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.ticket-wrap { min-width: 0; container: tk / inline-size; filter: drop-shadow(0 4px 14px rgba(43, 70, 56, .07)); }
.ticket { --stub: 124px; --n: 10px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); background: var(--paper);
  border-radius: var(--r-md); text-decoration: none; color: var(--ink); min-height: 100%;
  -webkit-mask: radial-gradient(circle var(--n) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--n) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--n) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--n) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket__main { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; padding: 24px 22px 24px 24px; }
.date-badge { width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-content: center; text-align: center; line-height: 1; }
.date-badge .m { font-family: var(--f-latin); font-weight: 700; font-size: 1.3125rem; letter-spacing: 0; }
.date-badge .m small { font-size: .75rem; margin: 0 1px; }
.date-badge .w { font-size: .625rem; margin-top: 5px; letter-spacing: .1em; color: var(--ink-2); }
.ticket__body { min-width: 0; display: grid; gap: 6px; align-content: start; }
.ticket__title { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.6; transition: color .25s; }
.ticket__sub { font-size: .8125rem; color: var(--ink-2); }
.ticket__meta { display: grid; gap: 2px; font-size: .8125rem; color: var(--ink-2); margin-top: 4px; }
.ticket__meta span { display: flex; gap: 6px; }
.ticket__meta svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 5px; color: var(--accent); }
.ticket__stub { border-left: 1px dashed var(--line-2); display: grid; align-content: center; justify-items: center; gap: 4px; padding: 16px 10px; text-align: center; }
.ticket__stub .lbl { font-size: .625rem; letter-spacing: .14em; color: var(--ink-3); }
.ticket__stub .dl { font-family: var(--f-latin); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.ticket__stub .dl small { font-family: var(--f-body); font-weight: 400; }
.ticket__stub .left { font-size: .6875rem; color: var(--accent); min-height: 1em; }
.ticket__stub .go { margin-top: 8px; white-space: nowrap; font-size: .6875rem; letter-spacing: .06em; color: var(--accent); border: 1px solid var(--accent); border-radius: var(--r-pill); padding: 5px 12px; }
.ticket.is-urgent .ticket__stub .left, .ticket.is-urgent .ticket__stub .dl { color: var(--alert); }
.ticket.is-closed { opacity: .55; }
.ticket.is-closed .ticket__stub .go { color: var(--ink-3); border-color: var(--line-2); }
.ticket:hover .ticket__title { color: var(--accent); }
@container tk (max-width: 470px) {
  .ticket { --stubh: 72px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto var(--stubh);
    -webkit-mask: radial-gradient(circle var(--n) at 0 calc(100% - var(--stubh)), #0000 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--n) at 100% calc(100% - var(--stubh)), #0000 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--n) at 0 calc(100% - var(--stubh)), #0000 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--n) at 100% calc(100% - var(--stubh)), #0000 98%, #000) right / 51% 100% no-repeat; }
  .ticket__main { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 20px 18px; }
  .date-badge { width: 58px; height: 58px; } .date-badge .m { font-size: 1.125rem; }
  .ticket__stub { border-left: 0; border-top: 1px dashed var(--line-2); grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; padding: 0 18px; text-align: left; }
  .ticket__stub .go { margin: 0 0 0 auto; }
  .ticket__stub .lbl, .ticket__stub .dl, .ticket__stub .left { white-space: nowrap; }
}
/* サイドバーなど狭い枠：日付バッジを上に、締切は2段に */
@container tk (max-width: 340px) {
  .ticket { --stubh: 84px; }
  .ticket__main { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 16px 14px; }
  .date-badge { width: auto; height: auto; border-radius: var(--r-pill); padding: 5px 12px; display: inline-flex; gap: 8px; align-items: baseline; justify-self: start; }
  .date-badge .w { margin-top: 0; }
  .ticket__stub { grid-auto-flow: row; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "lbl dl" "left go"; align-content: center; row-gap: 6px; column-gap: 10px; padding: 10px 16px; }
  .ticket__stub .lbl { grid-area: lbl; } .ticket__stub .dl { grid-area: dl; font-size: 1.0625rem; }
  .ticket__stub .left { grid-area: left; } .ticket__stub .go { grid-area: go; justify-self: end; margin: 0; }
}
h1, h2, h3, .ticket__title { word-break: auto-phrase; }

/* ---------- news list（お知らせ） ---------- */
.news { list-style: none; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 108px 96px minmax(0, 1fr) 24px; gap: 18px; align-items: center; padding: 22px 8px; text-decoration: none; }
.news time { font-family: var(--f-latin); font-size: var(--fs-sm); color: var(--ink-3); }
.news .ttl { transition: color .25s; }
.news a:hover .ttl { color: var(--accent); }
.news svg { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 700px) { .news a { grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; } .news .ttl { grid-column: 1 / -1; } .news svg { display: none; } }

/* ---------- report cards（開催報告） ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 36px 28px; }
.card { display: grid; gap: 12px; align-content: start; text-decoration: none; min-width: 0; }
.card .photo, .card .ph { --ar: 3 / 2; border-radius: var(--r-md); }
.card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card__meta time { font-family: var(--f-latin); font-size: .8125rem; color: var(--ink-3); }
.card h3 { font-size: var(--fs-base); line-height: 1.7; transition: color .25s; }
.card p { font-size: var(--fs-sm); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--accent); }
.card .photo img { transition: transform .8s ease; }
.card:hover .photo img { transform: scale(1.03); }
.report-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 48px; text-decoration: none; }
.report-feature .photo { --ar: 16 / 10; border-radius: var(--r-lg); }
.report-feature h3 { font-size: var(--fs-lg); margin-top: 12px; }
.report-feature p { color: var(--ink-2); margin-top: 12px; }
@media (max-width: 800px) { .report-feature { grid-template-columns: minmax(0, 1fr); } }

/* ---------- merits ---------- */
.merits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.merit { display: grid; gap: 14px; align-content: start; text-align: center; }
.merit .ph, .merit .illust { --ar: 4 / 3; border-radius: var(--r-lg); }
.merit__k { font-family: var(--f-latin); font-weight: 700; color: var(--accent); font-size: .6875rem; letter-spacing: .24em; margin-top: 6px; }
.merit h3 { font-size: var(--fs-lg); }
.merit p { color: var(--ink-2); font-size: var(--fs-sm); text-align: left; }
@media (max-width: 900px) { .merits { grid-template-columns: minmax(0, 1fr); gap: 40px; } .merit { text-align: left; grid-template-columns: 160px minmax(0, 1fr); column-gap: 24px; } .merit .ph, .merit .illust { grid-row: span 3; } }
@media (max-width: 560px) { .merit { grid-template-columns: minmax(0, 1fr); } .merit .ph, .merit .illust { grid-row: auto; } }

/* ---------- voices（会員の声） ---------- */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.voice { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 32px 30px; display: grid; gap: 22px; align-content: space-between; }
.voice::before { content: "“"; position: absolute; top: 4px; left: 26px; font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; color: var(--accent); opacity: .35; }
.voice blockquote { margin: 0; font-size: var(--fs-base); line-height: 2; }
.voice figcaption { display: flex; gap: 12px; align-items: center; font-size: .75rem; color: var(--ink-2); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 16px; }
.voice figcaption .av { width: 44px; height: 44px; border-radius: 50%; background: var(--tint-2); flex-shrink: 0; display: grid; place-items: center; color: var(--accent); font-family: var(--f-display); }
.voice figcaption b { display: block; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; }
@media (max-width: 900px) { .voices { grid-template-columns: minmax(0, 1fr); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { padding: 28px 24px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 6px; align-content: start; background: var(--paper); text-align: center; }
.stat__k { font-size: .8125rem; color: var(--ink-2); }
.stat__v { font-family: var(--f-latin); font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 3rem); line-height: 1.15; color: var(--accent); }
.stat__v small { font-family: var(--f-display); font-size: var(--fs-sm); margin-left: 4px; color: var(--ink); }
.stat__n { font-size: .6875rem; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- magazine ---------- */
.mag { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mag__cover { position: relative; }
.mag__cover .photo { --ar: 210 / 297; border-radius: 4px; box-shadow: 0 16px 40px rgba(43, 70, 56, .14); }
.mag__vol { position: absolute; top: -16px; right: -16px; width: 70px; height: 70px; border-radius: 50%; background: var(--paper); color: var(--accent); border: 1px solid var(--accent);
  display: grid; place-content: center; text-align: center; line-height: 1.1; font-family: var(--f-latin); font-weight: 700; }
.mag__vol small { font-size: .5625rem; letter-spacing: .14em; }
.toc { list-style: none; border-top: 1px solid var(--line); }
.toc li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.toc .pg { font-family: var(--f-latin); font-weight: 700; color: var(--accent); font-size: var(--fs-sm); }
.toc .t small { display: block; color: var(--ink-3); font-size: .75rem; }
@media (max-width: 800px) { .mag { grid-template-columns: minmax(0, 1fr); } .mag__cover { max-width: 240px; } }

/* back numbers */
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.issue { text-decoration: none; display: grid; gap: 10px; }
.issue .cov { aspect-ratio: 210 / 297; border-radius: 4px; background: var(--paper); position: relative; overflow: hidden; display: grid; align-content: space-between; padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s; }
.issue .cov .lg { font-family: var(--f-latin); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; line-height: 1; color: var(--ink); }
.issue .cov .lg small { display: block; font-size: .5rem; letter-spacing: .24em; color: var(--ink-3); margin-top: 4px; }
.issue .cov > span:last-child { display: grid; justify-items: end; line-height: 1.1; }
.issue .cov .mo { font-family: var(--f-latin); font-weight: 300; font-size: 2.25rem; line-height: 1; color: var(--accent); }
.issue .cov .vo { font-family: var(--f-latin); font-size: .625rem; color: var(--ink-3); }
.issue.is-missing .cov { background: var(--tint); border-style: dashed; box-shadow: none; }
.issue.is-missing .cov .mo { color: var(--ink-3); }
.issue p { font-size: .75rem; color: var(--ink-3); line-height: 1.6; }
.issue p b { color: var(--ink); display: block; font-size: var(--fs-sm); font-weight: 500; }
.issue:hover .cov { transform: translateY(-3px); }

/* ---------- SNS ---------- */
.sns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.sns__box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
.sns__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: var(--fs-sm); }
.sns__head svg { width: 20px; height: 20px; color: var(--accent); }
.sns__head .auto { margin-left: auto; font-size: .6875rem; color: var(--ink-3); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ig-grid .ph { --ar: 1 / 1; border-radius: 6px; font-size: .625rem; padding: 6px; }
.fb-feed { display: grid; gap: 12px; }
.fb-post { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 6px; font-size: .8125rem; color: var(--ink-2); }
.fb-post b { font-size: var(--fs-sm); color: var(--ink); font-weight: 500; }
.fb-post time { color: var(--ink-3); }
@media (max-width: 860px) { .sns { grid-template-columns: minmax(0, 1fr); } }

/* ---------- new members ---------- */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.nm { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.nm__top { display: flex; gap: 14px; align-items: center; }
.nm__face { width: 64px; height: 64px; border-radius: 50%; background: var(--tint-2); display: grid; place-items: center; flex-shrink: 0; color: var(--ink-3); overflow: hidden; }
.nm__face svg { width: 28px; height: 28px; }
.nm__co { font-family: var(--f-display); font-weight: 700; line-height: 1.5; }
.nm__nm { font-size: .8125rem; color: var(--ink-2); display: grid; }
.nm p { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- CTA band（白いカード＋細い枠） ---------- */
.cta-band { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 76px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; box-shadow: var(--shadow); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: var(--accent-soft); opacity: .7; z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .1em; }
.cta-band p { margin-top: 16px; color: var(--ink-2); }
.cta-band .tel { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: var(--fs-sm); color: var(--ink-2); }
.cta-band .tel b { font-family: var(--f-latin); font-size: 1.875rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.cta-band__btns { display: grid; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- learn block ---------- */
.learn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.chapters { list-style: none; display: grid; border-top: 1px solid var(--line); }
.chapters li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.chapters .no { font-family: var(--f-latin); font-weight: 300; color: var(--accent); font-size: 1.75rem; line-height: 1; }
.chapters b { font-weight: 500; }
.chapters small { display: block; color: var(--ink-3); font-size: .75rem; }
@media (max-width: 860px) { .learn { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer（淡い地＋濃い文字） ---------- */
.site-foot { background: var(--tint); color: var(--ink-2); border-top: 1px solid var(--line); margin-top: clamp(72px, 10vw, 136px); padding-block: 72px calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 56px; }
.foot__addr { margin-top: 20px; font-size: var(--fs-sm); line-height: 2; }
.foot__addr b { color: var(--ink); font-family: var(--f-latin); font-size: var(--fs-md); font-weight: 700; }
.foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; font-size: var(--fs-sm); }
.foot__nav h4 { font-size: .6875rem; letter-spacing: .24em; color: var(--accent); margin-bottom: 12px; font-family: var(--f-latin); font-weight: 700; }
.foot__nav ul { list-style: none; display: grid; gap: 8px; }
.foot__member { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.foot__member a { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 16px; font-size: .75rem; }
.foot__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .75rem; color: var(--ink-3); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* fixed CTA (mobile) + floating member button (PC) */
.fix-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding: 8px max(10px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-right, 0px));
  background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .4s ease; }
.fix-cta.is-show { transform: none; }
.fix-cta a { display: grid; justify-items: center; gap: 2px; text-decoration: none; font-size: .6875rem; padding: 8px 4px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); }
.fix-cta a svg { width: 19px; height: 19px; color: var(--accent); }
.fix-cta a.is-main { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 860px) { .fix-cta { display: grid; } .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
.float-member { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 108px; height: 108px; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); display: grid; place-content: center; text-align: center; text-decoration: none; font-size: .75rem; line-height: 1.6;
  box-shadow: var(--shadow); transition: border-color .3s, transform .3s; }
.float-member small { display: block; font-family: var(--f-latin); font-weight: 700; color: var(--accent); font-size: .5625rem; letter-spacing: .18em; }
.float-member:hover { border-color: var(--accent); transform: translateY(-2px); }
@media (max-width: 860px) { .float-member { display: none; } }

/* ---------- sub page hero / breadcrumb ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .75rem; color: var(--ink-3); margin-bottom: 26px; }
.crumb li + li::before { content: "›"; margin-right: 6px; color: var(--line-2); }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--accent); }
.page-hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-top: 10px; letter-spacing: .12em; }
.page-hero .en { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-latin); font-weight: 700; color: var(--accent); letter-spacing: .26em; font-size: .75rem; }
.page-hero .en::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.page-hero p { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.page-hero .ph, .page-hero .illust { --ar: 16 / 10; }
@media (max-width: 860px) { .page-hero__in { grid-template-columns: minmax(0, 1fr); } }

/* in-page nav */
.pnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pnav a { text-decoration: none; font-size: .8125rem; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); }
.pnav a:hover { border-color: var(--accent); color: var(--accent); }

/* prose */
.prose { display: grid; gap: 1.2em; max-width: 40em; }
.prose p { line-height: 2.05; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.2em; }
.prose h3 { font-size: var(--fs-lg); margin-top: .8em; padding-left: 14px; border-left: 2px solid var(--accent); }
.prose ul { padding-left: 1.3em; display: grid; gap: .3em; }
.prose .lead { font-size: var(--fs-md); color: var(--ink); }

/* split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* purposes（三つの目的） */
.purposes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.purpose { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: grid; gap: 12px; align-content: start; }
.purpose .k { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-xl); color: var(--accent); letter-spacing: .1em; }
.purpose p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 2; }
@media (max-width: 860px) { .purposes { grid-template-columns: minmax(0, 1fr); } }

/* principles (自主・民主・連帯) */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.principle { padding: 32px 28px; display: grid; gap: 12px; align-content: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.principle .k { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-2xl); line-height: 1; letter-spacing: .14em; color: var(--accent); }
.principle p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 2; }
@media (max-width: 760px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* steps（入会の流れ：実際の順番なので番号を振る） */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: grid; gap: 8px; align-content: start; counter-increment: st; }
.steps li::before { content: "STEP " counter(st); font-family: var(--f-latin); font-weight: 700; font-size: .6875rem; letter-spacing: .2em; color: var(--accent); }
.steps h3 { font-size: var(--fs-md); }
.steps p { font-size: var(--fs-sm); color: var(--ink-2); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -13px; width: 8px; height: 8px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li:not(:last-child)::after { top: auto; bottom: -13px; right: 50%; transform: rotate(135deg); } }

/* fee */
.fee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fee__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: grid; gap: 4px; text-align: center; }
.fee__item .k { font-size: var(--fs-sm); color: var(--ink-2); }
.fee__item .v { font-family: var(--f-latin); font-weight: 700; font-size: 2.5rem; line-height: 1.3; color: var(--accent); }
.fee__item .v small { font-family: var(--f-display); font-size: var(--fs-sm); margin-left: 4px; color: var(--ink); }
.fee__item p { font-size: .75rem; color: var(--ink-3); }
@media (max-width: 700px) { .fee { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 20px 22px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-latin); font-weight: 700; color: var(--accent); font-size: var(--fs-lg); }
.faq summary::after { content: ""; width: 8px; height: 8px; border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); transform: rotate(45deg); transition: transform .3s; justify-self: center; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 22px 22px 62px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 2; }

/* filters & search */
.toolbar { display: grid; gap: 14px; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r-pill); padding: 7px 16px; font-size: .8125rem; cursor: pointer; letter-spacing: .06em; color: var(--ink-2); transition: border-color .2s, color .2s; }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.chip:hover { border-color: var(--accent); }
.searchbox { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 8px 4px 20px; max-width: 520px; }
.searchbox:focus-within { border-color: var(--accent); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 10px 0; color: var(--ink); }
.searchbox input:focus { outline: none; }
.searchbox svg { width: 17px; height: 17px; color: var(--accent); }
.result-note { font-size: .75rem; color: var(--ink-3); }
.filter-label { font-size: .75rem; color: var(--ink-3); letter-spacing: .1em; margin-right: 4px; }
.empty { text-align: center; padding: 40px; color: var(--ink-3); background: var(--tint); border-radius: var(--r-lg); }

/* forms */
.form { display: grid; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.field { display: grid; gap: 8px; }
.field > label, .field > .lbl { font-weight: 500; font-size: var(--fs-sm); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.req { font-size: .625rem; color: var(--accent); border: 1px solid var(--accent); border-radius: 3px; padding: 2px 6px; letter-spacing: .08em; font-weight: 400; }
.opt { font-size: .625rem; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 6px; letter-spacing: .08em; font-weight: 400; }
.hint { font-size: .75rem; color: var(--ink-3); font-weight: 400; }
.input, .select, .textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.9; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer; font-size: var(--fs-sm); }
.radios input { accent-color: var(--accent); }
.radios label:has(input:checked) { border-color: var(--accent); color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.check input { margin-top: 7px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.count { font-size: .75rem; color: var(--ink-3); text-align: right; }
.count.is-over { color: var(--alert); }
.upload { display: grid; place-items: center; text-align: center; gap: 6px; border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 24px; background: var(--tint); font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { border-color: var(--accent); }
.upload svg { width: 26px; height: 26px; color: var(--accent); }
.form-steps { list-style: none; display: flex; gap: 6px; font-size: .75rem; }
.form-steps li { flex: 1; text-align: center; padding: 10px 6px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-3); }
.form-steps li.is-on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.done-box { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 40px 20px; background: var(--tint); border-radius: var(--r-lg); }
.done-box > svg { width: 44px; height: 44px; color: var(--accent); }
.preview-card { border: 1px solid var(--accent); }
.note { font-size: .8125rem; color: var(--ink-2); background: var(--tint); border-radius: var(--r-md); padding: 16px 20px; line-height: 1.9; }
.note b { color: var(--ink); font-weight: 500; }

/* calendar */
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head b { font-family: var(--f-latin); font-weight: 700; font-size: var(--fs-md); letter-spacing: .08em; }
.cal__head button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; display: grid; place-items: center; color: var(--accent); }
.cal__head svg { width: 13px; height: 13px; }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--f-latin); font-size: var(--fs-sm); }
.cal th { font-size: .6875rem; color: var(--ink-3); font-weight: 400; padding: 6px 0; }
.cal td { text-align: center; padding: 3px; }
.cal td span { display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 38px; margin-inline: auto; border-radius: 50%; }
.cal td.has span { background: var(--accent-soft); color: var(--accent); font-weight: 700; cursor: pointer; }
.cal td.today span { box-shadow: inset 0 0 0 1px var(--ink-2); }
.cal td.out { color: var(--line); }
.cal__legend { margin-top: 10px; font-size: .75rem; color: var(--ink-3); }

/* branches */
.branch-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.branch-map svg { width: 100%; height: auto; }
.branch-map .area { fill: var(--tint-2); stroke: var(--paper); stroke-width: 3; transition: fill .3s; cursor: pointer; }
.branch-map .area.is-on, .branch-map .area:hover { fill: color-mix(in srgb, var(--accent) 35%, var(--paper)); }
.branch-map text { font-family: var(--f-display); font-weight: 700; font-size: 15px; fill: var(--ink); pointer-events: none; letter-spacing: .08em; }
.branch-list { display: grid; gap: 12px; }
.branch { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; transition: border-color .3s; }
.branch.is-on { border-color: var(--accent); }
.branch h3 { font-size: var(--fs-md); }
.branch p { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--ink-2); }
.branch .meta { font-size: .75rem; color: var(--ink-3); }
@media (max-width: 860px) { .branch-map { grid-template-columns: minmax(0, 1fr); } }

/* org list */
.org { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.org__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 6px; align-content: start; }
.org__item h3 { font-size: var(--fs-base); }
.org__item p { font-size: var(--fs-sm); color: var(--ink-2); }

/* e-doyu guide */
.edoyu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.fn { background: var(--paper); border-radius: var(--r-md); padding: 22px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; text-decoration: none; align-content: start; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.fn:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.fn svg { width: 26px; height: 26px; color: var(--accent); grid-row: span 2; }
.fn b { font-size: var(--fs-sm); font-weight: 500; }
.fn span { font-size: .75rem; color: var(--ink-2); line-height: 1.8; }
.login-card { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.login-card h2 { font-size: var(--fs-xl); }
.login-card p { margin-top: 12px; color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 760px) { .login-card { grid-template-columns: minmax(0, 1fr); } }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article__main { display: grid; gap: 28px; min-width: 0; }
.article__side { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 16px; }
.info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.info-table th, .info-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 7em; color: var(--ink-3); font-weight: 400; white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery .photo, .gallery .ph { --ar: 4 / 3; border-radius: var(--r-sm); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.side-box { background: var(--tint); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; }
.side-box h3 { font-size: var(--fs-sm); }
@media (max-width: 960px) { .article { grid-template-columns: minmax(0, 1fr); } .article__side { position: static; } }

/* table */
.table-wrap { overflow-x: auto; }

/* CMS demo (管理画面イメージ) */
.cms { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.cms__side { background: var(--tint); border-right: 1px solid var(--line); padding: 18px 0; font-size: var(--fs-sm); }
.cms__side b { display: block; padding: 0 18px 14px; font-size: .6875rem; letter-spacing: .14em; color: var(--accent); font-family: var(--f-latin); }
.cms__side a { display: block; padding: 10px 18px; text-decoration: none; color: var(--ink-2); }
.cms__side a.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.cms__main { padding: clamp(18px, 3vw, 32px); display: grid; gap: 18px; min-width: 0; }
.cms__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.cms__bar h2 { font-size: var(--fs-lg); }
.cms .tip { display: flex; gap: 10px; align-items: flex-start; font-size: .75rem; color: var(--ink-2); background: var(--accent-soft); border-radius: var(--r-sm); padding: 10px 12px; }
.cms .tip svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 760px) { .cms { grid-template-columns: minmax(0, 1fr); } .cms__side { display: flex; overflow-x: auto; padding: 0; border-right: 0; border-bottom: 1px solid var(--line); } .cms__side b { display: none; } .cms__side a { white-space: nowrap; } }

/* misc */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.center { text-align: center; } .muted { color: var(--ink-2); } .small { font-size: var(--fs-sm); } .xsmall { font-size: .75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .rv:not(.is-in) { transform: none; }
  .loader { display: none; }
}
