/* =========================================================
   仙台南高等学校 創立50周年記念サイト
   共通カラーはこの :root 内で一括変更できます。
   ========================================================= */
:root {
  --deep-green: #0e4424;
  --gold: #d7b254;
  --green: #389f38;
  --paper: #f9f8f4;
  --white: #ffffff;
  --ink: #183024;
  --muted: #647269;
  --line: #d9ded8;
  --soft-green: #edf4ec;
  --header-height: 84px;
  --container: 1020px;
  --narrow-container: 1020px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(14, 68, 36, 0.1);
  --font-main: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
  min-width: 1080px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 1080px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  font-size: 18px;
  font-kerning: normal;
  font-variant-numeric: proportional-nums;
  line-height: 1.8;
  overflow-x: auto;
}

.numerals {
  display: inline-block;
  letter-spacing: 0.15em;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.pc-br {
  display: inline;
}
.sp-br {
  display: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow-container {
  width: var(--narrow-container);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 8vw, 120px);
}

.section-tint {
  background: var(--soft-green);
}

.align-center {
  text-align: center;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--white);
  background: var(--deep-green);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 共通ヘッダー */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-width: 1080px;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(14, 68, 36, 0.12);
  box-shadow: 0 6px 20px rgba(14, 68, 36, 0.04);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  height: 100%;
  margin-inline: auto;
}

.site-brand {
  display: flex;
  flex: 0 0 470px;
  align-items: center;
  gap: 14px;
  min-width: 440px;
}

.site-brand > img {
  flex: 0 0 auto;
  width: 66px;
  height: 53px;
  object-fit: contain;
}

.site-brand > span {
  display: block;
  color: var(--deep-green);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 42px);
  margin-left: 28px;
  color: var(--deep-green);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.global-nav a {
  position: relative;
  display: block;
  padding: 28px 0 24px;
  white-space: nowrap;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 11px;
  color: var(--deep-green);
  background: transparent;
  border: 1px solid rgba(14, 68, 36, 0.24);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle i {
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease;
}

/* 見出しとボタン */
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.eyebrow-light {
  color: #a8d7a6;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.display-heading {
  margin: 0;
  color: var(--deep-green);
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.section-heading > p:last-child {
  max-width: 700px;
  margin: 14px auto 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button > i:last-child {
  margin-left: auto;
  font-size: 0.9em;
}

.button:hover,
.button:focus-visible {
  transform: none;
}

.button-outline {
  color: var(--deep-green);
  background: var(--white);
  border-color: rgba(14, 68, 36, 0.42);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  background: var(--deep-green);
  border-color: var(--deep-green);
}

.button-green {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button-green:hover,
.button-green:focus-visible {
  background: #2f8a30;
  border-color: #2f8a30;
}

.button-gold {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover,
.button-gold:focus-visible {
  color: var(--white);
  background: var(--deep-green);
  border-color: var(--deep-green);
}

.inline-button {
  min-width: 230px;
  width: auto;
}

/* トップ：メインビジュアル */
.home-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 640;
  min-height: 360px;
  overflow: hidden;
  background: #c7d8ca;
}

.home-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(460px, 42vw);
  min-height: 265px;
  padding: 22px 40px 25px;
  color: var(--white);
  background: rgba(14, 68, 36, 0.88);
  transform: translate(-50%, -50%);
}

.hero-emblem img {
  width: min(220px, 60%);
  height: auto;
}

.hero-emblem p {
  margin: 10px 0 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

.anniversary-message {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 16% 15%, rgba(215, 178, 84, 0.08), transparent 34%),
    radial-gradient(ellipse at 86% 70%, rgba(115, 88, 43, 0.04), transparent 38%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.5), rgba(215, 178, 84, 0.03) 48%, rgba(255, 255, 255, 0.36)),
    #f8f5ed;
  box-shadow: inset 0 0 80px rgba(108, 77, 31, 0.035);
}

.anniversary-message::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(4deg, rgba(77, 58, 29, 0.018) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(94deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.anniversary-message > * {
  position: relative;
  z-index: 1;
}

.anniversary-message .display-heading {
  font-style: italic;
}

.message-lines {
  margin-top: 30px;
}

.message-lines p {
  margin: 0;
  padding: 13px 12px;
  border-bottom: 1px solid rgba(14, 68, 36, 0.14);
}

.message-lines p:first-child {
  border-top: 1px solid rgba(14, 68, 36, 0.14);
}

.thankyou-image {
  width: min(700px, 100%);
  height: auto;
  margin: 48px auto 0;
}

/* トップ：ごあいさつ */
.greetings-section {
  background: var(--white);
}

.greeting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.greeting-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.portrait {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 7px;
}

.person-role {
  margin: 20px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}

.greeting-card h3 {
  position: relative;
  margin: 2px 0 28px;
  font-size: 20px;
  text-align: center;
}

.greeting-card h3::after {
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 44px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: translateX(-50%);
}

.greeting-card > p:not(.person-role) {
  flex: 1;
  margin: 0 5px 20px;
  color: #4d5a52;
  font-size: 16px;
  line-height: 1.9;
}

.greeting-card .button {
  width: 100%;
}

/* 汎用仮画像 */
.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: rgba(14, 68, 36, 0.62);
  background:
    linear-gradient(135deg, rgba(14, 68, 36, 0.08) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(315deg, rgba(215, 178, 84, 0.18) 25%, transparent 25%) 0 0 / 22px 22px,
    #edf0eb;
  border: 1px dashed rgba(14, 68, 36, 0.35);
}

.image-placeholder span {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.image-placeholder small {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* トップ：式典 */
.ceremony-teaser {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 5.5vw, 68px);
  color: var(--white);
  background: var(--deep-green);
}

.ceremony-teaser-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 860px;
}

.ceremony-logo {
  position: relative;
  z-index: 2;
  width: 220px;
  height: auto;
}

.ceremony-teaser-copy {
  position: relative;
  z-index: 2;
}

.ginkgo-decoration {
  position: absolute;
  z-index: 0;
  width: 150px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
}

.ginkgo-decoration-left {
  bottom: -24px;
  left: 12px;
}

.ginkgo-decoration-right {
  top: -24px;
  right: 12px;
}

.ceremony-teaser-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.35;
}

.compact-event-data {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}

.compact-event-data > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 16px;
}

.compact-event-data dt {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  font-size: 12px;
  text-align: center;
}

.compact-event-data dd {
  margin: 0;
  font-size: 18px;
}

.venue-address {
  display: inline-block;
  font-size: 0.8em;
}

/* トップ：下層ページへの導線 */
.home-links {
  background: var(--paper);
}

.feature-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
	margin-bottom: 60px;
}

.feature-visual {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.feature-teaser > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 36px;
}

.feature-teaser h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 500;
}

