/* =====================================================================
   ねこのフォーラム ／ 飼い主の部屋（Owner's Room）
   v2 ─ マスターサイト準拠トンマナ（茶系 × 丸ゴシック × 有機形状）
   配色・フォントはマスター実HEXから抽出
   ===================================================================== */

/* ---------- 0. デザイントークン ---------- */
:root{
  /* 茶系アクセント */
  --accent:        #a7693c;      /* メインアクセント（ボタン・下線・見出し） */
  --accent-deep:   #6e401e;      /* 濃い茶（強調） */
  --accent-soft:   #946640;      /* 中間茶 */
  --accent-light:  #bf8b68;      /* 明るい茶 */
  --gold:          #d9b06b;      /* ハイライト・ゴールド */

  /* 背景（薄ベージュ） */
  --paper:         #f9f1e3;      /* メイン背景 */
  --paper-2:       #faf5ea;      /* 一段薄い */
  --paper-3:       #f3e6d2;      /* 一段濃い */
  --paper-quiet:   #f8f8f7;      /* ニュートラル白寄り */
  --white:         #ffffff;

  /* テキスト */
  --ink:           #1a1a19;      /* 本文メイン */
  --ink-soft:      #34322d;      /* やや薄 */
  --ink-mute:      #858481;      /* サブテキスト */
  --line:          #e7dcc6;      /* 罫線（茶系の薄） */

  /* 機能色 */
  --line-green:    #06c755;      /* LINEボタン専用 */

  /* タイポグラフィ */
  --f-display: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --f-body:    "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", system-ui, sans-serif;
  --f-latin:   "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;

  --radius:        8px;
  --radius-sm:     4px;
  --container:     1180px;
}

/* ---------- 1. リセット ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--f-body);
  font-size:16px;
  line-height:1.75;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{margin:0; font-family:var(--f-display); font-weight:700; line-height:1.4; color:var(--ink);}
p{margin:0;}
a{color:var(--accent-deep); text-decoration:none; transition:color .2s ease;}
a:hover{color:var(--accent);}
ul{margin:0; padding:0; list-style:none;}
img,svg{display:block; max-width:100%;}
em{font-style:normal; color:var(--accent); font-weight:700;}

/* ---------- 2. レイアウト ---------- */
.container{max-width:var(--container); margin:0 auto; padding:0 24px;}

/* ---------- 3. マスターバー（最上部） ---------- */
.master-bar{
  background:var(--ink);
  color:var(--paper-2);
  font-size:12px;
  letter-spacing:.04em;
}
.master-bar__inner{
  max-width:var(--container);
  margin:0 auto;
  padding:8px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.master-bar__home{color:var(--paper-2); display:flex; align-items:center; gap:6px;}
.master-bar__home:hover{color:var(--gold);}
.master-bar__brand{font-weight:700;}
.master-bar__sep{opacity:.45;}
.master-bar__sub{opacity:.85;}
.master-bar__nav{display:flex; gap:18px;}
.master-bar__nav a{color:var(--paper-2); opacity:.7;}
.master-bar__nav a:hover{opacity:1; color:var(--gold);}
.master-bar__nav a.is-current{
  opacity:1;
  color:var(--gold);
  position:relative;
}
.master-bar__nav a.is-current::before{
  content:""; position:absolute; left:-10px; top:50%; transform:translateY(-50%);
  width:5px; height:5px; background:var(--gold); border-radius:60% 40% 50% 70%;
}

/* ---------- 4. ヘッダー ---------- */
.header{
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(6px);
  background:rgba(249,241,227,.93);
}
.header__inner{
  max-width:var(--container);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  gap:32px;
}
.brand{display:flex; align-items:center; gap:12px; color:var(--ink);}
.brand__mark{
  width:42px; height:42px;
  background:var(--accent);
  border-radius:60% 40% 55% 45% / 50% 60% 40% 50%;
  display:grid; place-items:center;
  color:var(--paper);
}
.brand__mark svg{width:26px; height:26px;}
.brand__text{display:flex; flex-direction:column; line-height:1.2;}
.brand__ja{font-family:var(--f-display); font-weight:700; font-size:17px; color:var(--ink);}
.brand__en{font-size:10.5px; color:var(--ink-mute); letter-spacing:.08em;}

.nav{display:flex; gap:6px; margin-left:auto;}
.nav__link{
  display:flex; flex-direction:column; align-items:center;
  padding:8px 12px;
  color:var(--ink-soft);
  font-size:15px; font-weight:600;
  border-radius:var(--radius-sm);
  transition:background .2s ease, color .2s ease;
}
.nav__link:hover{background:var(--paper-3); color:var(--accent-deep);}
.nav__link .num{
  font-size:10px; color:var(--accent); letter-spacing:.1em; font-weight:500;
}

.header__cta{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px;
  background:var(--accent);
  color:var(--white) !important;
  border-radius:60% 40% 55% 45% / 45% 55% 50% 50%;
  font-size:13px; font-weight:700;
  transition:transform .2s ease, background .2s ease;
}
.header__cta:hover{background:var(--accent-deep); transform:translateY(-1px);}
.header__cta .arrow{font-size:14px;}

/* ---------- 5. ヒーロー ---------- */
.hero{
  position:relative;
  padding:72px 0 88px;
  background:
    radial-gradient(ellipse at 85% 20%, var(--paper-3) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, var(--paper-2) 0%, transparent 55%),
    var(--paper);
  overflow:hidden;
}
.hero::before{
  /* 有機形状の背景装飾1 */
  content:""; position:absolute;
  width:380px; height:380px;
  top:-80px; right:-100px;
  background:var(--paper-3);
  border-radius:60% 40% 50% 70% / 55% 45% 65% 35%;
  opacity:.6;
  z-index:0;
}
.hero::after{
  /* 有機形状の背景装飾2 */
  content:""; position:absolute;
  width:260px; height:260px;
  bottom:-60px; left:8%;
  background:var(--gold);
  border-radius:50% 60% 40% 70% / 60% 40% 60% 40%;
  opacity:.18;
  z-index:0;
}
.hero__grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:56px;
  align-items:center;
}
.hero__kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:60% 40% 55% 45% / 50% 60% 50% 50%;
  font-size:11.5px; font-weight:600; color:var(--accent-deep);
  letter-spacing:.06em;
  margin-bottom:22px;
}
.hero__kicker .dot{
  width:7px; height:7px; background:var(--accent);
  border-radius:60% 40% 50% 70%;
}
.hero__title{
  font-size:56px;
  letter-spacing:.02em;
  line-height:1.3;
  margin-bottom:22px;
  color:var(--ink);
}
.hero__title em{color:var(--accent); font-weight:700;}
.hero__lead{
  color:var(--ink-soft);
  font-size:15.5px;
  line-height:1.95;
  margin-bottom:28px;
  max-width:560px;
}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:32px;}

