:root {
    --red: #e3122f;
    --red-dark: #bb0b23;
    --navy: #071a3d;
    --navy-2: #0c2855;
    --blue: #145ac6;
    --sky: #eaf7ff;
    --gold: #f3bb3d;
    --cream: #fffaf0;
    --white: #ffffff;
    --ink: #10213a;
    --muted: #61708a;
    --line: rgba(16, 33, 58, .13);
    --shadow: 0 22px 60px rgba(7, 26, 61, .16);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-h: 76px;
    --side-stripe: 8px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    width: var(--side-stripe);
    background: var(--red);
    pointer-events: none;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }
  :focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
  .skip-link {
    position: fixed; left: 12px; top: 12px; z-index: 2000;
    transform: translateY(-160%); padding: 10px 16px; border-radius: 8px;
    background: #fff; color: var(--navy); font-weight: 800;
  }
  .skip-link:focus { transform: translateY(0); }
  .container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
  .section { position: relative; padding: 86px 0; }
  .section-kicker {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
    color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .18em;
    text-transform: uppercase; font-style: italic;
  }
  .section-kicker::before { content: ""; width: 34px; height: 4px; background: var(--gold); border-radius: 99px; }
  .section-title { margin: 0; color: var(--navy); font-size: clamp(2rem, 6.8vw, 4.4rem); line-height: 1.18; letter-spacing: -.04em; }
  .section-title strong { color: var(--red); }
  .section-lead { margin: 22px 0 0; color: var(--muted); font-size: 1rem; }
  .mini-en { font-size: .76rem; font-weight: 900; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
  .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
    font-weight: 900; line-height: 1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  }
  .btn:hover { transform: translateY(-3px); }
  .btn-primary { color: #fff; background: var(--red); box-shadow: 0 14px 30px rgba(227, 18, 47, .28); }
  .btn-primary:hover { background: var(--red-dark); }
  .btn-secondary { color: var(--navy); background: #fff; border-color: rgba(7, 26, 61, .12); box-shadow: 0 12px 30px rgba(7, 26, 61, .1); }
  .btn-arrow { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); }
  .btn-secondary .btn-arrow { color: #fff; background: var(--blue); }

  /* Hero */
  .hero {
    position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden;
    padding: calc(var(--header-h) + 64px) 0 90px; color: #fff; background: var(--navy);
  }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; filter: saturate(1.1) contrast(1.03); transform: scale(1.015); }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(5,20,49,.96) 0%, rgba(5,20,49,.88) 44%, rgba(5,20,49,.42) 72%, rgba(5,20,49,.52) 100%),
      linear-gradient(180deg, rgba(5,20,49,.2) 0%, rgba(5,20,49,.18) 55%, rgba(5,20,49,.78) 100%);
  }
  .hero::before {
    content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 9px; background: var(--red);
  }
  .hero::after {
    content: ""; position: absolute; z-index: 2; inset: 0; opacity: .05;
    background: repeating-radial-gradient(circle at 0 100%, transparent 0 28px, #fff 29px 31px, transparent 32px 58px);
    transform-origin: 0 100%; animation: heroRipples 5s ease-out infinite; pointer-events: none; will-change: transform, opacity;
  }
  @keyframes heroRipples {
    0% { transform: scale(1); opacity: .05; }
    24% { opacity: .13; }
    100% { transform: scale(1.12); opacity: 0; }
  }
  .hero-lines { position: absolute; z-index: 2; inset: 0; pointer-events: none; overflow: hidden; }
  .hero-lines i { position: absolute; display: block; height: 2px; background: rgba(255,255,255,.18); transform: rotate(-17deg); transform-origin: right center; }
  .hero-lines i:nth-child(1) { width: 430px; right: -80px; top: 34%; }
  .hero-lines i:nth-child(2) { width: 340px; right: -60px; top: 39%; }
  .hero-lines i:nth-child(3) { width: 250px; right: -30px; top: 44%; }
  .hero-inner { position: relative; z-index: 3; }
  .hero-grid { display: grid; gap: 44px; align-items: center; }
  .hero-copy { max-width: 740px; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 10px 15px; border-radius: 9px;
    background: var(--red); color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(227,18,47,.25);
  }
  .hero-badge::before { content: ""; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; }
  .hero-title { margin: 0; line-height: 1.05; letter-spacing: -.05em; }
  .hero-title .main { display: block; font-size: clamp(3.1rem, 14.5vw, 7rem); font-weight: 900; text-shadow: 0 8px 34px rgba(0,0,0,.25); }
  .hero-title .main span { display: block; }
  .hero-title .sub { display: block; margin-top: 16px; font-size: clamp(1.5rem, 6vw, 3.2rem); font-weight: 700; letter-spacing: .02em; }
  .hero-gold-line { width: min(520px, 82%); height: 5px; margin: 32px 0 24px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), rgba(243,187,61,.18)); }
  .hero-lead { max-width: 650px; margin: 0; font-size: clamp(1rem, 3.9vw, 1.3rem); font-weight: 600; line-height: 1.9; text-shadow: 0 3px 18px rgba(0,0,0,.28); }
  .hero .btn-secondary { background: rgba(255,255,255,.94); }
  .hero-side { display: grid; gap: 16px; }
  .hero-logo-card {
    display: none; align-items: center; justify-content: center; padding: 24px 30px; border-radius: 28px;
    background: rgba(255,255,255,.95); box-shadow: 0 25px 60px rgba(0,0,0,.2); backdrop-filter: blur(8px);
  }
  .hero-logo-card img { width: min(330px, 100%); max-height: 150px; object-fit: contain; }
  .event-card {
    position: relative; overflow: hidden; padding: 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 24px;
    background: rgba(7,26,61,.72); box-shadow: 0 22px 55px rgba(0,0,0,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .event-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--red) 0 64%, var(--gold) 64%); }
  .event-label { margin: 0 0 10px; font-size: .72rem; font-weight: 900; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
  .event-date { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; line-height: 1; }
  .event-date strong { font-size: clamp(2.5rem, 12vw, 4.8rem); letter-spacing: -.06em; }
  .event-date span { margin-bottom: 7px; color: var(--gold); font-weight: 900; font-style: italic; }
  .event-details table, .event-details tbody { display: block; width: 100%; margin: 0; border: 0; }
  .event-details tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .event-details tr { display: flex; min-width: 0; flex-direction: column; padding: 12px; border: 0; border-radius: 12px; background: rgba(255,255,255,.09); }
  .event-details tr:first-child { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; background: transparent; }
  .event-details th, .event-details td { display: block; width: auto; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; overflow-wrap: anywhere; }
  .event-details th { color: rgba(255,255,255,.68); font-size: .68rem; font-weight: 400; }
  .event-details td { margin-top: 2px; font-size: .91rem; font-weight: 900; }
  .event-details tr:first-child th { display: none; }
  .event-details tr:first-child td { margin: 0; font-size: 1.05rem; }
  .countdown { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: .82rem; font-weight: 800; }
  .countdown strong { display: inline-flex; align-items: baseline; justify-content: center; min-width: 46px; height: 34px; padding: 0 8px; border-radius: 8px; background: var(--red); font-size: 1.08rem; line-height: 34px; white-space: nowrap; }
  .countdown #countdownPulse { display: inline-block; margin-left: 1px; animation: countdownPulse 1.6s steps(1, end) infinite; }
  @keyframes countdownPulse { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
  .hero-scroll { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .61rem; font-weight: 800; letter-spacing: .18em; }
  .hero-scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); animation: scrollLine 1.8s ease-in-out infinite; }
  @keyframes scrollLine { 0%,100% { transform: scaleY(.35); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

  /* Quick links */
  .quick-wrap { position: relative; z-index: 10; margin-top: -34px; }
  .quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .quick-link {
    position: relative; min-height: 118px; padding: 18px 14px; overflow: hidden; border-radius: 18px;
    color: var(--navy); background: #fff; box-shadow: var(--shadow); transition: transform .25s ease, background .25s ease, color .25s ease;
  }
  .quick-link::after { content: "\f061"; position: absolute; right: 13px; bottom: 9px; color: var(--red); font-family: "Font Awesome 6 Free"; font-size: 1rem; font-weight: 900; }
  .quick-link:hover { transform: translateY(-6px); color: #fff; background: var(--blue); }
  .quick-link:hover::after { color: var(--gold); }
  .quick-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 12px; color: #fff; background: var(--red); }
  .quick-icon i { font-size: 1.2rem; }
  .quick-link:hover .quick-icon { color: var(--navy); background: var(--gold); }
  .quick-link b { display: block; font-size: .92rem; line-height: 1.35; }
  .quick-link small { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 800; }
  .quick-link:hover small { color: rgba(255,255,255,.75); }

  /* Event section */
  .event-section { overflow: hidden; background: linear-gradient(135deg, #f6fbff 0%, var(--sky) 55%, #fff 55%); }
  .event-section::before { content: "2026"; position: absolute; right: -30px; top: 10px; color: rgba(20,90,198,.045); font-size: clamp(8rem, 30vw, 22rem); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
  .event-layout { position: relative; display: grid; gap: 34px; }
  .scoreboard {
    position: relative; overflow: hidden; padding: 28px 22px; border-radius: 28px; color: #fff; background: var(--navy);
    box-shadow: 0 28px 70px rgba(7,26,61,.2);
  }
  .scoreboard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0 72%, rgba(255,255,255,.07) 72%); }
  .score-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .score-top span { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
  .live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 99px; background: rgba(227,18,47,.18); color: #fff !important; letter-spacing: .05em !important; }
  .live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(227,18,47,.18); }
  .score-date { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding: 24px 0 20px; }
  .score-date .numbers { font-size: clamp(3.7rem, 17vw, 7rem); font-weight: 900; line-height: .85; letter-spacing: -.07em; }
  .score-date .weekday { color: var(--gold); font-size: 1.25rem; font-weight: 900; font-style: italic; }
  .score-date .year { display: block; margin-bottom: 8px; color: rgba(255,255,255,.62); font-size: .78rem; letter-spacing: .16em; }
  .event-section__head { margin-bottom: 36px; }
  .festival-events { position: relative; display: grid; gap: 34px; }
  .festival-event { padding: 26px 20px; border: 1px solid rgba(20,90,198,.12); border-radius: 30px; background: rgba(255,255,255,.72); box-shadow: 0 20px 55px rgba(7,26,61,.08); transition: filter .2s ease, opacity .2s ease; }
  .festival-event.is-main-parade { border: 2px solid var(--red); background: #fff; box-shadow: 0 20px 55px rgba(227,18,47,.12); }
  .festival-event__copy { align-self: center; }
  .festival-event .section-title { font-size: clamp(2rem, 7vw, 4rem); }
  .festival-event .scoreboard { align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-height: 280px; }
  .festival-card-time { position: relative; display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); line-height: 1.6; }
  .festival-card-time span { color: rgba(255,255,255,.58); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
  .festival-card-time strong { color: #fff; font-size: 1rem; font-weight: 800; }
  .festival-event.is-past { filter: grayscale(1); opacity: .48; }

  /* About */
  .about-section { background: #fff; }
  .about-grid { display: grid; gap: 40px; align-items: center; }
  .about-visual { position: relative; min-height: 430px; }
  .about-photo { position: absolute; inset: 0 24px 38px 0; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
  .about-photo img { width: 100%; height: 100%; object-fit: cover; }
  .about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(7,26,61,.5)); }
  .about-stamp {
    position: absolute; right: 0; bottom: 0; width: 138px; height: 138px; display: grid; place-items: center; padding: 18px;
    border-radius: 50%; color: #fff; background: var(--red); box-shadow: 0 18px 35px rgba(227,18,47,.28); text-align: center;
  }
  .about-stamp strong { font-size: 2rem; line-height: 1; }
  .about-stamp span { display: block; margin-top: 5px; font-size: .67rem; font-weight: 900; line-height: 1.3; }
  .about-copy .section-title { font-size: clamp(2.25rem, 8vw, 4.6rem); }
  .about-copy p { color: var(--muted); }
  .about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
  .stat { padding: 16px 10px; border-radius: 16px; text-align: center; background: var(--sky); }
  .stat strong { display: block; color: var(--blue); font-size: clamp(1.15rem, 4.6vw, 1.6rem); line-height: 1.2; }
  .stat span { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; font-weight: 800; line-height: 1.35; }

  /* Feature menu */
  .feature-section { overflow: hidden; color: #fff; background: var(--navy); }
  .feature-section::before { content: "DŌ"; position: absolute; left: -16px; bottom: -70px; color: rgba(255,255,255,.035); font-size: clamp(12rem, 45vw, 32rem); font-weight: 900; line-height: .8; }
  .feature-section .section-title { color: #fff; }
  .feature-section .section-lead { color: rgba(255,255,255,.7); }
  .feature-grid { position: relative; display: grid; gap: 14px; margin-top: 38px; }
  .feature-card {
    position: relative; min-height: 230px; padding: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px;
    background: rgba(255,255,255,.06); transition: transform .25s ease, background .25s ease, border-color .25s ease;
  }
  .feature-card::before { content: ""; position: absolute; inset: auto -30px -80px auto; width: 160px; height: 160px; border: 28px solid rgba(255,255,255,.05); border-radius: 50%; }
  .feature-card:hover { transform: translateY(-7px); background: var(--blue); border-color: transparent; }
  .feature-number { display: block; color: var(--gold); font-size: .74rem; font-weight: 900; letter-spacing: .15em; }
  .feature-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 22px 0 18px; border-radius: 18px; color: var(--navy); background: var(--gold); transform: rotate(-4deg); }
  .feature-icon i { font-size: 1.65rem; transform: rotate(4deg); }
  .feature-card h3 { margin: 0; font-size: 1.24rem; }
  .feature-card p { margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: .86rem; }
  .feature-arrow { position: absolute; right: 20px; top: 20px; font-size: 1.5rem; color: rgba(255,255,255,.5); }
  .feature-arrow i { transform: rotate(-45deg); }

  /* News */
  .news-item { display: grid; gap: 8px; padding: 21px 3px; border-bottom: 1px solid var(--line); transition: padding-left .2s ease; }
  .news-item:hover { padding-left: 10px; }
  .news-date { color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }

  /* Beat visual */
  .beat-section { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--navy); }
  .beat-media { position: absolute; inset: 0; }
  .beat-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .beat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,61,.96), rgba(7,26,61,.63) 60%, rgba(7,26,61,.42)); }
  .beat-word { position: absolute; z-index: 2; left: -6px; bottom: 4%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); font-size: clamp(5rem, 22vw, 17rem); font-weight: 900; font-style: italic; line-height: .8; white-space: nowrap; letter-spacing: -.08em; }
  .beat-content { position: relative; z-index: 3; max-width: 690px; padding: 84px 0 150px; }
  .beat-content .section-title { color: #fff; }
  .beat-content p { color: rgba(255,255,255,.82); font-size: 1rem; }

  /* Gallery */
  .gallery-section { background: var(--cream); }
  .gallery-grid { display: grid; gap: 14px; margin-top: 34px; }
  .gallery-card { position: relative; min-height: 300px; overflow: hidden; border-radius: 22px; box-shadow: 0 18px 40px rgba(7,26,61,.12); }
  .gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
  .gallery-card:hover img { transform: scale(1.07); }
  .gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(7,26,61,.75)); }
  .gallery-caption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; }
  .gallery-caption b { display: block; font-size: 1.08rem; }
  .gallery-caption span { display: block; margin-top: 3px; color: rgba(255,255,255,.7); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
  /* Access */
  .access-section { background: #fff; }
  .access-grid { display: grid; gap: 32px; }
  .route-flow { position: relative; display: grid; gap: 16px; margin-top: 28px; }
  .route-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 15px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(7,26,61,.06); }
  .route-step:not(:last-child)::after {
    content: "\f063"; position: absolute; z-index: 2; left: 44px; top: calc(100% + 8px); color: var(--gold);
    font-family: "Font Awesome 6 Free"; font-size: 1rem; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); pointer-events: none;
  }
  .route-no { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 1.15rem; font-weight: 900; line-height: 1; }
  .route-step:nth-child(4) .route-no { background: var(--red); }
  .route-step b { display: block; color: var(--navy); }
  .route-step span:not(.route-no) { display: block; color: var(--muted); font-size: .8rem; }
  .notice-box { margin-top: 20px; padding: 16px; border-left: 5px solid var(--gold); border-radius: 10px; color: var(--navy); background: var(--cream); font-size: .82rem; font-weight: 700; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }

  @media (min-width: 680px) {
    .hero-title .main span { display: inline; }
    :root { --side-stripe: 12px; }
    .container { width: min(1180px, calc(100% - 64px)); }
    .quick-grid { grid-template-columns: repeat(4, 1fr); }
    .quick-link { min-height: 136px; padding: 22px 18px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1.25fr .75fr; grid-template-rows: 260px 260px; }
    .gallery-card { min-height: 0; }
    .gallery-card:first-child { grid-row: 1 / 3; }
    .news-item { grid-template-columns: 105px 84px 1fr; align-items: center; gap: 14px; }
  }

  @media (min-width: 900px) {
    :root { --header-h: 86px; --side-stripe: 18px; }
    .section { padding: 120px 0; }
    .hero { min-height: min(960px, 100svh); padding: calc(var(--header-h) + 45px) 0 70px; }
    .hero-grid { grid-template-columns: minmax(0, 1.42fr) minmax(320px, .58fr); gap: 54px; }
    .hero-logo-card { display: flex; }
    .hero-side { align-self: stretch; align-content: center; }
    .hero-media img { object-position: center center; }
    .quick-wrap { margin-top: -56px; }
    .event-layout { grid-template-columns: minmax(0, .9fr) minmax(350px, .68fr); gap: 70px; align-items: center; }
    .about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 80px; }
    .about-visual { min-height: 620px; }
    .about-photo { inset: 0 56px 48px 0; }
    .about-stamp { width: 172px; height: 172px; }
    .about-stamp strong { font-size: 2.65rem; }
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-card:nth-child(odd):hover { transform: translateY(7px); }
    .feature-card:nth-child(even) { transform: translateY(28px); }
    .feature-card:nth-child(even):hover { transform: translateY(21px); }
    .beat-section { min-height: 760px; }
    .beat-content { padding: 120px 0 190px; }
    .access-grid { grid-template-columns: 1fr; }
    .route-flow { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .route-step { grid-template-columns: 1fr; text-align: center; min-height: 185px; align-content: center; }
    .route-step:not(:last-child)::after { content: "\f061"; left: calc(100% + 6px); top: 50%; }
    .route-no { margin: 0 auto 8px; }
  }

  @media (min-width: 1180px) {
    .hero-title .main { font-size: 7.5rem; }
    .hero-title .main span { display: inline; }
    .scoreboard { padding: 36px 34px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
  }
/* TreeCMS integration */
.dogyoretsu-home{padding-left:0}
.countdown{display:flex;align-items:baseline;gap:10px}
.dogyoretsu-home .hero-logo-card{padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.dogyoretsu-home .hero-logo-card img{filter:none}

/* Compact event information groups */
.dogyoretsu-home .event-section{padding:68px 0}
.dogyoretsu-home .event-section__head{margin-bottom:26px}
.dogyoretsu-home .festival-events{gap:22px}
.dogyoretsu-home .festival-event{padding:20px 18px;border-radius:24px}
.dogyoretsu-home .festival-event .event-layout{gap:24px}
.dogyoretsu-home .festival-event .section-title{font-size:clamp(1.9rem,6vw,3.35rem)}
.dogyoretsu-home .festival-event .section-lead{margin-top:14px}
.dogyoretsu-home .festival-event .button-row{margin-top:20px}
.dogyoretsu-home .festival-event .scoreboard{min-height:220px;padding:22px}
.dogyoretsu-home .festival-event .score-date{padding:18px 0 15px}
@media(min-width:900px){.dogyoretsu-home .event-section{padding:82px 0}.dogyoretsu-home .festival-event{padding:22px 28px}.dogyoretsu-home .festival-event .scoreboard{padding:26px}}

/* Extracted lower-page sections from the supplied design */
.dogyoretsu-home {
  --shu:var(--red);
  --shu-deep:var(--red-dark);
  --ai:var(--navy);
  --ai-mid:var(--navy-2);
  --kin:var(--gold);
  --kin-light:#f9dfa0;
  --kinari:var(--cream);
  --paper:var(--white);
  --shadow-strong:0 26px 80px rgba(7,26,61,.24);
  --serif:"Noto Serif CJK JP","Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
}
.dogyoretsu-home .photo-asset{display:block;width:100%;background-repeat:no-repeat;background-position:center;background-size:cover}
.dogyoretsu-home .asset-hero{background-image:url("https://www.kankou-shimane.com/jp/wp-content/uploads/2020/03/4058-matsuedougyoure-002.jpg")}
.dogyoretsu-home .asset-parade{background-image:url("https://www.kankou-shimane.com/jp/wp-content/uploads/2020/03/4058-matsuedougyoure-001.jpg")}
.dogyoretsu-home .asset-lantern{background-image:url("https://www.kankou-shimane.com/jp/wp-content/uploads/2020/03/4058-matsuedougyoure-003-e1590382530236.jpg")}
.dogyoretsu-home .atlas-section,.dogyoretsu-home .join-section,.dogyoretsu-home #news{position:relative;padding:78px 0}
.dogyoretsu-home .atlas-section>.container,.dogyoretsu-home .join-section>.container,.dogyoretsu-home #news>.container{width:min(100% - 32px,1180px);margin-inline:auto}
.dogyoretsu-home .atlas-section .section-kicker,.dogyoretsu-home .join-section .section-kicker,.dogyoretsu-home #news .section-kicker{display:inline-flex;align-items:center;gap:10px;margin:0 0 10px;color:var(--shu);font-size:.78rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.dogyoretsu-home .atlas-section .section-kicker::before,.dogyoretsu-home .join-section .section-kicker::before,.dogyoretsu-home #news .section-kicker::before{content:"";width:31px;height:4px;background:var(--kin);border-radius:99px}
.dogyoretsu-home .atlas-section .section-title,.dogyoretsu-home .join-section .section-title,.dogyoretsu-home #news .section-title{margin:0;color:var(--ai);font-family:var(--serif);font-size:clamp(2rem,7.8vw,3.65rem);line-height:1.32;letter-spacing:.04em}
.dogyoretsu-home #news .section-head{margin-bottom:34px}
.dogyoretsu-home #news .section-title .accent{color:var(--shu)}
.dogyoretsu-home #news .section-lead{max-width:720px;margin:14px 0 0;color:var(--muted);font-weight:600}
.dogyoretsu-home .button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;border:2px solid transparent;border-radius:999px;font-weight:900;line-height:1.3;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.dogyoretsu-home .button:hover{transform:translateY(-2px)}
.dogyoretsu-home .button:focus-visible{outline:4px solid rgba(231,184,77,.68);outline-offset:3px}
.dogyoretsu-home .button--light{background:#fff;color:var(--ai);border-color:rgba(255,255,255,.46);box-shadow:0 12px 30px rgba(0,0,0,.13)}
.dogyoretsu-home .button--outline{background:transparent;border-color:rgba(17,45,85,.26);color:var(--ai)}
.dogyoretsu-home .atlas-section{overflow:hidden;background:linear-gradient(180deg,var(--paper),#f4f8fc)}
.dogyoretsu-home .atlas-shell{position:relative;overflow:hidden;padding:28px 20px;background:var(--ai);border-radius:31px;color:#fff;box-shadow:var(--shadow-strong)}
.dogyoretsu-home .atlas-shell::before{content:"";position:absolute;right:-78px;top:-78px;width:210px;height:210px;border-radius:50%;border:34px solid rgba(231,184,77,.18)}
.dogyoretsu-home .atlas-shell::after{content:"";position:absolute;left:-90px;bottom:-100px;width:230px;height:230px;border-radius:50%;background:repeating-radial-gradient(circle,rgba(255,255,255,.12) 0 2px,transparent 3px 15px)}
.dogyoretsu-home .atlas-copy{position:relative;z-index:1}
.dogyoretsu-home .atlas-copy .section-kicker{color:var(--kin-light)}
.dogyoretsu-home .atlas-copy .section-title{color:#fff}
.dogyoretsu-home .atlas-copy p{color:rgba(255,255,255,.8);font-weight:600}
.dogyoretsu-home .atlas-number{display:flex;align-items:baseline;gap:8px;margin:21px 0 0;color:var(--kin-light);font-weight:900}
.dogyoretsu-home .atlas-number strong{font-size:3.9rem;line-height:1}
.dogyoretsu-home .atlas-number span{font-size:1.08rem}
.dogyoretsu-home .atlas-ui{position:relative;z-index:1;margin-top:26px;padding:18px;background:#fff;border-radius:23px;color:var(--ink);box-shadow:0 20px 50px rgba(0,0,0,.2)}
.dogyoretsu-home .atlas-link{display:block;overflow:hidden;padding:0;transition:transform .2s ease,box-shadow .2s ease}
.dogyoretsu-home .atlas-link:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(0,0,0,.26)}
.dogyoretsu-home .atlas-link .photo-asset{aspect-ratio:16/9}
.dogyoretsu-home .atlas-link strong{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;color:var(--ai);font-size:1rem}
.dogyoretsu-home .atlas-link strong i{color:var(--shu);font-size:1.1rem}
.dogyoretsu-home .mock-search{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid var(--line);border-radius:14px;color:#7b8390;font-size:.86rem;font-weight:700}
.dogyoretsu-home .mock-search>i{flex:0 0 auto;color:var(--shu);font-size:1.15rem}
.dogyoretsu-home .filter-chips{display:flex;gap:8px;overflow-x:auto;margin:13px -4px 0;padding:4px 4px 8px;scrollbar-width:none}
.dogyoretsu-home .filter-chips::-webkit-scrollbar{display:none}
.dogyoretsu-home .filter-chip{white-space:nowrap;padding:7px 11px;border:1px solid rgba(17,45,85,.13);border-radius:999px;background:#f8fafc;color:var(--ai);font-size:.72rem;font-weight:900}
.dogyoretsu-home .filter-chip.active{background:var(--shu);border-color:var(--shu);color:#fff}
.dogyoretsu-home .atlas-cards{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;margin-top:13px;overflow-x:auto;padding-bottom:5px;scroll-snap-type:x mandatory;scrollbar-width:none}
.dogyoretsu-home .atlas-cards::-webkit-scrollbar{display:none}
.dogyoretsu-home .atlas-card{min-width:150px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;scroll-snap-align:start}
.dogyoretsu-home .atlas-card .photo-asset{width:100%;aspect-ratio:4/3;object-fit:cover}
.dogyoretsu-home .atlas-card:nth-child(1) .photo-asset{object-position:27% center}
.dogyoretsu-home .atlas-card:nth-child(2) .photo-asset{object-position:center}
.dogyoretsu-home .atlas-card:nth-child(3) .photo-asset{object-position:70% center}
.dogyoretsu-home .atlas-card-body{padding:10px}
.dogyoretsu-home .atlas-card h3{margin:0;color:var(--ai);font-size:.86rem;line-height:1.45}
.dogyoretsu-home .atlas-card p{margin:4px 0 0;color:var(--muted);font-size:.68rem;line-height:1.5}
.dogyoretsu-home .join-section{overflow:hidden;background:var(--shu);color:#fff}
.dogyoretsu-home .join-section::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(170,18,32,.28),transparent 50%),radial-gradient(circle at 90% 10%,rgba(231,184,77,.34),transparent 24rem)}
.dogyoretsu-home .join-grid{position:relative;z-index:1;display:grid;gap:29px;align-items:center}
.dogyoretsu-home .join-copy .section-kicker{color:var(--kin-light)}
.dogyoretsu-home .join-copy .section-title{color:#fff}
.dogyoretsu-home .join-copy p{margin:17px 0 0;color:rgba(255,255,255,.88);font-weight:600}
.dogyoretsu-home .join-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.dogyoretsu-home .join-tag{padding:8px 11px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.09);font-size:.76rem;font-weight:900}
.dogyoretsu-home .join-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.dogyoretsu-home .news-grid{display:grid;gap:14px}
.dogyoretsu-home #news .news-item{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:18px 17px;background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:0 9px 25px rgba(17,45,85,.06);transition:transform .2s ease,border-color .2s ease}
.dogyoretsu-home #news .news-item:hover{transform:translateY(-3px);border-color:rgba(213,31,45,.28)}
.dogyoretsu-home #news .news-date{color:var(--shu);font-size:.75rem;font-weight:900;white-space:nowrap}
.dogyoretsu-home .news-content strong{display:block;color:var(--ai);font-size:.94rem;line-height:1.55}
.dogyoretsu-home .news-content span{display:block;margin-top:5px;color:var(--muted);font-size:.76rem;font-weight:600;line-height:1.6}
.dogyoretsu-home .news-arrow{color:var(--shu);font-weight:900}
.dogyoretsu-home .news-more{margin-top:21px;text-align:center}
@media (min-width:700px){.dogyoretsu-home .atlas-section,.dogyoretsu-home .join-section,.dogyoretsu-home #news{padding:96px 0}.dogyoretsu-home .atlas-section>.container,.dogyoretsu-home .join-section>.container,.dogyoretsu-home #news>.container{width:min(100% - 48px,1180px)}}
@media (min-width:980px){.dogyoretsu-home .atlas-shell{display:grid;grid-template-columns:.72fr 1.28fr;gap:45px;align-items:center;padding:54px 50px}.dogyoretsu-home .atlas-ui{margin-top:0}.dogyoretsu-home .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
