@charset "UTF-8";

/* ==========================================================================
   お問い合わせ（otoiawase.html）専用スタイル
   ※ヘッダー・ページ見出し・フッターは common.css にあります
   ========================================================================== */

main.container {
    padding-top: 50px;
}

/* 角丸・影なしのシャープなデザインで統一 */
input,
textarea,
select,
button {
    border-radius: 0;
    box-shadow: none;
}

/* ==========================================================================
   4. コンテンツレイアウト & 導入文
   ========================================================================== */
.contact-lead {
    font-size: 15px;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-lead strong {
    color: var(--orange);
    font-weight: bold;
}

/* セクション見出し（アンダーライン形式） */
.section-title {
    font-size: 20px;
    color: #333333;
    border-bottom: 2px solid var(--orange); /* はなまるオレンジ */
    padding-bottom: 8px;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* ==========================================================================
   5. 3大窓口案内（電話・LINEカードエリア）
   ========================================================================== */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.method-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 25px;
    text-align: center;
}

.method-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.tel-number {
    font-size: 26px;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.btn-line {
    display: inline-block;
    background-color: var(--green); /* LINEグリーン */
    color: #ffffff;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 15px;
    border: none;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.btn-line:hover {
    background-color: var(--green-dark);
}

.sub-text {
    font-size: 13px;
    color: #666666;
    margin-top: 10px;
    line-height: 1.5;
}

/* 💡 記入例ボックス */
.example-box {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-left: 4px solid var(--orange); /* オレンジのアクセント左線 */
    padding: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #555555;
}

.example-box p {
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.example-box ul {
    padding-left: 20px;
    list-style-type: disc;
}

.example-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.example-box li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   6. WEBお問い合わせフォーム（テーブル構成）
   ========================================================================== */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.form-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.form-table tr:first-child {
    border-top: 1px solid #e0e0e0;
}

.form-table th {
    width: 240px;
    text-align: left;
    padding: 20px 15px;
    font-weight: bold;
    font-size: 15px;
    vertical-align: top;
    background-color: #fffbf7; /* ラベル側をわずかに薄オレンジに */
}

.form-table td {
    padding: 15px 15px;
    background-color: #ffffff;
}

/* 必須・任意バッジ */
.badge {
    font-size: 11px;
    padding: 3px 8px;
    font-weight: bold;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

.badge.required {
    background-color: #fc3c3c; /* 必須の赤 */
    color: #ffffff;
}

.badge.optional {
    background-color: #999999; /* 任意のグレー */
    color: #ffffff;
}

/* 入力フォームボックスの共通デザイン部品 */
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: inherit;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--orange); /* フォーカス時にオレンジ線 */
    background-color: #fffdfb;
}

select.form-control {
    height: 44px;
    cursor: pointer;
}

textarea.form-control {
    height: 160px;
    resize: vertical;
    line-height: 1.6;
}

/* プライバシーテキスト & 送信エリア */
.privacy-text {
    text-align: center;
    font-size: 13px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-submit-area {
    text-align: center;
    margin-bottom: 20px;
}

.btn-submit {
    background-color: var(--orange);
    color: #ffffff;
    border: none;
    padding: 16px 70px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-submit:hover {
    background-color: #e68a2e; /* ホバーで少し濃く */
}

/* ==========================================================================
   7. 送信完了画面
   ========================================================================== */
#thanks-message {
    display: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-top: 5px solid var(--orange);
    padding: 40px;
    text-align: center;
}

#thanks-message h2 {
    font-size: 22px;
    color: var(--orange-dark);
    margin-bottom: 20px;
}

#thanks-message p {
    font-size: 15px;
    color: #555555;
    margin: 0 auto 20px;
    max-width: 560px;
    text-align: left;
    line-height: 1.8;
}

.btn-back {
    display: inline-block;
    margin-top: 10px;
    background-color: #333333;
    color: #ffffff;
    padding: 12px 40px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   8. スマホ
   ========================================================================== */
@media (max-width: 768px) {
    main.container {
        padding-top: 30px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .method-card {
        padding: 20px 16px;
    }

    /* 表を縦並びに */
    .form-table,
    .form-table tbody,
    .form-table tr,
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
    }

    .form-table tr {
        border-bottom: none;
    }

    .form-table th {
        padding: 15px 0 5px;
        background-color: transparent;
    }

    .form-table td {
        padding: 5px 0 15px;
        border-bottom: 1px solid #e0e0e0;
    }

    .form-control {
        font-size: 16px; /* iPhoneで入力時に勝手に拡大されないように16px */
    }

    .privacy-text {
        text-align: left;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }

    #thanks-message {
        padding: 30px 16px;
    }
}