.feature-teaser p:not(.eyebrow) {
  margin: 0 0 24px;
  font-size: 18px;
}

.feature-teaser .button {
  min-width: 170px;
}

.characters-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 880px;
  min-height: 68px;
  margin: 30px auto 0;
  padding: 14px 28px;
  color: var(--deep-green);
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.03em;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.characters-banner:hover,
.characters-banner:focus-visible {
  color: var(--white);
  background: var(--deep-green);
  border-color: var(--deep-green);
}

.characters-banner-break {
  display: none;
}

.banner-arrow {
  color: var(--green);
  font-size: 24px;
}

/* 共通フッター */
.site-footer {
  color: var(--white);
  background: var(--deep-green);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-block: 38px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 18px;
  color: var(--deep-green);
  background: var(--white);
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.footer-links i {
  flex: 0 0 auto;
  font-size: 0.85em;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  background: var(--green);
}

.copyright {
  margin: 0;
  padding: 17px 24px;
  color: var(--deep-green);
  background: var(--white);
  font-size: 13px;
  text-align: center;
}

/* 共通：ページトップへ戻る */
.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: var(--white);
  background: var(--deep-green);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(14, 68, 36, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top:hover,
.page-top:focus-visible {
  color: var(--deep-green);
  background: var(--gold);
}

.page-top i {
  font-size: 18px;
}

/* メッセージモーダル */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 35, 18, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.modal-backdrop.is-visible {
  opacity: 1;
}

.message-modal {
  position: relative;
  width: min(680px, 100%);
  max-height: min(720px, calc(100dvh - 48px));
  padding: clamp(34px, 6vw, 62px);
  overflow-y: auto;
  background: var(--paper);
  border-top: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 240ms ease, transform 240ms ease;
}

.modal-backdrop.is-visible .message-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  margin-bottom: 24px;
  object-fit: cover;
  border-radius: 5px;
}

.message-modal .person-role {
  margin-top: 0;
}

.message-modal h2 {
  margin: 4px 0 16px;
  color: var(--deep-green);
  font-family: var(--font-main);
  font-size: 32px;
  text-align: center;
}

.message-modal > p:last-child {
  margin: 24px 0 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.modal-rule {
  width: 52px;
  height: 2px;
  margin-inline: auto;
  background: var(--gold);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--deep-green);
  background: transparent;
  border: 1px solid rgba(14, 68, 36, 0.32);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

/* 下層ページ共通 */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding-block: 54px 74px;
  color: var(--white);
  background: var(--deep-green);
}

.page-hero::after {
  position: absolute;
  right: -24px;
  bottom: -110px;
  width: 360px;
  height: 450px;
  content: "";
  background: url("../assets/images/ginkgo_right.png") center / contain no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin: 8px 0 18px;
  font-family: var(--font-main);
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.05em;
}

.page-hero > .container > p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: 18px;
}

.page-hero-gold {
  color: var(--deep-green);
  background: var(--gold);
}

.page-hero-gold .eyebrow {
  color: var(--deep-green);
}

.page-hero-gold::after {
  filter: brightness(0.58) saturate(0.75);
  opacity: 0.17;
}

.page-hero-characters {
  color: var(--deep-green);
  background: var(--paper);
}

.page-hero-characters::after {
  opacity: 0.15;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 45px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.breadcrumb i {
  font-size: 0.75em;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.event-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.event-table > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.event-table dt {
  color: var(--deep-green);
  font-weight: 500;
}

.event-table dd {
  margin: 0;
}

.event-table small {
  color: var(--muted);
}

.event-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  color: var(--white);
  background: conic-gradient(from 30deg, var(--green), var(--gold) 32%, var(--deep-green) 32% 100%);
  border: 12px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
  font-family: var(--font-main);
  font-size: clamp(86px, 12vw, 150px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.event-mark small {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.provisional-note {
  margin-top: 22px;
  padding: 12px 16px;
  color: #67561e;
  background: #fff7df;
  border-left: 4px solid var(--gold);
  font-size: 12px;
}

.program-list {
  max-width: 700px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  counter-reset: program;
}

.program-list li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 38px;
  padding-bottom: 38px;
}

.program-list li:not(:last-child)::after {
  position: absolute;
  top: 46px;
  bottom: 0;
  left: 88px;
  width: 1px;
  content: "";
  background: var(--gold);
}

.program-list time {
  color: var(--deep-green);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 500;
}

.program-list li > div {
  position: relative;
  padding: 0 0 24px 28px;
  border-bottom: 1px solid rgba(14, 68, 36, 0.14);
}

.program-list li > div::before {
  position: absolute;
  top: 8px;
  left: -55px;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--green);
  border: 3px solid var(--soft-green);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
}

.program-list h3 {
  margin: 0 0 5px;
  color: var(--deep-green);
  font-size: 21px;
}

.program-list p {
  margin: 0;
  color: var(--muted);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.map-placeholder {
  min-height: 430px;
  border-radius: var(--radius);
}

.access-grid h3 {
  margin: -12px 0 4px;
  color: var(--deep-green);
  font-size: 23px;
}

.simple-list {
  padding: 0;
  margin: 26px 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.simple-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
}

.simple-list li::before {
  position: absolute;
  top: 22px;
  left: 4px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

/* 下層ページ共通ビジュアル */
.subpage-visual {
  width: 100%;
  height: clamp(190px, 19vw, 300px);
  overflow: hidden;
  background: #d7b254;
}

.subpage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.subpage-title-section {
  padding-top: clamp(58px, 7vw, 88px);
  background: var(--paper);
}

.subpage-title-section h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.subpage-title-section p {
  margin: 16px 0 0;
}

/* 記念式典ページ */
.ceremony-intro-heading {
  margin-bottom: 40px;
}

.page-hero .ceremony-page-title {
  font-size: clamp(40px, 5vw, 62px);
}

.ceremony-intro-heading h2 {
  font-size: clamp(32px, 4vw, 42px);
}

.ceremony-intro-heading h2 span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.52em;
  letter-spacing: 0.1em;
}

.ceremony-intro-copy p {
  margin: 0;
}

.ceremony-intro-copy p + p {
  margin-top: 20px;
}

.graduate-highlight {
  padding: 20px 24px;
  color: var(--deep-green);
  background: var(--white);
  border-left: 5px solid var(--gold);
  font-size: 21px;
  text-align: center;
}

.graduate-highlight strong {
  margin-left: 0.3em;
  color: var(--gold);
  font-size: 32px;
  font-weight: 500;
}

.ceremony-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.ceremony-event-card {
  padding: clamp(30px, 4vw, 46px);
  background: var(--white);
  border-top: 6px solid var(--green);
  box-shadow: 0 16px 38px rgba(14, 68, 36, 0.07);
}

.ceremony-event-card-gold {
  border-top-color: var(--gold);
}

.ceremony-event-card-wide {
  grid-column: 1 / -1;
  border-top-color: var(--deep-green);
}

.event-card-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.ceremony-event-card h3 {
  margin: 0 0 26px;
  color: var(--deep-green);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
}

.event-info-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.event-info-list > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.event-info-list dt {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--deep-green);
  font-weight: 500;
}

.event-info-list dt i {
  width: 18px;
  color: var(--green);
  text-align: center;
}

.event-info-list dd {
  margin: 0;
}

.event-info-list dd small {
  color: var(--muted);
  font-size: 0.85em;
}

.event-info-list dd strong {
  color: var(--deep-green);
  font-weight: 500;
}

.event-info-list-columns {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
  border-top: 0;
}

.event-info-list-columns > div {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 20px;
  background: var(--soft-green);
  border-bottom: 0;
}

.celebration-intro {
  margin-bottom: 26px;
}

.celebration-intro p {
  margin: 0;
}

.celebration-intro p + p {
  margin-top: 8px;
}

.event-note,
.transport-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.event-note i,
.transport-note i {
  color: var(--gold);
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.application-copy .section-heading {
  margin-bottom: 28px;
}

.deadline-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.deadline-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border-left: 4px solid var(--green);
}

.deadline-list li:last-child {
  border-left-color: var(--gold);
}

.deadline-list span {
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 500;
}

.deadline-list strong {
  color: var(--deep-green);
  font-weight: 500;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 28px;
  color: var(--deep-green);
  background: var(--white);
  border: 2px dashed rgba(14, 68, 36, 0.35);
  text-align: center;
}

.qr-placeholder i {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 78px;
}

.qr-placeholder strong {
  font-weight: 500;
}

.qr-placeholder small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.alumni-message-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--deep-green);
  text-align: center;
}