.hero__visual{
  position:relative;
  aspect-ratio:1/1;
  display:grid; place-items:center;
}
.hero__visual-bg{
  position:absolute; inset:0;
  background:linear-gradient(135deg, var(--accent-light) 0%, var(--gold) 100%);
  border-radius:62% 38% 55% 45% / 50% 60% 40% 50%;
  opacity:.75;
}
.hero__visual .cat{
  position:relative; z-index:1;
  width:60%; height:auto;
  filter:drop-shadow(0 6px 14px rgba(110,64,30,.25));
}

/* ---------- 6. ボタン ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px;
  font-family:var(--f-display);
  font-size:14px; font-weight:700;
  border:none; cursor:pointer;
  border-radius:60% 40% 55% 45% / 50% 60% 50% 50%;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  text-decoration:none;
  letter-spacing:.04em;
}
.btn--primary{
  background:var(--accent);
  color:var(--white) !important;
  box-shadow:0 3px 0 var(--accent-deep);
}
.btn--primary:hover{background:var(--accent-deep); transform:translateY(-1px); box-shadow:0 4px 0 var(--accent-deep);}
.btn--accent{
  background:var(--accent-deep);
  color:var(--white) !important;
  box-shadow:0 3px 0 #4a2a12;
}
.btn--accent:hover{transform:translateY(-1px);}
.btn--ghost{
  background:transparent;
  color:var(--accent-deep) !important;
  border:1.5px solid var(--accent);
}
.btn--ghost:hover{background:var(--accent); color:var(--white) !important;}
.btn--sm{padding:9px 18px; font-size:12.5px;}

/* ---------- 7. AIM署名プログレス ---------- */
.signature-progress{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 22px;
  max-width:520px;
  box-shadow:0 4px 18px rgba(110,64,30,.06);
}
.signature-progress__head{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:10px; gap:12px; flex-wrap:wrap;
}
.signature-progress__label{
  font-size:12.5px; font-weight:700; color:var(--ink-soft);
}
.signature-progress__count{font-size:12.5px; color:var(--ink-mute);}
.signature-progress__count strong{
  font-family:var(--f-display);
  font-size:22px; color:var(--accent-deep);
  margin-right:2px;
}
.signature-progress__bar{
  height:9px; background:var(--paper-3);
  border-radius:99px; overflow:hidden; margin-bottom:10px;
}
.signature-progress__fill{
  height:100%;
  background:linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  border-radius:99px;
  transition:width .8s ease;
}
.signature-progress__caption{
  font-size:11.5px; color:var(--ink-mute); margin-bottom:10px;
}
.signature-progress__cta{
  display:inline-block;
  font-size:12.5px; font-weight:700; color:var(--accent-deep);
  border-bottom:1.5px solid var(--accent);
  padding-bottom:1px;
}

/* ---------- 8. セクション共通 ---------- */
.section{padding:84px 0;}
.section--alt{background:var(--paper-2);}
.section--yellow{background:var(--paper-3);}
.section__head{
  text-align:center; margin-bottom:48px;
}
.section__kicker{
  display:inline-block;
  font-size:11.5px; font-weight:700;
  color:var(--accent-deep);
  letter-spacing:.18em;
  margin-bottom:12px;
  padding-bottom:6px;
  border-bottom:2px solid var(--accent);
}
.section__title{
  font-size:34px;
  margin-bottom:14px;
  letter-spacing:.02em;
  color:var(--ink);
}
.section__lead{
  max-width:680px;
  margin:0 auto;
  font-size:15px; color:var(--ink-soft); line-height:1.95;
}

