/* メインビジュアル */
.main-visual {
    margin-top: 0;
    margin-bottom: calc(80 / 750 * 100vw);
    height: calc(1123 / 750 * 100vw);
    background: linear-gradient(#ee2013 0, #f74813 50%, #ff6512 85%, #ff6513 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    width: calc(302 / 375 * 100vw);
    transform: translateY(calc(-100 / 375 * 100vw));
}
.h-s-out {
    position: absolute;
    width: 100vw;
    bottom: 0;
    height: calc(215 / 375 * 100vw);
    overflow: hidden;
}
.hot-shade {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200vw;
    height: calc(215 / 375 * 100vw);

    & img {
        height: calc(215 / 375 * 100vw);
        width: auto;
    }
}

.main-cars {
    width: calc(300 / 375 * 100vw);
    height: calc(286 / 375 * 100vw);
    position: absolute;
    left: 50%;
    bottom: calc(-10 / 750 * 100vw);
    transform: translateX(-50%);
}

.car-a {
    width: calc(121 / 375 * 100vw);
    position: absolute;
    top: calc(13 / 375 * 100vw);
    left: 0;
}
.car-b {
    width: calc(154 / 375 * 100vw);
    position: absolute;
    top: 0;
    right: 0;
}
.car-c {
    width: calc(246 / 375 * 100vw);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* h1ロゴ */
.sub-logo-area {
    width: calc(470 / 750 * 100vw);
    margin: 0 auto calc(100 / 750 * 100vw);
}

/* TOP記事 */

.section-title {
    text-align: center;
    margin-bottom: calc(40 / 750 * 100vw);
    font-size: 6vw;
    color: #e40011;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 4px;
}

.accordion {
    margin-bottom: 5.3vw;
    overflow: hidden;
    position: relative;
}
.accordion:has(.is-open) {
    overflow: visible;
}

.accordion-header {
    display: block;
    width: 100%;
    height: calc(320 / 1400 * 100%);
    padding: calc(320 / 1400 / 2 * 100vw - 5.4vw) calc(40 / 750 * 100vw) calc(320 / 1400 / 2 * 100vw - 4.4vw);
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    z-index: 800;
    font-size: 4.8vw;
    font-weight: 700;

    & span {
        position: absolute;
        width: calc(48 / 750 * 100vw);
        height: calc(48 / 750 * 100vw);
        clip-path: polygon(
            0 40%,
            40% 40%,
            40% 0,
            60% 0,
            60% 40%,
            100% 40%,
            100% 60%,
            60% 60%,
            60% 100%,
            40% 100%,
            40% 60%,
            0 60%
        );
        right: calc(48 / 750 * 100vw);
        top: 32%;
        background-color: #ffb41d;
    }

    &.is-active span {
        clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
    }
}

.webp .accordion-header {
    background-image: url(../img/btn-a.webp);
}

.no-webp .accordion-header {
    background-image: url(../img/btn-a.png);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.3s ease-out,
        opacity 0.3s ease-out;
    position: relative;
    top: calc(-320 / 1400 / 2 * 100vw + 2vw);
    z-index: 700;

    &.is-open {
        opacity: 1;
        margin-bottom: calc(-320 / 1400 / 2 * 100vw + 2vw);
    }
}

.accordion-inner {
    padding: calc(480 / 1400 / 2 * 100vw - 8vw) calc(40 / 750 * 100vw) calc(40 / 750 * 100vw + 4vw);
    /**/
    background-color: #fff6e3;
    border: #ffb41d solid calc(8 / 1400 * 100vw);
    border-radius: 0 0 calc(20 / 750 * 100vw) calc(30 / 750 * 100vw);

    /*background-size: contain;
    background-repeat: repeat-y;*/

    & .kiji {
        position: relative;
        bottom: -4vw;

        & p {
            margin-bottom: 5vw;

            &:last-child {
                margin-bottom: 0.5em;
            }
        }

        & .stress {
            font-weight: 700;
            color: #ed2012;
        }

        & img {
            margin-bottom: 5vw;
        }

        & h2 {
            margin-top: 5vw;
        }

        & .caution {
            padding: 4vw 5vw;
            color: #fff;
            background-color: #ff6512;
            border-radius: 2vw;

            & span {
                font-size: 1.1em;
                font-weight: 700;
            }
        }

        & .em20 {
            margin-bottom: 2em;
        }

        & .caution2 {
            padding-top: 1.7em;
            position: relative;
            margin-bottom: 2em;

            & img {
                width: 2em;
                position: absolute;
                top: -1em;
                left: 50%;
                transform: translateX(-50%);
            }
        }

        & h3 {
            font-size: 1.1em;
        }

        & dt {
            display: flex;
            align-items: start;
        }

        & dd {
            display: flex;
            align-items: start;
            margin-bottom: 1em;
        }

        & dl img {
            width: calc(38 / 375 * 100vw);
            margin: 0.2em 0.5em 0.2em 0;
        }
    }
}

.sec_service {
    margin-bottom: calc(100 / 750 * 100vw);
}

.nav-item {
    display: block;
    width: 100%;
    height: calc(320 / 1400 * 100%);
    padding: calc(320 / 1400 / 2 * 100vw - 5.4vw) calc(40 / 750 * 100vw) calc(320 / 1400 / 2 * 100vw - 4.4vw);
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
    margin-bottom: 8vw;
    position: relative;
    font-size: 4.8vw;
    font-weight: 700;

    & span {
        position: absolute;
        width: calc(33 / 750 * 100vw);
        height: calc(48 / 750 * 100vw);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        right: calc(50 / 750 * 100vw);
        top: 32%;
        background-color: #ed2012;
    }
}

.webp .nav-item {
    background-image: url(../img/btn-b.webp);
}

.no-webp .nav-item {
    background-image: url(../img/btn-b.png);
}

/*赤アコー*/
.accordion2 {
    margin-bottom: 8vw;
}

.accordion-header2 {
    color: #fff;

    & span {
        background-color: #ed2012;
    }
}

.accordion-inner2 {
    border: #ff6512 solid calc(8 / 1400 * 100vw);
}

.webp .accordion-header2 {
    background-image: url(../img/btn-b.webp);
}

.no-webp .accordion-header2 {
    background-image: url(../img/btn-b.png);
}

.forsp {
    display: block;
}

.forpc {
    display: none;
}

@media screen and (min-width: 601px) {


    .main-visual {
        margin-bottom: 32px;
        height: 528px;
    }

    .overlay-text {
        width: 460px;
        transform: translateY(-90px);
    }

    .h-s-out {
        height: 105px;
    }
    .hot-shade {
        width: 1280px;
        height: 105px;

        & img {
            height: 105px;
            width: 1280px;
        }
    }

    .main-cars {
        width: 662px;
        height: 262px;
        bottom: -10px;
    }

    .car-a {
        width: 210px;
        top: 30px;
    }
    .car-b {
        width: 253px;
        top: 10px;
    }
    .car-c {
        width: 330px;
    }

    .sub-logo-area {
        width: 287px;
        margin: 0 auto 40px;
    }

    .sateif {
        margin: 0 auto 60px;
    }
    .sateif a img {
        width: 702px;
        max-width: 100%;
        margin: 0 auto;
    }
    .section-title {
        font-size: 2em;
    }
    .section-contents {
        display: flex;
        width: 1000px;
        max-width: 100%;
        justify-content: space-between;
        position: relative;
        z-index: 500;

        & .accordion {
            width: 32%;
        }

        & .riyu-ti {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1000;

            display: flex;
            width: 1000px;
            max-width: 100%;
            justify-content: space-between;

            & picture {
                width: 32%;
            }
        }
    }

    .accordion {
        background-color: #fff6e3;
        border: #ffb41d solid 2px;
        border-radius: 10px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .car-d{ /*matome*/
        margin: 14% 20%;
        width: 50%;
        position: relative;
        & picture{
            opacity: .6;
        }
    }
    .car-e, .car-f, .car-g, .car-h{
        display: block;
        background-color: #fff;
        border-radius: 50%;
        position: absolute;
    }
    .car-e{
        width: 44.4%;
        height: 19.1%;
        bottom: 161%;
        left: 33.3%;
    }
    .car-f{
        width: 75%;
        height: 35%;
        bottom: 188%;
        left: 61%;
    }
    .car-g{
        width: 44.4%;
        height: 21%;
        bottom: 160%;
        left: 26.1%;
    }
    .car-h{
        width: 75%;
        height: 38.5%;
        bottom: 192%;
        left: 55.5%;
    }
    
    .accordion-content {
        max-height: none;
        opacity: 1;
        top: 0;
    }
    .accordion-inner {
        background-color: transparent;
        border: none;

        padding: 28% 15px 15px;

        & .kiji {
            bottom: 0;

            & p {
                margin-bottom: 20px;
            }
            & img {
                margin-bottom: 20px;
            }
        }
    }

    .acc2-out {
        position: relative;
        margin-bottom: 30px;

        & .killti {
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }
    }

    .accordion2 .accordion-inner {
        padding: 77px 15px 15px;

        & .kiji {
            & h2 {
                margin-top: 0;
                width: 100%;
                max-width: 323px;
            }
            & .caution{
                padding: 15px;
                border-radius: 8px;
            }
            & .caution2{
                padding-top: calc(15px + 1em);
            }
            
            & dl{
                margin-top: 40px;
            }
            
             & dl img {
      width: 38px;
        }
        }
    }

    .nav-item {
        height: 0;
        padding: calc(77 / 1000 * 100%) 0 0;
        margin-bottom: 40px;

        & span {
            display: none;
        }
    }

    .webp {
        & .nav-itema {
            background-image: url(../img/btn-ba.webp);
        }
        & .nav-itemb {
            background-image: url(../img/btn-bb.webp);
        }
        & .nav-itemc {
            background-image: url(../img/btn-bc.webp);
        }
    }
    .no-webp {
        & .nav-itema {
            background-image: url(../img/btn-ba.png);
        }
        & .nav-itemb {
            background-image: url(../img/btn-bb.png);
        }
        & .nav-itemc {
            background-image: url(../img/btn-bc.png);
        }
    }
.sec_service {
  margin-bottom: 50px;
}
    .forsp {
        display: none;
    }

    .forpc {
        display: block;
    }
}

@media screen and (min-width: 811px) {
    .accordion2 .accordion-inner {
        padding: 77px 15px 15px;

        & .kiji {
            & h2 {
                margin-top: 40px;
            }
        }
    }
}
