@charset "utf-8";

/*
SP版用
@media only screen and (max-width: 959px){}
*/

/*   共通設定   */

:root {
    --chiyoda-blue: #0068AF;
    --chiyoda-lightblue: #00A0DC;
    --point-green: #28A45E;
    --toyota-red: #EB0A1E;
    --text: #292e3d;
}

#main {
    font-family: YakuHanJPs, "IBM Plex Sans", "IBM Plex Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
}

.sp-br {
    display: none;
}

@media only screen and (max-width: 959px) {
    .pc-br {
        display: none;
    }

    .sp-br {
        display: inline;
    }
}

.heading {
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.6;
    color: black;
    text-align: center;
}

dialog {
    overscroll-behavior-y: contain;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
}

/*   メインビジュアル周辺   */

.mv_txt_box {
    padding: 0 calc((100% - 1216px) / 2);
}

@media print,
screen and (min-width: 960px) and (max-width: 1311px) {
    .mv_txt_box {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 959px) {
    .mv_txt_box {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media only screen and (max-width: 599px) {
    .mv_txt_box {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.bg_container {
    background-image: -webkit-image-set(url('../img/frame.avif') type('image/avif'),
            url('../img/frame.webp') type('image/webp'),
            url('../img/frame.png') type('image/png'));
    background-image: image-set(url('../img/frame.avif') type('image/avif'),
            url('../img/frame.webp') type('image/webp'),
            url('../img/frame.png') type('image/png'));
    background-repeat: no-repeat;
    background-size: 76.7%;
    background-position-x: right -122%;
    padding-top: 39px;
    padding-bottom: 152px;
}

@media only screen and (min-width: 960px) {
    .bg_container {
        animation: bgRise 1.5s ease forwards;
    }

    @keyframes bgRise {
        0% {
            background-position-y: 526px;
        }

        100% {
            background-position-y: 146px;
        }
    }
}

@media only screen and (max-width: 959px) {
    .bg_container {
        padding-top: 36px;
        background-size: 145%;
        background-position-x: right 186%;
        animation: bgRise 1.5s ease forwards;
        padding-bottom: 107px;
    }

    @keyframes bgRise {
        0% {
            background-position-y: 383px;
        }

        100% {
            background-position-y: 193px;
        }
    }
}



.title {
    color: var(--chiyoda-lightblue);
    font-weight: bold;
    font-size: 7rem;
    line-height: 1.14;

    @media (max-width: 959px) {
        font-size: 4.2rem;
        line-height: 1.1;
    }
}

.sub_title {
    margin-top: 16.5px;
    color: var(--text);
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.5;

    @media (max-width: 959px) {
        font-size: 2rem;
        margin-top: 15px;
    }
}

.contactBtn {
    width: 219px;
    height: 52px;
    border-radius: 26px;
    z-index: 1;
}

.mv_txt_box .contactBtn {
    position: relative;
    top: 30px;

    @media only screen and (max-width: 959px) {
        top: 38px;
        width: 202px;
        height: 48px;
    }
}

.contactBtn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 26px;
    padding-left: 27px;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    border: 2px solid var(--chiyoda-lightblue);
    background-color: var(--chiyoda-lightblue);
    box-shadow: 1px 2px 4px 0px rgba(0, 0, 0, 0.1);
    font-weight: bold;

    @media (max-width:959px) {
        padding-left: 27px;
        font-size: 1.8rem;
    }
}

.contactBtn .imgBox {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 10px;

    @media (max-width:959px) {
        margin: 10px 8px;
    }
}

.contactBtn .imgBox svg {
    color: white;
}

.contactBtn a:hover {
    background-color: white;
    box-shadow: none;
    color: var(--chiyoda-lightblue);
}

.contactBtn a:hover .imgBox svg {
    color: var(--chiyoda-lightblue);
}

.mv {
    width: 100%;
    margin-top: -28px;
    overflow: visible;
}

.mv img {
    display: block;
    object-fit: cover;
    height: 325px;
    width: auto;
    max-width: none;
    animation: slideImg 1.4s ease forwards;
}

@keyframes slideImg {
    from {
        transform: translateX(calc(50vw - 390px));
    }

    to {
        transform: translateX(calc(100vw - 2030px));
    }
}

@media only screen and (max-width: 959px) {
    .mv {
        margin-top: 50px;
    }

    .mv img {
        height: 223px;
    }

    @keyframes slideImg {
        from {
            transform: translateX(-240px);
        }

        to {
            transform: translateX(calc(100vw - 1325px));
        }
    }
}


/*   ブランドコンセプト   */

.attention {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 140px auto 0;
    padding: 0 20px;

    @media (max-width: 959px) {
        margin-top: 118px;
    }
}

.attention p {
    padding: 0 20px;
}

.attention::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 25px solid var(--toyota-red);
}

.attention::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-right: 25px solid var(--toyota-red);
}

@media (max-width: 959px) {
    .attention::before {
        content: "";
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        border-left: 20px solid var(--toyota-red);
    }

    .attention::after {
        content: "";
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        border-right: 20px solid var(--toyota-red);
    }

    .attention p {
        padding: 0px 10px;
        width: 334px;
        margin: 0 auto;
        line-height: 1.44;
    }
}

.about_us {
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: 0.02em;
    color: var(--text);
    text-align: center;
    margin-top: 26px;

    @media (max-width:959px) {
        margin: 35px 20px 0;
        line-height: 1.8;
    }
}

/*   特長   */

.featureBg {
    height: 344px;
    background-image: url(../img/features_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (max-width: 959px) {
        background-image: url(../img/features_bg_sp.png);
    }
}

.feature_heading {
    margin: 0;
    color: white;
    font-size: 4.2rem;
    vertical-align: middle;
    margin-bottom: 45px;

    @media (max-width:959px) {
        margin-bottom: 39px;
        line-height: 1.6;
    }
}

.card_container {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    isolation: isolate;
    padding-bottom: 140px;
}

@media only screen and (max-width: 959px) {
    .card_container {
        flex-direction: column;
        padding-bottom: 98px;
    }
}

.card_container::before,
.card_container::after {
    position: absolute;
    font-size: 18rem;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
}

@media only screen and (max-width: 959px) {

    .card_container::before,
    .card_container::after {
        font-size: 8rem;
    }
}

.card_container::before {
    content: "High Efficiency";
    top: 165px;
    left: -410px;
    color: var(--chiyoda-lightblue);
    opacity: 0.1;
}

.card_container::after {
    content: "High Quality";
    top: 345px;
    right: -117px;
    color: #f6f6f6;
}

@media only screen and (max-width: 959px) {
    .card_container::before {
        top: 882px;
        left: -250px;
    }

    .card_container::after {
        top: 977px;
        left: 20px;
    }
}

.card {
    width: 289px;
    min-height: 316px;
    text-align: left;
    background-color: white;
    border: 1px solid #f6f6f6;
    border-radius: 12px;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.15);
    opacity: 0;
    display: flex;
}

@media only screen and (max-width: 959px) {
    .card {
        width: 90%;
        min-height: 224px;
        margin: 0 auto;
    }
}

.card.is-visible {
    animation: popCard 0.5s ease-out forwards;
}

@keyframes popCard {
    from {
        opacity: 0;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-80px);
    }
}

.card_inner {
    margin: 20px 14px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.card_title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;

    @media (max-width:959px) {
        font-size: 2.8rem;
    }

}

.card_subtitle {
    color: var(--chiyoda-lightblue);
    font-size: 1.6rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-top: 6px;
    font-weight: 500;

    @media (max-width:959px) {
        font-size: 1.8rem;
        margin-top: 6px;
    }
}

.card_txt {
    color: var(--text);
    font-size: 1.8rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-top: 11px;

    @media (max-width:959px) {
        margin-top: 30px;
    }
}

.card_item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.card_item svg {
    width: 60px;
    height: 60px;
    color: var(--chiyoda-lightblue);
}

.plus {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--toyota-red);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.card:hover {
    background-color: var(--chiyoda-lightblue);
    border: none;
}

.card:hover .card_title,
.card:hover .card_subtitle,
.card:hover .card_txt,
.card:hover .card_item svg {
    color: white;
}

.card:hover .card_item .plus {
    background-color: white;
}

.plus::before,
.plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 20px;
    background-color: white;
    border-radius: 1.5px;
    transform: translate(-50%, -50%);
}

