@charset "UTF-8";
:root {
    --form-max-width: 900px;
}

body {
    color: var(--black);
}

form input {
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

body#Contact {
    color: var(--white);
}

.main {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}
.main::before {
    content: "";
    width: 100%;
    height: 100%;
    background: url(../img/contact/contact-bg.webp) center bottom /contain no-repeat;
    position: absolute;
    z-index: -1;
}
a {
    color: inherit;
}

/* CSS Document */

/* タイトル */

.wrapper .inner .text{
    margin-bottom: 5rem;
}
.wrapper .inner .text p{
    font-size: clamp(16px,2.2rem,18px);
    padding-bottom: 2rem;
}
.wrapper .inner .text .note{
    padding-left: 18px;
    position: relative;
}
.wrapper .inner .text .note::before{
    content: '※';
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", sans-serif;    font-size: 16px;
    line-height: 1.5;
    position: absolute;
    left: 0;
    top: 0;
}
.wrapper .inner .column{
    display: flex;
    gap: 5%;
}
.wrapper .inner .column a{
    display: block;
    width: calc(50% - 2.5%);
    border-top: solid 1px #DBDBDB;
    border-bottom: solid 1px #DBDBDB;
    padding: 2.5rem 0;
    text-align: center;
}
.wrapper .inner .column a h3{
    font-size: clamp(16px,2rem,22px);
    font-weight: 700;
    line-height: 1.5;
    width: fit-content;
    margin: 0 auto;
    padding-left: 3rem;
    background: url("../img/common/tel.svg")left center/2rem auto no-repeat;
    margin-bottom: 1rem;
}
.wrapper .inner .column a .number{
    font-size: clamp(22px,4rem,38px);
    color: #2C5CEF;
    line-height: 1;
    padding-bottom: 1.3rem;
}
.wrapper .inner .column a .hours{
    line-height: 1;
    font-size: clamp(12px,1.5rem,14px);
    color: #747474;
    padding: 3px 0;
    display: block;
    border: solid 1px #747474;
    width: min(100%,250px);
    margin: 0 auto;
}

/* 電話でのお問い合わせ start --------------- */
#tel-sec .inner{
    width: 76%;
    /* max-width: 684px; */
    padding: var(--space40) var(--space60);
    outline: 1px solid var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    column-gap: var(--space20);
    margin-inline: auto;
}

#tel-sec + #form-sec {
    /* padding-top: 0; */
    padding: 0 5%;
}

.tel-list {
    display: flex;
    justify-content: center;
    gap: var(--space40);
    margin-top: var(--space40);

}

.tel-link {
    padding: 1.5em 0 1em;
}

.tel-link:hover {
    opacity: 0.7;
    background-color: var(--dark-grey);
    transition: 0.3s ease-out;
}

.cont-ttl {
    font-size: var(--base-font20);
}

.tel-text {
    font-size: var(--base-font15);
    margin-top: 1em;
}

.office {
    font-size: var(--base-font18);
}

.phone-number {
    font-size: var(--base-font32);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-left: 0.3em;
    white-space: nowrap;
}

.phone-number + .phone-number {
    margin-top: 1em;
}

/* お問い合わせフォーム start------------------ */

/*---------------------------------

  フォーム

---------------------------------*/

.form_sec .wrapper {
    background-color: transparent;
}
.form_sec .wrapper .inner{
    /* width: min(80%,1400px); */
    margin: 0 auto;
    padding: 0;
    box-shadow: none;
    border-radius: revert;
}
.form-sec {
    text-align: center;
}

.section_title {
    text-align: center;
    margin-bottom: var(--space80);
}

.section_title h3 {
    font-size: var(--base-font20);
    font-size: 20px;
}

form .form_item{
    border-bottom: solid 1px var(--dark-grey);
    display: flex;
    padding: 32px 2rem;
    font-size: var(--base-font150);
    font-weight: 400;
}

