@charset "UTF-8";

:root {
    --border-color: #F8B600;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;

    h1,
    h2,
    h3,
    h4 {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
    }

    background-color: #000000;
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "メイリオ",
    meiryo,
    sans-serif;

    p {
        margin: 0;
    }
}

.shikiri-top {
    margin-top: 80px;
    width: 100%;
    height: 8px;
    top: 80px;
    background-color: var(--border-color);

}

.shikiri {
    width: 100%;
    height: 8px;
    top: 80px;
    background-color: var(--border-color);

}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

#header-top,
#about,
#sekou {
    display: block;
    height: 80px;
    margin-top: -80px;
}

.top-bg {
    background-image: url(img/main-photo.jpg);
    width: 100%;
    height: 700px;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    text-align: left;
}


.title-h1 {
    h1 {
        font-size: 50px;
        color: #F8B600;
        margin-top: 0;
        margin-bottom: auto;
    }
}

.sab-logo {
    img {
        width: 450px;
        margin-top: 264px;
    }
}

.main-copy {
    margin-top: 80px;

    h2 {
        color: var(--border-color);
    }

    p {
        font-weight: bold;
        font-size: 20px;
        color: #FFFFFF;
    }

}

.reason {
    h2 {
        color: var(--border-color);
        margin-top: 100px;
        margin-bottom: 15px;
        text-align: center;
    }

    .reason-box {
        display: flex;
        justify-content: space-between;
    }

    .reason-box img {
        width: calc((100% - 150px)/4);
        margin: auto;
    }

}

.works {
    margin-bottom: 40px;

    h2 {
        margin-top: 60px;
        margin-bottom: 15px;
        color: var(--border-color);
        text-align: center;
    }

    .works-box {
        display: flex;
        justify-content: space-between;
    }

    .works-box a {
        width: calc((100% - 150px)/4);
        margin: auto;
    }

    .works-box a img {
        width: 100%;
    }
}

#voice,
#story,
#works-01,
#works-02,
#works-03,
#works-04,
#company {
    display: block;
    height: 88px;
    margin-top: -88px;
}

.garage-01 {
    display: flex;
}

.garage-mainphoto img {
    width: 585px;
    height: 480px;
    margin-right: 40px;

}

.garage-right {

    p {
        color: #FFFFFF;
        font-size: 18px;
    }

    img {
        margin-top: 30px;
        padding-bottom: 20px;
        width: 350px;
    }
}

.garage-botom {
    display: flex;
    margin-top: 40px;
}

.garage-exterior {
    img {
        margin: 0 40px 40px 40px;
    }
}

.exterior-right {
    .exterior-right-top img {
        margin-top: 80px;
        max-height: 70px;
    }

    .exterior-right-top-2 img {
        margin-top: 60px;
        max-height: 70px;
    }

    p {
        color: #FFFFFF;
        margin-bottom: 35px;
    }
}

.garage-size {
    p {
        font-size: 20px;
    }
}

.garage-size-2 {
    p {
        font-size: 20px;
    }

    p span {
        font-size: 16px;
    }
}

.zaiko-title {
    display: flex;
    margin-top: 60px;
    margin-bottom: 60px;
}

.zaiko-mes {
    h2 {
        font-size: 36px;
        color: var(--border-color);
    }

    p {
        color: #FFFFFF;
        text-align: right;
    }

}

.zaiko-botan {
    margin-right: 0;
    margin-left: auto;
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    padding: 15px 30px;
    border: solid #FFFFFF 2px;
    border-radius: 20px;

}

.voice-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 150px;

    .voice-title h1 {
        color: #FFFFFF;
        font-size: 60px;
        line-height: 65px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .voice-title h2 {
        color: var(--border-color);
        padding-bottom: 15px;
    }

    p {
        color: #FFFFFF;
    }
}

.user-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 150px;
}

.user-wrapper-2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.user-right {
    margin-right: 50px;

    h2 {
        color: #FFFFFF;
        padding-bottom: 20px;
    }

    p {
        width: 500px;
        color: #FFFFFF;
        text-align: left;
        padding-bottom: 20px;
    }
}

.user-name {
    color: #FFFFFF;

    span {
        font-size: 12px;
    }

    p {
        padding-top: 5px;
    }

    h2 {
        top: 0;
    }
}

