/* css/style.css */
:root {
    --font-sans: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
    --brand-lime: #c2d843;
    --brand-gold: #f3cd20;
    --brand-lime-soft: #e8f2b8;
    --brand-gold-soft: #fdf6d0;
    --brand-lime-deep: #8fa82e;
    --brand-gold-deep: #c9a910;
    --base-bg: #ffffff;
    --paper: #ffffff;
    --paper-tint: #fbfef7;
    --line: rgba(143, 168, 46, 0.28);
    --main-text: #1f2410;
}

* {
    box-sizing: border-box;
}

html {
    background: linear-gradient(180deg, var(--brand-gold-soft) 0%, #ffffff 28%, var(--brand-lime-soft) 100%);
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (min-width: 981px) {
    html {
        background-color: var(--brand-gold-soft);
        background-image: url("../images/bg.jpg");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
}

body {
    margin: 0 auto;
    max-width: 980px;
    background: var(--base-bg);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
    color: var(--main-text);
    font-family: var(--font-sans);
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.65;
    position: relative;
    padding-left: 48px;
    padding-right: 48px;
}

/* body左右：ライム帯（左）・ゴールド帯（右）＋「シェア！旅」縦書き（左:下→上 / 右:上→下） */
.body-side-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    background: #c2d843;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.body-side-rail--left {
    left: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.45);
}

.body-side-rail--right {
    right: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.45);
    background: #f3cd20;
}

.body-side-rail--right .body-side-rail__track {
    animation-name: body-side-rail-scroll-down;
}

.body-side-rail--right .body-side-rail__text {
    color: #1f2410;
}

.body-side-rail__marquee {
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.body-side-rail__track {
    --rail-shift: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    animation-name: body-side-rail-scroll;
    animation-duration: 14s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal;
    will-change: transform;
}

/* 左: 1セグメント分だけ上へ / 右: 1セグメント分だけ下へ（--rail-shift は JS で実測） */
.body-side-rail__segment {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3rem;
    box-sizing: content-box;
}

.body-side-rail__text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.45em;
    color: #ffffff;
    line-height: 1.35;
}

@keyframes body-side-rail-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, calc(-1 * var(--rail-shift)), 0);
    }
}

@keyframes body-side-rail-scroll-down {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, var(--rail-shift), 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .body-side-rail__track {
        animation: none;
    }

    .body-side-rail__segment:nth-child(n + 2) {
        display: none;
    }
}

@media (max-width: 480px) {
    .body-side-rail {
        display: none;
    }

    .sirakawa-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sirakawa-gallery__item:not(.sirakawa-gallery__item--hero):last-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .hero-bg-grid {
        min-height: clamp(220px, 75vw, 400px);
        height: clamp(220px, 75vw, 400px);
    }
}

.inner {
    width: min(940px, calc(100% - 24px));
    margin: 0 auto;
}

.page-content {
    padding-bottom: 24px;
}

.hero-block {
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: var(--base-bg);
    box-shadow: none;
    border-bottom: 1px solid rgba(31, 36, 16, 0.08);
}

.hero-visual {
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: clamp(300px, 62vw, 620px);
    height: clamp(300px, 62vw, 620px);
}

.hero-bg-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-logo-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-logo {
    max-width: min(68%, 360px);
    width: auto;
    height: auto;
    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 1)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 28px rgba(194, 216, 67, 0.45)) drop-shadow(0 0 48px rgba(243, 205, 32, 0.35));
}

.content-block {
    background: transparent;
    border: none;
    margin-top: 0;
    padding: 28px 2px 32px;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid rgba(31, 36, 16, 0.08);
}

.page-content>.content-block:first-of-type {
    border-top: none;
    padding-top: 24px;
}

.block-title {
    margin: 0 0 10px;
    font-size: 30px;
    color: var(--brand-lime-deep);
    padding-bottom: 6px;
    border-bottom: 3px solid var(--brand-gold);
}

.about-body {
    margin-top: 4px;
}