/* ---------- 9. 5本柱（PILLARS） ---------- */
.pillars{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:18px;
}
.pillar{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:32px 18px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  color:var(--ink);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position:relative;
  overflow:hidden;
}
.pillar::before{
  content:""; position:absolute;
  top:-30px; right:-30px;
  width:90px; height:90px;
  background:var(--paper-3);
  border-radius:60% 40% 50% 70% / 55% 45% 60% 40%;
  opacity:.55;
  transition:transform .35s ease;
}
.pillar:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 28px rgba(110,64,30,.10);
  border-color:var(--accent-light);
}
.pillar:hover::before{transform:scale(1.18);}
.pillar__num{
  position:relative; z-index:1;
  font-size:10.5px; font-weight:700;
  color:var(--accent); letter-spacing:.14em;
  margin-bottom:14px;
}
.pillar__icon{
  position:relative; z-index:1;
  width:46px; height:46px; color:var(--accent-deep);
  margin-bottom:14px;
}
.pillar__icon svg{width:100%; height:100%;}
.pillar__ja{
  position:relative; z-index:1;
  font-family:var(--f-display);
  font-size:20px; font-weight:700; color:var(--ink);
  margin-bottom:4px;
}
.pillar__en{
  position:relative; z-index:1;
  font-size:10px; color:var(--ink-mute); letter-spacing:.16em;
  margin-bottom:14px;
}
.pillar__desc{
  position:relative; z-index:1;
  font-size:12.5px; color:var(--ink-soft); line-height:1.7;
}

/* ---------- 10. 特集（FEATURE） ---------- */
.feature{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:48px;
  align-items:center;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:48px;
  box-shadow:0 6px 22px rgba(110,64,30,.05);
}
.feature__tag{
  display:inline-block;
  font-size:11px; font-weight:700; color:var(--accent-deep);
  letter-spacing:.14em; margin-bottom:14px;
  padding:4px 10px;
  background:var(--paper-3);
  border-radius:60% 40% 50% 70%;
}
.feature__title{
  font-size:26px; margin-bottom:16px; line-height:1.5;
}
.feature__lead{
  font-size:14.5px; color:var(--ink-soft); line-height:1.95;
  margin-bottom:22px;
}
.feature__list{
  margin-bottom:26px;
  border-top:1px solid var(--line);
}
.feature__list li{
  padding:11px 0;
  font-size:13.5px; color:var(--ink-soft);
  border-bottom:1px solid var(--line);
  position:relative; padding-left:22px;
}
.feature__list li::before{
  content:""; position:absolute; left:4px; top:18px;
  width:8px; height:8px;
  background:var(--accent);
  border-radius:60% 40% 50% 70%;
}
.feature__actions{display:flex; gap:10px; flex-wrap:wrap;}
.feature__visual{
  display:grid; place-items:center;
  aspect-ratio:1/1;
  background:linear-gradient(135deg, var(--paper-3) 0%, var(--gold) 100%);
  border-radius:60% 40% 55% 45% / 50% 60% 40% 50%;
  padding:24px;
}
.feature__visual svg{width:80%;}

/* ---------- 11. マップスタブ ---------- */
.map-stub{
  background:var(--white);
  border:1.5px dashed var(--accent-light);
  border-radius:var(--radius);
  padding:48px 24px;
  text-align:center;
  color:var(--ink-mute);
  font-size:13px;
  margin-bottom:32px;
}
.map-stub__label{
  font-size:11px; font-weight:700; color:var(--accent);
  letter-spacing:.16em; margin-bottom:8px;
}
.map-stub__title{
  font-family:var(--f-display);
  font-size:18px; color:var(--ink); margin-bottom:8px;
}

/* ---------- 12. カード ---------- */
.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.cards--4{grid-template-columns:repeat(4, 1fr);}
.card{
  display:flex; flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  color:var(--ink);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(110,64,30,.10);
  border-color:var(--accent-light);
}
.card__cover{
  aspect-ratio:16/10;
  background:var(--paper-3);
  color:var(--accent-deep);
  position:relative;
  display:grid; place-items:center;
}
.card__cover svg{width:60%; height:auto;}
.card__badge{
  position:absolute; top:10px; left:10px;
  padding:3px 10px;
  background:var(--white);
  color:var(--accent-deep);
  font-size:10.5px; font-weight:700;
  border-radius:60% 40% 50% 70% / 55% 45% 60% 40%;
  border:1px solid var(--line);
}
.card__body{
  padding:18px 20px 22px;
  display:flex; flex-direction:column; gap:6px;
  flex:1;
}
.card__meta{
  font-size:11px; color:var(--ink-mute); letter-spacing:.06em;
}
.card__title{
  font-family:var(--f-display);
  font-size:18px; font-weight:700; color:var(--ink);
  line-height:1.4;
}
.card__title-en{
  font-size:10.5px; color:var(--ink-mute); letter-spacing:.14em;
}
.card__desc{
  font-size:12.5px; color:var(--ink-soft); line-height:1.7;
  margin-top:4px;
}
.card__more{
  margin-top:auto; padding-top:10px;
  font-size:12px; font-weight:700; color:var(--accent-deep);
}

