@charset "UTF-8";
/*  23RDまちづくり株式会社
 *
 *  色・字の大きさ・余白は、すべて元サイトから測った値に合わせている。
 *  文字は16pxを下限にする。
 *
 *  画面幅の区切りは4つ。
 *    768px  タブレット（1カラムのまま、余白と写真が広がる）
 *    900px  PC（2カラムになる。ヘッダーのメニューが横並びになる）
 *   1100px  縦書きの添え書きが出る
 *   1200px  社名を大きくする
 */

/* ---------- 書体 ----------
 * 元サイトと同じ Zen Kaku Gothic New。日本語は丸ごとだと1ウェイト2.3MBあるので、
 * このサイトで使う文字だけに絞った woff2 を自前で配っている。
 * 作り直しは `python _tools/build_font.py`。500は400で代用し、900は社名だけ。 */
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/font/zen-400.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/font/zen-700.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/font/zen-900.woff2") format("woff2");
}

:root {
  --bg: #f9f7f2;          /* 地の色 */
  --ink: #4a4a4a;         /* 本文 */
  --ink-strong: #000;     /* 見出し */
  --ink-nav: #1f2124;     /* メニューの文字 */
  --accent: #d4e16b;      /* 黄緑 */
  --btn: #cc3f24;         /* 朱（ボタン・リンク） */
  --btn-dark: #a93119;
  --panel: #eee;          /* 拠点とお問い合わせの下地 */
  --panel-map: #e6e3dc;   /* 地図が出るまでの下地 */
  --line: #d8d4cb;        /* 区切り線 */
  --field: #69727d;       /* 入力欄のふち */
  --white: #fff;

  --gut: 10px;            /* 画面端の余白。トップのヒーロー画像の左右位置が基準 */
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) { :root { --gut: 44px; } }
@media (min-width: 900px) { :root { --gut: 71px; } }

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

main { position: relative; }   /* 縦書きの添え書きを置く基準 */

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; }

/* キーボードだけで見ている人が、すぐ本文へ行けるように */
.skip {
  position: absolute;
  top: 0; left: -9999px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink-strong);
  color: var(--white);
}
.skip:focus { left: 0; }

/* ---------- ヘッダー ---------- */
.head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gut);
  background: var(--bg);
}
.head__brand {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--ink-strong);
}
.head__brand a { text-decoration: none; }

/* スマホのメニューボタン（三本線→×）
 * 真ん中の線が .head__bars 本体、上下の線が ::before と ::after。
 * 本体の高さは2pxしかないので、上下の線のぶんを margin で空けておかないと
 * 下に置いたものと重なる。 */
.head__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  width: 44px; height: 44px;     /* 指で押しやすい大きさ */
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-strong);
  cursor: pointer;
}
.head__bars {
  position: relative;
  width: 26px; height: 2px;
  margin: 8px 0;                 /* 上下の線が入る場所 */
  background: currentColor;
  transition: background .2s var(--ease);
}
.head__bars::before,
.head__bars::after {
  content: "";
  position: absolute; left: 0;
  width: 26px; height: 2px;
  background: currentColor;
  transition: transform .28s var(--ease);
}
.head__bars::before { top: -8px; }
.head__bars::after { top: 8px; }
.head__toggle[aria-expanded="true"] .head__bars { background: transparent; }
.head__toggle[aria-expanded="true"] .head__bars::before { transform: translateY(8px) rotate(45deg); }
.head__toggle[aria-expanded="true"] .head__bars::after { transform: translateY(-8px) rotate(-45deg); }

