@charset "UTF-8";
/* ============================================================
   辻村公子 公式ウェブサイト  SP版スタイル
   Figma: 辻村 公子 / smp_top・smp_notice・smp_notice_detail・navi
   ============================================================ */

:root {
  --blue-1: #e5f0f8;      /* 薄い青（背景） */
  --blue-2: #6cabd5;      /* 中間の青（見出し英字・フッター・政策背景） */
  --blue-3: #288fd4;      /* 濃い青（ボタン・タグ・キャッチ） */
  --text-blue: #5cb5d6;   /* 本文中の青 */
  --hero-bg: #d0e5f0;     /* ヘッダー・ヒーロー背景 */
  --white: #fffefd;
  --text: #333;
  --black: #000;
  --gray-tag: #555;
  --gray-date: #888;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --pad-x: 28px;
  --page-max: 480px;     /* PC版デザイン確定までの暫定：スマホ幅で中央表示 */
  --bottom-nav-space: calc(52px + 32px + env(safe-area-inset-bottom, 0px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background: #eef3f7;
  line-height: 1.5;
}
body.is-nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
/* <picture>（PC/スマホで画像を切り替え）はレイアウト上は中の<img>だけが存在する扱いにする */
picture { display: contents; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 2px; }

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  background: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  overflow-x: clip;
}

.u-pc { display: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 見出しブロック（copy） ---------- */
.copy { display: flex; flex-direction: column; gap: 8px; }
.copy__en { font-size: 23px; line-height: 44px; color: var(--blue-2); }
.copy__ja { font-size: 36px; line-height: 1.45; color: var(--text); }

/* ---------- ボタン ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  padding: 11px 24px;
  border: 0; border-radius: 99px;
  background: var(--blue-3);
  color: #fff; font-size: 16px; line-height: 2; font-weight: 500;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #1f7fc0; }
.btn__icon-arrow { width: 8px; height: 14px; }
.btn__icon-support {
  width: 21px; height: 20px;
}

/* ---------- タグ ---------- */
.tag {
  display: inline-flex; align-items: center;
  padding: 0 8px; border-radius: 99px;
  background: var(--blue-3); color: #fff;
  white-space: nowrap;
}
.tag--notice { background: var(--gray-tag); }

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  display: flex; align-items: center; gap: 14px;
  padding: 28px 24px 8px;
  background: var(--hero-bg);
}
/* お知らせ一覧・詳細：ヒーローが続かないので下余白を上と同じに */
.header--sub { padding-bottom: 28px; }
.header__brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--text);
}
.header__logo {
  position: relative; flex: none;
  width: 56px; height: 47px; overflow: hidden;
}
.header__logo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.header__title { display: flex; flex-direction: column; }
.header__title small { font-size: 12.5px; letter-spacing: 2.25px; line-height: 15px; }
.header__title strong {
  font-size: 26px; font-weight: 500; line-height: 32px;
  /* 「辻」を一点しんにょう（JIS90字形）で表示 */
  font-variant-east-asian: jis90;
}
.header__sub { align-self: flex-end; font-size: 10px; line-height: 1.3; color: var(--text); }
.header__sub span { display: block; }
.header__sub span:first-child { letter-spacing: 1.44px; }

.header-nav { display: none; }

/* ============================================================
   ヒーロー（402×418 の比率で拡縮）
   ============================================================ */
.hero { background: var(--hero-bg); }
.hero__body {
  position: relative;
  aspect-ratio: 402 / 418;
}
.hero__stage { position: absolute; inset: 0; }
.hero__city {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 54.07%; /* 226/418 */
  object-fit: cover;
}
.hero__portrait {
  position: absolute; left: 2.736%; bottom: 0;
  width: 53.23%; height: 89%; /* 214×372 */
  overflow: hidden;
}
.hero__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero__catch {
  position: absolute; top: 2.39%; left: 41.79%; width: 58.21%;
  padding: 10px 20px 0;
}
.hero__catch h1 {
  font-size: 33px; line-height: 1.2; letter-spacing: -1.32px;
  color: var(--blue-3);
}
.hero__catch h1 > span { display: block; white-space: nowrap; }
.hero__catch h1 > .hero__catch-sub {
  font-size: 12px; line-height: normal; letter-spacing: 0; color: var(--text);
}

