@charset "utf-8";

/*-----------------
 フォーム：全体
-----------------*/
.form_wrap_wrap {
    padding: 0 60px;
    margin: auto;
    max-width: 980px;
}
.form_wrap{
    margin-bottom: 40px;
} 
.form_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 4px;
}
.form_title .required{
    background-color: var(--cta-color);
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    padding: 2px 4px;
}
.form_title .assist{
    color: var(--gray);
    font-size: 1.4rem;
    font-weight: 400;
}
input::placeholder {
    font-size: 1.6rem;
    color: #A2A2A2;
}
.form_text_click {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--black);
    font-size: 1.6rem;
    padding: 12px;
    height: 50px;
    width: 100%;
}
.form_text_click:focus {
    border-color: var(--main-color);
    outline: 0;
}
.form_text_textarea {
    height: 120px;
}
.form_text_textarea#street {
    height: 60px;
}

@media screen and (max-width: 768px) {
    .form_wrap_wrap {
        padding: 0;
    }
    .form_wrap{
        margin-bottom: 32px;
    }
    .form_wrap.flex{
        gap: 16px;
    }
}

/* エラー */
.form_error{
    color: red;
    text-align: center;
    margin-bottom: 32px;
}
input.error,
textarea.error{
    border-color: red;
}

/*-----------------
　名前
-----------------*/
.form_wrap.flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form_inner {
    width: 100%;
}

/*-----------------
　お問い合わせ種別
-----------------*/
.form_select_wrap{
    position: relative;
}

.form_select_wrap::after{
    content: "";
    border-top: solid 2px var(--black);
    border-right: solid 2px var(--black);
    margin: auto;
    width: 7px;
    height: 7px;
    transform: rotate(135deg);
    pointer-events: none;
    position: absolute;
    top: -1px;
    right: 14px;
    bottom: 0;
}

.form_select {
    appearance: none;
}

/*-----------------
　個人情報の取り扱い
-----------------*/
.info_checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.text_consent {
    cursor: pointer;
    display: inline-block;
    padding: 0 0 0 40px;
    position: relative;
}

.text_consent:before {
    content: "";
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 24px;
}

.text_consent:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 8px;
    margin-top: -10px;
    width: 6px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 1px;
    transform: rotate(45deg);
    opacity: 0;
}

input[type=checkbox]:checked + .text_consent:before{
    background-color: var(--main-color);
    border: none;
}

input[type=checkbox]:checked + .text_consent:after {
    opacity: 1;
}

.consent_content {
    line-height: 1.7;
    letter-spacing: 0.016em;
    margin-bottom: 40px;
}

.info_private_policy {
    color: var(--main-color);
}

@media screen and (max-width: 768px) {
    .consent_content{
        margin-bottom: 32px;
    }
}

/*-----------------
　Google reCAPTCHA
-----------------*/
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/*-----------------
　ボタン
-----------------*/
.submit_btn {
    text-align: center;
}

input[type="submit"] {
    font-size: 1.6rem;
    margin: auto;
}

input[type="submit"]:disabled{
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    input[type="submit"] {
        padding: 16px;
        width: 100%;
    }
}

/*-----------------
フォーム項目非表示用
-----------------*/
.form-hide {
    display: none;
}

.contact_wrap-hide {
    display: none;
}
