@charset "UTF-8";
@import url('destyle.min.css');

:root {
    --c-white: #ffffff;
    --c-accent: #b8d900;
    --c-text: #131637;
    --c-text-sub: #292f6f;
    --c-bg: #292f6f;
    --c-bg-dark: #131637;
    --c-bg-light: #eceffe;
    --c-button: #7b98ff;
    --c-button-hover: #6b85e0;
    --c-link-hover: #4860b5;
    --c-border: #d7daee;
    --c-attention: #e3004a;

    --z-fixed: 1030;
    --z-modal: 1050;
    --f-default: 'Noto Sans JP', sans-serif;
    --f-en: 'Space Grotesk', sans-serif;
}

html {
    scroll-padding-top: 5rem;

    @media (prefers-reduced-motion: no-preference) {
        scroll-behavior: smooth;
    }
}

body {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-default);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.0025em;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-break: strict;
}

body:has(#gnavToggle[aria-expanded='true']) {
    @media (width < 992px) {
        overflow: hidden;

        &::after {
            position: absolute;
            background-color: rgba(16, 26, 58, 0.3);
            pointer-events: none;
            content: '';
            inset: 0;
        }
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

:focus-visible {
    outline: 2px solid var(--c-text);
    outline-offset: 0;
    box-shadow: 0 0 0 4px var(--c-white);
}

/* ==============================
   Parts
   ============================== */

/* display */
.visually-hidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    white-space: nowrap;
}

.d-sp-none {
    @media (width < 992px) {
        display: none !important;
    }
}
.d-pc-none {
    @media (width >= 992px) {
        display: none !important;
    }
}

/* container */
.container {
    width: 100%;
    max-width: calc(65rem + 2.5rem);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* title */
.section__heading {
    display: flex;
    flex-direction: column-reverse;
    margin-block-end: 1.5rem;
    row-gap: 0.56rem;

    .section__title {
        font-size: 2rem;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0.01em;
    }

    .section__label {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: var(--c-accent);
        font-family: var(--f-en);
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1;
    }
}

/* link */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background-color: var(--c-button);
    color: var(--c-text);
    font-weight: 500;
    line-height: 1.2;

    @media (hover: hover) {
        transition: background-color 0.2s ease-out;
        will-change: background-color;

        &:hover {
            background-color: var(--c-button-hover);
        }
    }

    .btn__icon {
        flex-shrink: 0;
    }
}

.link-text {
    text-decoration: underline;
    @media (hover: hover) {
        transition: color 0.2s ease-out;
        will-change: color;

        &:hover {
            color: var(--c-link-hover);
        }
    }
}

/* list-disc */
.list-disc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    li {
        position: relative;
        padding-inline-start: 1.5rem;

        &::before {
            position: absolute;
            top: 0.6875rem;
            left: 0.3125rem;
            width: 0.375rem;
            height: 0.375rem;
            border-radius: 50%;
            background-color: currentColor;
            content: '';
        }
    }
}