.alumni-message-section::after {
  position: absolute;
  right: -44px;
  bottom: -120px;
  width: 300px;
  height: 380px;
  content: "";
  background: url("../assets/images/ginkgo_right.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.alumni-message-section > .narrow-container {
  position: relative;
  z-index: 1;
}

.alumni-message-section .section-heading h2 {
  color: var(--white);
}

.alumni-message-section p {
  margin: 0;
}

.alumni-voices {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 34px auto;
  list-style: none;
  color: #d4e8d7;
  font-size: 20px;
}

.alumni-closing {
  margin-top: 30px !important;
  color: #f4dc9f;
  font-size: 20px;
  line-height: 2;
}

/* 記念式典ページ：ラフ準拠レイアウト */
.ceremony-page {
  padding-bottom: clamp(100px, 12vw, 170px);
  background: var(--white);
}

.ceremony-content {
  max-width: 1020px;
}

.ceremony-lead {
  padding-top: clamp(70px, 8vw, 110px);
}

.ceremony-lead h1 {
  margin: 0 0 28px;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.ceremony-lead-copy p,
.ceremony-section-copy p {
  margin: 0;
}

.ceremony-lead-copy p + p,
.ceremony-section-copy p + p {
  margin-top: 5px;
}

.ceremony-detail-section {
  margin-top: clamp(80px, 10vw, 120px);
}

.ceremony-section-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.ceremony-section-copy {
  margin-bottom: 24px;
}

.ceremony-info-table {
  margin: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ceremony-info-table > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.ceremony-info-table dt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: var(--white);
  background: var(--gold);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.ceremony-info-table dd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 14px 28px;
  margin: 0;
  background: var(--white);
}

.ceremony-info-table dd strong {
  color: #17231b;
  font-weight: 500;
}

.ceremony-info-table dd > span:not(.ceremony-subtext) {
  display: block;
  margin-top: 2px;
}

.ceremony-subtext {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88em;
}

.ceremony-info-table .ceremony-date-cell {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  justify-content: flex-start;
  column-gap: 0.7em;
}

.ceremony-date-cell .ceremony-subtext {
  display: inline;
  margin-top: 0;
}

.ceremony-date-cell .ceremony-note-line {
  flex-basis: 100%;
  margin-top: 3px;
}

.ceremony-application-table dd strong + strong {
  margin-top: 6px;
}

.ceremony-apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 220px;
  min-height: 50px;
  padding: 10px 24px;
  color: var(--white);
  background: var(--deep-green);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 180ms ease;
}

.ceremony-apply-button:hover,
.ceremony-apply-button:focus-visible {
  background: var(--green);
}

.ceremony-alumni {
  max-width: 860px;
  margin: clamp(110px, 14vw, 180px) auto 0;
  text-align: center;
}

.ceremony-alumni h2 {
  margin: 0 0 36px;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.ceremony-alumni p {
  margin: 0;
}

.ceremony-alumni p + p {
  margin-top: 5px;
}

.ceremony-alumni-closing {
  margin-top: 24px;
}

/* 河北新報記念特集 */
.feature-recruitment {
  padding: 78px 0 clamp(220px, 18.5vw, 300px);
  background: var(--white);
}

.feature-recruitment-inner {
  max-width: 1020px;
}

.feature-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
  max-width: 930px;
  margin: 0 auto;
}

.feature-document-preview {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-document-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1191 / 842;
  object-fit: contain;
}

.feature-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 11px 24px;
  color: var(--white);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background-color 180ms ease;
}

.feature-corporate-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 930px;
  margin: 40px auto 0;
}

.feature-corporate-cta .feature-action {
  width: 220px;
  margin-inline: auto;
}

.feature-action i {
  font-size: 0.8em;
}

.feature-action-gold {
  background: var(--gold);
}

.feature-action-gold:hover,
.feature-action-gold:focus-visible {
  background: #bd9436;
}

