/* メインビジュアル */
.main-visual {
    position: relative;
    height: 500px;
}

.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.main-visual-content {
    position: absolute;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    top: 50%;
    left: 30%;
    transform: translateY(-50%) translateX(-50%);
    margin: auto;
}

.page-title {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}


/* コンテンツエリア */
.doctor-page {
    margin: 0 auto;
}

/* イントロダクション */
.introduction {
    text-align: center;
    padding-bottom: 250px;
    position:relative;
}

.introduction::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: url(/honbu/wp-content/themes/kohokai/img/common/nami.svg) center bottom/100% 100% no-repeat;
  z-index: -1;
}

.introduction-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.6;
}

.introduction-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
}


/* 特長セクション */
.features {
    background: #eef6ee;
    padding: 0 0 50px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    position:relative;
}

.section-title::before {
    background: url(/honbu/wp-content/themes/kohokai/img/common/hato.png)no-repeat;
    background-size: contain;
position: absolute;
    content: '';
    display: inline-block;
    width: 55px;
    height: 55px;
    background-size: contain;
    top: -30px;
      left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: auto;
    z-index: 99;

}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

}

.feature-card ul{
    margin-top:15px;
    }

    .feature-card li {
        font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
        font-size: 14px;
        position: relative;
        padding-left: 1.2em;
        list-style: none; 
        color: #797979;

    }

    .feature-card li::before {
        content: '●';
        color: #45be2e;
        position: absolute;
        left: 0;
        top: 5px;
        font-size: 7px;
    }

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

.feature-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 1px solid #45be2e;
    border-radius: 50%;
    padding: 5px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #45be2e;
    text-align: center;

}

.feature-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.merit{
    border: 3px solid #45be2e;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 50px auto;
  text-align: center;
  color: #45be2e;

}

/* maruの部分 */
.medical-vision {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 240px 0;

}

.medical-vision__summaryList {
    position: relative;
    width: 100%;
    height: 100%;
}

.medical-vision__summaryList:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25rem;
    height: 25rem;
    color: #45be2e;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 100%;
    background: linear-gradient(135deg, #ffffff, #e8f5e9);
    border: 2px solid #45be2e;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    content: "幸訪会";

}


.medical-vision__summaryItem {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 10em;
    height: 10em;
    color: var(--text-color);
    background: var(--gradient);
    border-radius: 100%;
    box-shadow: 0 4px 12px rgba(69, 190, 46, 0.15);

}

