/*!
Theme Name: gatewing-vr17
Text Domain: gatewing-vr17
*/

/*body {
    padding: 0;
    margin: 0;
    font-family: "IwaOGoPro-Md","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    
}


h1, h2, h3, h4, h5, h6{
    font-family: "IwaUDGoDspPro-Eb";
}
*/


body {
    padding: 0;
    margin: 0;
    /*    font-family: TelopMinProN-D, "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;*/
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;

}

/* プレオープン⇒サイトトップ切り替え時以下を削除*/
#masthead,
#colophon.site-footer {
    display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Marcellus", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    letter-spacing: 2px;
}


a.footer_privacy {
    color: #f3ede0;
    text-decoration: underline;
}

a.footer_privacy:hover {
    color: #dbd7ce;
}


/*---------メニューページ------------*/
.menu-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
    color: color: var(--e-global-color-text);
    /*text-align: right;*/
    line-height: 1.4em;
    font-size: 0.9em;
}

.menu-height {
    line-height: 1.4em;
    font-weight: bold;
    margin: 0;
}

.desc {
    font-size: 75%;
    line-height: 1.5em;
    margin: 0 0 0;
    color: #562727;
    clear: both;
}

.desc2 {
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 0 0 0;
    color: var(--e-global-color-text);
    clear: both;
    text-align: right;
}


.text-right {
    text-align: right;
}

.ttl_new h3 .new {
    text-align: center;
    vertical-align: middle;
    font-size: 0.5em;
    color: #ffffff;
    background-color: #8F1E1C;
    padding: 0.2em 0.3em;
    margin-top: 0.1em;
    margin-right: 0.5em;
    line-height: 1.4;
}

.privacy_h3 {
    margin-top: 2em;
}

.privacy_a {
    color: var(--e-global-color-accent);
}

.privacy_a:hover {
    color: var(--e-global-color-a05ec84);
}

/* Forms
--------------------------------------------- */
.default-table {
    border-top: 1px solid #c7c7c7;
    border-left: 1px solid #c7c7c7;
}

.default-table tbody tr th,
.default-table tbody tr td {
    border-right: 1px solid #c7c7c7;
    border-bottom: 1px solid #c7c7c7;
    padding: 10px;
    background: #fff;
}

.default-table tbody tr th {
    font-weight: normal;
    text-align: left;
    background-color: #F9D330;
    width: 300px;
    color: #000;
}

.default-table td input,
.default-table td textarea {
    padding: 10px;
    /* padding:6px;*/
    width: 95%;
}

#contact_submit {
    text-align: center;
    padding-top: 30px;
}

#contact_submit_flex {
    display: flex;
    justify-content: center;
}

#contact_submit_flex p {
    text-align: center;
}

#contact_submit input,
#contact_submit_flex input {
    width: 150px;
    padding: 15px;
    margin: 10px;
    cursor: pointer;
    font-size: 15px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: var(--e-global-color-text);
    color: #fff;
    border: 1px solid;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #330C0BBA;
    transition: 0.3s;
}


button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
    padding: 10px;
    width: 50%;
}

textarea {
    width: 100%;
}

.wpcf7-spinner {
    display: none !important;
}



/*---reCAPTCHA v3---*/
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha {
    font-size: 13px;
    color: #797979;
    padding: 0 15px;
}

@media (max-width:767px) {

    .menu-box,
    .desc2 {
        /*    font-size: 13px;*/
    }
}


/* ipad pc -----------------------*/
@media screen and (min-width:768px) {
    .sp_only {
        display: none !important;
    }
}

/* sp ---------------------------*/
@media (max-width:767px) {
    .pc_only {
        display: none !important;
    }


    /* Forms
--------------------------------------------- */
    .default-table tbody tr th,
    .default-table tbody tr td {
        display: block
    }

    .default-table tbody tr td input,
    .default-table tbody tr td textarea {
        /*      max-width:280px;*/
        max-width: 300px;

    }

    .default-table tbody tr th {
        width: 100%;
    }

    select {
        width: 70%;
    }

    .wpcf7-form-control-wrap input {
        font-size: 16px;
    }

    .wpcf7-form-control-wrap textarea {
        font-size: 16px;
    }


}

