/* 西村めぐみ 公式サイト ─ リーフレット 2026（10.27版）準拠 */

:root {
  --mg: #e42190;          /* マゼンタ：帯・名前 */
  --mg-deep: #b8106f;
  --pink: #f599a4;        /* 「愛と感謝の文京区」の丸 */
  --pink-pale: #fdeaed;
  --pink-line: #f4bfd9;
  --cream: #fff8f5;       /* 政策カードの地 */
  --sky: #e7f0f5;         /* 写真の地 */
  --paper: #fffdfb;
  --ink: #3a3236;
  --ink-soft: #6d6266;
  --line: #efe2e6;
  --white: #fff;

  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", sans-serif;
  --goth: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --serif-bold: "Noto Serif JP", "Yu Mincho", serif;

  --hd-h: 68px;
  --wrap: 1160px;
  --gut: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--goth);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  line-break: strict;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--mg); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }
.br-sp { display: none; }
.fl { position: absolute; pointer-events: none; user-select: none; z-index: 0; }

/* ───── ヘッダー ───── */
.hd {
  position: sticky; top: 0; z-index: 50;
  height: var(--hd-h);
  background: rgba(255, 255, 255, .97);
  transition: box-shadow .2s;
}
.hd.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(58, 50, 54, .06); }
.hd__inner {
  height: 100%;
  width: min(100% - var(--gut) * 2, 1240px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hd-logo { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.hd-logo__name { font-family: var(--serif-bold); font-weight: 800; font-size: 26px; color: var(--mg); letter-spacing: .02em; line-height: 1; }
.hd-logo__sub { font-size: 12px; font-weight: 700; color: var(--ink-soft); letter-spacing: .14em; }

.gnav { display: flex; align-items: center; gap: 30px; }
.gnav ul { display: flex; gap: 26px; }
.gnav ul a { font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: .08em; }
.gnav ul a:hover { color: var(--mg); }
.hd-cta {
  display: inline-block;
  background: var(--mg); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .1em; text-decoration: none;
  padding: 9px 18px; border-radius: 3px;
}
.hd-cta:hover { background: var(--mg-deep); }
.nav-btn { display: none; }

/* ───── 表紙 ───── */
.cover { background: var(--white); }
.cover__band {
  background: var(--mg); color: var(--white);
  text-align: center;
  font-weight: 700; font-size: clamp(18px, 2.1vw, 28px); letter-spacing: .16em; line-height: 1.4;
  padding: 14px var(--gut) 15px;
}
.cover__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  height: clamp(560px, calc(100svh - var(--hd-h) - 62px), 820px);
}
.cover__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 40px clamp(24px, 4vw, 64px) 40px max(var(--gut), calc((100vw - var(--wrap)) / 2));
}
.cover__lead {
  position: relative; z-index: 1;
  font-family: var(--min); font-weight: 600;
  color: var(--mg);
  font-size: clamp(30px, 3.5vw, 50px); line-height: 1.55; letter-spacing: .06em;
}
.cover__lead span {
  display: block; margin-top: .9em;
  font-family: var(--goth); font-weight: 700;
  color: var(--ink); font-size: .46em; letter-spacing: .16em; line-height: 1.7;
}
.cover__role {
  position: relative; z-index: 1;
  margin-top: 26px; padding-top: 14px;
  border-top: 1px solid var(--pink-line);
  font-size: 14px; font-weight: 700; color: var(--ink-soft); letter-spacing: .1em;
}
.cover__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 10.5em;
  padding: 13px 22px;
  border: 2px solid var(--mg); border-radius: 3px;
  color: var(--mg); background: var(--white);
  font-weight: 700; font-size: 16px; letter-spacing: .12em; text-decoration: none; line-height: 1.2;
  transition: background-color .15s, color .15s;
}
.pill:hover { background: var(--pink-pale); }
.pill--fill { background: var(--mg); color: var(--white); }
.pill--fill:hover { background: var(--mg-deep); border-color: var(--mg-deep); }
.fl--cover-a { width: clamp(130px, 13vw, 190px); left: max(-10px, calc((100vw - var(--wrap)) / 2 - 150px)); top: -16px; opacity: .9; }
.fl--cover-b {
  width: clamp(240px, 24vw, 360px);
  right: 10px;
  bottom: -36px;
  z-index: 3;
}

