/* Basic styling */
a {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    color: #333333;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Noto Sans JP';
    background-color: #F5F5F5;
    line-height: 1.6;
}

.container {
    display: flex;
    height: 100vh;
}

.backgroundimg-top{
    height: 100vh;
    width: auto;
    object-fit: cover;
    margin: 0 !important;
}

.backgroundimg {
    height: 80vh;
    width: auto;
    object-fit: cover;
    margin: 0 !important;
}
.backgroundimg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Left column for background images */
.left-column {
    position: relative;
    overflow-y: scroll;
    flex: 1;
    background-size: cover;
    background-position: center;
    background-color: #F0F0F0;
}

.beforeimages img {
    width: 100%;
}

.time-container_1 {
    position: fixed;
    z-index: 4;
    bottom: 0;
    box-shadow: 0 -20px 30px 20px #222222;
    background-color: rgba(34, 34, 34, 1);
    /* width: 100%; */
    width: 70vw;
    text-align: center;
    padding-bottom: 5px;
}

.time-container_1 p {
    margin: 0 0 5px 0;
}

.time-container_2 {
    z-index: 3;
    bottom: 0;
    background-color: rgba(34, 34, 34, 0.5);
    /* width: 100%; */
    width: 70vw;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 5px;
}

.time-container_2 p {
    margin: 0 0 5px 0;
}

.time-container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.com_logo {
    width: 200px;
}

.fv_catch_p {
    position: relative;
}

#img7 {
    object-fit: cover;
}

#img8 {
    height: fit-content;
    padding-bottom: 300px;
}

#img8 img {
    opacity: 0;
}

.fv_catch {
    position: absolute;
    top: -110px;
    margin-left: 50px;
    width: 220px !important;
}

.fv_catch_l {
    z-index: 3;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: auto !important;
}

.fv_catch_r {
    z-index: 3;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto !important;
}

.fv_catch_c {
    width: fit-content;
    margin: 0 auto;
}

.fv_catch_c p {
    width: fit-content !important;
    text-shadow: 1px 1px 2px black;
    color: white;
}

.fv_catch_c p + p {
        margin: 0;
}

.fv_catch_c>div {
    position: relative;
    z-index: 4;
    width: fit-content;
    margin: 0 auto;
}

.fv_catch_c>div>p {
    margin: 0 auto;
}


.time-container_sp {
    display: flex;
    position: absolute;
    bottom: 60px;
    right: 0;
    left: 0;
    margin: 0 auto;
    justify-content: center;
}

.hidden {
    display: none !important;
}

.left-column img {
    width: 100%;
}

.com_logo {
    width: 200px !important;
}

.scroll_img {
    gap: 0;
    text-align: center;
}

.scroll_img h2 {
    text-align: center;
    font-size: 35px;
    color: #222;
    padding: 20px;
}

.scroll_img > img{
    width: fit-content;
    margin: auto;
    height: 90vh;
}

/* Right column for content */
.right-column {
    width: 30vw;
    overflow-y: scroll;
    z-index: 5;
    background-color: white;
    /* background-image: url("./images/side-background.png"); */
}

.under_top {
    position: relative;
}

.left-scale {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.right-scale {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}

/* #section1 {
    background-image: url("./images/sec1-background.png");
} */

#sp_top {
    display: none;
    position: relative;
}

#sp_top img {
    width: 100%;
}

.b-48 {
    font-size: 40px;
    font-weight: bold;
}

.b-32 {
    font-size: 2.1vw;
    font-weight: bold;
}

.b-24 {
    font-size: 1.40vw;
    font-weight: bold;
}

.b-24-2 {
    font-size: 3vw;
    font-weight: bold;
}

.b-20 {
    font-size: 1.20vw;
    font-weight: bold;
}

.b-18 {
    font-size: 1.10vw;
    font-weight: bold;
}

.b-15 {
    font-size: 0.94vw;
    font-weight: bold;
}

.b-14 {
    font-size: 0.88vw;
    font-weight: bold;
}

.b-13 {
    font-size: 0.82vw;
    font-weight: bold;
}

.r-20 {
    font-size: 1.20vw;
    font-weight: normal;
}

.r-15 {
    font-size: 1vw;
    font-weight: normal;
}

.r-14 {
    font-size: 0.9vw;
    font-weight: normal;
}