.feature-action-green {
  background: var(--deep-green);
}

.feature-action-green:hover,
.feature-action-green:focus-visible {
  background: var(--green);
}

.feature-deadline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
}

.feature-personal-sponsor {
  margin: clamp(116px, 10vw, 165px) auto 0;
  text-align: center;
}

.feature-personal-sponsor h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.055em;
}

.feature-personal-sponsor p {
  margin: 36px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 2;
}

.feature-personal-sponsor .feature-action {
  width: 220px;
  margin: 40px auto 0;
}

/* キャラクター・ロゴ */
.characters-page {
  padding: 78px 0 clamp(260px, 22vw, 360px);
  background: var(--white);
}

.characters-content {
  max-width: 1020px;
}

.characters-page h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.045em;
  text-align: center;
}

.character-story-list {
  display: grid;
  gap: 78px;
  margin-top: 86px;
}

.character-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-areas:
    "heading image"
    "copy image";
  column-gap: 40px;
  align-items: start;
}

.character-story > h2 {
  grid-area: heading;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.character-story-copy p {
  margin: 0;
  line-height: 2;
}

.character-story-copy {
  grid-area: copy;
}

.character-story-copy .character-name {
  margin-bottom: 2px;
}

.character-name strong {
  color: #17231b;
  font-weight: 500;
}

.character-name span {
  color: var(--muted);
  font-size: 0.88em;
}

.character-story-image {
  grid-area: image;
  width: 250px;
  height: auto;
  align-self: center;
  justify-self: end;
  object-fit: contain;
}

/* スマートフォン（768px以下） */
@media (max-width: 768px) {
  html,
  body,
  .site-header { min-width: 0; }

  body { overflow-x: clip; }

  :root { --header-height: 76px; }

  .header-inner { width: 1020px; }
  .site-brand { flex-basis: 400px; min-width: 380px; }
  .site-brand > img { width: 58px; height: 46px; }
  .site-brand > span { font-size: 22px; }
  .global-nav { gap: 17px; margin-left: 18px; font-size: 14px; }
  .global-nav a { padding-block: 25px 21px; }
  .global-nav a::after { bottom: 17px; }

  .greeting-grid { gap: 18px; }
  .ceremony-teaser-inner { grid-template-columns: 220px 1fr; gap: 45px; }
  .ceremony-logo { width: 220px; }
}

/* スマートフォン向け追加調整 */
@media (max-width: 768px) {
  .pc-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }
	
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    flex: 0 0 auto;
  }

  .menu-toggle.is-open i { transform: rotate(90deg); }

  .global-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 24px 22px;
    background: var(--white);
    border-bottom: 1px solid rgba(14, 68, 36, 0.16);
    box-shadow: 0 18px 30px rgba(14, 68, 36, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(14, 68, 36, 0.12);
    font-size: 16px;
  }

  .global-nav a::after { display: none; }

  .greeting-grid { grid-template-columns: 1fr; }

  .greeting-grid { max-width: 520px; margin-inline: auto; gap: 28px; }
  .greeting-card { padding: 0; }

  .ceremony-teaser-inner,
  .feature-teaser,
  .two-column-layout,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .ceremony-teaser-inner { max-width: 650px; gap: 18px; text-align: center; }
  .ceremony-logo { width: 210px; margin-inline: auto; }
  .compact-event-data { max-width: 520px; margin-inline: auto; margin-bottom: 28px; text-align: left; }

  .feature-teaser { max-width: 620px; }
  .feature-visual { height: auto; min-height: 0; aspect-ratio: 2 / 1; }
  .feature-teaser > div { padding-block: 20px 0; }

  .footer-links { grid-template-columns: 1fr; gap: 10px; }

  .event-mark { width: min(330px, 80%); order: -1; margin-inline: auto; }
  .access-grid { max-width: 650px; }
  .map-placeholder { min-height: 340px; }

  .characters-page h1 { font-size: 36px; }
  .character-story { grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; }
  .character-story > h2 { font-size: 28px; }
  .character-story-image { width: 220px; }

  .ceremony-event-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .ceremony-event-card-wide { grid-column: auto; }
  .event-info-list-columns { grid-template-columns: 1fr; }
  .qr-placeholder { width: min(300px, 100%); margin-inline: auto; }

  .subpage-title-section h1,
  .ceremony-lead h1,
  .ceremony-alumni h2 {
    font-size: 36px;
  }

}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  body { font-size: 15px; line-height: 1.75; }
  .container, .narrow-container { width: min(100% - 40px, var(--container)); }
  .header-inner {
    width: auto;
    margin-right: 8px;
    margin-left: 16px;
  }
  .site-brand { flex: 1 1 auto; min-width: 0; gap: 8px; margin-right: 8px; }
  .site-brand > img { width: 43px; height: 35px; }
  .site-brand > span {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: normal;
  }
  .menu-toggle { width: 44px; height: 44px; border: 0; border-radius: 0; }
  .menu-toggle i { font-size: 20px; }
  .global-nav { padding: 8px 20px 20px; }
  .global-nav a { display: flex; align-items: center; min-height: 52px; padding: 12px 4px; font-size: 15px; }
  .page-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .page-top i { font-size: 16px; }

  .section-pad { padding-block: 56px; }
  .section-heading { margin-bottom: 30px; }
  .eyebrow { margin-bottom: 8px; font-size: 12px; letter-spacing: 0.18em; }
  .section-heading h2,
  .display-heading,
  .ceremony-teaser-copy h2,
  .feature-teaser h2 { font-size: 20px; line-height: 1.5; }
  .section-heading > p:last-child { margin-top: 10px; }
  .greetings-section .section-heading > p:last-child { text-align: left; }
  .button { width: 100%; min-height: 52px; padding-inline: 18px; font-size: 15px; }
  .inline-button { min-width: 0; }

  .home-hero { height: 410px; min-height: 0; aspect-ratio: auto; }
  .home-hero > img { position: absolute; inset: 0; object-position: 50% center; }
  .hero-emblem { z-index: 1; width: calc(100% - 40px); max-width: 335px; min-height: 194px; padding: 17px 24px 20px; }
  .hero-emblem img { width: 142px; }
  .hero-emblem p { margin-top: 8px; font-size: 16px; }

  .anniversary-message .eyebrow { text-align: center; }
  .anniversary-message .display-heading { font-size: 20px; text-align: center; }
  .message-lines {
    margin-top: 24px;
    border-top: 1px solid rgba(14, 68, 36, 0.14);
    text-align: left;
  }
  .message-lines p {
    padding: 0 2px;
    border: 0;
    font-size: 15px;
    line-height: 2.45;
    text-align: left;
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(2.45em - 1px),
      rgba(14, 68, 36, 0.14) calc(2.45em - 1px),
      rgba(14, 68, 36, 0.14) 2.45em
    );
  }
  .message-lines p:first-child { border-top: 0; }
  .thankyou-image { margin-top: 30px; }

  .greeting-grid { gap: 44px; }
  .portrait { height: 220px; }
  .person-role { margin-top: 16px; font-size: 12px; }
  .greeting-card h3 { margin-bottom: 26px; font-size: 20px; }
  .greeting-card > p:not(.person-role) { margin: 0 0 18px; font-size: 15px; line-height: 1.85; }

  .ceremony-teaser { padding-block: 54px; }
  .ceremony-teaser-inner { gap: 22px; }
  .ceremony-logo { width: 176px; }
  .ceremony-teaser-copy h2 { margin-bottom: 20px; }
  .compact-event-data { margin-bottom: 24px; }
  .compact-event-data > div { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .compact-event-data dd { font-size: 15px; line-height: 1.7; }
  .compact-event-data dt { font-size: 11px; }
  .venue-address { display: block; margin-top: 2px; }

  .feature-teaser { gap: 0; }
  .feature-visual { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
  .feature-teaser > div { padding-top: 28px; }
  .feature-teaser h2 { margin-bottom: 10px; }
  .feature-teaser p:not(.eyebrow) { margin: 0 0 20px; font-size: 15px; line-height: 1.8; }

  .feature-recruitment { padding: 54px 0 88px; }
  .feature-document-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 440px;
    margin-top: 0;
  }
  .feature-corporate-cta { margin-top: 32px; }
  .feature-corporate-cta .feature-action { width: 100%; }
  .feature-action { min-height: 52px; font-size: 15px; }
  .feature-deadline { margin-top: 7px; font-size: 14px; white-space: normal; }
  .feature-personal-sponsor { margin-top: 88px; }
  .feature-personal-sponsor h1 { font-size: 20px; letter-spacing: 0.035em; }
  .feature-personal-sponsor p { margin-top: 22px; font-size: 15px; line-height: 1.85; text-align: left; }
  .feature-personal-sponsor .feature-action { width: 100%; margin-top: 32px; }

  .characters-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 64px;
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.6;
  }
  .characters-banner-break { display: initial; }
  .banner-arrow { display: none; }

  .page-hero { min-height: 340px; padding-block: 38px 58px; }
  .page-hero::after { right: -48px; bottom: -76px; width: 230px; height: 290px; }
  .page-hero h1 { font-size: 20px; }
  .page-hero .ceremony-page-title { font-size: 20px; }
  .page-hero > .container > p:last-child { font-size: 15px; }
  .breadcrumb { margin-bottom: 35px; }

  .subpage-visual { height: 164px; }
  .subpage-title-section { padding-top: 46px; }
  .subpage-title-section h1 { font-size: 20px; line-height: 1.5; letter-spacing: 0.025em; }
  .subpage-title-section p { margin-top: 10px; }
  .ceremony-page { padding-bottom: 88px; }
  .ceremony-lead { padding-top: 50px; }
  .ceremony-lead h1 { margin-bottom: 22px; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; }
  .ceremony-lead-copy p + p,
  .ceremony-section-copy p + p { margin-top: 10px; }
  .ceremony-detail-section { margin-top: 60px; }
  .ceremony-section-title { margin-bottom: 12px; font-size: 20px; }
  .ceremony-section-copy { margin-bottom: 18px; }
  .ceremony-info-table > div { grid-template-columns: 84px minmax(0, 1fr); min-height: 62px; }
  .ceremony-info-table dt { padding: 11px 7px; font-size: 13px; }
  .ceremony-info-table dd { padding: 13px 14px; font-size: 15px; line-height: 1.7; }
  .ceremony-date-cell > strong { flex-basis: auto; }
  .ceremony-date-cell .ceremony-subtext { white-space: nowrap; }
  .ceremony-date-cell .ceremony-note-line { white-space: normal; }
  .ceremony-apply-button { width: 100%; min-height: 52px; font-size: 15px; }
  .ceremony-alumni { margin-top: 76px; }
  .ceremony-alumni h2 { margin-bottom: 24px; font-size: 20px; line-height: 1.5; }
  .ceremony-alumni p { text-align: left; }

  .event-table > div { grid-template-columns: 76px 1fr; gap: 15px; }
  .ceremony-intro-heading h2 span { font-size: 0.56em; }
  .graduate-highlight { padding: 18px 14px; font-size: 18px; }
  .graduate-highlight strong { display: block; margin: 4px 0 0; font-size: 28px; }
  .ceremony-event-card { padding: 28px 22px; }
  .ceremony-event-card h3 { font-size: 20px; }
  .event-info-list > div { grid-template-columns: 1fr; gap: 6px; }
  .event-info-list-columns > div { padding: 16px; }
  .deadline-list li { grid-template-columns: 1fr; gap: 4px; }
  .alumni-voices,
  .alumni-closing { font-size: 18px; }
  .program-list li { grid-template-columns: 70px 1fr; gap: 20px; }
  .program-list li:not(:last-child)::after { left: 66px; }
  .program-list li > div { padding-left: 20px; }
  .program-list li > div::before { left: -30px; }
  .program-list time { font-size: 16px; }

  .characters-page { padding: 54px 0 110px; }
  .characters-page h1 { font-size: 20px; line-height: 1.5; letter-spacing: 0.025em; }
  .character-story-list { gap: 58px; margin-top: 48px; }
  .character-story {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "copy";
    row-gap: 8px;
  }
  .character-story > h2 { margin-bottom: 0; font-size: 20px; line-height: 1.5; }
  .character-story-copy { margin-top: 16px; }
  .character-story-copy p { font-size: 15px; line-height: 1.85; }
  .character-name span { display: block; margin-top: 2px; }
  .character-story-image {
    width: min(260px, 82vw);
    justify-self: center;
  }

  .modal-backdrop { padding: 12px; }
  .message-modal { max-height: calc(100dvh - 24px); padding: 52px 20px 28px; }
  .modal-portrait { margin-bottom: 18px; aspect-ratio: 4 / 3; }
  .message-modal h2 { font-size: 20px; }
  .message-modal > p:last-child { margin-top: 20px; font-size: 15px; }
  .modal-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .footer-links { padding-block: 30px; }
  .footer-links a { min-height: 52px; padding-inline: 14px; font-size: 14px; }
  .copyright { padding: 15px 20px; font-size: 11px; }
}

