@charset "UTF-8";

/* =========================================
   Contact Form Section
   ========================================= */
.contact-form-section {
    padding: 60px 0;
    background-color: var(--white);
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    line-height: 2;
    font-weight: 500;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.form-row--textarea {
    align-items: flex-start;
}

.form-label {
    width: 200px;
    background-color: #001f3f; /* ネイビー */
    color: var(--white);
    padding: 12px 15px;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 右側の斜めカットデザイン */
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
    /* あるいはclip-pathを使わずに擬似要素で作る方法もありますが、
       デザインの再現性重視でclip-pathを使用 */
}

/* ※マーク */
.required {
    color: #e6a23c; /* オレンジ */
    margin-left: 5px;
    font-size: 0.8rem;
}

.form-input {
    flex: 1;
}

.form-input input[type="text"],
.form-input input[type="tel"],
.form-input input[type="email"],
.form-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-input textarea {
    height: 200px;
    resize: vertical;
}

/* プライバシーポリシー */
.form-privacy {
    text-align: center;
    margin: 40px 0;
}

.form-privacy p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-privacy a {
    color: #007bff;
    text-decoration: underline;
}

.privacy-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}

.privacy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
}

.btn-submit {
    background-color: #001f3f;
    color: var(--white);
    border: none;
    padding: 15px 80px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 250px;
}

.btn-submit:hover {
    background-color: #003366;
}

/* =========================================
   Bottom Contact Area (Beige)
   ========================================= */
.contact-bottom-area {
    background-color: #f2efe9; /* 薄いベージュ */
    padding: 60px 0;
    text-align: center;
}

.contact-bottom-text {
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-bottom-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-contact-white {
    background-color: var(--white);
    color: var(--text-color);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    min-width: 280px;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-contact-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 1; /* aタグのopacityを上書き */
}

.btn-contact-white img {
    height: 20px;
    width: auto;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    /* Form */
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        clip-path: none; /* スマホでは斜めカットを解除 */
        border-radius: 4px;
    }

    .form-input input,
    .form-input textarea {
        font-size: 16px; /* スマホでのズーム防止 */
    }

    .contact-intro {
        text-align: left;
        font-size: 0.9rem;
    }

    /* Bottom Buttons */
    .contact-bottom-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-contact-white {
        width: 100%;
        max-width: 350px;
    }
}