/* =========================================================
   アースデイ in 京都 2027 — トップページ
   PC（1440px想定）からスマホ（390px想定）まで1つのCSSで対応
   ========================================================= */

:root {
  --ink: #1E3527;        /* 文字・濃い緑 */
  --ink-2: #3F5E4A;      /* 補足の文字 */
  --green: #2F6B45;      /* 森の緑 */
  --meadow: #6EAF54;     /* 草原 */
  --sky: #DCEEF0;        /* 空 */
  --ground: #F4F6EC;     /* ページの地 */
  --sand: #F6E3B4;
  --line: #CBD3BC;
  --white: #FFFFFF;
  --accent: #F4C542;     /* お日さまの黄色（ボタン・番号） */
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --num: "Fraunces", Georgia, serif;
  --gutter: clamp(16px, 6.6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0ms !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2E6FD8; outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.nobr { white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1440px; margin: 0 auto; }
.wrap-narrow { padding-left: clamp(16px, 16.6vw, 240px); padding-right: clamp(16px, 16.6vw, 240px); }
.deco { position: absolute; pointer-events: none; user-select: none; }

/* 見出し */
.h-sec { text-wrap: balance; font-family: var(--round); font-weight: 900; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; }
.h-lg { font-size: clamp(28px, 3.4vw, 48px); }
.h-md { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.3; text-align: center; transition: transform 160ms ease, filter 160ms ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(0.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-sm { min-height: 48px; padding: 0 22px; }
.btn-xl { min-height: 78px; padding: 0 40px; font-size: 20px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 88px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--sky); transition: box-shadow 200ms; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(30, 53, 39, 0.10); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; transition: opacity 250ms ease, transform 250ms ease; }
.brand span { font-family: var(--round); font-weight: 900; font-size: 24px; transition: opacity 250ms ease, transform 250ms ease; }
.brand-year { font-style: normal; font-family: var(--num); font-weight: 800; margin-left: 0.15em; }
/* ページ上部のタイトルが見えている間は、ヘッダーの太陽と文字を隠す（JSが動くときだけ） */
.js .site-header .brand img,
.js .site-header .brand span { opacity: 0; transform: translateY(6px); visibility: hidden; transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms; }
.js .site-header.show-brand .brand img,
.js .site-header.show-brand .brand span { opacity: 1; transform: none; visibility: visible; transition: opacity 250ms ease, transform 250ms ease; }
.gnav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.gnav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.gnav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.menu-btn { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ドロワー */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(30, 53, 39, 0.45); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer-inner { position: relative; width: min(420px, 100%); height: 100%; overflow-y: auto; background: var(--ground); padding: 28px 28px 40px; display: flex; flex-direction: column; gap: 24px; }
.drawer-close { align-self: flex-end; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer-logo { width: 240px; }
.drawer nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
body.drawer-open { overflow: hidden; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; background: linear-gradient(var(--sky) 0 calc(100% - 200px), var(--meadow) calc(100% - 200px)); overflow: hidden; }
.hero-sun { position: absolute; left: 7.6%; top: 40px; width: clamp(80px, 11.8vw, 170px); z-index: 1; }
.hero-copy { position: relative; z-index: 2; padding: 44px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.hero-lead { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; font-size: clamp(14px, 1.2vw, 17px); font-weight: 700; }
.hero-lead .num { font-family: var(--num); font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); }
.hero h1 { font-family: var(--round); font-weight: 900; font-size: clamp(30px, 6.4vw, 92px); line-height: 1.05; letter-spacing: 0.02em; white-space: nowrap; }
.hero-ill { width: 100%; margin-top: clamp(-40px, -2vw, 0px); position: relative; z-index: 1; }

/* ---------- 写真スライド ---------- */
.photos { position: relative; background: var(--meadow); padding: 16px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.photos-bee { left: 10.4%; top: -30px; width: clamp(56px, 6.2vw, 90px); transform: rotate(-10deg); z-index: 3; }
.photos-walker { right: 10.4%; top: -64px; width: clamp(40px, 4.4vw, 64px); z-index: 3; }
.slider { --sw: min(960px, 66.6vw); --gap: 24px; position: relative; overflow: hidden; touch-action: pan-y; }
.slider-track { display: flex; gap: var(--gap); transition: transform 900ms cubic-bezier(.6, 0, .2, 1); will-change: transform; }
.slide { flex: 0 0 var(--sw); aspect-ratio: 960 / 540; border-radius: 36px; overflow: hidden; opacity: 0.55; transition: opacity 600ms; background: #5E9467; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.slider-caption { display: flex; align-items: center; gap: 14px; min-width: 0; }
.slider-caption strong { flex-shrink: 0; font-family: var(--round); font-weight: 900; font-size: 20px; }
.slider-ctrl { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 999px; background: #fff; }
.ctrl { width: 44px; height: 44px; border-radius: 999px; border: 0; background: #EEF1E4; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.ctrl:hover { background: #E1E7D3; }
.ctrl .i-play { display: none; }
.ctrl.is-paused .i-play { display: block; }
.ctrl.is-paused .i-pause { display: none; }
.dots { display: flex; gap: 8px; padding: 0 6px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #B9C7AE; cursor: pointer; transition: width 300ms, background 300ms; }
.dots button[aria-current="true"] { width: 26px; background: var(--ink); }
.counter { font-family: var(--num); font-weight: 800; font-size: 15px; width: 44px; text-align: center; }

/* ---------- 開催情報＋目的からさがす ---------- */
.venues-sec { background: var(--meadow); padding: 8px 0 72px; }
.meadow { position: relative; background: var(--meadow); padding: 0 0 90px; }
.finder { margin-top: 40px; }
.meadow > .wrap { display: flex; flex-direction: column; gap: 72px; }
.venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.venue { display: flex; align-items: center; gap: 28px; padding: 28px 36px; border-radius: 32px; background: #fff; color: var(--ink); text-decoration: none; transition: transform 160ms; }
.venue:hover { color: var(--ink); transform: translateY(-2px); }
.venue-date { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.venue-date .year { font-family: var(--num); font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: 0.06em; color: var(--green); }
.venue-date .date { font-family: var(--num); font-weight: 800; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; white-space: nowrap; }
.venue-date .date small { font-size: 0.43em; margin: 0 0.15em; }
.venue-date .label { font-size: 14px; font-weight: 700; color: var(--green); }
.venue-body { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; min-width: 0; }
.venue-name { font-family: var(--round); font-weight: 700; font-size: 22px; line-height: 1.4; }
.venue-name .nw { display: inline-block; }
.venue-desc { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.venue .arrow { flex-shrink: 0; }

.finder { position: relative; display: flex; flex-direction: column; gap: 28px; }
.finder-trail { left: 23%; top: -40px; width: 36%; height: auto; }
.finder-bee { left: 56%; top: -70px; width: 110px; transform: rotate(-8deg); }
.finder-windmill { right: -10px; top: -150px; width: 150px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none; transition: transform 160ms, box-shadow 160ms; }
.tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30, 53, 39, 0.12); }
.tile strong { font-size: 19px; }
.tile span { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.hill-bottom { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; display: block; }

/* ---------- 岡崎公園でのお楽しみ ---------- */
.events { position: relative; padding: 104px 0 260px; overflow-x: clip; }
.events .wrap { position: relative; }
.events-trumpet { right: 90px; top: -72px; width: 165px; transform: rotate(-6deg); }
.sec-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.sec-head p { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 80px; }
.card { display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-family: var(--round); font-weight: 700; font-size: 24px; line-height: 1.4; }
.card-sm h3 { font-size: 21px; line-height: 1.45; }
.card p { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.card .meta { font-size: 14px; font-weight: 700; color: var(--green); }
.ph { width: 100%; height: 200px; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-size: 14px; object-fit: cover; }
.ph.arch { height: 260px; border-radius: 120px 120px 28px 28px; }
.ph-night { background: #25374F; color: #DCE6F0; }
.ph-leaf { background: #B9D3A6; }
.ph-beer { background: #E4B75A; }
.ph-fire { background: #D98C4A; }
.ph-sky { background: #9CC4D4; }
.walk-deer { left: 7.6%; bottom: -8px; width: clamp(80px, 10.4vw, 150px); z-index: 2; }
.walk-boar { left: 20%; bottom: -4px; width: clamp(60px, 7.6vw, 110px); z-index: 2; }
.walk-family { right: 10.4%; bottom: -6px; width: clamp(90px, 11.8vw, 170px); z-index: 2; }

/* ---------- アクション10 ---------- */
.action { position: relative; margin: 0 48px; border-radius: 56px; background: var(--ink); color: #fff; padding: 88px 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; }
.action-title { grid-column: 1 / -1; white-space: nowrap; padding-right: 160px; }
.sp-br { display: none; }
.action-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.action-intro p { font-size: 17px; line-height: 1.9; color: #D5E2D2; max-width: 460px; margin-bottom: 12px; }
.action-btns { display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: max-content; max-width: 100%; }
.action-whale { position: absolute; right: 64px; top: 40px; width: 150px; pointer-events: none; }
.action-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; counter-reset: none; }
.action-list li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #3E5A48; font-size: 16px; line-height: 1.5; }
.action-list span { flex-shrink: 0; width: 28px; font-family: var(--num); font-weight: 800; font-size: 22px; color: var(--accent); }

/* ---------- ニュース・イベント日程 ---------- */
.lists { padding-top: 150px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.list-col { position: relative; display: flex; flex-direction: column; gap: 24px; }
.news-reader { left: 200px; top: -150px; width: 88px; }
.news-walker { left: 270px; top: -150px; width: 80px; }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; }
.list-head a { font-weight: 700; font-size: 15px; }
.list { border-top: 2px solid var(--ink); }
.list a { display: flex; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.6; }
.list a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.list .tag { flex-shrink: 0; width: 88px; font-size: 13px; font-weight: 700; color: var(--green); }
.list-date a { gap: 24px; padding: 18px 0; }
.list .d { flex-shrink: 0; width: 104px; font-family: var(--num); font-weight: 800; font-size: 24px; }

/* ---------- ニュース（カード） ---------- */
.news-sec { position: relative; padding: 140px 0 110px; overflow-x: clip; }
.news-sec .wrap { position: relative; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.news-all { font-weight: 700; font-size: 15px; white-space: nowrap; }
.news-sec .cards { margin-top: 48px; }
.news-sec .card { color: var(--ink); text-decoration: none; }
.news-sec .card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.news-sec .news-reader { left: 360px; top: -35px; width: 62px; }

/* ---------- マイ食器・ライブ配信 ---------- */
.duo { padding-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.panel { position: relative; border-radius: 40px; padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.panel p { font-size: 16px; line-height: 1.9; }
.panel-sand { background: var(--sand); }
.panel-sky { background: var(--sky); }
.panel-sky p { color: var(--ink-2); }
.deposit { display: flex; gap: 12px; margin-top: 6px; }
.deposit > div { flex: 1; padding: 18px 20px; border-radius: 20px; background: #fff; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.deposit .k { font-weight: 700; color: #6B4A2E; }
.deposit .v { font-family: var(--num); font-weight: 800; font-size: 28px; line-height: 1.2; }
.live-ship { position: absolute; right: 40px; top: 34px; width: 150px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 主催・協賛 ---------- */
.supporters { margin: 0 48px; border-radius: 48px; padding: 72px 72px 88px; background: #fff; display: flex; flex-direction: column; gap: 16px; }
.supporters h2 { font-family: var(--round); font-weight: 700; font-size: 22px; margin-top: 20px; }
.org { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; font-size: 15px; line-height: 1.8; }
.org span { font-weight: 700; color: var(--green); margin-right: 20px; }
.logos { display: grid; gap: 12px; }
.logos li { border-radius: 16px; background: #F1F4EC; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #5A6F5F; }
.logos-lg { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.logos-lg li { height: 84px; }
.logos-sm { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.logos-sm li { height: 60px; border-radius: 12px; font-size: 11px; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 0; overflow-x: clip; }
.ridge { position: relative; height: 300px; overflow-x: clip; }
.ridge-hill { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; display: block; }
.ridge img { position: absolute; }
.mt { bottom: 0; }
.mt-l { left: -20px; width: 48.6%; }
.mt-r { right: -40px; width: 43%; transform: scaleX(-1); }
.r-windmill { left: 48.6%; bottom: 60px; width: 120px; }
.r-tree { left: 44.4%; bottom: -6px; width: 90px; }
.r-pine { left: 59%; bottom: -4px; width: 64px; }
.r-sun { right: 18%; top: -10px; width: 120px; }
.to-top { position: absolute; left: 50%; top: 80px; margin-left: -32px; width: 64px; height: 64px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: 0 6px 16px rgba(30, 53, 39, 0.15); }
.access { background: var(--meadow); padding: 32px var(--gutter) 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.access-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.access .addr { font-size: 15px; line-height: 1.7; }
.access .addr strong { font-size: 17px; }
.access ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.access ul li { padding-left: 1.2em; position: relative; }
.access ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.access .note { font-size: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); }
.map { position: relative; height: 360px; border-radius: 40px; background: #CFE3C4; }
.map iframe { width: 100%; height: 100%; border: 0; border-radius: 40px; display: block; }
.map-torii { position: absolute; right: -24px; bottom: -40px; width: 170px; pointer-events: none; }
.foot { background: var(--green); color: #fff; padding: 64px var(--gutter) 48px; display: flex; flex-direction: column; gap: 44px; }
.foot-top { display: flex; justify-content: space-between; gap: 64px; }
.foot-brand { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.foot-brand img { width: 340px; }
.foot-brand p { font-size: 15px; line-height: 1.9; color: #DCEBD9; }
.foot-sns { display: flex; gap: 8px; }
.foot-sns a { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; font-size: 15px; }
.foot-nav div { display: flex; flex-direction: column; gap: 12px; }
.foot-nav span { font-weight: 700; color: var(--accent); }
.foot-nav a { color: #fff; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; color: #fff; }
.copy { padding-top: 24px; border-top: 1px solid #5E9467; font-size: 13px; color: #DCEBD9; }

/* スマホのタブバー（PCでは非表示） */
.tabbar { display: none; }

/* =========================================================
   タブレット（1180px以下）
   ========================================================= */
/* ヘッダーのメニューが収まらない幅では、メニューボタンにまとめる */
@media (max-width: 1359px) {
  .gnav { display: none; }
}

@media (max-width: 1180px) {
  .map { height: 540px; }
  .site-header { padding: 0 24px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue { position: relative; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 64px 26px 30px; }
  .venue .arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
  .action { margin: 0 24px; padding: 64px 48px; grid-template-columns: 1fr; gap: 32px; }
  .action-whale { right: 40px; top: 28px; width: 120px; }
  .supporters { margin: 0 24px; padding: 56px 40px 64px; }
  .logos-lg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos-sm { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .events-trumpet { width: 135px; right: 24px; }
  .foot-top { flex-direction: column; gap: 40px; }
}

/* =========================================================
   スマホ（767px以下）
   ========================================================= */
@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 92px; }
  html { scroll-padding-top: 72px; }
  .site-header { height: 64px; padding: 0 12px 0 14px; }
  .brand { gap: 6px; }
  .brand img { width: 40px; height: 40px; }
  .site-header { gap: 6px; }
  .brand span { font-size: 16px; }
  .header-cta { display: none; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 40px; height: 44px; }
  .menu-btn { width: 44px; height: 44px; margin-left: 4px; }

  .hero { background: linear-gradient(var(--sky) 0 calc(100% - 90px), var(--meadow) calc(100% - 90px)); }
  .hero-sun { left: 10px; top: 10px; width: 64px; }
  .hero-copy { padding-top: 20px; gap: 8px; }
  .hero-lead { font-size: 13px; }
  .hero-lead .num { font-size: 17px; }
  .hero h1 { font-size: min(10.4vw, 44px); line-height: 1.1; letter-spacing: 0; }
  .hero-ill { margin-top: 0; width: 105%; max-width: none; margin-left: -2.5%; }

  .photos { padding: 8px 0 12px; gap: 12px; }
  .photos-bee { left: auto; right: 20px; top: -22px; width: 60px; }
  .photos-walker { display: none; }
  .slider { --sw: calc(100vw - 60px); --gap: 12px; }
  .slide { aspect-ratio: 330 / 400; border-radius: 26px; }
  .slider-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 30px; }
  .slider-caption { display: none; }
  .slider-ctrl { gap: 6px; padding: 6px; }
  .ctrl { width: 40px; height: 40px; }
  .dots { display: none; }

  .venues-sec { padding: 4px 0 44px; }
  .meadow { padding: 0 0 48px; }
  .finder { margin-top: 24px; }
  .meadow > .wrap { gap: 40px; }
  .venues { grid-template-columns: 1fr; gap: 12px; }
  .venue { padding: 20px 22px; gap: 8px; flex-direction: column; align-items: stretch; border-radius: 26px; }
  .venue .arrow { display: none; }
  .venue-date .year { font-size: 14px; }
  .venue-date .date { font-size: 28px; }
  .venue-name { font-size: 18px; }
  .venue-desc { display: none; }
  .finder { gap: 16px; }
  .finder-trail, .finder-windmill { display: none; }
  .finder-bee { left: auto; right: 10px; top: -30px; width: 76px; }
  .tiles { gap: 10px; }
  .tile { padding: 18px; gap: 10px; border-radius: 22px; }
  .tile svg { width: 28px; height: 28px; }
  .tile strong { font-size: 15px; }
  .tile span { display: none; }
  .hill-bottom { height: 30px; }

  .events { padding: 48px 0 150px; }
  .events-trumpet { right: 4px; top: -26px; width: 69px; }
  .sec-head { padding-right: 56px; }
  .sec-head .h-lg { font-size: 26px; }
  .sec-head p { font-size: 14px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin: 24px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 270px; scroll-snap-align: start; gap: 10px; }
  .card h3, .card-sm h3 { font-size: 18px; line-height: 1.45; }
  .card p { display: none; }
  .card .meta { font-size: 13px; }
  .ph, .ph.arch { height: 170px; font-size: 12px; }
  .ph.arch { border-radius: 90px 90px 22px 22px; }
  .walk-deer { left: 30px; width: 90px; bottom: -4px; }
  .walk-boar { display: none; }
  .walk-family { right: 30px; width: 100px; bottom: -4px; }

  .action { margin: 0 12px; border-radius: 34px; padding: 40px 20px; gap: 18px; }
  .action-intro { gap: 14px; }
  .action-intro p { font-size: 14px; margin-bottom: 4px; }
  .action-title { white-space: normal; padding-right: 70px; }
  .sp-br { display: inline; }
  .action-btns { width: 100%; gap: 12px; }
  .btn-xl { width: 100%; min-height: 73px; padding: 0 8px; font-size: clamp(15px, 4.7vw, 19px); letter-spacing: -0.02em; white-space: nowrap; }
  .action-whale { right: 18px; top: 26px; width: 72px; }
  .action-list { grid-template-columns: 1fr; }
  .action-list li { padding: 12px 0; font-size: 15px; }
  .action-list span { font-size: 18px; width: 24px; }

  .lists { padding-top: 110px; padding-bottom: 40px; grid-template-columns: 1fr; gap: 64px; }
  .news-sec { padding: 96px 0 48px; }
  .news-sec .cards { margin-top: 24px; }
  .news-sec .news-reader { left: 150px; top: -32px; width: 36px; }
  .news-walker { left: auto; right: 112px; top: -78px; width: 46px; }
  .list a { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 0; font-size: 15px; }
  .list .tag { width: auto; font-size: 12px; }
  .list-date a { flex-direction: row; align-items: baseline; gap: 14px; }
  .list .d { width: 76px; font-size: 18px; }

  .duo { grid-template-columns: 1fr; gap: 16px; padding: 0 12px 48px; }
  .panel { border-radius: 30px; padding: 32px 24px; gap: 12px; }
  .panel p { font-size: 14px; line-height: 1.85; }
  .deposit .v { font-size: 22px; }
  .live-ship { width: 90px; right: 18px; top: 22px; }

  .supporters { margin: 0 12px; border-radius: 30px; padding: 32px 20px 40px; }
  .org { grid-template-columns: 1fr; font-size: 14px; }
  .logos-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos-lg li { height: 60px; }
  .logos-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos-sm li { height: 44px; }

  .site-footer { margin-top: 40px; }
  .ridge { height: 150px; }
  .ridge-hill { height: 80px; }
  .mt-l { left: -30px; width: 78%; }
  .mt-r { right: -60px; width: 62%; }
  .r-windmill, .r-tree, .r-sun { display: none; }
  .r-pine { left: 61%; width: 34px; }
  .to-top { top: 20px; width: 52px; height: 52px; margin-left: -26px; }
  .access { grid-template-columns: 1fr; gap: 28px; padding: 20px 20px 56px; }
  .access ul { font-size: 14px; }
  .map { height: 390px; border-radius: 28px; }
  .map iframe { border-radius: 28px; }
  .map-torii { width: 96px; right: -6px; bottom: -28px; }
  .foot { padding: 40px 20px 32px; gap: 28px; }
  .foot-brand img { width: 230px; }
  .foot-brand p { font-size: 14px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 14px; }
  .foot-past { grid-column: 1 / -1; flex-direction: row !important; flex-wrap: wrap; gap: 8px 22px !important; }
  .foot-past span { width: 100%; }

  .tabbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; height: 68px; border-radius: 999px; background: var(--ink); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; box-shadow: 0 8px 24px rgba(30, 53, 39, 0.25); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; text-decoration: none; font-size: 11px; }
  .tabbar .tab-cta { margin: 0 8px; height: 52px; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; }
}

/* とても狭い画面（360px未満） */
/* 幅の狭いスマホ：ヘッダーを少し小さく */
/* 小さめのタブレット・横向きスマホ（540〜767px）：開催情報は左右2列 */
@media (min-width: 540px) and (max-width: 767px) {
  .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 379px) {
  .site-header { padding: 0 8px 0 10px; }
  .brand { gap: 4px; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 13px; }
  .icon-btn { width: 34px; }
  .menu-btn { width: 40px; height: 40px; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 10.4vw; }
  .btn-xl { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
}

/* =========================================================
   下層ページ共通／ABOUT（アースデイ in 京都とは）
   ========================================================= */
.pc-br { display: inline; }
.page-hero { position: relative; background: var(--sky); padding: 72px 0 150px; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 24px; }
.crumbs a { color: var(--ink-2); }
.page-hero-en { font-family: var(--num); font-weight: 800; font-size: 18px; letter-spacing: 0.3em; color: var(--green); }
.page-hero h1 { font-family: var(--round); font-weight: 900; font-size: clamp(30px, 5.2vw, 64px); line-height: 1.2; white-space: nowrap; }
.page-hero-lead { font-weight: 700; font-size: clamp(15px, 1.3vw, 18px); }
.page-hero .hill-bottom { z-index: 1; }
.ph-sun { left: 9%; top: 40px; width: clamp(70px, 9vw, 130px); }
.ph-windmill { left: 16%; bottom: 40px; width: clamp(60px, 7vw, 110px); z-index: 1; }
.ph-bee { right: 18%; top: 70px; width: clamp(44px, 5vw, 76px); transform: rotate(-10deg); }
.ph-walker { right: 26%; bottom: 36px; width: clamp(34px, 3.6vw, 52px); z-index: 2; }
.ph-family { right: 9%; bottom: 30px; width: clamp(70px, 8vw, 120px); z-index: 2; }

.ab-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.ab-intro-text { display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.ab-intro-text p { font-size: 17px; line-height: 2; }
.ab-intro-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px 36px 36px; }

.ab-venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 110px; }
.ab-venue { display: flex; flex-direction: column; border-radius: 40px; overflow: hidden; background: #fff; }
.ab-venue > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ab-venue-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 40px 40px 36px; flex-grow: 1; }
.ab-venue-body > p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.ab-venue-body > p.ab-venue-kind { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 0.08em; }
.ab-venue h3 { font-family: var(--round); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; }
.ab-venue-body > p.ab-venue-date { font-family: var(--num); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; }
.ab-venue-date .year { width: 100%; font-size: 15px; letter-spacing: 0.06em; color: var(--green); }
.ab-venue-date small { font-size: 0.45em; }
.ab-venue-date .dur { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--green); margin-left: 12px; }
.ab-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-tags li { padding: 5px 14px; border-radius: 999px; background: #EEF1E4; font-size: 13px; font-weight: 700; }
.ab-venue .btn { margin-top: auto; }
/* 岡崎公園＝若葉の緑、サテライト＝ひだまりの黄色で見分ける */
.ab-venue-main { background: #E4F0D8; }
.ab-venue-sat { background: #FBEFC9; }
.ab-venue-main .ab-tags li, .ab-venue-sat .ab-tags li { background: rgba(255, 255, 255, 0.75); }
.ab-venue-sat .ab-venue-body > p.ab-venue-kind, .ab-venue-sat .ab-venue-date .year, .ab-venue-sat .ab-venue-date .dur { color: #8A5A12; }
.ab-venue-main .btn-accent { background: var(--green); color: #fff; }

.ab-outline { padding-bottom: 120px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
.outline { border-top: 2px solid var(--ink); }
.outline > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.outline dt { font-weight: 700; color: var(--green); }
.outline dd { margin: 0; line-height: 1.8; }

.ab-history { position: relative; margin: 0 48px; border-radius: 56px; background: var(--ink); color: #fff; padding: 88px 0; }
.ab-history .wrap { position: relative; padding-left: 96px; padding-right: 96px; display: flex; flex-direction: column; gap: 24px; }
.hist-whale { right: 64px; top: -40px; width: 150px; }
.ab-history-lead { font-size: 17px; line-height: 2; color: #D5E2D2; max-width: 760px; }
.timeline { position: relative; margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: #3E5A48; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.t-year { position: relative; align-self: flex-start; padding: 8px 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-family: var(--num); font-weight: 800; font-size: 22px; line-height: 1.2; }
.timeline strong { display: block; font-family: var(--round); font-size: 18px; line-height: 1.45; margin-bottom: 8px; }
.timeline p { font-size: 14px; line-height: 1.8; color: #D5E2D2; }

.ab-planet { padding-top: 120px; padding-bottom: 110px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.planet-fig { display: flex; justify-content: center; align-items: center; gap: 2%; }
.earth { width: 31%; height: auto; aspect-ratio: 1; }
.earth-part { -webkit-mask: conic-gradient(from 0deg, #000 0 324deg, transparent 324deg); mask: conic-gradient(from 0deg, #000 0 324deg, transparent 324deg); }
.planet-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.planet-text > p { font-size: 16px; line-height: 2; }
.planet-num { font-weight: 700; font-size: 20px; color: var(--green); line-height: 1; margin-bottom: -6px; }
.planet-num span { font-family: var(--num); font-weight: 800; font-size: clamp(72px, 8vw, 120px); color: var(--ink); margin-right: 6px; }
.planet-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; width: max-content; max-width: 100%; }
.planet-btns .btn { min-height: 64px; font-size: 18px; padding: 0 34px; }

.ab-closing { position: relative; background: var(--meadow); padding: 96px 0 110px; text-align: center; overflow: hidden; }
.closing-msg { font-family: var(--round); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.8; }
.closing-sign { margin-top: 18px; font-weight: 700; color: var(--ink-2); }
.cl-deer { left: 8%; bottom: 0; width: clamp(70px, 9vw, 130px); }
.cl-boar { right: 10%; bottom: 0; width: clamp(60px, 7vw, 100px); }

.ab-past { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.past-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.past-list a { display: flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-family: var(--num); font-weight: 800; font-size: 20px; }
.past-list a:hover { background: var(--ink); color: #fff; }
.gnav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 1180px) {
  .ab-intro { gap: 40px; }
  .ab-venues { grid-template-columns: 1fr; }
  .ab-outline { grid-template-columns: 1fr; gap: 20px; }
  .ab-history { margin: 0 24px; }
  .ab-history .wrap { padding-left: 48px; padding-right: 48px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 44px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 0 0 28px; }
  .t-year { justify-self: center; }
  .ab-planet { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .pc-br { display: none; }
  .page-hero { padding: 40px 0 110px; }
  .crumbs { margin-bottom: 12px; }
  .page-hero-en { font-size: 14px; }
  .ph-sun { left: 10px; top: 14px; }
  .ph-windmill { left: 8px; bottom: 30px; }
  .ph-bee { right: 14px; top: 20px; }
  .ph-walker { right: 34%; bottom: 26px; }
  .ph-family { right: 14px; bottom: 22px; }

  .ab-intro { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; gap: 28px; }
  .ab-intro-text p { font-size: 15px; line-height: 1.95; }
  .ab-intro-photo img { border-radius: 140px 140px 26px 26px; }
  .ab-venues { gap: 16px; padding: 0 12px 64px; }
  .ab-venue { border-radius: 28px; }
  .ab-venue-body { padding: 24px 22px 28px; gap: 12px; }
  .ab-venue .btn { width: 100%; }
  .ab-outline { padding-bottom: 64px; }
  .outline > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .outline dd { font-size: 15px; }
  .ab-history { margin: 0 12px; border-radius: 34px; padding: 48px 0; }
  .ab-history .wrap { padding-left: 20px; padding-right: 20px; gap: 16px; }
  .hist-whale { right: 14px; top: -30px; width: 76px; }
  .ab-history-lead { font-size: 14px; }
  .timeline { margin-top: 16px; }
  .timeline::before { left: 32px; }
  .timeline li { grid-template-columns: 66px minmax(0, 1fr); gap: 14px; }
  .t-year { font-size: 16px; padding: 6px 12px; }
  .timeline strong { font-size: 16px; }
  .timeline p { font-size: 13px; }
  .ab-planet { padding-top: 64px; padding-bottom: 64px; gap: 28px; }
  .planet-text > p { font-size: 15px; line-height: 1.95; }
  .planet-btns { width: 100%; }
  .planet-btns .btn { width: 100%; min-height: 60px; font-size: clamp(15px, 4.4vw, 18px); padding: 0 10px; white-space: nowrap; }
  .ab-closing { padding: 56px 0 96px; }
  .ab-past { padding-top: 56px; }
  .past-list a { min-height: 44px; padding: 0 18px; font-size: 17px; }
}

/* アースデイとは（ページ冒頭）・見出しの補助 */
.about .ab-history { margin-top: 72px; }
.ab-eyebrow { font-family: var(--num); font-weight: 800; font-size: 14px; letter-spacing: 0.14em; color: var(--green); }
.ab-history .ab-eyebrow { color: var(--accent); }
.ab-history-catch { font-family: var(--round); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.5; }
.ab-intro-catch { font-family: var(--round); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.5; color: var(--green); }
.hist-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin-top: 8px; }
.hist-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: #fff; }
@media (max-width: 767px) {
  .about .ab-history { margin-top: 40px; }
  .hist-photos { gap: 10px; }
  .hist-photos img { border-radius: 16px; }
  .ab-eyebrow { font-size: 12px; }
}

/* アースデイとは：冒頭は枠なし、地球2.9個分は枠付き */
.about .ab-history { margin: 72px 0 0; padding: 0; border-radius: 0; background: none; color: var(--ink); }
.about .ab-history .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.about .ab-history .ab-eyebrow { color: var(--green); }
.about .ab-history-lead { color: var(--ink-2); }
.about .timeline::before { background: #CFDCC8; }
.about .timeline p { color: var(--ink-2); }
.about .ab-planet { display: block; padding-top: 96px; padding-bottom: 110px; }
.planet-box { background: var(--ink); color: #fff; border-radius: 56px; padding: 80px 96px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 36px; }
.planet-title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.35; color: #fff; }
.planet-visual { display: flex; align-items: center; justify-content: center; gap: 28px; width: 100%; max-width: 860px; }
.planet-visual .planet-fig { flex: 1; }
.about .planet-num { color: var(--accent); margin: 0; white-space: nowrap; }
.about .planet-num span { color: #fff; }
.about .planet-text { align-items: center; max-width: 780px; }
.about .planet-text > p { color: #D5E2D2; }
.about .planet-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; }
@media (max-width: 1180px) {
  .planet-box { padding: 64px 48px; }
}
@media (max-width: 767px) {
  .about .ab-planet { padding-top: 56px; padding-bottom: 64px; }
  .planet-box { padding: 44px 20px; border-radius: 34px; gap: 24px; }
  .planet-title { font-size: clamp(26px, 7.4vw, 34px); }
  .planet-visual { flex-direction: column; gap: 10px; }
  .about .planet-text > p { text-align: left; }
  .about .planet-btns { flex-direction: column; width: 100%; }
}

.about .ab-history-catch { margin-top: 1.6em; }

.ab-intro-title { white-space: nowrap; }
@media (max-width: 767px) { .ab-intro-title { font-size: clamp(22px, 7vw, 32px); } }

/* トップ：開催概要の枠 */
.home-outline { padding-top: 96px; }
.home-outline-box { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 56px 64px; border-radius: 40px; background: #fff; }
@media (max-width: 1180px) { .home-outline-box { grid-template-columns: 1fr; gap: 20px; padding: 48px 40px; } }
@media (max-width: 767px) {
  .home-outline { padding-top: 56px; }
  .home-outline-box { padding: 32px 22px; border-radius: 28px; }
}

/* トップのタイトル：3行を中央揃え */
.hero-year { font-family: var(--num); font-weight: 800; font-size: clamp(26px, 5.6vw, 80px); line-height: 1; letter-spacing: 0.02em; margin-top: 4px; }
@media (max-width: 767px) {
  .hero-year { font-size: min(9vw, 38px); margin-top: 2px; }
}