/* スマートフォンでは、情報表も1カラムで読みやすくする */
@media (max-width: 768px) {
  .container,
  .narrow-container { width: calc(100% - 32px); }

  .home-hero { height: 390px; min-height: 0; }
  .hero-emblem { width: calc(100% - 32px); }
  .anniversary-message .display-heading,
  .section-heading h2,
  .ceremony-teaser-copy h2,
  .feature-teaser h2 { font-size: 20px; }

  .subpage-visual { height: 150px; }
  .subpage-title-section h1,
  .ceremony-lead h1 { font-size: 20px; }
  .feature-personal-sponsor h1 { font-size: 20px; }
  .characters-page h1 { font-size: 20px; }
  .character-story > h2 { font-size: 20px; }

  .ceremony-info-table > div { grid-template-columns: 1fr; }
  .ceremony-info-table dt {
    justify-content: flex-start;
    min-height: 38px;
    padding: 8px 13px;
    text-align: left;
  }
  .ceremony-info-table dd { padding: 13px; font-size: 15px; }
  .ceremony-info-table .ceremony-date-cell { column-gap: 0.55em; }

  .characters-banner { padding-inline: 14px; }
  .footer-links a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================
   河北新報記念特集（special.html）
   既存スタイルと分離するため、専用クラスは feature-special- で統一。
   ========================================================= */
.feature-special-page {
  background: var(--white);
}

.feature-special-content {
  width: 1020px;
}

.feature-special-introduction {
  padding: clamp(64px, 7vw, 92px) 0 clamp(88px, 9vw, 126px);
  background: var(--white);
}

.feature-special-introduction h1,
.feature-special-school h2,
.feature-special-sponsors h2 {
  margin: 0;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-align: center;
}

.feature-special-lead {
  max-width: 920px;
  margin: 40px auto 0;
}

.feature-special-lead p {
  margin: 20px 0 0;
  line-height: 1.6em;
}

.feature-special-lead p + p {
  margin-top: 10px;
}

.feature-special-jump-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 44px auto 0;
  overflow: hidden;
  background: rgba(14, 68, 36, 0.18);
  border: 1px solid rgba(14, 68, 36, 0.18);
}

