:root {
  --ink: #06152f;
  --blue: #073f8c;
  --blue-bright: #0d5fc4;
  --red: #d9323e;
  --gold: #d7b15b;
  --paper: #f8f6ef;
  --white: #fff;
  --muted: #657083;
  --line: rgba(6, 21, 47, .14);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .7rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transition: background .3s, box-shadow .3s, color .3s;
}
.site-header.scrolled { color: var(--ink); background: rgba(248,246,239,.94); box-shadow: 0 8px 28px rgba(6,21,47,.08); backdrop-filter: blur(12px); }
.header-inner { width: min(1180px, calc(100% - 40px)); height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.1; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.35rem; letter-spacing: .18em; }
.brand small { display: block; margin-top: .3rem; font-size: .58rem; letter-spacing: .34em; opacity: .68; }
.brand-mark { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.brand-mark::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
.brand-mark i { position: absolute; width: 4px; height: 9px; border-radius: 99px; background: currentColor; transform-origin: 2px 14px; }
.brand-mark i:nth-child(1) { transform: translateY(11px) rotate(0); }
.brand-mark i:nth-child(2) { transform: translateY(9px) rotate(120deg); }
.brand-mark i:nth-child(3) { transform: translateY(9px) rotate(240deg); }
.site-header nav { display: flex; align-items: center; gap: 1rem; }
.nav-group { display: flex; align-items: center; gap: .9rem; }
.nav-group + .nav-group { margin-left: .15rem; padding-left: 1rem; border-left: 1px solid currentColor; }
.nav-group-label { opacity: .55; font-size: .54rem; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.site-header nav a { text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.site-header nav a:not(.nav-cta) { position: relative; }
.site-header nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -.4rem; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { width: 100%; }
.site-header nav a[aria-current="page"] { color: var(--red); }
.site-header nav a[aria-current="page"]::after { width: 100%; }
.nav-cta { padding: .62rem 1rem; color: #fff; background: var(--red); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 130px max(6vw, calc((100vw - 1180px)/2)) 80px;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 18% 20%, rgba(13,95,196,.4), transparent 33%), linear-gradient(125deg, #06152f 0 58%, #082356 58% 100%); }
.hero-lines { position: absolute; inset: 0; z-index: -1; opacity: .13; background: repeating-linear-gradient(118deg, transparent 0 92px, #fff 93px 94px); mask-image: linear-gradient(to right, transparent, #000 45%, #000); }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 1rem; color: var(--blue-bright); font: 800 .73rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.eyebrow.light { color: #8fc1ff; }
.status { display: inline-block; margin: 0 0 1.4rem; padding: .26rem .65rem; border: 1px solid rgba(255,255,255,.38); font-size: .7rem; line-height: 1.4; letter-spacing: .08em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font: 700 clamp(2.8rem, 5vw, 5.4rem)/1.22 var(--serif); letter-spacing: .03em; }
h1 span { font-size: .62em; font-weight: 500; }
h1 em { position: relative; color: #91c2ff; font-style: normal; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; left: -.02em; right: -.06em; bottom: -.04em; height: 6px; background: var(--red); transform: rotate(-1.5deg); }
.hero-lead { max-width: 34rem; margin: 1.7rem 0 0; color: rgba(255,255,255,.79); font-family: var(--serif); font-size: 1.03rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 50px; padding: .65rem 1.25rem; border: 1px solid transparent; text-decoration: none; font-size: .84rem; font-weight: 800; letter-spacing: .06em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 13px 28px rgba(217,50,62,.28); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.button-light { color: var(--ink); background: #fff; }
.hero-facts { display: flex; gap: clamp(1.4rem, 3.2vw, 3.4rem); margin: 2.5rem 0 0; }
.hero-facts div { min-width: 90px; }
.hero-facts dt { color: var(--gold); font: 700 1.35rem/1 var(--serif); }
.hero-facts dd { margin: .48rem 0 0; color: rgba(255,255,255,.6); font-size: .67rem; letter-spacing: .05em; }
.hero-visual { position: relative; max-width: 660px; justify-self: end; }
.sun { position: absolute; width: clamp(180px, 24vw, 340px); aspect-ratio: 1; top: -19%; right: -10%; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 24px rgba(217,50,62,.08); }
.main-illustration { position: relative; margin: 0; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.38); transform: rotate(1.25deg); }
.main-illustration::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.5); pointer-events: none; }
.main-illustration img { width: 100%; height: auto; }
.main-illustration figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: var(--ink); background: #fff; line-height: 1.45; }
.main-illustration figcaption span { color: var(--blue); font-size: .62rem; font-weight: 900; letter-spacing: .15em; }
.main-illustration figcaption strong { font-family: var(--serif); font-size: .84rem; }
.visual-note { margin: .8rem 0 0; color: rgba(255,255,255,.52); font-size: .67rem; text-align: right; }

.band { padding: clamp(4rem, 8vw, 7rem) max(6vw, calc((100vw - 1080px)/2)); color: #fff; text-align: center; background: var(--blue); }
.band p { margin: 0 0 .6rem; color: #a9ceff; font-size: .76rem; font-weight: 800; letter-spacing: .18em; }
.band h2 { margin: 0; font: 600 clamp(1.8rem, 3.8vw, 3.4rem)/1.55 var(--serif); letter-spacing: .08em; }
.section { padding: clamp(5rem, 9vw, 9rem) max(6vw, calc((100vw - 1180px)/2)); }
.section-heading { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.section-heading h2, .access h2, .yatagarasu h2 { margin: 0; font: 600 clamp(2rem, 4vw, 4.15rem)/1.38 var(--serif); letter-spacing: .04em; }
.section-heading > p:last-child { margin-top: 1.4rem; color: var(--muted); }
.story { background: #fff; }
.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); }
.story-text .lead { margin-top: 0; color: var(--ink); font: 600 1.18rem/2 var(--serif); }
.story-text p:not(.lead) { color: var(--muted); }
.story-link { margin-top: 1rem; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 1.25rem; padding: 0 0 2.5rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 34px; top: 48px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li > span { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); background: #fff; font: 700 .88rem/1 var(--serif); }
.timeline strong { font: 600 1.2rem/1.4 var(--serif); }
.timeline p { margin: .4rem 0 0; color: var(--muted); font-size: .9rem; }

.yatagarasu { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 8rem); color: #fff; background: linear-gradient(135deg, #041126, #073f8c); overflow: hidden; }
.pitch-mark { position: absolute; width: 520px; height: 520px; right: -140px; top: -150px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.pitch-mark::before, .pitch-mark::after { content: ""; position: absolute; background: rgba(255,255,255,.12); }
.pitch-mark::before { width: 1px; height: 700px; left: 50%; top: -90px; }
.pitch-mark::after { height: 1px; width: 700px; top: 50%; left: -90px; }
.yatagarasu-copy { position: relative; z-index: 1; }
.yatagarasu-copy > p:not(.eyebrow):not(.disclaimer) { margin-top: 1.6rem; color: rgba(255,255,255,.75); }
.disclaimer { padding-left: .9rem; border-left: 2px solid var(--red); color: rgba(255,255,255,.52); font-size: .73rem; line-height: 1.75; }
.fact-note { margin-top: 1.3rem; padding: 1.15rem 1.25rem; border-left: 3px solid var(--red); background: rgba(0,0,0,.18); }
.fact-note strong, .fact-note span { display: block; }
.fact-note strong { color: #fff; font: 700 .76rem/1.5 var(--sans); letter-spacing: .08em; }
.fact-note span { margin-top: .35rem; color: rgba(255,255,255,.64); font-size: .76rem; line-height: 1.75; }
.three-values { position: relative; z-index: 1; display: grid; gap: 1rem; }
.three-values article { padding: 1.45rem 1.5rem; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.three-values span { color: #8fc1ff; font: 800 .7rem/1 var(--sans); letter-spacing: .12em; }
.three-values h3 { margin: .25rem 0 0; font: 600 1.55rem/1.4 var(--serif); }
.three-values p { margin: .2rem 0 0; color: rgba(255,255,255,.68); font-size: .84rem; }

.heritage { background: #f2efe5; }
.heritage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(6,21,47,.16); border: 1px solid rgba(6,21,47,.16); }
.heritage-card { min-height: 0; padding: 0; background: var(--paper); overflow: hidden; }
.heritage-card > img { width: 100%; height: 280px; object-fit: cover; object-position: center 34%; background: #e8e3d7; }
.heritage-card > img.heritage-statue { object-fit: contain; object-position: center; padding: 1rem; background: linear-gradient(135deg, #e9e4d8, #f8f6ef); }
.heritage-card-body { padding: 1.7rem 1.65rem 2rem; }
.heritage-card.accent { color: #fff; background: var(--blue); }
.card-no { color: var(--red); font: 800 .7rem/1 var(--sans); letter-spacing: .15em; }
.heritage-card.accent .card-no { color: #9bc8ff; }
.heritage-card h3 { margin: 1.1rem 0 .7rem; font: 600 1.55rem/1.4 var(--serif); }
.heritage-card p { color: var(--muted); font-size: .86rem; }
.heritage-card.accent p { color: rgba(255,255,255,.72); }
.heritage-card small { display: inline-block; margin-top: 1.2rem; color: var(--blue); font-size: .67rem; font-weight: 800; }
.heritage-card.accent small { color: #a7ceff; }
.heritage-photo-credit { display: block; margin-top: .65rem; color: var(--muted); font-size: .62rem; line-height: 1.6; }
.heritage-source { margin: 1.3rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.8; }
.heritage-source a { color: var(--blue); text-underline-offset: .22rem; }
.heritage-actions { margin-top: 2rem; }

.gallery-preview { background: #fff; }
.preview-strip { display: grid; grid-template-columns: 1.25fr 1fr .72fr; gap: .8rem; min-height: 430px; }
.preview-strip img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.text-link { display: inline-flex; gap: 1rem; margin-top: 1.5rem; color: var(--blue); font-size: .86rem; font-weight: 800; text-underline-offset: .35rem; }

.visit { background: #fff; }
.visit-panel { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.visit-panel > div { padding: 2rem; border-right: 1px solid var(--line); }
.visit-panel > div:last-child { border-right: 0; }
.visit-panel span { color: var(--red); font: 800 .7rem/1 var(--sans); }
.visit-panel h3 { margin: .7rem 0 .5rem; font: 600 1.25rem/1.4 var(--serif); }
.visit-panel p { margin: 0; color: var(--muted); font-size: .84rem; }
.notice { margin: 1.5rem 0 0; padding: 1rem 1.2rem; color: var(--muted); background: #f5f3ed; font-size: .78rem; }
.notice strong { color: var(--ink); }

.access { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); color: #fff; background: var(--ink); }
.access-info { align-self: center; }
.access dl { margin: 2.2rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.access dl div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.access dt { color: #8fc1ff; font-size: .74rem; font-weight: 800; }
.access dd { margin: 0; color: rgba(255,255,255,.76); font-size: .88rem; }
.access dd small { color: rgba(255,255,255,.45); }
.map-wrap { min-height: 470px; border: 8px solid rgba(255,255,255,.09); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 454px; border: 0; filter: saturate(.75) contrast(1.04); }

footer { display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: end; padding: 3.5rem max(6vw, calc((100vw - 1180px)/2)); background: #030b19; color: #fff; }
.footer-brand strong { display: block; font: 600 1.8rem/1 var(--serif); letter-spacing: .18em; }
.footer-brand span { display: block; margin-top: .6rem; color: rgba(255,255,255,.42); font-size: .62rem; letter-spacing: .28em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem 1.4rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .72rem; text-underline-offset: .25rem; }
.copyright { grid-column: 1 / -1; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.36); font-size: .67rem; text-align: right; }

/* 八咫烏ものがたり */
.story-hero { position: relative; min-height: 760px; color: #fff; background: var(--ink); overflow: hidden; }
.story-hero > img { width: 100%; height: 760px; object-fit: cover; object-position: center; }
.story-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,24,.88) 0%, rgba(2,10,24,.45) 43%, rgba(2,10,24,.05) 75%), linear-gradient(0deg, rgba(2,10,24,.72), transparent 45%); }
.story-hero-copy { position: absolute; z-index: 2; left: max(6vw, calc((100vw - 1180px)/2)); top: 50%; width: min(580px, 44vw); transform: translateY(-42%); }
.story-hero-copy h1 { font-size: clamp(3.3rem, 7vw, 7.2rem); line-height: .98; text-shadow: 0 8px 28px rgba(0,0,0,.34); }
.story-hero-copy h1 span { display: inline-block; margin-top: .22em; font-size: .46em; letter-spacing: .18em; }
.story-hero-copy > p:last-child { margin-top: 1.7rem; color: rgba(255,255,255,.8); font: 500 1rem/2 var(--serif); letter-spacing: .06em; }
.story-preface { display: grid; grid-template-columns: 1fr 360px; gap: clamp(3rem, 8vw, 8rem); align-items: end; background: #fff; }
.story-preface-inner { max-width: 720px; }
.story-preface h2, .story-next h2 { margin: 0; font: 600 clamp(2.1rem, 4vw, 4rem)/1.42 var(--serif); letter-spacing: .05em; }
.story-lead { margin-top: 2rem; color: var(--ink); font: 600 1.17rem/2.05 var(--serif); }
.story-preface-inner > p:last-child { color: var(--muted); }
.source-note { padding: 1.7rem; border-top: 3px solid var(--blue); background: #f2efe5; }
.source-note strong { font: 600 1.08rem/1.4 var(--serif); }
.source-note p { color: var(--muted); font-size: .78rem; line-height: 1.8; }
.source-note a, .football-source a { color: var(--blue); font-size: .75rem; font-weight: 800; text-underline-offset: .25rem; }
.story-flow { padding: clamp(2rem, 5vw, 5rem) max(6vw, calc((100vw - 1080px)/2)) clamp(5rem, 10vw, 10rem); background: var(--paper); }
.story-chapter { position: relative; display: grid; grid-template-columns: 160px minmax(0, 680px); gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 8vw, 8rem) 0; border-bottom: 1px solid var(--line); }
.story-chapter.reverse { grid-template-columns: minmax(0, 680px) 160px; justify-content: end; }
.story-chapter.reverse .chapter-number { order: 2; }
.story-chapter.reverse .chapter-copy { order: 1; }
.chapter-number { position: relative; min-height: 160px; display: grid; place-items: center; border: 1px solid rgba(7,63,140,.24); border-radius: 50%; }
.chapter-number::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(7,63,140,.12); border-radius: 50%; }
.chapter-number span { position: absolute; top: -8px; padding: 0 .6rem; color: var(--blue); background: var(--paper); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.chapter-number b { color: var(--blue); font: 500 4.5rem/1 var(--serif); }
.chapter-copy h2 { margin: 0 0 1.3rem; font: 600 clamp(1.9rem, 3.5vw, 3.2rem)/1.45 var(--serif); letter-spacing: .05em; }
.chapter-copy > p:not(.eyebrow) { color: var(--muted); }
.chapter-copy blockquote { margin: 2rem 0 0; padding: 1.2rem 0 1.2rem 1.5rem; border-left: 3px solid var(--red); color: var(--ink); font: 600 1.05rem/1.9 var(--serif); }
.football-story { color: #fff; background: linear-gradient(135deg, #041126, #073f8c); }
.football-intro { max-width: 880px; }
.football-intro h2 { margin: 0; font: 600 clamp(2.2rem, 4.5vw, 4.5rem)/1.38 var(--serif); letter-spacing: .04em; }
.football-intro > p:last-child { max-width: 760px; color: rgba(255,255,255,.7); }
.football-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4rem; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.football-facts article { padding: 2rem; background: rgba(4,17,38,.76); }
.football-facts article.interpretation { background: rgba(217,50,62,.2); }
.football-facts span { color: #8fc1ff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.football-facts h3 { margin: .7rem 0; font: 600 1.3rem/1.5 var(--serif); }
.football-facts p { margin: 0; color: rgba(255,255,255,.68); font-size: .82rem; }
.football-source { margin-top: 1.5rem; padding: 1.2rem 1.35rem; border-left: 3px solid var(--gold); background: rgba(0,0,0,.18); }
.football-source strong { display: block; font: 600 1rem/1.5 var(--serif); }
.football-source p { margin: .35rem 0 .6rem; color: rgba(255,255,255,.62); font-size: .76rem; line-height: 1.8; }
.football-source a { color: #9ec9ff; }
.story-next { text-align: center; background: #fff; }
.story-next > div { max-width: 760px; margin: auto; }
.story-next p:not(.eyebrow) { color: var(--muted); }
.story-next .hero-actions { justify-content: center; }
.button-dark { color: var(--ink); border-color: var(--line); }

/* 境内写真集 */
.gallery-hero { position: relative; min-height: 510px; display: flex; align-items: end; padding: 150px max(6vw, calc((100vw - 1180px)/2)) 85px; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.gallery-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(2,10,24,.96), rgba(2,10,24,.56)), url("gallery-bunkazai.jpg") center 42% / cover no-repeat; }
.gallery-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .13; background: repeating-linear-gradient(118deg, transparent 0 92px, #fff 93px 94px); }
.gallery-hero > div { width: min(760px, 100%); }
.gallery-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
.gallery-hero > div > p:last-child { margin: 1.4rem 0 0; color: rgba(255,255,255,.77); font: 500 1.05rem/1.9 var(--serif); letter-spacing: .07em; }
.gallery-intro { background: #f2efe5; }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.8rem, 1.8vw, 1.4rem); align-items: start; }
.photo-card { grid-column: span 4; margin: 0; padding: 0 0 1rem; background: #fff; box-shadow: 0 14px 34px rgba(6,21,47,.08); }
.photo-card.wide { grid-column: span 8; }
.photo-card a { display: block; overflow: hidden; background: #d9d5c9; }
.photo-card img { width: 100%; height: 330px; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.photo-card.wide img { height: 390px; }
.photo-card.portrait img { object-position: center 32%; }
.photo-card.statue-photo img { object-fit: contain; object-position: center; background: #e8e3d7; }
.photo-card a:hover img, .photo-card a:focus-visible img { transform: scale(1.035); filter: contrast(1.04); }
.photo-card figcaption { display: grid; grid-template-columns: 38px 1fr; gap: .2rem .8rem; padding: 1rem 1.1rem 0; }
.photo-card figcaption span { grid-row: 1 / 3; padding-top: .2rem; color: var(--red); font: 800 .68rem/1.4 var(--sans); letter-spacing: .12em; }
.photo-card figcaption strong { font: 600 1.06rem/1.5 var(--serif); }
.photo-card figcaption small { color: var(--muted); font-size: .72rem; }
.gallery-source { margin: 2rem 0 0; color: var(--muted); font-size: .75rem; }
.gallery-source a { color: var(--blue); text-underline-offset: .25rem; }
.photo-dialog { width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; padding: 3.2rem 1rem 1rem; border: 0; color: #fff; background: #030b19; box-shadow: 0 28px 100px rgba(0,0,0,.55); }
.photo-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.photo-dialog img { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.photo-dialog p { margin: .7rem 0 0; color: rgba(255,255,255,.72); font: 500 .85rem/1.6 var(--serif); text-align: center; }
.dialog-close { position: absolute; right: 1rem; top: .75rem; border: 0; color: #fff; background: transparent; font-size: .78rem; font-weight: 800; cursor: pointer; }

/* サッカー日本代表縁起・サッカー御守 */
.football-hero { position: relative; min-height: 850px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); align-items: center; gap: clamp(3rem, 7vw, 8rem); padding: 130px max(6vw, calc((100vw - 1180px)/2)) 80px; color: #fff; background: radial-gradient(circle at 18% 20%, rgba(13,95,196,.42), transparent 35%), linear-gradient(135deg, #030b19, #073f8c); overflow: hidden; }
.football-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(118deg, transparent 0 92px, #fff 93px 94px); }
.football-hero > img { position: relative; z-index: 1; grid-column: 2; width: min(100%, 460px); height: auto; justify-self: end; object-fit: contain; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.football-hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; }
.football-hero-copy h1 { font-size: clamp(3.1rem, 6vw, 6.4rem); line-height: 1.08; }
.football-hero-copy h1 em { color: #f0cf77; }
.football-hero-copy h1 em::after { background: var(--red); }
.football-hero-copy > p:not(.eyebrow):not(.status) { margin-top: 1.6rem; color: rgba(255,255,255,.78); font: 500 1rem/2 var(--serif); }
.football-product { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; background: #fff; }
.product-copy h2, .receive-copy h2 { margin: 0; font: 600 clamp(2.1rem, 4vw, 4rem)/1.42 var(--serif); letter-spacing: .04em; }
.product-copy > p:not(.eyebrow) { color: var(--muted); }
.product-copy .product-lead { margin-top: 2rem; color: var(--ink); font: 600 1.17rem/2 var(--serif); }
.product-badge { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; margin-top: 2rem; padding: 1.2rem 1.35rem; border-left: 4px solid var(--red); background: var(--paper); }
.product-badge strong { font-family: var(--serif); }
.product-badge span { color: var(--blue); font-weight: 900; }
.product-visual { margin: 0; padding: .7rem; background: #fff; box-shadow: 0 24px 65px rgba(6,21,47,.16); transform: rotate(1deg); }
.product-visual img { width: 100%; height: auto; object-fit: contain; }
.product-visual figcaption { padding: .75rem .4rem .2rem; color: var(--muted); font-size: .7rem; text-align: center; }
.football-meaning { color: #fff; background: linear-gradient(135deg, #041126, #073f8c); }
.receive { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; background: #f2efe5; }
.receive-photo img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; box-shadow: 0 22px 55px rgba(6,21,47,.15); }
.receive-copy dl { margin: 2rem 0; border-top: 1px solid var(--line); }
.receive-copy dl div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.receive-copy dt { color: var(--blue); font-size: .74rem; font-weight: 900; }
.receive-copy dd { margin: 0; font-weight: 700; }
.story-football-teaser { display: grid; grid-template-columns: 1fr minmax(300px, 430px); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.story-football-teaser .button { margin-top: 1.4rem; }
.teaser-omamori { margin: 0; padding: .55rem; background: rgba(255,255,255,.1); transform: rotate(1.3deg); }
.teaser-omamori img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.gallery-omamori { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin: 0 0 clamp(3rem, 6vw, 6rem); padding: clamp(2rem, 5vw, 4.5rem); color: #fff; background: linear-gradient(135deg, #06152f, #073f8c); box-shadow: 0 24px 60px rgba(6,21,47,.14); }
.gallery-omamori h2 { margin: 0; font: 600 clamp(2rem, 4vw, 3.8rem)/1.38 var(--serif); }
.gallery-omamori p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.gallery-omamori > img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: contain; background: #020a18; border: 1px solid rgba(255,255,255,.18); }
.omamori-mini-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.omamori-mini-facts span { padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .73rem; font-weight: 800; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 720px; justify-self: center; }
  .story-grid, .yatagarasu, .access { grid-template-columns: 1fr; }
  .heritage-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-strip { grid-template-columns: 1fr 1fr; }
  .preview-strip img:last-child { grid-column: 1 / -1; height: 420px; }
  .photo-card, .photo-card.wide { grid-column: span 6; }
  .map-wrap { min-height: 380px; }
  .map-wrap iframe { min-height: 364px; }
  .story-preface { grid-template-columns: 1fr; }
  .source-note { max-width: 620px; }
  .football-facts { grid-template-columns: 1fr; }
  .football-hero { grid-template-columns: 1fr .72fr; }
  .football-product, .receive, .story-football-teaser, .gallery-omamori { grid-template-columns: 1fr; }
  .product-visual { width: min(560px, 100%); margin: auto; }
  .receive-photo { order: 2; }
}

@media (max-width: 760px) {
  .header-inner { width: calc(100% - 28px); height: 68px; }
  .menu-button { display: grid; width: 44px; height: 44px; place-content: center; gap: 4px; border: 0; color: inherit; background: transparent; cursor: pointer; }
  .menu-button span { display: block; width: 23px; height: 2px; background: currentColor; transition: .25s; }
  .menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header nav { position: fixed; inset: 68px 0 auto; display: none; padding: 1.1rem 1.4rem 1.4rem; color: var(--ink); background: rgba(248,246,239,.98); box-shadow: 0 18px 30px rgba(6,21,47,.15); }
  .site-header nav.open { display: grid; }
  .nav-group { display: grid; gap: 0; }
  .nav-group + .nav-group { margin: .65rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .nav-group-label { margin-bottom: .25rem; color: var(--blue); opacity: 1; }
  .site-header nav a { padding: .45rem 0; }
  .nav-cta { padding: .7rem 1rem; text-align: center; }
  .hero { min-height: auto; grid-template-columns: minmax(0,1fr); gap: 4.5rem; padding: 110px 20px 70px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero-facts { gap: 1rem; justify-content: space-between; }
  .hero-facts div { min-width: 0; }
  .main-illustration figcaption { display: block; }
  .main-illustration figcaption strong { display: block; margin-top: .3rem; }
  .visual-note { text-align: left; }
  .section { padding: 5rem 20px; }
  .band { padding: 4.3rem 20px; }
  .story-grid { gap: 2.5rem; }
  .timeline li { grid-template-columns: 64px 1fr; }
  .timeline li > span { width: 58px; height: 58px; font-size: .75rem; }
  .timeline li::before { left: 28px; top: 38px; }
  .yatagarasu { gap: 3rem; }
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-card { min-height: auto; }
  .heritage-card > img { height: 260px; }
  .preview-strip { grid-template-columns: 1fr; min-height: 0; }
  .preview-strip img, .preview-strip img:last-child { grid-column: auto; min-height: 0; height: 300px; }
  .gallery-hero { min-height: 460px; padding: 130px 20px 65px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-card.wide { grid-column: 1; }
  .photo-card img, .photo-card.wide img { height: auto; max-height: 520px; object-fit: cover; }
  .photo-card.portrait img { aspect-ratio: 4 / 5; }
  .photo-card.statue-photo img { object-fit: contain; }
  .photo-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); padding: 3rem .6rem .8rem; }
  .visit-panel { grid-template-columns: 1fr; }
  .visit-panel > div { padding: 1.4rem .2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .visit-panel > div:last-child { border-bottom: 0; }
  .access dl div { grid-template-columns: 1fr; gap: .2rem; }
  footer { grid-template-columns: 1fr; padding: 3rem 20px; }
  .footer-links { justify-content: flex-start; }
  .copyright { text-align: left; }
  .story-hero { min-height: 700px; }
  .story-hero > img { height: 700px; object-position: 62% center; }
  .story-hero-shade { background: linear-gradient(0deg, rgba(2,10,24,.94) 0%, rgba(2,10,24,.52) 48%, rgba(2,10,24,.08) 85%); }
  .story-hero-copy { left: 20px; right: 20px; top: auto; bottom: 3.5rem; width: auto; transform: none; }
  .story-hero-copy h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .story-preface { gap: 2rem; }
  .story-chapter, .story-chapter.reverse { grid-template-columns: 82px minmax(0, 1fr); gap: 1.2rem; padding: 4rem 0; }
  .story-chapter.reverse .chapter-number, .story-chapter.reverse .chapter-copy { order: initial; }
  .chapter-number { min-height: 82px; height: 82px; }
  .chapter-number::after { inset: 7px; }
  .chapter-number span { top: -8px; font-size: .56rem; }
  .chapter-number b { font-size: 2.5rem; }
  .chapter-copy h2 { font-size: 1.75rem; }
  .chapter-copy blockquote { font-size: .95rem; }
  .football-facts { margin-top: 2.5rem; }
  .football-hero { min-height: auto; grid-template-columns: 1fr; gap: 2.2rem; padding: 110px 20px 0; }
  .football-hero > img { grid-column: 1; grid-row: 2; width: 100%; height: auto; max-height: none; justify-self: stretch; border: 0; opacity: 1; box-shadow: 0 18px 48px rgba(0,0,0,.35); }
  .football-hero-copy { grid-column: 1; grid-row: 1; align-self: auto; padding: 0; text-shadow: none; }
  .football-hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); line-height: 1.12; }
  .football-hero-copy .eyebrow { font-size: .64rem; letter-spacing: .16em; line-height: 1.55; }
  .football-hero-copy > p:not(.eyebrow):not(.status) { font-size: .92rem; line-height: 1.85; }
  .football-product { gap: 3rem; }
  .receive-photo img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
  .story-football-teaser { gap: 2.5rem; }
  .teaser-omamori { width: min(430px, 100%); margin: auto; }
  .gallery-omamori { padding: 2rem 1.2rem; }
  .gallery-omamori > img { height: auto; min-height: 0; }
}

@media (max-width: 390px) {
  .hero-actions .button { width: 100%; }
  .hero-facts dd { font-size: .6rem; }
}