.gnav { display: none; }
.gnav[data-open] {
  display: block;
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 20;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.gnav__list {
  margin: 0;
  padding: 8px var(--gut) 20px;
  list-style: none;
}
.gnav__list li { border-bottom: 1px solid var(--line); }
.gnav__list a {
  display: block;
  position: relative;
  padding: 14px 0 14px 20px;
  color: var(--ink-nav);
  font-weight: 500;
  text-decoration: none;
  --dot: var(--accent);
  transition: text-shadow .2s var(--ease);
}
.gnav__list a::before {           /* 項目の左の点 */
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--dot);
}
.gnav__list a:hover {
  --dot: var(--btn);              /* ホバーで点が朱になり、文字に影がつく */
  text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

@media (min-width: 900px) {
  .head { align-items: center; gap: 24px; padding: 18px var(--gut); }
  .head__brand { font-size: 28px; flex: 0 1 auto; min-width: 0; }
  .head__toggle { display: none; }
  .gnav { display: block; flex: 0 0 auto; }
  .gnav__list { display: flex; flex-wrap: nowrap; gap: 20px; padding: 0; }
  .gnav__list li { border: 0; }
  .gnav__list a {
    padding: 4px 0 4px 16px;
    white-space: nowrap;          /* メニューは必ず1行 */
  }
  .gnav__list a::before { transition: transform .25s var(--ease); }
  .gnav__list a:hover::before { transform: scale(1.5); }
}
@media (min-width: 1200px) {
  .head__brand { font-size: 36px; }
  .gnav__list { gap: 28px; }
}

/* ---------- 縦書きの添え書き（画面が広いときだけ） ----------
 * 元サイトと同じで、画面には貼りつかず本文と一緒に流れる。
 * 日本語も英字と同じ向きに倒すため text-orientation: sideways を使う。
 * 縦の位置は、中央にある画像（トップ＝ヒーロー、下層＝代表写真）の真ん中。 */
.vtext { display: none; }
@media (min-width: 1100px) {
  .vtext {
    display: block;
    position: absolute;
    top: 50vh;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    text-decoration: none;
  }
  .vtext--left { left: 22px; }
  .vtext--right { right: 23px; transition: color .25s var(--ease); }
  .vtext--right:hover { color: var(--btn); }
}

/* ---------- ヒーロー ---------- */
.hero { padding: 0 var(--gut) 40px; }
.hero__img {
  width: 100%;
  height: 300px;
  border-radius: 30px 0;
  object-fit: cover;
  object-position: 0 0;          /* 元サイトと同じ左上ぞろえ */
}
@media (min-width: 768px) {
  .hero__img { height: 100vh; border-radius: 35px 0; }
}
@media (min-width: 900px) {
  .hero { padding: 0 var(--gut) 60px; }
  .hero__img { border-radius: 100px 0; }
}

/* ---------- 節の見出し（英字ラベル＋罫線＋和文） ---------- */
.shead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  scroll-margin-top: 90px;
}
.shead__en {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: .08em;
  color: var(--ink-strong);
}
.shead__line {
  flex: 1 1 auto;
  max-width: 250px;
  height: 1px;
  background: var(--ink-strong);
}
.shead__ja {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-strong);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  min-width: 250px;
  padding: 15px 30px;
  border: 0;
  border-radius: 30px;
  background: var(--btn);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--btn-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.cta { margin: 40px 0 0; text-align: center; }

/* ---------- ABOUT ---------- */
.about { padding: 20px var(--gut) 60px; }
.about__figure { margin-bottom: 28px; }
.about__lead {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink-strong);
}
.about__text p { margin-bottom: 1.6em; }

@media (min-width: 900px) {
  .about { padding: 20px var(--gut) 80px; }
  .about__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
  .about__figure { margin: 24px 0 0; }
  .about__lead { font-size: 30px; line-height: 1.67; }
}

/* ---------- NEWS ---------- */
.news { margin: 50px 0 0; }
.news__list { margin: 0; padding: 0; list-style: none; }
.news__item + .news__item { border-top: 1px solid var(--line); }
.news__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  text-decoration: none;
  transition: opacity .25s var(--ease);
}
.news__link:hover { opacity: .6; }
.news__date { flex: 0 0 auto; }
.news__title { color: var(--ink-strong); }

@media (min-width: 768px) {
  .news__link { flex-direction: row; align-items: baseline; gap: 40px; }
}

/* ---------- PROJECT ---------- */
.project { padding: 60px var(--gut); }
.project--accent { background: var(--accent); }
.project__title {
  margin: 0 0 32px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-strong);
}
@media (min-width: 900px) {
  .project { padding: 80px var(--gut); }
  .project__title { font-size: 24px; }
}

/* カード（スマホは横に送れる、900px以上は2枚ならべる） */
.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 20px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  display: flex;
  flex-direction: column;
  padding: 28px 22px 32px;
  border-radius: 24px;
  background: var(--bg);
  scroll-snap-align: center;
}
.card__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-strong);
}
.card__photo { margin: 0 0 20px; }
.card__photo img { border-radius: 12px; }
.card__label {                    /* 「活動の紹介」の朱のラベル */
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--btn);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.card__text { flex: 1 1 auto; }
.card__text a { color: var(--btn); }
.card__btn { margin: 24px 0 0; text-align: center; }