.story-wrapper {
    display: flex;
    margin-bottom: 50px;
}

.story {
    img {
        margin-right: 70px;
    }
}

.story-right {
    h2 {
        margin-top: 80px;
        margin-bottom: 70px;
        color: #FFFFFF;
        font-size: 50px;
    }

    h3 {
        margin-bottom: 30px;
        font-size: 22px;
        color: var(--border-color);
    }

    .story-cmp p {
        font-size: 16px;
        color: #FFFFFF;
    }

    h4 {
        margin-top: 5px;
        margin-bottom: 40px;
        font-size: 24px;
        color: #FFFFFF;
    }

    .story-comment p {
        text-align: justify;
        color: #FFFFFF;
    }
}

.promotion {
    width: 100%;
    aspect-ratio: 16 / 9; /* YouTube標準比率 */
    margin-bottom: 30px;
}

.promotion iframe {
  width: 100%;
  height: 100%;
}

.company-wrapper {
    display: block;
    margin: 0 auto;

    h3 {
        margin-top: 90px;
        font-size: 24px;
        color: var(--border-color);
    }

    p {
        font-size: 12px;
        color: #FFFFFF;
    }

    text-align: center;
}

.table01 {
    table {
        margin: 30px auto 0;
    }

    tr {
        vertical-align: top;
        margin: 0 auto;
        color: #FFFFFF;
    }

    th {
        font-size: 16px;
        padding: 0 20px 20px 0;
        vertical-align: top;
    }

    td {
        font-size: 16px;
    }
}

.privacy-wrapper {
    display: block;
    margin: 90px auto 0;
    text-align: center;

    .privacy {
        h4 {
            font-size: 18px;
            color: #FFFFFF;
            text-align: center;
        }

        table {
            margin: 0 auto;
            color: #FFFFFF;
            font-size: 10px;
        }

        table tr {
            vertical-align: top;
        }

        table th {
            width: 130px;
            padding: 0 20px 20px 0;
            text-align: right;
        }
    }
}

.privacy-txt {
    text-align: right;

    a {
        display: block;
        margin: 30px 0 30px auto;
        font-size: 12px;
        color: #ffffff;
    }
}

.privacy {
    display: block;
    height: calc(100vh - 128px);

    a {
        display: block;
        margin: 30px 0 30px auto;
        font-size: 12px;
        color: #ffffff;
    }
}

footer {
    display: block;
    width: 100%;
    margin-top: 20px;
    background-color: var(--border-color);

    p {
        font-size: 10px;
        color: #000000;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
    }

    a {
        color: #ffffff;
        font-size: 10px;
    }
}

