
/* 脳ドック*/
.kv {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-top: 14px;
      position: relative;
      z-index: 1;
    }
    .kv .k, .kv .v {
      background:#fff;
      color: #1e3c72;
      font-weight: 800;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 0.9rem;
    }

    /* Sections */
    section {
		 margin: 34px 0;
      /*background: #fff;
      border-radius: 14px;
      box-shadow: 0 8px 28px rgba(30,60,114,.06);
     
      padding: 34px;
		    padding: 34px 15px;*/
    }
    section h2 {
      font-size: 1.8rem;
      color: #1e3c72;
      border-bottom: 3px solid #2a5298;
      padding-bottom: 10px;
      margin-bottom: 18px;
    }
    .intro {
      color: #435;
      font-size: 1.05rem;
    }

    /* Grid blocks (検査説明) - レイアウト修正 */
    .exam-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    
    /* カード共通設定：Flexboxで左右レイアウトを実現 */
    .exam-card {
      background: #fdfdfd;
      border: 2px solid #e6ecf2;
      border-radius: 12px;
      padding: 20px; 
      transition: .2s;
      display: flex;
      justify-content: space-between;
      align-items: flex-start; /* 上揃え */
      gap: 16px;
    }


    /* テキストエリア（左側） */
    .exam-txt {
      flex: 1;
      min-width: 0; /* Flexアイテムのはみ出し防止 */
    }

    /* 画像スロット（右側・正方形固定） */
    .exam-card .img-slot {
      width: 130px;
      height: 130px; /* 正方形にする */
      flex-shrink: 0;
      background: #eef3f8;
      border: 1px dashed #b9c5d3;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      order: 2; /* Flexbox内で右側に配置 */
    }

    /* 画像自体の設定 */
    .exam-card .img-slot img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* 枠に合わせてトリミングして埋める */
      display: block;
    }
    
    /* BrainSuite用画像調整（ロゴ等はcontainで見切れ防止） */
    .exam-card .img-slot.brainsuite-img {
       background: #fff;
    }
    .exam-card .img-slot.brainsuite-img img {
      object-fit: contain; 
      padding: 5px;
    }

    /* BrainSuiteカード（全幅表示） */
    .exam-card.brainsuite-card {
      grid-column: 1 / -1;
      background: #eef6ff; 
      border-color: #cce4ff;
      align-items: center; /* 縦中央揃え */
    }
    /* BrainSuiteカードの画像だけ少し大きくする */
    .exam-card.brainsuite-card .img-slot {
      width: 160px;
      height: 160px;
    }

    .exam-title {
      font-weight: 900;
      color: #2a5298;
      font-size: 1.15rem;
      margin-bottom: 6px;
      line-height: 1.4;
    }
    .badge-mini {
      display: inline-block;
      background: #f0f4f8;
      color: #1e3c72;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: .78em;
      margin: 0 0 10px;
    }
    .exam-desc { color: #334; font-size: 0.95rem; line-height: 1.6; }
    
    /* Button for Modal */
    .btn-modal-trigger {
        display: inline-block;
        margin-top: 12px;
        padding: 6px 14px;
        background: #2a5298;
        color: #fff;
        font-size: 0.85rem;
        font-weight: bold;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s;
        border: none;
    }
    .btn-modal-trigger:hover {
        background: #1e3c72;
    }

    /* スマホ対応：画像を上に、テキストを下に */
    @media (max-width: 820px) {
      .exam-grid { grid-template-columns: 1fr; }
      
      .exam-card { 
        flex-direction: column; /* 縦並び */
        align-items: stretch;
      }
      .exam-card .img-slot { 
        width: 100%; /* 横幅いっぱい */
        height: 200px; /* 高さは固定 */
        order: -1; /* テキストより先に表示（上に来る） */
        margin-bottom: 16px;
      }
      .exam-card.brainsuite-card .img-slot {
        width: 100%;
        height: 200px;
      }
    }

    /* ▼▼▼ Pricing & Comparison Design ▼▼▼ */
    .pricing {
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: stretch;
      flex-wrap: wrap;
    }
    .price-card {
      background: #fff;
      border: 1px solid #e6ecf2;
      border-radius: 16px;
      padding: 0;
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
      position: relative;
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 300px;
      max-width: 380px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }


    /* Course Themes */
    .card-basic { border-top: 5px solid #00bcd4; }
    .card-basic .price-header { background: linear-gradient(135deg, #e0f7fa, #fff); color: #00838f; }
    .card-basic .price { color: #00acc1; }
    .card-basic .check-icon { color: #00bcd4; }

    .card-standard { border: 2px solid #2a5298; transform: scale(1.02); z-index: 1; }
    .card-standard .price-header { background: linear-gradient(135deg, #2a5298, #1e3c72); color: #fff; }
    .card-standard .price { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
    .card-standard .price small { color: #cfd8dc; }
    .card-standard .price-subtitle { color: #e3f2fd; opacity: 0.9; }
    .card-standard .check-icon { color: #2a5298; }
    
    .card-special { border-top: 5px solid #c9a44b; }
    .card-special .price-header { background: linear-gradient(135deg, #fff8e1, #fff); color: #8d6e1f; }
    .card-special .price { color: #9f8034; }
    .card-special .check-icon { color: #c9a44b; }

    /* Card Content */
    .price-header {
      padding: 24px;
      text-align: center;
      border-bottom: 1px solid #eee;
    }
    .price-title {
      font-size: 1.4rem;
      font-weight: 900;
      margin-bottom: 5px;
    }
    .price-subtitle {
      font-size: 0.9rem;
      font-weight: 700;
      display: block;
    }
    .price {
      font-size: 2.2rem;
      font-weight: 800;
      margin-top: 10px;
      letter-spacing: -1px;
    }
    .price small { font-size: 0.5em; font-weight: 600; margin-left: 4px; vertical-align: middle; }

    .price-body {
      padding: 24px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .target-badge {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 15px;
      background: #f0f4f8;
      color: #556;
      align-self: flex-start;
    }
    .price-desc {
      font-size: 0.95rem;
      color: #555;
      margin-bottom: 20px;
      line-height: 1.6;
      font-weight: 500;
    }
    .time-info {
        font-size: 0.9rem;
        background: #fff;
        border: 1px solid #ddd;
        padding: 4px 10px;
        border-radius: 4px;
        display: inline-block;
        margin-bottom: 15px;
        color: #555;
        font-weight: 700;
    }
    .time-info i { margin-right: 4px; }

    .feature-list {
      list-style: none;
      margin-top: auto;
      border-top: 1px dashed #ddd;
      padding-top: 15px;
    }
    .feature-list li {
      position: relative;
      padding-left: 28px;
      margin-bottom: 10px;
      font-size: 0.95rem;
      line-height: 1.4;
      color: #333;
    }
    .feature-list li strong { color: #d32f2f; background: linear-gradient(transparent 70%, #ffcdd2 70%); }
    .check-icon {
      position: absolute;
      left: 0;
      top: 2px;
      font-size: 1.1em;
      font-weight: 900;
    }

    /* Comparison Table */
    .compare-table-wrap {
      margin-top: 40px;
      overflow-x: auto;
    }
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .compare-table th, .compare-table td {
      padding: 14px 10px;
      text-align: center;
      border-bottom: 1px solid #eee;
      font-size: 0.95rem;
    }
    .compare-table th { background: #f7f9fc; color: #1e3c72; font-weight: 800; }
    .compare-table th:first-child { text-align: left; padding-left: 24px; width: 30%; }
    .compare-table tr:last-child td { border-bottom: none; }
    .c-mark { font-size: 1.2rem; font-weight: 900; }
    .ok { color: #2a5298; }
    .ng { color: #ccc; font-weight: 400; }
    
    /* Ribbon */
    .ribbon-top {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      padding: 4px 16px;
      font-size: 0.75rem;
      font-weight: 800;
      border-radius: 0 0 8px 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      z-index: 10;
    }
    /* Ribbons color separation */
    .ribbon-basic { background: #00acc1; }
    .ribbon-standard { background: #33982a; }
    .ribbon-special { background: #c9a44b; }

    /* Flow Section */
    .flow-steps {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        counter-reset: flow-counter;
        flex-wrap: wrap;
        gap: 20px;
    }
    .flow-item {
        flex: 1;
        min-width: 200px;
        background: #f8fbff;
        border: 2px solid #eef3f8;
        border-radius: 10px;
        padding: 20px;
        position: relative;
        text-align: center;
    }
    .flow-item::before {
        counter-increment: flow-counter;
        content: counter(flow-counter);
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        background: #2a5298;
        color: #fff;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-weight: bold;
        line-height: 30px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .flow-title { font-weight: 800; color: #1e3c72; margin-bottom: 8px; display: block; margin-top: 10px; }
    .flow-desc { font-size: 0.9rem; color: #556; }
    .flow-arrow {
        align-self: center;
        color: #cbd5e0;
        font-size: 1.5rem;
    }
    @media (max-width: 820px) {
        .pricing { flex-direction: column; align-items: center; }
        .price-card { width: 100%; max-width: 100%; transform: none !important; }
        .compare-table th, .compare-table td { font-size: 0.8rem; padding: 10px 4px; }
        .flow-steps { flex-direction: column; }
        .flow-arrow { transform: rotate(90deg); margin: 10px 0; }
    }
.card-basic .price-title {
	color: #00838f;
}
.card-standard .price-title {
	color: #fff;
}
.card-special .price-title {
    color: #9f8034;
}

    /* FAQ */
    details {
      background: #fff;
      border: 2px solid #e6ecf2;
      border-radius: 12px;
      padding: 14px 16px;
      margin: 10px 0;
    }
    summary {
      font-weight: 800;
      color: #1e3c72;
      cursor: pointer;
    }
    .warn {
      background: #fff3cd;
      border-left: 4px solid #ffb74d;
      border-radius: 8px;
      padding: 12px 14px;
      color: #5d3b00;
      margin: 10px 0;
    }
    .warn ul,
    .warn p {
      padding-left: 18px;
    }

    /* Modal Styles */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.8);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    .modal-content {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        max-width: 900px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
    }
    .modal-close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2rem;
        font-weight: bold;
        color: #333;
        cursor: pointer;
        line-height: 1;
    }
    .modal-images {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .modal-images img {
        max-width: 100%;
        height: auto;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    /* CTA */
    .cta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 18px;
    }
    .btn {
      display: inline-block;
      background: #2a5298;
      color: #fff!important;
      padding: 14px 28px;
      border-radius: 999px;
      font-weight: 800;
      transition: .2s;
    }
    .btn:hover {
      background: #1e3c72;
      transform: translateY(-2px);
    }
    .btn.secondary {
      background: transparent;
      color: #2a5298!important;
      border: 2px solid #2a5298;
    }
    .btn.secondary:hover {
      background: #e6ecf2;
    }
    .sticky-cta {
      position: sticky;
      bottom: 18px;
      display: flex;
      justify-content: center;
      z-index: 100;
    }
    .sticky-cta .btn {
      box-shadow: 0 8px 24px rgba(0,0,0,.18);
    }

 