@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

:root {
    --contents_box_padding: 3em;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 2em 0;

    .site_logo {
        width: 12em;
        filter: brightness(30);
        margin: auto;
        display: block;
    }
}


/* TOPページメイン */
body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: 0.1em;
    background: #f5f5f5;
    /* background: #010101; */
    overflow-x: hidden;
    overflow-y: scroll;
}

html,
body {
    margin: 0;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.section {
    width: 100%;
    height: 100svh;
    /* 基本は画面いっぱいに */
    height: 100dvh;
    /* 動的ビューポートに対応 */
    display: flex;
    justify-content: center;
    font-size: 1em;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    /* border-radius: 10px; */
    padding: 0;
    background: #eee;
    will-change: transform, opacity;

    &.section-1 {}

    &.section-2 {
        background: #eee0;
        backdrop-filter: blur(4px);
        height: auto !important;
        min-height: 100dvh;
        overflow: visible;
        padding-bottom: 15dvh;

        @media screen and (max-width:690px) {
            padding-bottom: 10dvh;
        }

        p {}

        .philosophy {
            height: auto;
            /* コンテンツに合わせて内部スクロール */
            padding-top: 8svh;
            padding-bottom: 4svh;
            color: #fff;
            /* color: #ccc; */
            font-weight: 300;
            font-weight: 400;
            max-width: 36.5em;
            width: 90svw;
            line-height: 3em;
            text-align: left;
            font-size: 20px;
            box-sizing: border-box;

            @media screen and (max-width:690px) {
                font-size: 3.2svw;
                padding-top: 15svh;
                padding: 15dvh 1.2em;
                white-space: nowrap;
            }
        }

        /* スクロールセクション内ボタン */
        .scroll-btn-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0svh 0 5vh;
            box-sizing: border-box;
        }

        .scroll-btn {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            color: #333;
            text-decoration: none;
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            font-weight: 400;
            letter-spacing: 0.25em;
            padding: 1.1em 3.5em;
            border: 1px solid;
            transition: all 0.4s ease;
            white-space: nowrap;
            width: 70svw;
            max-width: 650px;

            &:hover {
                background: #333;
                color: #fff;
                border-color: #333;
            }

            @media screen and (max-width: 690px) {
                font-size: 0.75rem;
                padding: 1em 2.5em;
            }
        }
    }
}


.section-inner {
    height: auto;
    min-height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;

    h2 {
        font-weight: 600;
    }
}


img {
    /* border-radius: 8px; */
}

.contents {
    &.one_display {
        position: relative;
        min-height: 100svh;
        min-height: 100dvh;
        width: 100svw;
        display: flex;
        justify-content: center;
        align-items: center;

        .main_logo {
            position: relative;
            width: 400px;
            z-index: 1;
        }

        video {
            position: absolute;
            width: auto;
            height: 100%;
            top: 0;
            margin: auto;
        }

    }
}

.contents_box {
    position: relative;
    width: calc(100svw - (var(--contents_box_padding)*2));
    min-height: calc(100svh - (var(--contents_box_padding)*2));
    min-height: calc(100dvh - (var(--contents_box_padding)*2));
    background: #0005;
    color: #fff;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1em;
    padding: var(--contents_box_padding);

    h2 {
        font-size: 1em;

        strong {
            font-size: 3em;
            font-weight: 700;
        }

        small {
            font-size: 1.3em;
        }

        @media screen and (max-width:690px) {
            font-size: 3.5vw;

            small {
                font-size: 1.1em;
            }
        }
    }

    p {
        font-size: 1em;
        line-height: 2em;

        @media screen and (max-width:690px) {
            font-size: 3vw;
        }
    }

    a {
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        color: #fff;
        padding: 0.7em 2em;
        border: 1px solid;
        margin-left: auto;
        transition: .5s;

        &:hover {
            color: #333;
            background: #fff;
        }
    }
}

/* ==========================================
   バナーリンク セクション (Refined Premium Design)
   ========================================== */
.section-banner {
    background: #fcfcfc;
    height: auto !important;
    min-height: 100svh;
    padding: 20vh 5% 20vh !important;
    display: block !important;
    overflow-y: visible !important;
}

.p-banner-head {
    text-align: center;
    margin-bottom: 80px;
}

.p-banner-head__subtitle {
    font-size: 0.85rem;
    color: #a0a0a0;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.p-banner-head__title {
    font-size: 1.7rem;
    font-weight: 400 !important;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.p-banner-head__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: #1a1a1a;
}

.p-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.p-banner-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    text-decoration: none;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-banner-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.p-banner-item__img {
    width: 100%;
    height: 100%;
}

.p-banner-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-banner-item:hover .p-banner-item__img img {
    transform: scale(1.05);
    opacity: 0.7;
}

.p-banner-item__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.5s ease;
}

.p-banner-item:hover .p-banner-item__content {
    background: rgba(0, 0, 0, 0.4);
}

.p-banner-item__text {
    display: block;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 10px 0;
}

.p-banner-item__text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #fff;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.p-banner-item:hover .p-banner-item__text::after {
    width: 60%;
}

@media screen and (max-width: 690px) {
    .section-banner {
        padding: 80px 24px !important;
    }

    .p-banner-head {
        margin-bottom: 50px;
    }

    .p-banner-head__title {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }

    .p-banner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .p-banner-item__text {
        font-size: 1.1rem;
    }
}