.feature-special-jump-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  color: var(--deep-green);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.feature-special-jump-nav a:hover,
.feature-special-jump-nav a:focus-visible {
  color: var(--white);
  background: var(--deep-green);
}

.feature-special-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 40px;
  max-width: 920px;
  margin: 56px auto 0;
}

.feature-special-video-card {
  scroll-margin-top: calc(var(--header-height) + 24px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-special-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e8e8;
}

.feature-special-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-special-video-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em 0.65em;
  min-height: 58px;
  padding: 12px 16px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.feature-special-video-caption span {
  color: var(--deep-green);
  font-weight: 700;
}

.feature-special-video-caption strong {
  font-size: 1.12em;
  font-weight: 700;
}

.feature-special-video-caption small {
  color: var(--muted);
  font-size: 0.75em;
}

.feature-special-school {
  scroll-margin-top: var(--header-height);
  padding: clamp(70px, 8vw, 104px) 0 clamp(82px, 9vw, 116px);
  background: var(--paper);
}

.feature-special-school-inner {
  max-width: 900px;
}

.feature-special-video-card-wide {
  max-width: 760px;
  margin: 40px auto 0;
}

.feature-special-school-copy {
  margin: 28px 0 0;
  line-height: 2;
  text-align: center;
}

.feature-special-sponsors {
  scroll-margin-top: var(--header-height);
  padding: clamp(76px, 9vw, 116px) 0;
  background: var(--white);
}

.feature-special-sponsors-lead {
  margin: 26px 0 0;
  text-align: center;
}

.feature-special-sponsors-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.feature-special-logo-grid {
  display: grid;
  margin-inline: auto;
}

.feature-special-logo-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.feature-special-logo-grid-small {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.feature-special-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.52 / 1;
  padding: 18px;
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-special-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-special-logo-grid-small .feature-special-logo-card {
  padding: 16px;
}

.feature-special-name-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 68px auto 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-special-name-list li {
  min-width: 0;
  padding: 14px 12px;
  scroll-margin-top: calc(var(--header-height) + 24px);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: center;
}

.feature-special-video-card:target,
.feature-special-school:target,
.feature-special-sponsors:target,
.feature-special-logo-card:target,
.feature-special-name-list li:target {
  outline: 3px solid rgba(215, 178, 84, 0.72);
  outline-offset: 5px;
}

@media (max-width: 768px) {
  .feature-special-introduction h1,
  .feature-special-school h2,
  .feature-special-sponsors h2 {
    font-size: 36px;
  }

  .feature-special-jump-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-special-logo-grid-large,
  .feature-special-logo-grid-small {
    gap: 18px;
  }

  .feature-special-logo-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-special-logo-grid-small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-special-name-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .feature-special-content {
    width: 1020px;
  }

  .feature-special-introduction {
    padding: 52px 0 72px;
  }

  .feature-special-introduction h1,
  .feature-special-school h2,
  .feature-special-sponsors h2 {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.035em;
  }

  .feature-special-lead {
    margin-top: 28px;
  }

  .feature-special-lead p {
    line-height: 1.85;
  }

  .feature-special-lead p + p {
    margin-top: 12px;
  }

  .feature-special-jump-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }

  .feature-special-jump-nav a {
    min-height: 50px;
    font-size: 14px;
  }

  .feature-special-video-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }

  .feature-special-video-caption {
    min-height: 54px;
    padding: 11px 12px;
    font-size: 15px;
  }

  .feature-special-school {
    padding: 58px 0 68px;
  }

  .feature-special-video-card-wide {
    margin-top: 30px;
  }

  .feature-special-school-copy {
    margin-top: 22px;
    line-height: 1.85;
  }

  .feature-special-sponsors {
    padding: 62px 0 110px;
  }

  .feature-special-sponsors-lead {
    margin-top: 20px;
    text-align: left;
  }

  .feature-special-sponsors-note {
    font-size: 12px;
    text-align: left;
  }

  .feature-special-logo-grid-large {
    gap: 14px;
    margin-top: 36px;
  }

  .feature-special-logo-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
  }

  .feature-special-logo-card,
  .feature-special-logo-grid-small .feature-special-logo-card {
    padding: 12px;
  }

  .feature-special-name-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 44px;
  }

  .feature-special-name-list li {
    padding: 12px 8px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .feature-special-content {
    width: calc(100% - 32px);
  }

  .feature-special-introduction h1,
  .feature-special-school h2,
  .feature-special-sponsors h2 {
    font-size: 22px;
  }
}

