@charset "UTF-8";
/* ==========================================================================
   小松空き家相談センター 公式サイト — style.css
   正本：brief/DESIGN.md
   ========================================================================== */

/* ---------- 1. トークン ---------- */
:root {
  --cream:      #FBF8F1;
  --sand:       #F3EEE2;
  --green:      #1F6B3A;
  --green-deep: #174F2C;
  --leaf:       #6FB36B;
  --leaf-pale:  #DDEFD9;
  --sun:        #F5C451;
  --sun-hover:  #EDB63A;
  --clay:       #D98C5F;
  --ink:        #173D27;
  --text:       #2E2E2E;
  --muted:      #555E59;
  --line:       #E4E0D4;
  --white:      #FFFFFF;

  --maxw: 1200px;
  --r-card: 20px;
  --r-img: 16px;
  --r-pill: 999px;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px;
  --sp-4: 32px; --sp-6: 48px; --sp-8: 64px;
  --sec-y: 112px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 420ms;

  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Rounded Mplus 1c", var(--font-jp);
  --font-en: "Nunito", "Segoe UI", var(--font-jp);
}

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px; line-height: 1.9;
  color: var(--text); background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.45; letter-spacing: 0.01em; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- 3. レイアウト ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-3); }
.section { padding-block: var(--sec-y); }
.section--sand { background: var(--sand); }
.section--pale { background: var(--leaf-pale); }
.section--green { background: var(--green); color: var(--white); }
/* 最後のCTA帯：通常のセクションほど余白を取らない（内容が短く、間延びするため） */
.section--green { padding-block: 72px; }

.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; color: var(--green);
  margin-bottom: var(--sp-2);
}
.sec-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); }
.sec-title { font-size: 34px; margin-bottom: var(--sp-3); }
.sec-lead  { color: var(--muted); max-width: 720px; }
.sec-head { margin-bottom: var(--sp-6); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* ---------- 4. ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1;
  border: 2px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .arw { transition: transform 200ms var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--leaf-pale); }
/* CTA：陽の地＋見出し濃色の文字（白文字は 1.7:1 で禁止） */
.btn--cta { background: var(--sun); color: var(--ink); }
.btn--cta:hover { background: var(--sun-hover); }
.section--green .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.section--green .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- 5. ヘッダー ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(251,248,241,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease);
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: var(--sp-3); transition: height 250ms var(--ease); }
.hdr.is-scrolled .hdr__inner { height: 66px; }
.hdr__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.hdr__logo:hover { text-decoration: none; }
.hdr__logo img { height: 68px; width: auto; transition: height 250ms var(--ease); }
.hdr.is-scrolled .hdr__logo img { height: 48px; }
.hdr__logo .logo__t { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: 0.02em; }
.hdr__logo .logo__s { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); }
.gnav { display: flex; align-items: center; gap: var(--sp-4); }
.gnav a { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gnav a:hover { color: var(--green); text-decoration: none; }
.hdr .btn { min-height: 44px; padding: 0 22px; font-size: 15px; white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform 250ms var(--ease), opacity 200ms; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--cream);
  padding: 100px 20px var(--sp-6);
  opacity: 0; visibility: hidden;
  transition: opacity 250ms var(--ease), visibility 250ms;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a { display: block; padding: 18px 0; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer a.drawer__cta { margin-top: var(--sp-3); text-align: center; border: 0; background: var(--sun); border-radius: var(--r-pill); }

/* ---------- 6. ヒーロー ---------- */
.hero { position: relative; margin-top: 84px; padding-block: var(--sp-8) var(--sp-6); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--sp-6); align-items: center; }
.hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--green);
  margin-bottom: var(--sp-3);
}
.hero__label::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--sun); }
.hero__title { font-size: 48px; line-height: 1.35; margin-bottom: var(--sp-3); }
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--green); }
/* 日本語はどこでも折り返るため、狭い幅で語の途中（「くだ／さい」）で割れる。
   語句を inline-block にして、切れてよい位置でだけ折り返させる。 */
