@charset "UTF-8";

@media screen and (max-width: 767px) {
    .contents-top {
        min-width: 0;
    }

    .box-heading,
    .showcase-copy {
        font-size: 4.1vw;
        letter-spacing: .02em;
    }

    .box-note {
        font-size: 11px;
    }

    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

    .showcase-copy {
        font-size: 3.8vw;
        line-height: 1.5;
        text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    }

    .main-img-top {
        padding-top: calc(var(--design-unit) * 250);
    }

    .box-brand {
        padding: calc(var(--design-unit) * 80) calc(var(--design-unit) * 0) calc(var(--design-unit) * 0);
        inset: calc(var(--design-unit) * 0) auto auto 0;
        text-align: center;
        width: 100%;
        height: calc(var(--design-unit) * 250);
        clip-path: none;
    }

    .box-brand img {
        width: calc(var(--design-unit) * 1200);
        display: inline-block;
    }

    .box-main-copy {
        inset: calc(var(--design-unit) * 870) 0 auto calc(var(--design-unit) * 60);
    }

    .box-main-copy h1 {
        font-size: 12vw;
    }

    .box-main-copy p {
        gap: 2vw;
        margin-top: 1.5vw;
        font-size: 2.8vw;
        letter-spacing: .035em;
    }

    /* EXTERIOR / INTERIOR */

    .layout-showcase {
        height: calc(var(--design-unit) * 3075);
    }

    .image-side {
        width: calc(var(--design-unit) * 1800);
        margin-top: calc(var(--design-unit) * -100);
    }

    .image-sunset {
        top: calc(var(--design-unit) * 752);
    }

    .image-front {
        top: calc(var(--design-unit) * 746);
    }

    .contents-exterior .showcase-copy {
        top: calc(var(--design-unit) * 925);
    }

    .image-diagonal-brand {
        top: calc(var(--design-unit) * 1210);
    }

    .image-cockpit {
        top: calc(var(--design-unit) * 1379);
    }

    .image-road {
        top: calc(var(--design-unit) * 2315.5);
    }

    .contents-interior .showcase-title {
        top: calc(var(--design-unit) * 2244);
    }

    .contents-interior .showcase-copy {
        top: calc(var(--design-unit) * 2000);
    }

    .layout-interior-seats {
        top: calc(var(--design-unit) * 2296);
    }


    /* 荷室 */


    .layout-cargo {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 10px;
        height: auto;
        padding: 30px 6% 34px;
    }

    .image-van-logo,
    .layout-cargo .box-heading,
    .image-cargo,
    .box-cargo-detail,
    .layout-cargo .box-note {
        position: static;
    }

    .image-van-logo {
        width: 65%;
        max-width: 300px;
        text-align: center;
    }

    .layout-cargo .box-heading {
        font-size: 4.2vw;
        line-height: 1.65;
        text-align: center;
    }

    .image-cargo,
    .box-cargo-detail {
        width: 100%;
    }

    .box-cargo-detail h3 {
        font-size: 3.7vw;
        text-align: center;
    }

    .box-cargo-detail p {
        margin-top: 7px;
        font-size: 11px;
        letter-spacing: 0;
        text-align: center;
    }

    .box-cargo-detail img {
        width: 90%;
        margin-top: 8px;
    }

    .layout-cargo .box-note {
        grid-column: 1 / -1;
    }

    /* ユーティリティ・走行性能 */


    .layout-lifestyle {
        display: block;
    }

    .layout-lifestyle img {
        width: 100%;
    }

    .contents-utility,
    .contents-performance {
        padding-bottom: 34px;
    }

    .contents-utility .box-heading,
    .contents-performance .box-heading {
        margin: 23px 5% 0;
    }

    .layout-utility,
    .layout-performance {
        width: 90%;
        margin-top: 22px;
    }

    .layout-engine,
    .layout-fuel {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 15px 0px;
    }

    .layout-seat-modes {
        width: 94%;
        margin: 0px auto;
        gap: 5px;
    }

    .box-seat-image span {
        padding-inline: 2px;
        font-size: 3.5vw;
    }

    .layout-seat-modes figcaption {
        display: block;
        margin-top: 6px;
        font-size: 3.2vw;
        line-height: 1.55;
        white-space: normal;
    }

    .layout-seat-modes figcaption strong {
        display: block;
        font-size: 3.6vw;
    }

    .layout-utility .box-note,
    .layout-performance .box-note {
        margin: 16px 0 0;
    }

    .image-seat-plan {
        width: 100%;
        max-width: 400px;
        margin-top: 20px;
    }

    .layout-engine img:first-child {
        width: 100%;
    }

    .layout-engine img:last-child {
        width: 100%;
        max-width: 300px;
    }

    .box-fuel-title {
        margin: 16px 0 0;
        font-size: 11px;
    }

    .layout-fuel {
        gap: 5px;
        padding: 5px;
        margin: 15px 0 0;
        background-color: #FFF;
        align-items: flex-start;
    }

    .layout-fuel img:first-child {
        width: auto;
        height: 70px;
    }

    .layout-fuel img:last-child {
        width: auto;
        height: 70px;
    }

    /* Toyota Safety Sense */

    .contents-safety {
        padding: 30px 0 38px;
    }

    .contents-safety .box-heading {
        margin-inline: 4%;
        font-size: 3.65vw;
    }

    .box-safety-wordmark {
        margin-top: 19px;
        font-size: 9vw;
    }

    .box-safety-lead {
        margin-top: 16px;
        font-size: 3.55vw;
    }

    .image-safety-mark {
        width: 60%;
        max-width: 300px;
        margin-top: 15px;
    }

    .layout-safety {
        width: 90%;
        margin-top: 25px;
    }

    .layout-safety-points {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .layout-safety-points h3 {
        gap: 8px;
        font-size: 12px;
        white-space: normal;
    }

    .layout-safety-points h3 span {
        flex-shrink: 0;
        padding: 3px 6px;
        font-size: 11px;
    }

    .box-safety-features {
        margin-top: 9px;
        font-size: 11px;
    }

    .box-safety-features div {
        gap: 4px;
    }

    .box-safety-features dt {
        flex-basis: 55%;
    }

    .box-safety-features dd {
        white-space: normal;
    }

    .layout-safety-points img {
        width: 84%;
        margin-top: 12px;
    }

    .box-safety-notes {
        margin-top: 24px;
    }

    .box-safety-notes p + p {
        margin-top: 10px;
    }

    .box-grade-link {
        width: 96%;
        min-height: 38px;
        margin-top: 26px;
        font-size: 14px;
    }

    .box-grade-link::after {
        inset: 1px;
    }

    /* カスタム */

    .contents-custom {
        padding: 30px 0 32px;
    }

    .contents-custom .box-heading {
        margin-inline: 4%;
        font-size: 3.8vw;
    }

    .box-custom-wordmark {
        margin-top: 18px;
        font-size: 11vw;
    }

    .layout-custom-gallery {
        margin-top: 20px;
    }

    .layout-custom-track figcaption {
        margin-top: 5px;
        font-size: 11px;
    }


    .infinite-slider .swiper-slide {
        height: auto !important;
        width: calc(var(--design-unit) * 800) !important;
    }

    .infinite-slider .swiper-slide img {
        height: auto !important;
        width: calc(var(--design-unit) * 760) !important;
    }

    .box-custom-message {
        width: 88%;
        margin-top: 20px;
        padding: 11px 6px;
        font-size: 11px;
    }

    /* ウェルキャブ */

    .contents-welcab {
        padding: 100px 0 26px;
    }

    .box-welcab-brand {
        --design-unit: .06770833vw;
    }

    .layout-welcab {
        width: 92%;
        margin-top: 20px;
        border-width: 3px;
        border-radius: 11px;
    }

    .box-welcab-intro {
        padding: 50px 0 18px;
    }

    .box-welcab-intro h3 {
        font-size: 11vw;
    }

    .box-welcab-qr {
        top: 10px;
        right: 8px;
        width: 30%;
    }

    .box-welcab-subtitle,
    .box-welcab-message {
        font-size: 3.9vw;
        letter-spacing: .025em;
    }

    .box-welcab-subtitle {
        margin-top: 11px;
    }

    .box-welcab-lead {
        margin: 11px 8px 0;
        font-size: 11px;
        letter-spacing: 0;
    }

    .layout-welcab-models {
        width: 91%;
        margin-top: 18px;
    }

    .layout-welcab-models figure {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px 60px;
        text-align: center;
    }

    .layout-welcab-models figure + figure {
        margin-top: 30px;
    }

    .layout-welcab-models figcaption {
        padding-top: 6px;
        text-align: center;
    }

    .layout-welcab-models figcaption img {
        width: auto;
        height: 20px;
        display: inline-block;
    }

    .layout-welcab-models figcaption h4 {
        margin-top: 0px;
        font-size: 4.2vw;
        letter-spacing: .02em;
    }

    .layout-welcab-models figcaption p {
        margin-top: 5px;
        font-size: 10px;
        line-height: 1.4;
    }

    .layout-welcab-models figure > img,
    .layout-welcab-models figure + figure > img {
        width: 100%;
    }

    .box-welcab-stations {
        padding: 20px 0 22px;
    }

    .box-welcab-stations h3 img {
        width: 62%;
    }

    .box-station-lead {
        margin: 12px 5% 0;
        font-size: 11px;
        letter-spacing: 0;
    }

    .layout-station-list {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 3%;
        width: 92%;
        margin-top: 15px;
    }

    .box-station {
        width: 48.5%;
        padding: 7px 5px;
        border-width: 1px;
        border-radius: 6px;
    }

    .box-station h4 {
        font-size: 3.2vw;
    }

    .box-station p,
    .box-station-note {
        margin-top: 2px;
        font-size: 2.5vw;
    }

    .box-station-note {
        width: 100%;
        font-size: 10px;
    }

    .box-station a {
        margin-top: 3px;
        font-size: 4.1vw;
    }

    .layout-welcab-tax {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        width: 92%;
        margin-top: 14px;
        border-width: 1px;
        padding: 15px 4%;
    }

    .layout-welcab-tax img {
        width: 100%;
        max-width: 300px;
    }

    .box-tax-conditions {
        padding: 10px 0px 0px;
        font-size: 11px;
    }

    .box-tax-conditions strong {
        font-size: 12px;
    }

    .box-tax-conditions p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .box-welcab-message {
        margin: 14px 5% 0;
    }
}

@media screen and (max-width: 767px) {

    /* 河原崎辰也インタビュー */
    .interview-quote {
        font-size: calc(var(--design-unit) * 65);
    }

    .interview-kicker {
        font-size: 1.6vw;
    }

    .interview-summary {
        font-size: 2.6vw;
        line-height: 1.65;
    }

    .interview-music,
    .interview-drive {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        min-height: 0;
        margin-top: 0;
        padding: 26px 6%;
        text-align: left;
    }

    .interview-music h3 {
        justify-content: flex-start;
    }

    .interview-music .layout-interview-photos {
        grid-row: 2;
        height: 43vw;
        margin: 0;
    }

    .interview-drive .layout-interview-photos {
        height: 54vw;
        margin: 0;
    }

    .interview-drive .layout-interview-photos img:first-child {
        right: 27vw;
        width: 50vw;
    }

    .interview-drive .layout-interview-photos img:last-child {
        top: 19vw;
        width: 44vw;
    }

    .box-interview-lead {
        width: calc(var(--design-unit) * 1300);
    }

    .box-interview-question h3 {
        gap: 8px;
        font-size: clamp(15px, 3.8vw, 23px);
        letter-spacing: .03em;
    }

    .box-interview-question h3::before {
        flex-basis: 12px;
    }

    .box-interview-question p,
    .box-interview-profile p {
        margin-top: 9px;
        font-size: 13px;
    }

    .box-interview-question p br {
        display: none;
    }

    .interview-drive .box-interview-question p {
        padding: 0;
    }

    .box-interview-question + .box-interview-question,
    .interview-drive .box-interview-question + .box-interview-question {
        margin-top: 21px;
    }

    .layout-interview-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 22px 0 34px;
    }

    .box-interview-profile {
        padding: 0 6%;
    }

    .box-interview-profile h3 {
        margin-top: 0;
        font-size: 15px;
    }

    .box-interview-link {
        font-size: 5vw;
        padding-top: 15px;
        padding-left: 0%;
    }

    .box-interview-link span {
        font-size: 13px;
    }

    .footer-interview {
        padding-block: 20px;
        font-size: 12px;
        padding-bottom: 32vw;
    }

    /* btn-movie */
    .btn-movie {
        padding: 0px 0px;
    }

    .btn-movie-link {
        width: min(100vw, 100%);
    }

}