.cover__photo {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  container-type: size;
}

.cover__photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 18%;

  transform: translate(2%,-3%) scale(1.2);
  transform-origin: right center;
}
.cover__name {
  position: absolute;
  z-index: 2;

  right: 4cqw;
  top: 4cqh;

  writing-mode: vertical-rl;
  text-orientation: upright;

  font-family: var(--serif-bold);
  font-weight: 800;
  font-size: min(18cqh, 25cqw);

  line-height: 1;
  letter-spacing: -.03em;
  color: var(--mg);
  white-space: nowrap;
}

.cover__seal {
  position: absolute;
  z-index: 3;
  margin: 0;

  left: 4cqw;
  right: auto;
  bottom: 4cqh;

  width: clamp(124px, 27cqh, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  text-align: center;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(20px, 5.6cqh, 40px);
  line-height: 1.22;
  letter-spacing: .06em;
}

.cover__seal img {
  display: block;
  width: 70%;
  height: auto;
  max-height: 70%;
  object-fit: contain;
  transform: scale(90%);
  margin-bottom: 5px;
}

/* ───── 縦タブ（リーフレットの「プロフィール」帯） ───── */
.tab {
  align-self: start;
  writing-mode: vertical-rl;
  padding: 18px 9px 96px;
  background: linear-gradient(to bottom, var(--mg) 0%, var(--mg) 42%, rgba(228, 33, 144, .55) 70%, rgba(228, 33, 144, 0) 100%);
  color: var(--white);
  font-weight: 700; font-size: 21px; letter-spacing: .36em; line-height: 1;
}

/* ───── 原点（縦書きの手紙） ───── */
.genten {
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 10vw, 128px);
  background: var(--paper);
}
.fl--genten { width: clamp(180px, 20vw, 290px); right: -40px; top: 10px; opacity: .85; }
.genten__grid {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) auto;
  grid-template-areas: "photo letter tab";
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.genten .tab { grid-area: tab; }
.genten__photo { grid-area: photo; align-self: end; position: relative; }
.genten__photo::before {
  content: ""; position: absolute; z-index: -1;
  inset: 28px 28px -22px -22px;
  background: var(--pink-pale);
}
.genten__photo img { width: 100%; }

.letter {
  --lh: 2.15em;
  grid-area: letter; justify-self: end;
  writing-mode: vertical-rl;
  height: 30em;
  max-width: 100%;
  font-family: var(--min); font-weight: 500;
  font-size: 17px; line-height: var(--lh); letter-spacing: .08em;
  border-block: 1px solid var(--pink-line);
  padding-inline: 22px;
  margin-inline: -22px 0;
  text-align: justify;
  position: relative;
  padding-block-end: 110px;
}
.letter > p {
  text-indent: 1em;
  background-image: repeating-linear-gradient(to left, transparent 0 calc(var(--lh) - 1px), var(--line) calc(var(--lh) - 1px) var(--lh));
}

/* 原点セクション：文章の太い縁取りとぼかし */
.genten .letter p {
  -webkit-text-stroke: 6px var(--paper);
  paint-order: stroke fill;

  text-shadow:
    0 0 6px var(--paper),
    0 0 12px var(--paper),
    0 0 20px var(--paper),
    0 0 30px var(--paper),
    0 0 40px var(--paper);
}

.letter__quote {
  --lh: 1.9em;
  margin-right: .9em;
  font-size: 1.55em; font-weight: 700; color: var(--mg); letter-spacing: .1em;
  background-image: none !important;
  text-indent: -.5em !important;
}
.letter__after { margin-right: .6em; text-indent: 0 !important; }

.letter__sign {
  display: block;
  position: absolute;
  writing-mode: horizontal-tb;

  width: 75px;
  left: 16px;
  bottom: 0;

  margin: 0;
  padding: 0;
}

.letter__sign img {
  display: block;
  width: 100%;
  height: auto;
}

