/* フォーム ページ専用スタイル */

/* テーブルセル内のpタグのマージンを除去 */
/* .inquiry td p {
    margin: 0;
} */

.bg-g {
background-color: #eff1f5;
}
.container {
display: flex;
justify-content: start;
align-items: center;
}

.container .label {
width:40%;
font-weight: bold;
}

.container .s-1 {
margin-right: 10px;
}
.container .select-item-s {
width:30%;
}
.container .select-item-b {
width:60%;
}
.required-item {
color: #ff0000;
}

.banner-container {
width: 100%;
margin-bottom: 20px;
}
.banner {
width: 100%;
height: auto;
display: none;
}

@media screen and (max-width:768px){
    .wpcf7 .container {
        flex-wrap: wrap;
    }
    .wpcf7 .container .label {
        flex: 1 1 100%; 
    }
    .wpcf7 .container .select-item-s {
        width: calc(50% - 10px);
    }
    .wpcf7 .container .select-item-b {
        flex: 1;
    }
}

@media screen and (min-width: 768px) {
.pc-banner {
display: block;
}
}
@media screen and (max-width: 767px) {
.mobile-banner {
display: block;
}

}

/* FV上下の短縮・パンくず縮小（SP） */
@media screen and (max-width: 768px) {
    .sgb-full-bg.sgb-full-bg--first-no-margin {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
    #breadcrumb {
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }
    /* SP非表示テキスト */
    .sp-hide {
        display: none;
    }
}

/* 入力成功サイン */
.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}
.input-success-sign {
    display: none;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%232a9d2a'/%3E%3Cpath d='M4,10 L7,13 L14,6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}
.input-success-sign.show {
    display: block;
}
/* 問い合わせをしたきっかけ：ドロップダウン矢印を左に移動 */
.wpcf7-form-control-wrap select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1,1 L6,7 L11,1' stroke='%23444' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 12px;
    padding-left: 30px;
}
/* チェックボックス・テキストエリア行は縦中央 */
.wpcf7-form-control-wrap[data-name="checkbox-3"] .input-success-sign,
.wpcf7-form-control-wrap[data-name="checkbox-4"] .input-success-sign,
.wpcf7-form-control-wrap[data-name="your-message"] .input-success-sign {
    top: 50%;
    transform: translateY(-50%);
}

/* ① スパムチェック：テキスト赤太字・チェックボックスを目立たせる */
.wpcf7-acceptance label {
    color: #d00;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    min-height: 22px;
    border: 2px solid #d00;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 8px;
    margin-top: 0;
    position: relative;
}
.wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #d00;
}
.wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: "";
    display: block;
    width: 6px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 6px;
}

/* ⑤ 送信ボタン：ホバー・タップ時のスタイル崩れ修正 */
#formbtn:hover,
#formbtn:active {
    background: #e0944a !important;
    color: #fff !important;
    outline: none;
}

.wpcf7-not-valid-tip{
    background: #ffffff;
}
.entry-content p {
    margin: 0 0 1em;
}
@media screen and (max-width:768px) {
    .entry-content p{
     margin: 0 0 .75em;
    }
}