.cards__dots {                    /* 横に送れるときだけ出る位置表示 */
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.cards__dots button {
  appearance: none;
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.cards__dots button[aria-current="true"] { background: var(--btn); transform: scale(1.3); }

@media (min-width: 900px) {
  .cards {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: auto;
    gap: 32px;
    overflow: visible;
  }
  .card { padding: 32px 28px 36px; }
  .card__title { font-size: 28px; }
  .cards__dots { display: none; }
}

/* チラシと本文の2カラム、その下の写真2枚 */
.project__cols { display: grid; gap: 32px; }
.project__figure img { border-radius: 12px; }
@media (min-width: 900px) {
  .project__cols {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

.credit { margin: 28px 0 0; }
.credit dt { margin-top: 16px; font-weight: 700; color: var(--ink-strong); }
.credit dd { margin: 4px 0 0; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }

.zoom {                           /* 押すと拡大する写真 */
  display: block;
  width: 100%;
  appearance: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}
.zoom img { transition: transform .5s var(--ease); }
.zoom:hover img { transform: scale(1.03); }

/* ---------- BASE（拠点） ----------
 * 元サイトと同じで、左は画面の端まで伸び、右は他のセクションと同じ位置で止まる。 */
.bases {
  padding: 50px var(--gut);
  border-radius: 0 60px 60px 0;
  background: var(--panel);
}
.bases__head { margin-bottom: 36px; }
.bases__list { display: grid; gap: 36px; }
.base__photo { margin: 0 0 16px; }
.base__photo img { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; object-fit: cover; }
.base__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-strong);
}
.base__addr a { color: var(--btn); }

@media (min-width: 900px) {
  .bases {
    width: calc(100% - var(--gut));
    padding: 70px 0 80px var(--gut);
    border-radius: 0 70px 70px 0;
  }
  .bases__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    grid-template-areas: "list head";
    gap: 40px 60px;
    align-items: start;
  }
  .bases__head { grid-area: head; margin: 0; }
  .bases__list { grid-area: list; gap: 48px; }
  .base {
    display: grid;
    grid-template-columns: 340px minmax(0, 290px);
    gap: 50px;
    align-items: start;
  }
  .base__photo { margin: 0; }
}

/* ---------- 地図とSNS ---------- */
.map { padding: 50px var(--gut) var(--gut); }
.map__frame {
  aspect-ratio: 370 / 300;
  border-radius: 24px;
  background: var(--panel-map);
  overflow: hidden;
}
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .map { padding: 60px var(--gut) 90px; }
  .map__frame { aspect-ratio: 1140 / 720; }
}

.sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.sns a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sns);
  color: var(--white);
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.sns a:hover { transform: translateY(-3px); filter: brightness(1.15); }
.sns svg { width: 18px; height: 18px; fill: currentColor; }
.sns--facebook  { --sns: #3b5998; }
.sns--instagram { --sns: #a70b0b; }
.sns--tiktok    { --sns: #000; }

/* ---------- MESSAGE（私たちについて） ---------- */
.message { padding: 20px var(--gut) 60px; }
.message__figure { margin-bottom: 28px; }
.message__figure img {
  width: 100%;
  aspect-ratio: 535 / 292;
  border-radius: 20px 0;
  object-fit: cover;
}
.message__sign {
  margin: 28px 0 0;
  font-size: 22px;
  font-weight: 700;
  text-align: right;
  color: var(--ink-strong);
}
@media (min-width: 900px) {
  .message { padding: 92px var(--gut) 80px; }
  .message__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;          /* 写真は右側（MESSAGE〜署名）の高さの中央にそろう */
  }
  .message__figure { margin: 0; }
  .message__sign { font-size: 28px; }
}

/* ---------- COMPANY ----------
 * カードの下に黄緑を残さず、下の AREA（同じ地の色）とつなげて見せる。 */
.company { padding: 60px var(--gut) 0; background: var(--accent); }
.company__card {
  padding: 28px 20px;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
}
.company__dl { margin: 0; }
.company__dl > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.company__dl > div:last-child { border-bottom: 0; }
.company__dl dt { font-weight: 700; color: var(--ink-strong); }
.company__dl dd { margin: 0; }
@media (min-width: 900px) {
  .company { padding: 80px var(--gut) 0; }
  .company__card { padding: 40px 56px; border-radius: 50px 50px 0 0; }
  .company__dl > div { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: baseline; }
}

/* ---------- AREA（地図の上の目印） ----------
 * --x / --y は目印の中心の位置（画像に対する割合）。HTML側で指定する。 */
.area { padding: 60px var(--gut); }
.area__map { position: relative; }
.area__map > img {
  width: 100%;
  border-radius: 12px;
  transition: filter .45s var(--ease);
}
/* 目印に触れている間だけ地図を暗くして、文字を浮かせる。
   触れた・押した・キーボードで選んだ、のいずれでも main.js が data-dim を付ける
   （地図のどこにカーソルを置いても暗くなる、という作りにはしない）。 */
.area__map[data-dim] > img { filter: brightness(.62) saturate(.9); }

.spot {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  /* --x/--y にちょうど点の中心が来るようにする。
     横は「左の余白6px＋点の半径7.5px」、縦は点が高さの中央にあるので -50%。
     縦を固定pxにすると、文字の大きさが変わる画面幅でずれる。 */
  transform: translate(-13.5px, -50%);
  appearance: none;
  padding: 4px 6px;
  border: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.spot__dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .35);   /* 明るい地図の上で輪郭が消えないように */
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212, 225, 107, .7);
  animation: beat 2.4s var(--ease) infinite;
}
.spot__label {
  color: var(--accent);
  font-size: 25px;
  font-weight: 700;
  /* 明るい地図の上でも読めるように、文字の縁を濃い影で締める */
  text-shadow:
    0 0 3px rgba(0, 0, 0, .9),
    0 1px 4px rgba(0, 0, 0, .8),
    0 0 14px rgba(0, 0, 0, .5);
  transition: color .3s var(--ease);
}
.area__map[data-dim] .spot__label { color: #fff; }
@keyframes beat {
  0%   { box-shadow: 0 0 0 0 rgba(212, 225, 107, .7); }
  70%  { box-shadow: 0 0 0 14px rgba(212, 225, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 225, 107, 0); }
}
@media (prefers-reduced-motion: reduce) { .spot__dot { animation: none; } }

.spot__tip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(0, -130%);
  z-index: 5;
  margin-left: 22px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink-strong);
  color: var(--bg);
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.spot__tip[data-show] {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -145%);
}
@media (max-width: 767px) {
  .spot__label { font-size: 16px; }
  .spot__tip {                          /* 画面のはしからはみ出さないように */
    left: min(var(--x), calc(100% - 200px));
    width: 190px;
    margin-left: 0;
    white-space: normal;
  }
}