/* --- フォーム全体 --- */
.mw_wp_form {
    width: 100%;
    margin: 20px auto;
    border: 1px solid #eee;
    background: #fff;
    box-sizing: border-box;
}

/* フォームが自動で <p> タグで囲まれるのを防ぐ */
.mw_wp_form p {
    margin-bottom: 0;
}

/* --- Flexbox 行 --- */
.mw-flex-row {
    display: flex;
    flex-wrap: wrap;
    /* スマホ用に折り返しを許可 */
    border-bottom: 1px solid #eee;
}

.mw_wp_form>.mw-flex-row:last-of-type {
    border-bottom: none;
    /* 最後の項目の下線は消す */
}

/* --- ラベル (左側) --- */
.mw-flex-label {
    flex-basis: 290px;
    /* PC時の幅を固定 */
    flex-shrink: 0;
    background-color: #f9d330;
    /* 黄色 */
    padding: 20px 25px;
    font-weight: bold;
    box-sizing: border-box;
    border-right: 1px solid #eee;
}

.mw-flex-label label {
    display: block;
    /* 入力欄のpadding(12px)と高さをなんとなく合わせる */
    padding-top: 10px;
}

/* お問い合わせ内容(textarea)の行だけ上揃えにする */
.mw-flex-row:has(textarea) .mw-flex-label {
    padding-top: 20px;
    display: flex;
    align-items: center;
}

.mw-flex-row:has(textarea) .mw-flex-label label {
    padding-top: 0;
}


/* --- 入力フィールド (右側) --- */
.mw-flex-field {
    flex-basis: 0;
    flex-grow: 1;
    /* 残りの幅をすべて取る */
    padding: 20px 25px;
    box-sizing: border-box;
}

/* --- 必須・任意 --- */
.mw-flex-label span[style*="#c70018"] {
    color: #c70018 !important;
    font-weight: normal;
    font-size: 0.9em;
    margin-left: 8px;
}

.mw-flex-label span.optional {
    color: #333;
    font-weight: normal;
    font-size: 0.9em;
    margin-left: 8px;
}

/* --- 入力フィールドのスタイル --- */
.mw-flex-field input[type="text"],
.mw-flex-field input[type="email"],
.mw-flex-field input[type="tel"],
.mw-flex-field select {
    width: 100%;
    max-width: 500px;
    /* 画像のように右側に余白を作る */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    margin: 0;
}

.mw-flex-field textarea {
    width: 100%;
    max-width: 100%;
    /* テキストエリアは常に幅100% */
    height: 180px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    margin: 0;
}

/* 電話番号の注釈 */
.mw-flex-field p.form-note {
    margin: 8px 0 0 0;
    font-size: 0.85em;
    color: #555;
    line-height: 1.5;
}

/* --- レスポンシブ対応 (768px以下の画面) --- */
@media screen and (max-width: 768px) {
    .mw-flex-row {
        flex-direction: column;
        /* 縦積みに変更 */
    }

    .mw-flex-label {
        flex-basis: auto;
        /* 幅を自動に */
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
    }

    .mw-flex-label label {
        padding-top: 0;
        /* スマホでは不要 */
    }

    .mw-flex-field {
        width: 100%;
        padding: 15px;
    }

    /* スマホ時は入力欄の最大幅を解除 */
    .mw-flex-field input[type="text"],
    .mw-flex-field input[type="email"],
    .mw-flex-field input[type="tel"],
    .mw-flex-field select {
        max-width: 100%;
    }
}

/* --- 認証と送信ボタン --- */
/* --- 認証と送信ボタン --- */
.mw-flex-captcha,
.mw-flex-submit {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.mw-flex-submit {
    background-color: transparent;
    /* 背景色を透明に */
    /* もしくは、この行ごと削除してもOKです */
}

.mw-flex-submit input[type="submit"] {
    margin-bottom: 15px;
    background-color: #330c0b;
    color: #ffffff;
    border: none;
    padding: 15px 60px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0px;
    transition: background-color 0.3s ease;
}

.mw-flex-submit input[type="submit"]:hover {
    background-color: #330C0BBA;
}

@media screen and (max-width: 768px) {
    .mw-flex-submit input[type="submit"] {
        margin-bottom: 15px;
    }
}