/*
 Theme Name:   Arkhe Child
 Theme URI:    https://www.kmadsystem.jp/arkhe-child/
 Description:  arkhe-child theme
 Author:       LOOS,Inc.
 Author URI:   https://www.kmadsystem.jp
 Template:     arkhe
 Version:      3.12.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  arkhe-child
*/

/*arkheの子テーマ用cssです*/

/*reset css*/
html {
    margin-top: 0 !important;
}

body,
input,
textarea,
button {
    font-family: YuGothic, "游ゴシック体", Yu Gothic, "游ゴシック", Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    background: transparent;
}


/***問い合わせフォーム***/
.wpcf7 .hidden-fields-container {
    display: none;
}

.inquiry-form .form-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}

.inquiry-form .form-label {
    font-weight: 700;
    padding: 14px 0;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    vertical-align: middle;
    width: 175px;
}

.inquiry-form .required {
    color: #ff3636;
    margin-left: 10px;
}

.inquiry-form input,
.inquiry-form textarea {
    flex: 1;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    appearance: none;
    display: block;
    border: 1px solid #aaa;
    padding: 13px 20px;
    outline: none;
    resize: none;
    width: 500px;
    box-sizing: border-box;
}

.inquiry-form input:focus-visible,
.inquiry-form textarea:focus-visible {
    border: 1px solid #111;
}

.inquiry_privacy,
.inquiry_recaptcha {
    text-align: center;
    font-weight: 500;
    letter-spacing: 0;
    padding: 20px 0;
}

.inquiry_privacy {
    font-size: 16px;
    line-height: 24px;
    color: #333;
}

.inquiry_recaptcha {
    font-size: 14px;
    line-height: 23px;
    color: #888;
    margin-bottom: 40px;
}

.inquiry_privacy a:hover,
.inquiry_recaptcha a:hover {
    text-decoration: none;
}

/*送信ボタン*/
.form-submit {
    width: 230px;
    margin: 0 auto;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: #333;
    border: 1px solid #333;
}

.form-submit .btn {
    width: 100%;
    height: 100%;
    font-weight: 700;
    border: none;
    transition: all 0.5s;
}

.form-submit::before {
    position: absolute;
    z-index: -1;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #333;
    transition: transform .5s ease-in-out;
    transform: translateX(-101%);
}

.form-submit:hover::before {
    transform: translateX(0);
}

.form-submit:hover .btn {
    color: #fff;
}

.form-submit .inquiry_arrow {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: all 0.5s;
}

.form-submit:hover .inquiry_arrow {
    filter: invert(88%) sepia(100%) saturate(0%) hue-rotate(308deg) brightness(107%) contrast(107%);
}

/*wpcf7-spinner非表示*/
.wpcf7-spinner {
    display: none;
    width: 0;
    height: 0;
}

/*recaptcha保護マーク非表示*/
.grecaptcha-badge {
    visibility: hidden;
}

/*メッセージ*/
.wpcf7-not-valid-tip {
    font-weight: 500;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
    background: #ffbdb5;
    font-weight: 500;
}


/* スマホ時は縦並び */
@media (max-width: 600px) {

    .inquiry-form .form-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .inquiry-form .form-label {
        flex: none;
        margin-bottom: 0.3em;
        padding: 0;
    }

    .inquiry-form input,
    .inquiry-form textarea {
        width: 100%;
    }

    .inquiry_privacy,
    .inquiry_recaptcha {
        text-align: left;
        padding: 10px 0;
    }

    .inquiry_privacy {
        font-size: 16px;
        line-height: 27px;
    }

    .inquiry_recaptcha {
        font-size: 13px;
        line-height: 22px;
        margin-bottom: 30px;
    }

}