/* 河北新報記念特集：2026-09-09 微調整 */
@media (min-width: 769px) {
  .feature-special-lead {
    text-align: center;
  }
}

.feature-special-video-card,
.feature-special-school,
.feature-special-sponsors,
.feature-special-logo-card,
.feature-special-name-list li {
  /* html 側の scroll-padding-top で固定ヘッダー分を確保するため、余白だけを追加 */
  scroll-margin-top: 16px;
}

.feature-special-video-card:target,
.feature-special-school:target,
.feature-special-sponsors:target,
.feature-special-logo-card:target,
.feature-special-name-list li:target {
  /* アンカー移動時にセクション境界へゴールドの線を表示しない */
  outline: 0;
}

.feature-special-logo-card img {
  width: 85%;
  height: 85%;
}

.feature-special-logo-card,
.feature-special-logo-grid-small .feature-special-logo-card {
  padding: 0;
}

.feature-special-name-list {
  /* 最終行の項目数が列数に満たない場合も、下線を一覧幅いっぱいに表示 */
  border-bottom: 1px solid var(--line);
}

@media (max-width: 768px) {
  .feature-special-video-card,
  .feature-special-school,
  .feature-special-sponsors,
  .feature-special-logo-card,
  .feature-special-name-list li {
    scroll-margin-top: 12px;
  }
}

/* 河北新報記念特集：2026-09-09 表示調整 2 */
.feature-special-school,
.feature-special-sponsors {
  /* セクションは固定ヘッダー直下に合わせる（動画カードの余白は維持） */
  scroll-margin-top: 0;
}

.feature-special-logo-card img {
  width: 100%;
  height: 100%;
  transform: scale(0.85);
  transform-origin: center;
}

.feature-special-name-list {
  /*
   * 1行54pxの下線を一覧全幅へ描画。
   * 最終行の人数が列数に満たない場合も線が途切れません。
   */
  grid-auto-rows: 54px;
  border-bottom: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 53px,
    var(--line) 53px,
    var(--line) 54px
  );
}

.feature-special-name-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding-block: 8px;
  border-bottom: 0;
  white-space: nowrap;
}

.feature-special-personal-sponsor-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-height: 52px;
  padding: 11px 24px;
  margin: 56px auto 0;
  color: var(--white);
  background: var(--deep-green);
  border: 1px solid var(--deep-green);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.feature-special-personal-sponsor-button i {
  position: absolute;
  right: 18px;
  font-size: 0.8em;
}

.feature-special-personal-sponsor-button:hover,
.feature-special-personal-sponsor-button:focus-visible {
  color: var(--white);
  background: #389f38;
  border-color: #389f38;
}

.feature-special-closing {
  padding: clamp(88px, 10vw, 140px) 0 clamp(110px, 13vw, 180px);
  background: var(--paper);
}

.feature-special-closing-inner {
  max-width: 820px;
  margin-inline: auto;
}

.feature-special-closing-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.feature-special-closing-body {
  font-size: 17px;
  line-height: 1.8em;
}

.feature-special-closing-body p {
  margin: 0;
}

.feature-special-closing-body p + p {
  margin-top: 15px;
}

.feature-special-closing-body strong {
  color: var(--deep-green);
  font-weight: 700;
}

.feature-special-closing-catch {
  margin-bottom: 46px !important;
  color: var(--deep-green);
  font-size: 24px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-align: left;
}

.feature-special-closing-call {
  margin-top: 42px !important;
  color: var(--deep-green);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-align: left;
}

.feature-special-closing-catch-final {
  margin-top: 54px !important;
  margin-bottom: 0 !important;
}

.feature-special-closing-call strong,
.feature-special-closing-catch-final strong {
  color: var(--gold);
}

.feature-special-closing-credits {
  margin-top: 32px;
  /*padding-top: 32px;*/
  /*border-top: 1px solid var(--line);*/
}

.feature-special-closing-organization,
.feature-special-closing-responsibility {
  font-size: 15px;
  line-height: 1.8;
  text-align: right;
}

.feature-special-closing-members {
  width: max-content;
  max-width: 100%;
  padding: 0;
  margin: 28px 0 0 auto;
  list-style: none;
  font-size: 15px;
  line-height: 1.8;
}

.feature-special-closing-responsibility {
  margin-top: 18px !important;
}

@media (max-width: 768px) {
  .feature-special-school,
  .feature-special-sponsors {
    scroll-margin-top: 0;
  }

  .feature-special-sponsors {
    padding-bottom: 76px;
  }

  .feature-special-closing {
    padding: 58px 0 88px;
  }

  .feature-special-closing-title {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .feature-special-closing-body {
    font-size: 15px;
    line-height: 1.65em;
  }

  .feature-special-closing-body p + p {
    margin-top: 10px;
  }

  .feature-special-closing-catch {
    margin-bottom: 34px !important;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .feature-special-closing-call {
    margin-top: 34px !important;
    font-size: 19px;
    letter-spacing: 0.02em;
  }

  .feature-special-closing-catch-final {
    margin-top: 30px !important;
    margin-bottom: 0 !important;
  }

  .feature-special-closing-credits {
    margin-top: 48px;
    padding-top: 24px;
  }

  .feature-special-closing-organization,
  .feature-special-closing-members,
  .feature-special-closing-responsibility {
    font-size: 14px;
  }

  .feature-special-closing-organization-separator {
    display: none;
  }

  .feature-special-closing-organization-committee {
    display: block;
  }

  .feature-special-closing-members {
    margin-top: 22px;
  }
}

/* 協賛ロゴ：枠サイズは維持し、枠内の画像だけをひとまわり縮小 */
.feature-special-logo-card {
  padding: 18px;
}

.feature-special-logo-grid-small .feature-special-logo-card {
  padding: 16px;
}

.feature-special-logo-card img {
  width: 100%;
  height: 100%;
  transform: scale(0.85);
}

@media (max-width: 768px) {
  .feature-special-logo-card,
  .feature-special-logo-grid-small .feature-special-logo-card {
    padding: 12px;
  }
}

/* 河北新報記念特集：コンテンツ幅を既存ページと同じ1020pxに統一 */
.feature-special-lead,
.feature-special-jump-nav,
.feature-special-video-grid,
.feature-special-school-inner {
  max-width: 1020px;
}

/* スマートフォン：協賛ロゴを主要枠2カラム・小枠3カラムで表示 */
@media (max-width: 768px) {
  .feature-special-logo-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-special-logo-grid-small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-special-logo-grid-small .feature-special-logo-card {
    padding: 8px;
  }
}

/* 協賛者ご紹介：横並び、2列カード、3列カード */
.feature-special-profile-list {
  margin-top: 110px;
}

.feature-special-profile-row-list {
  display: grid;
  gap: 72px;
}

.feature-special-profile-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: 40px;
  justify-content: space-between;
  align-items: start;
}

.feature-special-profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  object-fit: cover;
}

