/* ========================================
   お問い合わせフォームページ用スタイル
   ======================================== */



/* フォームセクション */
.contact-section {
    padding: 80px 0;
    background: #f5f5f5;
}
.contact-section .container-wide {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}
.contact-section .section-title {
    font-weight: 900;
    font-size: 40px;
    color: #333333;
    text-align: center;
    margin: 0 0 48px 0;
    line-height: 1.6;
}

/* フォームスタイル */
.contact-section .c-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}
.contact-section .c-form table {
    width: 100%;
    border-collapse: collapse;
}
.contact-section .c-form th {
    width: 35%;
    padding: 25px 20px 25px 0;
    font-weight: 600;
    font-size: 17px;
    color: #2c3e50;
    text-align: left;
    vertical-align: top;
    border-bottom: 2px solid #f1f3f4;
    position: relative;
}
.contact-section .c-form td {
    width: 65%;
    padding: 25px 0;
    border-bottom: 2px solid #f1f3f4;
    background-color: #fff;
}
.contact-section .c-form-parts {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 55px;
    padding: 8px 20px;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
}
.contact-section .c-form-parts:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.contact-section .c-form-parts::placeholder {
    color: #9ca3af;
    font-size: 15px;
}
textarea.contact-section .c-form-parts {
    height: 120px;
    resize: vertical;
    padding: 15px 20px;
}
select.contact-section .c-form-parts {
    width: 300px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}
.contact-section .c-form-label {
    position: absolute;
    top: 25px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 20px;
    background: #6c757d;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
}
.contact-section .c-form-label.is-required {
    background: #dc3545;
}
.contact-section .c-form-txt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #6c757d;
}
.contact-section .c-form-postcode {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    align-items: center;
}
.contact-section .c-form-postcode__prefix {
    max-width: 90px;
    flex-basis: 90px;
    padding-top: 8px;
    font-size: 16px;
    color: #495057;
    font-weight: 500;
}
.contact-section .c-form-postcode__note {
    font-size: 14px;
    display: block;
    width: 100%;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
}
.contact-section .c-form-postcode__input {
    max-width: 180px;
    flex-basis: 180px;
}
.contact-section .c-form-postcode.large .c-form-postcode__input {
    max-width: calc(100% - 90px);
    flex-basis: calc(100% - 90px);
}

/* ラジオボタンとチェックボックス */
.contact-section .c-radio, 
.contact-section .c-checkbox {
    display: inline-block;
    margin-right: 5px;
}
.contact-section .c-radio label, 
.contact-section .c-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #495057;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}
.contact-section .c-radio label:hover, 
.contact-section .c-checkbox label:hover {
    background-color: #f8f9fa;
}
.contact-section .c-radio input[type="radio"], 
.contact-section .c-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #007bff;
}
.contact-section .c-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* フォームポリシー */
.contact-section .c-form-policy {
    max-height: 250px;
    overflow-y: auto;
    border: 2px solid #e9ecef;
    padding: 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 8px;
}
.contact-section .c-form-policy__head {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}
.contact-section .c-form-agreement {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}
.contact-section .c-checkbox-require label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #495057;
    cursor: pointer;
    font-weight: 500;
}
.contact-section .c-checkbox-require input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: #007bff;
}

/* 送信ボタン */
.contact-section .c-form-area-btn {
    text-align: center;
    margin-top: 40px;
}
.contact-section .c-form-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    letter-spacing: 0.5px;
}
.contact-section .c-form-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}
.contact-section .c-form-btn:active {
    transform: translateY(0);
}

/* reCAPTCHA */
.contact-section .g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* サンクスセクション */
.thanks-section {
    padding: 80px 0;
    background: #f5f5f5;
}
.thanks-section .container-wide {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.thanks-content {
    background: #fff;
    border-radius: 12px;
    padding: 64px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    text-align: center;
}
.thanks-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.thanks-message {
    margin-bottom: 48px;
}
.thanks-text {
    font-size: 16px;
    color: #333333;
    line-height: 2;
    margin: 0 0 24px 0;
    text-align: left;
}
.thanks-contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 40px;
}
.thanks-contact-title {
    font-weight: 700;
    font-size: 18px;
    color: #333333;
    margin: 0 0 20px 0;
}
.thanks-contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.thanks-phone-icon {
    width: 32px;
    height: 32px;
}
.thanks-phone-number {
    font-weight: 700;
    font-size: 28px;
    color: #0077c3;
    text-decoration: none;
}
.thanks-phone-number:hover {
    color: #005fa3;
    text-decoration: underline;
}
.thanks-contact-time {
    font-size: 14px;
    color: #666666;
    margin: 0;
}
.thanks-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.thanks-buttons .btn {
    min-width: 200px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-section {
        padding: 48px 0;
    }
    .contact-section .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    .contact-section .c-form {
        padding: 20px;
    }
    .contact-section .c-form th, 
    .contact-section .c-form td {
        width: 100%;
        display: block;
        padding: 20px 0;
    }
    .contact-section .c-form th {
        border-bottom: none;
        padding-bottom: 8px;
        font-size: 15px;
    }
    .contact-section .c-form td {
        border-bottom: 2px solid #f1f3f4;
    }
    .contact-section .c-form-label {
        position: absolute;
        top: 20px;
        right: 15px;
        width: 40px;
        height: 20px;
        font-size: 10px;
    }
    .contact-section .c-checkbox-list {
        gap: 3px;
    }
    .contact-section .c-radio, 
    .contact-section .c-checkbox {
        margin-right: 0;
    }
    .contact-section .c-form-btn {
        width: 100%;
        padding: 20px;
    }
    .contact-section .c-form-parts {
        font-size: 16px;
    }
    .contact-section .c-form-txt {
        font-size: 13px;
    }
    .contact-section .c-form-postcode__prefix {
        font-size: 14px;
    }
    .contact-section .c-form-postcode__note {
        font-size: 12px;
    }
    .thanks-section {
        padding: 48px 0;
    }
    .thanks-content {
        padding: 40px 24px;
    }
    .thanks-text {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 20px;
    }
    .thanks-contact-info {
        padding: 24px;
        margin-bottom: 32px;
    }
    .thanks-contact-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .thanks-phone-number {
        font-size: 24px;
    }
    .thanks-buttons {
        flex-direction: column;
    }
    .thanks-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

