@charset "UTF-8";

body{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #2f2f2f;
}

.block_line {
    display: block;
}

.for_sp {
    display: none;
}
@media screen and (max-width: 539px) {
    .for_sp {
        display: block;
    }
}
    
.for_pc {
    display: block;
}
@media screen and (max-width: 1024px) {
    .for_pc {
        display: none !important;
    }
    
}

/* First View */
.fv {
    margin: 0 auto 80px;
    overflow: hidden;
    position: relative;
    z-index: 0;
    /* @media screen and (min-width: 768px) and (max-width: 1024px) {
        padding: 0;
    }
    @media screen and (min-width: 541px) and (max-width: 767px) {
        height: 500px;
    }
    @media screen and (min-width: 667px) and (max-width: 540px) {
        height: 247px;
    }
    @media screen and (min-width: 441px) and (max-width: 666px) {
        height: 220px;
    }
    @media screen and (min-width: 431px) and (max-width: 440px) {
        height: 528px;
    }
    @media screen and (max-width: 430px) {
        height: 551px;
    } */
}

.fv .fv_main_heading {
    width: 100%;
    max-width: 1280px;
    padding: 60px 0 0 24px;
    margin: 0 auto;
    position: absolute;
    inset: 5% 0 0 0;
    /* 高DPI環境（スケール125%〜150%以上）向け */
    @media (min-resolution: 144dpi) {
        max-width: 1000px;
    }
    @media screen and (min-width: 768px) and (max-width: 1024px) {
        width: 90%;
        max-width: 1000px;
        margin: 0 auto;
    }
    @media screen and (max-width: 767px) {
        max-width: 100%;
        padding: 0 16px;
    }
}

.fv .fv_main_heading h1 {
    margin: 0 auto 8px;
    font-size: clamp(2.125rem, 1.289rem + 3.43vw, 4.375rem);
    line-height: 1.2;
    position: relative;
    z-index: 200;
    /* 高DPI環境（スケール125%〜150%以上）向け */
    @media (min-resolution: 144dpi) {
        font-size: clamp(2.125rem, 1.521rem + 2.48vw, 3.75rem);
    }
    @media screen and (min-width: 933px) and (max-width: 1024px) {
        margin: 16px 0;
        font-size: clamp(2.125rem, 1.057rem + 4.38vw, 5rem);
    }
    @media screen and (min-width: 768px) and (max-width: 932px) {
        margin: 0 0 16px;
    }
    @media screen and (min-width: 441px) and (max-width: 767px) {
        margin: 0 0 16px;
        font-size: 2rem;
    }
    @media screen and (min-width: 321px) and (max-width: 440px) {
        margin: 0 0 16px;
        font-size: clamp(2.125rem, 1.521rem + 2.48vw, 3.75rem);
    }
    @media screen and (max-width: 320px) {
        margin: 0 0 16px;
        font-size: clamp(2.125rem, 1.521rem + 2.48vw, 3.75rem);
    }
}

.fv .fv_main_heading .catch {
    position: relative;
    font-size: clamp(1.125rem, 0.846rem + 1.14vw, 1.875rem);
    font-weight: bold;
    letter-spacing: 10px;
    color: #F21D4B;
    text-shadow: 2px 1px 10px #fff;
    z-index: 100;
}

/*
.fv .fv_main_heading .fv_images {
    width: 100%;
    max-width: 1280px;
    height: 710px;
    margin: 0 auto;
    position: absolute;
    inset: 0 0 0 0;
    @media (min-resolution: 144dpi) {
        max-width: 1000px;
        height: 505px;
    }
    @media screen and (min-width: 768px) and (max-width: 1024px) {
        max-width: 90%;
        height: 300px;
    }
    @media screen and (min-width: 668px) and (max-width: 767px) {
        max-width: 100%;
        height: 300px;
    }
    @media screen and (min-width: 415px) and (max-width: 667px) {
        max-width: 100%;
        height: 300px;
    }
    @media screen and (max-width: 414px) {
        max-width: 100%;
        height: 350px;
    }
}
*/

/*
.fv .fv_main_image .illust_first {
    width: 160px;
    position: absolute;
    top: 40%;
    right: 28%;
    @media (min-resolution: 144dpi) {
        width: 130px;
    }
    @media screen and (min-width: 768px) and (max-width: 1024px) {
        width: 130px;
    }
    @media screen and (min-width: 541px) and (max-width: 767px) {
        width: 130px;
        top: 50%;
        right: 50%;
    }
    @media screen and (min-width: 441px)  and (max-width: 540px) {
        width: 90px;
        top: initial;
        right: 35%;
        bottom: 15%;
    }
    @media screen and (max-width: 440px) {
        width: 120px;
        top: initial;
        right: 50%;
        bottom: 10%;
    }
}
*/