.card:hover .card_item .plus::before,
.card:hover .card_item .plus::after {
    background-color: var(--chiyoda-lightblue);
}

.plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

@media only screen and (max-width: 959px) {
    .card_inner {
        justify-content: space-between;
        flex-direction: row;
        width: 100%;
        margin: 20px 20px 16px;
    }

    .card_txtBox {
        width: 75%;
    }

    .card_item {
        margin: 0;
        flex-direction: column;
    }

    .card_item svg {
        width: 56px;
        height: 56px;
    }

    .card_item .plus {
        transform: scale(1.125);
    }
}

/*   特長用モーダル   */

.feature-modal {
    width: 800px;
    padding: 0;
    border: 3px solid var(--chiyoda-lightblue);
    border-radius: 16px;
}

.feature-modal__inner {
    position: relative;
    padding: 138px 103px;

    @media (max-width: 959px) {
        padding: 68px 30px 56px;
    }
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--toyota-red);

    @media (max-width: 959px) {
        top: 20px;
        right: 20px;
        transform: scale(1.125);
    }
}

.modal__close::before,
.modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 20px;
    background-color: white;
    border-radius: 1.5px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__close::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.feature-modal__container {
    display: flex;
    gap: 38px;

    @media (max-width: 959px) {
        flex-direction: column;
        gap: 13px;
    }
}

