html {
    font-size: 62.5%;
    overflow-x: clip;
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
body {
    overflow-x: clip;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
}
.ruby {
    position: relative;
    display: inline-block;
    line-height: 1;
}
.ruby-rt {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.4em;
    line-height: 1;
}

.mv {
    background: linear-gradient(270deg, #1D4294 0%, #0071BB 48.56%, #1D4294 100%);
}
html.mv-loading .mv {
    visibility: hidden;
}
.mv__area {
    /* PCデザインの基準サイズ。背景の書き出し寸法に合わせて調整する。 */
    --mv-width: 1440;
    --mv-height: 817;
    position: relative;
    width: 100%;
    aspect-ratio: var(--mv-width) / var(--mv-height);
    background: url("../images/mv-back-pc.svg") center / 100% 100% no-repeat;
}
@media screen and (max-width: 768px) {
    .mv__area {
        width: 100%;
        margin-inline: auto;
        --mv-sp-width: 375;
        --mv-sp-height: 478;
        aspect-ratio: var(--mv-sp-width) / var(--mv-sp-height);
        background: url("../images/mv-back-sp.svg") center / 100% 100% no-repeat;
    }
}
.mv__label {
    /* 以下の幅・座標は仮置き。デザイン上のpx値を単位なしで指定。 */
    --mv-label-width: 275;
    --mv-label-top: 0;
    --mv-label-left: 147;
    position: absolute;
    width: calc(var(--mv-label-width) / var(--mv-width) * 100%);
    top: calc(var(--mv-label-top) / var(--mv-height) * 100%);
    left: calc(var(--mv-label-left) / var(--mv-width) * 100%);
}
@media screen and (max-width: 768px) {
    .mv__label {
        /* SP座標は仮置き。375px幅のデザイン上のpx値を単位なしで指定。 */
        --mv-sp-label-width: 89;
        --mv-sp-label-top: 0;
        --mv-sp-label-left: 53;
        display: block;
        position: absolute;
        width: calc(var(--mv-sp-label-width) / var(--mv-sp-width) * 100%);
        top: calc(var(--mv-sp-label-top) / var(--mv-sp-height) * 100%);
        left: calc(var(--mv-sp-label-left) / var(--mv-sp-width) * 100%);
    }
}
.mv__label img {
    display: block;
    width: 100%;
    height: auto;
}
.mv__character {
    --mv-character-width: 593;
    --mv-character-top: 3;
    --mv-character-left: 411.6;
    position: absolute;
    width: calc(var(--mv-character-width) / var(--mv-width) * 100%);
    top: calc(var(--mv-character-top) / var(--mv-height) * 100%);
    left: calc(var(--mv-character-left) / var(--mv-width) * 100%);
}
@media screen and (max-width: 768px) {
    .mv__character {
        /* SP座標は仮置き。375px幅のデザイン上のpx値を単位なしで指定。 */
        --mv-sp-character-width: 227.0;
        --mv-sp-character-top: 45.3;
        --mv-sp-character-left: 53.5;
        display: block;
        position: absolute;
        width: calc(var(--mv-sp-character-width) / var(--mv-sp-width) * 100%);
        top: calc(var(--mv-sp-character-top) / var(--mv-sp-height) * 100%);
        left: calc(var(--mv-sp-character-left) / var(--mv-sp-width) * 100%);
    }
}
.mv__character img {
    display: block;
    width: 100%;
    height: auto;
}
.mv__kikansha {
    /* 座標は仮置き。1440×817のデザイン上のpx値で調整。 */
    --mv-kikansha-width: 356;
    --mv-kikansha-top: 80;
    --mv-kikansha-left: 893;
    position: absolute;
    width: calc(var(--mv-kikansha-width) / var(--mv-width) * 100%);
    top: calc(var(--mv-kikansha-top) / var(--mv-height) * 100%);
    left: calc(var(--mv-kikansha-left) / var(--mv-width) * 100%);
}
@media screen and (max-width: 768px) {
    .mv__kikansha {
        /* SP座標は仮置き。375px幅のデザイン上のpx値を単位なしで指定。 */
        --mv-sp-kikansha-width: 137;
        --mv-sp-kikansha-top: 104;
        --mv-sp-kikansha-left: 231;
        display: block;
        position: absolute;
        width: calc(var(--mv-sp-kikansha-width) / var(--mv-sp-width) * 100%);
        top: calc(var(--mv-sp-kikansha-top) / var(--mv-sp-height) * 100%);
        left: calc(var(--mv-sp-kikansha-left) / var(--mv-sp-width) * 100%);
    }
}
.mv__kikansha img {
    display: block;
    width: 100%;
    height: auto;
}
.mv__sub-title {
    /* 座標は仮置き。1440×817のデザイン上のpx値で調整。 */
    --mv-sub-title-width: 230;
    --mv-sub-title-top: 351;
    --mv-sub-title-left: 113;
    position: absolute;
    width: calc(var(--mv-sub-title-width) / var(--mv-width) * 100%);
    top: calc(var(--mv-sub-title-top) / var(--mv-height) * 100%);
    left: calc(var(--mv-sub-title-left) / var(--mv-width) * 100%);
}
@media screen and (max-width: 768px) {
    .mv__sub-title {
        /* SP座標は仮置き。375px幅のデザイン上のpx値を単位なしで指定。 */
        --mv-sp-sub-title-width: 96;
        --mv-sp-sub-title-top: 231;
        --mv-sp-sub-title-left: 28;
        display: block;
        position: absolute;
        width: calc(var(--mv-sp-sub-title-width) / var(--mv-sp-width) * 100%);
        top: calc(var(--mv-sp-sub-title-top) / var(--mv-sp-height) * 100%);
        left: calc(var(--mv-sp-sub-title-left) / var(--mv-sp-width) * 100%);
    }
}
.mv__sub-title img {
    display: block;
    width: 100%;
    height: auto;
}
.mv__title {
    --mv-title-width: 1108;
    --mv-title-top: 417;
    --mv-title-left: 168;
    position: absolute;
    width: calc(var(--mv-title-width) / var(--mv-width) * 100%);
    top: calc(var(--mv-title-top) / var(--mv-height) * 100%);
    left: calc(var(--mv-title-left) / var(--mv-width) * 100%);
}
@media screen and (max-width: 768px) {
    .mv__title {
        /* SP座標は仮置き。375px幅のデザイン上のpx値を単位なしで指定。 */
        --mv-sp-title-width: 297;
        --mv-sp-title-top: 229;
        --mv-sp-title-left: 44;
        display: block;
        position: absolute;
        width: calc(var(--mv-sp-title-width) / var(--mv-sp-width) * 100%);
        top: calc(var(--mv-sp-title-top) / var(--mv-sp-height) * 100%);
        left: calc(var(--mv-sp-title-left) / var(--mv-sp-width) * 100%);
    }
}
.mv__title img {
    display: block;
    width: 100%;
    height: auto;
}

.mv__area--waiting img {
    opacity: 0;
}
.mv__area--playing .mv__label img {
    animation: mv-label-in 0.5s ease-out 0.3s both;
}
.mv__area--playing .mv__kikansha img {
    transform-origin: center;
    animation: mv-train-in 0.65s ease-out 1.8s both;
}
.mv__area--playing .mv__character img {
    transform-origin: center;
    animation: mv-pop-in 0.55s 1.25s both;
}
.mv__area--playing .mv__title img {
    transform-origin: center;
    animation: mv-pop-in 0.55s 1.25s both;
}
.mv__area--playing .mv__sub-title img {
    animation: mv-subtitle-in 0.5s ease-out 1.8s both;
}
@keyframes mv-label-in {
    from { opacity: 0; transform: translateY(-30%); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes mv-train-in {
    from { opacity: 0; transform: translateX(-45%) scale(0.65); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes mv-pop-in {
    0% { opacity: 0; transform: scale(0.55); animation-timing-function: ease-out; }
    65% { opacity: 1; transform: scale(1.06); animation-timing-function: ease-in-out; }
    85% { transform: scale(0.98); animation-timing-function: ease-in-out; }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes mv-subtitle-in {
    from { opacity: 0; transform: translateY(30%); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .mv__area--waiting img,
    .mv__area--playing img {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.menu {
    position: relative;
    z-index: 3;
    isolation: isolate;
    clip-path: inset(-127px 0 -182px);
    padding: 25px 0 50px;
}
@media screen and (max-width: 768px) {
    .menu { display: none; }
}
.menu__decoration {
    position: absolute;
    z-index: -1;
    width: 194px;
    height: 250px;
    left: -67px;
    bottom: -106px;
    pointer-events: none;
}
.menu__decoration-image {
    position: absolute;
    height: auto;
    animation: menu-rotate 40s linear infinite;
}
.menu__decoration-image--01 {
    width: 127px;
    left: 0;
    top: 0;
}
.menu__decoration-image--02 {
    width: 182px;
    right: 0;
    bottom: 0;
    animation-direction: reverse;
    animation-duration: 55s;
}
@keyframes menu-rotate {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .menu__decoration-image {
        animation: none;
    }
}
.menu__list {
    max-width: 1134px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-inline: auto;
    display: grid;
    column-gap: 15px;
}
@media screen and (min-width: 769px) {
    .menu__list {
        width: calc(100% - 48px);
        max-width: 1134px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .menu__list {
        width: calc(100% - 48px);
    }
}

.menu__link {
    width: 100%;
    img {
        width: 100%;
        height: auto;
    }
}


.menu__link {
    display: block;
}
.menu__visual {
    display: block;
    -webkit-filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 rgba(0, 0, 0, 0.5));
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, filter;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}
@media screen and (max-width: 768px) {
    .menu__visual {
        --button-shadow-offset: 4px;
    }
}

@media (hover: hover) {
    .menu__link:hover .menu__visual {
            -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            -webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
            filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
        }
}
.menu__link:active .menu__visual {
    -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    -webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}
@media (prefers-reduced-motion: reduce) {
    .menu__visual {
            transition: none;
        }
}
.menu__link {
    position: relative;
}
.menu__visual {
    position: relative;
}
.menu__visual img {
    display: block;
    width: 100%;
    height: auto;
}
.menu__hover-image {
    transition: opacity 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    pointer-events: none;
}
@media (min-width: 769px) and (hover: hover) {
    .menu__link:hover .menu__hover-image {
            opacity: 1;
        }
}
@media (prefers-reduced-motion: reduce) {
    .menu__hover-image {
            transition: none;
        }
}

.menu__toggle {
    display: none;
}
@media screen and (max-width: 768px) {
    .menu__toggle {
        display: block;
        position: fixed;
        z-index: 20;
        top: 7px;
        right: 7px;
        width: calc(204px / 3);
        cursor: pointer;
    }
}
.menu__panel {
    display: none;
}
@media screen and (max-width: 768px) {
    .menu__panel[open] {
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100dvh;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        overflow-y: auto;
        animation: menu-panel-in 0.25s ease-out;
        background: #1D4294 url("../images/menu-hamburger-back.svg") center top / 100% auto repeat-y;
    }
}
@keyframes menu-panel-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .menu__panel[open] {
        animation: none;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-inner {
        position: relative;
        isolation: isolate;
        min-height: max(100%, 450px);
        overflow: hidden;
        padding: clamp(48px, 10dvh, 80px) 12.3% 0;
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    .menu__close {
        position: absolute;
        z-index: 2;
        right: 7px;
        top: 7px;
        width: calc(204px / 3);
        cursor: pointer;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-logo {
        display: block;
        width: min(80%, calc(22dvh * 668 / 365));
        height: auto;
        margin: 0 auto 20px;
        flex-shrink: 0;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-links {
        display: flex;
        flex-direction: column;
        gap: clamp(8px, 2dvh, 20px);
        width: min(100%, 40dvh);
        margin-inline: auto;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-link {
        --button-shadow-offset: 4px;
        display: block;
        filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 rgba(0,0,0,.5));
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-character {
        display: block;
        width: min(95%, calc(27dvh * 267 / 161));
        height: auto;
        margin: auto auto 0;
        padding-top: 16px;
        box-sizing: content-box;
        flex-shrink: 0;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-gears {
        position: absolute;
        z-index: -1;
        width: 130px;
        height: 166px;
        pointer-events: none;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-gears--top-left {
        top: -15px;
        left: -52px;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-gears--top-right {
        top: -15px;
        right: -52px;
        transform: scaleX(-1);
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-gears--bottom-left {
        bottom: -45px;
        left: -45px;
    }
}
@media screen and (max-width: 768px) {
    .menu__panel-gears--bottom-right {
        bottom: -45px;
        right: -45px;
        transform: scaleX(-1);
    }
}
@media screen and (max-width: 768px) {
    .menu__toggle img, .menu__close img, .menu__panel-link img {
        display: block;
        width: 100%;
        height: auto;
    }
    .menu__panel-gears img {
        position: absolute;
        height: auto;
        animation: menu-rotate 40s linear infinite;
    }
    .menu__panel-gears img:first-child {
        top: 0;
        left: 0;
        width: 85px;
    }
    .menu__panel-gears img:last-child {
        bottom: 0;
        right: 0;
        width: 121px;
        animation-direction: reverse;
    }
    body.menu-open {
        overflow: hidden;
    }
}
@media (prefers-reduced-motion: reduce) {
    .menu__panel-gears img {
        animation: none;
    }
}

.hero {
    position: relative;
    z-index: 2;
    background-color: #A9D6E1;
    background-image: url("../images/hero-back-pc.svg");
    background-position: center;
    background-size: auto;
    background-repeat: repeat;
    padding: 40px 0 calc(536 / 2882 * 100%);
}
@media screen and (max-width: 768px) {
    .hero {
        background-image: url("../images/hero-back-sp.svg");
        padding: 50px 0 calc(536 / 2882 * 100% + 24px);
    }
}
.hero::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    /* 元の開始位置を保ち、境界側へ2pxだけ延長する。 */
    height: calc(36 / 1440 * 100vw + 2px);
    background: url("../images/hero-decoration-top.svg") center / 100% 100% no-repeat;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .hero::before {
        height: calc(15 / 375 * 100vw + 2px);
        background: url("../images/hero-decoration-top-sp.svg") center / 100% 100% no-repeat;
    }
}
.hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: -2px;
    width: 100%;
    /* 元の開始位置を保ち、境界側へ2pxだけ延長する。 */
    height: calc(536 / 2882 * 100vw + 2px);
    background: url("../images/hero-decoration-bottom-pc.webp") center / 100% 100% no-repeat;
    pointer-events: none;
}
.hero__bottom-character {
    position: absolute;
    z-index: 2;
    bottom: -18%;
    left: 0;
    width: min(calc(666 / 1440 * 100%), 666px);
    height: auto;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .hero__bottom-character {
        /* 375px幅のデザイン上のpx値を単位なしで指定（位置はマイナス値も可）。 */
        --sp-character-width: 200;
        --sp-character-bottom: -98;
        width: min(calc(var(--sp-character-width) / 375 * 100%), calc(var(--sp-character-width) * 1px));
        left: 50%;
        translate: -50% 0;
        bottom: calc(var(--sp-character-bottom) * 1px);
    }
}
.hero__bottom-character--waiting {
    opacity: 0;
}
.hero__bottom-character--revealing {
    animation: hero-character-in 0.7s ease-out both;
}
@keyframes hero-character-in {
    from {
        opacity: 0;
        transform: translateX(15%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__bottom-character--waiting,
    .hero__bottom-character--revealing {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.hero__gears-left {
    display: none;
}
@media screen and (max-width: 768px) {
    .hero__gears-left {
        display: block;
        position: absolute;
        z-index: 1;
        width: 118px;
        height: 151px;
        top: calc(-29px - 50px);
        left: -54px;
        pointer-events: none;
    }
}
@media screen and (max-width: 768px) {
    .hero__gear--left-small {
        position: absolute;
        height: auto;
        top: 0;
        left: 0;
        width: 105px;
        animation: hero-left-small-rotate 40s linear infinite normal;
    }
}
@keyframes hero-left-small-rotate {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__gear--left-small {
        animation: none;
    }
}
@media screen and (max-width: 768px) {
    .hero__gear--left-large {
        position: absolute;
        height: auto;
        bottom: 0;
        right: 0;
        width: 110px;
        animation: hero-left-large-rotate 40s linear infinite reverse;
    }
}
@keyframes hero-left-large-rotate {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__gear--left-large {
        animation: none;
    }
}
.hero__gears-right {
    display: none;
}
@media screen and (max-width: 768px) {
    .hero__gears-right {
        display: block;
        position: absolute;
        z-index: 1;
        width: 94px;
        height: 116px;
        top: calc(-25px - 50px);
        right: -42px;
        transform: scaleX(-1);
        pointer-events: none;
    }
}
@media screen and (max-width: 768px) {
    .hero__gear--right-small {
        position: absolute;
        height: auto;
        bottom: 0;
        right: 0;
        width: 61px;
        animation: hero-right-small-rotate 40s linear infinite normal;
    }
}
@keyframes hero-right-small-rotate {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__gear--right-small {
        animation: none;
    }
}
@media screen and (max-width: 768px) {
    .hero__gear--right-large {
        position: absolute;
        height: auto;
        left: 0;
        top: 0;
        width: 94px;
        animation: hero-right-large-rotate 40s linear infinite reverse;
    }
}
@keyframes hero-right-large-rotate {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__gear--right-large {
        animation: none;
    }
}
.hero__content {
    max-width: 1188px;
    margin-inline:auto; 
    container-type: inline-size;
    --content-width: 1188;
    --content-height: 899;
    --background-offset-x: -21; /* (左余白105 - 右余白147) / 2 */
    aspect-ratio: var(--content-width) / var(--content-height);
    position: relative;
    isolation: isolate;
}
@media screen and (min-width: 769px) {
    .hero__content {
        width: calc(100% - 48px);
        max-width: 1188px;
    }
}

@media screen and (max-width: 768px) {
    .hero__content {
        width: 100%;
        max-width: none;
        aspect-ratio: 375 / 626;
        min-height: 0;
        --background-offset-x: 0;
        --sp-content-width: 375;
    }
}
.hero__content--waiting {
    opacity: 0;
    transform: scale(0.65);
    transform-origin: center;
}
.hero__content--revealing {
    transform-origin: center;
    animation: hero-pop-in 0.6s both;
}
@keyframes hero-pop-in {
    0% {
        opacity: 0;
        transform: scale(0.65);
        animation-timing-function: ease-out;
    }
    60% {
        opacity: 1;
        transform: scale(1.04);
        animation-timing-function: ease-in-out;
    }
    80% {
        transform: scale(0.985);
        animation-timing-function: ease-in-out;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__content--waiting,
    .hero__content--revealing {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.hero__content::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: calc(var(--background-offset-x) / var(--content-width) * 100%);
    width: 100%;
    height: 100%;
    background: url("../images/hero-content-back-pc.svg") center / 100% 100% no-repeat;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .hero__content::before {
        width: calc(494 / 375 * 100%);
        height: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-image: url("../images/hero-content-back-sp.svg");
        background-size: 100% 100%;
        background-position: center top;
    }
}
/* 1188×899のデザイン上のpx値を単位なしで指定。幅と位置を割合に変換する。 */
.hero__decoration {
    position: absolute;
    z-index: 2;
    width: calc(var(--decoration-width) / var(--content-width) * 100%);
    height: auto;
    pointer-events: none;
}
.hero__content--waiting .hero__decoration {
    opacity: 0;
}
.hero__content--appeared .hero__decoration {
    animation:
        hero-decoration-in 0.35s ease-out var(--decoration-delay) both,
        hero-decoration-float var(--decoration-float-duration) ease-in-out calc(var(--decoration-delay) + 0.35s) infinite;
}
@keyframes hero-decoration-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes hero-decoration-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__content--waiting .hero__decoration,
    .hero__content--appeared .hero__decoration {
        opacity: 1;
        transform: none;
        translate: none;
        animation: none;
    }
}
.hero__decoration--01 {
    --decoration-delay: 0.50s;
    --decoration-float-duration: 4.5s;
    --decoration-width: 170;
    --decoration-left: -25;
    --decoration-top: 55;
    left: calc(var(--decoration-left) / var(--content-width) * 100%);
    top: calc(var(--decoration-top) / var(--content-height) * 100%);
}
@media screen and (max-width: 768px) {
    .hero__decoration--01 {
        --sp-decoration-width: 70;
        --sp-decoration-left: 0;
        --sp-decoration-top: -46;
        width: calc(var(--sp-decoration-width) / var(--sp-content-width) * 100%);
        left: calc(var(--sp-decoration-left) / var(--sp-content-width) * 100%);
        top: calc(var(--sp-decoration-top) / var(--sp-content-width) * 100cqi);
    }
}

.hero__decoration--02 {
    --decoration-delay: 0.58s;
    --decoration-float-duration: 5.2s;
    --decoration-width: 180;
    --decoration-right: -97;
    --decoration-top: 63;
    right: calc(var(--decoration-right) / var(--content-width) * 100%);
    top: calc(var(--decoration-top) / var(--content-height) * 100%);
}
@media screen and (max-width: 768px) {
    .hero__decoration--02 {
        --sp-decoration-width: 74;
        --sp-decoration-right: -4;
        --sp-decoration-top: -47;
        width: calc(var(--sp-decoration-width) / var(--sp-content-width) * 100%);
        right: calc(var(--sp-decoration-right) / var(--sp-content-width) * 100%);
        top: calc(var(--sp-decoration-top) / var(--sp-content-width) * 100cqi);
    }
}

.hero__decoration--03 {
    --decoration-delay: 0.66s;
    --decoration-float-duration: 5.8s;
    --decoration-width: 214;
    --decoration-left: -77;
    --decoration-bottom: 247;
    left: calc(var(--decoration-left) / var(--content-width) * 100%);
    bottom: calc(var(--decoration-bottom) / var(--content-height) * 100%);
}
@media screen and (max-width: 768px) {
    .hero__decoration--03 {
        --sp-decoration-width: 88;
        --sp-decoration-left: -26;
        --sp-decoration-bottom: -15;
        width: calc(var(--sp-decoration-width) / var(--sp-content-width) * 100%);
        left: calc(var(--sp-decoration-left) / var(--sp-content-width) * 100%);
        bottom: calc(var(--sp-decoration-bottom) / var(--sp-content-width) * 100cqi);
    }
}

.hero__decoration--04 {
    --decoration-delay: 0.74s;
    --decoration-float-duration: 5s;
    --decoration-width: 224;
    --decoration-right: -90;
    --decoration-bottom: 64;
    right: calc(var(--decoration-right) / var(--content-width) * 100%);
    bottom: calc(var(--decoration-bottom) / var(--content-height) * 100%);
}
@media screen and (max-width: 768px) {
    .hero__decoration--04 {
        --sp-decoration-width: 92;
        --sp-decoration-right: -35;
        --sp-decoration-bottom: -15;
        width: calc(var(--sp-decoration-width) / var(--sp-content-width) * 100%);
        right: calc(var(--sp-decoration-right) / var(--sp-content-width) * 100%);
        bottom: calc(var(--sp-decoration-bottom) / var(--sp-content-width) * 100cqi);
    }
}

.hero__position {
    position: absolute;
    width: calc(var(--item-width) / var(--content-width) * 100%);
    top: calc(var(--item-top) / var(--content-height) * 100%);
    left: calc(var(--item-left) / var(--content-width) * 100%);
}
@media screen and (max-width: 768px) {
    .hero__position {
        /* 375pxのデザイン上の幅を --sp-item-width に単位なしで指定。 */
        width: calc(var(--sp-item-width) / var(--sp-content-width) * 100%);
        top: calc(var(--sp-item-top) / var(--sp-content-width) * 100cqi);
    }
}
.hero__position img {
    display: block;
    width: 100%;
    height: auto;
}
.hero__heading {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero__content--waiting .hero__heading {
    opacity: 0;
}
.hero__content--appeared .hero__heading {
    animation: hero-heading-in 0.6s ease-out 0.2s both;
}
@keyframes hero-heading-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__content--waiting .hero__heading,
    .hero__content--appeared .hero__heading {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.hero__subtitle {
    --item-width: 693;
    --item-top: 129;
    --item-left: 266;
}
@media screen and (max-width: 768px) {
    .hero__subtitle {
        --sp-item-width: 271;
        --sp-item-top: 48;
        left: 50%;
        transform: translateX(-50%);
    }
}
.hero__title {
    --item-width: 882;
    --item-top: 201;
    --item-left: 161;
}
@media screen and (max-width: 768px) {
    .hero__title {
        --sp-item-width: 325;
        --sp-item-top: 115;
        left: 50%;
        transform: translateX(-50%);
    }
}
.hero__body {
    --item-width: 880;
    --item-top: 480;
    --body-offset-x: 21;
    left: calc(50% + var(--body-offset-x) / var(--content-width) * 100%);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
@media screen and (max-width: 768px) {
    .hero__body {
        gap: calc(22 / 375 * 100cqi);
    }
}

@media screen and (max-width: 768px) {
    .hero__body {
        --sp-item-width: 340;
        --sp-item-top: 242;
        --body-offset-x: 0;
        left: 50%;
    }
}
.hero__text {
    width: 100%;
    font-size: calc(27 / var(--content-width) * 100cqi);
    text-align: center;
    line-height: 2;
    overflow-wrap: anywhere;
}
@media screen and (max-width: 768px) {
    .hero__text {
        font-size: calc(18 / var(--sp-content-width) * 100cqi);
        line-height: 1.8;
    }
}
.hero__break-sp {
    display: none;
}
@media screen and (max-width: 768px) {
    .hero__break-sp {
        display: inline;
    }
}
.hero__text .ruby-rt {
    font-size: 0.4em;
}
.hero__button {
    display: block;
    margin-inline: auto;
    width: calc(590 / var(--item-width) * 100%);
}
@media screen and (max-width: 768px) {
    .hero__button {
        --sp-button-width: 340;
        width: min(calc(var(--sp-button-width) / var(--sp-content-width) * 100cqi), 340px);
        margin-inline: 0;
        flex-shrink: 0;
    }
}


.hero__button {
    display: block;
}
.hero__button-visual {
    display: block;
    -webkit-filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 rgba(0, 0, 0, 0.5));
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, filter;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}
@media screen and (max-width: 768px) {
    .hero__button-visual {
        --button-shadow-offset: 4px;
    }
}

@media (hover: hover) {
    .hero__button:hover .hero__button-visual {
            -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            -webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
            filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
        }
}
.hero__button:active .hero__button-visual {
    -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    -webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}
@media (prefers-reduced-motion: reduce) {
    .hero__button-visual {
            transition: none;
        }
}
@media (min-width: 769px) and (hover: hover) {
    .hero__button:hover .hero__button-hover-image {
        opacity: 1;
    }
}
.hero__button-visual {
    position: relative;
    -webkit-filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 #8E5E0A);
    filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 #8E5E0A);
}
.hero__button-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.hero__button-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.event {
    position: relative;
    z-index: 1;
    isolation: isolate;
    background: linear-gradient(270deg, #1D4294 0%, #0071BB 48.56%, #1D4294 100%);
    padding-top: 95px;
    /* 本文下の50pxに、下部装飾（1441×268）の表示高さを加える。 */
    padding-bottom: calc(50px + 268 / 1441 * 100%);
}
@media screen and (max-width: 768px) {
    .event {
        padding-top: 70px;
    }
}
.event::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 160px 0 0;
    background-image: url("../images/event-back-pc.svg");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: repeat-y;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .event::before {
        inset: 70px 0 0;
        background-image: url("../images/event-back-sp.svg");
    }
}
.event__bottom-decoration {
    position: absolute;
    z-index: 1;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: calc(268 / 1441 * 100vw);
    pointer-events: none;
}

.event__top-decoration {
    position: absolute;
    top: 0;
    right: min(calc(80 / 1440 * 100%), 80px);
    width: min(calc(306 / 1440 * 100%), 306px);
    height: auto;
    pointer-events: none;
}
.event__title {
    scroll-margin-top: 24px;
    aspect-ratio: 989 / 380;
    width: min(calc(495 / 1136 * 100%), 495px);
    margin-inline: auto;

    img {
        display: block;
        height: auto;
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .event__title {
        aspect-ratio: 900 / 343;
        width: 300px;
        max-width: 100%;
    }
}

.event__title--waiting {
    clip-path: inset(0 50%);
}
.event__title--revealing {
    animation: event-title-wipe 0.5s ease-out both;
}
@keyframes event-title-wipe {
    from {
        clip-path: inset(0 50%);
    }
    to {
        clip-path: inset(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .event__title--waiting,
    .event__title--revealing {
        clip-path: none;
        animation: none;
    }
}
.event__content {
    margin-top: 40px;
    padding-bottom: 32px;
    max-width: 1136px;
    margin-inline: auto;
    --event-frame-inset: 12px;
    --event-decoration-inset: 10px;
    --event-decoration-size: 50px;
    --event-frame-gap: 2px;
    --event-frame-end: calc(var(--event-decoration-inset) + var(--event-decoration-size) + var(--event-frame-gap));
    position: relative;
    background-image: url("../images/event-content-back.webp");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
}
@media screen and (min-width: 769px) {
    .event__content {
        width: calc(100% - 48px);
        max-width: 1136px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__content {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .event__content {
        --event-decoration-size: 15px;
        --event-decoration-inset: 2px;
        --event-frame-inset: 3px;
        margin-top: 56px;
        width: calc(100% - 38px);
        margin-inline: 19px;
        padding-bottom: 12px;
    }
}

.event__overview {
    position: relative;
    container-type: inline-size;
    width: min(1136px, calc(100% - 48px));
    margin: 40px auto 0;
}
@media screen and (max-width: 768px) {
    .event__overview {
        width: calc(100% - 38px);
        margin: 56px 19px 0;
    }
}
.event__overview > .event__content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
}
.event__peek {
    position: absolute;
    z-index: 0;
    --event-peek-rise: calc(var(--peek-height) / 1136 * 100cqi);
    top: calc(-1 * var(--event-peek-rise));
    width: min(calc(var(--peek-width) / 1136 * 100%), calc(var(--peek-width) * 1px));
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .event__peek {
        width: calc(var(--sp-peek-width) * 1px);
        --event-peek-rise: calc(var(--sp-peek-height) * 1px);
    }
}

.event__peek img {
    display: block;
    width: 100%;
    height: auto;
}
.event__peek--01 {
    --peek-width: 179;
    --peek-height: 205;
    left: calc(123 / 1136 * 100%);
}
@media screen and (max-width: 768px) {
    .event__peek--01 {
        --sp-peek-width: 81;
        --sp-peek-height: 91;
        left: calc(50% - 81px);
    }
}

.event__peek--02 {
    --peek-width: 147;
    --peek-height: 202;
    right: calc(155 / 1136 * 100%);
}
@media screen and (max-width: 768px) {
    .event__peek--02 {
        --sp-peek-width: 66;
        --sp-peek-height: 91;
        right: calc(50% - 81px);
    }
}

.event__overview:has(.event__content--peek-waiting) .event__peek img {
    transform: translateY(var(--event-peek-rise));
}
.event__overview:has(.event__content--peek-visible) .event__peek img {
    animation: event-peek-in 0.5s ease-out both;
}
@keyframes event-peek-in {
    from {
        transform: translateY(var(--event-peek-rise));
    }
    65% {
        transform: translateY(-6%);
    }
    85% {
        transform: translateY(2%);
    }
    to {
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .event__overview:has(.event__content--peek-waiting) .event__peek img,
    .event__overview:has(.event__content--peek-visible) .event__peek img {
        transform: none;
        animation: none;
    }
}
.event__overview + .event__content {
    margin-top: 50px;
    padding-bottom: 80px;
}
@media screen and (max-width: 768px) {
    .event__overview + .event__content {
        margin-top: 40px;
        padding-bottom: 24px;
    }
}
.event__content::before,
.event__content::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.event__content::before {
    inset: var(--event-frame-inset) var(--event-frame-end);
    border-top: 1px solid #D8BC8F;
    border-bottom: 1px solid #D8BC8F;
}
.event__content::after {
    inset: var(--event-frame-end) var(--event-frame-inset);
    border-left: 1px solid #D8BC8F;
    border-right: 1px solid #D8BC8F;
}
.event__decoration {
    position: absolute;
    width: var(--event-decoration-size);
    height: var(--event-decoration-size);
    background: url("../images/event-content-decoration.svg") center / contain no-repeat;
    pointer-events: none;
}
.event__decoration--top-left {
    top: var(--event-decoration-inset);
    left: var(--event-decoration-inset);
}
.event__decoration--top-right {
    top: var(--event-decoration-inset);
    right: var(--event-decoration-inset);
    transform: scaleX(-1);
}
.event__decoration--bottom-right {
    bottom: var(--event-decoration-inset);
    right: var(--event-decoration-inset);
    transform: scale(-1, -1);
}
.event__decoration--bottom-left {
    bottom: var(--event-decoration-inset);
    left: var(--event-decoration-inset);
    transform: scaleY(-1);
}
.event__subtitle {
    width: 357px;
    margin-inline: auto;
    padding-top: 57px;

    img {
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .event__subtitle {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .event__subtitle {
        width: 240px;
        padding-top: 27px;
    }
}
.event__heading {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}
.event__heading.of-1.event__heading--waiting {
    opacity: 0;
}
.event__heading.of-1.event__heading--revealing {
    animation: event-heading-in 0.6s ease-out both;
}
@keyframes event-heading-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .event__heading.of-1.event__heading--waiting,
    .event__heading.of-1.event__heading--revealing {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.event__heading-decoration {
    position: absolute;
    z-index: 1;
    top: 45px;
    right: -217px;
    width: 240px;
    height: auto;
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__heading-decoration {
        /* SPの122px／-62px／-48pxから、PCの240px／-217px／45pxへ補間。 */
        width: clamp(122px, calc(122px + (100vw - 769px) * 118 / 430), 240px);
        right: calc(-1 * clamp(62px, calc(62px + (100vw - 769px) * 155 / 430), 217px));
        top: clamp(-48px, calc(-48px + (100vw - 769px) * 93 / 430), 45px);
    }
}

@media screen and (max-width: 768px) {
    .event__heading-decoration {
        position: absolute;
        top: -48px;
        right: -62px;
        width: 122px;
    }
}
.event__overview-title {
    width: 518px;
    margin-inline: auto;
    padding-top: 62px;

    img {
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .event__overview-title {
        padding-top: 26px;
        width: 284px;
        max-width: 100%;
    }
}
.event__guidelines-title {
    width: 518px;
    margin-inline: auto;
    margin-top: -20px;

    img {
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .event__guidelines-title {
        width: 234px;
        max-width: 100%;
    }
}
.event__intro {
    max-width: 1110px;
    padding-inline: 40px;
    width: 100%;
    margin-inline: auto;
    margin-top: 24px;

    img {
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .event__intro {
        width: 340px;
        max-width: 100%;
        padding-inline: 0;
    }
}
.event__details {
    background: rgba(220, 206, 171, 0.3);
    border-radius: 10px;
    padding: 40px;
    max-width: 970px;
    margin-inline: auto;
    margin-top: 32px;
}
@media screen and (min-width: 769px) {
    .event__details {
        width: calc(100% - 80px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__details {
        width: calc(100% - 48px);
        padding: 28px;
    }
}

@media screen and (max-width: 768px) {
    .event__details {
        width: calc(100% - 20px);
        margin-inline: 10px;
        padding: 12px;
    }
}

.event__detail {
    display: flex;
    align-items: start;
    column-gap: 24px;
}
@media screen and (min-width: 769px) {
    .event__detail {
        align-items: center;
    }
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__detail {
        column-gap: 16px;
    }
}

@media screen and (max-width: 768px) {
    .event__detail {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }
}

.event__detail + .event__detail {
    position: relative;
    margin-top: 1rem;
    padding-top: calc(1rem + 1px);
}
.event__detail + .event__detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(to right, #DCCEBF 0 3px, transparent 3px 6px);
}
.event__detail-value {
    overflow-wrap: anywhere;
    font-weight: 400;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
    color: #000000;
    line-height: 1.4;
    padding-top: 5px;
}
@media screen and (min-width: 769px) {
    .event__detail-value {
        flex: 1;
        min-width: 0;
        padding-top: 0;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__detail-value {
        font-size: 2rem;
        flex: 1;
        min-width: 0;
    }
}
.event__detail-note {
    display: block;
    text-align: left;
    font-size: 1.8rem;
}
@media screen and (max-width: 768px) {
    .event__detail-value {
        font-size: 1.8rem;
        width: 100%;
        text-align: center;
    }
    .event__detail-note {
        font-size: 1.2rem;
        display: block;
        padding-left: 0;
        margin-top: 2px;
    }
}
.event__address-break {
    display: none;
}
@media screen and (max-width: 768px) {
    .event__address-break {
        display: inline;
    }
}
.event__detail-label {
    padding-top: .5rem;
    width: 10.1rem;
    flex-shrink: 0;
    text-align: center;
    background: #681E1E;
    border-radius: 30px;
    font-weight: 600;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-right: 20px;

    .ruby-rt {
        font-weight: 400;
        font-size: 0.8rem;
    }
}
@media screen and (min-width: 769px) {
    .event__detail-label {
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        .ruby-rt {
            font-weight: 400;
            font-size: 0.8rem;
        }
    }
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__detail-label {
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .event__detail-label {
        width: 116px;
        height: 44px;
        margin-right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
    }
}

.event__guidelines-title {
    padding-top: 60px;
}
@media screen and (max-width: 768px) {
    .event__guidelines-title {
        padding-top: 20px;
    }
}
.event__heading-note {
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    color: #6B1900;
    padding-top: 10px;

    .ruby-rt {
        font-weight: 400;
        font-size: 0.8rem;
        color: #6B1900;
    }
}
@media screen and (max-width: 768px) {
    .event__heading-note {
        font-size: 1.6rem;
        padding-top: 8px;
    }
}
.event__guidelines {
    margin-top: 40px;
    max-width: 972px;
    width: 100%;
    margin-inline: auto;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 40px;
}
@media screen and (min-width: 769px) {
    .event__guidelines {
        width: calc(100% - 80px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .event__guidelines {
        width: calc(100% - 48px);
        padding: 28px;
    }
}

@media screen and (max-width: 768px) {
    .event__guidelines {
        width: calc(100% - 48px);
        margin-top: 18px;
        margin-inline: 24px;
        padding: 12px 10px 12px;
    }
}
.event__guideline {
    --guideline-offset: 0px;
    position: relative;
    padding-left: 2.4rem;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.8;
    color: #000000;
}
@media screen and (max-width: 768px) {
    .event__guideline-text,
    .event__guideline-description,
    .event__guideline-note {
        font-size: 1.6rem;
    }
}
.event__guideline::before {
    content: "";
    position: absolute;
    top: calc(var(--guideline-offset) + 1.2rem);
    left: 0;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #000000;
}
.event__guideline + .event__guideline {
    --guideline-offset: calc(1.3rem + 1px);
    margin-top: 1.3rem;
    padding-top: var(--guideline-offset);
}
@media screen and (max-width: 768px) {
    .event__guideline + .event__guideline {
        --guideline-offset: calc(4px + 1px);
        margin-top: 4px;
        padding-top: var(--guideline-offset);
    }
}
.event__guideline + .event__guideline::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(to right, rgba(0, 0, 0, 0.2) 0 2px, transparent 2px 4px);
}
.application-selection {
    position: relative;
    isolation: isolate;
    background-color: #FBF7D9;
    padding-top: 100px;
}
@media screen and (max-width: 768px) {
    .application-selection {
        padding-top: 48px;
    }
}

.application-selection::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.3;
    background-image: url("../images/application-back-pc.webp");
    background-repeat: repeat;
    background-position: center top;
    background-size: auto;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .application-selection::before {
        background-image: url("../images/application-back-sp.svg");
    }
}
.application {
    position: relative;
}
.application__gears-boundary {
    position: relative;
    z-index: 4;
    height: 0;
    pointer-events: none;
}
.application__gears-right {
    position: absolute;
    right: -75px;
    top: -300px;
    width: 255px;
    height: 315px;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .application__gears-right {
        width: 89px;
        height: 110px;
        right: -20px;
        top: -100px;
    }
}
.application__gear-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 123px;
    height: auto;
    animation: application-small-rotate 40s linear infinite;
}
@media screen and (max-width: 768px) {
    .application__gear-small {
        width: 43px;
    }
}
.application__gear-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 255px;
    height: auto;
    animation: application-large-rotate 55s linear infinite reverse;
}
@media screen and (max-width: 768px) {
    .application__gear-large {
        width: 89px;
    }
}
@keyframes application-small-rotate {
    to { transform: rotate(360deg); }
}
@keyframes application-large-rotate {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .application__gear-small,
    .application__gear-large {
        animation: none;
    }
}
.application__title {
    scroll-margin-top: 24px;
    aspect-ratio: 989 / 372;
    width: min(calc(495 / 1136 * 100%), 495px);
    margin-inline: auto;
    
    img {
        display: block;
        height: auto;
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .application__title {
        aspect-ratio: 900 / 339;
        width: 300px;
        max-width: 100%;
    }
}

.application__title--waiting {
    clip-path: inset(0 50%);
}
.application__title--revealing {
    animation: application-title-wipe 0.5s ease-out both;
}
@keyframes application-title-wipe {
    from { clip-path: inset(0 50%); }
    to { clip-path: inset(0); }
}
@media (prefers-reduced-motion: reduce) {
    .application__title--waiting,
    .application__title--revealing {
        clip-path: none;
        animation: none;
    }
}

.application__peek {
    display: none;
}
@media screen and (max-width: 768px) {
    .application__content {
        position: relative;
        margin-top: 62px;
        padding-top: 0px;
    }
    .application__peek {
        display: block;
        position: absolute;
        z-index: 0;
        top: calc(27px - var(--application-peek-rise));
        pointer-events: none;
    }
    .application__peek img {
        display: block;
        width: 100%;
        height: auto;
    }
    .application__content:has(.application__steps--waiting) .application__peek img {
        transform: translateY(var(--application-peek-rise));
    }
    .application__content:has(.application__steps--revealing) .application__peek img {
        animation: application-peek-in 0.5s ease-out both;
    }
}
@media screen and (max-width: 768px) {
    .application__peek--01 {
        --application-peek-rise: 120px;
        width: 109px;
        left: calc(50% - 94px);
    }
}
@media screen and (max-width: 768px) {
    .application__peek--02 {
        --application-peek-rise: 115px;
        width: 64px;
        right: calc(50% - 94px);
    }
}
@keyframes application-peek-in {
    from { transform: translateY(var(--application-peek-rise)); }
    65% { transform: translateY(-6%); }
    85% { transform: translateY(2%); }
    to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .application__content .application__peek img {
        animation: none;
        transform: none;
    }
}
.application__steps {
    margin-top: 26px;
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    width: 100%;
    max-width: 972px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    column-gap: calc(38 / 972 * 100%);
}
@media screen and (min-width: 769px) {
    .application__steps {
        width: calc(100% - 48px);
        max-width: 972px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .application__steps {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .application__steps {
        z-index: 1;
        width: calc(100% - 98px);
        max-width: none;
        margin-inline: 49px;
        flex-direction: column;
        gap: 59px;
        margin-top: 0;
    }
}

.application__step .application__steps-decoration {
    --steps-decoration-base: min(100vw, 1440px);
    position: absolute;
    z-index: -1;
    width: calc(var(--steps-decoration-width) / 1440 * var(--steps-decoration-base));
    height: auto;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .application__step .application__steps-decoration {
        display: none;
    }
}
.application__steps-decoration--01 {
    --steps-decoration-width: 216;
    left: calc(-156 / 1440 * var(--steps-decoration-base));
    top: calc(-229 / 1440 * var(--steps-decoration-base));
}
@media screen and (min-width: 769px) {
    .application__steps-decoration--01 {
        /* 画面端に16px残し、狭いPC画面では内側へ寄せる。 */
        left: max(calc(-156 / 1440 * var(--steps-decoration-base)), calc((min(972px, 100vw - 48px) - 100vw) / 2 + 16px));
    }
}

.application__steps-decoration--02 {
    --steps-decoration-width: 163;
    right: calc(-114 / 1440 * var(--steps-decoration-base));
    top: calc(-242 / 1440 * var(--steps-decoration-base));
}
@media screen and (min-width: 769px) {
    .application__steps-decoration--02 {
        /* 画面端に16px残し、狭いPC画面では内側へ寄せる。 */
        right: max(calc(-114 / 1440 * var(--steps-decoration-base)), calc((min(972px, 100vw - 48px) - 100vw) / 2 + 16px));
    }
}

.application__steps--waiting .application__steps-decoration {
    opacity: 0;
}
.application__steps--revealing .application__steps-decoration {
    animation: application-decoration-in 0.6s ease-out both;
}
@keyframes application-decoration-in {
    from {
        opacity: 0;
        transform: translateY(15%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .application__steps--waiting .application__steps-decoration,
    .application__steps--revealing .application__steps-decoration {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.application__step {
    flex: 0 0 calc((972 - 38) / 2 / 972 * 100%);
}
@media screen and (max-width: 768px) {
    .application__step {
        position: relative;
        flex: none;
        width: 100%;
    }
    .application__step:first-child::after {
        content: "";
        position: absolute;
        top: calc(100% + 16px);
        left: 50%;
        width: 42px;
        aspect-ratio: 42 / 27;
        transform: translateX(-50%);
        background: url("../images/steps-arrow-sp.svg") center / contain no-repeat;
        pointer-events: none;
    }
}

.application__step img {
    display: block;
    width: 100%;
    height: auto;
}
.application__steps::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    /* 飛び出し分の中心補正から、矢印の影8px分を引いて上へ移動する。 */
    margin-top: calc((30 / 471 * (972 - 38) / 2 - 8) / 972 * 100%);
    width: calc(23 / 972 * 100%);
    aspect-ratio: 46 / 91;
    transform: translate(-50%, -50%);
    background: url("../images/list-arrow.webp") center / contain no-repeat;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .application__steps::after {
        display: none;
    }
}

.application__button {
    width: 520px;
    margin: 40px auto 0 auto;
    display: block;

    img {
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 769px) {
    .application__button {
        width: min(520px, calc(100% - 48px));
    }
}

@media screen and (max-width: 768px) {
    .application__button {
        width: calc(100% - 38px);
        max-width: 337px;
        margin-inline: auto;
    }
}
.application__deadline {
    margin-top: 20px;
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 180%;
    text-align: center;
    color: #6B1900;
}
@media screen and (max-width: 768px) {
    .application__deadline {
        font-size: 2rem;
        width: calc(100% - 38px);
        max-width: 337px;
        margin-inline: auto;
    }
}
.application__notice {
    font-weight: 400;
    font-size: 2rem;
    line-height: 180%;
    text-align: center;
    color: #6B1900;

    .application__link {
        color: #E00000;
        text-decoration: underline;
    }
}
@media screen and (min-width: 769px) {
    .application__notice {
        max-width: 972px;
        width: calc(100% - 48px);
        margin-inline: auto;
    }
}

@media screen and (max-width: 768px) {
    .application__notice {
        width: calc(100% - 38px);
        margin-inline: auto;
    }
}

@media screen and (max-width: 768px) {
    .application__notice {
        font-size: 1.6rem;
    }
}
.application__notice-part {
    display: inline-block;
}
@media screen and (max-width: 359px) {
    .application__notice-part {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}




.application__button {
    display: block;
}
.application__button-visual {
    display: block;
    -webkit-filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 #A66D0A);
    filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 #A66D0A);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, filter;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}
@media screen and (max-width: 768px) {
    .application__button-visual {
        --button-shadow-offset: 4px;
    }
}

@media (hover: hover) {
    .application__button:hover .application__button-visual {
            -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            -webkit-filter: drop-shadow(0 0 0 #A66D0A);
            filter: drop-shadow(0 0 0 #A66D0A);
        }
}
.application__button:active .application__button-visual {
    -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    -webkit-filter: drop-shadow(0 0 0 #A66D0A);
    filter: drop-shadow(0 0 0 #A66D0A);
}
@media (prefers-reduced-motion: reduce) {
    .application__button-visual {
            transition: none;
        }
}

.application__button-visual {
    position: relative;
}
.application__button-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.application__button-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
@media (min-width: 769px) and (hover: hover) {
    .application__button:hover .application__button-hover-image {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .application__button-hover-image {
        transition: none;
    }
}

.selection {
    position: relative;
    padding-bottom: calc(267 / 1440 * 100% + 72px) ;
}
.selection::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: calc(267 / 1440 * 100vw + 2px);
    background: url("../images/selection-decoration-bottom.svg") center / 100% 100% no-repeat;
    pointer-events: none;
}
.selection__divider {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-inline: auto;
    margin-top: 100px;
    margin-bottom: 72px;
}
@media screen and (max-width: 768px) {
    .selection__divider {
        width: calc(100% - 40px);
        margin: 30px 20px;
    }
}

.selection__divider::before,
.selection__divider::after {
    content: "";
    flex: 1;
    height: 3px;
    background-color: #DDCCAB;
}
@media screen and (max-width: 768px) {
    .selection__divider::before,
    .selection__divider::after {
        height: 1px;
    }
}

.selection__divider-icon {
    display: block;
    width: 58px;
    height: auto;
    flex-shrink: 0;
}
@media screen and (max-width: 768px) {
    .selection__divider-icon {
        width: 29px;
    }
}

.selection__peek {
    display: none;
}
@media screen and (max-width: 768px) {
    .selection__content {
        position: relative;
        margin-top: 56px;
        padding-top: 0;
    }
    .selection__peek {
        display: block;
        position: absolute;
        top: calc(27px - 118px);
        left: calc(50% - 34.5px);
        width: 69px;
        pointer-events: none;
    }
    .selection__peek img {
        display: block;
        width: 100%;
        height: auto;
    }
    .selection__content:has(.selection__steps--waiting) .selection__peek img {
        transform: translateY(91px);
    }
    .selection__content:has(.selection__steps--revealing) .selection__peek img {
        animation: selection-peek-in 0.5s ease-out both;
    }
}
@keyframes selection-peek-in {
    from { transform: translateY(91px); }
    65% { transform: translateY(-6%); }
    85% { transform: translateY(2%); }
    to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .selection__content .selection__peek img {
        animation: none;
        transform: none;
    }
}
.selection__steps {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 972px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    column-gap: calc(30 / 972 * 100%);
    margin-top: 0px;
}
@media screen and (min-width: 769px) {
    .selection__steps {
        width: calc(100% - 48px);
        max-width: 972px;
        margin-top: 30px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .selection__steps {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .selection__steps {
        z-index: 1;
        width: calc(100% - 98px);
        max-width: none;
        margin-inline: 49px;
        flex-direction: column;
        gap: 59px;
    }
}

.selection__step .selection__steps-decoration {
    --steps-decoration-base: min(100vw, 1440px);
    position: absolute;
    z-index: -1;
    right: calc(-160 / 1440 * var(--steps-decoration-base));
    top: calc(-220 / 1440 * var(--steps-decoration-base));
    width: calc(144 / 1440 * var(--steps-decoration-base));
    height: auto;
    pointer-events: none;
}
@media screen and (min-width: 769px) {
    .selection__step .selection__steps-decoration {
        right: max(calc(-160 / 1440 * var(--steps-decoration-base)), calc((min(972px, 100vw - 48px) - 100vw) / 2 + 16px));
    }
}

@media screen and (max-width: 768px) {
    .selection__step .selection__steps-decoration {
        display: none;
    }
}

.selection__steps--waiting .selection__steps-decoration {
    opacity: 0;
}
.selection__steps--revealing .selection__steps-decoration {
    animation: selection-decoration-in 0.6s ease-out both;
}
@keyframes selection-decoration-in {
    from { opacity: 0; transform: translateY(15%); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .selection__steps--waiting .selection__steps-decoration,
    .selection__steps--revealing .selection__steps-decoration {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.selection__step {
    position: relative;
    flex: 0 0 calc((972 - 30 * 3) / 4 / 972 * 100%);
}
@media screen and (max-width: 768px) {
    .selection__step {
        flex: none;
        width: 100%;
    }
}

.selection__step img {
    display: block;
    width: 100%;
    height: auto;
}
.selection__step:not(:last-child)::after {
    content: "";
    position: absolute;
    /* 972px時の列幅220.5pxを基準に、6px空けて18pxの矢印を置く。 */
    left: calc(100% + 6 / 220.5 * 100%);
    top: 50%;
    width: calc(18 / 220.5 * 100%);
    aspect-ratio: 46 / 91;
    /* 元画像幅440px・飛び出し50pxを表示倍率に合わせ、影の補正も引く。 */
    margin-top: calc((25 / 440 - 8 * 18 / 23 / 220.5) * 100%);
    transform: translateY(-50%);
    background: url("../images/list-arrow.webp") center / contain no-repeat;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .selection__step:not(:last-child)::after {
        left: 50%;
        top: calc(100% + 16px);
        width: 42px;
        aspect-ratio: 42 / 27;
        margin-top: 0;
        transform: translateX(-50%);
        background-image: url("../images/steps-arrow-sp.svg");
    }
}

.selection__title {
    scroll-margin-top: 24px;
    aspect-ratio: 990 / 372;
    width: min(calc(495 / 1136 * 100%), 495px);
    margin-inline: auto;
    
    img {
        display: block;
        height: auto;
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .selection__title {
        aspect-ratio: 900 / 339;
        width: 300px;
        max-width: 100%;
    }
}

.selection__title--waiting {
    clip-path: inset(0 50%);
}
.selection__title--revealing {
    animation: selection-title-wipe 0.5s ease-out both;
}
@keyframes selection-title-wipe {
    from { clip-path: inset(0 50%); }
    to { clip-path: inset(0); }
}
@media (prefers-reduced-motion: reduce) {
    .selection__title--waiting,
    .selection__title--revealing {
        clip-path: none;
        animation: none;
    }
}


.terms {
    margin-top: 40px;
    padding-bottom: 80px;
    max-width: 1136px;
    margin-inline: auto;
    --terms-frame-inset: 12px;
    --terms-decoration-inset: 10px;
    --terms-decoration-size: 50px;
    --terms-frame-gap: 2px;
    --terms-frame-end: calc(var(--terms-decoration-inset) + var(--terms-decoration-size) + var(--terms-frame-gap));
    position: relative;
    background-image: url("../images/event-content-back.webp");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
}
@media screen and (min-width: 769px) {
    .terms {
        width: calc(100% - 48px);
        max-width: 1136px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .terms {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .terms {
        --terms-decoration-size: 15px;
        --terms-decoration-inset: 2px;
        --terms-frame-inset: 3px;
        width: calc(100% - 38px);
        margin-inline: 19px;
        margin-top: 56px;
        padding-bottom: 24px;
    }
}

.terms::before,
.terms::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.terms::before {
    inset: var(--terms-frame-inset) var(--terms-frame-end);
    border-top: 1px solid #D8BC8F;
    border-bottom: 1px solid #D8BC8F;
}
.terms::after {
    inset: var(--terms-frame-end) var(--terms-frame-inset);
    border-left: 1px solid #D8BC8F;
    border-right: 1px solid #D8BC8F;
}
.terms__decoration {
    position: absolute;
    width: var(--terms-decoration-size);
    height: var(--terms-decoration-size);
    background: url("../images/event-content-decoration.svg") center / contain no-repeat;
    pointer-events: none;
}
.terms__decoration--top-left {
    top: var(--terms-decoration-inset);
    left: var(--terms-decoration-inset);
}
.terms__decoration--top-right {
    top: var(--terms-decoration-inset);
    right: var(--terms-decoration-inset);
    transform: scaleX(-1);
}
.terms__decoration--bottom-right {
    bottom: var(--terms-decoration-inset);
    right: var(--terms-decoration-inset);
    transform: scale(-1, -1);
}
.terms__decoration--bottom-left {
    bottom: var(--terms-decoration-inset);
    left: var(--terms-decoration-inset);
    transform: scaleY(-1);
}

.terms__title {
    width: 143px;
    max-width: 100%;
    margin-inline: auto;
    padding-top: 60px;
}
@media screen and (max-width: 768px) {
    .terms__title {
        width: 104px;
    }
}

@media screen and (max-width: 768px) {
    .terms__title {
        padding-top: 20px;
    }
}
.terms__title picture {
    display: block;
    width: 100%;
}
.terms__title img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    height: auto;
}
.terms__content {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #6B1900;
    margin-top: 40px;
    max-width: 972px;
    margin-inline: auto;
    max-height: 500px;
    padding: 60px 20px 60px 60px;
    background-color: #FFFFFF;
    border-radius: 10px;
}
@media screen and (min-width: 769px) {
    .terms__content {
        width: calc(100% - 80px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .terms__content {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .terms__content {
        width: calc(100% - 48px);
        margin-top: 12px;
        margin-inline: 24px;
        padding: 12px 10px;
        height: 500px;
        font-size: 1.4rem;
        line-height: 1.8;
    }
}

.terms__heading {
    font-weight: 700;
}
@media screen and (max-width: 768px) {
    .terms__text + .terms__text {
        margin-top: 1.8em;
    }
}
.terms__section {
    margin-top: 1.8em;
}
.terms__heading::before {
    content: "■";
}
.terms__heading--plain::before {
    content: none;
}
.terms__item > p {
    margin-top: 0;
}
.terms__item::before {
    content: none;
}
.terms__sublist {
    padding-left: 1em;
}
.terms__subitem::before {
    content: "";
}
.terms__link {
    text-decoration: underline;
}

.terms__scroll {
    max-height: 380px;
    /* 右余白60px = 外側20px + スクロールバー8px + 内側32px。 */
    padding-right: 32px;
    overflow-y: auto;
    scrollbar-gutter: stable;
}
@media screen and (max-width: 768px) {
    .terms__scroll {
        height: 100%;
        max-height: 476px;
        padding-right: 10px;
    }
}

.terms__scroll::-webkit-scrollbar {
    width: 8px;
}
.terms__scroll::-webkit-scrollbar-track {
    background: rgba(107, 25, 0, 0.1);
    border-radius: 4px;
}
.terms__scroll::-webkit-scrollbar-thumb {
    background: #6B1900;
    border-radius: 4px;
}

.contact {
    margin-top: 72px;
    padding-bottom: 40px;
    max-width: 1136px;
    margin-inline: auto;
    --contact-frame-inset: 12px;
    --contact-decoration-inset: 10px;
    --contact-decoration-size: 50px;
    --contact-frame-gap: 2px;
    --contact-frame-end: calc(var(--contact-decoration-inset) + var(--contact-decoration-size) + var(--contact-frame-gap));
    position: relative;
    background-image: url("../images/event-content-back.webp");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
}
@media screen and (min-width: 769px) {
    .contact {
        width: calc(100% - 48px);
        max-width: 1136px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .contact {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .contact {
        --contact-decoration-size: 15px;
        --contact-decoration-inset: 2px;
        --contact-frame-inset: 3px;
        width: calc(100% - 38px);
        margin-inline: 19px;
        margin-top: 56px;
        padding-bottom: 24px;
    }
}

.contact::before,
.contact::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.contact::before {
    inset: var(--contact-frame-inset) var(--contact-frame-end);
    border-top: 1px solid #D8BC8F;
    border-bottom: 1px solid #D8BC8F;
}
.contact::after {
    inset: var(--contact-frame-end) var(--contact-frame-inset);
    border-left: 1px solid #D8BC8F;
    border-right: 1px solid #D8BC8F;
}
.contact__decoration {
    position: absolute;
    width: var(--contact-decoration-size);
    height: var(--contact-decoration-size);
    background: url("../images/event-content-decoration.svg") center / contain no-repeat;
    pointer-events: none;
}
.contact__decoration--top-left {
    top: var(--contact-decoration-inset);
    left: var(--contact-decoration-inset);
}
.contact__decoration--top-right {
    top: var(--contact-decoration-inset);
    right: var(--contact-decoration-inset);
    transform: scaleX(-1);
}
.contact__decoration--bottom-right {
    bottom: var(--contact-decoration-inset);
    right: var(--contact-decoration-inset);
    transform: scale(-1, -1);
}
.contact__decoration--bottom-left {
    bottom: var(--contact-decoration-inset);
    left: var(--contact-decoration-inset);
    transform: scaleY(-1);
}

.contact__title {
    width: 249px;
    max-width: 100%;
    margin-inline: auto;
    padding-top: 60px;
}
@media screen and (max-width: 768px) {
    .contact__title {
        width: 182px;
    }
}

@media screen and (max-width: 768px) {
    .contact__title {
        padding-top: 20px;
    }
}

.contact__title picture {
    display: block;
    width: 100%;
}
.contact__title img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    height: auto;
}
.contact__content {
    margin-top: 40px;
    max-width: 972px;
    margin-inline: auto;
    padding: 40px 60px;
    background-color: #FFFFFF;
    border-radius: 10px;
}
@media screen and (min-width: 769px) {
    .contact__content {
        width: calc(100% - 80px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .contact__content {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 768px) {
    .contact__content {
        width: calc(100% - 48px);
        margin-top: 12px;
        margin-inline: 24px;
        padding: 12px 10px;
    }
}


.contact__break-sp {
    display: none;
}
@media screen and (max-width: 768px) {
    .contact__break-sp {
        display: inline;
    }
}
.contact__name {
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    color: #6B1900;
}
@media screen and (max-width: 768px) {
    .contact__name {
        line-height: 1.4;
    }
}

@media screen and (max-width: 768px) {
    .contact__name {
        font-size: 2rem;
    }
    .contact__name-part {
        display: inline-block;
    }
@media screen and (max-width: 359px) {
    .contact__name-part {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

}

.contact__email {
    margin-top: 15px;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 180%;
    text-align: center;
    color: #6B1900;
}
@media screen and (max-width: 768px) {
    .contact__email {
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 768px) {
    .contact__email {
        font-size: 1.6rem;
        margin-top: 10px;
    }
}

.contact__period {
    margin-top: 12px;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 140%;
    text-align: center;
    color: #6B1900;
}
@media screen and (max-width: 768px) {
    .contact__period {
        font-size: 1.6rem;
        margin-top: 10px;
    }
    .contact__period-part {
        display: inline-block;
    }
@media screen and (max-width: 359px) {
    .contact__period-part {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

}

.contact__hours {
    margin-top: 17px;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 140%;
    text-align: center;
    color: #6B1900;
}
@media screen and (max-width: 768px) {
    .contact__hours {
        font-size: 1.2rem;
        margin-top: 10px;
    }
}

.contact__note {
    margin-top: 17px;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 140%;
    text-align: center;
    color: #6B1900;
}
@media screen and (max-width: 768px) {
    .contact__note {
        font-size: 1.2rem;
        margin-top: 10px;
    }
}


.footer {
    background-image: url("../images/footer-back-decoration.svg"), linear-gradient(270deg, #1D4294 0%, #0071BB 48.56%, #1D4294 100%);
    background-repeat: repeat, no-repeat;
    background-position: center top;
    background-size: auto, 100% 100%;
}
.footer__movie {
    padding-bottom: 60px;
    padding-top: 60px;
}
.footer__movie-logo {
    width: 394px;
    margin-inline: auto;

    img{
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 769px) {
    .footer__movie-logo {
        width: min(394px, calc(100% - 48px));
    }
}

@media screen and (max-width: 768px) {
    .footer__movie-logo {
        width: calc(100% - 92px);
        margin-inline: 46px;
    }
}
.footer__movie-release {
    aspect-ratio: 1626 / 203;
    width: 772px;
    margin-inline: auto;
    margin-top: 20px;

    img{
        display: block;
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 769px) {
    .footer__movie-release {
        width: min(772px, calc(100% - 48px));
    }
}

@media screen and (max-width: 768px) {
    .footer__movie-release {
        aspect-ratio: 1050 / 332;
        width: calc(100% - 92px);
        margin-inline: 46px;
    }
}
.footer__movie-release--waiting {
    opacity: 0;
}
.footer__movie-release--revealing {
    transform-origin: center;
    animation: footer-release-in 0.6s ease-out both;
}
@keyframes footer-release-in {
    from {
        opacity: 0;
        transform: scale(0.75);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer__movie-release--waiting,
    .footer__movie-release--revealing {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.footer__movie-button {
    width: 308px;
    margin-inline: auto;
    margin-top: 32px;
    display: block;

    img{
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 769px) {
    .footer__movie-button {
        width: min(308px, calc(100% - 48px));
    }
}

@media screen and (max-width: 768px) {
    .footer__movie-button {
        width: min(308px, calc(100% - 38px));
    }
}


.footer__legal {
    background: #01489D;
    padding: 30px 0;
}
@media screen and (min-width: 769px) {
    .footer__legal {
        padding-inline: 24px;
    }
}

@media screen and (max-width: 768px) {
    .footer__legal {
        padding: 24px 19px 0;
    }
}

.footer__copyright,
.footer__notice {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
    color: #FFFFFF;
}
@media screen and (max-width: 768px) {
    .footer__notice {
        overflow-wrap: anywhere;
    }
}

.footer__copyright small,
.footer__notice small {
    font-size: inherit;
}
.footer__break-sp {
    display: none;
}
@media screen and (max-width: 768px) {
    .footer__break-sp {
        display: inline;
    }
    .footer__text-part {
        display: inline-block;
    }
}
@media screen and (max-width: 768px) {
    .footer__nav {
        margin-top: 25px;
        padding-bottom: 38px;
    }
}
.footer__links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #FFFFFF;
}
@media screen and (max-width: 768px) {
    .footer__links {
        margin-top: 0;
        flex-direction: column;
        width: 285px;
        max-width: 100%;
        margin-inline: auto;
    }
}

.footer__item {
    position: relative;
    padding-inline: 14px;
}
@media screen and (max-width: 768px) {
    .footer__item {
        width: 100%;
        padding: 0;
        border-top: 1px solid #FFFFFF;
    }
}

.footer__item::before,
.footer__item:last-child::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 1em;
    background-color: #FFFFFF;
    transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
    .footer__item::before,
    .footer__item:last-child::after {
        display: none;
    }
}

.footer__item::before {
    left: 0;
}
.footer__item:last-child::after {
    right: 0;
}


@media screen and (max-width: 768px) {
    .footer__item:last-child {
        border-bottom: 1px solid #FFFFFF;
    }
    .footer__link {
        display: block;
        padding: 14px;
        font-size: 1.2rem;
        text-align: center;
    }
}

.footer__movie-button {
    display: block;
}
.footer__button-visual {
    display: block;
    -webkit-filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 #531C1C);
    filter: drop-shadow(0 var(--button-shadow-offset, 7px) 0 #531C1C);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, filter;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}
@media screen and (max-width: 768px) {
    .footer__button-visual {
        --button-shadow-offset: 4px;
    }
}

@media (hover: hover) {
    .footer__movie-button:hover .footer__button-visual {
            -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
            -webkit-filter: drop-shadow(0 0 0 #531C1C);
            filter: drop-shadow(0 0 0 #531C1C);
        }
}
.footer__movie-button:active .footer__button-visual {
    -webkit-transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    transform: translate3d(0, var(--button-shadow-offset, 7px), 0);
    -webkit-filter: drop-shadow(0 0 0 #531C1C);
    filter: drop-shadow(0 0 0 #531C1C);
}
@media (prefers-reduced-motion: reduce) {
    .footer__button-visual {
            transition: none;
        }
}

.footer__button-visual {
    position: relative;
}
.footer__button-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.footer__button-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
@media (min-width: 769px) and (hover: hover) {
    .footer__movie-button:hover .footer__button-hover-image {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer__button-hover-image {
        transition: none;
    }
}

.to-top {
    position: fixed;
    z-index: 10;
    right: 35px;
    bottom: 60px;
    display: block;
    width: 84px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
@media screen and (max-width: 768px) {
    .to-top {
        right: 4px;
        bottom: 20px;
        width: 38px;
        transition: none;
    }
}
.to-top--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0s;
}
@media screen and (max-width: 768px) {
    .to-top--visible {
        transition: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .to-top {
        transition: none;
    }
}
.to-top__image {
    display: block;
    width: 100%;
    height: auto;
}
.to-top__arrow {
    position: absolute;
    left: 50%;
    top: -48px;
    width: 38px;
    height: auto;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .to-top__arrow {
        display: none;
    }
}
@media (hover: hover) {
    .to-top:hover .to-top__arrow {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
.to-top:focus-visible .to-top__arrow {
    opacity: 1;
    transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) {
    .to-top__arrow {
        transition: none;
    }
}
