.contact {

    h1 {
        position: relative;
        text-align: center;
        background-color: rgb(245, 225, 187);

        font-weight: bold;
        font-family: 'Shippori Mincho', serif;
        font-size: 18px;

        color: rgb(31, 45, 61);
        /* header ネイビーブルー */

        padding: 12px;
        margin: 0 -18px 16px;

        @media (width <=767px) {
            margin: 0 -14px 16px;
        }

        &::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 8px;
            width: 8px;
            height: 100%;
            background-color: rgb(31, 45, 61);
        }
    }

    .contact-intro {
        text-align: center;
        margin-bottom: 2rem;
        color: #374151;
        font-size: 1rem;
    }

    .contact-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .contact-option {
        padding: 1.5rem;
        border: 1px solid #888;
        border-radius: 8px;

        h3 {
            margin-bottom: 0.8rem;
            font-size: 1.1rem;
            font-weight: 600;
        }

        p {
            margin-bottom: 1rem;
            color: #374151;
            font-size: 0.95rem;
        }
    }

    .btn-line {
        display: inline-block;
        background: #06c755;
        /* LINEカラー */
        color: #fff;
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        font-weight: 600;
        text-align: center;
        transition: background 0.2s;

        &:hover {
            background: #05b94b;
        }
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        .form-group {
            display: flex;
            flex-direction: column;

            label {
                font-weight: 600;
                margin-bottom: 0.3rem;
            }

            input,
            textarea {
                padding: 0.7rem;
                border: 1px solid #d1d5db;
                border-radius: 6px;
                font-size: 1rem;

                &:focus {
                    border-color: #0ea5e9;
                    outline: none;
                }
            }
        }

        button {
            background: #0ea5e9;
            color: #fff;
            border: none;
            padding: 0.8rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;

            &:hover {
                background: #0284c7;
            }
        }
    }

    @media (width <=768px) {
        .contact-options {
            grid-template-columns: 1fr;
        }
    }

    .tel-note {
        text-align: center;
        margin-top: 3rem;
        font-size: 1rem;
        color: #374151;
        line-height: 1.8;

        a {
            display: inline-block;
            color: #ff9900;
            font-weight: 700;
            text-decoration: none;
            border: 2px solid #ff9900;
            border-radius: 50px;
            padding: 0.6rem 1.5rem;
            transition: all 0.3s ease;

            &:hover {
                background-color: #ff9900;
                color: #fff;
            }
        }

        @media (width <=768px) {
            font-size: 0.95rem;
            margin-top: 2.5rem;

            a {
                display: block;
                width: 100%;
                max-width: 280px;
                margin: 0 auto 0.5rem;
            }
        }
    }

}