/* Inquiry Form Styles */

@import "form-base.css";

/* ---------- Breadcrumb ---------- */
.guide-main .routes-wrapper {
    margin-bottom: 17px;
}

/* ========================================
   Layout Centering
   ======================================== */

.guide-main .section-content {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 64px;
}

.guide-main .section-content .content-wrapper {
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
}

.guide-main .section-content .content-wrapper .main-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* ---------- Page Header ---------- */
.guide-header {
    text-align: center;
    padding: 40px 24px;
    margin-bottom: 40px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.guide-header_title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

.guide-header_text {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.95;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

/* ---------- Form Wrapper ---------- */
.form-wrapper {
    background: #fff;
    padding: 48px 40px;
    border-radius: 14px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* ---------- Page Notes ---------- */
.form-note {
    margin-bottom: 40px;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.08) 0%,
        rgba(118, 75, 162, 0.08) 100%
    );
    border-left: 4px solid #667eea;
    border-radius: 6px;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

.form-note a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.form-note a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ---------- Section Titles ---------- */
.form-section-title {
    margin-top: 48px;
    margin-bottom: 28px;
    padding-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #f0f0f0;
    letter-spacing: 0.4px;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

/* ---------- Footer Text ---------- */
.form-footer {
    margin-top: 40px;
    padding: 24px;
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.05) 0%,
        rgba(118, 75, 162, 0.05) 100%
    );
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

.form-footer a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.form-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ---------- Form Actions ---------- */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 56px 0;
}

/* ========================================
   Inquiry-Specific Styles
   ======================================== */

/* ラジオボタングループのスタイル */
.inquiry-type-group {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.inquiry-type-group .form-section-title {
    margin-top: 0;
}

/* ラジオボタンラベル */
.inquiry-type-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

/* ラジオボタン本体 - 強制表示 */
.inquiry-type-label input[type="radio"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    cursor: pointer !important;
    accent-color: #667eea !important;
    flex-shrink: 0 !important;
    position: relative !important;
    appearance: auto !important;
}

/* ラジオボタンテキスト */
.inquiry-type-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

/* 条件付きフォームセクション */
.form-section-conditional {
    display: none;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-section-conditional.active {
    display: block;
}

/* 商品情報ボックス */
.product-info-box {
    background-color: #f0f8ff;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.product-info-item {
    margin-bottom: 8px;
    font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

.product-info-label {
    font-weight: bold;
    color: #333;
}

.product-info-value {
    color: #555;
    margin-left: 10px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 991px) {
    .form-wrapper {
        padding: 36px 28px;
    }

    .form-section-title {
        font-size: 16px;
        margin-top: 36px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .guide-header {
        padding: 32px 20px;
    }

    .guide-header_title {
        font-size: 17px;
    }

    .guide-header_text {
        font-size: 13px;
    }

    .form-wrapper {
        padding: 28px 20px;
        border-radius: 10px;
    }

    .form-note {
        font-size: 13px;
        padding: 16px 18px;
    }

    .form-section-title {
        font-size: 15px;
        margin-top: 28px;
        margin-bottom: 18px;
    }

    .form-footer {
        font-size: 11px;
        padding: 18px;
    }

    .inquiry-type-group {
        padding: 15px;
        margin-bottom: 20px;
    }

    .inquiry-type-label {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .inquiry-type-text {
        font-size: 15px;
    }

    .product-info-box {
        padding: 12px;
    }

    .guide-main .routes-wrapper {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .guide-main .section-content .content-wrapper {
        padding: 0 12px;
    }

    .form-wrapper {
        padding: 20px 14px;
    }

    .form-footer {
        margin: 0 -14px -20px;
        border-radius: 0;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
}