.nb { display: inline-block; }
.hero__text { max-width: 540px; margin-bottom: var(--sp-4); }
.hero__btns { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.hero__note { margin-top: var(--sp-3); font-size: 13px; color: var(--muted); }
.hero__art { position: relative; }
.hero__art::before {
  content: ""; position: absolute; inset: 6% -4% -4% 4%;
  background: var(--leaf-pale);
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  z-index: 0;
}
.hero__art img { position: relative; z-index: 1; width: 100%; }
.hero__island { position: relative; z-index: 2; }
/* 浮島の下の影：島が浮くと小さく薄くなる（motion.css） */
.hero__shadow { position: absolute; z-index: 1; left: 14%; right: 14%; bottom: -3%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23,61,39,.22), rgba(23,61,39,0)); }
/* 雲：淡緑の丸（::before）の上、島の後ろ */
.hero__sky { position: absolute; inset: -6% -8% 10% -8%; z-index: 1; overflow: hidden; pointer-events: none;
  /* 雲が枠の端でまっすぐ切れないよう、左右の端で透明にぼかす */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.hero__c { position: absolute; left: 0; display: block; opacity: .95; }
.hero__c svg { display: block; height: auto; }
.hero__c--1 { top: 2%; }
.hero__c--2 { top: 14%; }
.hero__c--3 { top: 30%; }
.hero__c--4 { top: 8%; }

/* ---------- 7. 課題カード ---------- */
.issues { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.issue {
  background: var(--white); border-radius: var(--r-card);
  padding: var(--sp-4) var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
}
/* 課題イラストは場面絵（人物＋家）なので、円に閉じ込めず幅いっぱいに見せる */
.issue__art { height: 190px; margin: 0 auto var(--sp-3); display: grid; place-items: end center; }
.issue__art img { max-height: 190px; width: auto; max-width: 100%; }
.issue__h { font-size: 19px; text-align: center; margin-bottom: var(--sp-2); }
.issue__d { font-size: 14px; color: var(--muted); line-height: 1.8; }
.issues__note { margin-top: var(--sp-4); text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.issues__note strong { color: var(--green); }

/* ---------- 8. ABOUT ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-8); align-items: center; }
.about__text p + p { margin-top: 1.2em; }
.about__art { position: relative; }
.about__art::before { content: ""; position: absolute; inset: 4% -2% 2% 2%; background: var(--leaf-pale); border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%; }
.about__art img { position: relative; width: 100%; }
.experts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-4); }
.experts li {
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 16px; line-height: 1.5;
}
.experts li::before { content: "●"; color: var(--leaf); font-size: 10px; margin-right: 8px; vertical-align: 2px; }
.about__more { margin-top: var(--sp-4); }

/* ---------- 9. できること ---------- */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.svc {
  background: var(--white); border-radius: var(--r-card); padding: var(--sp-4);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-2) var(--sp-3); align-items: start;
  transition: border-color 250ms var(--ease), transform 250ms var(--ease);
}
.svc:hover { border-color: var(--leaf); transform: translateY(-2px); }
.svc__n { font-family: var(--font-en); font-size: 40px; font-weight: 800; line-height: 1; color: var(--leaf); letter-spacing: -0.02em; grid-row: span 2; padding-top: 2px; }
.svc__h { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.svc__h img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.svc__d { font-size: 14px; color: var(--muted); line-height: 1.8; }
.svc__d ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.svc__d li { font-size: 12px; color: var(--green); background: var(--leaf-pale); border-radius: var(--r-pill); padding: 3px 10px; line-height: 1.6; }

/* ---------- 10. ご相談の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-3); position: relative; margin-top: var(--sp-4); }
.flow::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 22px; height: 3px; border-radius: 2px;
  background: var(--leaf-pale);
  transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease);
}
.flow.is-in::before { transform: scaleX(1); }
.step { position: relative; padding-top: 64px; }
.step::before {
  content: attr(data-n);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-family: var(--font-en); font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  border: 4px solid var(--cream);
}
.section--sand .step::before { border-color: var(--sand); }
.step--last::before { background: var(--sun); color: var(--ink); }
.step__h { font-size: 18px; margin-bottom: 6px; }
.step__d { font-size: 14px; color: var(--muted); line-height: 1.8; }
.flow__note {
  margin-top: var(--sp-6); background: var(--white); border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4);
  display: flex; gap: var(--sp-3); align-items: center; border-left: 6px solid var(--sun);
}
.flow__note strong { font-family: var(--font-head); color: var(--ink); font-size: 17px; white-space: nowrap; }
.flow__note p { font-size: 14px; color: var(--muted); }

/* ---------- 11. 実績（写真） ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.work { background: var(--white); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.work__photo { aspect-ratio: 4 / 3; background: var(--leaf-pale); position: relative; overflow: hidden; }
.work__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.work:hover .work__photo img { transform: scale(1.04); }
.work__photo--empty { display: grid; place-items: center; }
.work__photo--empty img { width: 46%; height: auto; object-fit: contain; }
.work__photo--empty::after {
  content: "写真準備中"; position: absolute; right: 12px; bottom: 10px;
  font-size: 11px; color: var(--muted); background: rgba(255,255,255,.85); border-radius: var(--r-pill); padding: 3px 10px;
}
.work__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work__meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font-size: 12px; font-weight: 700; color: var(--green); background: var(--leaf-pale); border-radius: var(--r-pill); padding: 3px 12px; line-height: 1.6; }
.tag--sun { color: var(--ink); background: var(--sun); }
.work__area { font-family: var(--font-en); font-size: 12px; color: var(--muted); font-weight: 700; }
.work__h { font-size: 18px; }
.work__d { font-size: 14px; color: var(--muted); line-height: 1.8; }
.works__more { margin-top: var(--sp-6); text-align: center; }
.sample-note { font-size: 13px; color: var(--muted); margin-top: var(--sp-3); }

/* ---------- 12. 三つの入口 ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.door {
  display: block; background: var(--white); border-radius: var(--r-card); padding: var(--sp-4);
  border: 1px solid var(--line); color: var(--text);
  transition: border-color 250ms var(--ease), transform 250ms var(--ease);
}
.door:hover { text-decoration: none; border-color: var(--leaf); transform: translateY(-2px); }
.door__art { width: 100%; max-width: 260px; height: 170px; object-fit: contain; object-position: left bottom; margin-bottom: var(--sp-3); }
.door__h { font-size: 21px; margin-bottom: 8px; }
.door__d { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: var(--sp-2); }
.door__l { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 14px; }
.door__l .arw { display: inline-block; transition: transform 200ms var(--ease); margin-left: 6px; }
.door:hover .door__l .arw { transform: translateX(4px); }

/* ---------- 13. まちづくり ---------- */
.vision { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.vision__big { font-family: var(--font-head); font-size: 38px; font-weight: 700; line-height: 1.4; color: var(--ink); margin-bottom: var(--sp-3); }
.vision__big em { font-style: normal; color: var(--green); }
.vision__text p + p { margin-top: 1.2em; }
.vision__art img { width: 100%; }

/* ---------- 14. お知らせ ---------- */
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.news { border-top: 1px solid var(--line); }
.news__row {
  display: grid; grid-template-columns: 110px 130px 1fr 48px;
  gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background-color 220ms var(--ease);
}
.news__row:hover { background: var(--white); text-decoration: none; }
.news__date { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--muted); }
.cat { font-size: 12px; font-weight: 700; color: var(--green); background: var(--leaf-pale); border-radius: var(--r-pill); padding: 3px 12px; line-height: 1.6; justify-self: start; }
.news__t { font-size: 15px; }
.news__row:hover .news__t { color: var(--green); }
.pdf-tag { font-family: var(--font-en); font-size: 11px; font-weight: 800; color: var(--clay); justify-self: end; }
.note { margin-top: var(--sp-2); font-size: 13px; color: var(--muted); }

/* ---------- 15. CTA / フッター ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.cta__h { font-size: 36px; color: var(--white); }
.cta p { margin-bottom: var(--sp-3); }
.cta { gap: var(--sp-6); }
.cta__btns { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.cta__tel { margin-top: var(--sp-3); font-size: 14px; color: rgba(255,255,255,.8); }

.ftr { background: var(--green); border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.88); padding-block: var(--sp-6) var(--sp-4); font-size: 14px; }
.ftr a { color: rgba(255,255,255,.88); }
.ftr a:hover { color: var(--white); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); }
.ftr__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); margin-bottom: var(--sp-3); }
.ftr__logo img { height: 64px; width: auto; }
.ftr__logo .logo__t { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2; }
.ftr__logo .logo__s { display: block; font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.ftr__nav li { margin-bottom: 12px; }
.ftr__h { font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: 10px; }
.ftr__meta { margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- 16. パンくず・下層共通 ---------- */
.page { margin-top: 84px; }
.crumb { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.crumb ol { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 0; }
.crumb li + li::before { content: "／"; margin-right: 10px; color: var(--line); }
.page-head { padding-block: var(--sp-8) 0; }
.page-head .sec-title { font-size: 40px; }

/* 法人概要テーブル */
.profile { margin: 0; border-top: 2px solid var(--green); }
.profile > div { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-3); padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--line); }
.profile dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.profile dd { margin: 0; font-size: 15px; }
.todo { color: var(--clay); font-size: 13px; }

/* 理念 */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.value { background: var(--white); border-radius: var(--r-card); padding: var(--sp-4); border: 1px solid var(--line); }
.value__l { font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--leaf); margin-bottom: 8px; }
.value__h { font-size: 22px; margin-bottom: 10px; }
.value p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* 沿革（縦タイムライン） */
.flow--v { grid-template-columns: 1fr; gap: var(--sp-4); padding-left: 64px; }
.flow--v::before { left: 22px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
.flow--v.is-in::before { transform: scaleY(1); }
.flow--v .step { padding-top: 0; min-height: 46px; }
.flow--v .step::before { left: -64px; top: 0; }
.flow--v .step__y { font-family: var(--font-en); font-weight: 800; color: var(--green); font-size: 15px; }

/* ---------- 17. 記事 ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-size: 32px; margin: var(--sp-2) 0 var(--sp-4); }
.article h2 { font-size: 22px; margin: var(--sp-6) 0 var(--sp-3); }
.article p { margin-bottom: 1.4em; }
.article img { border-radius: var(--r-img); margin-block: var(--sp-4); }
.article ul { background: var(--white); border-radius: var(--r-img); padding: var(--sp-4) var(--sp-4) var(--sp-4) 40px; margin-bottom: 1.4em; }
.article ul li { list-style: disc; margin-bottom: 10px; }
.article ul.links, .links { background: none; border-radius: 0; padding: 0; margin: var(--sp-2) 0 1.4em; }
.article ul.links li, .links li { list-style: none; position: relative; padding-left: 24px; margin: 0 0 10px; line-height: 1.8; }
.article ul.links li::before, .links li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--leaf); font-weight: 700; }
.links a { text-decoration: underline; text-underline-offset: 3px; }
.attach { display: flex; align-items: center; gap: var(--sp-3); min-height: 64px; padding: var(--sp-3); border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: var(--r-img); background: var(--white); margin-bottom: var(--sp-2); }
.attach:hover { background: var(--sand); text-decoration: none; }
.attach__ico { font-family: var(--font-en); font-size: 11px; font-weight: 800; color: var(--ink); background: var(--leaf-pale); border-radius: 6px; padding: 6px 8px; }
.attach__n { font-weight: 700; color: var(--ink); font-size: 15px; }
.attach__m { font-size: 12px; color: var(--muted); }
.attach__dl { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--green); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: var(--sp-8); border: 1px solid var(--line); border-radius: var(--r-img); overflow: hidden; background: var(--white); }
.pager a { padding: var(--sp-3); font-size: 14px; }
.pager a:hover { background: var(--sand); text-decoration: none; }
.pager__mid { border-inline: 1px solid var(--line); display: grid; place-items: center; }
.pager__lbl { font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); display: block; }

/* ---------- 18. フィルタ ---------- */
.filters { display: flex; gap: var(--sp-1); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.filter { min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all 200ms var(--ease); }
.filter:hover { border-color: var(--green); }
.filter.is-active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ---------- 19. お問い合わせフォーム ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-8); align-items: start; }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: var(--sp-1); }
.req { font-family: var(--font-jp); font-size: 11px; font-weight: 700; color: var(--ink); background: var(--sun); border-radius: var(--r-pill); padding: 2px 10px; margin-left: 8px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-jp); font-size: 16px; color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; line-height: 1.7;
  transition: border-color 200ms var(--ease);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-family: var(--font-jp) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: 0 0 auto; accent-color: var(--green); }