.about-body p {
    margin: 0 0 1em;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.about-body p:last-child {
    margin-bottom: 0;
}

/* 「シェア！旅とは」：左スクエア画像＋右テキスト（2カラム） */
.content-block.about-intro {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.about-intro-layout {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 28px 36px;
    align-items: center;
}

.about-intro-visual {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid rgba(31, 36, 16, 0.1);
    border-radius: 2px;
    box-shadow: none;
}

.about-intro .about-logo-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 4vw, 24px);
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.about-intro .about-logo {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: none;
}

.about-intro-main {
    min-width: 0;
}

.about-intro-heading {
    margin: 0 0 0.85em;
    font-size: clamp(22px, 3.6vw, 28px);
    font-weight: 700;
    color: #004b8d;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.about-intro .about-body {
    margin-top: 0;
}

.about-intro .about-body p {
    color: #1a1a1a;
    font-weight: 400;
    line-height: 1.85;
}

.announcer-lead {
    margin: 0 0 1em;
    padding-left: clamp(1.5em, 6vw, 4em);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

@media (max-width: 980px) {
    .announcer-lead__break {
        display: none;
    }
}

/* アナウンサー写真まわり：3色縦ストライプを左→右へループ */
.announcer-figure {
    --announcer-stripe-w: 26px;
    --announcer-stripe-cycle: calc(var(--announcer-stripe-w) * 3);

    margin: 4px 0 0;
    text-align: center;
    padding: 16px 14px;
    border-radius: 4px;
    overflow: hidden;
    background: repeating-linear-gradient(90deg,
            #c2d843 0,
            #c2d843 var(--announcer-stripe-w),
            #f3cd20 var(--announcer-stripe-w),
            #f3cd20 calc(var(--announcer-stripe-w) * 2),
            #ffffff calc(var(--announcer-stripe-w) * 2),
            #ffffff calc(var(--announcer-stripe-w) * 3));
    /* タイル幅＝アニメ1周分でループの継ぎ目がずれないようにする */
    background-size: var(--announcer-stripe-cycle) 100%;
    animation: announcer-stripe-scroll 5s linear infinite;
}

/* スマホ〜タブレット（2段画像）：縦に長く同じ帯色が続いて見えにくいよう4色サイクル＋細めのストライプ */
@media (max-width: 980px) {
    .announcer-figure {
        --announcer-stripe-w: 18px;
        --announcer-stripe-cycle: calc(var(--announcer-stripe-w) * 4);

        background: repeating-linear-gradient(90deg,
                #c2d843 0,
                #c2d843 var(--announcer-stripe-w),
                #f3cd20 var(--announcer-stripe-w),
                #f3cd20 calc(var(--announcer-stripe-w) * 2),
                #ffffff calc(var(--announcer-stripe-w) * 2),
                #ffffff calc(var(--announcer-stripe-w) * 3),
                var(--brand-lime-soft) calc(var(--announcer-stripe-w) * 3),
                var(--brand-lime-soft) calc(var(--announcer-stripe-w) * 4));
        background-size: var(--announcer-stripe-cycle) 100%;
    }
}

@keyframes announcer-stripe-scroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: var(--announcer-stripe-cycle) 0;
    }
}

.announcer-figure .announcer-img--desktop {
    display: none;
}

.announcer-img-duo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.announcer-img-duo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.announcer-figure img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    .announcer-figure {
        animation: none;
    }
}

/* 今回の放送・コーナー企画（随時更新エリア） */
.broadcast-update-title {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-lime-deep);
}

.broadcast-update-note {
    margin: 0 0 18px;
    font-size: 0.82rem;
    color: #5c5c5c;
}

.broadcast-spotlight {
    margin-bottom: 22px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(194, 216, 67, 0.5);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-gold-soft) 0%, #ffffff 48%, var(--brand-lime-soft) 100%);
}

.broadcast-date-line {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 3.4vw, 1.55rem);
    font-weight: 700;
    color: #c73019;
}

.broadcast-lead-text {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
}

.broadcast-youtube {
    margin: 16px 0 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(194, 216, 67, 0.35);
    box-shadow: 0 4px 14px rgba(31, 36, 16, 0.08);
    aspect-ratio: 16 / 9;
}

.broadcast-youtube__iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.sirakawa-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 0;
}

.sirakawa-gallery__hero-wrap {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    min-width: 0;
}

