/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* img {
    max-width: 100%;
    height: auto;
    display: block;
} */

/* ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
} */

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Base Typography ===== */
body {
    font-family: Futura, "Yu Gothic", "YuGothic", Avenir, sans-serif;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: #fff;
    background: #00172C;
}

/* ===== Layout ===== */
.vision-container {
    width: min(1400px, 90%);
    margin-inline: auto;
    position: relative;
    z-index: 10;
}

.section {
    padding: 80px 0;
}

/* ===== Headings ===== */
h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: clamp(9rem, 11vw, 10rem);
}

h2 {
    font-size: clamp(1.6rem, 5vw, 3rem);
}

h3 {
    font-size: 1.4rem;
}

/* ===== Utility ===== */
.flex {
    display: flex;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* .mt-2 {
    margin-top: 2rem;
} */

:root {
    --main-color: #00172C;
    --accent-color: #7AD0F6;
    --content-width: 1100px;
    --radius: 12px;
}

.bowlby-one {
    font-family: "Bowlby One", sans-serif;
    font-weight: 400;
}

.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#vision-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.vision-top {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.vision-title {
    /* font-size: 10rem; */
    font-weight: normal;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color), 0 0 10px var(--accent-color);
}

.vision-content1,
.vision-content2,
.vision-content3 {
    height: 100vh;
}

.vision-content1 :where(.is-layout-flex) {
    gap: 2em;
}

.vision-content1-normal {
    font-size: 1.4rem;
    margin-bottom: 3;
}

.vision-content1-bold {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 共通アニメーション設定 */
.fade-item {
    opacity: 0;
}

.fade-item.is-animated {
    animation: fadeIn 1s ease-in forwards;
}

/* 順番に時間をずらす */
.fade-item.item1 {
    animation-delay: 0.2s;
}

.fade-item.item2 {
    animation-delay: 0.4s;
}

.fade-item.item3 {
    animation-delay: 0.6s;
}

.fade-item.item4 {
    animation-delay: 0.8s;
}

.fade-item.item5 {
    animation-delay: 1.0s;
}


.vision-content2-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.vision-content2 p {
    margin: 0;
}


@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-item {
    opacity: 0;
}

.zoom-item.is-animated {
    /* animation: zoomIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards; */
    animation: zoomIn 1s ease-in forwards;
}

/* 順番に時間をずらす */
.zoom-item.zoom-item1 {
    animation-delay: 0.2s;
}

.zoom-item.zoom-item2 {
    animation-delay: 0.4s;
}

.zoom-item.zoom-item3 {
    animation-delay: 0.6s;
}


.vision-content3 {
    font-size: 1.4rem;
}

.vision-content4 h2 {
    color: #7AD0F6;
    opacity: 0.1;
    font-size: clamp(3rem, 7vw, 5rem);
}

.vision-content4-text {
    font-size: 1.3rem;
}

@keyframes fadeIn2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 共通アニメーション設定 */
.fade-item2 {
    opacity: 0;
    /* 最初は隠しておく */
}

.fade-item2.is-animated {
    animation: fadeIn 1s ease-in forwards;
}

.fade-item2.fade-item22 {
    animation-delay: 0.5s;
}

@keyframes RslideIn {
    0% {
        transform: translateX(180px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes LslideIn {
    0% {
        transform: translateX(-180px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.Rslide-item {
    opacity: 0;
}

.Rslide-item.is-animated {
    animation: RslideIn 1s ease-in forwards;
}

.Lslide-item {
    opacity: 0;
}

.Lslide-item.is-animated {
    animation: LslideIn 1s ease-in forwards;
}

/* 順番に時間をずらす */
.Rslide-item.slide-item1 {
    animation-delay: 0.2s;
}

.Lslide-item.slide-item2 {
    animation-delay: 0.4s;
}

.Rslide-item.slide-item3 {
    animation-delay: 0.6s;
}


.wp-block-image img {
    width: 100%;
    border-radius: 1rem;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝レスポンシブ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝タブレット＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

@media (max-width: 1024px) {
    h1 {
        font-size: clamp(10rem, 20vw, 15rem);
    }

    h2 {
        font-size: clamp(3rem, 5vw, 4em);
    }

    h3 {
        font-size: 2rem;
    }

    .vision-content1,
    .vision-content2,
    .vision-content3 {
        height: auto;
        min-height: 70svh;
        /* padding-top: 10vh; */
    }

    .vision-content1-bold{
        font-size: 4rem;
    }
    .vision-content1-normal{
        font-size: 2rem;
    }
    .vision-content3 {
        font-size: 1.8rem;
    }
    .vision-content4 h2 {
    font-size: clamp(3rem, 6vw, 5rem);
}

}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝スマホ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

@media (max-width: 767px) {
    h1 {
        font-size: clamp(6rem, 8vw, 7rem);
    }

    h2 {
        font-size: clamp(1.4rem, 3vw, 2.2rem);
    }

    h3 {
        font-size: 1.3rem;
    }

    .vision-top {
        justify-content: center;
        text-align: center;
    }

    .vision-content1,
    .vision-content2,
    .vision-content3 {
        height: auto;
        min-height: 100svh;
        /* padding-top: 10vh; */
    }


    .vision-content1-normal {
        font-size: 1rem;
    }

    .vision-content1-bold {
        font-size:clamp(2rem, 3vw, 2.5rem);
    }

    .vision-content3 {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }

    .vision-content4 h2 {
        font-size: 2.5rem;
    }

    .vision-content4-text {
        font-size: 1rem;
    }
}