﻿/*---------
お問い合わせ
----------*/

/*----共通ブロック ----*/

.l-page.lower-layer_contact .head_content {
    margin-bottom: calc(80px / 2);
}

.section_content--inquiry {
    background: url("../images/common/content_bg_plaid-pattern.jpg") center / cover no-repeat;
    padding-top: calc(80px / 2);
}

/*----コンテンツブロック ----*/

.md-form-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.md-form-flow__items {
    font-size: calc(32px / 2);
    font-weight: bold;
    color: var(--main-color);
    opacity: .5;
}

.md-form-flow__items.is-active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
}


/* フォーム */

.form-group {
    margin-bottom: calc(50px / 2);
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: calc(32px / 2);
    color: var(--main-color);
    font-weight: bold;
    letter-spacing: 0.06em;
    margin-bottom: calc(30px / 2);
}

.required-badge {
    background: var(--pinpoint-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: calc(24px / 2);
    font-weight: bold;
    color: #fff;
}

.form-row .form-input-wrap {
    margin: 0;
}

.form-input-wrap,
.form-select-wrap,
.form-textarea-wrap {
    margin-left: calc(50px / 2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 6.5px 11.5px;
    border-radius: 5px;
    font-size: calc(24px / 2);
    font-weight: 500;
    background: #fff;
    letter-spacing: 0.06em;
}

.form-select {
    width: calc(272px / 2);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/common/drop_item_icon_on.png");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 10px 8.5px;
    cursor: pointer;
    border: none;
}

.form-select option {
    border: none;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0089D4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-left: calc(50px / 2);
}

.form-note {
    font-size: calc(28px / 2);
    line-height: calc(21 / 14);
    letter-spacing: 0.04em;
    margin-top: calc(20px / 2);
}

.form-textarea {
    min-height: calc(470px / 2);
    resize: vertical;
    font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
    font-size: calc(24px / 2);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #B5B5B5;
    opacity: 1;
}


/* プライバシーポリシー */

.privacy-notice {
    font-size: calc(24px / 2);
    line-height: calc(21 / 12);
    text-align: center;
    margin-bottom: calc(40px / 2);
}

.privacy-notice a {
    color: #333;
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* margin-bottom: calc(80px / 2); */
}

.checkbox-group+.error__text {
    text-align: center;
}

.checkbox-group input[type="checkbox"] {
    width: calc(36px / 2);
    height: calc(36px / 2);
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: calc(24px / 2);
    font-weight: 600;
    color: var(--main-color);
    cursor: pointer;
}

.submit_btn .ui_btn--blue {
    max-width: calc(600px / 2);
    width: 100%;
    height: calc(110px / 2);
}

.send {
    margin-top: 40px;
}

.send .ui_btn--blue {
    max-width: calc(600px / 2);
    width: 100%;
    height: calc(110px / 2);
}

.error__text__wrap {
    width: 100%;
}

.mw_wp_form .error {
    white-space: nowrap;
}

.error__text {
    margin-top: 15px;
}

@media (min-width:768px) {

    /*----共通ブロック ----*/

    .l-page.lower-layer_contact .head_content {
        margin-bottom: 100px;
    }


    .section_content--inquiry {
        padding-top: 100px;
    }

    .section_content--inquiry .content_box {
        max-width: 980px;
        margin: 0 auto;
    }

    /*----コンテンツブロック ----*/

    .md-form-flow {
        gap: 60px;
    }

    .md-form-flow__items {
        font-size: 18px;
    }

    .md-form-flow__items.is-active {
        text-underline-offset: 10px;
    }

    /* フォーム */

    .form-group {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
    }

    .form-group:nth-child(2) {
        align-items: flex-start;

    }

    .form-group:nth-child(2) .form-label {
        justify-content: center;
        margin-top: 12px;
        padding-left: 27px;
    }

    .form-group:nth-child(7) {
        align-items: flex-start;
    }

    .form-group:nth-child(7) .form-label {
        margin-top: 12px;
    }

    .form-label {
        font-size: 16px;
        margin: 0;
        width: 223px;
        flex-direction: row-reverse;
        justify-content: left;
        flex-shrink: 0;
    }

    .required-badge {
        padding: 2px 10px;
        font-size: 12px;
        letter-spacing: 0.06em;
    }

    .form-input-wrap,
    .form-select-wrap,
    .form-textarea-wrap {
        width: 100%;
        margin: 0;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 10px;
        border-radius: 5px;
        font-size: 16px;
    }

    .form-select {
        width: 220px;
        padding-left: 20px;
        background-position: right 10px center;
        background-size: 14px 12px;
    }

    .form-row {
        width: 100%;
        margin: 0;
    }

    .form-note {
        font-size: 16px;
        line-height: calc(30 / 16);
        margin-top: 10px;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        font-size: 16px;
        padding-left: 10px;
    }


    /* プライバシーポリシー */

    .privacy-notice {
        font-size: 16px;
        line-height: calc(30 / 16);
        letter-spacing: 0.06em;
        margin-bottom: 60px;
    }

    .checkbox-group {
        /* margin-bottom: 80px; */
    }

    .checkbox-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border-radius: 3px;
    }

    .checkbox-label {
        gap: 20px;
        font-size: 16px;
    }

    .submit_btn .ui_btn--blue {
        max-width: 300px;
        height: 60px;
    }

    .send .ui_btn--blue {
        max-width: 300px;
        height: 60px;
    }
}

/*---------
確認画面
----------*/

/*----共通ブロック ----*/

/*----コンテンツブロック ----*/

.form-confirm-row {
    display: flex;
    align-items: flex-start;
}

.form-confirm-row:not(:last-child) {
    margin-bottom: calc(60px / 2);
}

.form-confirm-label,
.form-confirm-value {
    font-size: calc(32px / 2);
    letter-spacing: 0.06em;
    word-break: break-all;
}

.form-confirm-label {
    width: calc(286px / 2);
    font-weight: bold;
    color: #0089D4;
    flex-shrink: 0;
}

.form-confirm-value {
    font-weight: 500;
    color: #333333;
}

.form-confirm-inquiry {
    margin-bottom: calc(80px / 2);
}

.form-confirm-inquiry .form-confirm-label {
    margin-bottom: calc(30px / 2);
}

.form-confirm-content {
    font-size: calc(32px / 2);
    font-weight: 500;
    letter-spacing: 0.06em;
    word-wrap: break-word;
}

.form-button-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.form-button-group .ui_btn--blue {
    max-width: calc(280px / 2);
    width: 100%;
    height: calc(110px / 2);
    margin: 0;
}

.ui_btn--blue.form-btn--back::after {
    left: 10%;
    right: inherit;
    transform: rotate(180deg);
}

.ui_btn--blue.form-btn--submit::after {
    right: 10%;
}


.ui_btn--blue.form-btn--back::before {
    transform: skewX(0) translateX(150%);
}

/* ホバー時の動き（共通） */
.ui_btn--blue.form-btn--back:hover::before {
    transform: skewX(0) translateX(0);
}

@media (min-width:768px) {

    /*----共通ブロック ----*/

    /*----コンテンツブロック ----*/

    .form-confirm-row:not(:last-child) {
        margin-bottom: 50px;
    }

    .form-confirm-label,
    .form-confirm-value {
        font-size: 16px;
    }

    .form-confirm-label {
        width: 165px;
    }

    .form-confirm-inquiry {
        display: flex;
        align-items: flex-start;
        margin-bottom: 80px;
    }

    .form-confirm-inquiry .form-confirm-label {
        margin: 0;
    }

    .form-confirm-content {
        font-size: 16px;
    }

    .form-button-group {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
    }

    .form-button-group .ui_btn--blue {
        max-width: 200px;
        height: 60px;
    }

    .ui_btn--blue.form-btn--back::after {
        left: 5%;
    }

    .ui_btn--blue.form-btn--submit::after {
        right: 5%;
    }

}

/*---------
完了画面
----------*/

/*----共通ブロック ----*/

.l-page.lower-layer_thanks .section_content--inquiry {
    padding: 40px 0 50px;
}

/*----コンテンツブロック ----*/

.form-complete__message {
    font-size: calc(32px / 2);
    font-weight: 500;
    line-height: calc(28 / 16);
    letter-spacing: 0.06em;
    width: fit-content;
    margin: 0 auto 40px;
}

.form-complete .ui_btn--blue {
    max-width: calc(600px / 2);
    height: calc(110px / 2);
}

@media (min-width:768px) {

    /*----共通ブロック ----*/

    .l-page.lower-layer_thanks .section_content--inquiry {
        padding: 100px 0;
    }

    /*----コンテンツブロック ----*/

    .form-complete__message {
        font-size: 24px;
        line-height: calc(42 / 24);
        text-align: center;
        margin-bottom: 80px;
    }

    .form-complete .ui_btn--blue {
        max-width: 300px;
        height: 60px;
    }
}

.section_content--contact {
    padding-top: calc(100px / 2);
}

@media (min-width:768px) {
    .section_content--contact {
        padding-top: 100px;
    }
}