.sirakawa-gallery__tokimaru {
    display: none;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

.sirakawa-gallery__tokimaru img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sirakawa-gallery__item {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(194, 216, 67, 0.35);
    box-shadow: 0 4px 14px rgba(31, 36, 16, 0.08);
}

.sirakawa-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sirakawa-gallery__item--hero {
    aspect-ratio: 2 / 1;
    max-height: min(260px, 36vw);
    min-width: 0;
}

.sirakawa-gallery__item:not(.sirakawa-gallery__item--hero) {
    aspect-ratio: 4 / 3;
    min-height: 0;
}

@media (max-width: 520px) {
    .sirakawa-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sirakawa-gallery__item--hero {
        max-height: none;
        aspect-ratio: 16 / 10;
    }

    .sirakawa-gallery__item:not(.sirakawa-gallery__item--hero):last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
}

.corner-plan {
    margin: 0 0 18px;
    border: 1px solid rgba(194, 216, 67, 0.55);
    border-left: 6px solid var(--brand-lime);
    border-radius: 8px;
    background: #fafaf8;
    overflow: hidden;
}

.corner-plan:last-child {
    margin-bottom: 0;
}

.corner-plan__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px;
    background: rgba(232, 242, 184, 0.4);
    border-bottom: 1px dashed rgba(31, 36, 16, 0.18);
}

.corner-plan__badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1f2410;
    background: linear-gradient(180deg, var(--brand-gold) 0%, #e8c41a 100%);
    border: 1px solid var(--brand-gold-deep);
    border-radius: 999px;
}

.corner-plan__title {
    margin: 0;
    flex: 1;
    min-width: 12ch;
    font-size: clamp(1rem, 2.6vw, 1.12rem);
    font-weight: 700;
    color: var(--brand-lime-deep);
}

.corner-plan__body {
    padding: 14px 16px 18px;
}

.corner-plan__figure {
    margin: 0 0 1rem;
}

.corner-plan__figures--duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 1rem;
}

.corner-plan__figures--duo .corner-plan__figure {
    margin: 0;
}

@media (max-width: 520px) {
    .corner-plan__figures--duo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .corner-plan__break {
        display: none;
    }
}

.corner-plan__figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    vertical-align: bottom;
}

.corner-plan__body p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
}