/*
.fv .fv_main_image .picture_first {
    width: 320px;
    position: absolute;
    top: 15%;
    right: 60px;
    @media (min-resolution: 144dpi) {
        width: 260px;
        top: 15%;
    }
    @media screen and (min-width: 845px) and (max-width: 1024px) {
        width: 240px;
    }
    @media screen and (min-width: 768px) and (max-width: 844px) {
        width: 200px;
    }
    @media screen and (min-width: 541px)  and (max-width: 767px) {
        width: 160px;
        top: initial;
        right: 2%;
        bottom: 20%;
    }
    @media screen and (min-width: 441px)  and (max-width: 540px) {
        width: 160px;
        top: initial;
        right: 8%;
        bottom: 25%;
    }
    @media screen and (max-width: 440px) {
        width: 220px;
        top: initial;
        right: 2%;
        bottom: 20%;
    }
}
*/

/*
.fv .fv_main_image .picture_second {
    width: 240px;
    position: absolute;
    top: 10%;
    right: 0px;
    @media (min-resolution: 144dpi) {
        width: 200px;
        top: 10%;
    }
    @media screen and (min-width: 845px) and (max-width: 1024px) {
        width: 200px;
    }
    @media screen and (min-width: 768px) and (max-width: 844px) {
        width: 180px;
        right: 0;
    }
    @media screen and (min-width: 541px)  and (max-width: 767px) {
        width: 140px;
        top: initial;
        right: -5%;
        bottom: 30%;
    }
    @media screen and (min-width: 441px)  and (max-width: 540px) {
        width: 140px;
        top: initial;
        right: 2%;
        bottom: 35%;
    }
    @media screen and (max-width: 440px) {
        width: 140px;
        top: initial;
        right: -5%;
        bottom: 30%;
    }
}
*/


/* heading */
.sec_container {
    h2 {
        display: inline-block;
        margin: 0 auto 40px;
        text-align: center;
        line-height: 1.4;
        font-weight: bold;
    }
    
    .title_grid {
        display: grid;
        grid-template-rows: auto auto;
        row-gap: 8px;
        justify-content: center;
        justify-items: center;
        align-items: center;
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
        /* line-height: 1; */
        position: relative;
    }
    
    .title_line {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "areaA areaA"
            "areaB areaB";
        gap: 0;
        position: relative;
        &::before {
            grid-area: areaA;
            content: "";
            display: block;
            width: 40%;
            height: 4px;
            background: #3178FF;
            clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
            position: absolute;
            bottom: -1px;
            left: 0;
        }
        &::after {
            grid-area: areaB;
            content: "";
            display: block;
            width: 100%;
            border: 1px solid #3178FF;
        }
    }

    [lang="vi"] label {
        font-size: 0.8rem;
    }
    
    .label {
        font-size: clamp(0.875rem, 0.736rem + 0.57vw, 1.25rem);
        letter-spacing: 5px;
        padding-left: 1rem;
    }
    .title {
        margin: 0 auto 8px;
        color: #3178FF;
        font-size: clamp(1.75rem, 1.425rem + 1.33vw, 2.625rem);
    }
}

/* section お問い合わせフォーム */
.sec_container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    font-weight: bold;
    @media screen and (min-width: 768px) and (max-width: 1024px) {
        padding: 0 60px;
    }
}

.sec_container .bl_lead {
    font-weight: normal;
}
.sec_container .bl_formList {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0 40px;
    justify-content: center;
    justify-items: start;
    align-items: start;
    margin: 0 auto 32px;
    text-align: left;
    @media screen and (max-width: 767px) {
        grid-template-columns: none;
        grid-template-rows: auto auto;
        gap: 16px 0;
    }
}

.sec_container .bl_formList .bl_form_ttl .line_block {
    display: block;
}

.sec_container .bl_formList .bl_form_ttl .el_label {
    padding: 0 4px;
    margin-left: 4px;
    background: #F21D4B;
    color: #fff;
    font-size: clamp(0.813rem, 0.789rem + 0.1vw, 0.875rem);
    line-height: 1;
}

.sec_container .bl_formList .bl_form_ttl { 
    font-size: 1.125rem; 
}

