/* ==========================================================================
   資料請求ページ用スタイル
   ========================================================================== */

/* メイン背景のオーバーライド */
.request-main {
    background-image: none;
    background-color: #F2F4F7;
}

.request-section {
    padding: 120px 20px 100px;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.request-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    color: #1d2939;
    margin-bottom: 60px;
}

.request-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ==========================================================================
   左側：情報セクション
   ========================================================================== */

.request-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-box {
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-box-top {
    background-color: #E6F6F7;
    border: 1px solid #ffffff;
}

.info-box-text {
    font-size: 18px;
    line-height: 1.8;
    color: #1d2939;
    margin-bottom: 24px;
    text-align: center;
}

.info-box-text strong {
    color: #0c96ac;
    font-weight: 700;
}

.info-logo {
    text-align: center;
    margin: 24px 0;
}

.info-logo img {
    max-width: 200px;
    height: auto;
}

.info-box-subtitle {
    font-size: 16px;
    color: #1d2939;
    text-align: center;
    margin-top: 16px;
}

.info-box-bottom {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.info-box-heading {
    font-size: 24px;
    font-weight: bold;
    color: #1d2939;
    margin-bottom: 20px;
}

.info-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box-list li {
    font-size: 16px;
    color: #1d2939;
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.info-box-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0c96ac;
    font-weight: bold;
}

/* ==========================================================================
   右側：フォームセクション
   ========================================================================== */

.request-form-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-description {
    font-size: 16px;
    color: #1d2939;
    margin-bottom: 32px;
    line-height: 1.6;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1d2939;
}

.required-badge {
    background-color: #0c96ac;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.label-text {
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1d2939;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #0c96ac;
    box-shadow: 0 0 0 3px rgba(12, 150, 172, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #fecaca;
    margin-top: 8px;
}

.field-error {
    color: #991b1b;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.privacy-notice {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 8px;
}

.privacy-link {
    color: #0c96ac;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #007a8a;
}

.form-submit-button {
    width: 100%;
    margin-top: 8px;
    font-size: 18px;
    padding: 16px 30px;
}

.form-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.arrow {
    margin-left: 4px;
}

/* ==========================================================================
   送信成功後の表示
   ========================================================================== */

.success-message {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.success-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.success-title {
    font-size: 28px;
    font-weight: bold;
    color: #1d2939;
    margin: 0;
}

.success-text {
    font-size: 16px;
    color: #1d2939;
    line-height: 1.6;
}

.download-button {
    font-size: 18px;
    padding: 16px 30px;
    min-width: 300px;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */

@media (max-width: 767px) {
    .request-section {
        padding: 140px 16px 60px;
    }

    .request-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .request-content {
        grid-template-columns: 1fr;
        gap: 32px;
        display: flex;
        flex-direction: column;
    }

    /* モバイル表示で情報セクションとフォームの幅を一致させる */
    .request-info {
        width: 100%;
    }

    .request-form-wrapper {
        width: 100%;
        padding: 24px;
    }

    /* モバイルでもPC表示と同じカードスタイルを維持 */
    .info-box {
        padding: 24px;
    }

    .info-box-top {
        background-color: #E6F6F7;
        border: 1px solid #ffffff;
    }

    .info-box-bottom {
        background-color: #ffffff;
        border: 1px solid #e5e7eb;
    }

    .info-box-text {
        font-size: 16px;
    }

    .info-box-heading {
        font-size: 20px;
    }

    .info-box-list li {
        font-size: 14px;
    }

    .form-submit-button {
        font-size: 16px;
        padding: 14px 24px;
    }

    .download-button {
        min-width: 100%;
        font-size: 16px;
    }

    .success-title {
        font-size: 24px;
    }
}