.r-12 {
    font-size: 0.74vw;
    font-weight: normal;
}

.r-12-big {
    font-size: 1vw;
    font-weight: bold;
}

.flex-div {
    display: flex;
    align-items: baseline;
}

.pc-none {
    display: none;
}

.mark4 {
    background: linear-gradient(transparent 60%, #f6ff5f 60%);
}


.container {
    /* overflow: scroll !important; */
    position: relative !important;
}

@media (min-width: 1011px) {
    .container {
        /* height: calc(100vh - 116px) !important; */
    }

    #pc_time_container_2 {
        display: block;
    }

    .time-container_2 {
        position: absolute;
    }
}

/* Media query for mobile version */
@media (max-width: 1010px) {

    .time-container_1 {
        width: 100%;
        box-shadow: 0 -20px 30px 20px rgba(34, 34, 34, 0.95);
        background-color: rgba(34, 34, 34, 0.95);
    }

    .time-container_2 {
        width: 100%;
        position: fixed;
        /* box-shadow: 0 -20px 30px 20px rgba(34, 34, 34, 0.95); */
        background-color: rgba(34, 34, 34, 0.95);
    }

    #pc_time_container_2 {
        display: none;
    }

    .p-foot__inr {
        position: unset !important;
    }

    .l-wrapper {
        padding-bottom: 200px !important;
    }

    /* 
    .time {
        margin-bottom: 0 !important;
    } */

    .sp_top_hidden {
        padding-top: 5px;
        box-shadow: none !important;
    }

    .fv_catch {
        top: -110px;
        margin-left: -20px;
        width: 200px !important;
    }

    .container {
        flex-direction: column;
    }

    #sp_top {
        display: block;
    }

    .left-column {
        display: none;
    }

    .container {
        height: auto;
    }

    .right-column {
        width: 100%;
    }

    .right-column section {
        font-size: 5vw;
    }

    .b-48 {
        font-size: 7vw;
        font-weight: bold;
    }

    .b-32 {
        font-size: 7.3vw;
    }

    .b-24 {
        font-size: 5vw;
    }

    .b-24-2 {
        font-size: 4.9vw;
    }

    .b-20 {
        font-size: 4.3vw;
        /* 変更ずみ */
    }

    .b-18 {
        font-size: 3.82vw;
    }

    .b-15 {
        font-size: 3.2vw;
    }

    .b-14 {
        font-size: 2.45vw;
        /* 変更ずみ */
    }

    .b-13 {
        font-size: 2.45vw;
        /* 変更ずみ */
    }

    .r-20 {
        font-size: 4.15vw;
    }

    .r-15 {
        font-size: 3.2vw;
        /* 変更ずみ */
    }

    .r-14 {
        font-size: 3.5vw;
        /* 変更ずみ */
    }

    .r-12 {
        font-size: 2.75vw;
    }

    .r-12-big {
        font-size: 4vw;
    }

    .pc-none {
        display: block;
    }

    /* .container {
        height: 100vh !important;
    } */
}

[data-reveal-class] {
    opacity: 0;
}  

.fadein-bottom {
    animation-name: fadeup;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.fadein-bottom_2 {
    animation-name: fadeup;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}



@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }

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

.fadein-bottom_3 {
    animation: fadeup2 0.75s ease-out 0.5s forwards;
}

@keyframes fadeup2 {
    0% {
        opacity: 0;
        transform: translateY(50px);
        visibility: visible; /* Makes sure element appears when animation starts */
    }
    60% {
        opacity: 1;
        transform: translateY(-10px); /* Subtle bounce */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.display-none {
    animation-name: display-none;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes display-none {
    0% {
        height: auto;
        transform: translateY(0px);
    }

    100% {
        height: 0;
        transform: translateY(250px);
    }
}

.display-on {
    animation-name: display-on;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes display-on {
    100% {
        height: auto;
        transform: translateY(0px);
    }

    0% {
        height: 0;
        transform: translateY(250px);
    }
}

.display-on_2 {
    animation-name: display-on_2;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes display-on_2 {
    100% {
        height: auto;
        transform: translateY(0px);
    }

    0% {
        height: 0;
        transform: translateY(250px);
    }
}

.height_0 {
    height: 0;
}

.highlight{
    background: linear-gradient(to top, #FFDD00 50%, transparent 50%);
    width: fit-content;
}