/* ---------- 13. CTA帯 ---------- */
.cta-band{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:32px;
  align-items:center;
  padding:38px 44px;
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color:var(--paper);
  border-radius:var(--radius);
  position:relative;
  overflow:hidden;
}
.cta-band::after{
  content:""; position:absolute;
  width:280px; height:280px;
  top:-80px; right:-60px;
  background:rgba(217,176,107,.18);
  border-radius:60% 40% 55% 45% / 50% 60% 40% 50%;
}
.cta-band__title{
  font-family:var(--f-display);
  font-size:24px; font-weight:700; line-height:1.5;
  margin-bottom:10px;
  position:relative; z-index:1;
}
.cta-band__lead{
  font-size:13.5px; line-height:1.85; opacity:.95;
  position:relative; z-index:1;
}
.cta-band__right{
  display:flex; flex-direction:column; gap:10px; align-items:flex-end;
  position:relative; z-index:1;
}
.cta-band__right .btn--primary{
  background:var(--white); color:var(--accent-deep) !important;
  box-shadow:0 3px 0 rgba(0,0,0,.18);
}
.cta-band__right .btn--primary:hover{background:var(--gold); color:var(--ink) !important;}
.cta-band__right .btn--ghost{
  border-color:var(--paper); color:var(--paper) !important;
}
.cta-band__right .btn--ghost:hover{background:var(--paper); color:var(--accent-deep) !important;}
.cta-band__right span{color:var(--paper) !important; opacity:.85;}

/* ---------- 14. フォーラムカード ---------- */
.forums{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.forum-card{
  display:flex; flex-direction:column; gap:6px;
  padding:28px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  color:var(--ink);
  transition:transform .25s ease, box-shadow .25s ease;
  position:relative;
}
.forum-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(110,64,30,.10);
}
.forum-card--upcoming{
  background:linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  border:1.5px dashed var(--accent-light);
}
.forum-card__badge{
  position:absolute; top:14px; right:14px;
  padding:4px 10px;
  background:var(--accent);
  color:var(--white);
  font-size:10px; font-weight:700; letter-spacing:.1em;
  border-radius:60% 40% 50% 70%;
}
.forum-card__num{
  font-family:var(--f-display);
  font-size:11px; color:var(--accent); letter-spacing:.14em; font-weight:700;
}
.forum-card__date{
  font-family:var(--f-display);
  font-size:22px; font-weight:700; color:var(--ink);
  margin-bottom:4px;
}
.forum-card__title{
  font-family:var(--f-display);
  font-size:17px; font-weight:700; color:var(--ink); line-height:1.5;
  margin-bottom:6px;
}
.forum-card__place{
  font-size:12px; color:var(--accent-deep); font-weight:600;
}
.forum-card__theme{
  font-size:11.5px; color:var(--ink-mute); line-height:1.7;
  margin-top:4px;
}

