@charset "utf-8";
/*
    お問い合わせフォーム
*/

:root{
	--mincho: 'ヒラギノ明朝 StdN', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Noto Serif JP', sans-serif;
}

.column_page .from-h2{
    font-size: 19px;
    font-family: var(--mincho);
    line-height: 1.8;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.06em;
    /* padding-bottom: 20px; */
	padding: 0 0 20px 0;
    margin-bottom: 75px;
    border-bottom: 3px solid #e2e2e3;
	background-color: transparent;
	color: #222;
    margin-top: 40px;
}
.from-h2::after{
    content: "";
    width: 220px;
    height: 3px;
    /* background-color: #6d0f05; */
    background-color: #d14670;
    position: absolute;
    bottom: -3px;
    left: 0;
}
.from-content{
    background-color: #f5f5f5;
    padding: 55px 0;
    margin-bottom: 70px;
}
.from-content-box{
    max-width: 680px;
    width: 94%;
    margin: 0 auto;
}
.termbox{
	position: relative;
}
.table_bottom_border{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border: none;
}
#mailform .error.show {
    display: inline-block !important;
}
#mailform .table_bottom_border th{
    background: none;
    font-size: 18px;
    font-weight: 400;
    max-width: 200px;
    letter-spacing: 0.04em;
    width: 30%;
    padding: 0;
    display: flex;
    align-items: center;
}
#mailform .table_bottom_border td{
    background: none;
    font-size: 18px;
    font-weight: 400;
    max-width: 470px;
    width: 70%;
    padding: 0;
}
#mailform .table_bottom_border input[type="text"], #mailform .table_bottom_border input[type="tel"], #mailform .table_bottom_border input[type="number"], #mailform .table_bottom_border input[type="email"]{
    border: 2px solid #cdcbc9;
    margin: 0;
    padding: 15px 6px 15px 20px;
    /*box-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.1) inset;*/
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff !important;
}
#mailform .table_bottom_border #mail, #mailform .table_bottom_border #tel{
    margin: 0;
    width: 100% !important;
}
#mailform .table_bottom_border textarea {
    font-size: 16px;
    margin: 0 !important;
    padding: 25px 25px;
    height: 100%;
    min-height: 200px;
    border: none;
    /*box-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.1) inset;*/
    border-radius: 6px;
    background-color: #fff !important;
    border: 2px solid #cdcbc9;
    resize: none;
}
.required{
    background-color: #d14670;
    font-size: 14px;
    line-height: 1;
    padding: 4px 8px;
    display: block;
    margin-right: 10px;
}
.optional{
    background-color: #ccc;
    font-size: 14px;
    line-height: 1;
    padding: 4px 8px;
    display: block;
    margin-right: 10px;
}
span.required{
	color: #fff;
}
#mailform .table_bottom_border input::placeholder{
    color: #827c7c;
    letter-spacing: 0.06em;
    font-weight: 400;
}
#mailform .gender-label{
    position: relative;
    padding-left: 30px;
    margin-top: 5px;
    font-size: 18px;
    margin-right: 20px;
}
#mailform .gender-label::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #000;
    position: absolute;
    top: 7px;
    left: 0;
}
#mailform input:checked + .gender-label:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 3px;
    background: #000;
}
.table_bottom_border.naiyo{
    display: block;
}
#mailform .table_bottom_border.naiyo th,
#mailform .table_bottom_border.naiyo td{
    width: 100%;
    max-width: none;
}
#mailform .table_bottom_border.naiyo th{
    margin-bottom: 10px;
}
#mailform .table_bottom_border.naiyo td{
    width: 100%;
    /*height: 200px;*/
    line-height: 1.5;
    min-height: 200px;
    max-width: none;
    display: block;
}
.confirm-page #mailform .table_bottom_border.naiyo td{
    min-height: unset;
}
#mailform label.checkbox {
    background-color: unset !important;
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
    padding: 0 0 0 48px !important;
    margin: 0 !important;
}
#mailform label.checkbox .in-bk{
    display: inline-block;
}
#mailform label.checkbox:after{
    border: 2px solid #8b8581 !important;
    background-color: #fff;
    border-radius: 0 !important;
    width: 20px !important;
    height: 20px !important;
    top:1px !important;
    left: 0 !important;
    margin-top: 0 !important;
}
#mailform .checkbox:before{
    border-right: 3px solid #8b8581 !important;
    border-bottom: 3px solid #8b8581 !important;
    top: 6px !important;
    left: 8px !important;
    z-index: 1 !important;
    margin-top: 0 !important;
}
#mailform .term2{
    border:1px solid #d14670 !important;
    margin-bottom: 80px !important;
    max-height: 210px !important;
    padding: 35px 38px !important;
    font-size: 16px !important;
    line-height: 2 !important;
    overflow-y: scroll;
}
#mailform .term2::-webkit-scrollbar{
    background: #f1f1f1;
    width: 14px;
}
#mailform .term2::-webkit-scrollbar-thumb{
    background: #918b8b;
    border-radius: 20px;
}


