/* contact ページ専用スタイル */

.contact-content {
    max-width: 100%;
}

.page-title {
    background-color: #ffffff;
    border-bottom: 2px solid #0099cc;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-title::before {
    content: '';
    display: block;
    width: 12px;
    height: 30px;
    background-color: #0099cc;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 8px;
}

.page-title h2 {
    font-size: 16px;
    color: #0099cc;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* フォームグループ */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #ff0000;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
    font-family: 'Arial', 'Hiragino Sans', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #0099cc;
    box-shadow: 0 0 4px rgba(0, 153, 204, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    height: auto;
    padding: 10px 12px;
}

/* 送信ボタン */
.btn-submit {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #0099cc;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.btn-submit:active {
    background-color: #005580;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-title {
        margin-bottom: 15px;
    }

    .page-title h2 {
        font-size: 14px;
        padding: 10px 0;
    }

    .contact-form-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .form-control {
        padding: 8px 10px;
        font-size: 12px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .btn-submit {
        padding: 10px 15px;
        font-size: 13px;
    }
}