.medical-vision__summaryItem:nth-child(1) {
    --text-color: #ffffff;
    --gradient: linear-gradient(135deg, #45be2e, #2e7d32);
    top: 100px;
    left: 200px;
    transform: translate(-50%);
}

.medical-vision__summaryItem:nth-child(2) {
    --text-color: #ffffff;
    --gradient: linear-gradient(135deg, #4caf50, #1b5e20);
    bottom: -100px;
    left: 0;
    transform: translateY(-50%);
}

.medical-vision__summaryItem:nth-child(3) {
    --text-color: #ffffff;
    --gradient: linear-gradient(135deg, #66bb6a, #2e7d32);
    bottom: 100px;
    left: 200px;
    transform: translate(-50%);
}

.medical-vision__summaryItem:nth-child(4) {
    --text-color: #ffffff;
    --gradient: linear-gradient(135deg, #81c784, #388e3c);
    bottom: -100px;
    right: 0;
    transform: translateY(-50%);

}

.medical-vision__summaryItem ._title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 120%;
    letter-spacing: 0.05em;

}

.medical-vision__summaryItem ._summary {
    margin-top: 0.8rem;
    text-align: center;
    font-size: 13px;
    line-height: 140%;
    letter-spacing: 0.05em;

}


/* 各丸のアニメーション用のディレイ */
.medical-vision__summaryItem {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible .medical-vision__summaryItem:nth-child(1) {
    transition-delay: 0.2s;
}

.is-visible .medical-vision__summaryItem:nth-child(2) {
    transition-delay: 0.4s;
}

.is-visible .medical-vision__summaryItem:nth-child(3) {
    transition-delay: 0.6s;
}

.is-visible .medical-vision__summaryItem:nth-child(4) {
    transition-delay: 0.8s;
}

.is-visible .medical-vision__summaryItem {
    opacity: 1;
    transform: scale(1);
}

/* 要件セクション */
.requirements {
    padding: 150px 40px;
    border-radius: 12px;
    margin-bottom: 80px;
    background-image: url(/honbu/wp-content/themes/kohokai/img/clinic-open/haikei.jpg);
  background-size: cover;
  background-position: top center;
  position: relative;

}
.requirements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6); 
    border-radius: 12px; 
}

.requirements > * {
    position: relative;
    z-index: 1;
}

.requirements ul {
    max-width: 800px;
    margin: 0 auto;
    background: #f2f4f5;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.requirements li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    position:relative;
    padding-left:25px;
}

.requirements li::before{
    background: url(/honbu/wp-content/themes/kohokai/img/common/check.svg)no-repeat;
position: absolute;
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    top:2px;
    left: 0;
}

.subtitle{
    text-align: left;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 13px;
}

/* 医療継承　大切にすること*/
.page-succession-support .features {
    padding: 0 0 150px;
}
.values {
    padding: 100px 0;
    background: #f8f9fa;
}

.values__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.values__title {
    text-align: center;
    margin-bottom: 60px;

}

.values__title-en {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #45be2e;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.values__title-ja {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.1em;
}

.values__items {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.values__item {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(69, 190, 46, 0.08);
    transition: transform 0.3s ease;
}

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

.values__item-header {
    display: flex;
    align-items: center;
    gap: 20px;
   margin-bottom: 20px;
}

.values__item-number {
    font-size: 48px;
    font-weight: bold;
    color: #45be2e;
    opacity: 0.2;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.values__item-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.values__item-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}


/* オプション：背景アクセント */

.values__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #45be2e, #2e7d32);
    border-radius: 12px 12px 0 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .main-visual {
        height: 400px;
    }
    .main-visual img {
        object-position: right;
      }
      .main-visual-content {
        left: 10px;
        transform: translateY(-50%) translateX(0%);
      }

    .introduction-title {
        font-size: 24px;
    }
   .section-title {
        font-size: 28px;
    }
    .introduction {
        padding-bottom: 150px;
    }
    .introduction::before {
        height: 100px;
    }
    .introduction-text {
        text-align: left;
      }
      .features {
        padding: 50px 0;
      }
    .feature-cards {
        grid-template-columns: 1fr;
    }
    .requirements {
        padding: 150px 20px;
    }
    .medical-vision__summaryList:before {
        width: 17rem;
        height: 17rem;
        font-size: 2rem;
    }
    .medical-vision__summaryItem {
        width: 7rem;
        height: 7rem;
    }
    .medical-vision__summaryItem ._title {
       font-size: 17px;
    }
    .medical-vision {
        max-width: 350px;
    }
    .medical-vision__summaryItem ._summary {
        margin-top: 0.6rem;
       font-size: 11px;
        line-height: 1.4;
    }
    .medical-vision__summaryItem:nth-child(1) {
        top: 70px;
        left: 120px;
      }
      .medical-vision__summaryItem:nth-child(2) {
        bottom: -50px;
      }
      .medical-vision__summaryItem:nth-child(3) {
        bottom: 70px;
        left: 120px;
      }
      .medical-vision__summaryItem:nth-child(4) {
        bottom: -50px;
      }
      .merit {
        margin: 0 auto 20px;
      }
      .page-succession-support .features {
        background: #eef6ee;
        padding: 0 0 50px;
      }
      .values {
        padding: 60px 0;
    }
    .values__title-ja {
        font-size: 24px;
    }
    .values__items {
        flex-direction: column;
    }
    .values__item {
        padding: 30px;
    }
    .values__item-number {
        font-size: 36px;
    }

    .values__item-title {
        font-size: 18px;
    }
}

        /* 収益シミュレーション */
        .simu{
            max-width: 1200px;
margin: 100px auto 50px;
  width: 100%;
  padding: 0 30px;
        }
        .simulation-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .simulation-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 25px;
            border-radius: 10px;
        }
        
        .simulation-card h4 {
            font-size: 18px;
            font-weight: bold;
            color: #2c5aa0;
            margin-bottom: 15px;
        }
        
        .simulation-content {
            background: white;
            padding: 15px;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.8;
        }
        
        .progression-chart {
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            border: 2px solid #e9ecef;
        }
        
        .progression-item {
            display: flex;
            align-items: center;
            margin: 10px 0;
            padding: 8px;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        
        .progression-item:hover {
            background-color: #f8f9fa;
        }
        
        .progression-year {
            font-weight: bold;
            color: #2c5aa0;
            min-width: 80px;
        }
        
        .progression-bar {
            flex: 1;
            height: 20px;
            background: #e9ecef;
            margin: 0 15px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        
        .progression-fill {
            height: 100%;
            background: linear-gradient(90deg, #2c5aa0, #4a9eff);
            border-radius: 10px;
            transition: width 0.8s ease;
        }
        
        .progression-percent {
            font-weight: bold;
            color: #2c5aa0;
            min-width: 60px;
        }
        
        .note {
            font-size: 14px;
            margin-top: 15px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 5px;
        }
@media screen and (max-width: 768px) {
        .simulation-grid {
  display: flex;
  flex-direction: column;
}
}


        /* ======================
           基本設定・共通設定
           ====================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #1d1c1d;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer {
            background: #eef6ee;
            padding: 80px 0 40px;
        }

        /* ======================
           セクションタイトル
           ====================== */
.page-title .en {
  font-size: 18px;
  display: block;
  margin-top: 10px;
  position: relative;
  font-family: unset;
}
.main-visual::after {
  background: linear-gradient(135deg, #1b3eb8;45 0%, #120f6559 100%);
}
.page-title .ja {
  font-size: 48px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  font-family: unset;
}
.page-title .ja::before {
  display: none;
}
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: #1d1c1d;
        }
        
        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 60px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            white-space: nowrap;
        }

        /* ======================
           ヒーローセクション
           ====================== */
        .hero-section {
            background: #1b3eb8;
            color: white;
            text-align: center;
            padding: 80px 20px;
        }
        
        .hero-section h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .hero-section p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }

        /* ======================
           収入比較セクション
           ====================== */
        .income-section {
            padding: 30px 20px;
            background: #f9f9f9;
        }
        .income-section  .container {
            padding: 0;
        }
        .benefits-intro {
            text-align: center;
            color: #6b7280;
            margin-bottom: 50px;
        }
        
        .income-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .income-card {
            padding: 40px;
            border-radius: 10px;
            text-align: center;
        }
        
        .income-card.doctor {
            background: #eff6ff;
        }
        
        .income-card.clinic {
            background: #e74c3c17;
        }
        
        .income-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .income-card.doctor h3 {
            color: #2750df;
        }
        
        .income-card.clinic h3 {
            color: #e74c3c;
        }
        
        .income-amount {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .income-card.doctor .income-amount {
            color: #2563eb;
        }
        
        .income-card.clinic .income-amount {
           color: #e74c3c;
        }
        
        .income-label {
            color: #6b7280;
        }
        
        .work-hours {
            background: rgba(255, 255, 255, 0.7);
            padding: 15px;
            border-radius: 10px;
            margin: 15px auto 30px;
            color: #6b7280;
        }
        
        .work-hours-data {
            color: #dc2626;
        }

        /* メリット・デメリット比較 */
        .merit-demerit {
            margin: 0 auto 30px !important;
            padding: 0;
            border: none;
            box-shadow: none;
            background: none;
        }
        
        .merit-demerit:last-child {
            margin-bottom: 0;
        }
        
        .merit-demerit h4 {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .merit-demerit.merit h4 {
            color: #059669;
        }
        
        .merit-demerit.demerit h4 {
            color: #dc2626;
        }
        
        .merit-demerit h4::before {
            content: '';
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            color: white;
            font-weight: bold;
        }
        
        .merit-demerit.merit h4::before {
            content: '✓';
            background: #10b981;
        }
        
        .merit-demerit.demerit h4::before {
            content: '✗';
            background: #ef4444;
        }
        
        .merit-demerit ul {
            list-style: none;
            margin-left: 30px;
            text-align: left;
        }
        
        .merit-demerit li {
            margin-bottom: 8px;
            color: #4b5563;
            position: relative;
            padding-left: 15px;
        }
        
        .merit-demerit li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #9ca3af;
        }

        /* 特に注目すべき数値 */
        .highlight-stats {
            background: #f9f9f9;
            border-radius: 15px;
            padding: 20px;
        }
        
        .highlight-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #92400e;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: flex;
  flex-direction: column;
  align-items: flex-start;
        }

        .stat-item figure img{
width:100%;
        }
            .kinmui span{    
color: #fff;
  font-size: 14px;
  padding: 2px 8px;
  font-weight: bold;
  border: 1px solid #7063a4;
  background: #7063a4;
 }
             .kaigyo span{    
color: #fff;
  font-size: 14px;
  padding: 2px 8px;
  font-weight: bold;
  border: 1px solid #dc2626;
  background: #dc2626;
 }
 .aka{
color: #dc2626 !important;
 }
        .stat-number {
font-size: 16px;
  font-weight: bold;
  color: #7063a4;
margin: 10px auto;
        }
          .stat-number em {
            font-size: 20px;
          }      
        .stat-label {
            color: #6b7280;
            font-size: 0.9rem;
            text-align: left;
        }

        /* 参照元 */
        .source-section {
            background: #f8fafc;
            padding: 25px;
            border-radius: 10px;
            margin-top: 40px;
        }
        
        .source-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: #374151;
            margin-bottom: 15px;
        }
        
        .source-list {
            list-style: none;
        }
        
        .source-list li {
            margin-bottom: 8px;
            color: #6b7280;
            font-size: 0.9rem;
        }
        
        .source-list li a {
            color: #6b7280;
            text-decoration: none;
        }
        
        .source-list li::before {
            content: ' ';
            margin-right: 5px;
        }

        /* ======================
           メリットセクション
           ====================== */
        .benefits-section {
            padding: 80px 20px;
            background: linear-gradient(90deg, #ebe8fd 0%, #e4f2fe 50%, #e1e3fd 100%);
        }
        
        /* デスクトップ用グリッド */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }
        
        /* モバイル用横スクロール */
        .benefits-scroll {
            display: none;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 20px;
        }
        
        .benefits-scroll-inner {
            display: flex;
            gap: 20px;
            width: calc(280px * 3 + 40px);
        }
        
        .benefit-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 30px;
            transition: box-shadow 0.3s ease;
            border: 1.5px solid #2750df;
        }
        
        .benefit-card:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .benefit-card.mobile {
            flex-shrink: 0;
            width: 280px;
        }
        
        .benefit-icon img {
            width: 50px;
        }
        
        .benefit-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .benefit-title {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: #1f2937;
        }
        
        .risk-points {
            list-style: none;
        }
        
        .risk-points li {
            margin-bottom: 12px;
            padding-left: 20px;
            position: relative;
            color: #4b5563;
        }
        
        .risk-points li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #10b981;
            font-weight: bold;
        }
        
        .risk-highlight {
            background: #ecfdf5;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
            border-left: 4px solid #10b981;
        }
        
        .risk-highlight strong {
            color: #059669;
        }
        
        .scroll-hint {
            text-align: center;
            margin-top: 20px;
            color: #6b7280;
            font-size: 0.875rem;
            display: none;
        }

        /* ======================
           段階的収益移譲システム
           ====================== */
        .revenue-system-section {
            padding: 80px 20px;
            background: white;
        }
        
        .revenue-system {
            background: linear-gradient(93deg, #afd9ff 20.13%, #bdb9ff 81.55%), #2750df;
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
        }
        
        .revenue-title {
            font-size: 1.8rem;
            font-weight: bold;
            color: #2750df;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .revenue-subtitle {
            text-align: center;
            color: #3730a3;
            margin-bottom: 30px;
            font-size: 1.1rem;
        }
        
        .revenue-timeline {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            counter-reset: number 0;
        }
        
        .timeline-item {
            background: white;
            padding: 25px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }
        .timeline-item::before {
 counter-increment: number 1;
 content: "0"counter(number);
font-size: 5rem;
  font-style: italic;
  font-weight: bold;
 color: #2750df3b;
}
        .timeline-period {
            font-size: 1.1rem;
            font-weight: bold;
            color: #2750df;
            margin-bottom: 10px;
        }
        
        .timeline-content {
            color: #4b5563;
            font-size: 0.95rem;
        }
        
        .timeline-highlight {
            color: #dc2626;
            font-weight: bold;
        }

/*-----------------------------------
収益アニメーショングラフ
------------------------------------*/
        
        .chart-container {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 80px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }
        
        .chart-title {
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 30px;
        }
        
        .chart-wrapper {
            position: relative;
            height: 400px;
            margin: 20px 0;
            overflow-x: auto;
            overflow-y: hidden;
        }
        
        .chart-svg {
            width: 100%;
            height: 100%;
            min-width: 800px;
        }
        
        /* スマホ用のスクロールヒント */
        @media (max-width: 768px) {
            .chart-wrapper::after {
                content: "← 横にスクロールできます →";
                position: absolute;
bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    width: 200px;
            }
            
            .chart-wrapper {
                margin-bottom: 40px;
            }
        }
        
        
        .scroll-trigger {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .scroll-trigger.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .year-indicator {
position: absolute;
  top: 10px;
  right: 20px;
  background: #fff;
  color: #2750df;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  border: 1px solid #2750df;
        }
        
        .legend {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 3px;
        }
    @media (max-width: 480px) {
        .year-indicator {
  top: 100px;
  right: unset;
  font-size: 14px;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  margin: auto;
}
.legend-item {
  font-size: 12px;
}
}
        /* ======================
           バックアップ体制セクション
           ====================== */
        .backup-section {
            padding: 80px 20px;
            background:  linear-gradient(90deg, #ebe8fd 0%, #e4f2fe 50%, #e1e3fd 100%);
        }
        
        .backup-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .backup-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        }
        
        .backup-icon {
            width: 50px;
            height: 50px;
            background: #a2b4f13b;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            margin: 0 auto 15px;
        }
        .backup-icon img{
        width: 60px;
}

        .backup-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .backup-content {
            color: #4b5563;
            line-height: 1.7;
        }

        .backup-content strong{
           color: #2750df;
        }

        /* ======================
           ライフプラン保障セクション
           ====================== */
        .lifeplan-section {
            padding: 80px 20px;
            background: linear-gradient(90deg, #ebe8fd 0%, #e4f2fe 50%, #e1e3fd 100%);
        }
        
        .lifeplan-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .lifeplan-card {
background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #10b981;
        }
        .lifeplan-card img{
            width: 100%;
        }
        
        .lifeplan-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .lifeplan-title {
            font-size:2rem;
            font-weight: bold;
            color: #10b981;
            margin-bottom: 10px;
        }
        
        .lifeplan-content {
            font-size: 0.9rem;
            text-align: left;
        }

        /* ======================
           ハイライトセクション
           ====================== */
        .highlight-section {
            padding: 80px 15px;
            background: #1b3eb8;
            color: white;
            text-align: center;
        }
        
        .highlight-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .highlight-section p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 40px;
            opacity: 0.9;
        }
        
        .highlight-cta {
            background: white;
            color: #1b3eb8;;
            padding: 16px 32px;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .highlight-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }

        /* ======================
           プライシングセクション
           ====================== */
        .pricing-section {
            padding: 80px 0;
            background: white;
        }
        
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        /* モバイル用横スクロール */
        .pricing-scroll {
            display: none;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 20px;
        }
        
        .pricing-scroll-inner {
            display: flex;
            gap: 20px;
            width: calc(320px * 3 + 40px);
        }
        
        .pricing-card {
            background: white;
            border-radius: 16px;
            padding: 40px 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            border: 2px solid #e8e8e8;
        }
        
        .pricing-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
        }
        
        .pricing-card.featured {
            border-color: #10b981;
            transform: scale(1.05);
        }
        
        .pricing-card.featured::before {
            content: "幸訪会がサポート";
            position: absolute;
            top: -5px;
            left: 50%;
            transform: translateX(-50%);
            background: #10b981;
            color: white;
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            width: 120px;
        }
        
        .pricing-card.mobile {
            flex-shrink: 0;
            width: 320px;
        }
        
        .card-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .card-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .card-title.employee {
            color: #3498db;
        }
        
        .card-title.kohokai {
            color: #10b981;
        }
        
        .card-title.independent {
            color: #e74c3c;
        }
        
        .card-subtitle {
            font-size: 1rem;
            color: #666;
            margin-bottom: 20px;
        }
        
        .price {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .price-description {
            font-size: 0.9rem;
            color: #666;
        }
        
        .features-list {
            list-style: none;
            margin: 30px 0;
        }
        
        .features-list li {
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
        }
        
        .features-list li:last-child {
            border-bottom: none;
        }
        
        .check-icon {
            width: 20px;
            height: 20px;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .check-icon.good {
            color: #10b981;
        }
        
        .check-icon.warning {
            color: #f39c12;
        }
        
        .check-icon.bad {
            color: #e74c3c;
        }
        
        .cta-button {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }
        
        .cta-button.primary {
            background: #10b981;
            color: white;
        }
        
        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }



        /* ======================
           レスポンシブ対応
           ====================== */
        @media (max-width: 980px) {
   .section-subtitle {
  text-align: left;
  white-space: unset;
}
}

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.8rem;
            }
            
            .hero-section h1,.highlight-section h2 {
                font-size: 2rem;
            }
            
            .income-comparison {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .income-amount {
                font-size: 2rem;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            /* メリットセクション - モバイル */
            .benefits-grid {
                display: none;
            }
            
            .benefits-scroll {
                display: block;
            }
            
            .scroll-hint {
                display: block;
            }
            
            /* プライシングセクション - モバイル */
            .pricing-grid {
                display: none;
            }
            
            .pricing-scroll {
                display: block;
            }
            
            .pricing-card.featured {
                transform: none;
            }
            
            
            .revenue-timeline,
            .backup-grid,
            .lifeplan-grid {
                grid-template-columns: 1fr;
            }
        }
        .sp480{
            display:none;
        }
        @media (max-width: 480px) {

              .section-title {
    font-size: 1.6rem;
  }
            .footer .container {
  padding: 0 15px;
}
.lifeplan-title {
  font-size: 1.6rem;
}
  .introduction {
    padding-bottom: 50px;
  }
              .hero-section h1, .highlight-section h2 {
    font-size: 1.6rem;
  }
    .features {
    padding: 50px 15px;
  }
  .benefit-card {
  padding: 30px 15px;
  }
.container {
  padding: 0px ;
}
            .hero-section p,.lifeplan-section p,.highlight-section p{
                text-align:left;
            }
            .breadcrumb__item span .sp480 {
    display:none;
}
            .page-title .ja {
font-size: 30px;
            }
            .page-title .en {
  font-size: 16px;
            }
                    .pc480{
            display:none;
        }
            .sp480{
                display:block;
            }
         .income-section  .container {
               padding: 0;
            }
            
            .hero-section,
            .income-section,
            .benefits-section,
            .revenue-system-section,
            .pricing-section {
                padding: 50px 15px;
            }
            .backup-section,.lifeplan-section,
            .comparison-section{
                padding: 80px 15px;
            }
            .income-card,
            .backup-card {
                padding: 20px;
            }
            
            .revenue-system {
                padding: 25px;
            }
            
            
            .benefit-card.mobile,
            .pricing-card.mobile,
            .comparison-card.mobile {
               width: 280px;
            }
            
            .benefits-scroll-inner {
                width: calc(260px * 3 + 40px);
            }
            
            .pricing-scroll-inner,
            .comparison-scroll-inner {
                width: calc(260px * 3 + 40px);
            }

        }

/*     幸訪会さらなるメリット      */
.sarani{
    background: white;
  border-radius: 16px;
 padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  margin: 30px auto 0;
  border: 2px solid #10b981;
}
.sarani h3{
    color: #10b981;
  font-size: 1.6rem;
  font-weight: 700;
 margin-bottom: 30px;
  text-align: center;
}
.sarani ul{
    list-style: none;
display: flex;
  justify-content: space-between;
  align-items: center;
}

.sarani li{
width: 30%;
}
.sarani img{
    width:100%;
}
.sarani h4{
    font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1f2937;
  text-align: center;
}

@media (max-width: 768px) {
    .sarani {
  padding: 30px 20px;
    }
.sarani ul {
  flex-direction: column;
}
.sarani li {
  width: 100%;
  margin-bottom: 50px;
}
.sarani h4 {
  background: #50c4aa;
  color: #fff;
}
}
/*  万が一赤字になっても */
.manga{
    background:linear-gradient(93deg, #afd9ff 20.13%, #bdb9ff 81.55%), #2750df;
  padding: 30px;
  margin: 30px auto;
  border-radius: 20px;
text-align: center;
}
.manga h4{
    font-weight: bold;
  color: #2750df;
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.manga ul{
    list-style: none;
  display: flex;
  justify-content: space-between;
}
.manga li{
width: 48%;
  background: #fff;
  padding: 30px 20px;
position: relative;
}
.manga li::before{
 content:'●';
position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
 left:10px;
 top:3px;
 font-size:14px;
  color: #2750df6e;
}
.manga span{
    color: #dc2626;
}
@media (max-width: 680px) {
.manga ul {
  flex-direction: column;
}
.manga li {
  width: 100%;
  margin-bottom: 30px;
}
}
@media (max-width: 480px) {
.manga {
  background: #e3effe;
  padding: 30px 20px;
}
.manga h4 {
  font-size: 1.2rem;
}
.manga p{
    text-align: left;
}
.manga ul {
  flex-direction: column;
}
.manga li {
  width: 100%;
  margin-bottom: 30px;
}
.manga li:last-of-type{
    margin-bottom:0px;
}
}


/* ======================
   比較テーブルセクション(tableタグ版・完全修正版)
   ====================== */
.comparison-section {
    padding: 80px 0;
}

.comparison-table-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    /* iOS Safari対策 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.comparison-table {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 600px;
    width: 100%;
    /* iOS Safari対策: separateに変更 */
    border-collapse: separate;
    border-spacing: 0;
    /* iOS Safari対策 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.comparison-table thead {
    border-bottom: 2px solid #e8e8e8;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: #1d1c1d;
    text-align: left;
    width: 200px;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table tbody tr:hover {
    background: #eff7ff;
}

.status-cell {
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.status-cell:hover {
    background: #8b8b8b !important;
    color: #fff;
}

.status-cell.active {
    background: #8b8b8b !important;
    color: #fff;
}

.status-cell.highlight {
    background: #10b981 !important;
}

.status-cell.highlight:hover {
    background: #0d9668 !important;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.status-excellent {
    color: #fff;
}

.status-poor {
    font-size: 38px;
}

/* ツールチップボックス */
.tooltip-box {
    display: none;
    position: absolute;
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    min-width: 200px;
    width: max-content;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: normal;
    word-wrap: break-word;
}

.tooltip-box::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #333;
}

.tooltip-box.show {
    display: block;
    animation: tooltipFadeIn 0.3s;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kome {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ======================
   レスポンシブ対応 - iOS Safari完全対応版
   ====================== */
@media (max-width: 768px) {
    .comparison-table-wrapper::after {
        content: "← 横にスクロールできます →";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        color: #666;
        white-space: nowrap;
    }
    
    .kome {
        margin-bottom: -20px;
    }
    
    .comparison-table-wrapper {
        margin-bottom: 40px;
    }
    
    /* 比較項目列を左側に固定 - iOS Safari完全対応 */
    .comparison-table th.feature-name,
    .comparison-table td.feature-name {
        position: -webkit-sticky !important;
        position: sticky !important;
        left: 0 !important;
        z-index: 20 !important;
        background: white !important;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15) !important;
        /* iOS Safari対策 */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: transform !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
    
    /* ヘッダー行の背景 */
    .comparison-table thead th.feature-name {
        background: white !important;
        font-weight: 700 !important;
    }
    
    /* 偶数行の背景色を維持 */
    .comparison-table tbody tr:nth-child(even) td.feature-name {
        background: #f8f9fa !important;
    }
    
    /* ホバー時の背景色を維持 */
    .comparison-table tbody tr:hover td.feature-name {
        background: #eff7ff !important;
    }
    
    /* iOS Safari対策: 各行にも適用 */
    .comparison-table tr {
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
    }
    
    .tooltip-box {
        max-width: 280px;
        min-width: 180px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
                .comparison-section    .section-subtitle {
  padding:0 20px;
}
    .comparison-table {
        min-width: 550px;
    }
    
    .tooltip-box {
        max-width: 260px;
        min-width: 160px;
        font-size: 12px;
        padding: 10px 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .comparison-table .feature-name {
        font-size: 13px;
        width: 120px !important;
        min-width: 120px !important;
        max-width: 150px !important;
    }
}