/*
Theme Name: ARTA ver.20250221
Theme URI: http://arta.autobacs.com/
Author: Takaaki Sano
*/

main img {
    width: 100%;
    height: auto;
}

.video_loop {
    background: #000;
    /* height: 568px; */
}
.video_loop video {
    width: 100%;
    height: auto;
    max-width: 1440px;
    margin: auto;
    display: block;
}

@media screen and (min-width: 768px) {
    .video_loop {
        /* height: 630px; */
    }
}

.kv_bgWrapper {
    height: 176vw;
    background-image: url(../images/bg_kv_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 19.2vw 7.467vw;
}

.kv_leadText {
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    margin-bottom: 36px;
}

.kv_bottomWrapper {
    padding: 0 16px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.kv_normalText {
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin: 40px auto;
}

@media screen and (min-width: 768px) {
    .kv_bgWrapper {
        background-image: url(../images/bg_kv_pc.jpg);
        background-position: center;
        max-width: 1440px;
        height: 916px;
        margin: auto;
        /* height: calc(100vw * 916 / 1440); */
        /* min-height: 916px; */
        padding: 0;
        padding-top: 100px;
        /* padding-top: max(calc(100vw * 100 / 1440), 100px); */
    }
    .kv .kv_bgWrapper_logo {
        width: 625px;
        margin: 0 auto;
        display: block;
    }
    .kv_leadText {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .kv_normalText {
        font-size: 20px;
        line-height: 48px;
        margin: 72px auto;
    }

    .kv_bottomWrapper {
        padding-bottom: 120px;
    }
}

/*** コンテンツセクション ***/
.articleWrapper {
    padding: 0 16px;
}
.articleWrapper section:not(:first-child) {
    margin-top: 44px;
}
.articleWrapper h2 {
    margin: 24px 0 8px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
}
.articleWrapper p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: calc(27 / 16);
}
/* 幅100%画像 */
.articleFlexBox .articleFlexItem:first-child img {
    width: calc(100% + 16px * 2);
    margin-left: -16px;
}
.articleFlexBox {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 768px) {
    .articleFlexBox {
        max-width: 1440px;
        margin: 0 auto;
        flex-direction: row;
        gap: min(7.22vw, 104px);
    }
    .articleFlexBox .articleFlexItem:first-child img {
        width: 49vw;
        max-width: 706px;
        margin-left: 0;
    }
    .articleFlexBox .articleFlexItem:last-child {
        width: calc(100vw * 547 / 1440);
        max-width: 547px;
    }
    .articleWrapper h2 {
        margin-top: 0;
    }
    .articleFlexItem_textWrapper {
        margin: 0 auto;
        padding-top: min(calc(100vw * 80 / 1440),80px);
        max-width: 415px;
    }
}

/*** gallery ***/
.section_gallery {
    margin: 72px 0;
}
.section_gallery_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.gallery_thumbnail {
    display: block;
    width: calc((100% - 5px) / 2);
}

@media screen and (min-width: 768px) {
    .section_gallery {
        margin: 120px 0;
    }
    .section_gallery_inner {
        max-width: 1000px;
        margin: 0 auto;
    }
    .gallery_thumbnail {
        width: calc((100% - 5px * 2) / 3);
    }
}

/*** CTA area ***/
.custom-car_cta {
    margin: 80px auto;
}
.custom-car_cta_inner {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.custom-car_cta_content, .custom-car_cta_catalog {
    background: #333;
    padding: 40px 16px;
}
.custom-car_cta_catalog {
    padding: 10px 1px;
}
.custom-car_cta_catalogWrapper {
    width: fit-content;
    margin: auto;
}
.custom-car_cta_catalog .df-popup-thumb {
    width: 160px;
}
.custom-car_cta_catalog ._df_thumb::after {
    content: "カタログダウンロード";
    display: block;
    font-size: 14px;
    color: #999;
    text-align: center;

    background-image: url("../images/icon_link.svg");
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 18px; /* 画像の分だけ右に余白 */
    display: inline-block; /* テキストと並べる */
}
.custom-car_cta_catalog .df-book-title {
    color: #333;
}

.custom-car_cta_h {
    margin: 0 auto 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
}
.custom-car_cta_hTop {
    margin-bottom: 20px;
    font-size: 24px;
}
.custom-car_cta_hMiddle {
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: normal;
}
.custom-car_cta_hBottom {
    font-size: 20px;
}
.custom-car_cta_hBottom span {
    font-size: 12px;
    font-weight: normal;
}
.custom-car_cta_note {
    font-size: 13px;
}
.diamond {
    display: none;
}

@media screen and (min-width: 768px) {
    .custom-car_cta {
        margin: 120px auto;
    }

    .custom-car_cta_inner {
        flex-direction: row;
        max-width: 800px;
        margin: auto;
        padding: 0;
    }

    .custom-car_cta_content {
        padding: 0 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .custom-car_cta_catalog .df-popup-thumb {
        width: 172px;
    }
    .custom-car_cta_catalog {
        padding: 0 32px;
    }

    .custom-car_cta_h {
        display: flex;
        width: fit-content;
        align-items: center;
        gap: 22px;
        margin: 0 0 24px;
    }
    .custom-car_cta_hTop {
        margin-bottom: 0;
        font-size: 32px;
    }
    .custom-car_cta_hMiddle {
        margin-bottom: 6px;
    }
    .custom-car_cta_hBottom {
        font-size: 24px;
    }
    .custom-car_cta_hSub {
        text-align: left;
    }
    .diamond {
        display: block;
        width: 26px;
        height: 28px;
        background: #fff;
        transform: skew(22deg);
    }
}

/* ボタン */
.custom-car_cta_btnWrapper {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.custom-car_cta_btn {
    position: relative;
    width: 250px;
    background: #333;
    text-align: center;
    font-size: 15px;
    line-height: 50px;
    border: 1px solid #fff;
}
a.custom-car_cta_btn:link, a.custom-car_cta_btn:visited, a.custom-car_cta_btn:active {
    color: #fff;
}

.custom-car_cta_btn::after {
    content: url("../images/icon-arrow.svg");
    position: absolute;
    line-height: 1;
    right: 15px;
    top: 51%;
    transform: translateY(-50%);
}

@media screen and (min-width: 768px) {
    .custom-car_cta_btnWrapper {
        flex-direction: row;
        justify-content: left;
    }
}

.youtube_wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;   /* 最大幅を800pxに制限 */
    aspect-ratio: 16 / 9;
    margin: 0 auto;     /* 中央寄せ */
    transition: opacity 0.5s;
}
.youtube_wrapper:hover {
    opacity: 0.8;
}

.youtube_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*** シェアボタン ***/
.share-buttons {
    margin: 40px auto 64px;
}
.share-buttons_inner {
    display: flex;
    padding: 0 16px;
    max-width: 1000px;
    margin: auto;
}
.addtoany_header {
    font-size: 13px;
    color: #f2f2f2;
}
@media screen and (min-width: 768px) {
    .share-buttons {
        margin: 64px auto 144px;
    }
}