@charset "utf-8";
/* ============================================================
   宮崎県インフラAXコンソーシアム — 共通スタイルシート
   白を基調に、赤は見出しの「AX」と要所のみ。
   図版は写真を使わず、斜めウェッジ（直角三角形）の重ねで組む。

   ブレークポイントは 1200 / 900 / 640 / 480 の4本に統一。
   ============================================================ */

/* ---------- トークン ---------- */
:root{
  --red:        #E4322A;   /* 面・大きな文字用 */
  --red-text:   #C9261F;   /* 小さな文字用（白地5.55:1／生成り地5.22:1） */
  --red-badge:  #B01D18;   /* 白抜きバッジの地（6.92:1） */
  --red-deep:   #B01D18;
  --red-soft:   #FDF0EE;
  --red-line:   #F3C9C4;
  --ink:        #17110F;
  --ink-mid:    #6A5854;   /* 白地6.69:1 */
  --ink-faint:  #7D6763;   /* 白地5.26:1 */
  --paper:      #FFFFFF;
  --paper-2:    #FBF7F6;
  --line:       #E9DEDB;
  --line-strong:#D8C7C3;
  --on-red:     #FFFFFF;

  --r: 10px;
  --wrap: 1440px;
  --pad: clamp(20px, 4.2vw, 64px);

  --pad-sec:     clamp(60px, 8vw, 104px);
  --pad-sec-top: clamp(28px, 3.4vw, 48px);
  --pad-card:    clamp(22px, 3vw, 36px);
  --space-eyebrow: 12px;

  --f-jp:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-min: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-lat: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --red:        #FF5044;
    --red-text:   #FF5044;
    --red-badge:  #FF5044;
    --red-deep:   #FF7B71;
    --red-soft:   #2B1714;
    --red-line:   #5A2A25;
    --ink:        #F6EEEC;
    --ink-mid:    #B6A19D;
    --ink-faint:  #A08A86;
    --paper:      #151110;
    --paper-2:    #1E1817;
    --line:       #352B29;
    --line-strong:#4A3B38;
    --on-red:     #17110F;
  }
}
:root[data-theme="dark"]{
  --red:        #FF5044;
  --red-text:   #FF5044;
  --red-badge:  #FF5044;
  --red-deep:   #FF7B71;
  --red-soft:   #2B1714;
  --red-line:   #5A2A25;
  --ink:        #F6EEEC;
  --ink-mid:    #B6A19D;
  --ink-faint:  #A08A86;
  --paper:      #151110;
  --paper-2:    #1E1817;
  --line:       #352B29;
  --line-strong:#4A3B38;
  --on-red:     #17110F;
}

/* ---------- ベース ---------- */
*{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-jp);
  font-size: 18.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-underline-offset: 3px;
}
a{ color: inherit; }
:focus-visible{ outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
img{ max-width: 100%; height: auto; }

.wrap{
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--pad);
}