.feature-modal__image {
    flex-shrink: 0;
}

.feature-modal__image img {
    width: 75px;
    height: 75px;

    @media (max-width: 959px) {
        width: 56px;
        height: 56px;
    }
}

#fModalTitle {
    color: var(--chiyoda-lightblue);
    font-size: 3.6rem;
    font-weight: bold;
    line-height: 1.2;
}

#fModalSubtitle {
    color: var(--text);
    font-size: 1.8rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin-top: 8px;

    @media (max-width: 959px) {
        margin-top: 3px;
    }
}

#fModalDescription {
    color: #4c4c4c;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-top: 25px;

    @media (max-width: 959px) {
        font-size: 1.8rem;
        margin-top: 15px;
    }
}

/*   水電解装置システム   */

.comparison {
    margin-top: 90px;
    margin-bottom: 140px;
}

@media only screen and (max-width: 959px) {
    .comparison {
        margin-top: 0;
        margin-bottom: 120px;
        position: relative;
    }
}

.comparison * {
    box-sizing: border-box;
}

@media (max-width:959px) {
    .comparison h2 {
        font-size: 3.6rem;
    }
}

.toggleBtn {
    margin: 33px auto 130px;
    position: relative;
    width: min(502px, 90%);
    height: 58px;
    border: 2px solid var(--chiyoda-lightblue);
    border-radius: 46px;
}

@media (max-width: 959px) {
    .toggleBtn {
        margin: 24px auto 60px;
    }
}

.toggleBtn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.labels {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
}

.labels label {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chiyoda-lightblue);
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.choice {
    position: absolute;
    z-index: 1;
    top: 0px;
    width: 50%;
    height: 100%;
    background-color: var(--chiyoda-lightblue);
    border-radius: 46px;
    box-shadow: 4px 0px 6px 0px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

#radio5MW:checked~.labels label[for="radio5MW"] {
    color: white;
}

#radio20MW:checked~.labels label[for="radio20MW"] {
    color: white;
}

#radio20MW:checked~.choice {
    transform: translateX(100%);
    box-shadow: -4px 0px 6px 0px rgba(0, 0, 0, 0.3);
}

.comparisonBg {
    position: relative;
    z-index: 0;
}

.comparisonBg::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    height: 100%;
    aspect-ratio: 1.3 / 1;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #f6f6f6;

    @media (max-width: 959px) {
        top: 20px;
        width: 280%;
    }
}