.check a { text-decoration: underline; }
.field--agree { padding: var(--sp-3); background: var(--white); border-radius: var(--r-img); border: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-bottom: var(--sp-3); font-size: 15px; display: none; }
.form-msg.is-error { display: block; color: #B23A3A; font-weight: 700; }
.form-msg.is-busy  { display: block; color: var(--muted); }
.form-msg.is-done  { display: block; color: var(--ink); font-weight: 700; background: var(--leaf-pale); border-left: 6px solid var(--sun); border-radius: 0 var(--r-img) var(--r-img) 0; padding: var(--sp-4); }
#form-submit:disabled { opacity: .5; cursor: not-allowed; }
.form-aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--sp-4); position: sticky; top: 110px; }
.form-aside__h { font-size: 16px; margin-bottom: var(--sp-2); }
.form-aside__tel { font-family: var(--font-en); font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.form-aside__hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-3) 0; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-jp); font-weight: 400; font-size: 15px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px; margin: 0; cursor: pointer; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--green); margin: 0; }

/* ---------- 20. 規約系 ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; margin: var(--sp-6) 0 var(--sp-2); }
.legal p, .legal li { font-size: 15px; }
.legal p { margin-bottom: 1.2em; }
.legal ul { margin: 0 0 1.2em 0; padding-left: 22px; }
.legal ul li { list-style: disc; margin-bottom: 6px; }
.legal__meta { margin-top: var(--sp-8); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- 21. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-img); margin-bottom: var(--sp-2); }
.faq summary { cursor: pointer; list-style: none; padding: var(--sp-3) var(--sp-4); font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; gap: 12px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); font-weight: 800; color: var(--leaf); flex: 0 0 auto; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq__a { padding: var(--sp-3) var(--sp-4); font-size: 15px; color: var(--text); }


/* ---------- 校下別マップ ---------- */
.amap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: 'tabs tabs' 'map side'; gap: var(--sp-3) var(--sp-6); align-items: start; }
.amap__tabs { grid-area: tabs; }
.amap__canvas { grid-area: map; }
.amap__side { grid-area: side; }
.amap__canvas { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--sp-3); }
.amap__canvas svg { width: 100%; height: auto; max-height: 820px; display: block; margin-inline: auto; }
.amap__area { stroke: var(--white); stroke-width: 2.4; stroke-linejoin: round; cursor: pointer; transition: fill 300ms var(--ease); }
.amap__area:hover, .amap__area:focus-visible { stroke: var(--ink); stroke-width: 3; outline: none; }
.amap__area.is-selected { stroke: var(--ink); stroke-width: 4; }
.amap__label { font-family: var(--font-head); font-weight: 700; font-size: 26px; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 4px; }
.amap__label.is-small { font-size: 19px; }
.amap__label.is-on-dark { fill: var(--white); stroke: rgba(23,61,39,.55); }
.amap__dot { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.amap__side { display: flex; flex-direction: column; gap: var(--sp-3); position: sticky; top: 100px; }
.amap__tabs { display: flex; gap: var(--sp-1); flex-wrap: wrap; }
.amap__tabs .filter { min-height: 48px; font-size: 15px; }
.amap__detail { background: var(--white); border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); min-height: 196px; }
.amap__detail-k { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: var(--sp-2); }
.amap__nums { margin: 0; display: grid; gap: 6px; }
.amap__nums > div { display: flex; justify-content: space-between; gap: var(--sp-2); align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.amap__nums dt { font-size: 15px; color: var(--muted); }
.amap__nums dd { margin: 0; font-family: var(--font-en); font-weight: 800; font-size: 24px; color: var(--ink); white-space: nowrap; }
.amap__hint { margin-top: var(--sp-2); font-size: 14px; color: var(--muted); }
.amap__reset { margin-top: var(--sp-2); background: none; border: 0; padding: 6px 0; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.amap__legend { background: var(--white); border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); }
.amap__legend-h { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.amap__legend-h + ul + .amap__legend-h { margin-top: var(--sp-2); }
.amap__ramp, .amap__dots { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.amap__ramp li, .amap__dots li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); line-height: 1.4; }
.amap__sw { width: 22px; height: 14px; border-radius: 4px; border: 1px solid var(--line); display: inline-block; }
.amap__note { font-size: 13px; color: var(--muted); line-height: 1.8; }
.amap__src a { text-decoration: underline; text-underline-offset: 3px; }
.amap__more { margin-top: var(--sp-4); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-img); }
.amap__more summary { cursor: pointer; padding: var(--sp-2) var(--sp-3); font-family: var(--font-head); font-weight: 700; color: var(--green); }
.amap__tablewrap { padding: 0 var(--sp-3) var(--sp-3); overflow-x: auto; }
.amap__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.amap__table th, .amap__table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.amap__table th:first-child, .amap__table thead th:first-child { text-align: left; }
.amap__table thead th { font-family: var(--font-head); color: var(--ink); font-size: 14px; }
.amap__table tbody th { font-weight: 700; color: var(--ink); }