/* ---------- お問い合わせ ----------
 * 元サイトと同じ3層。黄緑の帯の上に、130pxはみ出したグレーの箱、その中に白い箱。 */
.inquiry {
  padding: 0 var(--gut);
  background: linear-gradient(to bottom, transparent 0 100px, var(--accent) 100px);
}
.inquiry__box {
  padding: 44px 20px 40px;
  border-radius: 20px;
  background: var(--panel);
}
.inquiry__white {
  padding: 28px 24px 32px;
  background: var(--white);
}

.form__row { margin-bottom: 20px; }
.form__row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form__req { margin-left: 4px; color: var(--btn); font-weight: 700; }
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  border: 1px solid var(--field);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
/* 書体の都合で line-height だけでは詰まらないので、高さを直に決める（元サイトと同じ40px） */
.form input[type="text"],
.form input[type="email"] { height: 40px; padding: 0 16px; line-height: 1; }
.form textarea { min-height: 117px; padding: 12px 16px; line-height: 1.6; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--btn); outline: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { margin-bottom: 1em; }
.form__submit { margin: 24px 0 0; }
.form__submit .btn { width: 100%; min-width: 0; padding: 11px 20px; }
.form__submit .btn:disabled { background: var(--field); cursor: wait; transform: none; }
.form__recaptcha { margin: 16px 0 0; }
.form__recaptcha a { color: var(--btn); }
.form__done, .form__error {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.form__error { border-color: var(--btn); color: var(--btn); }
/* reCAPTCHA のバッジは自前の注記で代えるので隠す（Googleの決まりどおり文言は出している） */
.grecaptcha-badge { visibility: hidden; }

@media (min-width: 900px) {
  .inquiry { background: linear-gradient(to bottom, transparent 0 130px, var(--accent) 130px); }
  .inquiry__box { padding: 55px 70px 140px; }
  .inquiry__white { padding: 70px; }
  .form__row label { display: flex; align-items: center; }
}

/* ---------- お知らせの詳細 ---------- */
.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px var(--gut) 80px;
}
.post__meta { margin: 0 0 10px; }
.post__title {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-strong);
}
.post__body img { margin: 1.5em 0; border-radius: 12px; }
.post__body h2 { margin: 2em 0 .8em; font-size: 22px; color: var(--ink-strong); }
.post__body h3 { margin: 1.8em 0 .8em; font-size: 18px; color: var(--ink-strong); }
.post__body a { color: var(--btn); }
.post__back { margin: 48px 0 0; text-align: center; }
@media (min-width: 900px) { .post__title { font-size: 32px; } }

/* ---------- 写真の拡大 ---------- */
.lightbox {
  max-width: 92vw;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: none;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .78); }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; }
.lightbox[open] { animation: pop .34s var(--ease); }
@keyframes pop {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
.lightbox__close {
  position: absolute;
  top: -44px; right: 0;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- フッター ---------- */
.foot {
  padding: 40px var(--gut);
  background: var(--accent);
  text-align: center;
}
.foot__copy { margin: 0; }

/* ---------- 現れ方（動きはこの1種類だけ） ----------
 * JavaScript が動かない環境では、HTML の <noscript> で打ち消している。 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal[data-shown] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