.comparisonBg::after {
    content: "";
    position: absolute;
    top: 5%;
    left: -28%;
    background-image: url("../img/frame.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 1085px;
    height: 1628px;
    transform: rotate(90deg);
    z-index: -1;
    opacity: 0.3;
    aspect-ratio: 1085/1628;

    @media (max-width:959px) {
        top: 0px;
        left: auto;
        right: 210px;
        width: 850px;
        height: auto;
    }
}

.ctxe5,
.ctxe20 {

    h3,
    p {
        padding-left: 100px;
    }
}

.ctxe5 img{
    aspect-ratio: 1902/1172;
}
.ctxe20 img{
    aspect-ratio: 2780/1172;
}

.ctxe5 img,
.ctxe20 img {
    @media (max-width: 959px) {
        max-width: none;
        width: 100%;
        height: auto;
    }
    @media (max-width: 640px) {
        max-width: none;
        width: auto;
        height: 326px;
    }
}

.ctxe20 {
    display: none;
}

.reference_position {
    position: relative;
    width: 60%;
    margin: 20px auto 0;

    @media (max-width: 959px) {
        width: 100%;
        overflow-x: auto;
        scroll-behavior: smooth;
    }
}

.comparison_content:has(#radio20MW:checked) .reference_position {
    width: clamp(960px, 87%, 1440px);

    @media (max-width: 959px) {
        width: 100%;
    }
}

.ctxe5 .both {
    position: absolute;
    top: 14%;
    right: 35%;
    transform: scale(calc(46 / 32));
}

.ctxe20 .cell {
    position: absolute;
    top: 25%;
    right: 34.5%;
    transform: scale(calc(46 / 32));
}

.ctxe20 .bop {
    position: absolute;
    top: 65%;
    left: 39.7%;
    transform: scale(calc(46 / 32));
}

.device {
    font-size: 4.2rem;
    font-weight: bold;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 0.03em;
}

.device+p {
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: 0.02em;
    color: var(--text);
    padding-left: 123px;
}

@media only screen and (max-width: 959px) {
    h3.device {
        padding-left: 20px;
        font-size: 3.2rem;
        line-height: 1.4;
    }

    .device+p {
        padding-left: 50px;
        line-height: 1.8;
        margin-right: 20px;
    }
}

.device::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--toyota-red);
}

.point01,
.point02,
.point03 {
    width: 36px;
    height: 36px;
    background-color: var(--chiyoda-lightblue);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    border-radius: 50%;
}

.comparisonBg>div>div>.point01,
.comparisonBg>div>div>.point02,
.comparisonBg>div>div>.point03 {
    position: absolute;
    z-index: 1;
}

.ctxe5>.reference_position>.point01 {
    top: 36%;
    left: 10%;
}

.ctxe5>.reference_position>.point02 {
    top: 59%;
    left: 36%;
}

.ctxe5>.reference_position>.point03 {
    top: 46%;
    left: 69%;
}

.ctxe20>.reference_position>.point01 {
    top: 77%;
    left: 9%;
}

.ctxe20>.reference_position>.point02 {
    top: 19%;
    left: 86.5%;
}

.ctxe20>.reference_position>.point03 {
    top: 41%;
    left: 87.5%;
}

@media only screen and (max-width: 640px) {

    .point01,
    .point02,
    .point03 {
        width: 30px;
        height: 30px;
    }

    .ctxe5 .both {
        top: 19%;
        left: 75%;
        transform: scale(0.9375);
    }

    .ctxe20 .cell {
        top: 25%;
        left: 115%;
        transform: scale(0.9375);
    }

    .ctxe20 .bop {
        top: 58%;
        left: 97%;
        transform: scale(0.9375);
    }

    .ctxe5>.reference_position>.point01 {
        top: 38%;
        left: 16%;
    }

    .ctxe5>.reference_position>.point02 {
        top: 60%;
        left: 47%;
    }

    .ctxe5>.reference_position>.point03 {
        top: 36%;
        left: 83%;
    }

    .ctxe20>.reference_position>.point01 {
        top: 74%;
        left: 15%;
    }

    .ctxe20>.reference_position>.point02 {
        top: 21%;
        left: 156%;
    }

    .ctxe20>.reference_position>.point03 {
        top: 38%;
        left: 161%;
    }
}

.comparison_content:has(#radio20MW:checked) .ctxe5 {
    display: none;
}

.comparison_content:has(#radio20MW:checked) .ctxe20 {
    display: block;
}

.pointBox {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 160px;
    top: 550px;
    right: 17%;
}

.pointBox div {
    display: flex;
    gap: 10px;
}

.pointBox dt {
    display: flex;
    align-items: center;
}

.pointBox dd {
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: 0.02em;
}

@media only screen and (max-width: 959px) {
    .pointBox {
        gap: 0px;
        margin-right: 0;
        top: -30px;
        position: relative;
        right: auto;
        margin-left: auto;
    }

    .comparison_content:has(#radio20MW:checked) .pointBox {
        top: -30px;
    }
}

.productsCard_container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 126px;
}

.productsCard {
    width: 598px;
    position: relative;
    border: 2px solid var(--chiyoda-lightblue);
    border-radius: 12px;
    padding: 140px 38px 40px;
    margin-top: 185px;

    @media (max-width: 959px) {
        margin-top: 25px;
    }
}

@media only screen and (max-width: 959px) {
    .productsCard {
        padding: 100px 15px 40px;
    }
}