form .form_item .form_label{
    width: 30%;
    font-weight: 600;
    padding-top: 14px;
}
form .form_item.occupation .form_label,
form .form_item.address .form_label,
form .form_item.pr .form_label{
    padding-top: 0;
}
form .form_item .form_label label{
    display: flex;
    align-items: center;
}
form .form_item .form_label .require{
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 6px;
    color: var(--caution-color);
}
.section_title .require{
    color: var(--caution-color);
}
form .form_item .form_input{
    width: 70%;
}
form input[type="text"], form input[type="tel"], form input[type="email"], form textarea, form select{
    width: 100%;
    border: solid 1px #dddddd;
    background-color: #F7F8F8; 
    font-size: 16px;
    padding: 20px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
form input[type="text"]:focus, form input[type="tel"]:focus, form input[type="email"]:focus, form textarea:focus, form select:focus{
    outline: none;
    border: solid 1px var(--primary-color);
}
form .radio_container .box{
    position: relative;
    margin-bottom: 10px;
} 
form .radio_container .box:last-child{
    margin-bottom: 0;
} 
form .radio_container .box input[type=radio]{
    position: absolute;
    opacity: 0;
}
form .radio_container .box .radio_label{
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    width: fit-content;
}
form .radio_container .box .radio_label::before{
    content: "";
    background: #F7F8F8;
    border-radius: 100%;
    border: 1px solid #dddddd;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: 2px;
    margin-right: 12px;
    margin-bottom: 2px;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all .35s ease-out;
    box-shadow: inset 0 0 0 5px #fff;
}
input[type=radio]:checked + .radio_label::before{
    background-color: var(--primary-color);
}
form .form_item.address .address_box{
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}
form .form_item.address .address_box:last-of-type{
    padding-bottom: 0;
}
form .form_item.address .address_box>span{
    font-size: 15px;
    display: inline-block;
    padding-right: 15px;
    width: 100px;
}
form .form_item.address .address_box.postal_code>span{
    width: 35px;
}
/* form .form_item.address .address_box.postal_code .column{
    display: flex;
    align-items: center;
    flex: 1;
} */
form .form_item.address .address_box input{
    width: calc(100% - 100px);
}
form .form_item.address .address_box.postal_code {
    display: block;
}
form .form_item.address .address_box.postal_code input{
    width: 220px;
    margin-right: 15px;
}
form .form_item.address .address_box.postal_code .note{
    flex: 1 0 auto;
    align-self: center;
    font-size: 14px;
    display: inline-block;
    /* padding-left: 20px; */
    padding-right: 0;
    width: fit-content;
}
/* セレクトボックスのv */
.select-wrap {
    display: block;
    position: relative;
}
.select-wrap::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    background: url(../img/common/arrow_down.svg) center / contain no-repeat;
}
form textarea{
    min-height: 250px;
    resize: vertical;
    line-height: 1.6;
}
.privacy_note{
    text-align: center;
    margin: 40px 0;
    font-size: 14px;
}
.privacy_note a{
    display: inline-block;
    color: var(--medium-grey);
    border-bottom: solid 1px var(--medium-grey);
    padding: 0 2px 2px;
}
.privacy_note a:hover{
    opacity: 0.7;
}
.submit_button_container{
    text-align: center;
}

.field-invalid::before {
	content: "※入力必須項目です。";
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", sans-serif;
    font-weight: 600;
	display: block;
	color: red;
    font-size: 14px;
    padding-bottom: 5px;
}

.contact-text_wrapper .note {
    font-size: 14px;
    padding-bottom: 15px;
}
.contacttxt-box {
    flex: 1;
}
.contacttxt-box .form_input {
    width: 100% !important;
}

/* パンくずリスト */
#Contact .breadcrumb {
    margin-top: var(--space150);
    color: var(--light-grey);
}

@media print, screen and (max-width: 1200px) {
    form .form_item .form_label {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 6px;
    }
}

/* @media print, screen and (max-width: 1000px) {
    form .form_item{
        display: block;
        padding: 28px 0;
    }
} */


