.header-nav .contact .header-nav-item {
    border: 2px solid #21a4dc;
    border-radius: 25px;
}

/* =========================
   お問い合わせ
========================= */
.sec.contact {
    margin: 0;
    padding: 60px 0 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .sec .ttl, .sec .ttl-j, .sec .ttl-e は page.css で定義 */
.sec.contact .ttl {
    margin-bottom: 32px;
    text-align: center;
}

.sec.contact .ttl-e {
    top: 32%;
    color: #f4f8f9;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
}

.sec.contact .text {
    margin-bottom: 48px;
    width: 100%;
    max-width: 1000px;
}

.sec.contact .text h3 {
    margin: 0 0 12px;
    font-weight: bold;
    font-size: 3rem;
    line-height: 1.55;
}

.sec.contact .text p {
    margin: 0;
    color: #686868;
    font-weight: bold;
    font-size: 2.2rem;
    line-height: 1.75;
}

.wpcf7 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.wpcf7 form {
    margin: 0 auto 64px;
    font-size: 1.5rem;
    width: 85vw;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-wraper {
    width: 70vw;
    max-width: 1000px;
    margin: 0 auto 64px;
    padding: 64px 72px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    background-color: #f4f8f9;
}

.form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 36px;
}

.sec.contact .form-row.message {
    margin-bottom: 44px;
}

.form-row label {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-weight: bold;
    font-size: 2.2rem;
    line-height: 1.5;
    gap: 20px;
}

.form-row:not(.input-top) input[type="text"],
.form-row:not(.input-top) input[type="email"],
.form-row:not(.input-top) input[type="tel"],
.form-row textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    font-size: 2.2rem;
    line-height: 1.5;
    text-align: left;
    transition: border-color .3s ease;
}

.form-row textarea {
    height: 300px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #0065a1;
    outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #aaaaaa;
}

.wpcf7 .check {
    margin-bottom: 56px;
    font-weight: bold;
    font-size: 2.2rem;
}

.wpcf7 .required {
    padding: 3px 6px;
    background-color: #ea3411;
    color: #ffffff;
    font-size: 1.6rem;
}

.submit {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 32px 120px 32px 60px;
    border-radius: 120px;
    background-color: #21a4dc;
    color: #ffffff;
    font-weight: bold;
    font-size: 2.2rem;
    font-family: "dnp-shuei-gothic-kin-std", sans-serif;
    cursor: pointer;
    transition: transform .3s ease;
}

.btn-submit {
    position: relative;
    display: inline-block;
}

/* Contact Form 7のsubmitボタンを透明にして全体をクリック可能に */
.btn-submit input[type="submit"],
.btn input[type="submit"],
.wpcf7 input[type="submit"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    border: none;
    background: transparent;
    color: transparent;
    font: inherit;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    -webkit-appearance: none;
    appearance: none;
}

/* ボタンのテキストを表示するためのspan要素 */
.btn-submit .btn-text,
.btn .btn-text {
    position: relative;
    z-index: 2;
    pointer-events: none;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
}

.submit-circle {
    position: absolute;
    top: 50%;
    right: 2%;
    z-index: 1;
    transform: translateY(-50%);
    width: 85px;
    height: 85px;
}

.submit-circle svg {
    width: 100%;
    height: auto;
    animation: submit-spin 15s linear infinite;
}

.submit-circle text {
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 1.1px;

    fill: #ffffff;
}

.btn::after {
    position: absolute;
    top: 50%;
    right: 32px;
    z-index: 2;
    transform: translateY(-50%);
    font-size: 3rem;
    content: "→";
}

span.wpcf7-spinner {
    display: none;
}

/* =========================
   回転アニメーション
========================= */
@keyframes submit-spin {
    to {
        transform: rotate(360deg);
    }
}

/* hover */
@media (min-width: 1026px) {
    .btn:hover {
        transform: translateY(-6px);
    }
}


