/* hero */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--height-bottom-menu-notsp));
    background-image: url(/img/bg-hero.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

.hero::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url(/img/bg-filter.png);
    background-position: left top;
    background-repeat: repeat;
    background-size: 3px auto;
}

.hero--inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 1;
}

.hero--title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100%;
}

.hero--link {
    display: block;
    color: var(--white);
    margin-top: 4px;
}

.hero--logo {
    display: block;
    width: 100%;
    max-width: 320px;
}

.hero--catchcopy {
    color: var(--white);
    font-size: 5.2rem;
    font-weight: bold;
    margin-top: 64px;
    filter: drop-shadow(0 0 4px var(--black));
}

.hero--catchcopyDescription {
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    filter: drop-shadow(0 0 4px var(--black));
}

.hero .emphasis {
    color: var(--primary-bland-color);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .hero {
        margin-top: var(--height-header-mobile);
        align-content: center;
        height: calc(100vh - var(--height-bottom-menu-notsp) - var(--height-header-mobile));
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    
    .hero {
        height: calc(100vh - var(--height-bottom-menu-sp) - var(--height-element-in-header-mobile));
        background-image: url(/img/bg-hero-sp.jpg);
    }

    .hero--link {
        font-size: 1rem;
    }

    .hero--logo {
        margin-top: 0;
        max-width: 252px;
    }

    .hero--catchcopy {
        font-size: 2.4rem;
        margin-top: 24px;
    }

    .hero .hero--catchcopyDescription {
        margin-top: 16px;
        font-size: 1.3rem;
    }

}

/* repair */
.repair {
    width: 100%;
    background-color: var(--background-color-lightgrey);
    /* overflow: hidden; */
    padding: 56px 0 0;
    position: relative;
}

.repair .content--textBox {
    /* padding: 0 5%; */
}

.repair .backgroundColor-primaryBrandColor {
    width: 100%;
    background-color: var(--primary-bland-color);
    margin-top: 48px;
    padding-bottom: 56px;
}

.repair .splide {
    /* margin-top: 48px; */
    position: relative;
}

.repair .splide::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background-color: var(--background-color-lightgrey);
}

.repair .splide__slide .card {
    width: 100%;
}

.repair .splide__slide .card--link:hover {
    opacity: 1;
    filter: contrast(1.25);
}

.repair .splide__slide .card--imgBox {
    width: 100%;
    line-height: 0;
}

.repair .splide__slide .card--img {
    width: 100%;
}

.repair .splide__slide .card--body {
    width: 90%;
    margin: 0 auto;
    padding: 1.5em;
    background-color: var(--white);
    transform: translateY(-50%);
}