/* note */
.note {
    position: relative;
    padding-inline-start: 1em;

    .note__mark {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.attention {
    color: var(--c-attention);
}

.box-attention {
    padding: 1rem;
    border: 1px solid currentColor;
    border-radius: 0.5rem;
    color: var(--c-attention);
    text-align: center !important;
}

/* ==============================
   Header
   ============================== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: var(--z-fixed);
    display: flex;
    justify-content: flex-end;
    background-color: var(--c-white);
    box-shadow: 0 4px 10px 0 rgba(16, 26, 58, 0.05);

    @media (width >= 992px) {
        padding: 1rem 2rem;
    }

    .header__logo {
        position: absolute;
        top: 50%;
        left: 2rem;
        margin-top: -0.04%;
        translate: 0 -50%;

        @media (width < 992px) {
            left: 1.5rem;
            width: 6.25rem;
        }
    }

    .header__end {
        display: flex;
        justify-content: center;
        gap: 0.25rem;
        width: fit-content;
        border: 1px solid currentColor;
        color: var(--c-attention);
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.2;
        align-self: center;

        @media (width < 992px) {
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        @media (width >= 992px) {
            margin-inline-start: 1rem;
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
        }
    }
}

.gnav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;

    @media (width < 992px) {
        position: absolute;
        top: 3.75rem;
        right: 0;
        left: 0;
        flex-direction: column;
        padding-block-end: 2rem;
        background-color: var(--c-white);
        font-size: 1rem;
        box-shadow: 0 4px 10px 0 rgba(16, 26, 58, 0.05);

        #gnavToggle[aria-expanded='false'] + & {
            display: none;
        }
    }

    .gnav__list {
        display: flex;

        @media (width < 992px) {
            flex-direction: column;
        }

        a {
            display: block;
            padding: 0.75rem;
            border-radius: 0.75rem;
            font-weight: 500;
            line-height: 1.2;
            text-align: center;

            @media (hover: hover) {
                transition: background-color 0.2s ease-out;
                will-change: background-color;

                &:hover {
                    background-color: var(--c-bg-light);
                }
            }

            &[aria-current='location'] {
                @media (width >= 992px) {
                    color: var(--c-link-hover);
                    text-decoration: underline;
                }
            }
        }
    }
}

.gnav__toggle {
    @media (width < 992px) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        order: 1;
        width: 3.75rem;
        height: 3.75rem;
        row-gap: 0.25rem;

        > span {
            display: block;
            width: 1.5rem;
            height: 2px;
            background-color: var(--c-text);

            @media (prefers-reduced-motion: no-preference) {
                transition: rotate 0.5s ease-out;
            }
        }

        &[aria-expanded='true'] {
            > span {
                &:nth-of-type(1) {
                    rotate: 45deg;
                }
                &:nth-of-type(2) {
                    margin-top: calc(-0.25rem - 2px);
                    rotate: -45deg;
                }
                &:nth-of-type(3) {
                    display: none;
                }
            }
        }
    }

    @media (width >= 992px) {
        display: none;
    }
}

.skip-anchor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 0.75rem 1rem;
    background-color: var(--c-white);

    &:not(:focus) {
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
        white-space: nowrap;
    }
}

/* ==============================
   Main
   ============================== */

/* mv */
.mv {
    position: relative;
    overflow: hidden;

    &::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 24%;
        background: linear-gradient(180deg, rgba(18, 59, 140, 0) 0%, var(--c-bg) 100%);
        content: '';
    }

    .mv__bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .mv__inner {
        position: relative;
        container-type: inline-size;

        @media (width < 992px) {
            max-width: 37.5rem;
            margin-inline: auto;
        }

        @media (width >= 992px) {
            display: flex;
            align-items: center;
            max-width: 90rem;
            margin-inline: auto;
            aspect-ratio: 1440 / 832;
        }
    }

    .mv__text {
        position: relative;
        z-index: 2;

        @media (width < 992px) {
            padding: calc(3.75rem + 8.21cqw) 5.13cqw 10.26cqw;
        }

        @media (width >= 992px) {
            padding-inline-start: 5.56cqw;
        }
    }

    .mv__title {
        filter: drop-shadow(0 0 10px rgba(41, 47, 111, 0.8));

        @media (width >= 992px) {
            width: 51.11cqw;
        }
    }

    .mv__desc {
        margin-block-start: 1.3em;
        color: var(--c-white);
        font-weight: 700;
        line-height: 1.75;
        font-feature-settings: 'palt' on;

        @media (width < 992px) {
            font-size: 3.76cqw;
        }

        @media (width >= 992px) {
            margin-block-start: 1.74cqw;
            font-size: 1.81cqw;
        }

        span {
            padding: 0.05em 0.2em;
            border-radius: 0.25rem;
            background: rgba(41, 47, 111, 0.7);

            @media (width >= 992px) {
                &:nth-of-type(1) {
                    padding-inline-end: 0;
                    border-radius: 0.25rem 0 0 0.25rem;
                }
                &:nth-of-type(2) {
                    padding-inline-start: 0;
                    border-radius: 0 0.25rem 0.25rem 0;
                }
            }
        }
    }

    .mv__photo {
        @media (width < 992px) {
            position: absolute;
            top: calc(3.75rem - 5.13cqw);
            left: -5.13cqw;
            width: 76.93cqw;
        }

        @media (width >= 992px) {
            position: absolute;
            top: 0;
            left: 50%;
            width: 57.78cqw;
            max-width: none;
        }
    }
}

/* introduction */
.introduction {
    position: relative;
    margin-block-end: 7.5rem;

    @media (width < 992px) {
        margin-block-end: 5rem;
    }

    @media (width >= 992px) {
        margin-block-start: -5rem;
    }

    .introduction__list {
        display: grid;
        gap: 0.25rem;

        @media (width >= 768px) {
            grid-template-columns: repeat(3, 1fr);
        }

        .introduction__item {
            padding: 1rem 1rem 1.5rem;
            border-radius: 0.5rem;
            background-color: var(--c-white);
        }

        .introduction__image {
            width: 100%;
            margin-block-end: 1.75rem;
            border-radius: 0.5rem;
        }

        .introduction__title {
            margin-block-end: 0.5rem;
            font-size: 1.375rem;
            font-weight: 700;

            @media (width < 992px) {
                font-size: 1.125rem;
            }
        }

        .introduction__desc {
            line-height: 1.75;
            text-align: justify;
        }
    }
}

/* about */
.about {
    margin-block-end: 7.5rem;
    margin-inline: auto;
    padding: 3.75rem 0;
    border-radius: 0.75rem;
    background: var(--c-bg-dark);
    color: var(--c-white);

    @media (width < 768px) {
        padding-block-end: 1.25rem;
    }

    @media (width < 992px) {
        margin-block-end: 5rem;
    }

    @media (width >= 992px) {
        width: calc(100% - 3rem * 2);
        min-width: calc(65rem - 1.25rem * 2);
    }

    .about__body {
        display: grid;
        gap: 2.5rem 5rem;
        @media (width >= 768px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .about__text {
        line-height: 2;
        text-align: justify;
    }

    .btn {
        margin-block-start: 2rem;
    }

    .about__gallery {
        display: grid;
        overflow: hidden;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 0.75rem;
        align-self: flex-start;
    }
}

/* join */
.join {
    margin-block-end: 7.5rem;

    @media (width < 992px) {
        margin-block-end: 5rem;
    }

    .join__intro {
        margin-block-end: 3.75rem;
        color: var(--c-white);
    }

    .join__lead {
        line-height: 2;
        text-align: justify;
    }

    .join__wrapper {
        display: flex;
        @media (width < 1024px) {
            flex-direction: column;
            row-gap: 2.5rem;
        }

        @media (width >= 1024px) {
            flex-direction: row-reverse;
            justify-content: flex-end;
            column-gap: 3.75rem;
        }
    }

    .join__contents {
        @media (width >= 1024px) {
            width: 50rem;
        }
    }

    .join__nav {
        @media (width >= 1024px) {
            position: sticky;
            top: 4.5625rem;
            flex-shrink: 0;
            align-self: flex-start;
        }

        ul {
            @media (width < 1024px) {
                display: flex;
                flex-wrap: wrap;
                column-gap: 1.5rem;
            }
        }

        a {
            display: flex;
            align-items: center;
            padding-block: 0.75rem;
            color: var(--c-white);
            font-size: 0.875rem;
            font-weight: 500;
            line-height: 1.2;
            column-gap: 0.5rem;

            @media (width < 1024px) {
                border-block-end: 1px dotted currentColor;
            }

            @media (hover: hover) {
                transition: color 0.2s ease-out;
                will-change: color;

                &:hover {
                    color: var(--c-border);
                }
            }

            &[aria-current='location'] {
                @media (width >= 1024px) {
                    color: var(--c-accent);
                    span:not(.join__nav-num) {
                        text-decoration: underline;
                    }
                }
            }
        }

        .join__nav-num {
            flex-shrink: 0;
            font-family: var(--f-en);
            font-weight: 400;
        }
    }

    .join__badge {
        color: var(--c-attention);
        font-weight: 700;
    }
}

/* box */
.box {
    padding: 1rem 1rem 3rem;
    border-radius: 0.75rem;
    background-color: var(--c-white);
    &:not(:last-of-type) {
        margin-block-end: 0.25rem;
    }

    .box__heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.25rem 1.25rem;
        margin-block-end: 1.5rem;
        padding: 1rem;
        border-radius: 0.5rem;
        background-color: var(--c-bg-light);

        .box__title {
            font-size: 1.5rem;
            font-weight: 500;
            line-height: 1.2;

            @media (width < 992px) {
                font-size: 1.25rem;
            }
        }

        .box__num {
            color: var(--c-text-sub);
            font-family: var(--f-en);
            font-size: 0.875rem;
            font-weight: 500;
            line-height: 1;

            @media (width < 992px) {
                font-size: 0.75rem;
            }
        }
    }

    .box__body {
        padding-inline: 3rem;
        line-height: 1.75;

        @media (width < 768px) {
            padding-inline: 0;
        }

        > *:not(:last-child) {
            margin-block-end: 1.25rem;
        }

        p {
            text-align: justify;
            word-break: break-all;
        }
    }

    .note {
        font-size: 0.875rem;

        & + & {
            margin-block-start: -1.25rem;
        }
    }

    .btn {
        margin-inline: auto;
    }
}

/* table */
.table {
    width: 100%;
    border-collapse: collapse;

    tr {
        border-block-end: 1px solid var(--c-border);
    }

    th,
    td {
        padding-block: 0.75rem;
        text-align: start;
        vertical-align: top;
    }

    th {
        font-weight: 500;
    }

    @media (width < 768px) {
        tr,
        th,
        td {
            display: block;
        }

        th {
            padding-block-end: 0;
        }

        td {
            padding-block-start: 0.5rem;
        }
    }

    @media (width >= 768px) {
        th {
            width: 1px;
            padding-inline-end: 1.25rem;
            white-space: nowrap;
        }
    }
}

/* terms */
.terms {
    letter-spacing: 0.005em;

    .terms__item {
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
        padding-block: 1.25rem;
        text-align: justify;
        border-block-end: 1px solid var(--c-border);
    }

    .terms__check {
        flex-shrink: 0;
        margin-block-start: 0.25rem;
    }

    .terms__text {
        flex: 1;
        font-size: 0.875rem;

        > *:not(:last-child) {
            margin-block-end: 0.75rem;
        }
    }

    .terms__title {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
    }

    .list-disc {
        font-size: 1rem;
    }
}

/* schedule */
.schedule__wrapper {
    @media (width < 768px) {
        overflow-x: scroll;

        img {
            width: 42rem;
            max-width: none;
        }
    }
}

.schedule__scroll {
    @media (width < 768px) {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-block-end: 0.25rem !important;
        font-size: 0.75rem;
        column-gap: 0.25rem;
    }

    @media (width >= 768px) {
        display: none;
    }
}

/* results */
.results__list {
    display: grid;
    gap: 0.5rem;

    @media (width >= 768px) {
        grid-template-columns: repeat(2, 1fr);
    }

    .results__item {
        padding: 1rem;
        border: 1px solid var(--c-border);
        border-radius: 0.5rem;
        font-weight: 500;
        line-height: 1.5;

        dt {
            margin-block-end: 0.125rem;
            color: var(--c-text-sub);
        }

        dd {
            font-size: 1.125rem;
        }
    }
}

/* .contact */
.contact {
    background-color: var(--c-bg-dark);
    color: var(--c-white);

    .container {
        padding-block: 3.75rem;
    }

    .contact__body {
        display: grid;
        gap: 2.5rem 5rem;

        @media (width >= 992px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .contact__info {
        line-height: 2;
    }

    .contact__title {
        margin-block-end: 0.75rem;
        font-weight: 700;
    }

    .link-text {
        @media (hover: hover) {
            &:hover {
                color: var(--c-border);
            }
        }
    }

    .link-text__icon {
        filter: brightness(0) invert(1);
    }
}

/* ==============================
   Footer
   ============================== */
.footer {
    background-color: var(--c-bg-dark);

    .container {
        padding-block: 3rem 3.75rem;
        border-block-start: 1px solid #313351;
    }

    .footer__copyright {
        color: var(--c-white);
        font-family: var(--f-en);
        font-size: 0.875rem;
        line-height: 1.2;
    }
}
