body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.header{
    max-width: 720px;
    min-width: 360px;
    height: 57px;
    padding: 5px;
    width: 100%;
    margin: 0 auto;
}
.header img{
    max-width: 720px;
    min-width: 300px;
    width: 20%;
}

.page-contain{
    max-width: 720px;
    min-width: 360px;
    margin: 3rem auto;
    text-align: center;
}

.page-contain h1{
    color: #ff6900
}

.midashi{
    max-width: 700px;
    padding: 0.5rem;
}

.row-container{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* 修正：aタグのセレクタを追加 */
.contentlink a,
.contentlink a:link,
.contentlink a:visited,
.contentlink a:hover,
.contentlink a:active {
    display: block;
    height: 100%;
    color: #000 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    /* Edge対応 */
    -ms-text-decoration: none;
    text-decoration-skip: none;
    text-decoration-skip-ink: none;
}

.row-container-in, .row-container-in-li{
    background-color: #fffcdb;
    border: 1px solid #e6d700;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
}

.ti{
    margin: 0.5rem;
    font-size: 1.4rem;
}
.te{
    margin: 0.5rem;
    font-size: 0.9rem;
}

.telno{
    font-size: 1.7rem;
    color: #ff6900;
}

@media screen and (min-width: 701px) {
    .row-container-in{
        margin: 0.8rem;
    }
    .row-container-in-li{
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .row-container-in-li{
        display: block;
        margin: 0.5rem;
        padding: 0.5rem;
    }
    .row-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    .row-container-in{
        margin: 0.5rem;
        padding: 0.5rem;
    }
}

.row-container-bt{
    padding-top: 1rem;
    text-align: center;
}

.row-container-tx{
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
    flex-grow: 1;
}

.inquiry-form{
    margin-top: 3rem;
}

.form-area{
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

@media screen and (max-width: 700px) {
    .form-area{
margin: 0.5rem;
    }
}

.form-area textarea{
    padding: 0.5rem;
    width: 90%;
}



.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.wpcf7 textarea {
    resize: vertical;    /* 縦方向のみ */
    line-height: 1.5;
}

/* スマホでは完全にリサイズ無効 */
@media screen and (max-width: 700px) {
    .wpcf7 textarea {
        resize: none;
    }
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #ff6900;
    box-shadow: 0 0 0 2px rgba(255, 105, 0, 0.2);
}



.wpcf7 input[type="submit"] {
    background: #ff6900;
    border: none;
    color: white;
    padding: 12px 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: block;
    margin: 20px auto 0; /* 中央配置 */
}

.wpcf7 input[type="submit"]:hover {
    background: #e55a00;
}

/*.screen-reader-response {
    background-color: #e6ffe6;
    border: 2px solid #4CAF50;
    color: #2d5016;
}*/

.wpcf7 form.sent .wpcf7-response-output {/* 送信ボタン下完了時 */
    border-color: #8cebe5;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {/* 送信ボタン下未入力警告 */
    border-color: #f88;
}
.wpcf7-not-valid-tip {/* 必須未入力項目下の文章 */
    color: #f88;
    font-size: 12px;
}


<!-- footer -->


.footer{
    position: relative;
}
.ftlogo{
    text-align: center;
    margin-bottom: 40px;
}
.ftlogo img{
    width: 150px;
}
.tophover img{
    position: fixed;
    bottom: 20px;
    right: 15px;
    width: 20%;
    max-width: 116px;
}

.copyright {
    padding: 20px 0 100px;
    line-height: 1.4em;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    background: #000;
    text-align: center;
    box-sizing: border-box;
}

@media screen and (max-width: 720px) {
    .copyright {
        padding: 3.33vw 0 10.22vw;
        line-height: 4.44em;
        font-size: 3.33vw;
        font-weight: 500;
        color: #fff;
        background: #000;
        text-align: center;
        box-sizing: border-box;
    }
}











<!-- footer縺翫＠縺ｾ縺� -->
.wpcf7 .hidden-fields-container {
    display: none;
}