/* ───── 5つの柱 ───── */
.hashira {
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 10vw, 124px);
  background: linear-gradient(var(--white), var(--cream) 30%, var(--cream));
}
.fl--hashira { width: clamp(170px, 18vw, 260px); left: -60px; top: -70px; opacity: .9; }
.hashira__title {
  display: flex; align-items: flex-end; justify-content: center; gap: .18em;
  margin-bottom: clamp(44px, 6vw, 72px);
  font-weight: 700; color: var(--ink);
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; letter-spacing: .06em;
}
.hashira__pre {
  font-family: var(--serif-bold);
  font-weight: 800;
  text-align: right;
  padding-bottom: .55em;
}
.hashira__pre em { font-style: normal; color: var(--mg); font-size: 1.15em; }
.hashira__five {
  font-family: var(--min); font-weight: 500;
  font-size: clamp(120px, 13vw, 184px); line-height: 1;
  background: linear-gradient(170deg, #f7a9c4 10%, var(--mg) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-inline: .05em .02em;
}

.hashira__post {
  font-family: var(--serif-bold);
  font-weight: 800;
  font-size: 1.5em;
  color: var(--mg);
  padding-bottom: .3em;
  letter-spacing: .02em;
}

.pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}
.pillar {
  position: relative; overflow: hidden;
  background: var(--white);
  padding-bottom: 28px;
  box-shadow: 4px 5px 0 rgba(58, 50, 54, .05), 0 6px 22px rgba(58, 50, 54, .05);
}
.pillar__band {
  display: flex; align-items: baseline; gap: .5em;
  padding: 10px 24px 11px;
  background: linear-gradient(90deg, var(--c) 0%, var(--c) 30%, color-mix(in srgb, var(--c) 45%, #fff) 72%, rgba(255, 255, 255, 0) 100%);
  color: var(--white);
  font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: .08em; line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}
.pillar__deco {
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: 190px;
  opacity: .85;
  pointer-events: none;
  z-index: 1;
}
.pillar__band b { font-family: var(--min); font-size: 1.1em; font-weight: 700; }
.pillar__quote {
  margin: 20px 24px 12px;
  color: var(--mg);
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.55; letter-spacing: .08em;
}
.pillar__quote::before { content: "「 "; }
.pillar__quote::after { content: " 」"; }

.pillar__text {
  margin: 0 24px;
  font-family: var(--min);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 2;
  text-align: justify;
  position: relative;
  z-index: 2;

  /* 背景色と同じ縁取り＋ぼかし */
  -webkit-text-stroke: 6px var(--white);
  paint-order: stroke fill;

  text-shadow:
    0 0 6px var(--white),
    0 0 12px var(--white),
    0 0 20px var(--white),
    0 0 30px var(--white),
    0 0 40px var(--white);
}

.pillar__img { margin: 22px 24px 0; width: calc(100% - 48px); aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.pillar--hub { margin-top: clamp(22px, 3vw, 36px); padding-bottom: 36px; }
.hub {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  padding-right: 24px;
}
.hub .pillar__text strong { color: var(--mg); font-weight: 700; }
.knot { display: block; width: calc(100% - 48px); max-width: 600px; margin: 18px 24px 24px; height: auto; }
.knot__labels text { font-family: var(--goth); font-weight: 700; font-size: 23px; fill: var(--ink); letter-spacing: .04em; }
.knot__core { font-family: var(--goth); font-weight: 700; font-size: 20px; fill: var(--white); letter-spacing: .02em; }
.hub__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; align-items: start; }
.hub__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hub__photos img:last-child { margin-top: 44px; }

/* ───── プロフィール ───── */
.profile {
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 10vw, 124px);
  background: var(--paper);
}
.fl--profile { width: clamp(170px, 18vw, 250px); right: -30px; bottom: -60px; opacity: .85; }
.profile__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.profile__name {
  font-family: var(--serif-bold); font-weight: 800;
  font-size: clamp(36px, 4vw, 48px); letter-spacing: .14em; line-height: 1.2;
  color: var(--ink);
}
.profile__name small {
  display: block; margin-top: 8px;
  font-family: var(--goth); font-weight: 700;
  font-size: 13px; letter-spacing: .36em; color: var(--ink-soft);
}
.profile__role {
  display: inline-block;
  margin: 18px 0 22px;
  color: var(--mg); font-weight: 700; letter-spacing: .06em;
  border-bottom: 2px solid var(--pink);
}
.profile__intro > p:not([class]) { font-family: var(--min); font-weight: 500; font-size: 16px; line-height: 2.05; }
.profile__sub {
  margin-top: 36px; margin-bottom: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: .16em; color: var(--mg);
}
.profile__local li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--pink-line);
  font-weight: 700; font-size: 15.5px;
}
.profile__local li:first-child { border-top: 1px dashed var(--pink-line); }
.profile__local span { font-weight: 500; font-size: 13.5px; color: var(--ink-soft); }