/* ************************** ここからレスポンシブのCSS ************************** */

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

    /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .container-all {
        width: 100%;
        margin: 0 auto;
    }

    .container {
        width: 95%;
        margin: 0 auto;
    }

    .top-bg {
        background-image: url(img/main-photo-sp.jpg);
        height: 550px;
        background-size: cover;
        text-align: left;
    }


    .title-h1 {
        h1 {
            font-size: clamp(1.75rem, 1.432rem + 1.59vw, 2.625rem);
            color: #F8B600;
            margin-top: -65px;
            margin-bottom: auto;
        }
    }

    .sab-logo {
        img {
            width: 70%;
            margin-top: 70px;
        }
    }

    .main-copy {
        margin-top: 30px;

        h2 {
            color: var(--border-color);
        }

        p {
            font-weight: bold;
            font-size: 20px;
            color: #FFFFFF;
        }

    }

    .reason {
        h2 {
            color: var(--border-color);
            font-size: clamp(1.25rem, 1.011rem + 1.02vw, 1.5rem);
            /*20pt>24pt*/
            margin-top: 50px;
            margin-bottom: 15px;
            text-align: center;
        }

        .reason-box {
            display: block;
            /*justify-content: space-between;*/
        }

        .reason-box img {
            width: 100%;
            margin-bottom: 15px;
        }

    }

    .works {
        margin-bottom: 40px;

        h2 {
            margin-top: 60px;
            margin-bottom: 15px;
            font-size: clamp(1.25rem, 1.011rem + 1.02vw, 1.5rem);
            /*20pt>24pt*/
            color: var(--border-color);
            text-align: center;
        }

        .grid-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 30px;
            width: 100%;
        }

        .grid-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            text-decoration: none;
            padding: 10px;
        }


        .grid-item img {
            max-width: 100%;
            height: auto;
        }

    }

    .garage-01 {
        display: block;

        img {
            width: 80%;
            margin: 20px auto 20px 20px;
        }
    }

    .garage-mainphoto img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .garage-right {

        p {
            color: #FFFFFF;
            font-size: clamp(1.125rem, 0.398rem + 3.64vw, 3.125rem);
        }

        img {
            margin-top: 30px;
            padding-bottom: 20px;
            width: 100%;
        }
    }

    .garage-botom {
        display: flex;
        margin-top: 40px;
    }

    .garage-exterior {
        width: 60%;

        img {
            width: 100%;
            margin: 0 20px 10px 0px;
        }
    }

    .exterior-right {
        width: 40%;
        margin-left: 20px;
        align-items: start;

        .exterior-right-top img {
            width: 50%;
            height: auto;
            margin: 0 auto 5px 0;
            /*max-height: 60px;*/
        }

        .exterior-right-top-2 img {
            margin-top: 60px;
            max-height: 70px;
        }

        p {
            color: #FFFFFF;
            margin-bottom: 35px;
        }
    }

    .garage-size {
        p {
            margin-left: 2.5%;
            margin-bottom: 50px;
            color: #FFFFFF;
            font-size: 20px;
        }
    }

    .garage-size-2 {
        p {
            margin-left: 2.5%;
            font-size: 20px;
            color: #FFFFFF;
            margin-bottom: 50px;
        }

        p span {
            font-size: 16px;
        }
    }

    .zaiko-title {
        display: flex;
        /*margin-top: 60px;
        margin-bottom: 60px;*/
        margin: 60px auto;
    }

    .zaiko-mes {
        max-width: 75%;

        h2 {
            font-size: clamp(1.563rem, 0.131rem + 6.11vw, 3.063rem);
            color: var(--border-color);
            padding-right: 16px;
            text-align: justify;
        }

        p {
            font-size: clamp(0.75rem, -0.145rem + 3.82vw, 1.688rem);
            color: #FFFFFF;
            text-align: right;
            padding-right: 16px;
        }

    }

    .zaiko-botan {
        display: inline-block;
        text-align: justify;
        margin-left: 5px;
        border: 1px solid #ffffff;
        padding: 10px;
        text-align: center;
        line-height: 1.25;
        text-decoration: none;
        color: #ffffff;
        background-color: #000000;
        border-radius: 5px;
        font-size: clamp(1.75rem, -0.635rem + 10.18vw, 4.25rem);
    }

    .voice-title-wrapper {
        position: relative;
        width: 100%;

        img {
            position: absolute;
            z-index: 1;
        }

        .title-text h1 {
            position: absolute;
            color: #FFFFFF;
            font-size: 60px;
            line-height: 65px;
            top: 0;
            left: 0;
            z-index: 50;
        }
    }


    .voice-container-top {
        position: relative;
        width: 100%;

        .image {
            display: block;
            width: 100%;
            height: auto;
        }

        .text {
            position: absolute;
            bottom: 5%;
            right: 5%;
            line-height: 1.25;
            color: white;
            font-size: clamp(2rem, 1.046rem + 4.07vw, 3rem);
            /*32pt>48pt*/
            font-weight: 500;
        }

    }


    .user-wrapper-top {
        display: block;
        margin-top: 30px;
        margin-bottom: 50px;

        h2 {
            font-size: clamp(1.75rem, 0.319rem + 6.11vw, 3.25rem);
            /*28pt>52pt*/
            font-weight: 500;
            line-height: 1.25;
            color: var(--border-color);
            padding-bottom: 10px;
        }

        p {
            font-size: clamp(1.125rem, 0.409rem + 3.05vw, 1.875rem);
            /*18pt>30pt*/
            color: #FFFFFF;
        }
    }

    .user-info {
        display: flex;
        align-items: flex-end;
        /* アイテムを下に揃える */
        justify-content: flex-start;
        /* アイテムを左に揃える */
        margin-bottom: 20px;

        .user-photo {
            width: 50%;

            img {
                width: 100%;
            }
        }

        .user-name {
            width: 50%;
            padding-left: 20px;

            p,
            span,
            h2 {
                font-size: clamp(0.875rem, 0.04rem + 3.56vw, 1.75rem);
                /*14pt>28pt*/
            }

            h2 {
                padding-bottom: 10px;
            }
        }
    }

    .user-sab {
        width: 100%;
        margin-bottom: 30px;

        img {
            width: 100%;
        }
    }

    .user-comment {
        width: 85%;
        margin: 0 auto;

        h2 {
            font-size: clamp(1.25rem, -8.73rem + 23.66vw, 2.625rem);
            /*20pt>42pt*/
            color: #ffffff;
            letter-spacing: 0.1em;
            padding-bottom: 30px;
        }

        p {
            color: #ffffff;
            text-align: justify;
            padding-bottom: 50px;

            span {
                letter-spacing: -0.05em;
            }

        }
    }

    .user-wrapper-2 {
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .user-right {
        margin-right: 50px;

        h2 {
            color: #FFFFFF;
            padding-bottom: 20px;
        }

        p {
            width: 500px;
            color: #FFFFFF;
            text-align: left;
            padding-bottom: 20px;
        }
    }

    .user-name {
        color: #FFFFFF;

        span {
            font-size: 12px;
        }

        p {
            padding-top: 5px;
        }

        h2 {
            top: 0;
        }
    }

    .story-container-top {
        position: relative;
        width: 100%;

        .image {
            display: block;
            width: 100%;
            height: auto;
        }

        .text {
            position: absolute;
            top: 5%;
            right: 5%;
            line-height: 1.25;
            color: white;
            font-size: clamp(2rem, 1.046rem + 4.07vw, 3rem);
            /*32pt>48pt*/
            font-weight: 500;
        }

        .story-comment-wrapper {
            width: 85%;
            margin: 0 auto;

            h3 {
                font-size: clamp(1.188rem, -0.125rem + 5.6vw, 2.563rem);
                /*19pt>41pt*/
                color: var(--border-color);
                letter-spacing: 0.1em;
                padding-top: 50px;
                padding-bottom: 30px;
            }

            .story-cmp {
                p {
                    font-size: clamp(1rem, -4.444rem + 12.9vw, 1.75rem);
                    /*16pt>28pt*/
                    font-weight: 500;

                    span::before {
                        margin-left: 1em;
                    }
                }

            }

            p {
                color: #ffffff;
                text-align: justify;
                padding-bottom: 20px;
            }

            .story-comment {
                p {
                    color: white;
                    font-size: clamp(1rem, -4.444rem + 12.9vw, 1.75rem);
                    /*16pt>28pt*/
                }
            }
        }
    }

    .promotion {
    width: 85%;
    aspect-ratio: 16 / 9; /* YouTube標準比率 */
    margin: 0 auto;
    margin-bottom: 30px;
}

    .company-wrapper {
        width: 90%;
        margin: 0 auto;

        h3 {
            margin-top: 20px;
            font-size: 24px;
            color: var(--border-color);
        }

        p {
            font-size: 12px;
            color: #FFFFFF;
        }

        text-align: center;
    }

    .table01 {
        width: 100%;

        table {
            margin: 30px auto 0;
        }

        tr {
            vertical-align: top;
            margin: 0 auto;
            color: #FFFFFF;
        }

        th {
            width: 40%;
            font-size: clamp(0.875rem, 0.636rem + 1.02vw, 1.125rem);
            /*14pt>18pt*/
            padding: 0 20px 20px 0;
            vertical-align: top;
        }

        td {
            width: 60%;
            font-size: clamp(0.875rem, 0.636rem + 1.02vw, 1.125rem);
            /*14pt>18pt*/
        }

        iframe {
            width: 100%;
            margin-top: 15px;
            margin-bottom: 15px;
        }
    }

    .privacy-wrapper {
        display: block;
        width: 85%;
        margin: 90px auto 0;
        text-align: center;

        .privacy {
            h4 {
                font-size: 14px;
                color: #FFFFFF;
                text-align: center;
            }

        }

        .privacy-contents {
            h5 {
                font-size: 10px;
                color: #ffffff;
                text-align: left;
                padding-bottom: 3px;
            }

            p {
                font-size: 10px;
                color: #000000;
                text-align: justify;
                padding-bottom: 5px;
            }

            .tel {
                display: flex;
            }
        }
    }
}