.productsCard>img {
    position: absolute;
}

.productsCard5MW {
    background-color: rgba(255, 255, 255, .8);
}

.productsCard20MW {
    background-color: rgba(0, 160, 220, .8);
}

.productsCard5MW>img {
    top: -70px;
    right: 0px;
    width: 65%;
}

@media only screen and (max-width: 959px) {
    .productsCard5MW>img {
        top: -2%;
        right: 5%;
    }
}

.productsCard20MW>img {
    top: -50px;
    left: 200px;
    width: 80%;
    transform: rotate(-5deg);

    @media (max-width: 959px) {
        width: 87%;
    }
    @media (max-width: 640px) {
        width: 87%;
    }

}

@media only screen and (max-width: 959px) {
    .productsCard20MW>img {
        top: auto;
        right: 90px;
        overflow: auto;
        bottom: 608px;
    }
}
@media only screen and (max-width: 640px) {
    .productsCard20MW>img {
        top: -20px;
        left: 90px;
        right: auto;
    }
}

.productsCard h3 {
    font-size: 4.2rem;
    font-weight: bold;
    line-height: 1.4;

    @media (max-width: 959px) {
        font-size: 3.2rem;
        margin-bottom: 25px;
    }
}

.productsCard20MW h3 {
    color: white;
}

.row {
    display: flex;
    justify-content: space-between;
    padding-top: 44px;
    padding-bottom: 16px;
    align-items: center;
    line-height: 1;

    @media (max-width: 959px) {
        padding-top: 25px;
        align-items: center;
    }
}

.row dt {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text);
    white-space: nowrap;
}

.row dd {
    font-size: 2.4rem;
    color: var(--text);
    text-align: right;
}

.productsCard5MW .row dd .hl {
    font-size: 3.4rem;
    font-weight: 500;
    margin-right: 0.3rem;
    vertical-align: -2px;
    color: var(--chiyoda-lightblue);

    @media (max-width: 959px) {
        vertical-align: -1px;
    }
}

.productsCard20MW .row dd .hl {
    font-size: 3.4rem;
    font-weight: 500;
    margin-right: 0.3rem;
    vertical-align: -2px;
    color: white;
}

.row dd .add {
    font-size: 1.8rem;
    color: var(--text);
}

@media only screen and (max-width: 959px) {
    .row dt {
        font-size: 1.6rem;
    }

    .row dd {
        font-size: 1.8rem;
    }

    .productsCard .row dd .hl {
        font-size: 2.4rem;
    }

    .productsCard .row dd .add {
        font-size: 1.4rem;
    }
}

.productsCard5MW .row+.row {
    border-top: 1px solid #c8c8c8;
}

.productsCard20MW .row+.row {
    border-top: 1px solid white;
}

.indicator {
    display: none;
}

.products_carousel {
    padding-bottom: 28px;
}

.dlBtn {
    width: 404px;
    height: 80px;
    border-radius: 100px;
    margin: 0 auto;
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);

    @media (max-width: 959px) {
        border-radius: 40px;
        width: 238px;
        height: 48px;
        bottom: -24px;
    }
}

.dlBtn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 2px solid var(--chiyoda-lightblue);
    border-radius: 100px;
    font-size: 3.2rem;
    font-weight: 500;
    color: white;
    background-color: var(--chiyoda-lightblue);
    padding-left: 26px;
    box-shadow: 1px 2px 4px 0px rgba(0, 0, 0, 0.1);
    text-decoration: none;

    @media (max-width: 959px) {
        border-radius: 40px;
        font-size: 1.8rem;
        font-weight: bold;
    }
}

.dlBtn a:hover {
    color: var(--chiyoda-lightblue);
    background-color: white;
    box-shadow: none;
}

.dlBtn .imgBox {
    width: 56px;
    height: 56px;
    margin: 12px;

    @media (max-width: 959px) {
        margin: 9px;
        width: 30px;
        height: 30px;
    }
}

.dlBtn .imgBox svg {
    width: 56px;
    height: 56px;

    @media (max-width: 959px) {
        margin: 0px;
        width: 30px;
        height: 30px;
    }
}