/* @media print, screen and (max-width: 900px){ */
@media print, screen and (max-width: 768px){
    /* 電話でのお問い合わせ */
    .tel-list {
        flex-direction: column;
        margin-top: 1em;
        row-gap: 0.5em;
    }

    .phone-number {
        margin-left: 0.5em;
    }

    /*---------------------------------

      フォーム

    ---------------------------------*/
    .wrapper .inner{
        width: 100%;
        /* padding: 0 6rem; */
    }
    .wrapper .inner .intro{
        font-size: clamp(15px,3rem,17px);
    }
    form .form_item{
        display: block;
        padding: 28px 0;
    }
    form .form_item .form_label{
        width: 100%;
        padding-top: 0;
        padding-bottom: 15px;
    }
    form .form_item .form_label label{
        line-height: 1;
    }
    form .form_item .form_input{
        width: 100%;
    }
    form input[type="text"], 
    form input[type="tel"], 
    form input[type="email"], 
    form textarea, form select{
        padding: 18px;
    }
    form .form_item.address .address_box{
        display: block;
        padding-bottom: 10px;
    }
    form .form_item.address .address_box>span{
        width: 100%;
        padding-bottom: 5px;
    }
    form .form_item.address .address_box.postal_code .note{
        line-height: 1.6;
        /* padding-left: 15px; */
    }
    form .form_item.address .address_box input{
        width: 100%;
    }
    .privacy_note{
        margin: 25px 0;
    }
    .submit_button_container .submit_btn{
        padding: 30px;
        font-size: 16px;
    }
    .submit_button_container .arrow{
        width: 20px;
        height: 20px;
        right: 30px;
    }
    form .radio_container .box{
        margin-bottom: 15px;
    }
    form .radio_container .box .radio_label{
        align-items: flex-start;
        width: 100%;
    }
    form .radio_container .box .radio_label::before{
        margin: 0;
        width: 24px;
        height: 24px;
        box-sizing: border-box;
    }
    form .radio_container .box .radio_label span{
        display: block;
        width: calc(100% - 24px);
        line-height: 1.5;
        padding-left: 10px;
        padding-top: 1px;
    }
    form .form_item.occupation .form_label{
        padding-bottom: 20px;
    }
    
}


@media print, screen and (max-width: 500px){
    .wrapper .inner .intro{
        text-align: left;
    }
    .wrapper .inner .intro br{
        display: none;
    }
    .privacy_note{
        text-align: left;
    }

}

/* お問い合わせフォーム end------------------ */


/* お問い合わせ以外のメディアクエリ */
@media print, screen and (max-width: 760px) {
    #tel-sec .inner {
        width: 100%;
    }
    .wrapper .inner{
        width: 100%;
    }
    .wrapper .inner .text{
        margin-bottom: 6rem;
    }
    .wrapper .inner .text p{
        font-size: 3.2rem;
    }
    .wrapper .inner .text p br{
        display: none;
    }
    .wrapper .inner .text .note{
        font-size: 3.1rem;
        padding-left: 3.5rem;
        line-height: 1.7;
        display: block;
    }
    .wrapper .inner .text .note::before{
        font-size: 3.1rem;
        line-height: 1.7;
    }
    .wrapper .inner .column{
        display: block;
    }
    .wrapper .inner .column a{
        width: 100%;
        padding: 5rem 0;
    }
    .wrapper .inner .column a:first-of-type{
        border-bottom: none;
    }
    .wrapper .inner .column a h3{
        line-height: 1;
        font-size: clamp(14px,3.4rem,22px);
        padding-left: 1.5em;
        background: url(../img/common/tel.svg)left center/1em no-repeat;
        margin-bottom: 3rem;
    }
    .wrapper .inner .column a .number{
        font-size: clamp(22px,6rem,38px);
        line-height: 1;
        padding-bottom: 2.4rem;
    }
    .wrapper .inner .column a .hours{
        font-weight: 600;
    }
    
}