/* =========================================================
   Color / Base
   - 背景：白
   - 差し色：赤(メイン) / 水色→白グラデ / オレンジ
   - 写真・画像は角丸なし（border-radius: 0）
   ========================================================= */
:root {
  --red: #d7141f;
  --red-dark: #b00f19;
  --orange: #f68b1f;
  --sky: #b9e1f6;
  --sky-soft: #e6f4fc;
  --ink: #1e2430;
  --gray: #f5f6f8;
  --line: #e3e6ea;
  --grad-sky: linear-gradient(180deg, var(--sky) 0%, #ffffff 100%);
  --grad-sky-r: linear-gradient(135deg, var(--sky) 0%, #ffffff 70%);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, blockquote { margin: 0; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; margin-top: 48px; }

/* ---------- Common parts ---------- */
.section { padding: 112px 0; }
.section--sky  { background: var(--grad-sky); }
.section--gray { background: var(--gray); }
.section--grad { background: linear-gradient(0deg, var(--sky) 0%, #fff 100%); }

.eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--orange);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--orange); }
.eyebrow--white { color: #fff; }
.eyebrow--white::before { background: #fff; }

.h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  margin: 8px 0 48px;
  padding-bottom: 16px;
  position: relative;
}
.h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 64px; height: 5px;
  background: linear-gradient(90deg, var(--red) 0 70%, var(--orange) 70% 100%);
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red    { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #dd7608; }
.btn--line   { border-color: var(--red); color: var(--red); background: #fff; }
.btn--line:hover { background: var(--red); color: #fff; }
.btn--white  { background: #fff; color: var(--red); }
.btn--outline-white { border-color: #fff; color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--red); }
.btn--block { width: 100%; border: 0; font-family: inherit; }

/* 赤い四角の箇条書き（共通） */
.check-list li, .policy__list li, .book-list li, .school-list li {
  position: relative; padding-left: 20px;
}
.check-list li::before, .policy__list li::before, .book-list li::before, .school-list li::before {
  content: ""; position: absolute; left: 2px; top: .8em;
  width: 8px; height: 8px; background: var(--red);
}
.policy__item:nth-child(even) .policy__list li::before { background: var(--orange); }

/* ---------- Photo (角丸なし) ----------
   画像がある時：写真を枠いっぱいに表示し、<span>は下に重なるキャプション
   画像がない時：水色の縞模様に<span>の文字が中央に出る                */
.photo {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 12px, rgba(255,255,255,0) 12px 24px),
    var(--sky);
  display: grid;
  place-items: center;
  text-align: center;
  color: #4f86a6;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  letter-spacing: .15em;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo img + span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 16px;
  background: rgba(30, 36, 48, .68);
  color: #fff; text-align: left;
  font-family: "Noto Sans JP", sans-serif; font-size: 13px; letter-spacing: .06em; line-height: 1.5;
}
.photo--hero     { aspect-ratio: 3 / 4; }
.photo--portrait { aspect-ratio: 3 / 3; }
.photo--square   { aspect-ratio: 3 / 4; margin-bottom: 24px; }
.photo--card     { aspect-ratio: 3 / 2; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  background: #fff;
  border-bottom: 4px solid var(--red);
  z-index: 100;
}
.header__inner {
  height: 100%;
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 6px; height: 36px;
  background: linear-gradient(180deg, var(--red) 0 60%, var(--orange) 60% 100%);
}
.logo__text { font-weight: 900; font-size: 24px; line-height: 1.2; letter-spacing: .08em; white-space: nowrap; }

.nav ul { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 700; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 3px; background: var(--orange); transition: width .25s;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav a.is-current { color: var(--red); }
.nav a.is-current:not(.nav__cta)::after { width: 100%; background: var(--red); }
.nav__cta { background: var(--red); color: #fff; padding: 10px 24px !important; }
.nav__cta:hover { background: var(--red-dark); }

.nav-toggle { display: none; }
.nav-btn { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 112px;
  background: var(--grad-sky);
  overflow: hidden;
}
.hero::before { /* 斜めの白いライン */
  content: "";
  position: absolute; left: -10%; bottom: 60px;
  width: 70%; height: 10px;
  background: #fff; transform: rotate(-6deg);
  opacity: .8;
}
.hero__inner {
  position: relative;
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero__label {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-weight: 700; font-size: 14px; letter-spacing: .1em;
  padding: 4px 16px; margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .02em;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: normal; color: var(--red);
  background: linear-gradient(transparent 70%, rgba(246,139,31,.7) 70%);
}
.hero__lead { margin-top: 24px; font-weight: 500; max-width: 30em; }
.hero__btns { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual { position: relative; padding: 0 28px 28px 0; }
.hero__block {
  position: absolute; right: 0; bottom: 0;
  width: 82%; height: 82%;
  background: var(--red);
  z-index: 0;
}
.photo--hero { position: relative; z-index: 1; }
.hero__tag {
  position: absolute; z-index: 2; left: -16px; top: 24px;
  background: var(--orange); color: #fff;
  font-family: "Oswald", sans-serif; font-weight: 700;
  letter-spacing: .2em; padding: 6px 18px;
}
.hero__scroll {
  position: absolute; left: 24px; bottom: 24px;
  font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .3em;
  writing-mode: vertical-rl; color: var(--red);
  padding-bottom: 56px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 2px; height: 48px; background: var(--red);
}

/* =========================================================
   Message
   ========================================================= */
.message { display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: start; }
.message__photo {
  position: sticky; top: calc(var(--header-h) + 32px);
}
.message__photo::before {
  content: ""; position: absolute; left: -20px; top: -20px;
  width: 100%; height: 100%;
  border: 4px solid var(--red);
}
.message__photo .photo { position: relative; }
.message__catch {
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 900;
  color: var(--red); margin-bottom: 8px; line-height: 1.6;
}
.message__sub {
  font-size: 18px; font-weight: 900; line-height: 1.6;
  margin: 28px 0 8px;
  padding-left: 14px; border-left: 5px solid var(--orange);
}
.message__body p + p { margin-top: 1em; }
.message__body .check-list { margin-top: 4px; }
.message__body .check-list li { padding-top: 2px; padding-bottom: 2px; }
.message__closing { margin-top: 32px !important; padding: 24px 28px; background: var(--sky-soft); border-left: 5px solid var(--red); }
.message__sign { margin-top: 28px !important; text-align: right; font-weight: 900; font-size: 20px; letter-spacing: .15em; }
/* 手書き署名：images/signature.png があれば画像を表示、なければ文字を表示 */
.message__sign img {
  display: inline-block;
  height: 46px; width: auto; max-width: 100%;
  mix-blend-mode: multiply; /* 背景が白い画像でも白が抜けて馴染む */
}
.message__sign img + span { display: none; }
.message__link { margin-top: 32px !important; }

/* =========================================================
   Policy
   ========================================================= */
.policy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.policy__item {
  background: #fff;
  border-top: 6px solid var(--red);
  padding: 36px 32px 40px;
  position: relative;
  transition: box-shadow .25s;
}
.policy__item:nth-child(even) { border-top-color: var(--orange); }
.policy__item:hover { box-shadow: 0 14px 28px rgba(30,36,48,.1); }
.policy__no {
  display: block;
  font-family: "Oswald", sans-serif; font-size: 56px; line-height: 1; font-weight: 700;
  color: transparent; -webkit-text-stroke: 2px var(--red);
  margin-bottom: 12px;
}
.policy__item:nth-child(even) .policy__no { -webkit-text-stroke-color: var(--orange); }
.policy__item h3 { font-size: 20px; font-weight: 900; margin-bottom: 14px; line-height: 1.5; }
.policy__lead { font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.policy__sub {
  display: inline-block; margin: 4px 0 8px;
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1; padding: 6px 12px;
}
.policy__item p { font-size: 14.5px; line-height: 1.9; color: #3c4351; }
.policy__list { margin: 10px 0 0; font-size: 14.5px; line-height: 1.8; color: #3c4351; }
.policy__list li { padding-top: 3px; padding-bottom: 3px; }
.policy__note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--sky-soft);
  border-left: 4px solid var(--orange);
  font-size: 13.5px !important; line-height: 1.8 !important;
}
.area { margin-top: 8px; }
.area > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.7; }
.area dt { font-weight: 700; color: var(--red); }
.area dd { color: #3c4351; }

/* =========================================================
   Profile
   ========================================================= */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.profile__head { position: static; }
.profile__head .h2 { margin-bottom: 32px; }
.profile__data > div {
  display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.profile__data dt { flex: 0 0 5em; font-weight: 700; color: var(--red); }
.profile__data small { font-size: 13px; color: #5d6676; line-height: 1.7; display: inline-block; }

.timeline { border-left: 4px solid var(--sky); }
.timeline > li {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start;
  padding: 28px 0 28px 28px; position: relative;
  border-bottom: 1px dashed var(--line);
}
.timeline > li:first-child { padding-top: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -10px; top: 38px;
  width: 16px; height: 16px; background: var(--red);
}
.timeline > li:first-child::before { top: 10px; }
.timeline > li:nth-child(even)::before { background: var(--orange); }
.timeline__year { font-family: "Noto Sans JP", "Oswald", sans-serif; font-size: 24px; font-weight: 900; color: var(--red); letter-spacing: .05em; line-height: 1.4; }
.timeline h3 { font-size: 19px; font-weight: 900; line-height: 1.5; margin-bottom: 10px; }
.timeline p + p, .timeline .school-list + p { margin-top: .9em; }
.timeline p, .timeline .school-list li { font-size: 15px; }
/* 年表の途中に入れる写真（小さめ）。大きさは max-width で調整 */
.timeline__photo { margin: 18px 0; width: min(100%, 260px); }
.timeline__photo + p { margin-top: 18px; }
.photo--wide { aspect-ratio: 5 / 4; }
.timeline__quote {
  font-weight: 900; font-size: 18px !important; color: var(--red);
  padding-left: 14px; border-left: 5px solid var(--orange); margin: 14px 0 !important;
}
.programs { margin: 16px 0; background: var(--gray); padding: 8px 24px; }
.programs > div { padding: 14px 0; border-bottom: 1px dashed #cfd4db; }
.programs > div:last-child { border-bottom: 0; }
.programs dt { font-weight: 900; color: var(--red); }
.programs dd { font-size: 14.5px; line-height: 1.8; }

.likes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 88px; align-items: start; }
.likes__card { background: var(--gray); border-top: 6px solid var(--red); padding: 36px 32px; }
.likes__card--orange { border-top-color: var(--orange); }
.likes__title { font-size: 22px; font-weight: 900; margin-bottom: 16px; }
.likes__sub { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--red); margin: 22px 0 6px; }
.likes__card--orange .likes__sub { color: #c26a05; }
.likes__card p { font-size: 15px; }
.likes__card p + p { margin-top: .9em; }
.book-list { font-size: 14.5px; line-height: 1.7; }
.book-list li { padding-top: 3px; padding-bottom: 3px; }
.likes__quote { margin-top: 20px !important; font-weight: 900; color: var(--red); padding: 16px 20px; background: #fff; border-left: 5px solid var(--red); }

/* =========================================================
   Achievements（役職・所属団体）
   ========================================================= */
.org__heading {
  font-size: 20px; font-weight: 900; margin-bottom: 20px;
  padding-left: 14px; border-left: 5px solid var(--orange);
}
.org { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.org__card { background: #fff; border-top: 6px solid var(--red); padding: 32px 32px 28px; }
.org__card--orange { border-top-color: var(--orange); }
.org__title { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--red); margin-bottom: 8px; }
.org__card--orange .org__title { color: #c26a05; }
.org-list li {
  position: relative; padding: 12px 0 12px 20px;
  border-bottom: 1px dashed var(--line); line-height: 1.7;
}
.org-list li:last-child { border-bottom: 0; }
.org-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; background: var(--red); }
.org__card--orange .org-list li::before { background: var(--orange); }
.org-list strong { font-weight: 900; margin-left: .3em; white-space: nowrap; }

.thought {
  margin-top: 56px; background: #fff; padding: 44px 48px;
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
  border-left: 6px solid var(--red);
}
.thought__title { font-size: 22px; font-weight: 900; line-height: 1.5; }
.thought__body p + p, .thought__body p + .thought__quote, .thought__quote + p { margin-top: 1em; }
.thought__quote {
  margin: 24px 0 !important; padding: 20px 24px; background: var(--sky-soft);
  border-left: 5px solid var(--orange);
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; color: var(--red); line-height: 1.6;
}

/* =========================================================
   Support (red band)
   ========================================================= */
.support {
  background: var(--red); color: #fff; padding: 88px 0; position: relative; overflow: hidden;
}
.support::after {
  content: ""; position: absolute; right: -80px; top: -40px;
  width: 260px; height: 260px; background: var(--orange); transform: rotate(20deg);
  opacity: .9;
}
.support__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.support__title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.4; margin: 8px 0 16px; }
.support__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Contact
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sns a {
  display: block; padding: 10px 22px; background: #fff; border: 2px solid var(--red);
  color: var(--red); font-weight: 700; font-size: 14px; transition: .2s;
}
.sns a:hover { background: var(--red); color: #fff; }

.form { background: #fff; padding: 40px; border-top: 6px solid var(--orange); box-shadow: 0 12px 32px rgba(30,36,48,.08); }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px;
  font: inherit; border: 2px solid var(--line); background: #fff; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #fff; padding: 56px 0 32px; border-top: 6px solid var(--orange); }
.footer__inner { display: grid; gap: 12px; }
.footer__name { font-size: 22px; font-weight: 900; letter-spacing: .1em; }
.footer__name small { font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--orange); margin-left: 8px; }
.footer__addr { font-size: 13px; color: #c9ced8; line-height: 1.9; }
.footer__copy { font-size: 12px; color: #8a92a1; margin-top: 16px; }

/* =========================================================
   Sub page (story.html)
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 80px;
  background: var(--grad-sky);
}
.page-hero__title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.3; margin: 8px 0 20px;
}
.page-hero__title em { font-style: normal; color: var(--red); background: linear-gradient(transparent 70%, rgba(246,139,31,.7) 70%); }
.page-hero__lead { max-width: 36em; font-weight: 500; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: #5d6676; margin-bottom: 32px; }
.breadcrumb a { color: var(--red); font-weight: 700; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #9aa2b0; }

.story { width: min(860px, 100% - 48px); margin-inline: auto; padding: 96px 0 40px; }
.story__chapter { margin-bottom: 80px; }
.story__chapter h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.5;
  padding-left: 20px; margin-bottom: 28px; position: relative;
}
.story__chapter h2::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 8px;
  background: linear-gradient(180deg, var(--red) 0 65%, var(--orange) 65% 100%);
}
.story__chapter p + p { margin-top: 1.6em; }
.story__sub {
  font-size: clamp(18px, 2.4vw, 22px); font-weight: 900; line-height: 1.6; color: var(--red);
  margin: 2.2em 0 .8em; padding-bottom: 8px; border-bottom: 3px solid var(--orange); display: inline-block;
}
.story__sub + p { margin-top: 0 !important; }
.story__chapter .story__quote { margin: 40px 0; }
.story__chapter p + .story__quote, .story__chapter .story__quote + p { margin-top: 40px; }
.story__chapter .photo { aspect-ratio: 16 / 9; margin: 32px 0; }
.story__quote {
  margin: 0 0 80px; padding: 40px 32px; text-align: center;
  background: var(--grad-sky-r); border-top: 6px solid var(--red);
  font-size: clamp(20px, 3vw, 28px); font-weight: 900; line-height: 1.7; color: var(--red);
}
.story__nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; padding: 16px 0 112px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav ul { gap: 18px; }
  .nav a { font-size: 13px; }
  .nav__cta { padding: 10px 16px !important; }
}

@media (max-width: 1024px) {
  .message { grid-template-columns: 340px 1fr; gap: 48px; }
  .profile { grid-template-columns: 280px 1fr; gap: 48px; }
  .likes { grid-template-columns: 1fr; }
}

/* ハンバーガーメニュー */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 10px; cursor: pointer; background: var(--red);
  }
  .nav-btn span { display: block; height: 2px; background: #fff; transition: .25s; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 4px solid var(--red);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav a { font-size: 14px; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: 16px; padding: 14px 24px !important; }
  .nav-toggle:checked ~ .nav { max-height: 560px; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }

  .hero { padding-bottom: 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__scroll { display: none; }

  .message, .profile, .contact { grid-template-columns: 1fr; gap: 48px; }
  .message__photo { position: relative; top: 0; max-width: 400px; margin-left: 20px; }
  .profile__head .photo--square { max-width: 300px; }

  .policy { grid-template-columns: 1fr; }
  .org { grid-template-columns: 1fr; }
  .thought { grid-template-columns: 1fr; gap: 16px; padding: 32px 28px; }
  .support::after { width: 140px; height: 140px; right: -50px; }

  .story { padding: 64px 0 24px; }
  .story__chapter { margin-bottom: 56px; }
  .story__quote { margin-bottom: 56px; padding: 32px 20px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .policy__item { padding: 28px 22px 32px; }
  .area > div { grid-template-columns: 1fr; gap: 0; }
  .timeline > li { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; }
  .programs { padding: 4px 18px; }
  .likes__card { padding: 28px 22px; }
  .org__card { padding: 26px 22px 22px; }
  .thought { padding: 28px 22px; }
  .message__closing { padding: 18px 20px; }
  .form { padding: 28px 20px; }
  .btn { padding: 14px 28px; }
  .hero__btns .btn, .support__btns .btn, .story__nav .btn { width: 100%; text-align: center; }
  .logo__text { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ヘッダーの幅（右の飾りは外した） */
.header__inner { width: min(1360px, 100% - 40px); }


.logo__img { width: 50px; height: 45px; object-fit: cover; display: block; }

/* TOPリンク：細い黒枠 */
.nav .nav__top {
  border: 1px solid var(--ink);
  padding: 6px 18px;
  font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .15em; line-height: 1.4;
  transition: background .2s, color .2s;
}
.nav .nav__top::after { display: none; }
.nav .nav__top:hover { background: var(--ink); color: #fff; }
@media (max-width: 960px) {
  .nav li a.nav__top { display: block; text-align: center; margin-top: 16px; padding: 12px 18px; border: 1px solid var(--ink); }
}

/* メッセージ末尾：左に写真、右に署名 */
.message__foot { margin-top: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.message__figure { width: min(100%, 220px); flex: 0 0 auto; margin: 0; }
.message__foot .message__sign { margin-top: 0 !important; margin-left: auto; text-align: right; }
@media (max-width: 560px) {
  .message__foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .message__figure { width: min(100%, 260px); }
  .message__foot .message__sign { margin-left: 0; }
}

/* 団体名のリンク */
.org-list a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.org-list a::after {
  content: "↗"; font-size: .75em; margin-left: .25em; color: var(--red);
}
.org-list a:hover { color: var(--red); border-bottom-color: transparent; }
.org__card--orange .org-list a { border-bottom-color: var(--orange); }
.org__card--orange .org-list a::after { color: var(--orange); }

/* 右の列に枠を2つ重ねる */
.org__side { display: grid; gap: 28px; }

/* 写真を2枚横に並べる */
.timeline__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; max-width: 560px; }
.timeline__photos .timeline__photo { width: 100%; margin: 0; }
.timeline__photos + p { margin-top: 18px; }
.timeline__photos:not(:has(figure)) { display: none; }
.timeline__photos .photo img + span { padding: 8px 10px; font-size: 12px; }

/* 在住の下の写真 */
.profile__figure { margin: 24px 0 0; width: min(100%, 240px); }
.profile__figure .photo { aspect-ratio: 1 / 1; }

/* 小さめのボタン */
.btn--small { padding: 10px 20px; font-size: 13px; }
.timeline__link { margin-top: 16px; }

/* 過去のホームページへのリンク（外部サイトを示す矢印） */
.nav__ext { font-size: .8em; color: var(--red); }
.nav .nav__old { color: #E04967; }

/* 学校の下の補足（1段下げて、少し小さく・薄く） */
.school-note {
  display: block;
  margin: 2px 0 6px;
  padding-left: 0.6em;
  font-size: 15px; line-height: 1.8; color: #575B66;
}
/* =========================================================
   ヘッダーのリンク：画面が狭くなるほど、少しずつ詰める
   ========================================================= */
@media (max-width: 1280px) { .nav ul { gap: 24px; } }
@media (max-width: 1180px) {
  .nav ul { gap: 20px; }
  .nav a { font-size: 13.5px; }
}
@media (max-width: 1040px) {
  .nav ul { gap: 14px; }
  .nav a { font-size: 12.5px; }
  .nav .nav__top { padding: 5px 12px; letter-spacing: .1em; }
  .nav__cta { padding: 8px 14px !important; }
}
@media (max-width: 990px) {
  .nav ul { gap: 11px; }
  .nav a { font-size: 12px; }
  .nav .nav__top { padding: 4px 10px; }
  .nav__cta { padding: 7px 11px !important; }
  .logo__text { font-size: 22px; }
}

/* =========================================================
   後援会入会ページ（join.html）
   ========================================================= */
.sp-br { display: none; }
.page-hero .eyebrow { margin-top: 8px; }

/* 申込方法3カード */
.methods { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.method { position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--red); padding: 36px 28px 28px; display: flex; flex-direction: column; }
.method--orange { border-top-color: var(--orange); }
.method__no { position: absolute; top: -22px; left: 20px; width: 40px; height: 40px; background: var(--red); color: #fff; font: 700 20px/40px "Oswald", sans-serif; text-align: center; }
.method--orange .method__no { background: var(--orange); }
.method__title { font-size: 18px; font-weight: 900; margin: 0 0 12px; }
.method p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.85; }
.method__action { margin-top: auto !important; padding-top: 8px; }
.method__big { margin-top: auto !important; font-size: 18px !important; font-weight: 700; word-break: break-all; }
.method__big a { color: var(--red); text-decoration: none; border-bottom: 2px solid var(--orange); }

/* ステップ */
.join { max-width: 820px; }
.steps { list-style: none; display: flex; padding: 0; margin: 32px 0 28px; border: 1px solid var(--line); background: #fff; }
.steps__item { flex: 1; text-align: center; padding: 12px 6px; font-size: 14px; font-weight: 700; color: var(--gray); border-right: 1px solid var(--line); }
.steps__item:last-child { border-right: 0; }
.steps__item span { display: inline-block; width: 22px; height: 22px; line-height: 22px; margin-right: 8px; background: var(--line); color: #fff; font: 700 13px/22px "Oswald", sans-serif; }
.steps__item.is-current { color: var(--red); background: #fff6f6; }
.steps__item.is-current span { background: var(--red); }
.steps__item.is-done span { background: var(--orange); }

/* フォーム */
.join-form, .panel { background: #fff; padding: 36px 40px; border: 1px solid var(--line); }
.form-block { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.form-block__title { font-size: 17px; font-weight: 900; padding: 0 0 8px 14px; margin-bottom: 20px; border-left: 5px solid var(--red); width: 100%; }
.form-block__title--sub { font-size: 15px; border-left-color: var(--orange); }
.field { margin-bottom: 22px; }
.field--short input { max-width: 260px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #b9bfca; background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid rgba(246,139,31,.45); border-color: var(--orange); }
.field input::placeholder { color: #a7adb8; }
.hint { margin: 6px 0 0; font-size: 12.5px; color: var(--gray); }
.msg { margin: 6px 0 0; font-size: 13.5px; font-weight: 500; min-height: 0; }
.msg:empty { display: none; }
.msg--error { color: #c0121b; }
.msg--warn { color: #a85a00; }
.msg__fix { font: inherit; font-weight: 700; margin-left: 4px; padding: 3px 10px; border: 1px solid #a85a00; background: #fff; color: #a85a00; cursor: pointer; }
.field.is-error input { border-color: #c0121b; background: #fff6f6; }
.field.is-ok input { border-color: #2f9e5b; }
.field.is-warn input { border-color: var(--orange); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; color: #fff; }
.badge--req { background: var(--red); }
.badge--opt { background: #8a92a1; }

.error-summary { border: 2px solid #c0121b; background: #fff6f6; padding: 16px 20px; margin-bottom: 28px; }
.error-summary__title { margin: 0 0 8px; font-weight: 900; color: #c0121b; }
.error-summary ul { margin: 0; padding-left: 20px; font-size: 14px; }
.error-summary a { color: #c0121b; }

/* ご紹介 */
.intro { border: 1px solid var(--line); margin: 32px 0; background: #fffaf3; }
.intro summary { cursor: pointer; padding: 18px 20px; list-style: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.intro summary::-webkit-details-marker { display: none; }
.intro summary::before { content: "＋"; font-weight: 900; color: var(--orange); margin-right: 4px; }
.intro[open] summary::before { content: "－"; }
.intro__title { font-weight: 900; font-size: 16px; }
.intro__note { margin: 0; padding: 0 20px 16px; font-size: 13px; color: var(--gray); }
.form-block--guest { padding: 20px 20px 4px; margin: 0 20px 20px; background: #fff; border: 1px solid var(--line); }
.form-block--guest.is-error { border-color: #c0121b; }
.msg--group { margin: -8px 0 16px; }
.intro > .check { padding: 0 20px 20px; }

.check { margin: 20px 0; }
.check__label { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; padding: 12px 14px; border: 1.5px solid #b9bfca; background: #fff; }
.check__label input { width: 22px; height: 22px; accent-color: var(--red); flex: none; }
.check.is-error .check__label { border-color: #c0121b; background: #fff6f6; }

.privacy { background: #f4f6f9; padding: 16px 20px; margin-top: 28px; font-size: 13.5px; }
.privacy__title { margin: 0 0 6px; font-size: 14px; font-weight: 900; }
.privacy p { margin: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-row { text-align: center; margin: 28px 0 0; }
.btn-row--split { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn--wide { min-width: min(100%, 360px); font-size: 17px; padding: 16px 32px; }
button.btn { font-family: inherit; cursor: pointer; border-width: 2px; border-style: solid; }
button.btn:disabled { opacity: .6; cursor: wait; }
.form-note { text-align: center; font-size: 12.5px; color: var(--gray); margin: 10px 0 0; }

/* 確認・完了 */
.panel__title { font-size: 22px; font-weight: 900; margin: 0 0 8px; outline: 0; }
.panel__lead { margin: 0 0 20px; }
.confirm__head { margin: 24px 0 8px; padding-left: 12px; border-left: 5px solid var(--red); font-size: 16px; }
.confirm { display: grid; grid-template-columns: 9em 1fr; margin: 0; border-top: 1px solid var(--line); }
.confirm dt, .confirm dd { margin: 0; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.confirm dt { font-weight: 700; color: var(--gray); font-size: 14px; }
.confirm dd { word-break: break-all; }
.send-error { margin: 20px 0 0; padding: 12px 16px; border: 2px solid #c0121b; background: #fff6f6; color: #c0121b; font-weight: 500; }
.panel--done { text-align: center; outline: 0; }
.copybox { width: 100%; font: inherit; font-size: 13.5px; padding: 12px; border: 1.5px solid #b9bfca; margin-top: 8px; text-align: left; }

@media (max-width: 860px) {
  .methods { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .sp-br { display: inline; }
  .join-form, .panel { padding: 24px 18px; }
  .form-block--guest { margin: 0 12px 16px; padding: 16px 14px 2px; }
  .field--short input { max-width: none; }
  .confirm { grid-template-columns: 1fr; }
  .confirm dt { border-bottom: 0; padding-bottom: 0; }
  .steps__item { font-size: 12.5px; }
  .steps__item span { margin-right: 4px; }
}

/* 入会ページ：補足文字の色（--gray は背景用の薄い色のため） */
.hint, .intro__note, .form-note, .confirm dt { color: #5b6270; }
.steps__item { color: #6b7280; }

/* 入会ページ：リード文を幅いっぱいに（狭い画面では自然に折り返し） */
.page-hero__lead--wide { max-width: none; }

/* 入会ページ：リード文と「入会お申込み方法」の間を詰める */
#how { padding-top: 32px; }
@media (max-width: 960px) { #how { padding-top: 24px; } }

/* 志したきっかけ：リード文と本文の間を詰める */
.story { padding-top: 40px; }
@media (max-width: 960px) { .story { padding-top: 32px; } }