/* ============================================================
   Greeting
   ============================================================ */
.greeting {
  display: flex; flex-direction: column; gap: 28px;
  padding: 28px var(--pad-x);
  background: var(--white);
}
.greeting__body { font-size: 16px; line-height: 2; color: var(--black); }
.greeting__body .accent { color: var(--text-blue); }
.greeting__photo {
  width: calc(100% + var(--pad-x));
  aspect-ratio: 376 / 211;
  background: #d9d9d9;
  object-fit: cover;
}

/* ============================================================
   Profile
   ============================================================ */
.profile {
  display: flex; flex-direction: column; gap: 18px;
  padding: 40px var(--pad-x);
  background: var(--blue-1);
}
.profile .copy__en { color: var(--text-blue); }

.profile__card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 0 24px 14px;
  border-left: 4px solid #fff;
}
.profile__name { font-size: 18px; font-weight: 700; color: var(--text); }
.profile__role { font-size: 16px; color: var(--text-blue); }
.profile__bio { font-size: 18px; color: var(--text); }

.profile__row { display: flex; gap: 18px; align-items: flex-start; }
/* 写真の下に略歴ボックスを隙間なく付ける（スマホ） */
.profile__row + .history { margin-top: -18px; }
.motto {
  flex: 1 1 197px; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 0 12px;
}
.motto__label {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; line-height: 1.5; color: var(--text-blue);
}
.motto__icon { position: relative; width: 20px; height: 20px; flex: none; }
.motto__icon img { width: 100%; height: 100%; }
.motto__text { font-size: 18px; line-height: 1.5; color: var(--black); white-space: nowrap; }
.motto__source { font-size: 12.5px; line-height: 1.5; color: var(--black); }
.profile__portrait {
  position: relative; flex: none;
  width: 137px; height: 260px; overflow: hidden;
}
.profile__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* 略歴アコーディオン */
.history {
  background: #fff; border-radius: 8px; overflow: hidden;
}
.history__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 14px;
  border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 16px; line-height: 1.5; color: var(--black);
}
.history__icon {
  position: relative; width: 24px; height: 24px; flex: none;
  border-radius: 50%;
}
.history__icon img { position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; }
.history__icon .icon-close { display: none; }
.history.is-open .icon-open { display: none; }
.history.is-open .icon-close { display: block; }
.history.is-open .history__icon { background: var(--blue-3); }

.history__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1);
}
.history.is-open .history__panel { grid-template-rows: 1fr; }
.history__inner { overflow: hidden; }
.history__content {
  display: flex; flex-direction: column; gap: 16px;
  padding: 2px 14px 20px;
}
@media (prefers-reduced-motion: reduce) { .history__panel { transition: none; } }

.timeline { position: relative; padding-left: 19px; font-size: 14px; line-height: 1.5; }
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: 4px; bottom: 4px;
  width: 3px;
  border-radius: 999px;
  background: var(--text-blue);
}
.timeline dl { margin: 0; display: grid; grid-template-columns: 60px 1fr; column-gap: 10px; }
.timeline dt { color: var(--text-blue); }
.timeline dd { margin: 0; color: var(--black); }
.timeline__note { margin-top: 21px; margin-left: 70px; color: var(--black); }

.history__heading {
  position: relative; height: 46px;
}
.history__heading span {
  position: absolute; left: -14px; top: 20px;
  min-width: 291px; height: 31px;
  padding: 0 16px 0 21px; white-space: nowrap;
  background: var(--blue-1); border-radius: 0 20px 20px 0;
  font-size: 16px; line-height: 31px; color: var(--text-blue);
}
.committee { margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.5; }
.committee div { display: grid; grid-template-columns: 103px 1fr; column-gap: 16px; }
.committee dt { color: var(--text-blue); }
.committee dd { margin: 0; color: var(--black); }