.repair .splide__slide .card--date {
    color: var(--secondary-bland-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.repair .splide__slide .card--text {
    color: var(--font-color-black);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 4px;
}

.repair .splide__pagination {
    position: static;
    width: 100%;
    text-align: center;
    padding-bottom: 32px;
}

.repair .splide__pagination__page {
    background-color: var(--background-color-black);
}

.repair .splide__pagination__page.is-active {
    border: 1.5px solid var(--background-color-black);
}

.repair .arrowBtn {
    max-width: 700px;
    padding: 16px;
    font-size: 2.8rem;
    margin: 0 auto;
    background-color: var(--background-color-black);
}

.repair .banner-col2 {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    height: 280px;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

.repair .banner-col2--link-first {
    width: 100%;
    border-right: 5px solid var(--primary-bland-color);
    -webkit-transform: skew(-25deg) translateX(-25%);
    transform: skew(-25deg) translateX(-25%);
    flex: 0 0 66.5%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    display: grid;
}

.repair .banner-col2--bg-first {
    background-image: url(../img/bnr_japanesecar_bg01.jpeg);
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    /* 親要素の斜めの設定を相殺する設定 */
    transform: translateX(7.85714vw) skew(25deg); 
    width: 100%;
    height: 100%;
    z-index: 0;
}

.repair .banner-col2--bg-first::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.repair .banner-col2--link-second {
    width: 100%;
    -webkit-transform: skew(-25deg) translateX(-25%);
    transform: skew(-25deg) translateX(-25%);
    flex: 0 0 66.5%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    display: grid;
}

.repair .banner-col2--bg-second {
    background-image: url(../img/bnr_importcar_bg01.jpeg);
    background-position: left center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    /* 親要素の斜めの設定を相殺する設定 */
    transform: translateX(-185px) skew(25deg);
    width: 100%;
    height: 100%;
}

.repair .banner-col2--bg-second::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.repair .banner-col2--inner-first {
    width: 66.5%;
    max-width: 610px;
    top: 50%;
    transform: translateY(-50%);
    right: 240px;
    position: absolute;
    display: grid;
    justify-content: center;
    text-align: center;
}

.repair .banner-col2--inner-second {
    width: 66.5%;
    max-width: 650px;
    top: 50%;
    transform: translateY(-50%);
    left: 240px;
    position: absolute;
    display: grid;
    justify-content: center;
    text-align: center;
}

.repair .banner-col2--title {
    color: var(--white);
    line-height: 1.25;
    font-size: 5.2rem;
    font-weight: normal;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.repair .banner-col2--subTitle {
    color: var(--primary-bland-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.repair .banner-col2--lineup {
    color: var(--font-color-black);
    font-size: 2rem;
    font-weight: bold;
    background-color: var(--white);
    margin-top: 24px;
    padding: 4px 32px;
}

.repair .banner-col2 .borderTransparentBtn {
    margin-top: 32px
}

.repair .emphasis {
    color: var(--secondary-bland-color);
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .repair {
        display: block;
    }

    .repair .content--titleBox,
    .repair .content--textBox {
        padding: 0 5%;
    }
    
    .repair .banner-col2--bg-first {
        background-repeat: repeat;
        width: 125%;
        background-position: 90% center;
    }
    
    .repair .banner-col2--bg-second {
        background-repeat: repeat;
        position: absolute;
        top: 0;
        left: 70px;
        background-position: 7.5% center;
    }
    
    .repair .banner-col2--inner-first {
        width: 61.5%;
        max-width: 440px;
        right: 10%;
    }
    
    .repair .banner-col2--inner-second {
        width: 61.5%;
        max-width: 440px;
        left: 30%;
    }
    
    .repair .banner-col2--lineup {
        margin-top: 24px;
        font-size: 1.8rem;
        padding: 8px;
    }
    
    .repair .banner-col2 .borderTransparentBtn {
        margin-top: 32px
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .repair .content--text {
        text-align: center;
    }

    .repair .backgroundColor-primaryBrandColor {
        margin-top: 24px;
        padding-bottom: 0;
    }

    .repair .splide::before {
        height: 80px;
    }

    .repair .splide__slide .card--body {
        padding: 1.2em;
        background-color: var(--white);
        transform: translateY(-15%);
    }

    .repair .splide__slide .card--date {
        font-size: 1.2rem;
    }
    
    .repair .splide__slide .card--text {
        font-size: 1.2rem;
    }
    
    .repair .banner-col2 {
        height: auto;
        /* display: block; */
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0 5%;
        background-color: var(--primary-bland-color);
    }

    .repair .banner-col2--link-first {
        width: 100%;
        height: auto;
        border-right: 0;
        -webkit-transform: none;
        transform: none;
        position: relative;
        box-sizing: border-box;
        overflow: hidden;
        display: block;
    }

    .repair .banner-col2--bg-first {
        position: static;
        top: 0;
        right: 0;
        transform: none; 
        width: 100%;
        height: auto;
        z-index: 0;
    }

    .repair .banner-col2--bg-first::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: -1;
    }

    .repair .banner-col2--link-second {
        width: 100%;
        /* height: auto; */
        -webkit-transform: none;
        transform: none;
        position: relative;
        box-sizing: border-box;
        overflow: hidden;
        display: block;
    }

    .repair .banner-col2--bg-second {
        position: static;
        top: 0;
        right: 0;
        /* 親要素の斜めの設定を相殺する設定 */
        transform: none;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-position: 15% center;
    }

    .repair .banner-col2--bg-second::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .repair .banner-col2--inner-first {
        width: 100%;
        height: auto;
        max-width: 100%;
        position: static;
        top: 0;
        left: 0;
        transform: none;
        display: block;
        justify-content: center;
        text-align: center;
        padding: 16px;
    }

    .repair .banner-col2--inner-second {
        width: 100%;
        height: auto;
        max-width: 100%;
        position: static;
        top: 0;
        left: 0;
        transform: none;
        display: block;
        justify-content: center;
        text-align: center;
        padding: 16px;
    }

    .repair .banner-col2--title {
        font-size: 2.6rem;
    }

    .repair .banner-col2--subTitle {
        color: var(--primary-bland-color);
        font-size: 1.3rem;
        font-weight: bold;
    }

    .repair .banner-col2--lineup {
        font-size: 1.2rem;
        margin-top: 8px;
    }

    .repair .banner-col2 .btn {
        background-color: var(--background-color-black);
    }

    .repair .banner-col2 .borderTransparentBtn {
        width: 100%;
        margin-top: 8px
    }

    .repair .emphasis {
        color: var(--secondary-bland-color);
        font-weight: bold;
    }

}

/* reason */
.reason {
    width: 100%;
    background-image: url(/img/bg-reason.jpg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 136px 5% 56px;
    position: relative;
    z-index: 0;
}

.reason .bg-skew {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    height: 37.142857vw;
    -webkit-transform: translateY(calc((1400px - 100vw) / 8)) skewY(-15deg);
    transform: translateY(calc((1400px - 100vw) / 8)) skewY(-15deg);
    transform-origin: bottom left;
    background-color: var(--primary-bland-color);
}

.reason .localLargeFont {
    /* color: var(--secondary-bland-color); */
    color: var(--white);
    /* text-shadow: 0 0 4px var(--black); */
    text-shadow: 1px 1px 2px var(--black);
    /* text-shadow:
    1px 1px 2px black,
    0 0 1em black */
}

.reason .emphasis {
    border-bottom: 4px dotted var(--white);
}

.reason .content--title-Xsmall {
    font-size: 2.8rem;
    position: relative;
}

.reason .content--title-Xsmall::after {
    position: absolute;
    content: "";
    display: block;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    /* width: 15.6428571428571vw; */
    width: 219px;
    /* height: 11.7142857142857vw; */
    height: 164px;
    background-image: url(../img/reason_fukidashi01.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background-color: var(--secondary-bland-color); */
    margin-top: 8px;
}

.reason .flex-col2 {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    align-items: center;
    gap: 12px;
    /* margin-top: 48px; */
    z-index: 5;
    position: relative;
}

.reason .fiveReasons {
    width: 63.3vw;
    max-width: 760px;
}

.reason .flexbox-col3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.reason .card {
    width: 31.5%;
    max-width: 288px;
    background-image: url(../img/card_bg.png),
                      linear-gradient(-45deg, var(--secondary-bland-color) 16px, transparent 0);
    background-color: var(--white);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 28px 20px;
}

.reason .card--header {
    width: 100%;
    padding: 1.5em 0;
}

.reason .card--index {
    color: var(--secondary-bland-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.reason .card--title {
    color: var(--font-color-black);
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
}

.reason .card--imgBox {
    width: 100%;
    line-height: 0;
}

.reason .card--img {
    width: 100%;
}

.reason .card--body {
    width: 100%;
    padding: 1.5em 0;
}

.reason .card--textBox {
    width: 100%;
    margin-top: 8px;
}

.reason .card--text {
    color: var(--font-color-black);
    font-size: 1.1rem;
    font-weight: bold;
}

.reason .message {
    flex: 0 1;
    margin-left: auto;
    color: var(--font-color-black);
}

.reason .message .textBox {
    width: 100%;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    margin-left: auto;
    white-space: nowrap;
}

.reason .message .darkTheme {
    background-color: transparent;
}

.reason .message .btnBox {
    margin: 80px auto 0;
    width: 100%;
}

.reason .message .arrowBorderBtn {
    margin-left: auto;
    width: 100%;
    max-width: none;
}

.reason .message .text-large {
    font-size: 5rem;
}

.reason .message .text-medium {
    font-size: 4rem;
}

.reason .message .text-small {
    font-size: 3rem;
    margin-left: 32px;
    line-height: 2.35;
}

.reason .message .emphasis {
    color: var(--secondary-bland-color);
    border-bottom: none;
}

.reason .message .bg-white {
    background-color: var(--white);
    padding: 0.35em;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    /* .reason {
        padding-left: 2.5%;
        padding-right: 2.5%;
    } */

    .reason .bg-skew {
        width: 100%;
        height: 45vw;
        top: -96px;
        -webkit-transform: translateY(calc((1400px - 100vw) / 8)) skewY(-15deg);
        transform: translateY(calc((1400px - 100vw) / 8)) skewY(-15deg);
        transform-origin: bottom left;
    }

    .reason .localLargeFont {
        color: var(--primary-bland-color);
    }
    
    .reason .emphasis {
        /* padding-bottom: 4px; */
        border-bottom: 2px solid var(--primary-bland-color);
    }
    
    .reason .content--title-Xsmall {
        font-size: 2.5rem;
        position: relative;
        color: var(--white);
    }

    .reason .content--title-Xsmall::after {
        width: 0;
        height: 0;
    }

    .reason .message {
        width: 100%;
        margin-left: 0;
        color: var(--font-color-black);
    }
    
    .reason .message .textBox {
        width: auto;
        margin: 0 auto;
    }

    .reason .message .text-large {
        font-size: 3.6rem;
    }

    .reason .message .text-medium {
        font-size: 2.8rem;
    }

    .reason .message .text-small {
        font-size: 2.1rem;
        margin-left: 16px;
    }

    .reason .message .btnBox {
        margin: 80px auto 0;
        width: 100%;
    }
    
    .reason .message .arrowBorderBtn {
        right: 40%;
        width: 135%;
        text-align: left;
        padding-left: 32px;
    }

    .reason .flex-col2 {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-items: center;
    }

    .reason .fiveReasons {
        width: 100%;
        flex-direction: column-reverse;
        /* align-items: flex-start; */
    }

    .arrowBorderBtn-leftBorderBold {
        max-width: 100%;
        font-size: 1.6rem;
        padding: 0.5em;
    }

    .reason .content--titleBox {
        margin-top: 64px;
        display: grid;
        justify-content: center;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .reason {
        background-image: url(/img/bg-reason-sp.jpg);
        background-size: cover;
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .reason .bg-skew {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        overflow: hidden;
        width: 100%;
        top: -150px;
        height: calc(220px + 5vw);
    }

    .reason .content--title-Xsmall::after {
        position: absolute;
        content: "";
        display: block;
        width: 0;
        height: 0;
    }

    .reason .content--titleBox {
        margin-top: 40px;
    }

    .reason .flex-col3 {
        display: block;
    }

    .reason .card {
        width: 100%;
        max-width: 100%;
        background-image: url(../img/card_bg.png),
                          linear-gradient(-45deg, var(--secondary-bland-color) 16px, transparent 0);
        background-color: var(--white);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
        padding: 28px 20px;
    }

    .reason .card--text {
        font-size: 1.6rem;
        font-weight: normal;
    }

    .reason .message .text-large {
        font-size: 2.6rem;
    }
    
    .reason .message .text-medium {
        font-size: 2.1rem;
    }
    
    .reason .message .text-small {
        font-size: 1.6rem;
    }

    .reason .message .btnBox {
        margin-top: 32px
    }
}

/* review */
.review {
    width: 100%;
    background-color: var(--background-color-lightgrey);
    /* overflow: hidden; */
    padding: 56px 0;
    position: relative;
}

.review .splide {
    width: 100%;
    margin-top: 48px;
}

.review .splide__slide .recordList {
    width: 100%;
    padding: 40px;
    background-color: var(--white);
}

.review .splide__slide .recordList--top {
    width: 100%;
}

.review .splide__slide .recordList--date {
    color: var(--secondary-bland-color);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
}

.review .splide__slide .recordList--title {
    color: var(--font-color-black);
    font-size: 1.5rem;
    line-height: 1.6;
}

.review .splide__slide .recordList--bottom {
    width: 100%;
    margin-top: 16px;
}

.review .splide__slide .recordList .media {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.review .splide__slide .recordList .media--body {
    flex: 1 0;
    display: grid;
    align-items: stretch;
}

.review .splide__slide .recordList .media--text {
    color: var(--font-color-black);
    font-size: 1.2rem;
    line-height: 2;
    text-align: justify;

    /* 3点リーダーの位置がおかしい場合はaタグの内容をspanで囲む事 */
    /* 例. <a><span>内容</span></a>　*/
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

.review .splide__slide .recordList .media--imgBox {
    flex: 0 1 52%;
    line-height: 0;
}

.review .splide__slide .recordList .media--img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.review .splide__slide .recordList .arrowBtn {
    font-size: 1.3rem;
    padding: 0.5em;
    margin-top: 1em;
}

.review .splide__slide .recordList .arrowBtn::after {
    font-size: 1.3rem;
    width: 20px;
    height: 1em;
}

.review .splide__pagination {
    /* width: 100%;
    text-align: center;
    margin-top: 40px; */
    bottom: -40px;
}

.review .splide__pagination__page {
    background-color: var(--background-color-black);
}

.review .splide__pagination__page.is-active {
    background-color: var(--white);
    border: 1.5px solid var(--background-color-black);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    
    .review {
        display: block;
        padding: 32px 0;
    }

    .review .content--titleBox {
        padding: 0 5%;
    }

    .review .content--textBox {
        padding: 0 5%;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .review {
        display: block;
        padding: 32px 0;
    }

    .review .content--textBox {
        padding: 0 5%;
    }

    .review .splide {
        width: 100%;
        margin-top: 32px;
    }

    .review .splide__slide .recordList {
        padding: 16px;
    }

    .review .splide__slide .recordList--title {
        color: var(--font-color-black);
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .review .splide__slide .recordList--bottom {
        width: 100%;
        margin-top: 12px;
    }

    .review .splide__slide .recordList .media {
        display: flex;
        flex-direction: column;
        gap: 12px;
        /* justify-content: space-between;
        align-items: flex-start;
        gap: 20px; */
    }

    .review .splide__slide .recordList .media--imgBox {
        line-height: 1;
    }

    .review .splide__slide .recordList .media--text {
        font-size: 1rem;

        /* 3点リーダーの位置がおかしい場合はaタグの内容をspanで囲む事 */
        /* 例. <a><span>内容</span></a>　*/
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .review .btnBox {
        margin-top: 64px;
        padding: 0 5%;
    }

    .review .btn {
        background-color: var(--background-color-black);
    }
}

/* youtube */
.youtube {
    position: relative;
    width: 100%;
    background-color: var(--background-color-lightgrey);
    padding-top: 56px;
}

.youtube .banner {
    display: grid;
    justify-content: center;
    align-content: center;
    gap: 24px;
    position: relative;
    width: 100%;
    aspect-ratio: 2400 / 442;
    background-color: var(--background-color-transparentgrey);
}

.youtube .banner::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 37px;
    height: 27px;
    background-image: url(../img/icon_arw3_white.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

.youtube .banner--titleBox {
    position: relative;
    width: 100%;
}

.youtube .banner--titleBox::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -48px;
    width: 70px;
    height: 3.2rem;
    background-image: url(../img/icon_movie_yellow.png);
    background-size: contain;
    background-repeat: no-repeat;
    /* margin-top: 0.8rem; */
    z-index: 20;
}

.youtube .banner--title {
    font-size: 3.2rem;
    color: var(--white);
}

.youtube .banner--textBox {
    /* margin-top: 24px; */
}

.youtube .banner--text-medium {
    font-size: 1.5rem;
    color: var(--white);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .youtube {
        padding-left: 5%;
        padding-right: 5%;
    }

    .youtube .banner {
        gap: 12px;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .youtube {
        padding: 32px 5%
    }

    .youtube .banner {
        gap: 8px;
        padding: 32px 40px;
        aspect-ratio: unset;
    }
    
    .youtube .banner::after {
        width: 18px;
        height: 16px;
        right: 12px;
        /* background-image: url(../img/icon_arw3_white.png); */
    }

    .youtube .banner--titleBox::before {
        width: 35px;
        height: 1.6rem;
        left: -24px;
    }

    .youtube .banner--title {
        font-size: 1.6rem;
    }

    .youtube .banner--text-medium {
        font-size: 1.0rem;
    }
    
}

/* welcome */

.welcome {
    width: 100%;
    background-color: var(--background-color-lightgrey);
    overflow: hidden;
    padding: 56px 5%;
    position: relative;
}

.welcome .bg-triangle {
    position: absolute;
    top: 66%;
    left: 31%;
    right: auto;
    transform: translate(-50%, -60%);
    border-width: 30.714286vw 136.785714vw 30.714286vw 20vw;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border-style: solid;
    border-color: transparent var(--primary-bland-color) transparent transparent;
    z-index: 0;
}

.welcome .media {
    position: relative;
    z-index: 2;
    justify-content: space-around;
}

.welcome .media--imgBox {
    width: 100%;
    max-width: 586px;
}

.welcome .media--img {
    width: 100%;
}

.welcome .media--text {
    writing-mode: vertical-rl;
    font-size: 4.5rem;
    white-space: nowrap;
}

.welcome .banner {
    display: grid;
    justify-content: space-between;
    align-content: center;
    border: 7px solid var(--minkara-color);
    margin-top: 64px;
    padding: 0 64px 0 50%;
    position: relative;
    width: 100%;
    aspect-ratio: 2400 / 180;
    line-height: 0;
    gap: 32px;
    background-color: var(--background-color-darkgrey);
}

.welcome .banner::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 37px;
    height: 27px;
    background-image: url(../img/rounded-triangle-right-white.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

.welcome .banner--textBox {
    padding: 0 8px;
}

.welcome .banner--text-medium {
    font-size: 1.8rem;
    color: var(--white);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    
    .welcome .bg-triangle {
        position: absolute;
        top: 66%;
        left: 31%;
        right: auto;
        transform: translate(-50%, -60%);
        border-width: 50.714286vw 151.785714vw 50.714286vw 20vw;
        width: 0;
        height: 0;
        box-sizing: border-box;
        border-style: solid;
        border-color: transparent var(--primary-bland-color) transparent transparent;
        z-index: 0;
    }

    .welcome .media {
        justify-content: space-between;
    }

    .welcome .media--imgBox {
        max-width: 480px;
    }

    .welcome .banner {
        aspect-ratio: 760 / 96;
        padding: 0 48px 0 50%;
        gap: 16px;
    }

}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .welcome {
        padding-top: 32px;
    }

    .welcome .bg-triangle {
        top: 400px;
        right: -6vw;
        left: auto;
        transform: translate(0, -325px);
        border-width: 78.125vw 289.0625vw 78.125vw 0;
        border-color: transparent var(--primary-bland-color) transparent transparent;
    }

    .welcome .media {
        flex-direction: column-reverse;
        gap: 32px
    }

    .welcome .media--text {
        writing-mode: horizontal-tb;
        font-size: 2.4rem;
        white-space: normal;
    }

    .welcome .banner {
        height: auto;
        aspect-ratio: unset;
        line-height: 1;
        margin-top: 32px;
        padding: 16px 32px 16px 50%;
    }

    .welcome .banner::after {
        width: 16px;
        /* height: auto; */
        right: 12px;
    }

    .welcome .bg-triangle {
        position: absolute;
        top: 400px;
        right: -6vw;
        transform: translate(0, -325px);
        border-width: 78.125vw 289.0625vw 78.125vw;
        width: 0;
        height: 0;
        box-sizing: border-box;
        border-style: solid;
        border-color: transparent #f0b600 transparent transparent;
        z-index: 0;
    }

    .welcome .banner--text-medium {
        font-size: 1.2rem;
        color: var(--white);
    }
}

/* servicePrice */
.servicePrice {
    background-color: var(--background-color-lightgrey);
    padding: 100px 5%;
}

.servicePrice .grid-col4 {
    margin-top: 48px;
}

.servicePrice .card {
    width: 100%;
    max-width: 288px;
    /* background-image: url(/img/card_bg.png),
                      linear-gradient(-45deg, var(--secondary-bland-color) 16px, transparent 0); */
    background-image: url(/img/card_bg.png);
    background-color: var(--white);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 24px 20px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.2));
    position: relative;
}

/* .servicePrice .card::after {
    position: absolute;
    content: "詳しくはコチラ";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    padding: 0 5%;
    background-color: var(--secondary-bland-color);
    color: var(--white);
    vertical-align: middle;
} */

.servicePrice .card--header {
    width: 100%;
    padding: 1.5em 0;
}

.servicePrice .card--index {
    color: var(--secondary-bland-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.servicePrice .card--title {
    color: var(--font-color-black);
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
}

.servicePrice .card--imgBox {
    width: 100%;
    line-height: 0;
}

.servicePrice .card--img {
    width: 100%;
}

.servicePrice .card--body {
    width: 100%;
    padding: 1.5em 0;
}

.servicePrice .card--text {
    color: var(--font-color-black);
    font-size: 1.5rem;
    font-weight: bold;
}

.servicePrice .card--footer {
    margin-top: 24px;
}

.servicePrice .card--btn {
    color: var(--white);
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    background-color: var(--secondary-bland-color);
    padding: 8px;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .servicePrice .grid-col4 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 32px;
    }

    .servicePrice .card {
        max-width: 100%;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .servicePrice {
        padding: 32px 5% 40px;
    }

    .servicePrice .content--text {
        text-align: center;
    }

    .servicePrice .grid-col4 {
        width: 100%;
        margin-top: 24px;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 16px;
    }
    .servicePrice .card {
        max-width: 100%;
        margin-top: 16px;
    }

    .servicePrice .btnBox {
        margin-top: 32px;
    }

    .servicePrice .btn {
        background-color: var(--background-color-black);
    }
}

.cta {
    background-color: var(--white);
    background-image: none;
}

.maker {
    background-color: var(--background-color-lightgrey);
    background-image: url(/img/top-maker.jpg);
    padding: 40px 5%;
}

.maker .media {
    gap: 40px;
    align-items: center;
}

.maker .media--imgBox {
    flex: 0 1 560px;
}

.maker .media--body {
    flex: 1 0;
}

.maker .media .content--img {
    width: 100%;
}

.maker .content--textBox {
    margin-top: 40px;
}

.maker .content--text {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
}

.maker .content--imgBox {
    margin-top: 40px;
    width: 100%;
    display: grid;
    place-items: center;
}

.maker .content--img {
    width: 100%;
    max-width: 800px;
}

/* classic */

.classic {
    background-color: var(--background-color-lightgrey);
    padding: 0 5%;
}

.classic .banner {
    display: grid;
    justify-content: space-between;
    align-content: center;
    border: 7px solid var(--primary-bland-color);
    padding: 0 64px 0 32px;
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 238.39;
    gap: 32px;
    background-color: var(--background-color-darkgrey);
}

.classic .banner::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 37px;
    height: 27px;
    background-image: url(../img/icon_arw3_white.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

.classic .banner--titleBox {
    display: block;
}

.classic .banner--title {
    font-size: 3.2rem;
    color: var(--white);
}

.classic .banner--textBox {
    background-color: var(--background-color-transparentgrey);
    padding: 0 8px;
}

.classic .banner--text-medium {
    font-size: 2.4rem;
    color: var(--white);
}

.classic .banner--emphasis {
    color: var(--primary-bland-color);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .classic .banner {
        gap: 12px;
    }

    .classic .banner--title {
        font-size: 2.8rem;
    }

    .classic .banner--text-medium {
        font-size: 2rem;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .classic .banner {
        width: 100%;
        gap: 8px;
        padding-top: 24px;
        padding-bottom: 24px;
        aspect-ratio: unset;
        justify-content: center;
    }

    .classic .banner::after {
        width: 24px;
    }

    .classic .banner--titleBox {
        text-align: center;
    }

    .classic .banner--title {
        font-size: 2.4rem;
    }

    .classic .banner--text-medium {
        font-size: 1.6rem;
        color: var(--white);
    }
}

.factory {
    background-color: var(--background-color-lightgrey);
    padding: 40px 5% 100px;
}

/* sns */
.sns {
    background-color: var(--background-color-lightgrey);
    padding: 80px 30px;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .sns {
        padding: 40px;
    }
}

.timelines {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1080px;
    margin: 48px auto 0;
}

.timeline-facebook {
    width: 46.3%;
    max-width: 500px;
    height: 500px;
    background-color: var(--background-color-darkgrey);
}

.timeline-twitter {
    width: 45%;
    max-width: 500px;
    height: 500px;
    background-color: var(--background-color-darkgrey);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .timelines {
        margin-top: 24px;
        display: block;
    }

    .timeline-facebook {
        width: 100%;
        height: 280px;
        background-color: var(--background-color-darkgrey);
    }

    .timeline-twitter {
        margin-top: 24px;
        width: 100%;
        height: 280px;
        background-color: var(--background-color-darkgrey);
    }

}

/* ベースになるCSS設定はcommon.cssにて設定 */
.instagram {
    width: 100%;
    max-width: 1080px;
    margin: 80px auto 0;
}

.instagram .content--subTitleBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instagram .content--subTitle {
    position: relative;
    padding-left: 49px;
}

.instagram .content--subTitle::before {
    position: absolute;
    width: 37px;
    height: 37px;
    content: "";
    left: 0;
    background-image: url(../img/icon_instagram.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: top;
}

.instagram .grid-col6 {
    margin-top: 32px;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .instagram {
        margin-top: 40px;
    }

    .instagram .content--subTitleBox {
        justify-content: center;
    }

    .instagram .content--subTitle {
        font-size: 2.5rem;
        padding-left: 32px;
    }

    .instagram .content--subTitle::before {
        width: 25px;
        height: 25px;
    }

    .instagram .grid-col6 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .instagram .instagram--imgBox:nth-of-type(n+5) {
        display: none;
    }

    .instagram .spOnly .btn {
        margin-top: 24px;
        font-size: 1.5rem;
        padding: 8px;
        background-color: var(--background-color-dimgrey);
    }
}
