/* Cataract Page Styles */


/* =========================================================
   Breadcrumbs
   ========================================================= */
.cataract-breadcrumbs {
    background: var(--color-light-purple);
    padding: 10px 0;
}

.cataract-breadcrumbs .container {
    font-size: 0.9rem;
    text-align: center;
}

/* =========================================================
   Utility / Layout Helpers
   ========================================================= */

/* テキスト幅をチェックリストと同じにして中央配置＋左揃え */
.cataract-text-container {
    max-width: 600px;
    margin: 1rem auto;
    /* 上下マージンを1remに統一 */
    text-align: left;
    line-height: 2.0;
    /* 行間を広めに設定 */
}

/* もし .mb-4 クラスなどが併用された場合の調整が必要ならここに記述 */
/* 現状は上の margin: 1rem auto; で十分な場合は不要ですが、
   Bootstrapなどのユーティリティと干渉する場合は適宜 !important や詳細度調整を行ってください */
.cataract-text-container.mb-4 {
    margin-bottom: 1rem;
}


/* =========================================================
   Hero Section
   ========================================================= */
.cataract-hero {
    /* 背景画像はHTML側で style="background-image:..." として出力されます */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #003264;
    /* 画像が読み込まれるまでの背景色 */
    position: relative;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.cataract-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay-soft, rgba(115, 96, 163, 0.6));
    /* Overlay for readability */
}

.cataract-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #fff !important;
    /* 強制的に白文字にする */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    /* 影を強くして可読性アップ */
}

.hero-subtitle {
    font-size: 1.5rem;
    background: var(--color-main, #ffa500);
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
}


/* =========================================================
   Check List
   ========================================================= */
.check-list-box {
    background: #fff;
    border: 2px solid var(--color-primary, #0056b3);
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    margin: 1rem auto;
    /* 上下マージン統一 */
}

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

.check-list-box li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.check-list-box li i {
    color: var(--color-main, #ffa500);
    font-size: 1.4rem;
    margin-right: 15px;
}

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


/* =========================================================
   Feature Grid
   ========================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-primary, #0056b3);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}


/* =========================================================
   Lens Container
   ========================================================= */
.lens-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.lens-box {
    flex: 1;
    min-width: 300px;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    border-top: 5px solid var(--color-primary, #0056b3);
}

.lens-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-primary, #0056b3);
    font-weight: bold;
    text-align: center;
}


/* =========================================================
   Flow Styles
   ========================================================= */
.flow-steps {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.flow-step {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.step-num {
    display: block;
    font-weight: bold;
    color: var(--color-main, #ffa500);
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: center;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}


/* =========================================================
   Cost Table
   ========================================================= */
.cost-table-wrapper {
    overflow-x: auto;
    max-width: 600px;
    margin: 1rem auto;
    /* 上下マージン統一 */
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.cost-table th,
.cost-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.cost-table th {
    background: var(--color-primary, #0056b3);
    color: #fff;
}


/* =========================================================
   QA List
   ========================================================= */
.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.question {
    background: var(--color-bg-light, #f9f9f9);
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-primary, #0056b3);
    cursor: pointer;
    /* Interaction hint */
}

.answer {
    padding: 20px;
    line-height: 1.6;
}


/* =========================================================
   CTA
   ========================================================= */
.cta-section {
    background: var(--color-pale, #f0f8ff);
    text-align: center;
    /* コンテンツを中央揃え */
}

.btn-primary {
    display: inline-block;
    background: var(--color-main, #ffa500);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #e69500;
}


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .check-list-box {
        padding: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        grid-template-columns: 1fr;
    }
}