/* お問い合わせフォームスタイル */
body {
    background-color: #fff;
    color: #4A4E69;
    padding: 0;
    margin: 0;
}
.color-section{
    background-color: #e5e3ea;
    color: #4A4E69;
    margin: 0;
    padding: 20px;
    margin-top: -20px;
}

/* アクティブボタン（選択中のページ） */
.common-buttons a.active {
    background-color: #e5e3ea;
    border-bottom: none; /* 下辺をなくす */
    color: #4A4E69;
    margin-bottom: -3px; /* ボタンが浮かないように調整 */
}

.contact-form {
    width: 60%;
    margin: 50px auto 50px;
    padding: 30px 60px 60px 60px;
    /* border: 3px solid #4A4E69; */
    background-color: white;
    border: 3px solid #4A4E69;
    border-radius: 40px;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 18px;
    display: block;
    margin-top: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 2px solid #4A4E69;
    border-radius: 0px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #4A4E69;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border: none;
    margin-top: 20px;
}

.contact-form .notice {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* お問い合わせフォームスタイル */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 2px solid #4A4E69;
    border-radius: 0px;
    font-size: 16px;
}

/* 記入例のスタイル */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
    font-style: italic;
}

.confirm-button,.edit-button,.submit-button{
    border-radius: 40px;
}

/* 確認画面と完了画面 */
.confirm-section,
.thanks-section {
    display: none; /* 初期状態で非表示 */
    margin: 40px auto;
    padding: 20px;
    border: 3px solid #4A4E69;
    background-color: #fff;
    width: 80%;
    max-width: 800px;
    text-align: center;
}

/* ボタンスタイル */
.button-center {
    margin-top: 20px;
}

.button-center button {
    margin: 15px;
    padding: 15px 40px;
    border: 3px solid #4A4E69;
    background-color: #4A4E69;
    color: #fff;
    font-weight: bold;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-center button:hover {
    background-color: #fff;
    color: #4A4E69;
}

/* 完了メッセージリンク */
.thanks-section a {
    text-decoration: none;
    color: #4A4E69;
    font-weight: bold;
    padding: 15px 40px;
    border: 3px solid #4A4E69;
    background-color: #fff;
    display: inline-block;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.thanks-section a:hover {
    background-color: #4A4E69;
    color: #fff;
}

/* 共通タイトルスタイル（RECRUITと同一） */
.contact-content-title {
    font-size: 2.0em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #4A4E69;
    padding-bottom: 10px;
    color: #4A4E69;
}

@media (max-width: 768px) {
  .contact-form {
    width: 80%;
    margin: 20px auto 50px;
    padding: 20px;
    background-color: white;
    /* border: 3px solid #4A4E69; ← 必要なら外してください */
  }
}