.road { position: relative; padding-left: 84px; }
.road::before {
  content: ""; position: absolute;
  left: 62px; top: 22px; bottom: 26px; width: 2px;
  background: linear-gradient(var(--pink-line), var(--mg));
}
.road li { position: relative; padding: 9px 0; }
.road li::before {
  content: ""; position: absolute;
  left: -28px; top: 20px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--pink);
}
.road p {
  font-size: 15.5px;
  line-height: 1.75;

  position: relative;
  z-index: 2;

  -webkit-text-stroke: 6px var(--paper);
  paint-order: stroke fill;

  text-shadow:
    0 0 6px var(--paper),
    0 0 12px var(--paper),
    0 0 20px var(--paper),
    0 0 30px var(--paper),
    0 0 40px var(--paper);
}
.road__y {
  position: absolute;
  left: -84px;
  top: 11px;
  width: 46px;
  text-align: right;
  font-family: var(--min);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mg);
  letter-spacing: .02em;

  /* 背景色と同じ縁取り＋ぼかし */
  -webkit-text-stroke: 6px var(--paper);
  paint-order: stroke fill;

  text-shadow:
    0 0 6px var(--paper),
    0 0 12px var(--paper),
    0 0 20px var(--paper),
    0 0 30px var(--paper),
    0 0 40px var(--paper);

  z-index: 2;
}
.road .is-now::before { background: var(--mg); border-color: var(--mg); width: 18px; height: 18px; left: -30px; top: 18px; }
.road .is-now p { font-weight: 700; color: var(--mg); }

/* ───── 応援の声 ───── */
.ouen {
  padding-block: clamp(72px, 9vw, 112px);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.ouen__grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.ouen__art img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-inline: auto;
}

.ouen__title {
  color: var(--mg);
  font-size: clamp(30px, 2.8vw, 34px); font-weight: 700; line-height: 1.5; letter-spacing: .08em;
  margin-bottom: 28px;
}
.ouen__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ouen__list li {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--min); font-weight: 700;
  font-size: clamp(24px, 2.5vw, 30px); line-height: 1.35; letter-spacing: .08em;
}
.ouen__list span {
  display: block; margin-bottom: 4px;
  font-family: var(--goth); font-weight: 500; font-size: 13px; letter-spacing: .06em; color: var(--ink-soft);
}
.ouen__list small { font-family: var(--goth); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }

/* ───── 後援会 ───── */
.kouenkai {
  position: relative; overflow: hidden;
  padding-block: 0 clamp(80px, 10vw, 120px);
  background: var(--cream);
}

.fl--kouenkai { width: clamp(200px, 22vw, 320px); left: -70px; bottom: -40px; opacity: .8; }
.kouenkai__inner { position: relative; }
.kouenkai__body { max-width: 720px; margin-inline: auto; }
.kouenkai__title {
  color: var(--mg);
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: .1em; line-height: 1.4;
    margin-top: 40px; margin-bottom: 24px;
}
.kouenkai__body > p:not([class]) { font-family: var(--min); font-weight: 500; font-size: 16.5px; line-height: 2; margin-bottom: .9em; }
.kouenkai__family {
  display: inline-block; margin: 8px 0 26px;
  font-weight: 700; font-size: 18px; color: var(--mg);
  background: linear-gradient(transparent 64%, var(--pink-pale) 64%);
}
.notes { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.notes li { padding-left: 1.1em; text-indent: -1.1em; margin-top: 4px; }
.notes li::before { content: "※"; }

.kouenkai__cta { margin: 0 0 28px; }
.join-btn {
  display: block; max-width: 420px; text-align: center; text-decoration: none;
  padding: 17px 20px;
  border-radius: 3px;
  background: var(--mg); color: var(--white);
  font: 700 18px/1.3 var(--goth); letter-spacing: .12em;
  box-shadow: 0 4px 0 var(--mg-deep);
  transition: transform .12s, box-shadow .12s, background-color .12s;
}
.join-btn:hover { background: #ee2a9b; }
.join-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mg-deep); }

