/*
    ===========================================
      お問い合わせページ専用のスタイルシート
    ===========================================
*/

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-top: 40px;
    margin-bottom: 60px;
}

.contact-header {
    text-align: center;
    margin-bottom: 25px;
}

.contact-header .section-title {
    font-size: 2.2em;
    margin-bottom: 15px;
}

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

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

.form-group .required {
    background-color: #D92E26;
    color: white;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3361A6;
    box-shadow: 0 0 0 3px rgba(51, 97, 166, 0.2);
}

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

.privacy-policy {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 0.9em;
    text-align: center;
}

.privacy-policy a {
    text-decoration: underline;
}

.submit-button-container {
    text-align: center;
}

/* ★★★ 修正箇所 ★★★ */
/* スタイル指定を、このページのお問い合わせフォーム内のボタンに限定する */
#contact-form .submit-btn {
    background-color: #3361A6;
    color: white;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 300px;
}

#contact-form .submit-btn:hover {
    background-color: #29508a;
}

#contact-form .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
/* ★★★★★★★★★★★★★ */