/* ==========================================================================
   ボロ戸建て投資クラブ 公式サイト
   デザイン：トップページのたたき台（白・生成り × 青・黄色／太めの丸ゴシック）
   色を変えるときは :root のトークンだけを書き換えてください。
   ========================================================================== */

:root {
  color-scheme: light;

  /* 白・生成り */
  --paper: #fcfbf7;
  --kinari: #f5f1e8;
  --kinari-2: #ebe5d8;
  --white: #ffffff;

  /* 文字 */
  --ink: #1f2733;
  --ink-2: #3b4352;
  --ink-3: #687080;
  --line: #e4dfd4;
  --line-2: #d3ccbe;

  /* 青・黄色 */
  --blue: #2c50b4;
  --blue-2: #22419a;
  --blue-3: #1b3582;
  --blue-50: #eef2fb;
  --blue-100: #dbe4f7;
  --yellow: #fcdc4c;
  --yellow-2: #f5c400;
  --yellow-50: #fff8dc;

  /* 外部サービスの色 */
  --line-green: #06c755;
  --line-green-2: #05a849;
  --line-50: #e9f8ef;
  --discord: #4f5bd5;

  /* 文字の書体 */
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  /* 角の丸み */
  --r-btn: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 84px;

  /* 見出しの左右につく黄色い線 */
  --tick-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.5l4 8M3.5 13.5l8.5 2.6' fill='none' stroke='%23f5c400' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --tick-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3.5l-4 8M20.5 13.5l-8.5 2.6' fill='none' stroke='%23f5c400' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4v11M9 11l7.5 8M39 11l-7.5 8' fill='none' stroke='%23f5c400' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .22em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0; font-weight: 800; letter-spacing: .02em; text-wrap: balance; word-break: auto-phrase; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 16px; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--kinari { background: var(--kinari); }
.section--blue { background: var(--blue); color: #fff; }

.small { font-size: .86rem; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mark { font-style: normal; color: var(--blue); }

/* 黄色いマーカー */
.hl { position: relative; z-index: 0; color: var(--blue); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; z-index: -1;
  left: -.06em; right: -.08em; bottom: .04em; height: .36em;
  background: var(--yellow); border-radius: .18em;
  transform: skewX(-12deg);
}

/* 左右の黄色い線 */
.ticks { display: inline-flex; align-items: center; gap: .55em; }
.ticks::before, .ticks::after { content: ""; flex: none; width: 1.35em; height: 1.35em; background: var(--tick-l) center / contain no-repeat; }
.ticks::after { background-image: var(--tick-r); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .65em 1.45em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: var(--r-btn);
  font-family: var(--font); font-weight: 800; font-size: 1rem; line-height: 1.4; letter-spacing: .05em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 1.25em; height: 1.25em; flex: none; }
.btn .i--sm { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:hover .i--sm { transform: translateX(3px); }
.btn--blue:hover { --btn-bg: var(--blue-2); --btn-bd: var(--blue-2); }
.btn--outline { --btn-bg: #fff; --btn-fg: var(--blue); --btn-bd: var(--blue); }
.btn--outline:hover { --btn-bg: var(--blue-50); }
.btn--line { --btn-bg: var(--line-green); --btn-bd: var(--line-green); --btn-fg: #fff; }
.btn--line:hover { --btn-bg: var(--line-green-2); --btn-bd: var(--line-green-2); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-fg: var(--blue); --btn-bd: var(--blue); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--blue); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--yellow); --btn-bd: var(--yellow); --btn-fg: var(--ink); }
.btn--lg { min-height: 64px; font-size: 1.04rem; padding-inline: 1.5em; }
.btn--sm { min-height: 44px; font-size: .9rem; padding: .45em 1.05em; }
.btn--block { width: 100%; }
.btn__sub { display: block; font-size: .72em; font-weight: 700; opacity: .95; letter-spacing: .04em; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; text-align: left; }

.textlink { display: inline-flex; align-items: center; gap: .35em; font-weight: 800; color: var(--blue); text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.textlink .i { width: 1em; height: 1em; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .1em .8em; border-radius: 999px;
  background: var(--kinari); color: var(--ink-2);
  font-size: .76rem; font-weight: 700; line-height: 1.75; letter-spacing: .04em; white-space: nowrap;
}
.chip--blue { background: var(--blue-50); color: var(--blue); }
.chip--line { background: var(--line-50); color: #047a36; }
.chip--discord { background: #eef0ff; color: var(--discord); }
.chip--sample { background: repeating-linear-gradient(-45deg, var(--kinari) 0 6px, #fff 6px 12px); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Section heading ---------- */
.eyebrow { color: var(--blue); font-weight: 800; font-size: .95rem; letter-spacing: .08em; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); max-width: 820px; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-title { font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.5; }
.sec-head--center .sec-title { position: relative; padding-inline: 1.55em; }
.sec-head--center .sec-title::before, .sec-head--center .sec-title::after {
  content: ""; position: absolute; top: 50%; width: 1.2em; height: 1.2em; margin-top: -.6em;
  background: var(--tick-l) center / contain no-repeat;
}
.sec-head--center .sec-title::before { left: 0; }
.sec-head--center .sec-title::after { right: 0; background-image: var(--tick-r); }
.sec-title .accent { color: var(--blue); }
.sec-lead { color: var(--ink-2); font-size: 1rem; max-width: 44em; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-foot { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.sec-foot--center { justify-content: center; }

.section--blue .eyebrow { color: var(--yellow); }
.section--blue .sec-title { color: #fff; }
.section--blue .sec-title .accent { color: var(--yellow); }
.section--blue .sec-lead { color: rgba(255, 255, 255, .88); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--blue); color: #fff; font-size: .84rem; font-weight: 700; }
.announce a { color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: .6em; padding: 8px var(--gutter); letter-spacing: .05em; }
.announce a:hover span { text-decoration: underline; }
.announce__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.announce .i { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__name { position: relative; z-index: 0; isolation: isolate; font-weight: 800; font-size: 1.6rem; line-height: 1.2; color: var(--blue); letter-spacing: .01em; white-space: nowrap; }
.brand__hl { position: relative; z-index: 0; }
.brand__hl::after {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.1em; bottom: -.04em; height: .38em;
  background: var(--yellow); border-radius: .18em; transform: skewX(-12deg);
}
.brand__icon { width: 54px; height: 41px; flex: none; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 2px; list-style: none; }
.gnav a { position: relative; display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 4px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.gnav a:hover { color: var(--blue); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--blue); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; border: 2px solid var(--blue); border-radius: var(--r-btn); background: #fff; color: var(--blue); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .i { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--line); }
.mobile-menu__in { padding-block: 12px 26px; display: grid; gap: 18px; }
.mobile-menu ul { list-style: none; display: grid; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.mobile-menu li a .i { width: 18px; height: 18px; color: var(--blue); }
.mobile-menu__cta { display: grid; gap: 12px; }

@media (max-width: 1240px) { .header-cta .btn--join { display: none; } }
@media (max-width: 1080px) {
  .gnav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .site-header.is-open .mobile-menu { display: block; }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; --gutter: 16px; }
  .brand { gap: 6px; }
  .brand__name { font-size: 1.12rem; }
  .brand__icon { width: 40px; height: 30px; }
  .header-cta .btn--line .btn__label-long { display: none; }
  .header-cta .btn--sm { min-height: 40px; padding-inline: .8em; }
  .menu-btn { width: 42px; height: 42px; }
}
@media (min-width: 561px) { .header-cta .btn--line .btn__label-short { display: none; } }
@media (max-width: 430px) { .header-cta { display: none; } .menu-btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(44px, 6vw, 84px); }
.hero__copy { min-width: 0; }
.hero__eyebrow { font-weight: 800; font-size: clamp(.9rem, 1.3vw, 1.02rem); color: var(--ink); margin-bottom: 18px; }
.hero__title { display: grid; font-weight: 800; line-height: 1.3; letter-spacing: .02em; isolation: isolate; }
.hero__title .l1 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); margin-bottom: .25em; }
.hero__title .l2, .hero__title .l3 { font-size: clamp(2.1rem, 4.4vw, 3.45rem); white-space: nowrap; }
.hero__title .hl::after { height: .3em; bottom: .08em; }
.hero__lead { margin-top: 22px; max-width: 36em; word-break: auto-phrase; font-size: clamp(1rem, 1.35vw, 1.1rem); line-height: 1.95; color: var(--ink-2); font-weight: 700; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 14px; font-size: .88rem; color: var(--ink-3); font-weight: 700; }

.hero__visual { position: relative; min-width: 0; padding: 18px 10px 26px 18px; }
.hero__splash { position: absolute; left: -2%; bottom: -2%; width: 74%; height: auto; fill: var(--yellow); opacity: .9; }
.kv { position: relative; margin: 0; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -26px rgba(31, 39, 51, .45); }
.kv img { width: 100%; }
.hero__spark { position: absolute; top: -6px; right: -4px; width: 64px; height: 64px; background: var(--spark) center / contain no-repeat; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; }
}
@media (max-width: 560px) {
  .hero__eyebrow { font-size: .8rem; letter-spacing: 0; }
  .hero__cta .btn { width: 100%; }
  .hero__visual { padding: 12px 4px 18px 10px; }
  .hero__spark { width: 46px; height: 46px; }
}

/* ---------- News ticker ---------- */
.ticker { padding-bottom: clamp(24px, 4vw, 40px); background: var(--paper); }
.ticker__in { display: flex; align-items: center; gap: 20px; min-height: 60px; padding: 8px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.ticker__label { flex: none; background: var(--blue); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .14em; padding: 2px 12px; border-radius: 999px; }
.ticker__item { display: flex; gap: 16px; align-items: baseline; min-width: 0; flex: 1; color: var(--ink); text-decoration: none; }
.ticker__item time { font-size: .86rem; color: var(--ink-3); flex: none; font-variant-numeric: tabular-nums; }
.ticker__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ticker__item:hover span { color: var(--blue); text-decoration: underline; }
.ticker__all { color: var(--blue); font-size: .86rem; font-weight: 800; text-decoration: none; flex: none; display: inline-flex; align-items: center; gap: .3em; }
.ticker__all .i { width: 1em; height: 1em; }
@media (max-width: 600px) { .ticker__all, .ticker__item time { display: none; } .ticker__in { padding-inline: 14px; gap: 12px; } }

/* ---------- Features (学びとつながり) ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { display: grid; gap: 12px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px 30px; }
.feature__art { position: relative; justify-self: center; width: 176px; }
.feature__art img { width: 100%; }
.feature h3 { text-align: center; color: var(--blue); font-size: 1.3rem; }
.feature p { font-size: .96rem; line-height: 1.9; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .feature__art { width: 150px; } }

/* ---------- Hub (official channels): six cards of equal size ---------- */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.hub-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hub-card__media { position: relative; height: 200px; display: grid; place-items: center; overflow: hidden; background: var(--kinari); border-bottom: 1px solid var(--line); }
.hub-card__media > img.cover { width: 100%; height: 100%; object-fit: cover; }
.hub-card__media > img.cover--top { object-position: 50% 8%; }
.hub-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.hub-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-card h3 { font-size: 1.22rem; line-height: 1.45; }
.hub-card h3 small { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-3); margin-top: 2px; }
.hub-card p { font-size: .93rem; line-height: 1.85; }
.hub-card__price { font-weight: 800; color: var(--ink); font-size: .95rem; }
.hub-card__price b { font-weight: 800; font-size: 1.55rem; color: var(--blue); margin-inline: .1em; font-variant-numeric: tabular-nums; }
.hub-card__price small { font-size: .76rem; color: var(--ink-3); font-weight: 700; margin-left: .4em; }
.hub-card__actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

.media--line { background: var(--line-50); }
.media--youtube, .media--daily { background: var(--kinari); }
.media--shop { background: #efebe3; }
.media--sticker { background: var(--blue-50); }

.mini-chat { width: min(82%, 270px); display: grid; gap: 8px; }
.mini-chat__head { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; color: var(--ink-2); }
.mini-chat__head .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--line-green); display: grid; place-items: center; color: #fff; font-size: .6rem; }
.mini-chat__bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: 8px 12px; font-size: .8rem; font-weight: 700; line-height: 1.6; color: var(--ink); box-shadow: 0 1px 0 rgba(31, 39, 51, .08); }
.mini-chat__bubble:nth-child(3) { width: 78%; }

.yt-mark { display: grid; justify-items: center; gap: 10px; }
.yt-mark__btn { width: 86px; height: 60px; border-radius: 16px; background: #e0302a; display: grid; place-items: center; }
.yt-mark__btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.yt-mark span { font-weight: 800; font-size: .84rem; color: var(--ink-2); }

.sticker-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; align-items: center; width: 94%; }
.sticker-row img { width: 100%; max-width: 110px; margin-inline: auto; }

.news-stack { width: min(80%, 260px); display: grid; gap: 8px; }
.news-stack span { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 10px; font-size: .8rem; font-weight: 700; color: var(--ink-2); box-shadow: 0 1px 0 rgba(31, 39, 51, .08); }
.news-stack span::before { content: ""; width: 30px; height: 22px; border-radius: 6px; background: var(--blue-100); }
.news-stack span:nth-child(2)::before { background: var(--yellow); }

.swatches { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; }
.swatches li { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(31, 39, 51, .22); background: var(--c); }
.credit { font-size: .72rem; color: var(--ink-3); }

@media (max-width: 1024px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hub { grid-template-columns: 1fr; grid-auto-rows: auto; } .hub-card__media { height: 190px; } }

/* ---------- こんなあなた！ ---------- */
.konna { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.konna__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.konna__list li { display: flex; gap: .6em; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 16px; font-weight: 700; font-size: .95rem; line-height: 1.7; color: var(--ink); }
.konna__list .i { width: 1.25em; height: 1.25em; flex: none; margin-top: .22em; color: var(--blue); stroke-width: 2.6; }
.konna__art img { width: 100%; max-width: 300px; margin-inline: auto; }
.sonna { margin-top: clamp(40px, 6vw, 60px); text-align: center; display: grid; gap: 12px; justify-items: center; }
.sonna small { font-size: 1rem; font-weight: 800; color: var(--blue); }
.sonna p { font-weight: 800; font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.65; color: var(--ink); }
.sonna .sub { font-size: 1rem; font-weight: 700; color: var(--ink-2); }
.sonna p span { position: relative; z-index: 0; color: var(--blue); }
.sonna p span::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; bottom: .06em; height: .34em; background: var(--yellow); border-radius: .18em; transform: skewX(-12deg); }
.sonna { isolation: isolate; }
@media (max-width: 900px) {
  .konna { grid-template-columns: 1fr; }
  .konna__art { order: -1; }
  .konna__art img { max-width: 220px; }
}
@media (max-width: 640px) { .konna__list { grid-template-columns: 1fr; } }

/* ---------- ボロ戸建て投資とは ---------- */
.explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.points { list-style: none; display: grid; gap: 12px; }
.point { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.point__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.point__icon .i { width: 26px; height: 26px; stroke-width: 2.2; }
.point h3 { font-size: 1.06rem; }
.point p { font-size: .93rem; margin-top: 2px; }
.formula { margin-top: 18px; font-size: .92rem; }
.formula b { color: var(--blue); margin-right: .4em; }
.risk { margin-top: 18px; border-radius: var(--r-md); padding: 16px 20px; background: var(--yellow-50); border: 1px solid #f1dc8f; }
.risk h3 { font-size: 1rem; display: flex; gap: .5em; align-items: center; }
.risk h3 .i { width: 1.15em; height: 1.15em; color: #c58a00; }
.risk p { font-size: .92rem; margin-top: 4px; }

/* property sheet */
.sheet { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; background: var(--blue); color: #fff; }
.sheet__head b { font-weight: 800; font-size: 1.02rem; letter-spacing: .1em; }
.sheet__head .chip { background: #fff; color: var(--blue); }
.sheet__plan { padding: 16px 18px 6px; background-color: #fdfcf8; background-image: linear-gradient(#efebe2 1px, transparent 1px), linear-gradient(90deg, #efebe2 1px, transparent 1px); background-size: 18px 18px; }
.floorplan { width: 100%; height: auto; display: block; }
.fp-wall { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: square; }
.fp-wall-in { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: square; }
.fp-tatami { fill: none; stroke: #c9c2b2; stroke-width: 1; }
.fp-win { fill: #fff; stroke: var(--ink); stroke-width: 1.1; }
.fp-winline { fill: none; stroke: var(--ink); stroke-width: .9; }
.fp-slide { fill: none; stroke: var(--blue); stroke-width: 1.8; }
.fp-door { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.fp-arc { fill: none; stroke: var(--ink-3); stroke-width: .9; stroke-dasharray: 3 2; }
.fp-label { fill: var(--ink); font-family: var(--font); font-weight: 800; }
.fp-sub { fill: var(--ink-2); font-family: var(--font); font-weight: 700; font-size: 11px; }
.fp-dim { fill: none; stroke: var(--ink-3); stroke-width: .9; }
.fp-tick { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.fp-dimtext { fill: var(--ink-2); font-family: var(--font); font-size: 11px; }
.fp-dimtext--s { font-size: 9.5px; fill: var(--ink-3); }
.fp-north circle { fill: #fff; stroke: var(--ink); stroke-width: 1.1; }
.fp-north path { fill: var(--blue); }
.fp-north text { fill: var(--ink); font-family: var(--font); font-size: 10px; font-weight: 800; }
.fp-caption { fill: var(--ink-2); font-family: var(--font); font-size: 11.5px; font-weight: 800; }
.sheet__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.sheet__data > div { padding: 12px 20px; border-bottom: 1px solid var(--line); }
.sheet__data > div:nth-child(odd) { border-right: 1px solid var(--line); }
.sheet__data dt { font-size: .76rem; color: var(--ink-3); font-weight: 700; }
.sheet__data dd { margin: 0; font-weight: 800; font-size: 1rem; color: var(--ink); }
.sheet__data dd.big { font-size: 1.9rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.sheet__data dd.big small { font-size: .85rem; color: var(--ink-2); margin-left: .2em; }
.sheet__data > div:nth-child(3) dd.big { color: var(--blue); }
.sheet figcaption { font-size: .76rem; color: var(--ink-3); padding: 12px 20px 16px; line-height: 1.7; }

/* yield calculator */
.calc { margin-top: clamp(32px, 4vw, 52px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); overflow: hidden; }
.calc__form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.calc__form h3 { font-size: 1.22rem; display: flex; align-items: center; gap: .5em; }
.calc__form h3 .i { width: 1.15em; height: 1.15em; color: var(--blue); }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 800; color: var(--ink-2); }
.field__input { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; transition: border-color .15s; }
.field__input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.field input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font-family: var(--font); font-size: 1.15rem; font-weight: 800; background: transparent; color: var(--ink); outline: none; font-variant-numeric: tabular-nums; }
.field__unit { padding: 0 12px; font-size: .8rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.calc__result { background: var(--blue); color: #fff; padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.calc__result dl { margin: 0; display: grid; }
.calc__result dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.calc__result dl > div:first-child { padding-top: 0; }
.calc__result dt { font-size: .82rem; color: rgba(255, 255, 255, .8); font-weight: 700; }
.calc__result dd { margin: 0; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.calc__result dl > div:first-child dd { color: var(--yellow); }
.calc__result dd small { font-size: .5em; color: rgba(255, 255, 255, .85); margin-left: .2em; }
.calc__note { font-size: .78rem; color: rgba(255, 255, 255, .78); line-height: 1.7; }
.calc__result .btn { --btn-bg: #fff; --btn-fg: var(--blue); --btn-bd: #fff; justify-self: start; }
.calc__result .btn:hover { --btn-bg: var(--yellow); --btn-bd: var(--yellow); --btn-fg: var(--ink); }
@media (max-width: 900px) { .explain, .calc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .calc__grid { grid-template-columns: 1fr; } }

/* ---------- クラブの中の様子（青い帯） ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 22px; }
.shot { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; min-width: 0; margin: 0; }
.shot__head { padding: 18px 20px 12px; display: grid; gap: 6px; }
.shot__ch { font-size: .78rem; font-weight: 800; color: var(--discord); }
.shot__ch::before { content: "# "; opacity: .7; }
.shot__title { font-size: .98rem; line-height: 1.7; color: var(--ink); font-weight: 800; }
.shot__img { position: relative; display: block; width: 100%; margin-top: auto; padding: 0 14px 14px; border: 0; background: none; cursor: zoom-in; }
.shot__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; border-radius: 10px; background: #313338; }
.shot__img::after { content: "拡大"; position: absolute; right: 24px; bottom: 24px; background: var(--yellow); color: var(--ink); font-size: .74rem; font-weight: 800; padding: 2px 12px; border-radius: 999px; }
.channels { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; }
.channels li { border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: .2em 1em; font-size: .85rem; font-weight: 700; color: #fff; }
.channels li::before { content: "# "; color: var(--yellow); }
.gallery-note { margin-top: 16px; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 980px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 28, 48, .8); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; margin-inline: auto; }
.lightbox__close { position: absolute; top: -18px; right: -10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.lightbox__close .i { width: 22px; height: 22px; }
.lightbox p { color: #fff; text-align: center; margin-top: 10px; font-weight: 700; }

/* ---------- Post cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 24px; transition: border-color .2s, transform .2s; min-width: 0; }
.post-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .8rem; }
.post-card__meta time { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-card h3 { font-size: 1.05rem; line-height: 1.65; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.post-card p { font-size: .9rem; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__thumb { margin: -22px -22px 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; aspect-ratio: 2 / 1; background: var(--kinari); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb--sticker { position: relative; background: var(--kinari); aspect-ratio: 5 / 2; }
.post-card__thumb--sticker img { position: absolute; left: 0; top: 7%; width: 100%; height: 86%; object-fit: contain; }
.cat { position: relative; z-index: 1; font-weight: 800; color: var(--blue); text-decoration: none; }
.cat:hover { text-decoration: underline; }
.line-mark { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; color: #047a36; background: var(--line-50); border-radius: 999px; padding: 0 9px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .post-card__thumb--sticker { aspect-ratio: 3 / 1; } }

.line-strip { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; background: var(--line-50); border: 1px solid #cdebd8; border-radius: var(--r-md); padding: 10px 16px 10px 12px; }
.line-strip__sticker { width: 74px; flex: none; }
.line-strip p { flex: 1; font-weight: 800; color: var(--ink); min-width: 12em; }

.coming { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); }
.coming__art { width: 130px; }
.coming h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
.coming p { margin-top: 6px; }
.coming .btn { margin-top: 16px; }
@media (max-width: 560px) { .coming { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
.news-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 22px; }
.news-item { border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item a { display: grid; grid-template-columns: 100px 104px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 18px 2px; color: var(--ink); text-decoration: none; }
.news-item a:hover .news-item__title { color: var(--blue); text-decoration: underline; }
.news-item time { font-size: .88rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.news-item__title { font-weight: 700; line-height: 1.7; }
.news-item .i { width: 18px; height: 18px; color: var(--blue); }
.news-type { justify-self: start; }
.news-type--info { background: var(--kinari); color: var(--ink-2); }
.news-type--club { background: #eef0ff; color: var(--discord); }
.news-type--event { background: var(--blue); color: #fff; }
.news-type--goods { background: var(--yellow-50); color: #8a6400; }
.news-item.is-pinned .news-item__title::before { content: "PICK UP"; font-weight: 800; font-size: .7rem; letter-spacing: .12em; color: var(--ink); background: var(--yellow); border-radius: 4px; padding: 1px 6px; margin-right: .7em; vertical-align: .1em; }
@media (max-width: 720px) {
  .news-list { padding-inline: 16px; }
  .news-item a { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "date type ." "title title arrow"; gap: 6px 12px; }
  .news-item time { grid-area: date; }
  .news-type { grid-area: type; }
  .news-item__title { grid-area: title; }
  .news-item .i { grid-area: arrow; justify-self: end; }
}

.event-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; }
.event-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--blue); color: #fff; padding: 11px 18px; font-weight: 800; font-size: .88rem; }
.event-card__head > span:first-child, .event-box__head > span:first-child { display: inline-flex; align-items: center; gap: .5em; }
.event-card__head .i, .event-box__head .i { width: 1.2em; height: 1.2em; flex: none; }
.event-card__body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.event-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4em; line-height: 1.2; color: var(--ink); }
.event-date .md { font-weight: 800; font-size: 2.1rem; font-variant-numeric: tabular-nums; }
.event-date .wd { font-weight: 800; font-size: .92rem; }
.event-date .tm { font-weight: 700; font-size: .98rem; color: var(--ink-2); }
.event-card h3 { font-size: 1.02rem; line-height: 1.65; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.event-meta { list-style: none; display: grid; gap: 4px; font-size: .88rem; }
.event-meta li { display: flex; gap: .5em; align-items: center; }
.event-meta .i { width: 1em; height: 1em; color: var(--blue); flex: none; }
.status { font-size: .74rem; font-weight: 800; padding: 1px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.status.is-past { background: #fff; color: var(--ink-3); }
.news-side-note { margin-top: 14px; font-size: .86rem; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }

/* ---------- Members ---------- */
.members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.member__head { display: flex; gap: 18px; align-items: center; }
.avatar { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; flex: none; overflow: hidden; background: var(--blue-50); color: var(--blue); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--yellow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.35rem; line-height: 1.3; }
.member__role { display: inline-block; margin-top: 6px; font-size: .76rem; font-weight: 800; color: var(--blue); background: var(--blue-50); border-radius: 999px; padding: 0 10px; }
.member p { font-size: .95rem; }
.disclaimer-note { margin-top: 16px; font-size: .8rem; color: var(--ink-3); }
@media (max-width: 760px) { .members { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; display: grid; gap: 12px; align-content: start; }
.step__num { justify-self: start; font-weight: 800; font-size: .8rem; letter-spacing: .1em; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 12px; }
.step__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-50); color: var(--blue); display: grid; place-items: center; }
.step__icon .i { width: 28px; height: 28px; stroke-width: 2.2; }
.step h3 { font-size: 1.12rem; }
.step p { font-size: .94rem; }
.join-foot__sticker { width: 124px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .join-foot { flex-direction: column; } }

/* ---------- LINE CTA ---------- */
.line-cta { background: var(--paper); }
.line-cta__card { position: relative; background: #fff; border: 2px solid var(--line-green); border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(20px, 4vw, 44px); padding: clamp(26px, 5vw, 52px); align-items: center; }
.line-cta .eyebrow { color: #047a36; }
.line-cta h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.55; margin-top: 12px; }
.line-cta h2 .g { color: var(--line-green-2); }
.checks { list-style: none; display: grid; gap: 8px; margin-block: 18px 26px; }
.checks li { display: flex; gap: .6em; align-items: flex-start; font-weight: 700; color: var(--ink); }
.checks .i { width: 1.3em; height: 1.3em; flex: none; color: var(--line-green-2); margin-top: .25em; stroke-width: 2.6; }
.line-cta__micro { margin-top: 14px; font-size: .84rem; color: var(--ink-3); }
.line-cta__side { display: grid; justify-items: center; gap: 6px; }
.line-cta__side .qr { width: 170px; }
.line-cta__sticker { width: 150px; }
@media (max-width: 760px) { .line-cta__card { grid-template-columns: 1fr; } .line-cta__side { display: none; } }

.qr { margin: 0; background: #fff; border-radius: var(--r-md); padding: 10px; width: 128px; box-shadow: inset 0 0 0 1px var(--line); }
.qr img { width: 100%; image-rendering: pixelated; }
.qr figcaption { font-size: .68rem; text-align: center; color: var(--ink-3); margin-top: 4px; line-height: 1.35; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 18px 20px; font-weight: 800; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.faq summary .pm { width: 22px; height: 22px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .25s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 20px 20px 66px; }
@media (max-width: 520px) { .faq .a { padding-left: 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-2); color: #fff; padding-block: clamp(52px, 7vw, 84px) 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, .8fr)) minmax(0, 1fr); gap: 36px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__hl::after { bottom: -.16em; height: .14em; transform: none; }
.footer-brand p { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.footer-col h2 { font-size: .82rem; letter-spacing: .12em; color: var(--yellow); font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 700; }
.footer-col a:hover { text-decoration: underline; }
.footer-col a .i { width: .9em; height: .9em; opacity: .75; margin-left: .3em; vertical-align: -.08em; }
.footer-cta { display: grid; gap: 14px; align-content: start; }
.footer-cta p { font-size: .88rem; color: rgba(255, 255, 255, .85); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 8px; font-size: .78rem; color: rgba(255, 255, 255, .72); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand, .footer-cta { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA & slide-in ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  display: none; gap: 10px; align-items: center;
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 50px; font-size: .92rem; padding-inline: 1em; }
.sticky-cta .btn--join { flex: 0 0 auto; padding-inline: 1.3em; }
@media (max-width: 760px) { .sticky-cta { display: flex; } body.has-sticky .site-footer { padding-bottom: calc(30px + 76px + env(safe-area-inset-bottom, 0px)); } }

.slidein {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 320px;
  background: #fff; border: 2px solid var(--line-green); border-radius: var(--r-lg);
  box-shadow: 0 18px 44px -20px rgba(31, 39, 51, .45);
  padding: 22px; display: grid; gap: 10px;
  transform: translateY(calc(100% + 40px)); transition: transform .35s ease;
}
.slidein.is-visible { transform: translateY(0); }
.slidein__close { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.slidein__close:hover { background: var(--kinari); }
.slidein__close .i { width: 20px; height: 20px; }
.slidein b { font-weight: 800; font-size: 1.02rem; line-height: 1.6; padding-right: 26px; color: var(--ink); }
.slidein p { font-size: .86rem; }
@media (max-width: 760px) { .slidein { display: none; } }

/* ---------- Sub page hero ---------- */
.page-hero { position: relative; background: var(--kinari); padding-block: clamp(24px, 4vw, 40px) clamp(36px, 6vw, 64px); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.5; margin-top: 16px; }
.page-hero .lead { margin-top: 14px; max-width: 44em; }
.page-hero .eyebrow { margin-top: 26px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; font-weight: 700; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); min-width: 0; max-width: 100%; }
.breadcrumb li + li::before { content: "›"; color: var(--line-2); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb [aria-current] { max-width: 28em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.catnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.catnav a, .catnav button { display: inline-flex; align-items: center; gap: .4em; padding: 6px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 800; font-size: .86rem; cursor: pointer; }
.catnav a:hover, .catnav button:hover { border-color: var(--blue); color: var(--blue); }
.catnav [aria-current="page"], .catnav [aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.catnav .count { font-size: .76rem; opacity: .8; }

.notice-line { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border-radius: var(--r-md); padding: 12px 16px 12px 20px; background: var(--line-50); border: 1px solid #cdebd8; margin-bottom: 28px; }
.notice-line p { font-weight: 800; font-size: .93rem; display: flex; align-items: center; gap: .6em; color: var(--ink); }
.notice-line .i { width: 1.25em; height: 1.25em; color: var(--line-green-2); flex: none; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: var(--r-btn); font-weight: 800; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--line); }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination [aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .is-disabled { opacity: .35; }

.empty { border-radius: var(--r-lg); padding: 32px; text-align: center; background: #fff; border: 1px solid var(--line); }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 60px); align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 16px; font-size: .86rem; font-weight: 700; }
.article-meta time { font-variant-numeric: tabular-nums; }
.article { min-width: 0; }
.article .lead-cta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; border-radius: var(--r-md); background: var(--line-50); border: 1px solid #cdebd8; padding: 10px 12px 10px 18px; margin-bottom: 30px; font-size: .9rem; font-weight: 800; color: var(--ink); }
.article .lead-cta p { display: flex; align-items: center; gap: .5em; }
.article .lead-cta .i { width: 1.25em; height: 1.25em; color: var(--line-green-2); flex: none; }
.toc { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); padding: 16px 22px; margin-bottom: 32px; }
.toc b { font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: var(--blue); }
.toc ol { margin-top: 6px; padding-left: 1.4em; display: grid; gap: 4px; }
.toc li { font-size: .93rem; font-weight: 700; }
.toc li.lv3 { margin-left: 1em; font-size: .88rem; list-style: circle; }
.toc a { color: var(--ink); }

.prose { font-size: 1.04rem; line-height: 2; color: var(--ink-2); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(1.25rem, 2.3vw, 1.5rem); line-height: 1.55; margin-top: 2.2em; padding: .5em .8em; background: var(--blue-50); border-left: 6px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose h3 { font-size: 1.15rem; margin-top: 2em; line-height: 1.6; padding-bottom: .3em; border-bottom: 3px solid var(--yellow); display: inline-block; }
.prose h4 { font-size: 1.02rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose ul li::marker { color: var(--blue); }
.prose strong { background: linear-gradient(transparent 62%, var(--yellow) 62%); color: var(--ink); }
.prose a { font-weight: 700; word-break: break-all; }
.prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 4px solid var(--line-2); background: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose hr { border: 0; border-top: 2px dashed var(--line-2); margin-block: 2.4em; }
.prose figure { margin-inline: 0; }
.prose img { border-radius: var(--r-md); }
.prose figcaption { font-size: .82rem; color: var(--ink-3); margin-top: 8px; text-align: center; }
.prose code { background: var(--kinari); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose pre { background: var(--ink); color: #fff; padding: 16px; border-radius: var(--r-sm); overflow-x: auto; font-size: .88rem; line-height: 1.7; }
.prose pre code { background: none; padding: 0; }
.prose .post-from { display: inline-block; font-size: .84rem; font-weight: 800; line-height: 1.7; color: var(--blue); background: var(--blue-50); border-radius: 999px; padding: 3px 14px; }
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.6; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--kinari); font-weight: 800; white-space: nowrap; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.line-exclusive { margin-top: 40px; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--line-green); }
.line-exclusive__fade { height: 64px; background: repeating-linear-gradient(0deg, var(--kinari) 0 12px, #efeadf 12px 13px); filter: blur(1.5px); }
.line-exclusive__body { padding: 22px; display: grid; gap: 12px; justify-items: start; background: #fff; }
.line-exclusive__body b { display: flex; gap: .5em; align-items: center; font-size: 1.04rem; color: var(--ink); }
.line-exclusive__body b .i { width: 1.2em; height: 1.2em; color: var(--line-green-2); }

.article-cta { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: 26px 28px; }
.article-cta h2 { font-size: 1.22rem; line-height: 1.6; color: #fff; }
.article-cta p { color: rgba(255, 255, 255, .88); font-size: .9rem; margin-top: 6px; }
.article-cta .qr { width: 118px; box-shadow: none; }
.article-cta .btn { margin-top: 16px; }
@media (max-width: 620px) { .article-cta { grid-template-columns: 1fr; } .article-cta .qr { display: none; } }

.share { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share b { font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: var(--ink-3); margin-right: 6px; }
.share a, .share button { display: inline-flex; gap: .45em; align-items: center; padding: 7px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 800; font-size: .84rem; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.share .i { width: 1.05em; height: 1.05em; }

.pn { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pn a { display: grid; gap: 4px; padding: 14px 18px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); }
.pn a:hover { border-color: var(--blue); }
.pn small { font-size: .74rem; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.pn span { font-weight: 800; font-size: .9rem; line-height: 1.6; }
.pn .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .pn { grid-template-columns: 1fr; } .pn .next { grid-column: auto; } }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { border-radius: var(--r-lg); background: #fff; padding: 20px; display: grid; gap: 10px; border: 1px solid var(--line); }
.aside-card h2 { font-weight: 800; font-size: .82rem; letter-spacing: .12em; color: var(--blue); }
.aside-card--line { background: var(--line-50); border-color: #cdebd8; justify-items: center; text-align: center; }
.aside-card--line b { font-weight: 800; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.aside-card--line .qr { width: 132px; }
.aside-card--join { background: var(--blue); border-color: var(--blue); color: #fff; }
.aside-card--join h2 { color: var(--yellow); }
.aside-card--join p { font-size: .88rem; color: rgba(255, 255, 255, .88); }
.aside-list { list-style: none; display: grid; gap: 10px; }
.aside-list a { color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 700; line-height: 1.6; display: block; }
.aside-list a:hover { color: var(--blue); text-decoration: underline; }
.aside-list time { display: block; font-size: .74rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .article-wrap { grid-template-columns: 1fr; } .aside { position: static; } }

.related { margin-top: 60px; }
.related h2 { font-size: 1.3rem; margin-bottom: 18px; }

/* event detail box */
.event-box { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--line); }
.event-box__head { background: var(--blue); color: #fff; padding: 11px 20px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.event-box dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); background: #fff; }
.event-box dt, .event-box dd { padding: 12px 20px; border-bottom: 1px solid var(--line); margin: 0; }
.event-box dt { font-weight: 800; font-size: .86rem; color: var(--ink); background: var(--kinari); }
.event-box__actions { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px; background: #fff; }
.members-only { display: grid; gap: 10px; padding: 16px 20px; background: var(--yellow-50); font-size: .92rem; }
.members-only b { display: flex; gap: .5em; align-items: center; color: var(--ink); }
.members-only .i { width: 1.15em; height: 1.15em; color: var(--blue); }
.members-only > div { justify-self: start; }

/* ---------- Join / About ---------- */
.price-box { border-radius: var(--r-lg); background: #fff; overflow: hidden; border: 1px solid var(--line); }
.price-box__main { padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; align-content: start; }
.price-box__num { font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1.15; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-box__num small { font-size: 1rem; font-weight: 800; color: var(--ink-2); margin-left: .2em; }
.price-box__num small:first-child { margin: 0 .3em 0 0; }
.price-box__side { background: var(--kinari); padding: clamp(22px, 3vw, 34px); }
.price-box__side h3 { font-size: 1rem; margin-bottom: 12px; }
.price-box__side .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-box__label { justify-self: start; }
@media (max-width: 480px) { .price-box__side .check-list { grid-template-columns: 1fr; } }

.guide { display: grid; gap: 12px; counter-reset: g; list-style: none; }
.guide li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.guide li::before { counter-increment: g; content: counter(g); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.05rem; }
.guide h3 { font-size: 1.02rem; }
.guide p { font-size: .93rem; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.table-dl { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table-dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.table-dl > div:last-child { border-bottom: 0; }
.table-dl dt { padding: 16px 20px; font-weight: 800; font-size: .92rem; color: var(--ink); background: var(--kinari); }
.table-dl dd { margin: 0; padding: 16px 20px; }
.table-dl dd ul { list-style: none; display: grid; gap: 4px; }
@media (max-width: 600px) { .table-dl > div { grid-template-columns: 1fr; } .table-dl dt { padding-block: 12px 8px; } .table-dl dd { padding-top: 10px; } }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 700; color: var(--ink); }
.check-list .i { width: 22px; height: 22px; color: var(--blue); margin-top: .3em; stroke-width: 2.6; }

.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.channel-grid li { border-radius: var(--r-md); padding: 14px 16px; background: #fff; border: 1px solid var(--line); }
.channel-grid b { display: block; font-weight: 800; font-size: .92rem; color: var(--discord); }
.channel-grid span { font-size: .88rem; }
.channel-note { margin-top: 12px; }
.about-note { margin-top: 16px; }
@media (max-width: 640px) { .channel-grid { grid-template-columns: 1fr; } }

.upcoming-title { font-size: 1.2rem; margin-bottom: 18px; }
.cards.upcoming { margin-bottom: 44px; }
.back-link { margin-top: 30px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; display: grid; gap: 16px; justify-items: center; padding-block: clamp(56px, 9vw, 112px); }
.notfound__sticker { width: 170px; }
.notfound .code { font-weight: 800; font-size: clamp(3.6rem, 11vw, 6rem); line-height: 1; color: var(--blue); letter-spacing: .06em; }
.notfound h1 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }

/* ---------- Preview helper (only in preview builds) ---------- */
.preview-bar { background: var(--yellow); padding: 6px var(--gutter); text-align: center; font-size: .8rem; font-weight: 700; color: var(--ink); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 420px) {
  .announce { font-size: .76rem; letter-spacing: .02em; }
  .announce a { gap: .45em; padding-inline: 12px; }
}

/* ---- 活動レポート（オフ会などの報告） ---- */
.chip--report { background: #fff1dc; color: #8f5200; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .report-grid { grid-template-columns: 1fr; } }
.report-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .2s, transform .2s; }
.report-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.report-card__photo { position: relative; aspect-ratio: 4 / 3; background: var(--kinari); overflow: hidden; }
.report-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.report-card__photo--none { display: grid; place-items: center; color: #c9bfae; }
.report-card__photo--none .i { width: 56px; height: 56px; }
.report-card__count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: rgba(31, 39, 51, .72); color: #fff; font-size: .75rem; font-weight: 700; }
.report-card__count .i { width: 14px; height: 14px; }
.report-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; }
.report-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.report-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.report-card h3 a { color: var(--ink); text-decoration: none; }
.report-card h3 a::after { content: ""; position: absolute; inset: 0; }
.report-card__excerpt { margin: 0; font-size: .88rem; line-height: 1.85; color: #657080; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.report-photos { display: grid; gap: 12px; margin-bottom: 28px; }
.report-photos--many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-photos--many .report-photo:first-child { grid-column: 1 / -1; }
.report-photo { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--kinari); cursor: zoom-in; }
.report-photo img { display: block; width: 100%; height: auto; }
.report-photos--many .report-photo:not(:first-child) img { aspect-ratio: 4 / 3; object-fit: cover; }
.report-join { margin-top: 36px; padding: 22px 24px; border-radius: 12px; background: var(--kinari); }
.report-join p { margin: 0 0 14px; line-height: 1.9; }
.report-join__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.article-meta .i { width: 16px; height: 16px; vertical-align: -3px; margin-right: 3px; }
/* メニューが5つになったので、画面の幅に合わせて間をつめる */
@media (max-width: 1500px) { .gnav a { padding-inline: 10px; font-size: .9rem; } .gnav a::after { left: 10px; right: 10px; } }
@media (max-width: 1440px) { .header-cta .btn--join { display: none; } }
@media (min-width: 1441px) { .site-header__in { max-width: 1400px; } }
@media (max-width: 1200px) and (min-width: 1081px) {
  .gnav a { padding-inline: 8px; font-size: .88rem; } .gnav a::after { left: 8px; right: 8px; }
  .header-cta .btn--line .btn__label-long { display: none; } .header-cta .btn--line .btn__label-short { display: inline; }
}
/* スマホでトップのNEWS見出しが折り返さず、画面が横にずれていたのを直す */
.ticker__item span { white-space: normal; overflow-wrap: anywhere; }
/* 活動レポートが1〜2本のときの並べ方 */
.report-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-grid--one { grid-template-columns: minmax(0, 1fr); }
.report-grid--one .report-card__excerpt { -webkit-line-clamp: 8; }
@media (min-width: 761px) {
  .report-grid--one .report-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
  .report-grid--one .report-card__body { justify-content: center; gap: 14px; padding: 32px 36px; }
  .report-grid--one .report-card h3 { font-size: 1.3rem; }
  .report-grid--one .report-card__excerpt { font-size: .95rem; }
}
@media (max-width: 620px) { .report-grid--two { grid-template-columns: 1fr; } }