/* ───── お問い合わせ ───── */
.contact { background: var(--sky); padding-block: clamp(64px, 8vw, 96px); text-align: center; }
.contact__org { font-family: var(--serif-bold); font-weight: 800; color: var(--mg); font-size: clamp(26px, 3vw, 34px); letter-spacing: .1em; line-height: 1.3; }
.contact__addr { margin-top: 10px; font-size: 16px; letter-spacing: .06em; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 28px; }
.contact__links a {
  display: inline-flex; align-items: baseline; gap: .7em;
  padding: 12px 22px;
  background: var(--white); border-radius: 3px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .04em;
}
.contact__links a:hover { color: var(--mg); }
.contact__links span { font-size: 12px; color: var(--mg); letter-spacing: .1em; }

/* ───── フッター ───── */
.ft { background: var(--mg); color: var(--white); text-align: center; padding: 40px var(--gut) 44px; }
.ft__name { font-family: var(--serif-bold); font-weight: 800; font-size: 30px; letter-spacing: .06em; line-height: 1.2; }
.ft__org { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.ft__copy { margin-top: 10px; font-size: 11.5px; opacity: .8; letter-spacing: .08em; }

.float-cta { display: none; }

/* 原点：中間幅では文章と写真を上下に配置 */
@media (min-width: 1061px) and (max-width: 1200px) {
  .genten__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "letter tab"
      "photo photo";
  }

  .genten__photo {
    width: 300px;
    justify-self: start;
    margin-top: 24px;
  }
}

/* ═════════ タブレット ═════════ */
@media (max-width: 1060px) {
  .kouenkai { padding-bottom: 210px; }
  .gnav { gap: 18px; }
  .gnav ul { gap: 16px; }
  .gnav ul a { font-size: 13px; letter-spacing: .04em; }
  .hd-logo__sub { display: none; }
  .genten__grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "letter tab" "photo photo"; }
  .genten__photo { width: 300px; justify-self: start; margin-top: 24px; }
  .letter { font-size: 16px; }
  
}

