/*
 * Compatibility styles for legacy Contact Form 7/page markup.
 * Scoped to generic content so the renewal home/brand layouts are untouched.
 */
.entry-content .clear { clear: both; }
.entry-content .red { color: #cb0000; }
.entry-content .m-t10 { margin-top: 10px; }
.entry-content .m-t15 { margin-top: 15px; }
.entry-content .m-t20 { margin-top: 20px; }
.entry-content .m-b15 { margin-bottom: 15px; }
.entry-content .m-b20 { margin-bottom: 20px; }
.entry-content .hosoku { display: block; line-height: 1.4; font-size: 12px; color: #888; margin-top: 10px; }

.entry-content .formwaku {
    padding: 12px 10px;
    border-bottom: 1px dashed #ccc;
    overflow: hidden;
}
.entry-content .formwaku-l {
    width: 35%;
    float: left;
    padding-top: 7px;
}
.entry-content .formwaku-r {
    width: 60%;
    float: right;
}

.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 input[type="tel"],
.entry-content .wpcf7 input[type="url"],
.entry-content .wpcf7 input[type="number"],
.entry-content .wpcf7 input[type="date"],
.entry-content .wpcf7 input[type="datetime-local"],
.entry-content .wpcf7 select,
.entry-content .wpcf7 textarea {
    box-sizing: border-box;
    max-width: 100%;
    padding: 8px 9px;
    color: #4f514f;
    font: inherit;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 0;
}
.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 input[type="tel"],
.entry-content .wpcf7 input[type="url"],
.entry-content .wpcf7 input[type="number"],
.entry-content .wpcf7 input[type="date"],
.entry-content .wpcf7 input[type="datetime-local"],
.entry-content .wpcf7 select {
    width: min(100%, 320px);
    margin-bottom: 4px;
}
.entry-content .wpcf7 textarea {
    width: 95%;
    min-height: 120px;
    resize: vertical;
}
.entry-content .wpcf7 input:focus,
.entry-content .wpcf7 select:focus,
.entry-content .wpcf7 textarea:focus {
    outline: 2px solid rgba(83, 97, 89, .18);
    outline-offset: 1px;
    background: #fff;
}
.entry-content .wpcf7 .wpcf7-list-item {
    display: block;
    margin: 0 0 .5em;
}
.entry-content .wpcf7 input[type="checkbox"],
.entry-content .wpcf7 input[type="radio"] {
    width: auto;
    margin-right: .35em;
}
.entry-content .wpcf7 input[type="file"] {
    max-width: 100%;
}
.entry-content .wpcf7 .wpcf7-submit,
.entry-content .wpcf7 .wpcf7c-btn-confirm,
.entry-content .wpcf7 .wpcf7c-btn-back {
    display: inline-block;
    min-width: 200px;
    border: 0;
    padding: 11px 20px;
    margin: 8px 6px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.entry-content .wpcf7 .wpcf7-submit { background: #1f2b25; }
.entry-content .wpcf7 .wpcf7c-btn-confirm { background: #9a6a32; }
.entry-content .wpcf7 .wpcf7c-btn-back { background: #666; }
.entry-content .wpcf7 .wpcf7-submit:hover,
.entry-content .wpcf7 .wpcf7c-btn-confirm:hover,
.entry-content .wpcf7 .wpcf7c-btn-back:hover { opacity: .75; }

/* Legacy form/page helpers still used in saved WordPress content. */
.entry-content .enq-box .wpcf7-list-item { margin-bottom: .5em; }
.entry-content .enq-box td { border-bottom: 0; padding: 10px 0 15px; }
.entry-content .clm-box table,
.entry-content .enq-box table,
.entry-content .inq-prv table { width: 100%; }
.entry-content #text-food,
.entry-content .enq-box textarea { width: 95%; }
.entry-content .lay-box { border: 1px solid #ccc; margin: 5px 0; }
.entry-content .lay-box th,
.entry-content .lay-box td { text-align: center; font-weight: 400; border-bottom: 0; }
.entry-content .lay-box td { padding: 5px 5px 10px; }
.entry-content .lay-box select { width: min(100%, 400px); }
.entry-content .lay-box input { width: min(100%, 150px); }
.entry-content .lay-box td.age input { width: 40px; text-align: center; }
.entry-content .sub-tit { display: flex; font-weight: 700; padding-bottom: 15px; color: #8b7553; }
.entry-content .sub-tit.pt { padding-top: 15px; padding-bottom: 5px; }
.entry-content .sub-tit::before { content: "●"; margin-right: 5px; }
.entry-content .wpcf7-free-text { padding: 3px; }
.entry-content .size-choice { display: flex; align-items: center; }
.entry-content .size-choice .wpcf7-checkbox { display: flex; justify-content: flex-start; flex-wrap: wrap; }
.entry-content .size-choice .wpcf7-checkbox span { padding-right: .75rem; }

@media (max-width: 700px) {
    .entry-content .formwaku-l,
    .entry-content .formwaku-r {
        width: 100%;
        float: none;
    }
    .entry-content .formwaku-l {
        padding: 0 0 7px;
        font-weight: 700;
    }
    .entry-content .wpcf7 input[type="text"],
    .entry-content .wpcf7 input[type="email"],
    .entry-content .wpcf7 input[type="tel"],
    .entry-content .wpcf7 input[type="url"],
    .entry-content .wpcf7 input[type="number"],
    .entry-content .wpcf7 input[type="date"],
    .entry-content .wpcf7 input[type="datetime-local"],
    .entry-content .wpcf7 select,
    .entry-content .wpcf7 textarea {
        width: 100%;
    }
    .entry-content .wpcf7 .wpcf7-submit,
    .entry-content .wpcf7 .wpcf7c-btn-confirm,
    .entry-content .wpcf7 .wpcf7c-btn-back {
        width: 100%;
        min-width: 0;
        margin-inline: 0;
    }
}