.sec_container .bl_formList .bl_form_cont {
    width: 100%;
    max-width: 660px;
    font-size: 1rem;
    line-height: 60px;
    @media screen and (min-width: 431px) and (max-width: 767px) {
        width: 400px !important;
        margin: 0 auto;
    }
    @media screen and (min-width: 345px) and (max-width: 430px) {
        width: 350px !important;
        margin: 0 auto;
    }
    @media screen and (max-width: 344px) {
        width: 320px !important;
        margin: 0 auto;
    }
}

.sec_container .bl_formList .bl_form_cont .bl_form_cont_txt span:empty {
    display: block;
    height: 60px;
    line-height: 1.4;
}

.sec_container .bl_formList .hp_txt_small {
    font-size: 0.875rem;
    font-weight: normal;
}

.sec_container .bl_formList .bl_form_cont_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 16px;
}

/* input type text tel email, select */
.sec_container .bl_formList .bl_form_cont input[type="text"],
.sec_container .bl_formList .bl_form_cont input[type="tel"] ,
.sec_container .bl_formList .bl_form_cont input[type="email"],
.sec_container .bl_formList .bl_form_cont select {
    width: 100% !important;
    max-width: 530px;
    height: 60px;
    padding: 4px 16px;
    background: #F4F8FF;
    border: 1px solid #3178FF;
    border-radius: 10px;
    box-sizing: border-box;
}

.sec_container .bl_formList .bl_form_cont input[type="text"]::placeholder,
.sec_container .bl_formList .bl_form_cont input[type="tel"]::placeholder,
.sec_container .bl_formList .bl_form_cont input[type="email"]::placeholder,
.sec_container .bl_formList .bl_form_cont select::placeholder {
    color: #3178FF;
}

.sec_container .bl_formList .bl_form_cont input[type="text"]:focus-visible,
.sec_container .bl_formList .bl_form_cont input[type="tel"]:focus-visible,
.sec_container .bl_formList .bl_form_cont input[type="email"]:focus-visible,
.sec_container .bl_formList .bl_form_cont textarea:focus-visible,
.sec_container .bl_formList .bl_form_cont select:focus-visible {
    outline: 4px solid #3178FF50;
}

/* textarea */
.sec_container .bl_formList .bl_form_cont textarea {
    width: 100%;
    max-width: 530px;
    height: 180px;
    padding: 16px;
    background: #F4F8FF;
    border: 1px solid #3178FF;
    border-radius: 10px;
    line-height: 1.6;
    @media screen and (max-width: 767px) {
        width: 100%;
        margin: 0 auto;
    }
}
.sec_container .bl_formList .bl_form_cont textarea::placeholder {
    color: #3178FF;
}
.sec_container .bl_formList .bl_form_cont textarea:focus-visible {
    outline: 4px solid #3178FF50;
}

/* select */
.sec_container .bl_formList select {
    appearance: base-select;
    width: 100%;
    max-width: 530px;
    height: 60px;
    padding: 4px 16px;
    background: #F4F8FF url(../../images/sscontact/contact_select_arrowmark.svg) right 16px top 24px / 20px no-repeat !important;
    border: 1px solid #3178FF;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
    color: #2F2F2F;
    @media screen and (max-width: 767px) {
        width: 100%;
        margin: 0 auto;
    }
}

/* input type checkbox */
.sec_container .bl_formList .checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #404040;
    line-height: 1;
    /* チェックボックス全体：非活性の見た目 */
    &:has(.checkbox_icon:disabled) {
        opacity: 0.4;
    }
}

.sec_container .bl_formList .checkbox_icon {
    position: relative;
    width: 24px;
    height: 24px;
    appearance: none;
    background: #FFFFFF;
    border: solid 2px #808080;
    border-radius: 4px;
    box-shadow: 0 0 0 0 transparent;
    /* 強制カラーモードが有効のときは、既定の色を設定 */
    @media (forced-colors: active) {
        border-color: CanvasText;
    }
    /* チェックマーク */
    &:checked {
        background: #fff;
        border-color: #2f2f2f;
        /* 強制カラーモードが有効のときは、既定の色を設定 */
        @media (forced-colors: active) {
            background-color: Canvas;
            border-color: CanvasText;
        }
    }
    &:hover {
        outline: 4px solid #3178FF50;
    }
    /* チェックマーク：選択済みの見た目 */
    &:checked::before {
        opacity: 1 !important;
        mask-image: url(../../images/sscontact/contact_checkbox_checkmark.svg);
        mask-repeat: no-repeat;
        mask-size: 90%;
    }
    &::before {
        position: absolute;
        inset: 3px 0 0 1px;
        display: block;
        width: 100%;
        height: 100%;
        content: "";
        opacity: 0;
        background-color: #3178FF;
        /* 強制カラーモードが有効のときは、既定の色を設定 */
        @media (forced-colors: active) {
            &::before {
                background-color: CanvasText;
            }
        }
    }
}