/* ═════════ スマホ ═════════ */
@media (max-width: 860px) {
  :root { --hd-h: 58px; --gut: 18px; }
  .br-sp { display: inline; }

  .hd-logo__name { font-size: 23px; }
  .nav-btn {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-right: -8px;
    border: 0; background: none; padding: 0; cursor: pointer;
  }
  .nav-btn__bar, .nav-btn__bar::before, .nav-btn__bar::after {
    display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s, background-color .2s;
  }
  .nav-btn__bar { position: relative; }
  .nav-btn__bar::before, .nav-btn__bar::after { content: ""; position: absolute; left: 0; }
  .nav-btn__bar::before { top: -8px; }
  .nav-btn__bar::after { top: 8px; }
  .nav-btn[aria-expanded="true"] .nav-btn__bar { background: transparent; }
  .nav-btn[aria-expanded="true"] .nav-btn__bar::before { transform: translateY(8px) rotate(45deg); }
  .nav-btn[aria-expanded="true"] .nav-btn__bar::after { transform: translateY(-8px) rotate(-45deg); }
  .gnav {
    position: fixed; inset: var(--hd-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 6px var(--gut) 26px;
    background: var(--white);
    box-shadow: 0 14px 24px rgba(58, 50, 54, .12);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { display: block; padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hd-cta { text-align: center; font-size: 16px; padding: 14px; }

  .cover__band { font-size: 17px; letter-spacing: .1em; padding-block: 11px 12px; }
  .cover__body { grid-template-columns: 1fr; height: auto; }
  .cover__photo { order: -1; height: min(118vw, 620px); }
  .cover__photo > img {
    object-position: 60% 10%;
  }
  .cover__name {
  font-size: min(17cqh, 24cqw);
  right: 3cqw;
  top: 4cqh;
}

.cover__seal {
  left: 4cqw;
  right: auto;
  bottom: 4cqh;
  width: 30cqw;
  font-size: 6.6cqw;
}
  .cover__copy { padding: 40px var(--gut) 56px; }
  .cover__lead { font-size: clamp(27px, 7.6vw, 36px); }
  .cover__lead span { font-size: 15px; }
  .cover__links { width: 100%; }
  .cover__links .pill { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
  .fl--cover-a { width: 120px; left: auto; right: -14px; top: 10px; }
  .fl--cover-b { display: none; }

  .tab {
    writing-mode: horizontal-tb;
    justify-self: start;
    padding: 9px 90px 9px 16px;
    background: linear-gradient(to right, var(--mg) 0%, var(--mg) 40%, rgba(228, 33, 144, .5) 70%, rgba(228, 33, 144, 0) 100%);
    font-size: 18px; letter-spacing: .24em;
  }

  .genten__grid { grid-template-columns: 1fr; grid-template-areas: "tab" "letter" "photo"; gap: 28px; }
  .letter {
    writing-mode: horizontal-tb;
    height: auto; justify-self: stretch;
    margin: 0; padding: 18px 0 0;
    font-size: 16px; letter-spacing: .04em;
    --lh: 2.15em;
  }

  /* スマホ表示：横書き用の罫線 */
.letter > p {
  background-image: linear-gradient(
    transparent calc(var(--lh) - 1px),
    var(--line) 0
  );
  background-size: 100% var(--lh);
}

  .letter__quote { margin: 1.1em 0 .3em; font-size: 1.4em; text-indent: -.5em !important; }
  .letter__after { margin: 0; }
.letter__sign {
  position: static;
  margin: 14px 0 0 auto;
  width: 140px;
}
  .genten__photo { width: min(82%, 340px); justify-self: center; }

  .hashira__title { font-size: 19px; gap: .12em; padding-bottom: 10px; }
  .hashira__five { font-size: 112px; }
  .fl--hashira { width: 150px; left: -50px; top: -50px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar__band { padding-inline: 18px; }
  .pillar__quote, .pillar__text { margin-inline: 18px; }
  .pillar__img { margin-inline: 18px; width: calc(100% - 36px); }
  .hub { grid-template-columns: 1fr; padding-right: 0; gap: 0; }
  .knot { width: calc(100% - 36px); margin-inline: 18px; }
  .hub__photos { margin: 24px 18px 0; }

  .profile__grid { grid-template-columns: 1fr; gap: 28px; }

  .ouen__grid { grid-template-columns: 1fr; }
  .ouen__art img {
    max-width: 220px;
  }
  .ouen__title { text-align: center; }
  .ouen__list { grid-template-columns: 1fr; }

  .join-btn { max-width: none; }
  .kouenkai { padding-bottom: 170px; }
  .fl--kouenkai { width: 170px; left: -50px; bottom: -30px; }

  .contact__links { flex-direction: column; }
  .contact__links a { justify-content: center; }

  .ft { padding-bottom: 100px; }
  .float-cta {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
    display: block; text-align: center;
    padding: 15px 16px;
    background: var(--mg); color: var(--white);
    border-radius: 4px;
    font-weight: 700; font-size: 17px; letter-spacing: .14em; text-decoration: none;
    box-shadow: 0 4px 0 var(--mg-deep), 0 10px 22px rgba(0, 0, 0, .2);
    transform: translateY(150%); transition: transform .25s;
  }
  .float-cta.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* ───── スマホ：文字の可読性改善 ───── */
@media (max-width: 860px) {

  .genten .letter p,
  .road p,
  .road__y {
    -webkit-text-stroke: 0;
    paint-order: normal;
    text-shadow:
      0 0 3px var(--paper),
      0 0 6px var(--paper);
  }

  .pillar__text {
    -webkit-text-stroke: 0;
    paint-order: normal;
    text-shadow:
      0 0 3px var(--white),
      0 0 6px var(--white);
  }

}