/* =========================
   Tablet (768〜1025px)
========================= */
@media (max-width: 1025px) and (min-width: 768px) {
    .sec.contact {
        padding: 48px 0 64px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sec.contact .ttl {
        margin-bottom: 28px;
    }

    .sec.contact .text {
        margin-bottom: 40px;
    }

    .sec.contact .text h3 {
        font-size: 2.6rem;
    }

    .sec.contact .text p {
        font-size: 2rem;
    }

    .contact-wraper {
        width: 90%;
        max-width: 1000px;
        padding: 56px 48px;
        margin: 0 auto 56px;
    }

    .wpcf7 form {
        width: 100%;
        margin: 0 auto 56px;
        font-size: 1.5rem;
    }

    .form-row {
        margin-bottom: 32px;
    }

    .sec.contact .form-row.message {
        margin-bottom: 40px;
    }

    .form-row label {
        font-size: 2rem;
        margin-bottom: 12px;
        gap: 16px;
    }

    .form-row:not(.input-top) input[type="text"],
    .form-row:not(.input-top) input[type="email"],
    .form-row:not(.input-top) input[type="tel"],
    .form-row textarea {
        padding: 14px 16px;
        font-size: 2rem;
    }

    .form-row textarea {
        height: 280px;
    }

    .wpcf7 .check {
        margin-bottom: 48px;
        font-size: 2rem;
    }

    .btn {
        padding: 28px 56px;
        font-size: 2rem;
    }

    .wpcf7 input[type="submit"] {
        border: none;
        background: transparent;
        color: inherit;
        font: inherit;
        cursor: pointer;
        padding: 0;
    }

    .submit-circle {
        display: none;
    }

    .btn::after {
        display: none;
    }

    span.wpcf7-spinner {
        display: none;
    }
}
/* =========================
   Mobile (~767px) - タブレットの見た目に近づける
========================= */
@media (max-width: 767px) {
    .sec.contact {
        margin: 0;
        padding: 40px 0 56px;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sec.contact .ttl {
        margin-bottom: 24px;
    }

    .sec.contact .ttl-j {
        font-size: 3.4rem;
    }

    .sec.contact .ttl-e {
        top: 40%;
        font-size: 9rem;
    }

    .sec.contact .text {
        margin-bottom: 36px;
        width: 92%;
        max-width: 100%;
    }

    .sec.contact .text h3 {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .sec.contact .text p {
        font-size: 1.3rem;
        line-height: 1.7;
    }

    .contact-wraper {
        width: 92%;
        max-width: 100%;
        padding: 40px 24px 44px;
        margin: 0 auto 48px;
        border-radius: 12px;
    }

    .wpcf7 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .wpcf7 form {
        width: 100%;
        margin: 0 auto 48px;
        font-size: 1.4rem;
    }

    .form-row {
        margin-bottom: 28px;
    }

    .sec.contact .form-row.message {
        margin-bottom: 32px;
    }

    .form-row label {
        font-size: 1.7rem;
        margin-bottom: 12px;
        gap: 12px;
    }

    .form-row:not(.input-top) input[type="text"],
    .form-row:not(.input-top) input[type="email"],
    .form-row:not(.input-top) input[type="tel"],
    .form-row textarea {
        padding: 14px 16px;
        font-size: 1.6rem;
    }

    .form-row textarea {
        height: 240px;
    }

    .wpcf7 .check {
        margin-bottom: 40px;
        font-size: 1.6rem;
    }

    .wpcf7 .required {
        font-size: 1.4rem;
        padding: 2px 5px;
    }

    .submit {
        margin: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .btn {
        padding: 24px 40px 24px 36px;
        font-size: 1.8rem;
        border-radius: 100px;
    }

    .wpcf7 input[type="submit"] {
        border: none;
        background: transparent;
        color: inherit;
        font: inherit;
        cursor: pointer;
        padding: 0;
    }

    .submit-circle {
        display: none;
    }

    .btn::after {
        display: none;
    }

    span.wpcf7-spinner {
        display: none;
    }
}

.wpcf7-turnstile.cf-turnstile {
    display: none;
}