/* ---------- 共通パーツ ---------- */
.eyebrow{
  font-family: var(--f-lat); font-weight: 800; font-size: 14.5px;
  letter-spacing: .18em; line-height: 1.45; text-transform: uppercase;
  color: var(--red-text);
}
.tri-mark{
  width: 11px; height: 10px; flex: none; background: var(--red);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
/* ラベル・バッジ類は本文の行送り(1.9)を継承させない */
.stat dt, .act-key, .sub-h, .feature-badge, .hero-cta .tag, .news-cat,
.rename, .spec dt, .contact-list dt,
.aside-card dt, .roster th, .copy, .req-mark, .opt-mark{ line-height: 1.45; }

/* 白抜きバッジの地色 */
.feature-badge, .hero-cta .tag,
.rename, .req-mark{ background: var(--red-badge); color: var(--on-red); }

.more{
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 10px 0;
  font-size: 16.5px; font-weight: 700; color: var(--red-text); text-decoration: none;
}
.more-right{ display: flex; justify-content: flex-end; }
.more span{ display: inline-block; transition: transform .18s; }
.more:hover span{ transform: translateX(4px); }

.sub-h{
  font-family: var(--f-jp); font-weight: 700; font-size: 19.5px; letter-spacing: .02em;
  line-height: 1.5; color: var(--ink);
  padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin: 0 0 4px;
}

/* ---------- ナビ ---------- */
.nav{
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in{
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  min-height: 66px;
}
.brand{
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
.brand-mark{
  width: 24px; height: 21px; flex: none; background: var(--red);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.brand-name{
  font-weight: 700; font-size: clamp(15.5px, 1.67vw, 20px);
  letter-spacing: .01em; color: var(--red-text);
}
.nav-links{ display: flex; align-items: center; flex: none; }
.nav-links a{
  font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink);
  line-height: 1.6; padding: 10px clamp(9px, 1.2vw, 16px);
  white-space: nowrap;
  border-right: 1px solid var(--line);
  transition: color .18s, box-shadow .18s;
}
.nav-links a:first-child{ border-left: 1px solid var(--line); }
.nav-links a:hover{ color: var(--red-text); }
.nav-links a[aria-current="page"]{
  color: var(--red-text); box-shadow: inset 0 -3px 0 var(--red);
}

/* モバイル用メニュー */
.menu{ display: none; margin-left: auto; }
.menu > summary{
  list-style: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 11px 20px;
}
.menu > summary::-webkit-details-marker{ display: none; }
.menu[open] > summary{ border-color: var(--red); color: var(--red-text); }
.menu-panel{
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -30px rgba(23,17,15,.6);
  display: grid; padding: 4px var(--pad) 18px;
}
.menu-panel a{
  display: flex; align-items: center; min-height: 52px;
  padding: 0 2px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 18.5px; font-weight: 500;
}
.menu-panel a[aria-current="page"]{ color: var(--red-text); font-weight: 700; }

/* ---------- ヒーロー（トップのみ） ---------- */
.hero{
  position: relative; overflow: hidden;
  background: var(--paper);
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(240px, 26vw, 340px);
}
.hero-in{
  position: relative; z-index: 3;
  max-width: min(100%, 1760px);
  padding-inline: clamp(20px, 2.2vw, 36px);
}
.hero-copy{ max-width: 100%; }

.hero .eyebrow{
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; letter-spacing: .14em;
}
.hero h1{
  margin: 22px 0 0;
  font-weight: 900;
  font-size: clamp(34px, 5.8vw, 82px);
  line-height: 1.14;
  letter-spacing: -.015em;
  font-feature-settings: "palt" 1;
  max-width: min(1120px, 80%);
}
.hero h1 .ax{
  color: var(--red);
  font-family: var(--f-lat); font-weight: 800;
  font-size: 1.20em; letter-spacing: -.02em; padding-inline: .04em;
}
/* 統計：折り返さず、区切りは隣接セレクタで引く（端に余る罫線を作らない） */
.hero-stats{
  display: flex; flex-wrap: nowrap;
  max-width: min(960px, 72%);
  margin-top: clamp(32px, 4.6vw, 52px);
  border-top: 1px solid var(--line);
}
.stat{ flex: 1 1 auto; min-width: 0; padding: 18px 20px 18px 0; }
.stat + .stat{ border-left: 1px solid var(--line); padding-left: 20px; }
.stat dt{
  font-family: var(--f-lat); font-weight: 800; font-size: 16px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mid);
}
.stat dd{
  margin: 4px 0 0; font-family: var(--f-lat); font-weight: 800;
  font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; letter-spacing: -.02em;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat dd .u{
  font-family: var(--f-jp); font-size: 1em; font-weight: 800;
  margin-left: 2px; letter-spacing: 0; color: inherit;
}

.hero-cta{
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin-top: clamp(30px, 4vw, 44px);
  padding: 15px 24px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--red-line); border-radius: var(--r);
  box-shadow: 0 10px 26px -22px rgba(228,50,42,.85);
  transition: border-color .18s, transform .18s cubic-bezier(.2,.8,.2,1);
}
.hero-cta:hover{ border-color: var(--red); transform: translateY(-2px); }
.hero-cta .tag{
  font-family: var(--f-lat); font-weight: 800; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.hero-cta .date{
  font-family: var(--f-lat); font-weight: 800; font-size: 27px; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.hero-cta .txt{ font-weight: 700; font-size: 20px; }
.hero-cta .go{ font-size: 18px; color: var(--ink-mid); }

/* ヒーローの図版 */
.hero-fx{
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; user-select: none; overflow: hidden;
}
.fx-field{
  position: absolute; inset: 0; background: var(--red);
  clip-path: polygon(0 100%, 100% 26%, 100% 100%);
}
.fx-stripe{ position: absolute; inset: 0; background: var(--red); }
.fx-stripe.s1{ opacity: .16; clip-path: polygon(0 92%, 100% 18%, 100% 24%, 0 98%); }
.fx-stripe.s2{ opacity: .09; clip-path: polygon(0 84%, 100% 10%, 100% 17%, 0 91%); }
.fx-lattice{
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient( 60deg, rgba(255,255,255,.17) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(-60deg, rgba(255,255,255,.17) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(  0deg, rgba(255,255,255,.10) 0 1px, transparent 1px 66px);
}
.fx-in-tri{ position: absolute; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.fx-ax{
  position: absolute; right: -.05em; bottom: -.30em;
  font-family: var(--f-lat); font-weight: 800; font-size: clamp(200px, 32vw, 520px);
  line-height: .8; letter-spacing: -.05em; color: rgba(255,255,255,.13);
}
.fx-waves{ position: absolute; left: 0; right: 0; bottom: 0; height: clamp(64px, 8vw, 112px); }
.fx-waves svg{ position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; display: block; }
.bob-a{ animation: bob 11s ease-in-out infinite alternate; }
.bob-b{ animation: bob 8s  ease-in-out infinite alternate-reverse; }
@keyframes bob{ from{ transform: translateY(4px); } to{ transform: translateY(-4px); } }

/* ---------- セクション ---------- */
.sec{ padding-block: var(--pad-sec); }
.sec--afterhead{ padding-top: var(--pad-sec-top); }
.sec-alt{ background: var(--paper-2); }
.sec-head{ text-align: center; margin-bottom: clamp(34px, 4.6vw, 56px); }
.sec-head .eyebrow{ display: inline-flex; align-items: center; gap: 8px; }
.sec-head h2{
  margin: var(--space-eyebrow) 0 0; font-weight: 900;
  font-size: clamp(26.5px, 3.64vw, 38.5px); letter-spacing: -.02em; line-height: 1.4;
  text-wrap: balance;
}
.sec-head h2::after{
  content: ""; display: block; width: 46px; height: 3px;
  background: var(--red); margin: 16px auto 0;
}
.sec-head p{
  margin: 18px auto 0; max-width: 34em;
  color: var(--ink-mid); font-size: 18px; line-height: 1.85;
}

/* ---------- お知らせ（特集） ---------- */
.feature{
  display: grid; grid-template-columns: 1.05fr .95fr;
  border: 1px solid var(--red-line); border-top: 4px solid var(--red);
  border-radius: var(--r); overflow: hidden; background: var(--paper);
  box-shadow: 0 24px 50px -46px rgba(23,17,15,.7);
}
.feature-main{ padding: var(--pad-card); }
.feature-badge{
  display: inline-block;
  font-family: var(--f-jp); font-weight: 700; font-size: 15px;
  letter-spacing: .02em; padding: 4px 11px; border-radius: 3px;
}
.feature-badge.ghost{
  background: var(--paper); color: var(--red-text);
  border: 1px solid var(--red); margin-left: 8px;
}
.feature-date{
  margin: 20px 0 0; font-family: var(--f-lat); font-weight: 800;
  font-size: clamp(47px, 7.06vw, 77px); line-height: .95; letter-spacing: -.04em;
  color: var(--red); font-variant-numeric: tabular-nums;
}
.feature-date .wd{
  font-family: var(--f-jp); font-size: max(16px, .26em); font-weight: 700;
  letter-spacing: 0; color: var(--ink); margin-left: 12px; vertical-align: 1.55em;
}
.feature-main h3{
  margin: var(--space-eyebrow) 0 0; font-weight: 700;
  font-size: clamp(22px, 2.57vw, 30px); letter-spacing: -.02em; line-height: 1.45;
}
.feature-sub{ margin: 8px 0 0; font-family: var(--f-min); font-size: 18px; color: var(--ink-mid); }
.feature-body{ margin: 18px 0 0; font-size: 18px; line-height: 1.95; max-width: 34em; }
.feature-side{
  background: var(--red-soft); border-left: 1px solid var(--red-line);
  padding: var(--pad-card);
}
.spec{ margin: 0; display: grid; grid-template-columns: 6em 1fr; gap: 12px 16px; font-size: 17px; }
.spec dt{ color: var(--red-deep); font-weight: 700; font-size: 16px; letter-spacing: .02em; padding-top: 3px; }
.spec dd{ margin: 0; }
.deadline{
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--red-line);
  font-size: 16px; color: var(--ink-mid); line-height: 1.9;
  font-variant-numeric: tabular-nums;
}
.deadline b{ color: var(--ink); font-weight: 700; }

/* ---------- お知らせ（一覧） ---------- */
.news-box{ margin-top: 40px; }
/* 1件ずつ独立したカード。枠は li、余白と当たり判定は a 側に持たせる */
.news-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.news-list li{
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .18s, box-shadow .18s, transform .18s cubic-bezier(.2,.8,.2,1);
}
.news-list li:hover{
  border-color: var(--red-line);
  box-shadow: 0 14px 30px -24px rgba(228,50,42,.85);
  transform: translateY(-2px);
}
.news-row{
  display: grid; grid-template-columns: 112px 90px minmax(0, 1fr) 16px;
  gap: 4px 20px; align-items: baseline;
  padding: 22px clamp(16px, 2.4vw, 28px);
  border-radius: var(--r);
  text-decoration: none; color: inherit;
  transition: background .18s;
}
a.news-row:hover{ background: var(--red-soft); }
.news-date{
  font-family: var(--f-lat); font-weight: 600; font-size: 18.5px; color: var(--red-text);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.news-cat{
  font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink-mid);
  border: 1px solid var(--line-strong); border-radius: 3px; padding: 3px 10px;
  justify-self: start; white-space: nowrap;
}
.news-ttl{ font-size: 18.5px; font-weight: 500; max-width: 40em; }
.news-ttl .meta{
  display: block; font-size: 16px; line-height: 1.85;
  color: var(--ink-mid); margin-top: 5px; max-width: 42em;
}
.news-chev{ color: var(--ink-faint); font-family: var(--f-lat); }

/* ---------- 活動内容（カード） ---------- */
.acts{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.act{
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--pad-card);
  transition: border-color .2s, transform .2s cubic-bezier(.2,.8,.2,1);
}
.act:hover{ border-color: var(--red-line); transform: translateY(-3px); }
.act-key{
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-lat); font-weight: 800; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mid);
}
.act h3{
  margin: 16px 0 0; font-size: clamp(22px, 2.11vw, 29px); font-weight: 700;
  letter-spacing: -.01em; line-height: 1.5; text-wrap: balance;
  font-feature-settings: "palt" 1;
}
.act p{ margin: 12px 0 0; font-size: 18px; color: var(--ink-mid); }

/* ---------- 沿革 ---------- */
.hist{ position: relative; max-width: 940px; margin-inline: auto; }
.hist-axis{
  position: absolute; left: 140px; margin-left: -1px; width: 2px;
  top: 10px; bottom: 30px; background: var(--line-strong);
}
.hist-axis-fill{ position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--red); }
.hist-item{
  display: grid; grid-template-columns: 116px minmax(0, 1fr);
  gap: 6px 48px; padding-bottom: 34px; position: relative;
}
.hist-item::after{
  content: ""; position: absolute; left: 140px; top: 10px;
  width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 2px var(--line-strong) inset;
  transition: background .3s ease, box-shadow .3s ease;
}
.hist-item.is-on::after{ background: var(--red); box-shadow: 0 0 0 2px var(--red) inset; }
.hist-item.key::after{
  width: 16px; height: 15px; margin-left: -8px; top: 8px; border-radius: 0;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: var(--line-strong); box-shadow: none;
}
.hist-item.key.is-on::after{ background: var(--red); }
.hist-when{
  font-family: var(--f-lat); font-weight: 800; font-size: 17px; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; color: var(--ink-mid);
  text-align: right; padding-top: 3px;
  transition: color .3s ease;
}
.hist-item.is-on .hist-when{ color: var(--ink); }
.hist-item.key.is-on .hist-when{ color: var(--red-text); }
.hist-what{ font-size: 18.5px; max-width: 40em; }
.hist-what b{ font-weight: 700; }
.hist-what .note{
  display: block; font-size: 16px; line-height: 1.85;
  color: var(--ink-mid); margin-top: 5px; max-width: 42em;
}
.rename{
  display: inline-block; margin-left: 8px; vertical-align: 2px; border-radius: 3px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .02em; padding: 2px 9px;
}

/* ---------- 会員一覧 ---------- */
.members-meta{
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline;
  justify-content: center; margin-bottom: 26px; font-size: 16px; color: var(--ink-mid);
}
.members-meta .n{
  font-family: var(--f-lat); font-weight: 800; font-size: 34px; color: var(--red);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.members-meta .n span{ font-family: var(--f-jp); font-size: 17px; margin-left: 4px; color: var(--ink); }
.members{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 clamp(14px, 2.2vw, 32px);
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line);
}
.members li{
  display: flex; align-items: baseline; column-gap: 6px;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
  font-size: 18.5px; line-height: 1.6;
}
.members .co{ font-weight: 500; }
.members .loc{
  margin-left: auto; padding-left: 8px;
  font-size: 16px; color: var(--ink-mid); white-space: nowrap;
}
.members-note{
  margin: 24px auto 0; font-size: 16px; color: var(--ink-mid);
  text-align: center; max-width: 42em; line-height: 1.9;
}

/* ---------- 組織 ---------- */
.org{ display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 4.6vw, 60px); align-items: start; }
.roster-wrap{ overflow-x: auto; }
.roster{ width: 100%; border-collapse: collapse; font-size: 18.5px; }
.roster th, .roster td{
  text-align: left; padding: 13px 8px 13px 0;
  border-bottom: 1px solid var(--line); vertical-align: baseline;
}
.roster th{
  font-weight: 700; font-size: 16px; color: var(--red-deep);
  width: 5.2em; white-space: nowrap; letter-spacing: .02em;
}
.roster td.nm{ font-weight: 700; white-space: nowrap; }
.roster td.co{ color: var(--ink-mid); font-size: 16.5px; }
.advisors{ list-style: none; margin: 0; padding: 0; }
.advisors li{ padding: 14px 0; border-bottom: 1px solid var(--line); }
.advisors .nm{ font-weight: 700; font-size: 18.5px; }
.advisors .ti{ display: block; font-size: 16px; line-height: 1.75; color: var(--ink-mid); margin-top: 3px; }
.org-note{ margin-top: 24px; font-size: 17px; color: var(--ink-mid); line-height: 1.9; }

/* ---------- 入会・お問い合わせ ---------- */
.join{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.join-intro{ margin: 0; font-size: 18.5px; line-height: 1.95; max-width: 34em; }
.join-h{
  margin: clamp(30px, 3.6vw, 42px) 0 0; font-weight: 700;
  font-size: clamp(22px, 2.33vw, 29px); letter-spacing: -.02em; line-height: 1.5;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.req{ list-style: none; margin: 6px 0 0; padding: 0; }
.req li{
  position: relative; padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.72vw, 20px); line-height: 1.85;
}
.req li::before{
  content: ""; position: absolute; left: 2px; top: 25px;
  width: 13px; height: 12px; background: var(--red);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.contact-card{
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--pad-card);
}
.contact-card h3{
  margin: var(--space-eyebrow) 0 0; font-size: clamp(21px, 2.44vw, 26.5px);
  font-weight: 700; letter-spacing: -.02em;
}
.contact-list{ margin: 22px 0 0; display: grid; grid-template-columns: 6em 1fr; gap: 13px 16px; font-size: 18px; }
.contact-list dt{
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  color: var(--red-deep); padding-top: 3px;
}
.contact-list dd{ margin: 0; }
.contact-list a{ color: var(--red-text); text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- 赤帯（CTA） ---------- */
.cta-band{ position: relative; overflow: hidden; background: var(--red); color: #FFFFFF; }
.cta-band::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient( 60deg, rgba(255,255,255,.13) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(-60deg, rgba(255,255,255,.13) 0 1px, transparent 1px 68px);
}
.cta-in{
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px;
  padding-block: clamp(40px, 5.4vw, 62px);
}
.cta-in h2{ margin: 0; font-size: clamp(24.5px, 3.21vw, 34px); font-weight: 900; letter-spacing: -.02em; }
.cta-in p{ margin: 10px 0 0; font-size: 18px; color: #FFFFFF; }
.cta-btn{
  margin-left: auto; display: inline-flex; align-items: center; gap: 16px;
  background: var(--paper); color: var(--red-text); text-decoration: none;
  font-weight: 700; font-size: 18.5px;
  padding: 17px 34px; border-radius: 999px;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
  box-shadow: 0 14px 30px -20px rgba(0,0,0,.6);
}
.cta-btn:hover{ transform: translateY(-2px); box-shadow: 0 20px 36px -20px rgba(0,0,0,.65); }

/* ---------- フッター ---------- */
.foot{ background: var(--paper); border-top: 1px solid var(--line); }
.foot-in{ padding-block: 40px 32px; display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: flex-start; }
.foot-name{ font-weight: 700; font-size: 19.5px; color: var(--red-text); }
.foot-sub{ font-size: 16px; color: var(--ink-mid); margin-top: 8px; line-height: 1.9; }
.foot-right{ margin-left: auto; text-align: right; }
.foot-links{ display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: flex-end; font-size: 16px; }
.foot-links a{
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; color: var(--ink-mid);
}
.foot-links a:hover{ color: var(--red-text); }
.foot-bottom{ border-top: 1px solid var(--line); }
.foot-bottom .wrap{ padding-block: 18px 24px; }
.copy{
  margin: 0; font-family: var(--f-lat); font-size: 14px;
  letter-spacing: .08em; color: var(--ink-mid); text-align: center;
}

/* ---------- 下層ページの見出し ---------- */
.page-head{
  position: relative; overflow: hidden;
  background: var(--red); color: #FFFFFF;
  padding-block: clamp(44px, 6vw, 78px);
}
.page-head::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient( 60deg, rgba(255,255,255,.15) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(-60deg, rgba(255,255,255,.15) 0 1px, transparent 1px 72px);
}
.head-tri{ position: absolute; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.page-head-in{ position: relative; z-index: 2; }
.page-head .eyebrow{ color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; }
.page-head .tri-mark{ background: #fff; }
.page-head h1{
  margin: var(--space-eyebrow) 0 0; font-size: clamp(29px, 4.49vw, 47px);
  font-weight: 900; letter-spacing: -.025em;
}
.page-head p{ margin: 14px 0 0; font-size: 18px; max-width: 40em; color: #FFFFFF; }

.crumb{ margin: 0; padding: 26px 0 0; font-size: 16px; color: var(--ink-mid); }
.crumb a{ display: inline-block; padding: 8px 4px; color: var(--red-text); text-decoration: none; font-weight: 700; }
.crumb a:hover{ text-decoration: underline; }

/* ---------- 活動記録（年度別） ---------- */
.year-head{
  display: flex; align-items: baseline; gap: 16px;
  margin: clamp(38px, 5vw, 56px) 0 4px; padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.year-head:first-of-type{ margin-top: 8px; }
.year-head .y{
  font-family: var(--f-lat); font-weight: 800; font-size: clamp(26.5px, 3.21vw, 34px);
  letter-spacing: -.02em; color: var(--red-text); font-variant-numeric: tabular-nums;
}
.year-head .jp{ font-size: 17px; font-weight: 700; color: var(--ink); }
.year-head .cnt{
  margin-left: auto; font-size: 16px; color: var(--ink-mid);
  font-variant-numeric: tabular-nums;
}
.log{ list-style: none; margin: 0; padding: 0; }
.log li{ border-bottom: 1px solid var(--line); }
.log-row{
  display: grid; grid-template-columns: 112px 90px minmax(0, 1fr);
  gap: 4px 20px; align-items: baseline; padding: 18px 2px;
}
a.log-row{ text-decoration: none; color: inherit; transition: background .18s; }
a.log-row:hover{ background: var(--red-soft); }
a.log-row:hover .news-ttl{ color: var(--red-text); }
.log-row .news-ttl{ font-weight: 700; }
.log-row .meta{ font-weight: 400; }

/* ---------- 活動内容（詳細） ---------- */
.act-detail{ padding-block: clamp(34px, 4.4vw, 54px); border-top: 1px solid var(--line); }
.act-detail:first-of-type{ border-top: 0; padding-top: clamp(10px, 2vw, 20px); }
.act-detail-in{
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 56px); align-items: start;
}
.act-detail .eyebrow{ color: var(--ink-mid); display: inline-flex; align-items: center; gap: 8px; }
.act-detail h2{
  margin: var(--space-eyebrow) 0 0; font-weight: 700;
  font-size: clamp(23.5px, 2.57vw, 32px); letter-spacing: -.015em; line-height: 1.5;
  text-wrap: balance; font-feature-settings: "palt" 1;
}
.act-detail .lede{ margin: 12px 0 0; font-size: 18px; color: var(--ink-mid); }
.ex-list{ list-style: none; margin: 0; padding: 0; }
.ex-list li{ border-bottom: 1px solid var(--line); }
.ex-list li:first-child{ border-top: 1px solid var(--line); }
.ex-row{ display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding: 15px 2px; }
.ex-when{
  font-family: var(--f-lat); font-weight: 700; font-size: 18px; color: var(--red-text);
  font-variant-numeric: tabular-nums;
}
.ex-what{ font-size: 18px; line-height: 1.8; max-width: 42em; }

/* ---------- お問い合わせフォーム ---------- */
.contact-grid{
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.form{ display: grid; gap: 0; border-top: 2px solid var(--ink); }
.field{
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  gap: 10px 28px; align-items: start;
  padding: 22px 2px; border-bottom: 1px solid var(--line);
}
.field > label, .field .lab{
  font-weight: 700; font-size: 17px; line-height: 1.5; padding-top: 10px;
  display: flex; align-items: center; gap: 10px;
}
/* 必須／任意はラベル列の右端で揃え、箱の幅も揃える */
.req-mark, .opt-mark{
  margin-left: auto; flex: none;
  min-width: 4.8em; text-align: center;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; border-radius: 3px;
}
.req-mark{ padding: 3px 9px; }
.opt-mark{ padding: 2px 9px; border: 1px solid var(--line-strong); color: var(--ink-mid); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea{
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 13px 15px; transition: border-color .18s, box-shadow .18s;
}
.form textarea{ min-height: 180px; resize: vertical; line-height: 1.85; }
.form input:focus, .form select:focus, .form textarea:focus{
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft);
}
.hint{ margin: 8px 0 0; font-size: 16px; line-height: 1.8; color: var(--ink-mid); }
.consent{
  display: flex; align-items: flex-start; gap: 12px;
  padding: 24px 2px 0; min-height: 44px; font-size: 18px; max-width: 40em;
}
.consent input{ width: 24px; height: 24px; accent-color: var(--red); margin: 2px 0 0; flex: none; }
.submit-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 28px; }
.btn-send{
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--red); color: #FFFFFF; border: 0; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 18.5px; padding: 18px 44px; cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
  box-shadow: 0 16px 32px -22px rgba(228,50,42,.95);
}
.btn-send:hover{ transform: translateY(-2px); box-shadow: 0 22px 40px -22px rgba(228,50,42,.95); }
.btn-send:disabled{ opacity: .5; cursor: not-allowed; transform: none; }
.form-note{ font-size: 16px; color: var(--ink-mid); }
.notice{ margin-top: 24px; padding: 18px 22px; border-radius: var(--r); font-size: 18px; line-height: 1.85; }
.notice.warn{ background: var(--red-soft); border: 1px solid var(--red-line); }
.notice.warn b{ color: var(--red-deep); }

.aside-card{
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--pad-card);
}
.aside-card + .aside-card{ margin-top: 20px; }
.aside-card .eyebrow{ display: inline-flex; align-items: center; gap: 8px; }
.aside-card h2{ margin: var(--space-eyebrow) 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.tel{
  display: block; margin: 16px 0 0; font-family: var(--f-lat); font-weight: 800;
  font-size: clamp(29px, 2.78vw, 34px); letter-spacing: -.02em; color: var(--red);
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.aside-card dl{ margin: 16px 0 0; display: grid; grid-template-columns: 5em 1fr; gap: 11px 14px; font-size: 17px; }
.aside-card dt{ font-size: 16px; font-weight: 700; color: var(--red-deep); padding-top: 3px; }
.aside-card dd{ margin: 0; }
.aside-card ul{ list-style: none; margin: 16px 0 0; padding: 0; }
.aside-card li{
  position: relative; padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line); font-size: 17px;
}
.aside-card li:last-child{ border-bottom: 0; }
.aside-card li::before{
  content: ""; position: absolute; left: 2px; top: 20px;
  width: 11px; height: 10px; background: var(--red);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* ---------- 活動レポート（個別ページ） ---------- */
.report{
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(28px, 4vw, 60px); align-items: start;
}
.report-body{ margin: 0; font-size: 17px; line-height: 1.95; max-width: 40em; }
.report-body + .report-body{ margin-top: 1.4em; }
.report-side{
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--pad-card);
}
.report-side .spec{ grid-template-columns: 5.5em 1fr; }

.report-pager{
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 14px 28px;
  margin-top: clamp(34px, 4.4vw, 54px);
  padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line);
}

/* ---------- 写真ギャラリー ---------- */
.gallery{
  list-style: none; margin: clamp(26px, 3.4vw, 40px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px);
}
.shot{ margin: 0; }
.shot button{
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.shot button:hover{ border-color: var(--red-line); box-shadow: 0 14px 30px -24px rgba(228,50,42,.85); }
.shot img{ display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption{ margin-top: 9px; font-size: 15px; line-height: 1.7; color: var(--ink-mid); }
.shot--tall img{ aspect-ratio: 3 / 4; object-fit: contain; background: var(--paper); }
.gallery-note{ margin: 22px 0 0; font-size: 15px; color: var(--ink-mid); line-height: 1.9; }

/* 画像を大きく見るための簡易ライトボックス */
.lightbox{
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center;
  background: rgba(23,17,15,.92); padding: clamp(16px, 4vw, 56px);
}
.lightbox[open]{ display: flex; }
.lightbox img{ max-width: 100%; max-height: 78vh; border-radius: 6px; }
.lightbox figcaption{
  margin-top: 16px; text-align: center; color: #FFFFFF;
  font-size: 16px; line-height: 1.8;
}
.lightbox-close{
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.14); border: 0; color: #FFFFFF;
  font-family: var(--f-lat); font-size: 24px; line-height: 1;
}
.lightbox-close:hover{ background: rgba(255,255,255,.26); }
.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.14); border: 0; color: #FFFFFF;
  font-family: var(--f-lat); font-size: 26px; line-height: 1;
}
.lightbox-nav:hover{ background: rgba(255,255,255,.26); }
.lightbox-prev{ left: clamp(8px, 2vw, 28px); }
.lightbox-next{ right: clamp(8px, 2vw, 28px); }

/* ============================================================
   ブレークポイント：1200 / 900 / 640 / 480
   ============================================================ */

@media (max-width: 1200px){
  .hero-copy{ max-width: 100%; }
  .fx-field { clip-path: polygon(0 100%, 100% 62%, 100% 100%); }
  .fx-stripe.s1{ clip-path: polygon(0 96%, 100% 56%, 100% 60%, 0 100%); }
  .fx-stripe.s2{ clip-path: polygon(0 90%, 100% 50%, 100% 56%, 0 96%); }
  .acts{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
  .hero h1{ max-width: 100%; }
  .report{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .hero-stats{ max-width: 100%; }
  .fx-field { clip-path: polygon(0 100%, 100% 76%, 100% 100%); }
  .fx-stripe.s1{ clip-path: polygon(0 96%, 100% 72%, 100% 76%, 0 100%); }
  .fx-stripe.s2{ clip-path: polygon(0 91%, 100% 67%, 100% 72%, 0 96%); }
  .nav-links{ display: none; }
  .menu{ display: block; }
  .feature{ grid-template-columns: 1fr; }
  .feature-side{ border-left: 0; border-top: 1px solid var(--red-line); }
  .org{ grid-template-columns: 1fr; }
  .join{ grid-template-columns: 1fr; }
  .act-detail-in{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .foot-right{ margin-left: 0; text-align: left; }
  .foot-links{ justify-content: flex-start; }
}

@media (max-width: 640px){
  .acts{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .news-row{ grid-template-columns: 1fr; }
  .news-row .news-cat{ margin-top: 6px; }
  .news-chev{ display: none; }
  .log-row{ grid-template-columns: 1fr; }
  .log-row .news-cat{ margin-top: 6px; }
  .ex-row{ grid-template-columns: 1fr; }
  .hist-axis{ left: 6px; margin-left: 0; }
  .hist-item{ grid-template-columns: 1fr; gap: 4px; padding-left: 32px; padding-bottom: 28px; }
  .hist-item::after{ left: 7px; margin-left: -5px; top: 12px; }
  .hist-item.key::after{ left: 7px; margin-left: -8px; top: 10px; }
  .hist-when{ text-align: left; }
  .field{ grid-template-columns: 1fr; }
  .field > label, .field .lab{ padding-top: 0; }
  .cta-btn{ margin-left: 0; width: 100%; justify-content: center; }
  .members-meta{ justify-content: flex-start; }
  .fx-field { clip-path: polygon(0 100%, 100% 86%, 100% 100%); }
  .fx-stripe.s1{ clip-path: polygon(0 97%, 100% 83%, 100% 86%, 0 100%); }
  .fx-stripe.s2{ clip-path: polygon(0 93%, 100% 79%, 100% 83%, 0 97%); }
  .hero-stats{ flex-direction: column; }
  .stat{ padding: 15px 0; }
  .stat + .stat{ border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .req-mark, .opt-mark{ margin-left: 0; }
}

@media (max-width: 480px){
  .hero h1{ font-size: 30px; }
  .feature-main, .feature-side, .act, .contact-card, .aside-card{ padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce){
  .hero-cta, .act, .news-list li, .cta-btn, .btn-send, .more span,
  .hist-item::after, .hist-when{ transition: none; }
  .bob-a, .bob-b{ animation: none; }
}