.achievements { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.achievements li {
  display: flex; gap: 8px; padding: 2px;
  font-size: 14px; line-height: 1.3; color: var(--black);
}
.achievements img { width: 18px; height: 18px; flex: none; }

/* 写真ギャラリー（3列・中央を下揃え） */
.gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px;
  height: 400px; padding: 40px 0;
}
.gallery img { width: 100%; object-fit: cover; background: #d9d9d9; }
.gallery img:nth-child(1),
.gallery img:nth-child(3) { height: 268px; align-self: start; }
.gallery img:nth-child(2) { height: 254px; align-self: end; }

/* ============================================================
   Policy
   ============================================================ */
.policy {
  display: flex; flex-direction: column; gap: 18px;
  padding: 40px var(--pad-x);
  background: var(--blue-2);
}
.policy .copy__en { color: var(--blue-1); }
.policy__title { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.policy__title > span {
  display: block; width: fit-content;
  height: 44px; padding: 0 4px 0 3px;
  background: var(--white);
  font-size: 36px; line-height: 44px; color: var(--text);
}
.policy__lead { font-size: 16px; line-height: 1.5; color: #fff; }
.policy__list { display: flex; flex-direction: column; gap: 24px; }
.policy-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--blue-1); border-radius: 24px;
}
.policy-card__num { font-size: 14px; line-height: 1.3; color: var(--text-blue); }
.policy-card__title { font-size: 24px; line-height: 1.3; color: var(--text-blue); }
.policy-card__title--tight { letter-spacing: -0.1em; }
.policy-card__body { font-size: 14px; line-height: 1.5; color: var(--text); }
.policy-card__img { width: 100%; aspect-ratio: 303 / 152; object-fit: cover; }

/* ============================================================
   Support
   ============================================================ */
.support {
  display: flex; flex-direction: column; gap: 28px;
  padding: 28px var(--pad-x);
  background: var(--blue-1);
}
.support__body { font-size: 16px; line-height: 2; color: var(--black); }
.support__visual { display: contents; }
.support__img { width: 100%; aspect-ratio: 1774 / 887; object-fit: cover; }

/* Googleフォーム埋め込み */
.support-form {
  background: #fff; border-radius: 16px; overflow: hidden;
}
.support-form iframe { display: block; width: 100%; border: 0; }
.support-form__placeholder {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; padding: 24px;
  border: 2px dashed var(--blue-2); border-radius: 16px;
  font-size: 14px; color: var(--blue-3); text-align: center;
}

/* ============================================================
   Notice（TOP掲載分）
   ============================================================ */
.notice {
  display: flex; flex-direction: column; gap: 28px;
  padding: 28px var(--pad-x);
  background: var(--white);
}
.notice-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.notice-mini a {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 48px; padding: 4px 8px;
  border-bottom: .5px solid var(--blue-2); border-radius: 4px;
  text-decoration: none; color: var(--black);
}
.notice-mini li:first-child a { border-top: .5px solid var(--blue-2); }
.notice-mini time { font-size: 12px; font-weight: 400; }
.notice-mini__row { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; line-height: 1.19; }

/* TOPのお知らせ案内文 */
.notice__lead { font-size: 16px; line-height: 2; color: var(--black); }

/* お知らせ一覧（notice.html） */
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list a {
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px;
  border-bottom: 1px solid var(--blue-2);
  text-decoration: none; color: var(--black);
}
.notice-list a:hover .notice-list__title,
.notice-mini a:hover span:last-child { text-decoration: underline; }
.notice-meta { display: flex; align-items: center; gap: 12px; height: 20px; }
.notice-meta .tag { font-size: 13px; line-height: 1.5; }
.notice-meta time { font-size: 13px; font-weight: 400; color: var(--gray-date); }
.notice-list__title { font-size: 16px; font-weight: 400; line-height: 1.19; }
.notice-list li:first-child a { border-top: 1px solid var(--blue-2); }
.notice-list li[hidden] { display: none; }

/* お知らせ詳細（notice-detail.html） */
.subhead {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 34px;
  background: var(--blue-1);
  border-bottom: 1px solid var(--blue-2);
}
.subhead__en { font-size: 23px; line-height: 33px; color: var(--blue-2); }
.subhead__ja { font-size: 16px; line-height: 23px; color: var(--text); }

.article { padding: 33px 17px 48px 39px; }
.article__head {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 346px; padding: 8px;
  border-bottom: .5px solid var(--blue-2);
}
.article__title { font-size: 24px; font-weight: 400; line-height: 1.19; color: var(--black); }
.article__body {
  max-width: 330px; margin: 21px 0 0 8px;
  font-size: 16px; line-height: 2; color: var(--black);
}
.article__body .accent { color: var(--text-blue); }
.article__back { margin-top: 40px; max-width: 346px; }

/* 記事本文の要素（会報誌記事など） */
.article__body--rich > * + * { margin-top: 1em; }
.article__body p, .article__body ul, .article__body dl, .article__body figure { margin-bottom: 0; }
.article__body h2 {
  margin-top: 2.2em; padding: 4px 0 4px 12px;
  border-left: 4px solid var(--blue-3);
  font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--black);
}
.article__body h3 { margin: 1.6em 0 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.article__body h3 + p { margin-top: .4em; }
.article__body ul { padding-left: 1.3em; }
.article__body li + li { margin-top: .3em; }
.article__body strong { font-weight: 700; }
.article__body a { color: var(--blue-3); }

.article-point { padding: 16px 18px; border-radius: 8px; background: var(--blue-1); }
.article-point__title { margin: 0; font-weight: 700; color: var(--blue-3); }
.article-point ul { margin-top: 6px; line-height: 1.8; }

.article-dl { margin: 0; }
.article-dl div { padding: 10px 0; border-bottom: .5px solid var(--blue-2); }
.article-dl div:first-child { border-top: .5px solid var(--blue-2); }
.article-dl dt { font-weight: 700; color: var(--blue-3); }
.article-dl dd { margin: 0; line-height: 1.8; }

.article-table { overflow-x: auto; }
.article-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.article-table caption { margin-bottom: 6px; font-size: 13px; text-align: left; color: var(--gray-tag); }
.article-table th, .article-table td { padding: 8px 10px; border-bottom: .5px solid var(--blue-2); text-align: left; font-weight: 400; }
.article-table thead th { background: var(--blue-1); font-weight: 700; }
.article-table td { text-align: right; white-space: nowrap; }

.article-note { font-size: 13px; line-height: 1.8; color: var(--gray-tag); }
.article-faq h3 { padding-left: 1.6em; text-indent: -1.6em; }
.article-faq h3::before { content: "Q."; display: inline-block; width: 1.6em; text-indent: 0; color: var(--blue-3); }

/* 一般質問のQ&A（会報誌記事） */
.qa > * + * { margin-top: 10px; }
.qa__q, .qa__a { padding: 12px 16px; border-radius: 8px; line-height: 1.9; }
.qa__q { background: var(--blue-1); }
.qa__a { background: #eef6e6; }
.qa__label { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--blue-3); }
.qa__a .qa__label { color: #3f7d22; }
.qa__label + p { margin-top: 2px; }

/* 会報誌バックナンバー */
.issue-nav { margin-top: 2.5em !important; padding: 16px 18px; border: 1px solid var(--blue-2); border-radius: 8px; }
.issue-nav__title { font-weight: 700; color: var(--blue-3); }
.issue-nav ul { margin-top: 6px; padding-left: 1.2em; line-height: 1.8; font-size: 15px; }
.issue-nav [aria-current] { font-weight: 700; }

/* 会報誌PDFの表示 */
.pdf-figure { margin-left: 0; margin-right: 0; }
.pdf-figure__link { position: relative; display: block; border: 1px solid var(--blue-2); background: #fff; }
.pdf-figure__link img { display: block; width: 100%; height: auto; }
.pdf-figure__hint {
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 10px; border-radius: 99px;
  background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; line-height: 1.8;
}
.pdf-figure__hint-pc { display: none; }
.pdf-figure figcaption { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--gray-tag); }
.pdf-download { margin-top: 8px; font-size: 14px; }
.pdf-download a::before { content: "PDF"; display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 3px; background: #c9302c; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.7; text-decoration: none; vertical-align: 1px; }

/* 拡大表示（PCのみ使用） */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 20, 30, .92); color: #fff;
}
.lightbox::backdrop { background: rgba(10, 20, 30, .6); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__bar { display: flex; align-items: center; gap: 16px; padding: 10px 20px; font-size: 14px; }
.lightbox__help { margin: 0 auto 0 0; opacity: .8; }
.lightbox__pdf { color: #fff; }
.lightbox__close {
  padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 99px;
  background: transparent; color: #fff; font: inherit; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .15); }
.lightbox__stage { flex: 1; min-height: 0; overflow: auto; display: flex; padding: 0 20px 20px; }
.lightbox__img { display: block; margin: auto; max-width: 100%; max-height: 100%; cursor: zoom-in; background: #fff; }
.lightbox.is-zoom .lightbox__img { max-width: none; max-height: none; cursor: zoom-out; }
body.is-lightbox-open { overflow: hidden; }

/* ============================================================
   フッター
   ============================================================ */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px var(--pad-x) calc(24px + var(--bottom-nav-space));
  background: var(--blue-2);
  color: var(--black);
}
.footer__brand { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.footer__brand span { align-self: flex-start; height: 41px; display: flex; align-items: flex-end; }
.footer__brand .small { width: 88px; font-size: 12.5px; white-space: nowrap; }
.footer__brand .name { width: 82px; font-size: 18px; }
.footer__chara { width: 39px; height: 75px; object-fit: cover; }
.footer__address { font-style: normal; }
.footer__info { width: 318px; max-width: 100%; margin: 0; font-size: 14px; }
.footer__info div { display: flex; gap: 16px; }
.footer__info div + div { margin-top: 8px; }
.footer__info dt { flex: none; width: 48px; }
.footer__info dd { margin: 0; }
.footer__info a { text-decoration: none; }
.footer__logo { width: 157px; height: 42px; margin-top: 44px; }
.footer__copy { padding-top: 24px; font-size: 10px; font-weight: 400; line-height: 1.5; text-align: center; }

/* ============================================================
   ボトムナビ（常に画面下に固定）
   ============================================================ */
.bottom-nav {
  position: fixed; z-index: 50;
  left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(342px, calc(100% - 40px));
  height: 52px;
  display: flex; align-items: center;
  background: var(--blue-1);
  border: 1px solid var(--white); border-radius: 999px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .12);
  overflow: hidden;
  transition: opacity .3s, visibility .3s;
}
body.is-nav-open .bottom-nav { opacity: 0; visibility: hidden; }
.bottom-nav__link {
  flex: 1; min-width: 0; height: 100%;
  display: flex; align-items: center; gap: 11px;
  padding-left: 18px;
  text-decoration: none; color: var(--blue-3); font-size: 16px; white-space: nowrap;
}
.bottom-nav__kimisapo { position: relative; width: 20px; height: 20px; flex: none; }
.bottom-nav__kimisapo img { width: 20px; height: 20px; }
.bottom-nav__arrow { width: 8px; height: 14px; margin-left: auto; margin-right: 16px; flex: none; }
.bottom-nav__menu {
  position: relative; flex: none;
  width: 62px; height: 52px; margin: -1px -1px -1px 0;
  border: 0; background: var(--blue-3); cursor: pointer;
}
.bottom-nav__menu-label {
  position: absolute; left: 16px; top: 3px;
  font-size: 9px; font-weight: 700; line-height: 2; color: #fff;
}
.bottom-nav__menu-icon {
  position: absolute; left: 19px; top: 23px;
  width: 24px; height: 24px; max-width: none;
}

/* ============================================================
   ナビ（下から出てくるシート）
   ============================================================ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(40, 70, 90, .25);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
body.is-nav-open .nav-overlay { opacity: 1; visibility: visible; }

.navi {
  position: fixed; z-index: 100;
  left: 50%; bottom: 0;
  width: 100%; max-width: var(--page-max);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px 28px calc(28px + env(safe-area-inset-bottom, 0px));
  background: rgba(108, 171, 213, .9);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -6px 12px rgba(106, 133, 143, .12);
  transform: translate(-50%, 105%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), visibility .45s;
}
body.is-nav-open .navi { transform: translate(-50%, 0); visibility: visible; }
@media (prefers-reduced-motion: reduce) { .navi, .nav-overlay, .bottom-nav { transition: none; } }

.navi ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.navi li a {
  display: inline-flex; align-items: center; height: 28px;
  padding: 0 12px;
  background: #fff;
  font-size: 16px; line-height: 1; color: var(--text); text-decoration: none;
}
.navi li a:hover { color: var(--blue-3); }
.navi li a.navi__instagram { gap: 8px; color: var(--blue-3); }
.navi__instagram img { width: 18px; height: 18px; }
.navi__close {
  align-self: flex-end;
  width: 52px; height: 52px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--blue-3); cursor: pointer;
}
.navi__close img { width: 24px; height: 24px; }

/* ============================================================
   表示アニメーション
   - 見出し：タイプライター（左から1文字ずつ）
   - 写真・イラスト・本文：ふわっとフェードイン
   JSが動かない環境・「視差効果を減らす」設定では最初から表示
   ============================================================ */
.js [data-type] .tw-char { opacity: 0; }
.js [data-type].is-inview .tw-char {
  opacity: 1;
  transition: opacity .05s linear calc(var(--i) * 60ms);
}
/* 政策タイトルの白帯は、帯を先に出してから文字を打つ */
.js .policy__title[data-type] > span { clip-path: inset(0 100% 0 0); }
.js .policy__title[data-type].is-inview > span {
  clip-path: inset(0 0 0 0);
  transition: clip-path .5s cubic-bezier(.22, 1, .36, 1);
}

.js [data-fade],
.js [data-fade-group] > * {
  opacity: 0;
  transform: translateY(16px);
}
.js [data-fade].is-inview,
.js [data-fade-group].is-inview > * {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.js [data-fade-group].is-inview > :nth-child(2) { transition-delay: .15s; }
.js [data-fade-group].is-inview > :nth-child(3) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-type] .tw-char,
  .js .policy__title[data-type] > span,
  .js [data-fade],
  .js [data-fade-group] > * { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ============================================================
   PC（1024px以上）  Figma: Desktop（1440px）
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --page-max: none;                       /* 画面幅いっぱい（width:100%） */
    --content-max: 1200px;                  /* メインコンテンツの最大幅 */
    /* 左右余白：狭い画面は40〜120px。広い画面ではコンテンツが1200pxのまま中央に来るよう余白が広がる */
    --pc-pad: max(clamp(40px, 8.33vw, 120px), calc((100vw - var(--content-max)) / 2));
  }
  .page { max-width: none; }

  /* ---- スマホ専用パーツは非表示 ---- */
  .bottom-nav, .navi, .nav-overlay { display: none; }

  /* ---- ヘッダー（画面上部に固定） ---- */
  /* ページ内リンクで見出しがヘッダーに隠れないように（縮んだ後の高さ分あける） */
  html { scroll-padding-top: var(--header-compact, 75px); }
  .page { padding-top: var(--header-full, 131px); }   /* 固定ヘッダーの分だけ下げる */
  .header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    padding: 42px max(28px, calc((100vw - 1384px) / 2)); gap: 14px;
    transition: padding .3s ease, box-shadow .3s ease;
  }
  .header.is-scrolled {
    padding-top: 14px; padding-bottom: 14px;
    box-shadow: 0 4px 12px rgba(40, 90, 130, .12);
  }
  .header--sub { padding-bottom: 42px; }
  .header--sub.is-scrolled { padding-bottom: 14px; }
  @media (prefers-reduced-motion: reduce) { .header { transition: none; } }
  .header__brand { flex: none; }
  .header__sub { align-self: center; }
  .header-nav { display: block; margin-left: auto; min-width: 0; }
  .header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
  .header-nav a {
    display: inline-flex; align-items: center; height: 37px; padding: 0 18px;
    border: 2px solid var(--blue-2); border-radius: 999px;
    font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--blue-3);
    text-decoration: none; white-space: nowrap;
    transition: background-color .2s, color .2s;
  }
  .header-nav a:hover { background: var(--blue-3); border-color: var(--blue-3); color: #fff; }
  .header-nav .header-nav__instagram {
    width: 24px;
    padding: 0;
    justify-content: center;
    border: 0;
    border-radius: 0;
    color: var(--blue-3);
    background: transparent;
  }
  .header-nav .header-nav__instagram:hover {
    border-color: transparent;
    color: var(--blue-3);
    background: transparent;
  }
  .header-nav__instagram-icon {
    width: 18px; height: 18px;
    display: block;
  }
  @media (max-width: 1279px) {
    .header__sub { display: none; }
    .header-nav a { padding: 0 12px; }
  }

  /* ---- 見出し共通 ---- */
  .copy { gap: 24px; }
  .copy__en { line-height: normal; }
  .copy__ja { font-size: 56px; line-height: 1.3; }

  /* ---- ヒーロー：画面幅いっぱい・高さは画面に合わせる ----
     背景（街のイラスト）は常に画面幅100%。
     写真とキャッチは 1440×874 比率の「ステージ」に載せ、中央に配置して拡大縮小。 */
  .hero__body {
    aspect-ratio: auto;
    height: min(60.69vw, max(560px, calc(100svh - var(--header-full, 131px))));
    overflow: hidden;
  }
  .hero__city {
    top: 7.37%; height: 92.63%; width: 100%;
    object-position: center bottom;
  }
  .hero__stage {
    inset: auto; left: 50%; bottom: 0;
    height: 100%; aspect-ratio: 1440 / 874; max-width: 100%;
    transform: translateX(-50%);
    container-type: size;
  }
  .hero__portrait { left: 5.76%; width: 33.82%; height: 97.03%; }
  .hero__catch { top: 4.58%; left: 39.58%; width: 60.42%; padding: 0 1.39cqw; }
  .hero__catch h1 { font-size: 3.7cqw; letter-spacing: -0.04em; }
  .hero__catch h1 > span { display: inline; }
  .hero__catch h1 > .hero__catch-sub {
    display: block; margin-top: 12px;
    font-size: 1.53cqw; letter-spacing: 0;
  }

  /* ---- Greeting：左に文章、右に写真（右端まで） ---- */
  .greeting {
    display: grid;
    grid-template-columns: min(560px, 55%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 40px; row-gap: 24px;
    padding: 80px 0 80px var(--pc-pad);
  }
  .greeting .copy { grid-column: 1; grid-row: 1; }
  .greeting__body { grid-column: 1; grid-row: 2; color: var(--text); }
  .greeting__photo {
    grid-column: 2; grid-row: 1 / 3;
    width: 100%; height: 620px; aspect-ratio: auto;
  }

  /* ---- Profile：左に文章、右に写真3枚 ---- */
  .profile {
    display: grid;
    grid-template-columns: minmax(0, 421fr) 18px minmax(0, 181fr) 40px minmax(300px, 540fr);
    grid-template-areas:
      "copy    copy    copy     . gallery"
      "card    card    card     . gallery"
      "motto   .       portrait . gallery"
      "history .       portrait . gallery";
    grid-template-rows: auto auto auto 1fr;
    row-gap: 24px;
    padding: 80px var(--pc-pad);
  }
  .profile .copy { grid-area: copy; }
  .profile .copy__ja { font-size: 36px; line-height: 1.4; }
  .profile__card { grid-area: card; }
  .profile__row { display: contents; }
  .motto { grid-area: motto; padding: 0 12px; }
  .u-sp { display: none; }
  .u-pc { display: inline; }
  /* 写真はセクションの下端（次のPolicyとの境目）に接地。略歴を開いてセクションが伸びても下端に付いたまま移動 */
  .profile__portrait {
    grid-area: portrait; width: 100%; max-width: 184px; height: auto; aspect-ratio: 184 / 349;
    align-self: end; margin-bottom: -80px;   /* .profile の下余白ぶん下げる */
  }
  .profile__row + .history { margin-top: 0; }
  .history { grid-area: history; width: 346px; max-width: calc(100% - 12px); align-self: start; margin-left: 12px; }
  .gallery {
    grid-area: gallery; align-self: start;
    height: 668px;
  }
  .gallery img:nth-child(1),
  .gallery img:nth-child(3) { height: 462px; }
  .gallery img:nth-child(2) { height: 497px; }

  /* ---- Policy：2列×2段 ---- */
  .policy { gap: 40px; padding: 80px var(--pc-pad); }
  .policy .copy { gap: 24px; }
  .policy__title {
    flex-direction: row; gap: 0; margin-top: 0;
    width: fit-content; padding: 4px; background: var(--white);
  }
  .policy__title > span {
    height: auto; padding: 0; background: none;
    font-size: 56px; line-height: 1.3;
  }
  .policy__lead { margin-top: -16px; line-height: 2; }
  .policy__lead br { display: none; }
  .policy__list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  }
  .policy-card { gap: 16px; padding: 24px; }
  .policy-card__title--tight { letter-spacing: 0; }
  /* PC用イラストはFigma Desktopの比率（約2.4〜2.5:1）のまま表示 */
  .policy-card__img { margin-top: auto; aspect-ratio: auto; height: auto; }

  /* ---- Support：左に文章、右にイラスト ---- */
  .support {
    display: grid;
    grid-template-columns: minmax(0, 650fr) minmax(0, 510fr);
    column-gap: 40px; row-gap: 40px;
    padding: 80px var(--pc-pad);
  }
  .support .copy { grid-column: 1 / -1; }
  .support .copy__ja br { display: none; }
  .support__body { grid-column: 1; color: var(--text); }
  .support__visual {
    grid-column: 2;
    align-self: start;
    width: 100%;
    display: block;
  }
  /* 元画像の大きさは保ち、上側の透明余白ぶんだけ位置を上げる */
  .support__img { margin-top: -5.784%; }
  .support .btn { grid-column: 1 / -1; justify-self: center; width: 400px; }

  /* ---- Notice（TOP・一覧 共通）：中央600px ---- */
  .notice { align-items: center; gap: 40px; padding: 80px var(--pc-pad); }
  .notice > * { width: min(600px, 100%); }
  .notice > .btn { width: 400px; }

  /* ---- お知らせ詳細 ---- */
  .subhead { padding: 24px max(var(--pc-pad), calc((100% - 800px) / 2)); }
  .article { max-width: 800px; margin: 0 auto; padding: 56px 0 80px; }
  .article__head { max-width: none; }
  .article__title { font-size: 32px; }
  .article__body { max-width: none; margin: 24px 8px 0; }
  .article__back { width: 400px; max-width: none; margin: 56px auto 0; }
  .article__body h2 { font-size: 22px; }
  .pdf-figure__link { cursor: zoom-in; }
  .pdf-figure__link:hover { box-shadow: 0 4px 16px rgba(40, 90, 130, .2); }
  .pdf-figure__hint-pc { display: inline; }
  .pdf-figure__hint-sp { display: none; }

  /* ---- フッター ---- */
  .footer {
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: start; gap: 24px 40px;
    padding: 40px var(--pc-pad);
    color: #fff;
  }
  .footer__brand { grid-column: 1; justify-self: start; padding: 0; }
  .footer__address { grid-column: 2; }
  .footer__info { width: 420px; }
  .footer__info div:first-child { flex-direction: column; gap: 8px; }
  .footer__info dt { width: auto; }
  .footer__info div:not(:first-child) dt { width: 32px; }
  .footer__logo { grid-column: 1; margin-top: 0; }
  .footer__copy { grid-column: 1 / -1; padding-top: 0; }
}
