@charset "UTF-8";


.sec-mainV {
    height: 100vh;
    padding-top: 100px;
    background-image: url(/wp-content/themes/saino_20240709/assets/images/mainv/mainv_bg_pc.jpg);
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;

    @media (max-width:768px) {
        background-image: url(/wp-content/themes/saino_20240709/assets/images/mainv/mainv_bg_sp.jpg);
        padding-top: 80px;
        padding-bottom: 30px;
        justify-content: flex-start;
        height: initial;
        gap: 15px;
    }
    
}

/*
コピー＋画像
———————————*/
.bl-mainV_top {
    display: grid;
    grid-template-columns: 4fr 6.5fr;

    align-items: center;

    @media (max-width:768px) {
        width: 100%;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/*コピー
———————————*/
.bl-mainV_txt {
    width: fit-content;
    margin-left: auto;
    padding-inline:2vw;
    

    @media (max-width:768px) {
         padding-right: 20px;
        z-index: 1;
        order: 2;
        width: 100%;
        max-width: 400px;
        margin-left: initial;
        display: grid;
        grid-template-columns: 8fr 3fr;
    }
}


.bl-mainV_txt-copy {
    font-weight: bold;
    margin-bottom: 30px;


    @media (max-width:768px) {
        margin-top: -100px;
        margin-bottom: 0;
        writing-mode: vertical-rl;
        order: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 15px;

    }
}

.copy_sub {
    font-size: clamp(20px, 2.3vw, 26px);
    margin-bottom: 15px;

    @media (max-width:768px) {
        font-size: clamp(18px, 2.6vw, 24px);
        background-color: #fff;
        padding: 10px 5px;
        width: fit-content;
        height: fit-content;
    }
}

.copy_main {
    font-size: clamp(29px, 3.5vw, 42px);
    line-height: 1.2;

    @media (max-width:768px) {
        background-color: #fff;
        font-size: clamp(18px, 2.6vw, 24px);

        margin-top: 20px;
        padding: 10px 5px;
        width: fit-content;
        height: fit-content;

    }

    > span.no {
        font-size: 70%;

        @media (max-width:768px) {
            font-size: 100%;
        }
    }
    
    > br {
        @media (max-width:768px) {
            display: none;
        }
    }
    >span.saino_name{
        margin-left: -0.5em;
    }
}

/*
リンク
———————————*/

.bl-mainV_txt-link {
    @media (max-width:768px) {
        order: 1;
    }
}

.bl-mainV_txt-link > p {
    color: #D19D00;
    margin-bottom: 1.5vw;
    font-size: 20px;
    font-weight: bold;

    @media (max-width:768px) {
        margin-bottom: 10px;
        font-size: 16px;
    }
}

.link_unit {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5vw;

    @media (max-width:768px) {
        gap: 20px;
    }

    a {
        position: relative;
        font-size: 18px;
        font-weight: bold;
        padding: 12px 16px;
        background-color: #444;
        color: #fff;
        border-radius: 1000px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

        @media (max-width:768px) {
            width: 90%;
            font-size: 16px;
            padding: 10px 12px;
        }
        &:hover{
            opacity: 0.7;
        }
        &:after {
            content: "＞";
            font-weight: normal;
            position: absolute;
            right: 16px;

            @media (max-width:768px) {
                right: 12px;
            }
        }

        &:nth-of-type(1) {
            background-color: #D19D00;
        }

        &:nth-of-type(2) {
            background-color: #DE4751;
        }

        &:nth-of-type(3) {
            background-color: #278741;
        }
    }

}

/*
イメージ
———————————*/
.bl-mainV_img {
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    height: 100%;

    @media (max-width:768px) {
        order: 1;
        max-height: 300px;
        max-width: 600px;
        margin-left: auto;
    }
}


.bl-mainV_img img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;

    @media (max-width:768px) {
        transform: scale(1.1);
        transform-origin:left bottom;

    }
}

/*
お知らせ
———————————*/

.bl-mainV_info {
    display: grid;
    align-items: center;
    width: 100%;

    @media (max-width:768px) {
        padding-right: 20px;
    }
}

.bl-mainV_info-btn {
    background-color: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 100px 0 0 100px;
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: #000;
    width: 60%;
    min-width: 600px;
    margin-left: auto;
    padding: 20px;

    @media (max-width:768px) {
        width: 100%;
        min-width: initial;
        flex-wrap: wrap;
        border-radius: 0 100px 100px 0;
        padding: 10px 10px 10px 20px;
        font-size: 14px;
    }
}
.bl-mainV_info-btn:hover{
    opacity: 0.6;
}
.bl-mainV_info-btn > p {
    font-weight: bold;
    margin-right: 10px;

    @media (max-width:768px) {
        width: 100%;
    }
}

.info-link_sp {
    display: flex;
    gap: 20px;
    position: relative;

    @media (max-width:768px) {
        gap: 10px;
    }

    &:after {
        content: "＞";
        font-weight: normal;
        position: absolute;
        right: 0px;

        @media (max-width:768px) {
            right: 12px;
        }
    }

    & > p {
        text-decoration: underline;
        margin-right: 25px;
        @media (max-width:768px) {
          
        }
    }
}