@media only screen and (max-width: 959px) {
    .productsCard_container {
        overflow-x: auto;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 0;
        justify-content: start;
    }

    .productsCard {
        width: 90%;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .productsCard:first-child {
        margin-left: 5%;
    }

    .productsCard:last-child {
        margin-right: 5%;
    }

    .indicator {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: #d9d9d9;
        transition: background-color 0.2s;
    }

    .dot.active {
        background-color: var(--chiyoda-lightblue);
    }
}

.detail-modal {
    box-sizing: border-box;
    width: min(1216px, 95%);
    height: 750px;
    padding: 120px 40px;
    border: 3px solid var(--chiyoda-lightblue);
    border-radius: 16px;
    z-index: 1000;
    scrollbar-width: none;
}

.detail-modal__content,
.detail-container {
    width: 100%;

    &:has(#detail3) {
        width: fit-content;
    }
}



.detail-modal__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    @media (max-width:959px) {
        align-items: start;
        height: auto;
    }
}

.detail {
    overflow: hidden auto;
}

.detail h3 {
    position: relative;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    color: var(--chiyoda-lightblue);
    margin-bottom: 10px;
    padding-left: 30px;
}

.detail h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    transform: translateY(-25%);
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--toyota-red);
}

.detail p {
    font-size: 1.4rem;
    line-height: 1.8;
    padding-left: 30px;
}

.detail .upper {
    padding-bottom: 42px;
}

.detail .lower {
    display: flex;
    gap: clamp(10px, 4vw, 60px);
}

.detail .lower div {
    width: calc(50% - (clamp(10px, 4vw, 60px)/2));
}

.detail img {
    width: min(464px, 100%);
    height: 236px;
    margin-top: 13px;
    padding-left: 30px;
}

@media only screen and (max-width: 959px) {
    .detail-modal {
        width: 90vw;
        height: fit-content;
        padding: 70px 20px;
    }

    .detail p {
        font-size: 1.8rem;
    }

    .detail .upper {
        padding-bottom: 40px;
    }

    .detail .lower {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .detail .lower div {
        width: 100%;
    }

    .lower img {
        width: 90%;
        height: auto;
    }
}

.block_flow {
    margin: 210px auto 0;
    position: relative;

    @media (max-width: 959px) {
        margin-top: 120px;
    }
}

@media (max-width: 959px) {
    .block_flow h2 {
        font-size: 3.6rem;
    }
}

.block_flow p {
    text-align: center;
    margin-top: 17px;
    margin-bottom: 46px;
    font-size: 1.8rem;

    @media (max-width: 959px) {
        margin: 20px 20px 46px;
    }
}

.block_flow .flow {
    display: block;
    width: 90%;
    margin: 0 auto;
}

.block_flow .flow_plus_btn {
    position: absolute;
    right: 45px;
    bottom: 50px;
    width: 36px;
    height: 36px;

    &.plus::before,
    &.plus::after {
        width: 3px;
        height: 22px;
    }
}

.block_flow small {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: left;
    width: 90%;
    margin: -24px auto 0;

    @media (max-width: 959px) {
        font-size: 1rem;
        margin: 0 auto;
    }
}

.block_flow small span {
    color: var(--chiyoda-lightblue);
}

.flow-modal {
    width: 100%;
    height: 68vh;
    padding: 0;
    overflow: hidden;
}

.flow-modal__inner {
    position: relative;
}

.flowBox {
    height: 68vh;
    background-color: black;
}

.flow-modal .flow__image {
    overflow-x: auto;
    overflow-y: hidden;
    height: 40vh;
    padding: 14vh 10px;

    img {
        width: auto;
        height: 100%;
        max-width: none;
    }
}

.joint_development .attention p {
    padding: 0 56px;

    @media (max-width: 959px) {
        padding: 0px 20px;
    }
}

.joint_dev {
    margin-top: 60px;
    width: 100%;
}

.joint_development h2 {
    font-size: 4.2rem;
    color: var(--text);
    margin-top: 100px;

    @media (max-width: 959px) {
        font-size: 3.2rem;
        margin: 66px 20px 0px;
    }
}

.partner_area {
    width: 841px;
    margin: 58px auto;

    @media (max-width: 959px) {
        width: 90%;
        margin: 26px auto;
    }
}

.partner_area p {
    width: 422px;
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: 0.02em;

    @media (max-width: 959px) {
        width: auto;
        line-height: 1.78;
    }
}

.partner_area img {
    width: 399px;
    height: 193px;

    @media (max-width: 959px) {
        width: 100%;
        height: auto;
    }
}

.partner_area div {
    display: flex;
    gap: 20px;
    align-items: center;

    @media (max-width: 959px) {
        flex-direction: column;
        gap: 16px;
    }
}

.partner_area div+div {
    flex-direction: row-reverse;
    margin-top: 30px;

    @media (max-width: 959px) {
        flex-direction: column;
    }
}

.toyota_detail {
    width: 445px;
    height: 48px;
    border: 2px solid black;
    border-radius: 26px;
    margin: 0 auto 160px;

    @media (max-width: 959px) {
        margin: 0 auto 122px;
        width: 90%;
        height: 45px;
    }
}

.toyota_detail a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    color: black;
    text-decoration: none;
}

