/* --- お問い合わせページ専用スタイル --- */

.form-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(163, 193, 173, 0.1);
}

.form-page-title {
    text-align: center;
    color: #8da496;
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.form-intro {
    text-align: center;
    font-size: 0.9rem;
    color: #7d756d;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 戻るボタン */
.back-to-home {
    margin-bottom: 30px;
}

.back-link {
    text-decoration: none;
    color: #a3c1ad;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.back-link:hover {
    transform: translateX(-5px);
    color: #8da496;
}

/* テーブル形式のフォーム */
.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px; /* 行間にゆとりを */
}

.custom-table th {
    width: 30%;
    text-align: left;
    vertical-align: top;
    padding-top: 12px;
    color: #5a544e;
    font-size: 0.95rem;
}

/* 必須マーク */
.required sup {
    color: #ffb7c5; /* ここだけアクセントで少しピンクっぽく */
    margin-left: 3px;
    font-size: 1rem;
}

.custom-table td {
    width: 70%;
}

/* 入力欄のデザイン */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #f0f4ef;
    border-radius: 15px;
    background-color: #fdfdf9;
    font-family: inherit;
    color: #5a544e;
    box-sizing: border-box;
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #a3c1ad;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(163, 193, 173, 0.2);
}

/* 送信ボタンエリア */
.form-submit-area {
    text-align: center;
    margin-top: 40px;
}

.fuwafuwa-btn {
    position: relative;
    padding: 18px 60px;
    background: #a3c1ad;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(163, 193, 173, 0.3);
}

.fuwafuwa-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: #8da496;
}

/* エラーメッセージ */
.error {
    color: #ffb7c5;
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 1.2em;
}