/* ---------- 知っておきたいこと ---------- */
.learn-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.learn-toc a { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--sp-2); align-items: baseline; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4); color: var(--text);
  transition: border-color 250ms var(--ease), transform 250ms var(--ease); }
.learn-toc a:hover { text-decoration: none; border-color: var(--leaf); transform: translateY(-2px); }
.learn-toc__n { font-family: var(--font-en); font-weight: 800; font-size: 30px; color: var(--leaf); line-height: 1; grid-row: span 2; }
.learn-toc__t { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.learn-toc__d { font-size: 14px; color: var(--muted); line-height: 1.7; }
.learn-note { margin-top: var(--sp-3); font-size: 14px; color: var(--muted); }
.topic { scroll-margin-top: 80px; }
.topic__head { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-6); }
.topic__n { font-family: var(--font-en); font-weight: 800; font-size: 56px; line-height: 1; color: var(--leaf); }
.topic__h { font-size: 34px; margin-bottom: 6px; }
.topic__one { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--green); }
.topic__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-6); align-items: start; }
.topic__sub { font-size: 20px; margin: var(--sp-4) 0 var(--sp-2); display: flex; align-items: center; gap: 10px; }
.topic__sub::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--sun); }
.topic__main > .topic__sub:first-child { margin-top: 0; }
.topic__text { font-size: 17px; line-height: 2; margin-top: var(--sp-2); }
.topic__when { display: grid; gap: 8px; }
.topic__when li { background: var(--sand); border-radius: 14px; padding: 12px 16px 12px 44px; position: relative; font-size: 16px; }
.topic__when li::before { content: "?"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--leaf-pale); color: var(--green); font-family: var(--font-en); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.section--sand .topic__when li, .section--sand .twin__item, .section--sand .facts__item { background: var(--white); }
.scheme { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 10px; margin: var(--sp-2) 0; }
.scheme__box { background: var(--white); border: 2px solid var(--line); border-radius: 16px; padding: 14px 10px; text-align: center; }
.scheme__box--key { border-color: var(--green); background: var(--leaf-pale); }
.scheme__role { display: block; font-size: 13px; color: var(--muted); }
.scheme__who { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.scheme__arrow { position: relative; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.5; padding-bottom: 18px; min-width: 110px; }
.scheme__arrow::after { content: ""; position: absolute; left: 6px; right: 10px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--sun); }
.scheme__arrow::before { content: ""; position: absolute; right: 0; bottom: -1px; border: 6px solid transparent; border-left: 10px solid var(--sun); }
.points { counter-reset: pt; display: grid; gap: 12px; }
.points li { counter-increment: pt; position: relative; padding-left: 48px; font-size: 16px; line-height: 1.9; }
.points li::before { content: counter(pt); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--font-en); font-weight: 800; display: grid; place-items: center; }
.points strong { color: var(--ink); }
.caution { margin-top: var(--sp-4); border-left: 6px solid var(--clay); background: #FBEFE6; border-radius: 0 var(--r-img) var(--r-img) 0; padding: var(--sp-3) var(--sp-4); }
.caution__h { font-family: var(--font-head); font-weight: 700; color: #8A4A26; margin-bottom: 8px; }
.caution li { list-style: disc; margin-left: 1.2em; font-size: 15px; line-height: 1.9; }
.caution li + li { margin-top: 6px; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.twin--3 { grid-template-columns: 1fr; }
.twin__item { background: var(--sand); border-radius: var(--r-img); padding: var(--sp-3); }
.twin__h { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.twin__when { display: inline-block; margin: 6px 0 10px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--leaf-pale); border-radius: var(--r-pill); padding: 2px 12px; }
.twin__item p:last-child { font-size: 15px; line-height: 1.9; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-3); }
.facts__item { background: var(--sand); border-radius: var(--r-img); padding: var(--sp-2) var(--sp-3); }
.facts__k { font-size: 13px; color: var(--muted); }
.facts__v { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.5; }
.topic__side { position: sticky; top: 100px; display: grid; gap: var(--sp-2); }
.ask { background: var(--green); color: var(--white); border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4); }
.ask__h { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.ask p { font-size: 15px; line-height: 1.9; }
.ask__who { margin-top: 10px; font-size: 13px !important; color: rgba(255,255,255,.8); }
.topic__links { display: grid; gap: 8px; }
.topic__links a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.6; }
.topic__links a::after { content: " ↗"; color: var(--leaf); }
.compare { margin-top: var(--sp-6); }
.compare__h { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: var(--sp-2); }
.compare__wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.7; }
.compare thead th { font-family: var(--font-head); color: var(--white); background: var(--green); font-size: 16px; }
.compare thead th:first-child { background: var(--green-deep); }
.compare tbody th { font-family: var(--font-head); color: var(--ink); white-space: nowrap; background: var(--leaf-pale); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
/* トップの入口 */
.learn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.learn-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--sp-4); color: var(--text); transition: border-color 250ms var(--ease), transform 250ms var(--ease); }
.learn-card:hover { text-decoration: none; border-color: var(--leaf); transform: translateY(-2px); }
.learn-card__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); background: var(--leaf-pale); border-radius: var(--r-pill); padding: 2px 12px; margin-bottom: 10px; }
.learn-card__h { font-size: 22px; margin-bottom: 8px; }
.learn-card__d { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.learn-card__l { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 14px; }
.learn-more { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 10px var(--sp-3); align-items: center; }
.learn-more__label { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.learn-more a { font-size: 15px; font-weight: 700; }

/* ==========================================================================
   22. レスポンシブ
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --sec-y: 88px; }
  .hero__title { font-size: 40px; }
  .issues { grid-template-columns: repeat(2, 1fr); }
  .svcs, .works, .doors, .values { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: var(--sp-6); }
  .flow::before { display: none; }
  .amap { grid-template-columns: 1fr; grid-template-areas: 'tabs' 'map' 'side'; }
  .learn-toc, .learn-cards { grid-template-columns: repeat(2, 1fr); }
  .topic__grid { grid-template-columns: 1fr; }
  .topic__side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .amap__side { position: static; }
  .amap__canvas svg { max-height: 720px; }
  .gnav, .hdr .btn { display: none; }
  .burger { display: block; }
  .hdr__inner { height: 72px; }
  .hero, .page { margin-top: 72px; }
}

@media (max-width: 768px) {
  :root { --sec-y: 64px; }
  .wrap { padding-inline: 20px; }
  .hdr__inner { height: 66px; }
  .hdr.is-scrolled .hdr__inner { height: 60px; }
  .hdr__logo img, .hdr.is-scrolled .hdr__logo img { height: 48px; }
  .ftr__logo img { height: 52px; }
  .hero, .page { margin-top: 66px; }
  .hero { padding-block: var(--sp-4) var(--sp-6); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero__art { order: -1; }
  .hero__title { font-size: 30px; }
  .hero__btns .btn { width: 100%; }
  .sec-title { font-size: 26px; }
  .page-head .sec-title { font-size: 28px; }
  .issues, .svcs, .works, .doors, .values { grid-template-columns: 1fr; }
  .issues__note { font-size: 17px; }
  .about, .vision, .cta { grid-template-columns: 1fr; gap: var(--sp-4); }
  .amap { grid-template-columns: 1fr; grid-template-areas: 'tabs' 'map' 'side'; gap: var(--sp-3); }
  .learn-toc, .learn-cards, .twin, .facts { grid-template-columns: 1fr; }
  .topic__side { grid-template-columns: 1fr; }
  .topic__head { gap: var(--sp-2); margin-bottom: var(--sp-4); }
  .topic__n { font-size: 40px; }
  .topic__h { font-size: 26px; }
  .topic__one { font-size: 17px; }
  /* しくみ図：縦に積む（横スクロールにしない） */
  .scheme { grid-template-columns: 1fr; }
  .scheme__arrow { padding: 4px 0 4px 26px; text-align: left; min-width: 0; }
  .scheme__arrow::after { left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .scheme__arrow::before { left: 4px; right: auto; bottom: -8px; border: 6px solid transparent; border-top: 9px solid var(--sun); }
  /* スマホ：小さい校下の名前は出さず（タップと表で見る）、残りを大きくする */
  .amap__label { font-size: 44px; stroke-width: 6px; }
  .amap__label.is-mid { font-size: 36px; }
  .amap__label.is-small { display: none; }
  .amap__tabs .filter { flex: 1 1 0; }
  .amap__side { position: static; }
  .amap__canvas { padding: var(--sp-2); }
  .amap__detail { min-height: 0; }
  .about__art { max-width: 360px; margin-inline: auto; }
  .vision__big { font-size: 28px; }
  .cta__h { font-size: 28px; }
  .section--green { padding-block: 48px; }
  .cta__btns .btn { width: 100%; }
  /* 流れ：縦の階段 */
  .flow { grid-template-columns: 1fr; gap: var(--sp-4); padding-left: 64px; }
  .flow::before { display: block; left: 22px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
  .flow.is-in::before { transform: scaleY(1); }
  .step { padding-top: 0; min-height: 46px; }
  .step::before { left: -64px; top: 0; }
  .flow__note { flex-direction: column; align-items: flex-start; gap: 8px; }
  .news__row { grid-template-columns: auto 1fr; grid-template-areas: "d c" "t t"; row-gap: 6px; }
  .news__date { grid-area: d; } .cat { grid-area: c; } .news__t { grid-area: t; } .pdf-tag { display: none; }
  .ftr__grid { grid-template-columns: 1fr; }
  .profile > div { grid-template-columns: 1fr; gap: 4px; padding-block: var(--sp-2); }
  .form-wrap { grid-template-columns: 1fr; gap: var(--sp-4); }
  .form-aside { position: static; }
  #form-submit { width: 100%; }
  .pager { grid-template-columns: 1fr; }
  .pager__mid { border-inline: 0; border-block: 1px solid var(--line); padding: var(--sp-2); }
  .attach { flex-wrap: wrap; }
  .attach__dl { margin-left: 0; }
}

/* ---------- 23. 印刷 ---------- */
@media print {
  .hdr, .burger, .drawer, .btn, .pager, .filters { display: none !important; }
  .hero, .page { margin-top: 0; }
  body { font-size: 11pt; background: #fff; }
  .section { padding-block: 16pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* 入口セクション：前後と同じ地色が続くので、上下に罫線を入れて区切る */
.section--learn { border-bottom: 1px solid var(--line); }

/* ---------- 生成イラストの配置（2026-11-21） ---------- */
/* .hero__art img（島の画像は幅100%）が雲にも効かないよう打ち消す。大きさは HTML の width 属性で決める */
.hero__art .hero__c img { display: block; height: auto; max-width: none; position: static; }
/* 雲の大きさは島（絵の枠）の幅に対する割合。.hero__c は枠と同じ幅なので % がそのまま効く */
.hero__art .hero__c--1 img { width: 27%; }
.hero__art .hero__c--2 img { width: 12%; }
.hero__art .hero__c--3 img { width: 20%; }
.hero__art .hero__c--4 img { width: 16%; }
.learn-card__art { display: block; width: 100%; height: 170px; object-fit: contain; margin-bottom: var(--sp-2); }
.topic__head { display: grid; grid-template-columns: auto minmax(0, 1fr) 240px; align-items: center; }
.topic__art { width: 100%; height: auto; }
.learn-toc a { grid-template-columns: auto 1fr; }
.learn-toc__art { grid-column: 1 / -1; width: 100%; height: 120px; object-fit: contain; margin-bottom: 6px; }
@media (max-width: 768px) {
  .topic__head { grid-template-columns: auto minmax(0, 1fr); }
  .topic__art { grid-column: 1 / -1; max-width: 300px; margin: var(--sp-2) auto 0; }
  .learn-toc__art { height: 100px; }
}

/* ---------- 組織構成（役員一覧） ---------- */
.officers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.officers__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-img); padding: var(--sp-3); display: flex; flex-direction: column; gap: 4px; }
.officers__role { font-size: 13px; font-weight: 700; color: var(--green); }
.officers__role small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.officers__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: .08em; }
.officers__name small { font-family: var(--font-jp); font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 8px; white-space: nowrap; }
@media (max-width: 768px) { .officers__name small { display: block; margin-left: 0; } }
.officers__item--lead { border-color: var(--green); background: var(--leaf-pale); }
@media (max-width: 1024px) { .officers { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   2026-11-25 改訂：カード型を減らし、一覧型でスマホのスクロールを短くする
   ========================================================================== */

/* ---- 一覧（イラスト＋見出し＋本文）：4つの壁・こんな方へ ---- */
.rows { display: grid; gap: 0 var(--sp-6); border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.rows--2 { grid-template-columns: 1fr 1fr; }
.rows--3 { grid-template-columns: 1fr 1fr 1fr; }
.row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.row__art { width: 112px; height: 100px; object-fit: contain; }
.row__h { font-size: 19px; margin-bottom: 4px; }
.row__d { font-size: 15px; color: var(--muted); line-height: 1.8; }
.row__l { display: inline-block; margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.rows--3 .row { grid-template-columns: 1fr; align-items: start; }
.rows--3 .row__art { width: 100%; height: 130px; object-position: left bottom; }
.issues__note { margin-top: var(--sp-4); }

/* ---- タイトル主体のリンク一覧：知っておきたいこと ---- */
.links-list { display: grid; gap: 0 var(--sp-6); border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.links-list--2 { grid-template-columns: 1fr 1fr; }
.links-list a { display: grid; grid-template-columns: 88px minmax(0, 1fr) 24px; gap: var(--sp-2); align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background-color 200ms var(--ease); }
.links-list a:hover { text-decoration: none; background: rgba(221, 239, 217, .45); }
.links-list img { width: 88px; height: 70px; object-fit: contain; }
.ll__t { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.4; }
.ll__t small { display: block; font-family: var(--font-jp); font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.ll__arw { color: var(--green); font-weight: 700; transition: transform 200ms var(--ease); }
.links-list a:hover .ll__arw { transform: translateX(4px); }

/* ---- 番号付き一覧：できること ---- */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-6); border-top: 1px solid rgba(23, 61, 39, .15); list-style: none; padding: 0; margin: 0; }
.svc-list li { display: grid; grid-template-columns: 40px 44px minmax(0, 1fr); gap: var(--sp-2); align-items: start;
  padding: var(--sp-3) 0; border-bottom: 1px solid rgba(23, 61, 39, .15); }
.svc-list__n { font-family: var(--font-en); font-weight: 800; font-size: 24px; color: var(--green); line-height: 1.3; }
.svc-list img { width: 44px; height: 44px; object-fit: contain; }
.svc-list h3 { font-size: 19px; margin-bottom: 4px; }
.svc-list p { font-size: 15px; color: var(--text); line-height: 1.8; }

/* ---- 小松市の制度リンク ---- */
.city-links { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: 10px var(--sp-3); align-items: center; }
.city-links__h { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.city-links ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.city-links a { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 14px; font-size: 14px; font-weight: 700; }
.city-links a::after { content: " ↗"; color: var(--leaf); }
.city-links a:hover { border-color: var(--green); text-decoration: none; }

/* ---- 実績：家のイラストを件数ぶん並べる ---- */
.results__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px var(--sp-3); margin-bottom: var(--sp-3); }
.results__big { display: flex; align-items: baseline; gap: 8px; }
.results__label { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.results__num { font-family: var(--font-en); font-weight: 800; font-size: 72px; line-height: 1; color: var(--green); letter-spacing: -0.02em; min-width: 2ch; }
.results__unit { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }
.results__asof { font-size: 14px; color: var(--muted); }
.houses { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--sp-3); background: var(--sand); border-radius: var(--r-card); }
.house { display: inline-flex; width: 30px; height: 30px; color: #CFC9B8; }
.house svg { width: 100%; height: 100%; fill: currentColor; }
.house--sale { color: var(--green); }
.house--rent { color: var(--sun); }
.house--demolish { color: var(--clay); }
.results__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2) var(--sp-4); margin: var(--sp-3) 0 0; padding: 0; list-style: none; }
.results__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.results__item .house { width: 26px; height: 26px; margin-top: 4px; }
.results__item-h { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.5; }
.results__item-h strong { font-family: var(--font-en); font-weight: 800; font-size: 28px; margin: 0 2px 0 8px; color: var(--ink); }
.results__item-d { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 2px; }
.results__more { margin-top: var(--sp-4); }

/* ---- 地図：吹き出し・全体の数字・スマホの引き出し線 ---- */
.amap__canvas { position: relative; }
.amap__hint { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.amap__tip { position: absolute; z-index: 5; min-width: 200px; max-width: 260px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; box-shadow: 0 6px 20px rgba(23, 61, 39, .16); pointer-events: none; }
.amap__tip.is-pinned { pointer-events: auto; border-color: var(--green); }
.amap__tip-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.amap__tip-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.amap__tip-nums { margin: 0; display: grid; gap: 4px; }
.amap__tip-nums > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.amap__tip-nums dt { color: var(--muted); }
.amap__tip-nums dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.amap__tip-hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.amap__total { background: var(--white); border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); }
.amap__total-k { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.amap__nums dd { text-align: right; }
.amap__nums dd small { display: block; font-family: var(--font-jp); font-weight: 400; font-size: 11px; color: var(--muted); text-align: right; letter-spacing: 0; }
.amap__leaders { display: none; }
.amap__lead-line { stroke: var(--ink); stroke-width: 2.5; }
.amap__lead-dot { fill: var(--ink); }
.amap__lead-label { font-family: var(--font-head); font-weight: 700; font-size: 40px; fill: var(--ink); paint-order: stroke; stroke: rgba(251, 248, 241, .9); stroke-width: 6px; }

/* ---- 組織構成：一覧 ---- */
.officer-list { margin: 0; border-top: 2px solid var(--green); }
.officer-list > div { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-3); padding: 14px var(--sp-2); border-bottom: 1px solid var(--line); }
.officer-list dt { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 15px; }
.officer-list dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .06em; }
.officer-list dd small { font-family: var(--font-jp); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 10px; }

/* ---- センターについて：一覧（理念・小松市との連携） ---- */
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plain-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--sp-2); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.plain-list__n { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--leaf); line-height: 1.3; }
.plain-list h3 { font-size: 19px; margin-bottom: 4px; }
.plain-list p { font-size: 15px; color: var(--text); line-height: 1.8; }
.plain-list .city-links { margin-top: 10px; }

@media (max-width: 1024px) {
  .rows--3 { grid-template-columns: 1fr; }
  .rows--3 .row { grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .rows--3 .row__art { width: 112px; height: 100px; object-position: center; }
  .results__items { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .rows--2, .links-list--2, .svc-list { grid-template-columns: 1fr; }
  .row, .rows--3 .row { grid-template-columns: 84px minmax(0, 1fr); gap: var(--sp-2); padding: 14px 0; }
  .row__art, .rows--3 .row__art { width: 84px; height: 76px; }
  .row__h { font-size: 17px; }
  .row__d { font-size: 14px; }
  .links-list a { grid-template-columns: 64px minmax(0, 1fr) 18px; padding: 10px 2px; }
  .links-list img { width: 64px; height: 52px; }
  .ll__t { font-size: 17px; }
  .ll__t small { font-size: 13px; }
  .svc-list li { grid-template-columns: 30px 36px minmax(0, 1fr); gap: 10px; padding: 14px 0; }
  .svc-list__n { font-size: 20px; }
  .svc-list img { width: 36px; height: 36px; }
  .svc-list h3 { font-size: 17px; }
  .svc-list p { font-size: 14px; }
  .city-links { margin-top: var(--sp-4); }
  .results__num { font-size: 56px; }
  .houses { gap: 4px; padding: var(--sp-2); }
  .house { width: 22px; height: 22px; }
  .results__items { grid-template-columns: 1fr 1fr; gap: 12px; }
  .amap__leaders { display: inline; }
  .amap__label.is-small { display: none; }
  .amap__tip { min-width: 180px; }
  .officer-list > div { grid-template-columns: 120px 1fr; gap: 8px; padding: 12px 4px; }
  .officer-list dd small { display: block; margin-left: 0; }
  .plain-list li { grid-template-columns: 40px minmax(0, 1fr); padding: 14px 0; }
  .plain-list__n { font-size: 20px; }
  .plain-list h3 { font-size: 17px; }
  .plain-list p { font-size: 14px; }
}

/* PCだけで効かせる改行（スマホでは自然に折り返す） */
@media (max-width: 768px) {
  .br-pc { display: none; }
  .amap__nums dt { white-space: nowrap; }
  .results__items { grid-template-columns: 1fr; gap: 8px; }
}

/* クリック後のフォーカス枠（四角）は出さない。選択中は太い縁取りで示す */
.amap__area:focus { outline: none; }

/* 一覧の行の書式が、中のリンク一覧（ul li）に効かないようにする */
.plain-list .city-links li { display: list-item; padding: 0; border: 0; grid-template-columns: none; }
.plain-list .city-links ul { gap: 8px; }

/* ---------- 2026-11-26 調整 ---------- */
/* 見出しのあとの説明文：年配の方にも読みやすいよう、ヒーロー本文と同じ濃さに */
.sec-lead { color: var(--text); }
/* こんな方へ：イラストを一回り大きく */
.rows--3 .row__art { height: 170px; }
@media (max-width: 1024px) {
  .rows--3 .row { grid-template-columns: 150px minmax(0, 1fr); }
  .rows--3 .row__art { width: 150px; height: 130px; }
}
@media (max-width: 768px) {
  .rows--3 .row, .row.row--door { grid-template-columns: 116px minmax(0, 1fr); }
  .rows--3 .row__art { width: 116px; height: 104px; }
}

/* 地図：中の数字（折り返さない指定）に列幅が押し広げられないよう、列を画面幅に収める */
@media (max-width: 1024px) { .amap { grid-template-columns: minmax(0, 1fr); } }

/* こんな方へ：イラストをはっきり大きく（2026-11-26 再調整）
   PC は高さ 250px。スマホは横並びだと小さくなるので、絵を上・文を下に積む */
.rows--3 .row__art { height: 250px; object-position: center bottom; }
@media (max-width: 1024px) {
  .rows--3 .row { grid-template-columns: 220px minmax(0, 1fr); }
  .rows--3 .row__art { width: 220px; height: 200px; }
}
@media (max-width: 768px) {
  .rows--3 .row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .rows--3 .row__art { width: 100%; height: 190px; object-position: center; }
}

