@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    background-color: #000;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

img{
    width: 100%;
}

#top-main{
    position: relative;
}

#top-main .path{
    display: none;
}

#top-main .main-visual{
    position: relative;
    height: 92vh;
    z-index: 1;
}

.pc-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-video{
    display: none;
}

#top-main .main-visual-content{
    width: 90%;
    position: absolute;
    left: 7%;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    z-index: 2;
}

.main-visual-content,
.intro-wrapper,
.news-wrapper,
.service-wrapper,
.simulation-wrapper,
.more-service-wrapper,
.option-wrapper,
.reviews-wrapper,
.access-wrapper,
.contact-wrapper{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-wrapper,
.news-wrapper,
.service-wrapper,
.service-item,
.simulation-wrapper,
.more-service-wrapper,
.option-wrapper,
.reviews-wrapper,
.access-wrapper,
.contact-wrapper{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-wrapper.active,
.news-wrapper.active,
.service-wrapper.active,
.service-item.active,
.simulation-wrapper.active,
.more-service-wrapper.active,
.option-wrapper.active,
.reviews-wrapper.active,
.access-wrapper.active,
.contact-wrapper.active{
    opacity: 1;
    transform: translateY(0);
}

.main-visual-content img{
    max-width: 564px;
    object-fit: contain;
}

.scroll-gif{
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 5px;
    transform: rotate(90deg);

    position: absolute;
    top: 185px;
    left: -72px;
}

.scroll-lines{
    overflow: hidden;
    display: flex;
    height: 1.5px;
    width: 123px;
    background-color: #a4a4a4;
}

.scroll-line{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: 1.5px;
    animation: 2s slide infinite linear;
}

.orange-line{
    display: block;
    height: 1.5px;
    width: 61.5px;
    background-color: #cb6500;
}

.invisible-line{
    display: block;
    height: 1.5px;
    width: 61.5px;
    background-color: transparent;
}

@keyframes slide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

.top-grad{
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #191919c9 50%, #191919 100%);
    z-index: 1;
}

.intro-section{
    position: relative;
    padding: 5rem 0;
    background-image: url(./assets/images/top/intro_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.intro-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.intro-content{
    margin-top: 30px;
}

.intro-content h2 span{
    display: flex;
    align-items: flex-start;
}

.intro-content h2 span img{
    max-width: 87px;
    object-fit: contain;
}

.intro-content h2{
    margin-bottom: 20px;
    font-size: 30px;
    font-family: "MFW-RyuminPro-ExHeavy";
}

.intro-content p{
    line-height: 2;
    color: #e5e5e5;
}

.news-title img,
.simulation-title img,
.option-title img,
.access-title img{
    height: 85px;
    object-fit: contain;
    margin-bottom: 30px;
}

.news-wrapper{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-section{
    background-color: #323232;
    padding: 5rem 0;
}

.news-item-wrapper{
    width: 100%;
}

.news-item{
    display: flex;
    align-items: flex-end;
    gap: 10px;
    font-size: 18px;
    border-bottom: 1px solid #b3b3b3;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.news-item > br{
    display: none;
}

.date{
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-item:nth-last-child(1){
    border-bottom: 0;
    margin-bottom: 0;
}

.new-news{
    font-size: 12px;
    padding: 1px 15px;
    background-color: #cb6500;
    color: #ffffff;
}

.news-item .campaign-text{
    font-size: 10px;
    color: #AE8229;
}

.service-section{
    padding: 5rem 0;
    background-color: #d8dcdf;
    color: #323232;
}

.service-wrapper{
    display: flex;
    flex-direction: column;
}

.service-section-title{
    display: flex;
    align-items: center;
    margin-bottom: 70px;
}

.service-section-title h2{
    font-size: 60px;
}

.service-item{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
    margin-bottom: 190px;
}

.service-four{
    margin-bottom: 70px;
}

.service-one,
.service-three{
    grid-template-areas: 
    "text img"
    ;
}

.service-one .service-img,
.service-two .service-img,
.service-four .service-img{
    height: 100%;
    object-fit: cover;
}

.service-two,
.service-four{
    grid-template-areas: 
    "img text"
    ;
}

.service-content{
    position: relative;
    grid-area: text;
}

.service-content h3,
.service-content p,
.service-content ul{
    position: relative;
    z-index: 1;
}

.service-content h3{
    margin-bottom: 20px;
    font-family: "MFW-RyuminPro-ExHeavy";
}

.service-item img,
.service-content-img{
    grid-area: img;
}

.service-content-img .service-img-sp{
    display: none;
}

.service-content-img{
    margin-top: -70px;
}

.service-content-img img{
    margin-bottom: 15px;
}

.num-left, .num-right{
    position: absolute;
    z-index: 0;
    max-width: 150px;
    object-fit: contain;
}

.num-left{
    top: -100px;
    left: 0;
}

.num-right{
    top: -100px;
    right: 0;
}

.service-title{
    font-size: 24px;
    padding-bottom: 5px;
    border-bottom: 1px solid #000000;
}

.service-title-img-sp{
    display: none;
}

.service-layer{
    list-style: none;;
}

.service-layer, .service-points{
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;
}

.service-points{
    list-style: disc;
    margin-left: 16px;
    margin-top: 15px;
}

.service-para{
    font-size: 18px;
    font-weight: 500;
}

.simulation-section{
    height: 534px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url(./assets/images/top/simulation_bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* padding: 5rem 0; */
}

.banner-content{
    max-width: 500px;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.banner-content h2 img{
    max-width: 374px;
    object-fit: contain;
}

.banner-link img{
    max-width: 520px;
    object-fit: contain;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.more-service-section{
    background-color: #d8dcdf;
    color: #323232;
}

.more-service-wrapper{
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 5rem 0;
}

.message-box{
    width: 100%;
    padding: 50px;
    border: 1px solid #323232;
    background-color: #c9cccf;

    display: flex;
    flex-direction: column;
    gap: 22px;
}

.message-box p{
    font-size: 14px;
}

.small-text-msg{
    margin-top: 20px;
    font-size: 12px;
}

.message-title{
    font-family: "MFW-RyuminPro-ExHeavy";
    font-size: 18px;
    text-align: center;
}

.more-service-item{
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.more-service-title{
    display: inline-flex;
    align-items: center;
    font-family: "MFW-RyuminPro-ExHeavy";
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000000;
}

.more-service-title img{
    margin-right: 3px;
    width: 20px;
    object-fit: contain;
}

.maintenance-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}

.table-wrapper{
    width: 100%;
    border: 1px solid #323232;
}

.table-content{
    display: grid;
    grid-template-columns: 135px 2fr;
}

.table-left{
    padding: 1rem;
    display: flex;
    border-right: 1px solid #323232;
    border-bottom: 1px solid #323232;
    background-color: #c9cccf;
}

.table-wrapper .table-content:nth-last-child(1) .table-left,
.table-wrapper .table-content:nth-last-child(1) .table-right{
    border-bottom: none;
}

.table-right{
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #323232;
}

.option-section{
    padding: 5rem 0;
    background-color: #252C33;
}

.option-title img{
    max-width: 246px;
    margin-right: auto;
    margin-bottom: 2rem;
}

.options{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-card{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ffffff;
}

.option-card:nth-last-child(1){
    border-bottom: 0;
}

.option-hidden-content{
    display: none;
    transition: 0.3s all ease;
}

.option-title h3{
    font-size: 26px;
}

.option-title h3 > br{
        display: none;
    }

.option-title small{
    font-size: 14px;
}

.option-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.option-drop-icon{
    display: block;
    font-size: 20px;
    color: white;
}

.reviews-section{
    padding: 5rem 0;
}

.reviews-wrapper {
            text-align: center;
            margin-bottom: 40px;
        }

        .review-title {
            font-family: "MFW-RyuminPro-ExHeavy";
            font-size: 40px;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }

        .small-line{
            display: block;
            height: 1.5px;
            width: 20px;
            background-color: #b3b3b3;
        }

        .reviews-wrapper > p {
            letter-spacing: 1px;
            margin-bottom: 40px;
        }

        .review-card {
            background-color: #1a1a1a;
            border: 1px solid #B9B9B9;
            padding: 1.5rem;
            margin-bottom: 20px;
            text-align: left;
        }

        .review-card-name {
            font-weight: 500;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #B9B9B9;
        }

        .review-card-text {
            line-height: 1.8;
            position: relative;
        }

        .review-card-text.collapsed {
            max-height: 3.6em;
            overflow: hidden;
        }

        .review-card-text.collapsed::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1.8em;
            background: linear-gradient(to bottom, transparent, #1a1a1a);
        }

        .read-more-btn {
            background: none;
            border: none;
            color: #cb6500;
            cursor: pointer;
            padding: 10px 0;
            margin-top: 10px;
            display: inline-block;
            transition: color 0.3s ease;
        }

        .read-more-btn:hover {
            color: #cb6500;
        }

        .read-more-btn::after {
            content: '...続きを読む';
        }

        .read-more-btn.expanded::after {
            content: '...一部を表示';
        }




.access-section{
    padding: 5rem 0;
    background-color: #d8dcdf;
}

.access-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.access-title img{
    max-width: 225px;
    margin-right: auto;
}

.access-content iframe{
    width: 100%;
    height: 100%;
    border: none;
}

.access-text{
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #323232;
    line-height: 2;
}

.access-text p > span, .access-text p > b{
    font-size: 18px;
}

.contact-section{
    background-image: url(./assets/images/top/contact_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 5rem 0;
}

.contact-wrapper{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-title{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    /* margin-bottom: 30px; */
}

.contact-title h2{
    font-family: "MFW-RyuminPro-ExHeavy";
    font-size: 33px;
}

.contact-title p{
    font-size: 14px;
}

.contact-content{
    display: flex;
    flex-direction: column;
    gap: 36px;
    text-align: center;
}

.contact-btns{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contact-btn{
    width: 100%;
    max-width: 368px;
    height: 110px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 1px solid #d8dcdf;
    background-color: transparent;
    transition: 0.3s all ease;
    padding: 10px 50px;
    /* margin: 2rem 0; */
}

.contact-btn a img{
    margin: auto;
}

.mail-btn:hover{
    background-color: #333;
}

.mail-btn{
    font-size: 22px;
    cursor: pointer;
}

.call-btn img{
    width: 80%;
}

.side-fix-btns{
    position: fixed;
    bottom: 50px;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.side-fix-btns-sp{
    width: 100%;
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 10;
}

.side-fix-btns a img{
    width: 48px;
    object-fit: contain;
}

/* Main content area */
.car-simulation-main {
    background-color: #000;
    /* min-height: 100vh; */
}

/* Basic responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Basic link styles */
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Form elements base styling */
input, select, textarea {
    font-family: inherit;
}

/* Utility classes */
.hidden {
    display: none !important;
}


/* Basic WordPress alignment classes */
.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

/* WordPress gallery styles */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Basic WordPress block styles */
.wp-block-group {
    margin-bottom: 1rem;
}

@media (min-width: 769px) and (max-width: 900px) {
    #top-main .main-visual{
        height: 58vh;
    }

    .service-content-img{
        margin-top: 0;
    }
    
    .intro-wrapper{
        grid-template-columns: 1fr;
    }
}

/* Responsive helper classes */
@media (max-width: 768px) {
    .alignleft,
    .alignright {
        float: none;
        margin: 0 auto 1rem auto;
        display: block;
    }

    #top-main .main-visual{
        height: 60vh;
    }

    #top-main .main-visual-content{
        bottom: 0;
        left: 5%;
    }

    .top-grad{
        bottom: -1px;
    }

    .scroll-gif{
        display: none;
        margin-top: 15px;
        top: 180px;
        left: -72px;
    }

    .intro-section,
    .news-section,
    .service-section,
    .more-service-wrapper,
    .option-section,
    .reviews-section,
    .access-section,
    .contact-section{
        padding: 3rem 0;
    }

    .intro-wrapper{
        opacity: 1;
        transform: translateY(0px);
    }

    .intro-wrapper,
    .service-item,
    .access-content,
    .contact-btns{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pc-video{
        display: none;
    }

    .sp-video{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .intro-section{
        background-image: url(./assets/images/top/intro_sp_bg.png);
    }

    .intro-content{
        margin-top: 0;
    }

    .intro-content h2{
        font-size: 28px;
    }

    .intro-content p{
        line-height: 2;
    }

    .contact-section{
        background-image: url(./assets/images/top/contact_sp_bg.png);
    }

    .news-title img, .simulation-title img, .option-title img, .access-title img{
        height: 60px;
    }

    .access-title img{
        max-width: 158px;
    }

    .service-title-img{
        display: none;
    }

    .service-title-img-sp{
        display: block;
        margin: 0 0 55px 0;
    }

    .service-one,
    .service-three{
        grid-template-areas: 
        "text"
        "img"
        ;
    }

    .service-two,
    .service-four{
        grid-template-areas: 
        "text"
        "img"
        ;
    }

    .num-left, .num-right{
        top: -80px;
        max-width: 120px;
    }

    .service-content-img .service-img{
        display: none;
    }

    .service-content-img .service-img-sp{
        display: block;
    }

    .service-content-img{
        margin-top: 0;
    }

    .service-content-img img{
        margin-bottom: 30px;
    }

    .service-title{
        font-size: 18px;
    }

    .simulation-section{
        background-image: url(./assets/images/top/simulation_sp_bg.png);
    }

    .banner-content h2 img{
        max-width: 250px;
    }

    .more-service-title{
        align-items: flex-start;
    }

    .message-box{
        padding: 35px 12px;
    }

    .small-text-msg{
        margin-top: 0;
    }

    .message-title{
        line-height: 2;
    }

    .more-service-title{
        font-size: 18px;
    }

    .more-service-title img{
        margin-top: 4px;
    }

    .table-content{
        grid-template-columns: 100px 1fr;
    }

    .option-title h3{
        font-size: 20px;
        line-height: 1;
    }

    .option-title img{
        max-width: 170px;
    }

    .option-title h3 > br{
        display: block;
    }

    .news-title img{
        max-width: 128px;
    }

    .news-item{
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .news-item > br{
        display: block;
    }

    .review-title{
        font-size: 30px;
    }

    .contact-section{
        background-image: url(./assets/images/top/contact_bg_sp.png);
    }

    .contact-content{
        gap: 25px;
    }

    .contact-title{
        margin-bottom: 30px;
    }

    .contact-title h2{
        font-size: 20px;
    }

    .contact-btns{
        flex-direction: column;
        gap: 25px;
        margin-top: 30px;
    }

    .contact-btn{
        height: 110px;
        margin: 0;
    }

    .mail-btn{
        font-size: 20px;
    }

    .contact-wrapper{
        gap: 0;
    }

    .access-content{
        gap: 10px;
    }

    .access-text{
        gap: 5px;
    }

    .access-text p > span, .access-text p > b{
        font-size: 16px;
    }

    .access-content iframe{
        height: 214px;
    }

    .side-fix-btns{
        display: none;
    }

    .side-fix-btns-sp{
        display: block;
        display: grid;
        grid-template-columns: 1fr 65px;
        height: 58px;
    }

    .side-fix-btns-sp a img{
        height: 58px;
        object-fit: cover;
    }
}