@media (min-width: 981px) {
    .announcer-block {
        text-align: center;
    }

    .announcer-block .block-title {
        text-align: center;
    }

    .announcer-block .announcer-lead {
        padding-left: 0;
        max-width: 38em;
        margin-left: auto;
        margin-right: auto;
    }

    .announcer-block .announcer-figure {
        max-width: min(800px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .announcer-figure .announcer-img--desktop {
        display: inline-block;
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }

    .announcer-img-duo {
        display: none;
    }

    .broadcast-update-block {
        text-align: center;
    }

    .broadcast-update-block .broadcast-update-title {
        text-align: center;
    }

    .broadcast-spotlight {
        max-width: 52rem;
        margin-left: auto;
        margin-right: auto;
    }

    .broadcast-update-block .sirakawa-gallery {
        max-width: 52rem;
        margin-left: auto;
        margin-right: auto;
    }

    .broadcast-update-block .sirakawa-gallery__hero-wrap {
        grid-template-columns: 1fr min(220px, 26%);
    }

    .broadcast-update-block .sirakawa-gallery__item--hero {
        max-height: min(300px, 34vw);
    }

    .broadcast-update-block .sirakawa-gallery__tokimaru {
        display: flex;
    }

    .broadcast-update-block .corner-plan {
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;
    }

    .broadcast-update-block .corner-plan__head {
        justify-content: center;
    }

    .broadcast-update-block .corner-plan__title {
        flex: 0 1 auto;
        text-align: center;
    }

    .broadcast-update-block .corner-plan__body p {
        text-align: center;
    }

    .broadcast-update-block .corner-plan__figure {
        margin-left: auto;
        margin-right: auto;
        max-width: min(28rem, 100%);
    }

    .broadcast-update-block .corner-plan__figures--duo {
        margin-left: auto;
        margin-right: auto;
        max-width: min(48rem, 100%);
    }

    .broadcast-update-block .corner-plan__figures--duo .corner-plan__figure {
        max-width: none;
    }

    .map-block {
        text-align: center;
    }

    .map-block .map-title,
    .map-block .map-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .map-block .map-lead {
        max-width: 36em;
    }

    .map-block .map-container {
        max-width: 56rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.support-block {
    text-align: center;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.support-lead {
    margin: 0 0 1.35em;
    padding: 0 0.75rem;
    font-size: clamp(1.05rem, 3.2vw, 1.3rem);
    font-weight: 500;
    color: #4a5c68;
    line-height: 1.65;
    letter-spacing: 0.03em;
}

.sponsor-list {
    list-style: none;
    margin: 0 auto;
    padding: 1.1rem 1.25rem 1.2rem;
    max-width: min(32em, 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: center;
    background: linear-gradient(165deg, #ffffff 0%, rgba(253, 246, 208, 0.55) 48%, rgba(232, 242, 184, 0.35) 100%);
    border: 1px solid rgba(194, 216, 67, 0.5);
    border-radius: 12px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 18px rgba(31, 36, 16, 0.07);
}

.sponsor-list li {
    margin: 0;
    padding: 0.72rem 0.75rem;
    font-size: clamp(1rem, 3.4vw, 1.22rem);
    font-weight: 700;
    line-height: 1.55;
    color: var(--main-text);
    letter-spacing: 0.04em;
    border-bottom: 1px dashed rgba(31, 36, 16, 0.14);
}

.sponsor-list li:last-child {
    border-bottom: none;
    padding-bottom: 0.35rem;
}

.sponsor-list li:first-child {
    padding-top: 0.35rem;
}

.note {
    margin: 6px 0 0;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
}

.note--support {
    margin-top: 1.1em;
    padding-top: 0.15rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
    color: #5a5a5a;
    letter-spacing: 0.06em;
}

.map-title {
    margin: 2px 0 8px;
    font-size: 36px;
    line-height: 1.1;
    color: var(--brand-lime-deep);
}

.map-lead {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.map-container {
    background: #fff;
    border: 1px solid rgba(31, 36, 16, 0.1);
    padding: 4px;
    border-radius: 0;
    box-shadow: none;
}

.map-container iframe {
    width: 100%;
    height: 800px;
    border: 0;
    display: block;
}

.site-footer {
    margin-top: 0;
    border-top: 1px solid rgba(31, 36, 16, 0.1);
    background: linear-gradient(180deg, rgba(232, 242, 184, 0.35) 0%, rgba(253, 246, 208, 0.45) 100%);
    text-align: center;
}

.site-footer__brand {
    margin: 0;
    padding: 14px 10px 6px;
    font-size: 24px;
    font-weight: 900;
    color: var(--brand-lime-deep);
}

.site-footer__brand a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.12em;
}

.site-footer__brand a:hover {
    color: var(--brand-gold-deep);
}

.site-footer__copyright {
    margin: 0;
    padding: 0 10px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(31, 36, 16, 0.72);
}

/* スクロール連動フェード（fade-in-view.js が html に fade-in-active を付与） */
html.fade-in-active .js-fade:not(.is-visible)>* {
    opacity: 0;
    transform: translateY(0.65rem);
}

html.fade-in-active .js-fade.is-visible>* {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

html.fade-in-active .js-fade.is-visible>*:nth-child(1) {
    transition-delay: 0.04s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(3) {
    transition-delay: 0.16s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(4) {
    transition-delay: 0.22s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(5) {
    transition-delay: 0.28s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(6) {
    transition-delay: 0.34s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(7) {
    transition-delay: 0.4s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(8) {
    transition-delay: 0.46s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(9) {
    transition-delay: 0.52s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(10) {
    transition-delay: 0.58s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(11) {
    transition-delay: 0.64s;
}

html.fade-in-active .js-fade.is-visible>*:nth-child(12) {
    transition-delay: 0.7s;
}

html.fade-in-active .js-fade:not(.is-visible) .hero-visual>.hero-bg-grid {
    opacity: 0;
    transform: translateY(0.5rem);
}

html.fade-in-active .js-fade.is-visible .hero-visual>.hero-bg-grid {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.08s;
}

html.fade-in-active .js-fade:not(.is-visible) .hero-visual>.hero-logo-wrap {
    opacity: 0;
    transform: translate(-50%, -50%);
}

html.fade-in-active .js-fade.is-visible .hero-visual>.hero-logo-wrap {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.2s;
}

html.fade-in-active .js-fade:not(.is-visible) .about-intro-layout>* {
    opacity: 0;
    transform: translateY(0.5rem);
}

html.fade-in-active .js-fade.is-visible .about-intro-layout>* {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html.fade-in-active .js-fade.is-visible .about-intro-layout>*:nth-child(1) {
    transition-delay: 0.1s;
}

html.fade-in-active .js-fade.is-visible .about-intro-layout>*:nth-child(2) {
    transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {

    html.fade-in-active .js-fade>*,
    html.fade-in-active .js-fade .hero-visual>.hero-bg-grid,
    html.fade-in-active .js-fade .about-intro-layout>* {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    html.fade-in-active .js-fade .hero-visual>.hero-logo-wrap {
        opacity: 1 !important;
        transform: translate(-50%, -50%) !important;
        transition: none !important;
    }
}

@media (max-width: 820px) {
    .hero-bg-grid {
        min-height: clamp(260px, 72vw, 420px);
        height: clamp(260px, 72vw, 420px);
    }

    .hero-logo {
        max-width: min(88%, 300px);
    }

    .block-title,
    .broadcast-update-title,
    .about-intro-heading,
    .map-title,
    .map-lead,
    .site-footer__brand {
        font-size: clamp(18px, 4.4vw, 28px);
    }

    .site-footer__copyright {
        font-size: clamp(11px, 2.9vw, 13px);
    }

    .support-lead {
        font-size: clamp(14px, 3.4vw, 1.05rem);
    }

    .sponsor-list li {
        font-size: clamp(15px, 3.8vw, 1.25rem);
    }

    .about-body p,
    .announcer-lead,
    .broadcast-lead-text,
    .corner-plan__body p {
        font-size: clamp(15px, 3.8vw, 16px);
    }

    .corner-plan__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-intro-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-intro-visual {
        max-width: min(280px, 72vw);
    }

    .map-container {
        border-radius: 8px;
        overflow: hidden;
    }

    .map-container iframe {
        height: min(720px, 72vh);
        min-height: 320px;
    }
}

@media (max-width: 599px) {
    body {
        padding-left: max(8px, env(safe-area-inset-left, 0px));
        padding-right: max(8px, env(safe-area-inset-right, 0px));
    }

    .inner {
        width: 100%;
        max-width: 100%;
    }

    .content-block {
        padding: 22px 0 26px;
    }

    .page-content>.content-block:first-of-type {
        padding-top: 18px;
    }

    .block-title {
        font-size: clamp(1.05rem, 5vw, 1.35rem);
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .about-intro-visual {
        display: none;
    }

    .announcer-lead {
        padding-left: 0;
        padding-right: 0;
    }

    .announcer-figure {
        padding: 14px 10px;
        border-radius: 8px;
    }

    .broadcast-spotlight {
        padding: 14px 14px 16px;
        border-radius: 10px;
    }

    .broadcast-update-title {
        font-size: clamp(1.1rem, 4.5vw, 1.3rem);
        line-height: 1.3;
    }

    .corner-plan__body {
        padding: 12px 14px 15px;
    }

    .corner-plan__head {
        padding: 10px 12px;
    }

    .support-lead {
        line-height: 1.45;
        padding: 0 2px;
    }

    .sponsor-list {
        padding: 0.95rem 0.85rem 1.05rem;
        border-radius: 10px;
    }

    .sponsor-list li {
        padding: 0.62rem 0.5rem;
    }

    .map-title {
        line-height: 1.25;
        padding: 0 2px;
    }

    .map-lead {
        line-height: 1.45;
    }

    .map-container {
        padding: 3px;
    }

    .map-container iframe {
        height: min(620px, 66vh);
        min-height: 250px;
    }

    .site-footer__brand {
        padding: 12px 10px 5px;
        font-size: clamp(17px, 4.2vw, 22px);
    }

    .site-footer__copyright {
        padding: 0 10px max(14px, env(safe-area-inset-bottom, 0px));
    }
}