/* section 入力確認ページ */
.LSAG_form_confirm_section.sec_container {
    .LSAG_form.confirm{
        margin: 60px auto;
        .bl_form_cont {
            width: 100%;
            height: auto;
            padding: 4px 16px;
            background: #F4F8FF;
            border: none;
            border-radius: 10px;
        }
        .bl_form_cont div.textarea {
            height: 160px;
            line-height: 1.6;
            overflow-y: scroll;
        }
        .bl_form_cont div.textarea_small {
            line-height: 1.6;
        }
        .bl_form_cont div:empty,
        .bl_form_cont .bl_form_cont_txt:has(input[value=""])  {
            height: 60px;
        }
    }
}

/* section サンクスページ */
.LSAG_form_thanks_section.sec_container {
    margin: 60px auto;
    .ly_thanks_wrap {
        font-weight: normal;
        text-align: left;
    }
    .bl_thanksLead {
        margin: 0 auto 30px;
    }
    .bl_cautionLeadBox {
        margin: 0 auto 30px;
        padding: 16px 16px 16px 2rem;
        border: 1px dashed #2f2f2f;
        font-size: .875rem;
        text-align: left;
    }
    .thankslead_txt {
        margin: 0 auto 16px;
        &:last-child {
            margin: 0 auto;
        }
    }
    .txt_caution::before {
        content: "※";
        display: inline-block;
        text-indent: -1em;
    }
}

/* section エラーページ */
.LSAG_form_error_section.sec_container {
    margin: 60px auto;
    .ly_error_wrap {
        font-weight: normal;
        /* text-align: left; */
    }
    .bl_errorLead {
        margin: 0 auto 40px;
    }
}


/* button */
.button_box {
    margin: 0 auto 40px;
}

.button_box_grid {
    display: grid;
    grid-template-rows: auto auto;
    gap: 24px 0;
}

.button_box input {
    display: block;
    width: 100%;
    margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;    
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
}

.button_box .button_link_name {
    display: block;
    width: 320px;
    height: 70px;
    margin: 0 auto;
    background: #3178FF;
    border-radius: 100px;
    line-height: 70px;
    box-shadow: 2.5px 2.5px 0px 0px rgba(123, 57, 11, 0.1);
    position: relative;
    &::after{
        content: "";
        display: block;
        width: 12px;
        height: 20px;
        background: url(../../images/top/arrow_white.svg) 0 0 / contain no-repeat;
        position: absolute;
        top: calc(50% - 10px);
        right: 16px;
        cursor: pointer;
    }
    &:hover{
        box-shadow: none;
        transform: translateY(2.5px);
        @media screen and (max-width: 767px) {
            box-shadow: 2.5px 2.5px 0px 0px rgba(123, 57, 11, 0.1);
            transform: none;
        }
    }
}

.button_box .button_link_name.bl_top__back {
    width: 220px;
    height: 50px;
    line-height: 45px !important;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.button_box .button_link_name a {
    display: block;
    /* color: #fff; */
    text-decoration: none;
}

.button_box .button_link_name.bl_submit__back {
    display: block;
    width: 200px !important;
    height: 50px !important;
    background: #fff;
    border: 2px solid #3178FF;
    border-radius: 100px;
    font-weight: bold;
    color: #3178FF;
    line-height: 40px !important;
    text-decoration: none !important;
    text-align: center;
    position: relative;
    &::after {
        content: "";
        display: block;
        width: 10px;
        height: 18px;
        background: url(../../images/sscontact/contact_form_back_button_arrow.svg) 0 0 / contain no-repeat;
        position: absolute;
        top: 30%;
        right: 16px;
        cursor: pointer;
    }
}
.button_box .button_link_name.bl_submit__back a, 
.button_box .button_link_name.bl_submit__back a:link{
    display: block;
    text-decoration: none !important;
}    
.button_box .button_link_name.bl_submit__back a span {
    display: block;
}

.button_box .button_link_name:hover {
    text-decoration: none;
}