#mailform .term2 .title{
    font-size: 23px;
    text-align: left;
    font-weight: 500;
    font-family: var(--mincho);
    padding-left: 14px;
    border-left: 5px solid #d14670;
    line-height: 1.2;
    margin-bottom: 20px;
}
#submitBtn, #backBtn, #closeBtn{
    border: none !important;
    box-shadow:none !important;
    border-radius: 100px !important;
    color: #fff !important;
    /* background: linear-gradient(145deg, rgba(20,92,42,1) 0%,rgba(20,92,42,1) 25%,rgba(7,45,19,1) 75%,rgba(7,45,19,1) 100%); */
    background: linear-gradient(135deg, #2783bb 0%, #207ab4 100%);
    display: block;
    width: 450px !important;
    appearance: none;
    height: 90px !important;
    font-size: 22px !important;
    font-family: var(--mincho);
    font-weight: 500;
    letter-spacing: 0.06em;
}
#submitBtn span{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
#submitBtn img{
    width: auto;
    height: 0.75em;
    display: inline-block;
    position: relative;
    top:0.05em;
    width: 1.2em;
    height: auto;
    margin-right: 5px;
    position: relative;
    top: 5px;
}
#mailform .seal{
    margin: 30px auto 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
#mailform .seal a {
    display: inline-block !important;
    width: 70px !important;
    margin: 0 !important;
}
#mailform .seal p {
    display: inline-block !important;
    margin: 0 0 0 20px !important;
    text-align: left !important;
    font-size: 14px !important;
    width: auto;
    max-width: 400px;
    line-height: 1.5;
}
#mailform .seal p .br{
    display: block;
}
#mailform .seal a img {
    max-width: 100% !important;
    margin: 0 !important;
}
#mailform #backBtn{
    margin: 80px auto 0 !important;
    background: #6f0d05;
}
.gradation-brown{
    background: linear-gradient(145deg, rgba(20,92,42,1) 0%,rgba(20,92,42,1) 25%,rgba(7,45,19,1) 75%,rgba(7,45,19,1) 100%);
}
.thanks-link.input_btn.backbtn::after{
    display: none;
}

@media screen and (max-width: 1365px){
    .from-h2{
        max-width: 800px;
        margin: 0 auto 50px;
    }
}

@media (min-width: 1025px) and (max-width: 1194px) {
    #mailform .table_bottom_border th{
        font-size: 17px;
        flex: 1;
    }

    #mailform .table_bottom_border td{
        width: 65%;
    }
}
@media screen and (max-width: 1024px){
    .from-h2{
        font-size: 18px !important;
    }
}
@media screen and (max-width: 767px){
    .from-h2{
        font-size: 15px !important;
        margin: 60px 0 25px !important;
        text-align-last: left;
        margin-top: 40px !important;
    }
    .from-content {
        padding: 40px 0;
        margin-bottom: 50px;
    }
    .from-content-box{
        max-width: none;
    }
    #mailform .table_bottom_border th{
        font-size: 16px;
        max-width: none;
        width: 100%;
    }
    .required {
        font-size: 12px;
        padding: 3px 6px;
        border-radius: 4px;
        margin-right: 6px;
    }
    #mailform .table_bottom_border td {
        font-size: 16px;
        max-width: none;
        width: 100%;
    }
    #mailform label.checkbox{
        font-size: 14px;
        padding: 0 0 0 35px !important;
    }
    #mailform label.checkbox:after{
        width: 18px !important;
        height: 18px !important;
    }
    #mailform .checkbox:before{
        top: 4px !important;
        left: 7px !important;
    }
    #mailform .term2{
        margin-bottom: 60px !important;
        max-height: 160px !important;
        padding: 25px 28px !important;
        font-size: 14px !important;
    }
    #mailform .term2 .title{
        font-size: 18px;
        padding-left: 10px;
        border-left: 4px solid #c55c0b;
        margin-bottom: 10px;
    }
    #submitBtn{
        width: 300px !important;
        height: 70px !important;
        font-size: 18px !important;
    }
    #mailform .seal p{
        font-size: 12px !important;
        margin: 0 0 0 10px !important;
    }
    #mailform .seal a{
        width: 50px !important;
    }
    #mailform #backBtn {
        width: 300px !important;
        height: 70px !important;
        font-size: 18px !important;
        margin-top: 60px !important;
    }
}
@media screen and (max-width: 399px){
    .about_top_text{
        margin-bottom: 25px !important;
    }
    .from-h2{
        font-size: 4vw;
    }
    #mailform .term2{
        padding: 15px 18px !important;
        font-size: 12px !important;
    }
    #mailform .term2 .title{
        font-size: 16px;
    }
    #submitBtn{
        width: 280px !important;
        height: 62px !important;
    }
    #mailform #backBtn {
        width: 280px !important;
        height: 62px !important;
        margin-top: 50px !important;
    }
}

/*
    完了ページ
*/
section{
    padding-bottom: 100px;
}
.from-h2.thanks-h2{
    font-size: 36px;
    max-width: none;
}
.input_btn.backbtn{
    width: 260px;
    height: 50px;
    border-radius: 100px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px auto 0;
    font-size: 18px;
    font-family: var(--mincho);
    font-weight: bold;
    position: relative;
}
.input_btn.backbtn::after{
    content: "";
    display: inline-block;
    background-image: url(../img/common/icon-arrow-right--white.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    /*position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 13px;
    z-index: 1;*/
    margin-left: 8px;
    transition: 0.3s;
}
@media screen and (max-width: 1365px){
    .from-h2.thanks-h2{
        font-size: 30px;
    }
}
@media screen and (max-width: 767px){
    .from-h2.thanks-h2{
        font-size: 24px;
    }
}
/* @media screen and (max-width: 399px){
    .from-h2{
        font-size: 6vw;
    }
} */