@charset "utf-8";
:root{
    --white: #ffffff;
    --black: #333333;
    --orange: #f46e45;
    --orangeOff: #ea8a59;
    --navy: #2a315b;
    --gray: #717070;
    --gray-b3: #b3b3b3;
    --warm-gray: #e1d8d1;
    --cream: #fdf5e8;
    --info-title: #f9ebd7;
    
    --Caslon: 'Libre Caslon Text',serif;
    --ZenKakuGothicNew: "Zen Kaku Gothic New","Yu Gothic","Meiryo","Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
    --NotoSansJP: "Noto Sans JP","Yu Gothic","Meiryo","Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
}

.z-layout{
    width: 1920px;
    height: auto;
    aspect-ratio: 1920/443;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5rem;
    .text{
        width: 27.2%;
        height: 100%;
        padding: 2rem 3dvw 0 0;

        .limit-dayuse{
            display: block;
            width: fit-content;
            line-height: 2rem;
            font-size: 14px;
            font-weight: 500;
            font-family: var(--NotoSansJP);
            color: var(--white);
            background: var(--orange);
            border-radius: 50px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            top: -1rem;
        }
        .limit-winter{
            display: block;
            width: fit-content;
            line-height: 2rem;
            font-size: 14px;
            font-weight: 500;
            font-family: var(--NotoSansJP);
            color: var(--white);
            background: var(--navy);
            border-radius: 50px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            top: -1rem;
        }
        h4{
            font-size: 1.5rem;
            color: var(--orange);
            font-weight: 500;
            text-align: center;
            line-height: 1.6;
            .sp-br{
                display: none;
                height: 0;
            }
            .wave-line-gray{
                margin: 1.5rem 0 1rem;
            }
        }
        p{
            width: 100%;
            color: var(--gray);
            line-height: 2.8;
        }
        .btn-more{
            margin: 0px 0 0 22rem;
        }
        .btn-border{
            width: 100%;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            .btn-border-a{
                width: fit-content;
                min-width: 220px;
                padding: 1rem 3rem;
                line-height: 1.8;
                margin: 1rem;
                text-align: center;
                border: 1px solid var(--black);
                white-space: nowrap;
            }
        }
    }
    picture{
        width: 55%;
        height: 100%;
        border-radius: 140px 0 0 0;
        overflow: hidden;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: left center;
        }
    }
}
.z-layout:nth-of-type(even){
    flex-direction: row-reverse;
    .text{
        padding: 1rem 0 0 3dvw;
    }
    picture{
        border-radius: 0 140px 0 0;
        img{
            object-position: right center;
        }
    }
}
@media screen and (max-width:1300px){
    .z-layout{
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        position: static;
        transform: translateX(0);
        flex-direction: column-reverse;
        justify-content: center;

        .text{
            width: 90%;
            height: auto;
            padding: 0;
            margin: 0 auto 6rem;
            p{
                line-height: 3;
                margin: 0 auto 1rem;
            }
            .btn-more{
                margin: 0 auto;
            }
        }
        picture{
            width: 90%;
            height: 443px;
            aspect-ratio: auto;
            margin: 0 auto 2rem;
            img{
                object-position: center;
            }
        }
    }
    .z-layout:nth-of-type(even){
        flex-direction: column-reverse;
        picture{
            img{
                object-position: center;
            }
        }
    }
}
@media screen and (max-width:540px){
    .z-layout{
        margin-bottom: 3rem;
        .text{
            padding: 0.5rem 0 0;
            h4{
                font-size: 20px;
                .sp-br{
                    display: block;
                }
                .wave-line-gray{
                    margin: 1.25rem 0 0.75rem;
                }
            }
            p{
                width: 90%;
            }
        }
        picture{
            width: 100%;
            height: auto;
            aspect-ratio: 360/291;
            margin: 0 auto 1rem;
            border-radius: 0;
        }
    }
    .z-layout:nth-of-type(even){
        picture{
            border-radius: 0;
        }
    }
}