.toyota_detail p {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    height: 100%;
    padding-left: 20px;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media (max-width: 959px) {
        font-size: 1.6rem;
    }
}

.toyota_detail svg {
    width: 32px;
    height: 32px;
    border-radius: 50%;

    @media (max-width: 959px) {
        width: 30.93px;
        height: 30.93px;
    }
}

aside {
    @media (max-width: 959px) {
        padding: 0 20px;
    }
}

.bottom_contact {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto 100px;
    border-radius: 12px;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 294px;

    @media (max-width: 959px) {
        height: 284px;
        box-shadow: 4px 4px 6px 0px rgba(0, 0, 0, 0.2),
            -4px -4px 10px 0px rgba(0, 0, 0, 0.1);
    }
}

.bottom_contact a {
    color: #000;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #F6F6F6;
    padding: 20px 40px 14px;
    box-sizing: border-box;
    position: relative;
    background-image: url(../img/contact_bg.png);
    background-repeat: no-repeat;
    background-position: right 60px bottom 0;

    @media (max-width: 959px) {
        padding: 40px 26px 8px;
        background-image: none;

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            transform: scaleX(-1);
            background-image: url(../img/frame.png);
            background-size: 70%;
            background-repeat: no-repeat;
            background-position: top -25% right 104%;
            opacity: 0.75;
        }
    }
}

.bottom_contact img {
    max-width: 1003px;
    height: auto;
    margin-top: 45px;
    margin-left: 21px;

    @media (max-width: 959px) {
        transform: translateX(-380px);
        margin-top: 0;
    }
}

.bottom_contact {
    svg {
        position: absolute;
        right: 40px;
        bottom: 40px;

        @media (max-width: 959px) {
            right: 20px;
            bottom: 20px;
        }
    }

    .icon-svg .bg-circle {
        fill: #00A0DC;
        /* 丸の色：水色 */
    }

    .icon-svg .arrow {
        fill: #ffffff;
        /* 矢印の色：白 */
    }

    &:hover .bg-circle {
        fill: #fff;
        /* 丸の色：黒（お好みの色に変更してください） */
    }

    &:hover .arrow {
        fill: #00A0DC;
        /* 丸の色：黒（お好みの色に変更してください） */
    }

}

.bottom_contact h3 {
    font-size: 4.2rem;
    position: relative;
    padding-left: 3.5rem;
    line-height: 1.6;

    @media (max-width: 959px) {
        line-height: 1;
        margin-bottom: 10px;
        font-size: 3.2rem;
    }
}

.bottom_contact h3::before {
    content: "▼";
    color: var(--toyota-red);
    position: absolute;
    rotate: -90deg;
    left: 0;
    font-size: 2rem;
    margin-bottom: 10px;
    top: 50%;
    transform: translateX(50%);
}

.bottom_contact p {
    font-size: 1.8rem;
    margin-left: 3.5rem;
    color: var(--text);
    line-height: 1.4;

    @media (max-width: 959px) {
        margin-bottom: 15px;
        margin-right: 3.5rem;
        line-height: 1.6;
    }
}

@media (min-width: 960px) {
    .bottom_contact a:hover {
        background-color: var(--chiyoda-lightblue);
        background-image: url(../img/contact_bg_hover.png);
        color: #fff;
    }

    .bottom_contact a:hover::after {
        background-color: #fff;
    }

    .bottom_contact a:hover::before {
        border-top: 2px solid var(--chiyoda-lightblue);
        border-right: 2px solid var(--chiyoda-lightblue);
        transform: translateY(-50%) rotate(45deg);
        z-index: 1;
    }

    .bottom_contact a:hover h3::before {
        color: white;
    }

    .bottom_contact a:hover p {
        color: #fff;
    }
}


@media only screen and (max-width: 959px) {
    .heading {
        font-size: 3.2rem;
    }
}