/* DOUSHI FOOTBALL  common style（2026-10-14 デザイン全面改修：黒＋白ベース＋グレー＋深いグリーン） */

:root {
  --black: #000;
  --white: #fff;
  --bg-gray: #0d0f0e;
  --panel: #141716;
  --panel-2: #1a1d1c;
  --line: #2a2e2c;
  --line-2: #3a3f3d;
  --text-2: #d2d5d3;
  --muted: #8f9592;
  --green: #1f5a45;
  --green-deep: #0b1d17;
  --green-line: #2f8a68;
  --green-text: #5fc29b;
  --overlay: rgba(0, 0, 0, .88);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "Yu Gothic", "游ゴシック", Meiryo, sans-serif;
  --container: 1120px;
  --header-h: 80px;
  --radius: 10px;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: #fff; color: #000; padding: 8px 16px; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: calc(var(--container) + 64px); margin: 0 auto; padding: 0 32px; }
body.is-locked { overflow: hidden; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; height: var(--header-h); background: var(--black); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; }
.site-header__logo { display: block; width: 170px; flex-shrink: 0; }
.site-header__logo img { width: 100%; }
.site-header--overlay { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transition: background .35s, height .35s, box-shadow .35s; }
.site-header--overlay.is-scrolled { height: 64px; background: rgba(0, 0, 0, .92); box-shadow: 0 1px 0 var(--line); }
.menu-open { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
.menu-open span { display: block; height: 2px; width: 28px; background: var(--white); border-radius: 2px; }
.page-legal .menu-open { display: none; }

/* ---------- Drawer menu ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #070807; border-left: 1px solid var(--line); padding: 36px 36px 40px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__logo { width: 180px; }
.drawer__nav { margin-top: 28px; border-top: 1px solid var(--line); }
.drawer__nav--sections { margin-top: 36px; }
.drawer__nav li { border-bottom: 1px solid var(--line); }
.drawer__nav a { display: block; padding: 14px 2px; font-size: 16px; font-weight: 500; text-decoration: none; }
.drawer__nav a:hover { color: var(--green-text); }
.drawer__copy { margin-top: auto; padding-top: 32px; text-align: center; font-size: 12px; color: var(--muted); }

.close-btn { position: absolute; width: 40px; height: 40px; color: var(--white); }
.close-btn::before, .close-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer .close-btn { top: 24px; right: 24px; }

/* ---------- Hero（ファーストビュー） ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; background: #111; overflow: hidden; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero__slides img.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .55) 75%, rgba(0, 0, 0, .9) 100%); }
.hero__logo { position: absolute; left: 50%; top: 50%; width: 52%; max-width: 760px; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .45)); }
.js .hero__logo.anim-blur { transform: translate(-50%, -50%); }
.hero__dots { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.hero__dots span.is-active { background: var(--white); }
.hero__scroll { position: absolute; right: 40px; bottom: 0; width: 1px; height: 80px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: scroll-line 2.4s ease-in-out infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* ---------- Section frame ---------- */
.sec { padding: 120px 0; }
.sec--gray { background: var(--bg-gray); }
/* 背景の使い分け（黒が基調）：黒（標準）・インク（ほぼ黒）・チャコール。部品の色は変数で切り替わる */
.sec--ink { background: #0a0b0b; }
.sec--charcoal { background: #131514; --panel: #1b1e1d; --panel-2: #222524; --line: #2c302e; --line-2: #3e4340; }
.sec--ink, .sec--charcoal, .sec--partner { border-top: 1px solid #1a1d1c; }
.sec-title { position: relative; padding-top: 22px; font-size: 40px; font-weight: 700; line-height: 1.35; letter-spacing: .04em; }
.sec-title::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--green-line); }
.sec-title--center { text-align: center; }
.sec-title { word-break: auto-phrase; }
#intro-title { font-size: 34px; }
.sec-title--center::before { left: 50%; margin-left: -20px; }
.sec-sub { display: flex; align-items: center; gap: 12px; margin: 56px 0 24px; font-size: 20px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; }
.sec-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-sub--center { justify-content: center; }
.sec-sub--center::after { display: none; }
.sec-title + .sec-sub { margin-top: 44px; }

/* 日本語を文節単位で改行（文章は変えずに読みやすい位置で折り返す） */
.philosophy, .intro__text, .meiji__catch, .meiji__desc, .meiji__text, .meiji__closing, .activity__text, .award, .stat__label, .stat__desc, .detail__body, .detail__title, .news-card__title, .media-list li, .result__name { word-break: auto-phrase; }

/* ---------- About ---------- */
/* 写真を使わず、見出しの下に本文を読みやすい幅（約40字）で配置 */
.about { display: block; }
.about__body { max-width: 800px; }
.about__body .intro__text { padding-top: 36px; max-width: 760px; font-size: 18px; line-height: 2.15; letter-spacing: .02em; color: var(--text-2); }
.intro__text { padding-top: 36px; font-size: 18px; font-weight: 400; line-height: 2.1; color: var(--text-2); }
.intro__text p + p { margin-top: 1.2em; }

/* ---------- Philosophy ---------- */
/* 理念：写真を使わず、単色の背景と文字組みで見せる */
.sec--philosophy { position: relative; background: #0d100f; border-top: 1px solid #1d2220; border-bottom: 1px solid #1d2220; }
.sec--philosophy .container { padding-top: 24px; padding-bottom: 24px; }
.philosophy { max-width: 840px; margin: 48px auto 0; text-align: center; font-size: 27px; font-weight: 500; line-height: 2.05; letter-spacing: .05em; color: var(--white); }

/* ---------- Achievements ---------- */
.ach-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ach-group { padding: 32px 32px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.ach-group__title { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; font-size: 18px; font-weight: 700; letter-spacing: .04em; border-bottom: 1px solid var(--line-2); }
.ach-group__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-line); }
.result { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.result__year { font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.result__year small { margin-left: 2px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.result__body { display: flex; flex-direction: column; gap: 6px; }
.result__type { align-self: flex-start; padding: 2px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.result__name { font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.media-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.media-list li { position: relative; padding: 26px 28px 26px 52px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-size: 17px; font-weight: 500; }
.media-list li::before { content: ""; position: absolute; left: 28px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--green-line); }

/* ---------- Activities ---------- */
.activities { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.activity { display: flex; flex-direction: column; padding: 34px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.activity__title { position: relative; padding-left: 16px; font-size: 22px; font-weight: 700; letter-spacing: .04em; line-height: 1.45; }
.activity__title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; background: var(--green-line); border-radius: 2px; }
.activity__text { flex: 1; margin-top: 18px; }
.activity__text p { font-size: 16px; line-height: 2; color: var(--text-2); }
.activity__text p + p { margin-top: .7em; }
.activity__photo { margin-top: 26px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #0a0a0a; }
.activity__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Annual schedule ---------- */
.plan-cycle { margin-top: 14px; font-size: 15px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.plan-matrix { margin-top: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 20px; }
.plan-matrix table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.plan-matrix th, .plan-matrix td { padding: 0; }
.plan-matrix thead th { padding: 16px 0 14px; font-size: 15px; font-weight: 700; text-align: center; border-bottom: 1px solid var(--line-2); }
.plan-matrix thead th small { font-size: 11px; font-weight: 500; color: var(--muted); }
.plan-matrix thead th:first-child { width: 210px; }
.plan-matrix tbody th { padding: 0 12px 0 0; font-size: 14px; font-weight: 500; text-align: left; white-space: nowrap; color: var(--text-2); }
.plan-matrix tbody tr + tr th, .plan-matrix tbody tr + tr td { border-top: 1px solid var(--line); }
.plan-matrix td { height: 52px; position: relative; border-left: 1px dashed #232625; }
.plan-matrix td.on::after { content: ""; position: absolute; left: -1px; right: 0; top: 50%; height: 16px; margin-top: -8px; background: var(--green-line); }
.plan-matrix td.on.start::after { left: 6px; border-radius: 7px 0 0 7px; }
.plan-matrix td.on.end::after { right: 6px; border-radius: 0 7px 7px 0; }
.plan-matrix tr.is-key td.on::after { background: var(--white); }
.year-plan { display: none; }
.plan-notes { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 16px; }
.plan-notes div { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.plan-notes dt { font-weight: 500; }
.plan-notes dt::before { content: "備考"; margin-right: 12px; padding: 2px 10px; border-radius: 999px; background: var(--green); font-size: 12px; font-weight: 500; }
.plan-notes dd { color: var(--text-2); }

/* ---------- Partner（明治安田との連携） ---------- */
.sec--partner { position: relative; background: radial-gradient(90% 60% at 85% 0%, rgba(31, 90, 69, .22) 0%, rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, #000 0%, #06100c 100%); }
.partner-intro { margin-top: 48px; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.partner-intro .sec-sub { margin-top: 0; }
.meiji__text p { font-size: 17px; line-height: 2; color: var(--text-2); }
.meiji__text p + p { margin-top: .8em; }
.meiji__logos { --panel: #111312; --line: #111312; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; padding: 44px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.meiji__logo--doushi { width: 150px; }
.meiji__logo--my { width: 170px; }
.meiji__x { font-size: 26px; font-weight: 300; color: var(--muted); }
.meiji__concept { --text-2: #d2d5d3; --green-text: #5fc29b; color: #fff; margin-top: 64px; padding: 56px 64px 60px; text-align: center; background: radial-gradient(120% 160% at 50% 0%, #163b2e 0%, var(--green-deep) 60%); border: 1px solid #1d3b30; border-radius: var(--radius); }
.meiji__concept .sec-sub { margin: 0 0 18px; font-size: 15px; color: var(--green-text); letter-spacing: .14em; }
.meiji__catch { font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.meiji__desc { max-width: 820px; margin: 24px auto 0; font-size: 16px; line-height: 2; color: var(--text-2); }
.partner-cols { margin-top: 16px; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.awards { display: grid; gap: 16px; }
.award { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; font-weight: 500; line-height: 1.75; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px 26px 24px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--green-line); border-radius: var(--radius); }
.stat__label { font-size: 14px; font-weight: 500; line-height: 1.65; color: var(--text-2); min-height: 4.95em; }
.stat__value { margin-top: 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; line-height: 1; color: var(--green-text); }
.stat__pre { font-size: 18px; font-weight: 700; margin-right: 4px; }
.stat__num { font-size: 52px; font-weight: 700; letter-spacing: .01em; }
.stat__unit { font-size: 20px; font-weight: 700; }
.stat__ref { font-size: 12px; font-weight: 400; color: var(--muted); align-self: flex-start; }
.stat__desc { margin-top: 14px; font-size: 15px; line-height: 1.75; }
.stat-notes { margin-top: 14px; font-size: 13px; font-weight: 300; line-height: 1.9; color: var(--muted); }
.meiji__closing-box { margin-top: 64px; padding: 36px 40px 40px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--green-line); border-radius: var(--radius); }
.meiji__closing-box .sec-sub { margin-top: 0; }
.meiji__closing { font-size: 17px; line-height: 2; color: var(--text-2); }

/* ---------- News ---------- */
.news__head { display: inline-flex; align-items: flex-end; gap: 16px; text-decoration: none; }
.news__head .chevron { width: 11px; height: 20px; margin-bottom: 8px; color: var(--green-text); transition: transform .2s; }
.news__head:hover .chevron { transform: translateX(4px); }
.news-list { margin-top: 40px; border-top: 1px solid var(--line-2); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-card { display: grid; grid-template-columns: 200px 1fr 20px; align-items: center; gap: 24px; width: 100%; text-align: left; padding: 24px 8px; transition: background .2s; }
.news-card::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); justify-self: center; transition: border-color .2s; }
.news-card:hover { background: var(--panel); }
.news-card:hover::after { border-color: var(--green-text); }
.news-card__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.tag { display: inline-block; padding: 1px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--text-2); line-height: 1.6; }
.news-card__title { font-size: 16px; font-weight: 500; line-height: 1.6; }

/* ---------- Overview & map ---------- */
.overview-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
.overview { padding: 44px 40px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.overview__text { margin-top: 32px; font-size: 16px; line-height: 2.2; color: var(--text-2); }
.map { min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.35); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.contact__form { padding: 44px 44px 40px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.field { display: block; width: 100%; height: 46px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: #000; font: inherit; font-size: 16px; }
.field:focus { outline: 2px solid var(--green-text); outline-offset: 1px; }
.field--short { max-width: 360px; }
textarea.field { height: 160px; resize: vertical; }
.field[aria-invalid="true"] { outline: 2px solid #e5484d; }
.field-error { font-size: 13px; color: #ff8a8a; margin-top: 6px; }
.tel-field { position: relative; display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.tel-field .field { flex: 1; border: 0; border-radius: 0; }
.tel-field__country { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 14px; color: #000; font-size: 13px; border-right: 1px solid #e3e3e3; }
.tel-field__flag { width: 18px; height: 12px; }
.tel-field__chev { width: 11px; height: 8px; }
.tel-field__country.is-other .tel-field__flag { display: none; }
.tel-field__country select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.submit { display: block; width: 240px; height: 52px; margin-top: 28px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: .12em; transition: background .2s; }
.submit:hover { background: var(--green-line); }
.submit:disabled { opacity: .5; }
.form-status { margin-top: 16px; font-size: 14px; line-height: 1.7; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 28px; background: #050605; border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__logo { width: 150px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 13px; }
.site-footer__links a { text-decoration: none; color: var(--text-2); }
.site-footer__links a:hover { color: var(--white); }
.site-footer__copy { margin-top: 40px; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- Modal（お知らせ詳細・一覧） ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; overflow-y: auto; background: var(--overlay); }
.modal.is-open { display: block; animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal__inner { position: relative; max-width: 900px; margin: 0 auto; padding: 120px 32px 80px; min-height: 100%; }
.modal .close-btn { top: 64px; right: 24px; }
.detail__meta { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); }
.detail__meta .tag { color: var(--white); border-color: var(--green-line); background: var(--green); }
.detail__title { margin-top: 18px; font-size: 32px; font-weight: 700; line-height: 1.5; }
.detail__body { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 2; color: var(--text-2); }
.detail__body p + p { margin-top: 1.4em; }
.detail__logo { width: 180px; margin: 64px 0 0 auto; opacity: .9; }
.modal--list { background: rgba(0, 0, 0, .96); }
.modal--list .news-list { margin-top: 24px; }
.modal--list .news-card { grid-template-columns: 180px 1fr 20px; padding: 22px 8px; }
.pager { display: flex; justify-content: space-between; margin-top: 28px; min-height: 40px; }
.pager button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.pager button[hidden] { visibility: hidden; display: grid; }
.pager svg { width: 12px; height: 16px; }

/* ---------- Legal / sub pages（利用規約など：白背景） ---------- */
.page-legal { background: var(--white); color: #111; }
.legal { position: relative; max-width: 1100px; margin: 0 auto; padding: 64px 48px 96px; }
.legal__close { top: 24px; right: 16px; color: #000; }
.legal h1 { text-align: center; font-size: 30px; font-weight: 700; letter-spacing: .06em; }
.legal__body { margin-top: 56px; font-size: 16px; line-height: 2; letter-spacing: .04em; }
.legal__body h2 { margin-top: 4px; font-size: 17px; font-weight: 700; }
.legal__body hr { width: 42px; margin: 18px 0 14px; border: 0; border-top: 2px solid var(--green-line); }
.legal--overview h1, .legal--overview .legal__body { letter-spacing: normal; }
.legal--overview .legal__body hr { margin: 18px 0 20px; }

/* ---------- Animations ---------- */
.js .anim-fade { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .anim-float { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .anim-blur { opacity: 0; filter: blur(14px); transition: opacity 1.2s ease, filter 1.2s ease; }
.js .is-visible { opacity: 1; transform: none; filter: none; }
.js .hero__logo.is-visible { transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) {
  .js .anim-fade, .js .anim-float, .js .anim-blur { opacity: 1; transform: none; filter: none; transition: none; }
  .js .hero__logo.anim-blur { transform: translate(-50%, -50%); }
  .hero__slides img { transition: none; }
  .hero__scroll::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-header { padding: 0 20px; }
  .partner-intro, .partner-cols, .overview-grid, .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__body { grid-template-columns: 1fr; }
  .about__body .intro__text { padding-top: 28px; }
  .intro__text { padding-top: 0; }
  .plan-matrix thead th:first-child { width: 170px; }
}
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  html { scroll-padding-top: 60px; }
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .site-header { padding: 0 14px 0 16px; }
  .site-header__logo { width: 120px; }
  .site-header--overlay.is-scrolled { height: 56px; }
  .hero { height: 78svh; min-height: 460px; }
  .hero__logo { width: 76%; }
  .hero__dots { bottom: 28px; }
  .hero__dots span { width: 18px; }
  .hero__scroll { display: none; }
  .sec { padding: 72px 0; }
  .sec-title { font-size: 26px; padding-top: 18px; }
  #intro-title { font-size: min(22px, 6vw); padding-top: 18px; }
  .sec-title::before { width: 32px; }
  .sec-sub { margin: 40px 0 16px; font-size: 17px; }
  .sec-title + .sec-sub { margin-top: 32px; }
  .intro__text, .about__body .intro__text { font-size: 15px; line-height: 2.05; padding-top: 22px; }
  .philosophy { margin-top: 28px; font-size: 18px; line-height: 2; text-align: left; }
  .ach-groups { grid-template-columns: 1fr; gap: 16px; }
  .ach-group { padding: 22px 20px 8px; }
  .ach-group__title { font-size: 16px; padding-bottom: 14px; }
  .result { grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 0; }
  .result__year { font-size: 23px; }
  .result__year small { font-size: 12px; }
  .result__name { font-size: 15px; }
  .media-list { grid-template-columns: 1fr; gap: 12px; }
  .media-list li { padding: 18px 18px 18px 42px; font-size: 15px; }
  .media-list li::before { left: 20px; }
  .activities { margin-top: 32px; grid-template-columns: 1fr; gap: 16px; }
  .activity { padding: 24px 20px; }
  .activity__title { font-size: 18px; }
  .activity__text { margin-top: 14px; }
  .activity__text p { font-size: 15px; line-height: 1.95; }
  .activity__photo { margin-top: 18px; }
  .plan-cycle { font-size: 13px; }
  .plan-matrix { display: none; }
  .year-plan { display: grid; margin-top: 24px; gap: 8px; }
  .plan-month { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
  .plan-month__name { font-weight: 700; line-height: 1; }
  .plan-month__name b { font-size: 24px; }
  .plan-month__name span { font-size: 12px; margin-left: 1px; }
  .plan-month ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
  .plan-month li { padding: 3px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 13px; line-height: 1.5; }
  .plan-month li.is-key { background: var(--green); border-color: var(--green-line); font-weight: 700; }
  .plan-notes { flex-direction: column; gap: 8px; }
  .plan-notes div { border-radius: 8px; padding: 12px 16px; font-size: 13px; flex-wrap: wrap; gap: 6px 10px; }
  .partner-intro { margin-top: 32px; }
  .meiji__text p, .meiji__closing { font-size: 15px; }
  .meiji__logos { padding: 28px 16px; gap: 12px 16px; }
  .meiji__logo--doushi { width: 120px; }
  .meiji__logo--my { width: 140px; }
  .meiji__x { font-size: 20px; }
  .meiji__concept { margin-top: 40px; padding: 36px 22px 40px; }
  .meiji__catch { font-size: 22px; }
  .meiji__desc { font-size: 15px; text-align: left; }
  .award { padding: 18px; font-size: 15px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 20px 20px 18px; }
  .stat__label { min-height: 0; font-size: 13px; }
  .stat__num { font-size: 44px; }
  .meiji__closing-box { margin-top: 40px; padding: 24px 20px 26px; }
  .news-list { margin-top: 28px; }
  .news-card, .modal--list .news-card { grid-template-columns: 1fr 16px; gap: 8px 12px; padding: 18px 4px; }
  .news-card__meta { grid-column: 1; font-size: 13px; }
  .news-card__title { grid-column: 1; font-size: 15px; }
  .news-card::after { grid-column: 2; grid-row: 1 / span 2; }
  .overview { padding: 28px 22px; }
  .overview__text { margin-top: 20px; font-size: 14px; overflow-wrap: anywhere; }
  .map, .map iframe { min-height: 260px; }
  .contact__form { padding: 26px 20px 28px; }
  .field--short { max-width: none; }
  .submit { width: 100%; }
  .site-footer { padding-top: 40px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__links { gap: 10px 22px; }
  .drawer__panel { padding: 28px 24px 32px; }
  .drawer .close-btn { top: 16px; right: 14px; }
  .modal__inner { padding: 84px 20px 60px; }
  .modal .close-btn { top: 22px; right: 12px; }
  .detail__title { font-size: 22px; }
  .detail__body { margin-top: 24px; padding-top: 24px; font-size: 15px; }
  .detail__logo { width: 130px; margin-top: 44px; }
  .legal { padding: 40px 20px 64px; }
  .legal__close { top: 10px; right: 8px; }
  .legal h1 { font-size: 21px; padding: 0 36px; }
  .legal__body { margin-top: 36px; font-size: 14px; letter-spacing: .02em; }
  .legal__body h2 { font-size: 15px; }
}

/* ==========================================================================
   2026-10-15 修正：メインカラー＝黒・白／サブカラー＝明治安田ロゴの緑・黄（連携セクション内のみ）
   ========================================================================== */
:root { --accent: #ffffff; }

/* 強調色を白・グレーに統一（緑は明治安田との連携セクション内だけで使用） */
.sec-title::before, .activity__title::before { background: var(--white); }
.ach-group__title::before, .media-list li::before { background: #9aa09d; }
.news__head .chevron { color: var(--white); }
.drawer__nav a:hover { color: #b8bdba; }
:focus-visible { outline-color: var(--white); }
.plan-matrix td.on::after { background: #8c938f; }
.plan-matrix tr.is-key td.on::after { background: var(--white); }
.plan-notes dt::before { background: #3a3f3d; }
.detail__meta .tag { background: transparent; border-color: #8c938f; }
.submit { background: var(--white); color: var(--black); }
.submit:hover { background: #d9dcda; }
.field:focus { outline-color: #8c938f; }
.page-legal .legal__body hr { border-top-color: #111; }

/* ヘッダー：DOUSHI ロゴ／明治安田ロゴ／ハンバーガー（PC・スマホ共通） */
.menu-open { display: flex; }
.site-header__right { display: flex; align-items: center; gap: 22px; }
.site-header__partner { height: 30px; width: auto; border-radius: 2px; }

/* ハンバーガーメニュー：PC でも使うため項目を押しやすく */
.drawer__nav a { padding: 15px 4px; font-size: 16px; }
.menu-open[aria-expanded="true"] span { background: #8c938f; }

/* フッター：リンク群の近くに明治安田ロゴ */
.site-footer__nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-footer__partner { height: 26px; width: auto; border-radius: 2px; }

/* 余白の最適化（見出し・本文の区別とセクションの切り替わりは維持） */
.sec { padding: 96px 0; }
.sec-title + .sec-sub { margin-top: 34px; }
.sec-sub { margin: 44px 0 20px; }
.about__body .intro__text { padding-top: 28px; }
.philosophy { margin-top: 36px; }
.ach-group { padding: 28px 28px 14px; }
.result { padding: 18px 0; }
.activities { margin-top: 36px; gap: 24px; }
.activity { padding: 28px; }
.activity__text { margin-top: 14px; }
.activity__photo { margin-top: 20px; aspect-ratio: 3 / 2; }
.plan-matrix { margin-top: 28px; }
.partner-intro { margin-top: 36px; gap: 40px; }
.news-list { margin-top: 32px; }
.overview { padding: 36px 36px; }
.overview__text { margin-top: 24px; }
.overview__list { margin-top: 24px; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; font-size: 15px; line-height: 1.7; }
.overview__list div { display: contents; }
.overview__list dt { font-weight: 700; color: var(--white); }
.overview__list dd { color: var(--text-2); overflow-wrap: anywhere; word-break: auto-phrase; }
.overview-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.overview__list a { color: inherit; text-decoration: underline; text-decoration-color: var(--my-green); text-underline-offset: 3px; }
.contact__form { padding: 36px 36px 32px; }

/* 明治安田との連携：公式ロゴ（白地カード・横並び）と、ロゴの緑・黄をアクセントに */
.sec--partner .sec-title::before { background: var(--my-green); }
.sec--partner .sec-sub::after { background: linear-gradient(90deg, var(--my-green) 0, var(--my-green) 40px, var(--line) 40px); }
.meiji__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 0; background: none; border: 0; list-style: none; }
.meiji__logos li { display: flex; align-items: center; justify-content: center; width: 260px; height: 120px; padding: 24px 28px; background: #fff; border-radius: var(--radius); }
.meiji__logos .meiji__logo { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.meiji__concept { --green-text: var(--my-green); margin-top: 48px; padding: 44px 52px 48px; background: #0f1312; border: 1px solid #22302c; border-top: 3px solid var(--my-green); }
.meiji__concept .sec-sub { color: var(--my-green); }
.award { display: block; padding: 20px 22px; border-left: 3px solid var(--my-yellow); }
.stat { border-top-color: var(--my-green); }
.stat__value { color: var(--my-green); }
.meiji__closing-box { margin-top: 48px; padding: 30px 34px 32px; border-left-color: var(--my-green); }

@media (max-width: 767px) {
  .sec { padding: 60px 0; }
  .sec-title + .sec-sub { margin-top: 26px; }
  .sec-sub { margin: 32px 0 14px; }
  .site-header__right { gap: 14px; }
  .site-header__partner { height: 22px; }
  .site-footer__nav { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer__partner { height: 24px; }
  .activity { padding: 22px 18px; }
  .activity__photo { margin-top: 16px; }
  .meiji__logos { gap: 10px; }
  .meiji__logos li { width: calc(50% - 5px); height: 90px; padding: 16px 18px; }
  .meiji__logos li:only-child { width: 100%; max-width: 220px; height: 76px; padding: 14px 18px; }
  .meiji__concept { margin-top: 32px; padding: 30px 20px 32px; }
  .meiji__closing-box { margin-top: 32px; padding: 22px 18px 24px; }
  .overview { padding: 26px 20px; }
  .contact__form { padding: 24px 18px 26px; }
}

/* ==========================================================================
   2026-10-15 修正2：サブカラー（明治安田の社名ロゴから採色：緑 #01A08E／黄 #FABF01）をサイト全体に控えめに使用
   ========================================================================== */
:root { --my-green: #01a08e; --my-yellow: #fabf01; }

/* 見出しの短い棒線：緑（緑と黄を同じ装飾で組み合わせない） */
.sec-title::before { width: 40px; background: var(--my-green); }
.sec-title--center::before { margin-left: -20px; }
.sec-sub::after { background: linear-gradient(90deg, var(--my-green) 0 32px, var(--line) 32px); }
.activity__title::before { background: var(--my-green); }
.ach-group__title::before { background: var(--my-green); }
.media-list li::before { background: var(--my-green); }
.news__head .chevron { color: var(--my-green); }
.result__type { border-color: rgba(1, 160, 142, .55); }
.news-list { border-top-color: var(--my-green); }
.plan-matrix td.on::after { background: var(--my-green); }
.plan-matrix tr.is-key td.on::after { background: var(--white); }
.plan-notes dt::before { background: transparent; border: 1px solid var(--my-green); color: var(--my-green); }
.sec--philosophy { border-top-color: #2a2e2c; border-bottom-color: #2a2e2c; }
.philosophy { border-top: 1px solid var(--my-green); border-bottom: 1px solid var(--my-green); padding: 28px 0; }
.overview { border-top: 3px solid var(--my-green); }
.contact__form { border-top: 3px solid var(--my-green); }
.field:focus { outline-color: var(--my-green); }
.drawer__panel { border-left: 3px solid var(--my-green); }
.drawer__nav a:hover { color: var(--my-green); }
@media (max-width: 767px) { .plan-month li.is-key { background: transparent; border-color: var(--white); color: var(--white); } }

/* 明治安田との連携：公式ロゴ3点（同じ大きさの白地カードに、縦横比を保って収める） */
.meiji__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; padding: 0; }
.meiji__logos .meiji__logo-item { width: auto; height: 150px; padding: 0; background: none; border-radius: 0; display: flex; align-items: center; justify-content: center; }
.meiji__logos .meiji__logo-item .meiji__logo { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.meiji__logos .meiji__logo-item--wide .meiji__logo { max-width: 100%; max-height: 64px; }
.partner-intro { grid-template-columns: 1fr; gap: 36px; }

/* フッター：オフィシャルパートナー（明治安田ロゴ）を中央に */
.site-footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-footer__partner-box { justify-self: center; padding: 0; background: none; border-radius: 0; }
.site-footer .site-footer__partner { height: 34px; width: auto; display: block; }
.site-footer__nav { justify-self: end; }
.site-footer { border-top: 1px solid var(--my-green); }

@media (max-width: 767px) {
  .meiji__logos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .meiji__logos .meiji__logo-item { height: 120px; padding: 0; }
  .meiji__logos .meiji__logo-item--wide { grid-column: 1 / -1; height: 56px; }
  .meiji__logos .meiji__logo-item--wide .meiji__logo { max-width: 70%; max-height: 52px; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .site-footer__nav { justify-self: center; }
  .site-footer__links { justify-content: center; }
  .site-footer__partner-box { padding: 0; }
  .site-footer .site-footer__partner { height: 28px; }
  .philosophy { padding: 20px 0; }
}

/* ==========================================================================
   2026-10-15 修正4：情報の流れ・概要・明治安田ロゴの対応・年間スケジュールの連続性
   ========================================================================== */
/* DOUSHI FOOTBALLについて：紹介文（左）と団体概要（右）を区別して並べる */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.about__body { max-width: none; }
.about__body .intro__text { max-width: 640px; }
.about__facts { padding: 30px 30px 28px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--my-green); border-radius: var(--radius); }
.about__facts-title { font-size: 18px; font-weight: 700; letter-spacing: .08em; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.about__facts .overview__list { margin-top: 0; grid-template-columns: 7em 1fr; gap: 0; font-size: 14px; }
.about__facts .overview__list dt, .about__facts .overview__list dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.about__facts .overview__list dt { color: var(--muted); font-weight: 500; }
.about__facts .overview__list dd { color: var(--white); }
.about__facts .map { margin-top: 20px; min-height: 0; height: 200px; }
.about__facts .map iframe { min-height: 0; height: 100%; }

/* 明治安田との連携：ロゴを各説明のまとまりに配置（白カード・枠は付けない） */
.partner-block { display: grid; gap: 36px; align-items: center; }
.partner-block--contract { margin-top: 36px; grid-template-columns: minmax(0, 1fr) 260px; }
.partner-block--contract .sec-sub { margin-top: 0; }
.partner-block__logo { margin: 0; }
.partner-block__logo img { width: 100%; height: auto; }
.partner-block--project { margin-top: 48px; grid-template-columns: 170px minmax(0, 1fr); text-align: left; }
.partner-block--project .sec-sub { margin: 0 0 14px; justify-content: flex-start; }
.partner-block--project .sec-sub::after { display: block; }
.partner-block--project .meiji__desc { margin: 16px 0 0; max-width: none; }
.partner-block--kenkatsu { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); grid-template-columns: 150px; }

/* 年間スケジュール（PC）：全12か月を通る線の上に、各月の実施を点で示す（単発の行事も切れた棒にしない） */
.plan-matrix td { border-left: 0; }
.plan-matrix td::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #3a403d; }
.plan-matrix tbody tr td:last-child::before { right: 10px; }
.plan-matrix td.on { background: linear-gradient(var(--my-green), var(--my-green)) center / 100% 3px no-repeat; }
.plan-matrix td.on.start { background-position: right center; background-size: 50% 3px; }
.plan-matrix td.on.end { background-position: left center; background-size: 50% 3px; }
.plan-matrix td.on.start.end, .plan-matrix tr.is-key td.on { background: none; }
.plan-matrix td.on::after, .plan-matrix td.on.start::after, .plan-matrix td.on.end::after { content: ""; position: absolute; left: 50%; right: auto; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--my-green); }
.plan-matrix tr.is-key td.on::after { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; background: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }

@media (max-width: 1080px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__body .intro__text { max-width: none; }
}
@media (max-width: 767px) {
  .about__facts { padding: 22px 18px 20px; }
  .about__facts .overview__list { grid-template-columns: 6.5em 1fr; font-size: 13.5px; }
  .partner-block--contract, .partner-block--project { grid-template-columns: 1fr; gap: 20px; }
  .partner-block--contract .partner-block__logo { max-width: 220px; }
  .partner-block--project .partner-block__logo { width: 130px; }
  .partner-block--project { margin-top: 32px; }
  .partner-block--kenkatsu { margin-top: 32px; padding-top: 24px; grid-template-columns: 120px; }
  /* 年間スケジュール（スマホ）：月を縦の線でつなぎ、7月から翌6月まで一続きの流れとして表示 */
  .year-plan { position: relative; padding-left: 22px; }
  .year-plan::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; background: var(--my-green); opacity: .7; }
  .plan-month { position: relative; }
  .plan-month::before { content: ""; position: absolute; left: -21px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--my-green); box-shadow: 0 0 0 3px var(--black); }
  .plan-month:has(li.is-key)::before { background: var(--white); }
}

/* ==========================================================================
   2026-10-15 修正5：スライド8枚（1枚目ロゴ）・概要（お知らせの直下・中央）・プロジェクトロゴ横並び・年間表
   ========================================================================== */
/* スライド：各スライドを重ねてフェード。写真は縦横比を保ってトリミング（cover）、ロゴは黒地に全体表示 */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slides .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 45%; opacity: 1; transition: none; }
.hero__slide--logo { background: #000; }
.hero__slides .hero__slide--logo img { inset: 0; margin: auto; width: 56%; max-width: 820px; height: auto; object-fit: contain; }
.hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .55) 100%); }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }

/* 概要：見出し・情報とも中央を基準に、ラベル｜内容の2列で整列 */
.overview-center { max-width: 720px; margin: 36px auto 0; }
.overview-center .overview__list { margin: 0; grid-template-columns: 9em 1fr; gap: 0; font-size: 15px; border-top: 1px solid var(--line-2); }
.overview-center .overview__list dt, .overview-center .overview__list dd { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.overview-center .overview__list dt { color: var(--muted); font-weight: 500; }
.overview-center .overview__list dd { color: var(--white); }
.overview-center .map { margin-top: 28px; min-height: 0; height: 280px; }
.overview-center .map iframe { min-height: 0; height: 100%; }

/* 2つのプロジェクトロゴ：同じまとまりの中で横並び（白カード・枠は付けない） */
.partner-block--project { grid-template-columns: 310px minmax(0, 1fr); }
.partner-block__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* 年間スケジュール（PC）：列の帯と見出し行で整理し、全12か月を通る線で年間の連続性を表示 */
.plan-matrix { padding: 4px 20px 16px; }
.plan-matrix thead th { padding: 18px 0 14px; color: var(--white); }
.plan-matrix thead th:nth-child(even), .plan-matrix tbody td:nth-child(even) { background-color: rgba(255, 255, 255, .025); }
.plan-matrix tbody th { font-size: 14px; color: var(--white); padding-left: 4px; }
.plan-matrix td { height: 54px; }
.plan-matrix td::before { background: #4a504d; }
.plan-matrix tbody tr td:last-child::before { right: 0; }

@media (max-width: 767px) {
  .hero__slides .hero__slide--logo img { width: 76%; }
  .overview-center { margin-top: 24px; }
  .overview-center .overview__list { grid-template-columns: 6.5em 1fr; font-size: 14px; }
  .overview-center .overview__list dt, .overview-center .overview__list dd { padding: 12px 2px; }
  .overview-center .map { height: 220px; }
  .partner-block--project { grid-template-columns: 1fr; }
  .partner-block__logos { max-width: 300px; gap: 12px; }
  .partner-block--project .partner-block__logo { width: auto; }
}
/* 概要を移動したため「DOUSHI FOOTBALLについて」は1カラムに戻す */
.about { display: block; }
.about__body .intro__text { max-width: 760px; }
@media (max-width: 767px) {
  /* スマホ：横長写真の人物が切れないよう、トップは 4:3 の横長で表示（ヘッダー分を上に確保） */
  .hero { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 3; margin-top: 60px; }
  .hero__slides .hero__slide--logo img { width: 70%; }
  .hero__dots { bottom: 14px; }
}

/* ==========================================================================
   2026-10-15 修正6：概要と地図の横並び／年間スケジュールの体裁
   ========================================================================== */
/* 概要：見出しは中央、PC は 左＝6項目／右＝地図 の横並び（上端と高さを揃える） */
.overview-center { max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.overview-center .overview__list { align-self: center; }
.overview-center .map { margin-top: 0; height: auto; min-height: 340px; }
.overview-center .map iframe { height: 100%; min-height: 340px; }
@media (max-width: 900px) {
  .overview-center { grid-template-columns: 1fr; gap: 24px; max-width: 720px; }
  .overview-center .map, .overview-center .map iframe { min-height: 240px; }
}

/* 年間スケジュール（PC）：月の縦罫を揃えた表。定期の活動＝途切れない帯、単発の行事＝四角い印 */
.plan-matrix { padding: 8px 28px 22px; background: #0e100f; border: 1px solid var(--line); border-radius: var(--radius); }
.plan-matrix thead th { padding: 16px 0 12px; font-size: 15px; font-weight: 700; color: var(--white); text-align: center; border-bottom: 1px solid #4a504d; background: none !important; }
.plan-matrix thead th small { margin-left: 1px; font-size: 11px; font-weight: 500; color: var(--muted); }
.plan-matrix thead th:first-child { width: 200px; }
.plan-matrix tbody th { padding: 0 16px 0 2px; font-size: 14px; font-weight: 500; color: var(--white); border-top: 1px solid var(--line); }
.plan-matrix tbody td { height: 50px; background-color: transparent !important; border-top: 1px solid var(--line); border-left: 1px solid #1d201f; }
.plan-matrix tbody tr:first-child th, .plan-matrix tbody tr:first-child td { border-top: 0; }
.plan-matrix tbody tr.is-key + tr:not(.is-key) th, .plan-matrix tbody tr.is-key + tr:not(.is-key) td { border-top: 1px solid #4a504d; }
.plan-matrix td::before { display: none; }
.plan-matrix td.on, .plan-matrix td.on.start, .plan-matrix td.on.end { background: none !important; }
.plan-matrix td.on::after, .plan-matrix td.on.start::after, .plan-matrix td.on.end::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; width: auto; height: 8px; margin: -4px 0 0; border-radius: 0; background: var(--my-green); box-shadow: none; }
.plan-matrix td.on.start::after { left: 8px; border-radius: 4px 0 0 4px; }
.plan-matrix td.on.end::after { right: 8px; border-radius: 0 4px 4px 0; }
.plan-matrix tr.is-key td.on::after { left: 50%; right: auto; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 2px; background: var(--white); box-shadow: none; }
.plan-notes { margin-top: 18px; gap: 10px 14px; }
.plan-notes div { padding: 10px 16px; border-radius: 6px; background: #0e100f; }

@media (max-width: 767px) {
  /* 年間スケジュール（スマホ）：月（左）と予定（右）の一覧。7月から翌6月まで1本の線でつなぐ */
  .year-plan { padding-left: 0; gap: 0; border-top: 1px solid var(--line); }
  .year-plan::before { left: 27px; top: 0; bottom: 0; width: 1px; background: #3a403d; opacity: 1; }
  .plan-month { grid-template-columns: 56px 1fr; gap: 14px; padding: 14px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .plan-month::before { display: none; }
  .plan-month__name { position: relative; z-index: 1; justify-self: center; padding: 4px 0; background: var(--bg-gray, #0d0f0e); text-align: center; }
  .sec--charcoal .plan-month__name { background: #131514; }
  .plan-month__name b { font-size: 20px; font-weight: 700; }
  .plan-month__name span { font-size: 11px; font-weight: 500; color: var(--muted); }
  .plan-month ul { display: grid; gap: 6px; }
  .plan-month li, .plan-month li.is-key { position: relative; padding: 0 0 0 16px; background: none; border: 0; border-radius: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); font-weight: 700; }
  .plan-month li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 3px; margin: 0; border-radius: 0; background: var(--my-green); }
  .plan-month li.is-key { color: var(--white); font-weight: 700; }
  .plan-month li.is-key::before { top: .45em; width: 8px; height: 8px; border-radius: 1px; background: var(--white); }
  .plan-notes div { padding: 12px 14px; }
}

/* ==========================================================================
   2026-10-15 修正7：「DOUSHI FOOTBALLについて」のレイアウト（#about 内だけに適用）
   「理念」と同じく 見出し中央／本文は中央の 840px 幅・上下に区切り線。1段落目＝導入文、2段落目＝本文
   ========================================================================== */
#about .container { padding-top: 24px; padding-bottom: 24px; }
#about .about__body { max-width: 840px; margin: 0 auto; }
#about .intro__text { max-width: none; margin-top: 36px; padding: 32px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); text-align: center; }
#about .intro__text p { text-wrap: balance; }
#about .intro__text p:first-child { font-size: 21px; font-weight: 500; line-height: 2; letter-spacing: .04em; color: var(--white); }
#about .intro__text p + p { margin-top: 18px; font-size: 17px; line-height: 2.1; color: var(--text-2); }
@media (max-width: 767px) {
  #about .container { padding-top: 0; padding-bottom: 0; }
  #about .intro__text { margin-top: 28px; padding: 22px 0; text-align: left; }
  #about .intro__text p:first-child { font-size: 17px; line-height: 1.95; }
  #about .intro__text p + p { margin-top: 14px; font-size: 15px; line-height: 2; }
}

/* ==========================================================================
   2026-10-15 修正8：指定6項目のみ（各セクション専用のセレクタで指定）
   ========================================================================== */
/* 1) スライド1枚目のロゴ：ロゴを写真に重ねていた時と同じ大きさ（PC=幅52%・最大760px／スマホ=76%）・中央 */
.hero__slides .hero__slide--logo img { width: 52%; max-width: 760px; }
@media (max-width: 767px) { .hero__slides .hero__slide--logo img { width: 76%; max-width: none; } }

/* 2) DOUSHI FOOTBALLについて：行を均等割りにする指定を外し、2段落を同じ大きさで自然に折り返す */
#about .intro__text p { text-wrap: wrap; }
#about .intro__text p:first-child, #about .intro__text p + p { font-size: 18px; line-height: 2.1; letter-spacing: .02em; }
#about .intro__text p + p { margin-top: 10px; }
@media (min-width: 768px) { #about .intro__text p:first-child, #about .intro__text p + p { letter-spacing: 0; } }
@media (max-width: 767px) {
  #about .intro__text p:first-child, #about .intro__text p + p { font-size: 15px; line-height: 2; letter-spacing: .02em; }
}

/* 3) 理念：「人や」の前の改行は PC だけ（スマホは自然な折り返し） */
@media (max-width: 767px) { .philosophy__br { display: none; } }

/* 4) ギネス世界記録の記録名：PC では1行（年の欄の幅・余白は修正23で両カード共通に。記録名の幅はそれで確保） */
@media (min-width: 1081px) {
  #achievements .ach-group:first-child .result__year { white-space: nowrap; }
  #achievements .ach-group:first-child .result__name { white-space: nowrap; letter-spacing: 0; }
}

/* 6) お知らせ一覧：どのページでも開始位置と矢印の位置を揃え、PC では見出しを1行に */
.modal--list .news-list { min-height: calc(5 * 71px); }
@media (min-width: 768px) {
  .modal--list .modal__inner { max-width: 1040px; }
  .modal--list .news-card { grid-template-columns: 170px 1fr 20px; }
  .modal--list .news-card__title { white-space: nowrap; }
}
@media (max-width: 767px) { .modal--list .news-list { min-height: calc(5 * 116px); } }

/* ==========================================================================
   2026-10-15 修正9：指定3項目のみ
   ========================================================================== */
/* 1) スライド1枚目のロゴ：公開中の公式サイトの表示（ロゴ文字の幅＝PC 画面幅の 72.8%／スマホ 66.9%）に合わせる */
.hero__slides .hero__slide--logo img { width: 72.8%; max-width: none; }
@media (max-width: 767px) { .hero__slides .hero__slide--logo img { width: 66.9%; } }

/* 2) DOUSHI FOOTBALLについて：PC は「ボランティア活動」の後で改行し 3 行構成（本文幅を指定の区切りが収まる幅に） */
@media (min-width: 768px) { #about .about__body { max-width: 900px; } }
@media (max-width: 767px) { .about__br { display: none; } }

/* 3) 明治安田との連携：数値カードの見出し欄の最低高さ（見出しが短いカードで空欄に見えていた）をなくす */
#partner .stat__label { min-height: 0; }

/* ==========================================================================
   2026-10-15 修正10：連携実績の注記を各数値カードの直下へ（#partner 内だけに適用）
   ========================================================================== */
#partner .stat-item { display: flex; flex-direction: column; }
#partner .stat-item .stat { flex: 1; }
#partner .stat-note { margin-top: 8px; padding-left: 2px; font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--muted); }
@media (max-width: 767px) { #partner .stat-note { font-size: 12px; margin-top: 6px; } }

/* ==========================================================================
   2026-10-15 修正11：デザイン指示書（固定黒ヘッダー／白地スライド1枚目／装飾線の削除／白地・黒文字の真四角の枠）
   ========================================================================== */
/* 1) ヘッダー：最初から黒の固定表示（スクロール後と同じ。PC 64px／スマホ 56px）。ヒーローはヘッダーの下から */
.site-header--overlay, .site-header--overlay.is-scrolled { height: 64px; background: rgba(0, 0, 0, .92); box-shadow: 0 1px 0 var(--line); transition: none; }
.hero { margin-top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); }
/* 明治安田ロゴ：角丸なし・DOUSHI ロゴ（PC 53px）と同じ高さ */
.site-header__partner { height: 53px; width: auto; border-radius: 0; }

/* 2) スライド1枚目：白地に黒ロゴ（大きさ・位置は従来どおり）。表示中は影を消し、ドットを黒に */
.hero__slide--logo { background: #fff; }
.hero__shade { transition: opacity 1.6s ease; }
.hero.is-logo .hero__shade { opacity: 0; }
.hero__dots span, .hero__scroll { transition: background-color 1.6s ease; }
.hero.is-logo .hero__dots span { background: rgba(0, 0, 0, .2); }
.hero.is-logo .hero__dots span.is-active { background: #000; }
.hero.is-logo .hero__scroll { background: rgba(0, 0, 0, .15); }
.hero.is-logo .hero__scroll::after { background: #000; }

/* 3) 見出しの緑の短い線・小見出し横の線をなくす */
.sec-title { padding-top: 0; }
.sec-title::before, .sec-title--center::before, .sec--partner .sec-title::before { display: none; }
.sec-sub::after, .sec--partner .sec-sub::after, .partner-block--project .sec-sub::after { display: none; }

/* 4)5) DOUSHI FOOTBALLについて・理念：左寄せの文章（他セクションと同じ左端）＋右に写真 */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.split__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0a0a0a; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
#about .about__body, .sec--philosophy .split__body { max-width: none; margin: 0; }
#about .intro__text { text-align: left; }
.philosophy { max-width: none; margin: 36px 0 0; padding: 0; border: 0; text-align: left; }
/* 2カラムでは指定位置の改行が行の途中に来るため、改行指定は使わない（自然な折り返し） */
.about__br, .philosophy__br { display: none; }

/* 6) 実績：枠＝真四角・白地・黒文字。緑の丸をなくし、各タイトルを大きく */
.ach-group, .media-list li { --text-2: #333; --line: #e2e2e2; --line-2: #c8c8c8; background: #fff; color: #000; border: 1px solid #fff; border-radius: 0; }
.ach-group__title::before, .media-list li::before { display: none; }
.ach-group__title { font-size: 22px; }
.media-list li { padding: 26px 28px; font-size: 19px; }

/* 7) 活動内容：タイトル左の縦線をなくし、枠＝真四角・白地・黒文字 */
.activity { --text-2: #333; background: #fff; color: #000; border: 1px solid #fff; border-radius: 0; }
.activity__title { padding-left: 0; }
.activity__title::before { display: none; }

/* 8) 年間スケジュール：表・備考の枠＝真四角・白地・黒文字（白い印は黒に）。「備考」の文字はなくす */
/* 罫線（修正21）：--line＝基本の線、--line-2＝まとまりの境目。半透明の黒にして、白地では灰色・緑のマスの上では一段濃い緑に見せる（同じ線が地の色に応じて見える）。表は border-collapse: separate（150行目）のまま使い、各マスが自分の上・左の線を自分の背景の上に描く（線の重なりなし） */
.plan-matrix { --muted: #666; --line: rgba(0, 0, 0, .1); --line-2: rgba(0, 0, 0, .2); background: #fff; color: #000; border: 1px solid #fff; border-radius: 0; }
.plan-matrix thead th, .plan-matrix tbody th { color: #000; }
.plan-matrix thead th { border-bottom-color: var(--line-2); }
.plan-matrix tbody th, .plan-matrix tbody td { border-top-color: var(--line); }
/* 罫線は2段階（修正20・21）：基本の線＝行・月の縦線、まとまりの境目＝月名の下・行事と帯の間・交流とボランティアの間。いずれも1px実線 */
.plan-matrix tbody td { border-left-color: var(--line); }
.plan-matrix tbody tr.is-key + tr:not(.is-key) th, .plan-matrix tbody tr.is-key + tr:not(.is-key) td { border-top-color: var(--line-2); }
/* 活動名（項目名）はすべて太字（スマホの月別一覧と同じ） */
.plan-matrix tbody th { font-weight: 700; }
.plan-matrix tr.is-key td.on::after { background: #000; }
.plan-notes dt::before { content: none; display: none; }
.plan-notes div { --text-2: #555; background: #fff; color: #000; border: 1px solid #fff; border-radius: 0; }

/* 9) 明治安田との連携：各枠＝真四角・白地・黒文字（数値も黒）。枠の上・左の色線はなくす */
.meiji__concept, .award, .stat, .meiji__closing-box { --text-2: #333; --muted: #666; background: #fff; color: #000; border: 1px solid #fff; border-radius: 0; }
.meiji__concept .sec-sub, .meiji__catch { color: #000; }
.stat__value { color: #000; }
.partner-block__logo a { display: block; }
.partner-block__logo img { border-radius: 0; }

/* 10) お知らせ：1件ずつ真四角・白地・黒文字の枠（トップ・一覧とも）。矢印は黒 */
.news__head .chevron { color: #000; }
.news-list { border-top: 0; display: grid; gap: 12px; align-content: start; }
.news-list li { border: 0; background: #fff; color: #000; }
.news-card { padding-left: 24px; padding-right: 20px; }
.news-card:hover { background: #f2f2f2; }
.news-card::after, .news-card:hover::after { border-color: #000; }
.news-card__meta { color: #555; }
.news-card .tag { border-color: #bdbdbd; color: #333; }
.modal--list .news-card { padding-left: 24px; padding-right: 20px; }
.modal--list .news-list { min-height: calc(5 * 71px + 4 * 12px); }

/* 11) 概要：連絡先・ホームページの下線をなくし、内容と地図をコンテンツ幅いっぱいに */
.overview__list a { text-decoration: none; }
.overview-center { max-width: none; gap: 56px; }
.overview-center .map, .overview-center .map iframe { min-height: 420px; }

/* 12) お問い合わせ：枠＝真四角・白地・黒文字（緑の上線なし）。送信ボタンは黒地 */
.contact__form { background: #fff; color: #000; border: 1px solid #fff; border-radius: 0; }
.contact__form .field, .contact__form .tel-field { border-color: #bdbdbd; }
.submit { background: #000; color: #fff; }
.submit:hover { background: #333; }
.contact__form .field-error { color: #c62828; }

/* 13) フッター：緑の上線をなくし、明治安田ロゴは角丸なし */
.site-footer { border-top: 0; }
.site-footer__partner, .site-footer .site-footer__partner { border-radius: 0; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .site-header--overlay, .site-header--overlay.is-scrolled { height: 56px; }
  .hero { margin-top: 56px; height: auto; }
  /* DOUSHI ロゴ（37px）と同じ高さ。狭い画面（320px など）では1行に収まるよう縮める（178/800＝縦横比） */
  .site-header__partner { height: min(37px, calc((100vw - 222px) * .2225)); }
  .split { gap: 24px; }
  .philosophy { margin-top: 28px; }
  .ach-group__title { font-size: 19px; }
  .media-list li { padding: 18px 20px; font-size: 16px; }
  /* 年間スケジュール（スマホの月別一覧）も白地・黒文字の真四角の枠に */
  .year-plan { --line: rgba(0, 0, 0, .1); --line-2: rgba(0, 0, 0, .2); padding: 0 12px; background: #fff; color: #000; border: 1px solid #fff; }
  .year-plan::before { left: 39px; background: var(--line); }
  .plan-month:last-child { border-bottom: 0; }
  .plan-month__name, .sec--charcoal .plan-month__name { background: #fff; color: #000; }
  .plan-month__name span { color: #666; }
  .plan-month li { color: #333; }
  .plan-month li.is-key { color: #000; }
  .plan-month li.is-key::before { background: #000; }
  .plan-notes div { border-radius: 0; }
  .news-card, .modal--list .news-card { padding: 16px 14px 16px 16px; }
  .modal--list .news-list { min-height: calc(5 * 116px + 4 * 12px); }
  .overview-center .map, .overview-center .map iframe { min-height: 280px; }
}
/* ==========================================================================
   2026-10-15 修正12：確認後の修正（お知らせ見出しの矢印・基本背景＝黒・余白の統一）
   ========================================================================== */
/* お知らせ見出しの矢印：背景に溶け込まないよう白に */
.news__head .chevron { color: #fff; }
/* 基本背景は黒（白いカード・フォーム・ロゴなど個別指定の要素はそのまま） */
.sec--gray, .sec--ink, .sec--charcoal, .sec--philosophy, .sec--partner, .site-footer { background: #000; }
.sec--philosophy { border-top-color: #1a1d1c; border-bottom: 0; }
/* 背景が同じ黒になったため、お問い合わせとフッターの境目に他セクションと同じ細い区切り線（グレー） */
.site-footer { border-top: 1px solid #1a1d1c; }
/* 余白：全セクションの上下余白をそろえる（「DOUSHI FOOTBALLについて」「理念」だけ多かった内側の余白をなくす） */
#about .container, .sec--philosophy .container { padding-top: 0; padding-bottom: 0; }
/* 見出し→本文の間隔をそろえる（PC 36px／スマホ 24px） */
#about .intro__text { margin-top: 36px; padding: 28px 0; }
.philosophy, .activities, .partner-block--contract, .news-list, .overview-center { margin-top: 36px; }
.plan-matrix { margin-top: 28px; }
@media (max-width: 767px) {
  #about .intro__text { margin-top: 24px; padding: 20px 0; }
  .philosophy, .activities, .partner-block--contract, .news-list, .overview-center { margin-top: 24px; }
  .year-plan { margin-top: 20px; }
}/* 狭いスマホ（359px 以下）：タグ・予定名が1文字だけ折り返さないよう、列幅と文字サイズを調整 */
@media (max-width: 767px) { .year-plan::before { left: 43px; } }
@media (max-width: 359px) {
  .result { grid-template-columns: 72px 1fr; gap: 6px; }
  .result__year { white-space: nowrap; font-size: 22px; }
  .result__type { padding: 2px 10px; font-size: 12px; white-space: nowrap; }
  .plan-month { grid-template-columns: 48px 1fr; gap: 10px; }
  .year-plan::before { left: 39px; }
  .plan-month li, .plan-month li.is-key { font-size: 13px; }
}
/* お知らせ詳細・一覧のポップアップ：トップの白いスライドが透けて灰色に見えないよう背景を黒に */
.modal, .modal--list { background: #000; }

/* ==========================================================================
   2026-10-15 修正13：最終追加修正（区切り線の削除／ヘッダーの明治安田ロゴ縮小／年間表の白い丸／白い枠の余白調整）
   ========================================================================== */
/* 1) セクション・ページの区切り線をなくす（カード内の罫線・表の罫線・入力欄の枠は残す） */
.sec--ink, .sec--charcoal, .sec--partner, .sec--philosophy { border-top: 0; border-bottom: 0; }
.site-footer { border-top: 0; }
#about .intro__text { padding: 0; border-top: 0; border-bottom: 0; }
/* 規約・概要ページの条文間の短い線：線は消し、条文の間隔は保つ */
.legal__body hr, .page-legal .legal__body hr, .legal--overview .legal__body hr { height: 0; margin: 30px 0 0; border: 0; }
/* 線がなくなった分、セクションの上下余白を少し詰める（PC 96→84px） */
.sec { padding: 84px 0; }

/* 2) ヘッダー右上の明治安田ロゴ：DOUSHI ロゴ（文字部分）と釣り合う大きさに縮小（縦横比は維持） */
.site-header__partner { height: 38px; }

/* 3) 年間スケジュールの印：白で塗りつぶした丸（白い枠の上でも見えるよう黒の輪郭） */
.plan-matrix tr.is-key td.on::after { border-radius: 50%; background: #fff; border: 2px solid #000; box-sizing: border-box; }

/* 4) 白い枠の余白：枠内の上下左右をそろえ、内容に対して過不足のない高さに */
.ach-groups { gap: 20px; }
.ach-group { padding: 28px 32px 8px; }
.ach-group__title { padding-bottom: 16px; }
#achievements .ach-group:first-child { padding-left: 32px; padding-right: 32px; }
.media-list { gap: 20px; }
.media-list li { padding: 24px 32px; }
.activities { gap: 20px; }
.activity { padding: 32px; }
.activity__text { margin-top: 12px; }
.activity__photo { margin-top: 24px; }
.plan-notes { margin-top: 16px; gap: 12px; }
.plan-notes div { padding: 12px 20px; }
.meiji__concept { padding: 40px 48px; }
.partner-cols { margin-top: 40px; }
.awards, .stats { gap: 16px; }
.award { padding: 22px 24px; }
.stat { padding: 24px 24px 22px; }
.meiji__closing-box { margin-top: 40px; padding: 30px 32px; }
.contact__form { padding: 36px 40px 40px; }

@media (max-width: 767px) {
  .sec { padding: 56px 0; }
  .site-header__partner { height: min(28px, calc((100vw - 222px) * .2225)); }
  .ach-groups { gap: 14px; }
  .ach-group { padding: 22px 20px 6px; }
  #achievements .ach-group:first-child { padding-left: 20px; padding-right: 20px; }
  .media-list { gap: 12px; }
  .media-list li { padding: 18px 20px; }
  .activities { gap: 14px; }
  .activity { padding: 22px 20px; }
  .activity__photo { margin-top: 18px; }
  .plan-month li.is-key::before { top: .4em; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid #000; box-sizing: border-box; }
  .meiji__concept { padding: 28px 20px 30px; }
  .partner-cols { margin-top: 32px; }
  .awards, .stats { gap: 12px; }
  .award { padding: 18px 20px; }
  .stat { padding: 20px 20px 18px; }
  .meiji__closing-box { margin-top: 32px; padding: 22px 20px 24px; }
  .contact__form { padding: 24px 20px 28px; }
}
/* 狭いスマホ：ヘッダーの間隔を少し詰め、明治安田ロゴが小さくなりすぎないように */
@media (max-width: 359px) {
  .site-header { gap: 12px; }
  .site-header__right { gap: 10px; }
  .site-header__partner { height: 24px; }
}
/* 2026-10-15 最終確認での修正：お知らせのカードが狭い画面で枠の右へはみ出さないよう、列幅を枠の幅に固定 */
.news-list { grid-template-columns: minmax(0, 1fr); }
/* 長い語の題名が矢印の列にはみ出さないよう、収まらない場合だけ語の途中でも折り返す */
.news-card__title, .news-card__meta { min-width: 0; overflow-wrap: anywhere; }

/* ==========================================================================
   2026-10-15 修正15：について／理念の統一・活動写真の直角・年間表の行事の塗りつぶし・概要の拡大・メニューの線
   ========================================================================== */
/* 1) 「DOUSHI FOOTBALLについて」「理念」：見出し・本文・間隔・写真・配置を同じ指定にそろえる */
#intro-title, #philosophy-title { font-size: 40px; font-weight: 700; line-height: 1.35; letter-spacing: .04em; }
#about .intro__text p, #about .intro__text p:first-child, #about .intro__text p + p, .sec--philosophy .philosophy { font-size: 18px; font-weight: 500; line-height: 2.1; letter-spacing: .04em; color: #fff; text-wrap: wrap; }
#about .intro__text, .sec--philosophy .philosophy { margin-top: 36px; padding: 0; }
#about .intro__text p + p { margin-top: 16px; }
#about .split, .sec--philosophy .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
#about .split__photo, .sec--philosophy .split__photo { aspect-ratio: 3 / 2; border-radius: 0; }

/* 2) 活動内容の写真：角丸を解除（.activity__photo の border-radius: 6px が原因） */
.activity__photo { border-radius: 0; }

/* 3) 年間スケジュール（枠ありの表）：新体制発表会・説明会／レクリエーション（7月）、オープニングゲーム（8月）の枠を塗りつぶす（色は年間表の帯と同じ緑） */
.plan-matrix tr.is-key td.on { background: var(--my-green) !important; }
.plan-matrix tr.is-key td.on::after { display: none; }

/* 4) 概要：PC は画面幅を広く使い、情報（左）と地図（右）を大きく表示 */
@media (min-width: 901px) {
  #overview .container { max-width: 1440px; }
  .overview-center { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .overview-center .overview__list { font-size: 17px; grid-template-columns: 9em 1fr; }
  .overview-center .overview__list dt, .overview-center .overview__list dd { padding: 20px 6px; }
  .overview-center .map, .overview-center .map iframe { min-height: 560px; }
}

/* 5) メニュー：開いたときの左側の緑の線をなくす */
.drawer__panel { border-left: 0; }

@media (max-width: 767px) {
  #intro-title, #philosophy-title { font-size: min(24px, 6.4vw); padding-top: 0; }
  #about .intro__text p, #about .intro__text p:first-child, #about .intro__text p + p, .sec--philosophy .philosophy { font-size: 15px; line-height: 2; letter-spacing: .02em; }
  #about .intro__text, .sec--philosophy .philosophy { margin-top: 24px; }
  #about .intro__text p + p { margin-top: 12px; }
  #about .split, .sec--philosophy .split { grid-template-columns: 1fr; gap: 24px; }
  /* スマホの月別一覧：該当する3項目の枠を塗りつぶす（丸の印は使わない） */
  .plan-month li.is-key { justify-self: start; padding: 2px 10px; background: var(--my-green); color: #000; }
  .plan-month li.is-key::before { display: none; }
  .overview-center .overview__list { font-size: 15px; }
  .overview-center .map, .overview-center .map iframe { min-height: 360px; }
}
@media (min-width: 768px) and (max-width: 900px) {
  #about .split, .sec--philosophy .split { grid-template-columns: 1fr; gap: 32px; }
}
/* 2026-10-15 修正16：年間スケジュール｜フットボール交流・ボランティア活動（8月〜翌6月）の枠も、既存3項目と同じ緑で塗りつぶす */
.plan-matrix tr.is-exchange td.on, .plan-matrix tr.is-volunteer td.on { background: var(--my-green) !important; }
.plan-matrix tr.is-exchange td.on::after, .plan-matrix tr.is-volunteer td.on::after { display: none; }
@media (max-width: 767px) {
  .plan-month li.is-exchange, .plan-month li.is-volunteer { justify-self: start; padding: 2px 8px; background: var(--my-green); color: #000; }
  .plan-month li.is-exchange::before, .plan-month li.is-volunteer::before { display: none; }
}
/* 2026-10-15 修正19：年間スケジュール｜フットボール交流・ボランティア活動（8月〜翌6月）＝それぞれ横に連続した1つの塗りつぶし枠。縦幅を単発行事より大きくし、2本を上下に接して配置（単発行事3項目は1枠のまま） */
/* PC：2項目の行だけ高さ 50→64px。月ごとの縦罫線をなくしてセル全体の緑を横につなげる。2本の間は白い隙間を作らず、既存の濃いめの罫線色 #bdbdbd の1本線で区切る */
.plan-matrix tr.is-exchange td, .plan-matrix tr.is-volunteer td { height: 64px; }
.plan-matrix tr.is-exchange td.on, .plan-matrix tr.is-volunteer td.on { border-left: 0; }
.plan-matrix tr.is-volunteer th, .plan-matrix tr.is-volunteer td { border-top-color: var(--line-2); }
@media (max-width: 767px) {
  /* スマホ：月別一覧の構造はそのまま。2項目は一覧の幅いっぱいの枠にして縦幅を大きくし、同じ月の2本を上下に接して配置 */
  .plan-month li.is-exchange, .plan-month li.is-volunteer { justify-self: stretch; display: flex; align-items: center; min-height: 38px; padding: 4px 10px; font-size: 14px; line-height: 1.5; }
  .plan-month li.is-exchange + li.is-volunteer { margin-top: -6px; border-top: 1px solid var(--line-2); }
}
@media (max-width: 359px) {
  .plan-month li.is-exchange, .plan-month li.is-volunteer { font-size: 13px; }
}

/* ==========================================================================
   2026-10-15 修正23：実績・活動内容のブラッシュアップ（#achievements／#activities 内だけに適用。文章・写真・並び順は変更なし）
   ========================================================================== */
/* 実績：文字の優先順位＝カード見出し＞実績名（太字）＞年（中太・濃いグレー）＞分類タグ（小・グレー）。カード内の余白は上下左右 32px にそろえる（下は最後の行の余白 18px＋14px） */
#achievements .ach-groups .ach-group { padding: 32px 32px 14px; }
#achievements .ach-group .ach-group__title { padding-bottom: 16px; }
#achievements .ach-group .result { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
#achievements .result__year { font-size: 20px; font-weight: 500; line-height: 1.3; color: #333; white-space: nowrap; }
#achievements .result__year small { font-size: 12px; font-weight: 500; color: #666; }
#achievements .result__body { gap: 8px; }
#achievements .result__type { padding: 1px 10px; font-size: 12px; color: #555; }
#achievements .ach-group .result__name { font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; text-wrap: pretty; }
#achievements .media-list li { padding: 24px 32px; font-size: 18px; font-weight: 700; }
/* 活動内容：4枚とも同じ設定（余白 32px・見出し 22px・見出し→説明文 14px・説明文 16px／行間 1.9・写真は元画像と同じ 3:2） */
#activities .activity { padding: 32px; }
#activities .activity__title { font-size: 22px; word-break: auto-phrase; }
#activities .activity__text { margin-top: 14px; }
#activities .activity__text p { font-size: 16px; line-height: 1.9; }
#activities .activity__photo { margin-top: 24px; }
@media (max-width: 767px) {
  #achievements .ach-groups .ach-group { padding: 24px 20px 6px; }
  #achievements .ach-group .ach-group__title { padding-bottom: 14px; }
  #achievements .ach-group .result { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  #achievements .result__year { font-size: 18px; }
  #achievements .result__year small { font-size: 11px; }
  #achievements .ach-group .result__name { font-size: 15px; line-height: 1.55; }
  #achievements .media-list li { padding: 18px 20px; font-size: 16px; }
  #activities .activity { padding: 24px 20px; }
  #activities .activity__title { font-size: 18px; }
  #activities .activity__text { margin-top: 12px; }
  #activities .activity__text p { font-size: 15px; line-height: 1.9; }
  #activities .activity__photo { margin-top: 20px; }
}
@media (max-width: 359px) {
  #achievements .ach-group .result { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
  #achievements .result__year { font-size: 17px; }
  #achievements .result__type { padding: 1px 8px; font-size: 11.5px; white-space: nowrap; }
}

/* ==========================================================================
   2026-10-15 修正24：最終修正指示書（指定箇所のみ。セレクタは各セクション・要素に限定）
   ========================================================================== */
/* 3) ヘッダー・フッターの明治安田ロゴ：リンクを付けただけ（画像の大きさ・位置は変えない。a の行の高さで下に隙間ができないように） */
.site-header__partner-link, .site-footer__partner-link { display: block; line-height: 0; }

/* 4) 年間スケジュール：単発行事3項目の塗りつぶしを黒に（交流・ボランティアの緑はそのまま）。スマホの一覧は黒地なので文字を白に */
#schedule .plan-matrix tr.is-key td.on { background: #000 !important; border-top-color: #fff; }  /* 7月の2マスが1つの黒い塊に見えないよう、上端に白い1px（表の地の色）の区切り */
#schedule .plan-month li.is-key { background: #000; color: #fff; }
/* 「定期実施」：黒の枠線・黒の塗りつぶし・白文字・直角のタグ（余白はサイト内の他のタグと同じ） */
#schedule .plan-notes dd { padding: 1px 10px; background: #000; color: #fff; border: 1px solid #000; border-radius: 0; }  /* 追加修正：角を直角に */

/* 5) 概要：見出しを他のセクションと同じ左端に（コンテナ幅を他と同じに戻す）。本文 17→15px（スマホ 15→14px）。地図 560→400px（スマホ 360→280px） */
@media (min-width: 901px) { #overview .container { max-width: calc(var(--container) + 64px); } }
#overview .overview-center .overview__list { font-size: 15px; }
#overview .overview-center .overview__list dd { text-wrap: pretty; }  /* 文字を小さくしたことで所在地の「5F」だけが次の行に残るのを防ぐ */
#overview .overview-center .map, #overview .overview-center .map iframe { min-height: 400px; }

/* 6) 実績：分類タグ5つ（ギネス世界記録認定2・日本代表選出3）＝黒の枠線・黒の塗りつぶし・白文字 */
#achievements .result__type { background: #000; border-color: #000; color: #fff; border-radius: 0; }  /* 追加修正：角を直角に */
/* 追加修正：お知らせのカテゴリータグ（トップ・一覧ポップアップ・詳細ポップアップ。全カテゴリー＝ニュース／試合情報／その他／メディア／お知らせ）＝黒の枠線・黒の塗りつぶし・白文字・直角 */
#news .tag, #news-list .tag, #news-detail .tag { background: #000; border-color: #000; color: #fff; border-radius: 0; }

/* 8) 理念：見出しを中央に大きく。画像2（volunteer-03）を文章の背景に置き、不透明度を下げて文章を読みやすく（画像の加工はしない）
   追加修正：画像全体が見えるよう contain（切り取りなし・縦横比そのまま）にし、セクションの最小の高さを画像の 3:2 に合わせる（画像の幅は最大 900px）。画像は上端そろえ、文章は画像の上部に重ねる */
.sec--philosophy { position: relative; isolation: isolate; overflow: hidden; padding-top: 56px; min-height: calc(min(100vw - 64px, 900px) / 1.5); }
.sec--philosophy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/volunteer-03-1600.jpg") center center / contain no-repeat; opacity: .35; }
/* 最終修正：見出し＋本文をセクション（＝背景画像）の上下中央に置く。上下の余白をそろえ、画像も上下中央に（上に寄った文章と下に残る画像の偏りをなくす） */
.sec--philosophy { display: flex; align-items: center; padding-bottom: 56px; }
/* 追加修正：「DOUSHI FOOTBALLについて」と「理念」の間隔を詰める（84+84px → 40+56px。スマホ 56+56px → 28+32px） */
#about { padding-bottom: 40px; }
.sec--philosophy .split { display: block; }
.sec--philosophy .split__body { max-width: 760px; margin: 0 auto; }
#philosophy-title { text-align: center; font-size: 48px; letter-spacing: .08em; }

/* 9) 活動内容：写真をカードの左右・下の端まで広げる（白い余白をなくす。写真は元と同じ 3:2 のため切り取りなし）
   修正：外側への広げ幅はカードの内側の余白（32px）と同じに。旧 -33px は枠線 1px の上まで写真がかかり、白い枠からはみ出して見えていた */
#activities .activity__photo { margin: 24px -32px -32px; }

/* 10) 明治安田との連携：指定4項目の文字をサイト既存の緑（--my-green）に */
#partner .award__em, #partner .stat__num, #partner .stat__unit { color: var(--my-green); }

@media (max-width: 767px) {
  #overview .overview-center .overview__list { font-size: 14px; }
  #overview .overview-center .map, #overview .overview-center .map iframe { min-height: 280px; }
  .sec--philosophy::before { background-image: url("../img/volunteer-03-800.jpg"); }
  .sec--philosophy { padding-top: 32px; padding-bottom: 32px; min-height: calc(100vw / 1.5); }
  #about { padding-bottom: 28px; }
  #philosophy-title { font-size: min(30px, 8vw); }
  #activities .activity__photo { margin: 20px -20px -24px; }  /* スマホの内側の余白（左右 20px・下 24px）と同じ */
}