.feature-special-profile-row .feature-special-profile-image {
  max-width: 520px;
}

.feature-special-profile-copy h3 {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.feature-special-profile-copy p {
  margin: 0 0 15px;
  font-size: 17px;
  line-height: 1.65em;
  text-align: left;
  text-align-last: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.feature-special-profile-copy .feature-special-profile-motto {
  margin-bottom: 0;
}

.feature-special-profile-congratulations {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  white-space: nowrap;
}

.feature-special-profile-copy .feature-special-profile-signature {
  text-align: right;
  text-align-last: right;
}

.feature-special-profile-card-grid {
  display: grid;
}

.feature-special-profile-card-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 96px;
}

.feature-special-profile-card-grid-nomessage {
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: 40px;
  justify-content: space-between;
  margin-top: 72px;
}

.feature-special-profile-card-grid-nomessage .feature-special-profile-card {
  max-width: 520px;
}

.feature-special-profile-card-grid-nomessage .feature-special-profile-card h3 {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

.feature-special-profile-card-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 96px;
}

.feature-special-profile-card-grid-small {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 96px;
}

.feature-special-profile-card h3 {
  margin: 10px 0 0;
  color: var(--deep-green);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.feature-special-profile-card p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6em;
  text-align: left;
  text-align-last: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.feature-special-profile-card-grid-small h3 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-special-profile-list {
    margin-top: 72px;
  }

  .feature-special-profile-row-list {
    gap: 64px;
  }

  .feature-special-profile-row,
  .feature-special-profile-card-grid-nomessage,
  .feature-special-profile-card-grid-large {
    grid-template-columns: 1fr;
  }

  .feature-special-profile-row {
    gap: 10px;
  }

  .feature-special-profile-row .feature-special-profile-image {
    max-width: 520px;
    justify-self: center;
  }

  .feature-special-profile-copy h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.5;
  }

  .feature-special-profile-copy p {
    font-size: 15px;
    line-height: 1.6em;
  }

  .feature-special-profile-copy .feature-special-profile-congratulations {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    font-size: 15px;
    white-space: normal;
  }

  .feature-special-profile-card-grid-large {
    gap: 56px;
    margin-top: 72px;
  }

  .feature-special-profile-card-grid-nomessage {
    gap: 48px;
    margin-top: 64px;
  }

  .feature-special-profile-card-grid-nomessage .feature-special-profile-card {
    justify-self: center;
  }

  .feature-special-profile-card-grid-nomessage .feature-special-profile-card h3 {
    font-size: 18px;
  }

  .feature-special-profile-card-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 72px;
  }

  .feature-special-profile-card h3 {
    font-size: 18px;
  }

  .feature-special-profile-card p {
    font-size: 15px;
  }

  .feature-special-profile-card-grid-small h3 {
    font-size: 15px;
  }
}

/* =========================================================
   記念特集に込めた想い（special-thoughts.html）
   ========================================================= */
.feature-special-thoughts-link {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.feature-special-thoughts-link .button {
  position: relative;
  justify-content: center;
  gap: 0;
}

.feature-special-thoughts-link .button i {
  position: absolute;
  right: 18px;
  margin-left: 0;
  font-size: 0.8em;
}

.special-thoughts-page {
  background: var(--white);
}

.special-thoughts-section {
  padding: clamp(64px, 7vw, 92px) 0 clamp(92px, 10vw, 140px);
}

.special-thoughts-content {
  width: 1020px;
}

.special-thoughts-content > h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-align: center;
}

.special-thoughts-list {
  max-width: 940px;
  margin: clamp(52px, 6vw, 76px) auto 0;
  border-top: 1px solid var(--line);
}

.special-thoughts-entry {
  padding: clamp(46px, 5.5vw, 62px) 0;
  border-bottom: 1px solid var(--line);
}

.special-thoughts-person {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.15em 1.1em;
  color: var(--deep-green);
}

.special-thoughts-person p {
  flex: 0 1 auto;
  margin: 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.special-thoughts-person h2 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--deep-green);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.special-thoughts-message {
  min-width: 0;
  margin-top: 18px;
}

.special-thoughts-message p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.95;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.special-thoughts-back {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 6vw, 72px);
}

.special-thoughts-back .button {
  justify-content: center;
  gap: 12px;
  min-width: 260px;
}

.special-thoughts-back .button > i:first-child {
  margin: 0;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .feature-special-thoughts-link {
    margin-top: 28px;
  }

  .special-thoughts-section {
    padding: 50px 0 88px;
  }

  .special-thoughts-content {
    width: calc(100% - 40px);
  }

  .special-thoughts-content > h1 {
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0.035em;
  }

  .special-thoughts-list {
    margin-top: 38px;
  }

  .special-thoughts-entry {
    padding: 38px 0 42px;
  }

  .special-thoughts-person {
    display: block;
  }

  .special-thoughts-person p {
    display: block;
    font-size: 16px;
  }

  .special-thoughts-person h2 {
    display: block;
    margin: 4px 0 0;
    font-size: 16px;
    white-space: normal;
  }

  .special-thoughts-message {
    margin-top: 16px;
  }

  .special-thoughts-message p {
    font-size: 16px;
    line-height: 1.9;
  }

  .special-thoughts-back {
    margin-top: 48px;
  }

  .special-thoughts-back .button {
    min-width: 0;
  }
}