/* ---------- 15. お知らせ ---------- */
.notice{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.notice__item{
  display:grid;
  grid-template-columns:120px 100px 1fr;
  gap:16px;
  padding:16px 24px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  align-items:center;
  transition:background .2s ease;
}
.notice__item:last-child{border-bottom:none;}
.notice__item:hover{background:var(--paper-2);}
.notice__date{
  font-family:var(--f-display);
  font-size:13px; color:var(--ink-mute); font-weight:600;
}
.notice__cat{
  font-size:10.5px; font-weight:700;
  color:var(--accent-deep);
  background:var(--paper-3);
  padding:3px 10px;
  border-radius:60% 40% 50% 70%;
  text-align:center;
  letter-spacing:.06em;
}
.notice__title{font-size:14px; color:var(--ink-soft); line-height:1.6;}

/* ---------- 16. フッター ---------- */
.footer{
  background:var(--ink);
  color:var(--paper-2);
  padding:64px 0 28px;
  margin-top:0;
}
.footer__grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:32px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer__brand-name{
  font-family:var(--f-display);
  font-size:22px; font-weight:700; color:var(--paper);
  margin-bottom:4px;
}
.footer__brand-sub{
  font-size:10.5px; color:var(--gold); letter-spacing:.14em;
  margin-bottom:14px;
}
.footer__brand-desc{
  font-size:12.5px; line-height:1.85; color:var(--ink-mute);
  max-width:340px;
}
.footer__col h4{
  font-family:var(--f-display);
  font-size:13px; color:var(--gold); margin-bottom:14px; letter-spacing:.06em;
}
.footer__col ul li{
  margin-bottom:8px;
  font-size:12.5px;
  color:var(--ink-mute);
}
.footer__col a{color:var(--paper-2);}
.footer__col a:hover{color:var(--gold);}
.footer__bottom{
  padding-top:22px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:11.5px; color:var(--ink-mute);
  flex-wrap:wrap; gap:12px;
}
.footer__bottom a{color:var(--ink-mute);}
.footer__bottom a:hover{color:var(--gold);}

/* ---------- 17. レスポンシブ ---------- */
@media (max-width:1100px){
  .pillars{grid-template-columns:repeat(2, 1fr);}
  .cards,.cards--4{grid-template-columns:repeat(2, 1fr);}
  .forums{grid-template-columns:repeat(2, 1fr);}
  .footer__grid{grid-template-columns:1fr 1fr 1fr;}
  .hero__title{font-size:44px;}
}
@media (max-width:820px){
  .hero{padding:48px 0 56px;}
  .hero__grid{grid-template-columns:1fr; gap:36px;}
  .hero__visual{max-width:320px; margin:0 auto;}
  .hero__title{font-size:36px;}
  .feature{grid-template-columns:1fr; padding:32px 24px;}
  .cta-band{grid-template-columns:1fr; padding:28px 24px;}
  .cta-band__right{align-items:flex-start;}
  .header__inner{flex-wrap:wrap; gap:14px;}
  .nav{order:3; width:100%; justify-content:space-between; gap:0;}
  .nav__link{padding:6px 8px; font-size:13px;}
  .header__cta{margin-left:auto;}
  .section{padding:56px 0;}
  .section__title{font-size:26px;}
}
@media (max-width:560px){
  .pillars{grid-template-columns:1fr;}
  .cards,.cards--4{grid-template-columns:1fr;}
  .forums{grid-template-columns:1fr;}
  .footer__grid{grid-template-columns:1fr 1fr;}
  .notice__item{grid-template-columns:1fr; gap:6px; padding:14px 18px;}
  .notice__cat{justify-self:start;}
  .hero__title{font-size:30px;}
  .master-bar__inner{font-size:11px; gap:10px;}
}

/* ---------- 18. パンくず・ページヘッド・記事系（ruisseaux追加）---------- */
.breadcrumb{
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
  font-size:12px;
}
.breadcrumb__inner{
  padding:10px 24px;
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
  color:var(--ink-mute);
}
.breadcrumb a{color:var(--accent-deep);}
.breadcrumb__sep{color:var(--ink-mute); opacity:.6;}
.breadcrumb__current{color:var(--ink); font-weight:600;}

.page-head{
  background:
    radial-gradient(ellipse at 80% 30%, var(--paper-3) 0%, transparent 60%),
    var(--paper);
  padding:48px 0 40px;
  border-bottom:1px solid var(--line);
}
.page-head__kicker{
  display:inline-block;
  font-size:11.5px; font-weight:700;
  color:var(--accent-deep); letter-spacing:.18em;
  padding-bottom:6px;
  border-bottom:2px solid var(--accent);
  margin-bottom:14px;
}
.page-head__title{
  font-size:34px; line-height:1.4;
  margin-bottom:14px;
}
.page-head__lead{
  font-size:14.5px; color:var(--ink-soft); line-height:1.95;
  max-width:820px;
}

.chips{display:flex; flex-wrap:wrap; gap:8px;}
.chip{
  display:inline-block;
  padding:4px 12px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:99px;
  font-size:11.5px; font-weight:600;
  color:var(--accent-deep);
}

.article{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:48px;
  padding:56px 24px 72px;
}
.article__main h2{
  font-size:22px;
  margin:1.8em 0 .8em;
  padding-left:14px;
  border-left:4px solid var(--accent);
  line-height:1.5;
}
.article__main h2:first-child{margin-top:0;}
.article__main p{
  font-size:14.5px; line-height:1.95; color:var(--ink-soft);
  margin-bottom:1em;
}
.article__main strong{color:var(--accent-deep);}

.callout{
  background:var(--paper-3);
  border-left:4px solid var(--accent);
  border-radius:var(--radius-sm);
  padding:18px 22px;
  margin:1.4em 0;
}
.callout__title{
  font-family:var(--f-display);
  font-weight:700; color:var(--accent-deep);
  font-size:15px; margin-bottom:6px;
}
.callout ul{
  list-style:disc;
  padding-left:1.2em;
  font-size:13.5px; color:var(--ink-soft); line-height:1.85;
}

.info-table{
  width:100%;
  border-collapse:collapse;
  margin:1.4em 0;
  font-size:13.5px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.info-table th,
.info-table td{
  padding:10px 14px;
  text-align:left;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
.info-table th{
  background:var(--paper-2);
  color:var(--accent-deep);
  font-weight:700;
  width:30%;
  white-space:nowrap;
}
.info-table tr:last-child th,
.info-table tr:last-child td{border-bottom:none;}

.sources{
  margin-top:2em;
  padding:20px 24px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
}
.sources h4{
  font-size:13px; color:var(--accent-deep);
  letter-spacing:.08em; margin-bottom:10px;
}
.sources ol{
  margin:0; padding-left:1.4em;
  font-size:12.5px; color:var(--ink-soft); line-height:1.8;
}
.sources li{margin-bottom:6px;}

.pager{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:2.4em;
}
.pager__link{
  display:flex; flex-direction:column;
  padding:18px 22px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  color:var(--ink);
  transition:border-color .2s ease, transform .2s ease;
}
.pager__link:hover{border-color:var(--accent-light); transform:translateY(-2px);}
.pager__link--next{text-align:right; align-items:flex-end;}
.pager__label{
  font-size:11.5px; color:var(--accent); font-weight:700; letter-spacing:.06em;
  margin-bottom:4px;
}
.pager__title{
  font-family:var(--f-display);
  font-size:14px; color:var(--ink); font-weight:700;
}

.aside__box{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 22px;
  margin-bottom:18px;
}
.aside__box h4{
  font-size:13px; color:var(--accent-deep);
  margin-bottom:12px; padding-bottom:8px;
  border-bottom:1px solid var(--line);
  letter-spacing:.06em;
}
.aside__box ul li{
  font-size:12.5px; color:var(--ink-soft);
  padding:6px 0;
  border-bottom:1px dotted var(--line);
}
.aside__box ul li:last-child{border-bottom:none;}
.aside__box a{color:var(--ink-soft);}
.aside__box a:hover{color:var(--accent);}

.nav__link.is-active{
  background:var(--paper-3);
  color:var(--accent-deep);
}

.timeline{
  position:relative;
  padding-left:28px;
  margin:1.4em 0;
}
.timeline::before{
  content:""; position:absolute;
  left:8px; top:6px; bottom:6px;
  width:2px; background:var(--accent-light);
}
.timeline__item{
  position:relative;
  padding:10px 0 10px 18px;
}
.timeline__item::before{
  content:""; position:absolute;
  left:-24px; top:18px;
  width:14px; height:14px;
  background:var(--accent);
  border:3px solid var(--paper);
  border-radius:60% 40% 50% 70%;
}
.timeline__year{
  font-family:var(--f-display);
  font-weight:700; color:var(--accent-deep);
  font-size:14px; margin-bottom:2px;
}
.timeline__text{
  font-size:13.5px; color:var(--ink-soft); line-height:1.7;
}

.signature-hero{
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color:var(--paper);
  padding:48px;
  border-radius:var(--radius);
  position:relative;
  overflow:hidden;
}
.signature-hero::after{
  content:""; position:absolute;
  width:340px; height:340px;
  top:-100px; right:-80px;
  background:rgba(217,176,107,.18);
  border-radius:60% 40% 55% 45% / 50% 60% 40% 50%;
}
.signature-hero__inner{position:relative; z-index:1;}
.signature-hero__num{
  font-family:var(--f-display);
  font-size:54px; font-weight:700;
  color:var(--gold);
  line-height:1;
  margin-bottom:6px;
}
.signature-hero__num small{
  font-size:18px; color:var(--paper); opacity:.85; margin-left:6px;
}
.signature-hero__bar{
  height:14px; background:rgba(255,255,255,.2);
  border-radius:99px; overflow:hidden; margin:18px 0 12px; max-width:680px;
}
.signature-hero__fill{
  height:100%;
  background:linear-gradient(90deg, var(--gold) 0%, #f3d68a 100%);
  border-radius:99px;
}
.signature-hero__caption{
  font-size:13px; opacity:.9; margin-bottom:22px;
}
.signature-hero__cta{
  display:inline-flex; align-items:center; gap:10px;
  padding:16px 32px;
  background:var(--white);
  color:var(--accent-deep) !important;
  font-family:var(--f-display);
  font-weight:700; font-size:15px;
  border-radius:60% 40% 55% 45% / 50% 60% 50% 50%;
  box-shadow:0 4px 0 rgba(0,0,0,.18);
  transition:transform .2s ease, background .2s ease;
}
.signature-hero__cta:hover{
  background:var(--gold);
  color:var(--ink) !important;
  transform:translateY(-2px);
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.info-box{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 22px;
}
.info-box__num{
  font-family:var(--f-display);
  font-size:30px; font-weight:700; color:var(--accent);
  line-height:1; margin-bottom:8px;
}
.info-box__title{
  font-family:var(--f-display);
  font-size:16px; font-weight:700; color:var(--ink);
  margin-bottom:8px; line-height:1.5;
}
.info-box__desc{
  font-size:12.5px; color:var(--ink-soft); line-height:1.75;
}

.linklist{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.linklist a{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 22px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  font-size:13.5px;
  transition:background .2s ease;
}
.linklist a:last-child{border-bottom:none;}
.linklist a:hover{background:var(--paper-2); color:var(--accent-deep);}
.linklist__arrow{color:var(--accent); font-weight:700;}

@media (max-width:1100px){
  .article{grid-template-columns:1fr; gap:32px;}
  .info-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .info-grid{grid-template-columns:1fr;}
  .pager{grid-template-columns:1fr;}
  .pager__link--next{text-align:left; align-items:flex-start;}
  .signature-hero{padding:32px 24px;}
  .signature-hero__num{font-size:42px;}
}

/* ---------- 追加: 監修記事・Q&A（azores） ---------- */
.supervisor{
  display:grid; grid-template-columns:72px 1fr; gap:16px;
  padding:16px 20px; margin:20px 0 28px;
  background:var(--paper-2); border:1px solid var(--line);
  border-left:4px solid var(--accent); border-radius:var(--radius);
  align-items:center;
}
.supervisor__photo{
  width:72px; height:72px; border-radius:50%;
  background:var(--paper-3); display:flex; align-items:center; justify-content:center;
  color:var(--accent-deep); border:1px solid var(--line);
}
.supervisor__photo svg{width:44px; height:44px;}
.supervisor__label{font-size:11px; letter-spacing:.14em; color:var(--accent); font-weight:700;}
.supervisor__name{font-family:var(--f-display); font-weight:700; font-size:16px; color:var(--ink); margin-top:2px;}
.supervisor__meta{font-size:12.5px; color:var(--ink-mute); margin-top:2px;}
.supervisor__bio{font-size:12.5px; color:var(--ink-soft); margin-top:4px;}
.supervisor__date{font-size:11px; color:var(--ink-mute); margin-top:4px;}

.toc{
  background:var(--paper-quiet); border:1px solid var(--line); border-radius:var(--radius);
  padding:18px 22px; margin:22px 0 28px;
}
.toc__title{font-size:12px; letter-spacing:.12em; color:var(--accent); font-weight:700; margin-bottom:8px;}
.toc ol{margin:0; padding-left:1.3em; list-style:decimal; font-size:14px;}
.toc ol li{margin:4px 0;}
.toc a{color:var(--ink-soft);}
.toc a:hover{color:var(--accent);}

.tag-row{display:flex; gap:8px; flex-wrap:wrap; margin:0 0 10px;}
.tag{
  display:inline-block; padding:3px 10px; border-radius:999px;
  background:var(--paper-3); color:var(--accent-deep);
  font-size:11.5px; font-weight:600; letter-spacing:.04em;
}

.advisory{
  margin:24px 0; padding:14px 18px;
  background:#fff7ec; border:1px solid var(--gold); border-radius:var(--radius);
  font-size:13px; color:var(--ink-soft);
}
.advisory strong{color:var(--accent-deep);}

.share{
  display:flex; gap:10px; align-items:center; margin:28px 0 24px;
  padding:14px 18px; background:var(--paper-2); border-radius:var(--radius);
}
.share__label{font-size:12px; color:var(--ink-mute); margin-right:6px;}
.share__btn{
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--white); border:1px solid var(--line); color:var(--accent-deep);
  font-weight:700; font-size:13px;
}
.share__btn:hover{background:var(--accent); color:var(--white); border-color:var(--accent);}

.feedback{
  margin:32px 0 16px; padding:22px 24px;
  background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
}
.feedback__q{font-family:var(--f-display); font-weight:700; font-size:16px; margin-bottom:10px;}
.feedback__btns{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px;}
.feedback__btn{
  padding:10px 18px; border:1px solid var(--line); background:var(--white);
  border-radius:999px; font-size:13px; color:var(--ink-soft);
  cursor:pointer; font-family:inherit;
}
.feedback__btn:hover{background:var(--accent); color:var(--white); border-color:var(--accent);}
.feedback textarea, .feedback input[type="text"]{
  width:100%; padding:10px 12px;
  border:1px solid var(--line); border-radius:var(--radius-sm);
  font-family:inherit; font-size:13.5px; background:var(--white); color:var(--ink);
  resize:vertical;
}
.feedback__submit{
  margin-top:10px; padding:10px 22px;
  background:var(--accent); color:var(--white); border:none;
  border-radius:999px; font-weight:700; font-size:13px; cursor:pointer;
  font-family:inherit;
}
.feedback__submit:hover{background:var(--accent-deep);}

.search-form{
  display:flex; gap:10px; margin:24px 0;
  background:var(--white); border:1px solid var(--line); border-radius:999px;
  padding:6px 6px 6px 22px; align-items:center;
}
.search-form input{
  flex:1; border:none; outline:none; font-size:14px; padding:10px 0;
  background:transparent; font-family:inherit; color:var(--ink);
}
.search-form button{
  padding:10px 22px; border:none; border-radius:999px;
  background:var(--accent); color:var(--white); font-weight:700;
  font-size:13px; cursor:pointer; font-family:inherit;
}
.search-form button:hover{background:var(--accent-deep);}

.qa-list{display:flex; flex-direction:column; gap:14px; margin:16px 0 32px;}
.qa-item{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:18px 22px;
}
.qa-q{
  font-family:var(--f-display); font-weight:700; color:var(--accent-deep);
  font-size:15px; margin-bottom:8px; display:flex; gap:10px;
}
.qa-q::before{content:"Q."; color:var(--accent); font-weight:800;}
.qa-a{font-size:13.5px; color:var(--ink-soft); display:flex; gap:10px;}
.qa-a::before{content:"A."; color:var(--accent-deep); font-weight:800; flex-shrink:0;}

.qa-cat-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin:22px 0;
}
.qa-cat{
  display:block; padding:22px 20px; background:var(--white);
  border:1px solid var(--line); border-radius:var(--radius);
  transition:transform .2s ease, border-color .2s ease;
}
.qa-cat:hover{transform:translateY(-2px); border-color:var(--accent-light);}
.qa-cat__label{font-size:11px; letter-spacing:.14em; color:var(--accent); font-weight:700;}
.qa-cat__title{
  font-family:var(--f-display); font-weight:700; font-size:17px;
  color:var(--ink); margin:6px 0 4px;
}
.qa-cat__count{font-size:12px; color:var(--ink-mute);}

.post-form{
  background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px 26px; margin:28px 0;
}
.post-form h3{font-size:16px; margin-bottom:6px; color:var(--accent-deep);}
.post-form p{font-size:12.5px; color:var(--ink-mute); margin-bottom:14px;}
.post-form label{display:block; font-size:12.5px; font-weight:600; color:var(--ink-soft); margin:10px 0 4px;}
.post-form input[type="text"], .post-form textarea, .post-form select{
  width:100%; padding:10px 12px; border:1px solid var(--line);
  border-radius:var(--radius-sm); font-family:inherit; font-size:13.5px;
  background:var(--white); color:var(--ink);
}
.post-form textarea{resize:vertical; min-height:100px;}
.post-form button{
  margin-top:14px; padding:12px 28px;
  background:var(--accent); color:var(--white);
  border:none; border-radius:999px; font-weight:700; font-size:13.5px;
  cursor:pointer; font-family:inherit;
}
.post-form button:hover{background:var(--accent-deep);}
.post-form .note{font-size:11.5px; color:var(--ink-mute); margin-top:8px;}

@media (max-width:760px){
  .qa-cat-grid{grid-template-columns:1fr 1fr;}
  .supervisor{grid-template-columns:1fr; text-align:left;}
}
@media (max-width:480px){
  .qa-cat-grid{grid-template-columns:1fr;}
}

/* === Logo image (replaces inline SVG cat mark) === */
/* 横長フルロゴ（テキスト＋猫イラスト一体型）対応: ruisseaux更新 */
.brand__mark{
  /* 横長ロゴのため円形装飾コンテナを解除し、画像本来の比率を維持 */
  width:auto; height:auto;
  background:transparent;
  border-radius:0;
  display:flex; align-items:center;
}
.brand__mark .logo-img{
  height:36px;
  width:auto;
  object-fit:contain;
  border-radius:0;
  background:transparent;
  display:block;
}
/* ロゴ画像内に「ねこのフォーラム」テキストが含まれるため、隣接テキストを視覚的に隠す
   （スクリーンリーダーには画像altで「ねこのフォーラム」を読み上げ） */
.brand__text{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
@media (max-width:720px){
  .brand__mark .logo-img{height:30px;}
}

/* === ヘッダーナビ ドロップダウン（CSS-only, ruisseaux追加）=== */
.nav__item{
  position:relative;
  display:inline-flex;
}
.nav__item.has-dropdown > .nav__link::after{
  content:"▾";
  font-size:9px;
  margin-left:4px;
  color:var(--accent);
  display:inline-block;
  vertical-align:middle;
  opacity:.7;
}
.nav__dropdown{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(4px);
  min-width:220px;
  background:rgba(249,241,227,.98);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  box-shadow:0 8px 28px rgba(110,64,30,.14);
  padding:6px;
  list-style:none;
  margin:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index:60;
}
.nav__item.has-dropdown:hover > .nav__dropdown,
.nav__item.has-dropdown:focus-within > .nav__dropdown{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.nav__dropdown li{list-style:none;}
.nav__dropdown a{
  display:block;
  padding:10px 14px;
  font-size:14px;
  font-weight:600;
  color:var(--ink-soft);
  border-radius:6px;
  line-height:1.4;
  white-space:nowrap;
}
.nav__dropdown a:hover,
.nav__dropdown a:focus{
  background:var(--paper-3);
  color:var(--accent-deep);
}
.nav__dropdown a small{
  display:block;
  font-size:11px;
  color:var(--ink-mute);
  font-weight:500;
  margin-top:2px;
  letter-spacing:.04em;
}

/* スマホ表示: ドロップダウンを展開表示に切り替え */
@media (max-width:820px){
  .nav__item{display:block; flex:1;}
  .nav__item.has-dropdown > .nav__link::after{display:none;}
  .nav__dropdown{
    position:static;
    transform:none;
    opacity:1;
    visibility:visible;
    box-shadow:none;
    background:transparent;
    border:none;
    padding:4px 0 8px;
    min-width:0;
    display:none;
  }
  .nav__item.has-dropdown:hover > .nav__dropdown,
  .nav__item.has-dropdown:focus-within > .nav__dropdown,
  .nav__item.has-dropdown.is-open > .nav__dropdown{
    display:block;
    transform:none;
  }
  .nav__dropdown a{
    font-size:12.5px;
    padding:6px 10px;
    text-align:center;
  }
  .nav__dropdown a small{display:none;}
}

