/* ========================================
   リセット・基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   ヘッダー
======================================== */

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1e88e5;
}

header .logo {
  height: auto;
  max-height: 95%;
  width: auto;
}
@media (max-width: 767px) {
  header .logo {
    width: 82%;
  }
}

.img-shadow {
  -webkit-filter: drop-shadow(0 3px 3px #ccc);
          filter: drop-shadow(0 3px 3px #ccc);
}

header nav ul li.nav__button {
  font-size: 1.8rem;
  background: #555;
  border-radius: 1rem;
  width: 13rem;
  height: 5.6rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
header nav ul li.nav__button a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}
header nav ul li.nav__button a span {
  font-size: 0.6em;
}
header nav ul li.nav__button.line {
  background: #06c755;
}
header nav ul li.nav__button.web {
  background: #E7788D;
}
header nav ul li.nav__button.reservation {
  background: #FC7A45;
}

.reservation {
  background: #FFF0F3;
}
.reservation__content {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 80px;
  border-bottom: 1px solid #fff;
}
@media (max-width: 767px) {
  .reservation__content {
    max-width: 620px;
  }
}
.reservation__content .c-title__h2 {
  color: #FC7A45;
}
.reservation__content p {
  text-align: center;
  margin-bottom: 2.4rem;
}
.reservation__content p span {
  font-size: 1.4rem;
}
.reservation__content .c-button {
  margin-bottom: 1.6rem !important;
}

.test-plan .reservation__content {
  padding: 0 0 80px;
  border-bottom: none;
}

.hamburger {
  position: fixed;
  top: 0;
  right: 20px;
  z-index: 150;
  width: 80px;
  height: 80px;
  cursor: pointer;
  text-align: center;
}
@media (min-width: 1201px) {
  .hamburger {
    top: 10px;
  }
}
@media (max-width: 1024px) {
  .hamburger {
    right: 0;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 10px 0 0 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  }
}
.hamburger__text {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4.6rem;
  color: #DDAE27;
}
@media (max-width: 1024px) {
  .hamburger__text {
    font-size: 1.2rem;
    margin-top: 3.4rem;
  }
}
@media (max-width: 1024px) {
  .hamburger.is-active {
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}
.hamburger.is-active span:nth-child(1) {
  top: 40%;
  -webkit-transform: translate(-50%, -50%) rotate(135deg);
          transform: translate(-50%, -50%) rotate(135deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  top: 40%;
  -webkit-transform: translate(-50%, -50%) rotate(-135deg);
          transform: translate(-50%, -50%) rotate(-135deg);
}
.hamburger span {
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 50%;
  height: 2.5px;
  background-color: #DDAE27;
  border-radius: 2px;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
@media (max-width: 767px) {
  .hamburger span {
    width: 50%;
  }
}
.hamburger span:nth-child(1) {
  top: 25%;
}
.hamburger span:nth-child(2) {
  top: 38%;
}
.hamburger span:nth-child(3) {
  top: 51%;
}

/*=========================================
#drawer
=========================================*/
.drawer {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 130;
  min-width: 260px;
  width: 20%;
  height: auto;
  padding: 60px 40px;
  border-radius: 0 0 0 4%;
  background-color: #fff;
  -webkit-transition: right 0.5s, opacity 0.5s, visibility 0.5s;
  transition: right 0.5s, opacity 0.5s, visibility 0.5s;
}
@media (max-width: 767px) {
  .drawer {
    min-width: 200px;
    padding: 60px 32px;
  }
}
.drawer.is-active {
  visibility: visible;
  opacity: 1;
  right: 0;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
          box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}
.drawer__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 0 20px;
}
.drawer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
  font-size: 1.8rem;
}
@media (max-width: 1024px) {
  .drawer__list {
    font-size: 1.6rem;
  }
}
.drawer__link {
  color: #DDAE27;
}

/* ========================================
   ページヘッダー
======================================== */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* ========================================
   導入ボックス
======================================== */
.intro-box {
  background: #e3f2fd;
  border-left: 6px solid #1e88e5;
  padding: 30px;
  margin: 50px 0;
  border-radius: 8px;
}

.intro-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1565c0;
}

.intro-text {
  line-height: 1.8;
  color: #555;
}

/* ========================================
   セクション共通
======================================== */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* ========================================
   比較表
======================================== */
.comparison-section {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin-bottom: 70px;
}

.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.table-header-item {
  text-align: left !important;
  font-size: 1.1rem;
}

.table-header-course {
  font-size: 1rem;
  font-weight: bold;
}

.table-header-course.recommended {
  background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
}

.comparison-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.comparison-table tbody tr:hover {
  background: #e3f2fd;
}

.item-name {
  text-align: left !important;
  font-weight: 500;
}

.item-name small {
  display: block;
  font-size: 0.85rem;
  color: #666;
  font-weight: normal;
}

.price-cell {
  color: #1e88e5;
  font-weight: bold;
  font-size: 1.4rem;
}

.check-cell {
  color: #4caf50;
  font-size: 1.6rem;
  font-weight: bold;
}

.cross-cell {
  color: #ccc;
  font-size: 1.6rem;
}

/* ========================================
   コースカード
======================================== */
.courses-section {
  margin-bottom: 70px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.course-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.recommended-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #ffa726;
  color: white;
  padding: 8px 30px;
  border-radius: 0 0 20px 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.course-card.high-grade {
  border: 2px solid #ffa726;
}

.course-header {
  text-align: center;
  margin-bottom: 25px;
}

.course-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
}

.course-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.course-price {
  font-size: 2rem;
  font-weight: bold;
  color: #1e88e5;
  margin-bottom: 15px;
}

.price-suffix {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
}

.course-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* ========================================
   機能リスト
======================================== */
.features-list {
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.feature-icon {
  flex-shrink: 0;
  font-weight: bold;
  font-size: 1.1rem;
}

.feature-icon.check {
  color: #4caf50;
}

.feature-icon.cross {
  color: #ccc;
}

.feature-item .disabled {
  color: #999;
}

/* ========================================
   おすすめボックス
======================================== */
.recommend-box {
  background: #fff3cd;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.recommend-title {
  font-size: 1rem;
  font-weight: bold;
  color: #856404;
  margin-bottom: 10px;
}

.recommend-list {
  list-style: none;
  padding: 0;
}

.recommend-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: #856404;
  font-size: 0.9rem;
}

.recommend-list li:before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #ffc107;
}

/* ========================================
   CTAボタン
======================================== */
.cta-button {
  width: 100%;
  background: #1e88e5;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #1565c0;
}

/* ========================================
   疾患カード
======================================== */
.diseases-section {
  margin-bottom: 70px;
}

.disease-card {
  background: white;
  border-radius: 16px;
  padding: 35px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.disease-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #667eea;
}

.disease-detail {
  margin-bottom: 20px;
}

.detail-label {
  font-size: 1rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 8px;
  display: inline-block;
  background: #ecf0f1;
  padding: 4px 12px;
  border-radius: 5px;
}

.detail-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

.detail-list {
  list-style: none;
  padding: 15px 0;
}

.detail-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 1rem;
  color: #555;
}

.detail-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #667eea;
  font-size: 1.3rem;
}

.disease-accuracy {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}

.accuracy-label {
  font-size: 1rem;
  font-weight: bold;
  color: #1565c0;
  margin-bottom: 8px;
}

.accuracy-text {
  font-size: 1.05rem;
  color: #1976d2;
  font-weight: 500;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
  margin-bottom: 70px;
}

.faq-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: white;
  border: none;
  padding: 25px 30px;
  font-size: 1.05rem;
  font-weight: bold;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-icon {
  transition: transform 0.3s;
  color: #1e88e5;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 30px 25px;
  color: #555;
  line-height: 1.8;
}

/* ========================================
   CTAセクション
======================================== */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  color: white;
  margin: 70px 0;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-btn {
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn.primary {
  background: white;
  color: #667eea;
}

.cta-btn.secondary {
  background: #4caf50;
  color: white;
}

.btn-icon {
  font-size: 1.3rem;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ========================================
   特徴セクション
======================================== */
.features-section {
  margin-bottom: 70px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  background: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #1e88e5;
  font-weight: bold;
}

.feature-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature-card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   フッター
======================================== */
.site-footer {
  background: #2c3e50;
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 50px 0;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .comparison-section {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-name {
    font-size: 1.5rem;
  }

  .cta-section {
    padding: 40px 25px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }

  .intro-box {
    padding: 20px;
  }

  .comparison-section {
    padding: 20px 15px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
    font-size: 0.85rem;
  }

  .disease-card {
    padding: 25px 20px;
  }

  .faq-question {
    padding: 20px;
    font-size: 0.95rem;
  }
}

/* ========================================
   検査項目詳細セクション
======================================== */
.test-details-section {
  margin-bottom: 70px;
}

.test-detail-card {
  background: white;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.test-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.test-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.test-detail-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c3e50;
}

.test-detail-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.detail-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  color: white;
}

.detail-badge.standard {
  background: linear-gradient(135deg, #66bb6a, #4caf50);
}

.detail-badge.select {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

.detail-badge.high-grade {
  background: linear-gradient(135deg, #ffa726, #ff9800);
}

.detail-badge.premium {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

.test-detail-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

/* ========================================
   染色体グリッド（基本3疾患用）
======================================== */
.chromosome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.chromosome-item {
  background: #f9fdf9;
  border: 2px solid #4caf50;
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.chromosome-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.chromosome-number {
  background: linear-gradient(135deg, #66bb6a, #4caf50);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.chromosome-disease {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.chromosome-freq {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
  padding: 8px 12px;
  background: #fff3cd;
  border-radius: 8px;
  display: inline-block;
}

.chromosome-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.chromosome-accuracy {
  background: #e3f2fd;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1565c0;
  font-weight: 500;
  text-align: center;
}

/* ========================================
   その他のトリソミーリスト
======================================== */
.other-trisomy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.trisomy-item {
  background: #f0f7ff;
  border-left: 4px solid #1e88e5;
  padding: 20px;
  border-radius: 10px;
}

.trisomy-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1565c0;
  margin-bottom: 10px;
}

.trisomy-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ========================================
   性染色体グリッド
======================================== */
.sex-chromosome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.sex-chromosome-item {
  background: #fffbf5;
  border: 2px solid #ff9800;
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sex-chromosome-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.2);
}

.sex-chromosome-type {
  background: linear-gradient(135deg, #ffa726, #ff9800);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.sex-chromosome-disease {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.sex-chromosome-freq {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  padding: 6px 12px;
  background: #fff3cd;
  border-radius: 8px;
  display: inline-block;
}

.sex-chromosome-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.sex-chromosome-features {
  list-style: none;
  padding: 15px;
  background: #fff8f0;
  border-radius: 8px;
}

.sex-chromosome-features li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.95rem;
  color: #555;
}

.sex-chromosome-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff9800;
  font-size: 1.2rem;
}

/* ========================================
   微小欠失グリッド
======================================== */
.microdeletion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.microdeletion-item {
  background: #fffafa;
  border: 2px solid #ff6b6b;
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.microdeletion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
}

.microdeletion-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.4;
}

.microdeletion-detail {
  font-size: 0.9rem;
  color: #666;
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

.microdeletion-freq {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  padding: 6px 12px;
  background: #ffe6e6;
  border-radius: 8px;
  display: inline-block;
}

.microdeletion-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.microdeletion-features {
  list-style: none;
  padding: 15px;
  background: #fff5f5;
  border-radius: 8px;
}

.microdeletion-features li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.95rem;
  color: #555;
}

.microdeletion-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff6b6b;
  font-size: 1.2rem;
}

/* ========================================
   専門家ノート
======================================== */
.expert-note {
  background: linear-gradient(135deg, #667eea15, #764ba215);
  border-left: 5px solid #667eea;
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
}

.expert-note-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expert-note-title:before {
  content: "💡";
  font-size: 1.5rem;
}

.expert-note-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* ========================================
   レスポンシブ（検査詳細セクション）
======================================== */
@media (max-width: 768px) {
  .test-detail-card {
    padding: 30px 20px;
  }

  .test-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .test-number {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .test-detail-title {
    font-size: 1.5rem;
  }

  .chromosome-grid,
  .sex-chromosome-grid,
  .microdeletion-grid,
  .other-trisomy-list {
    grid-template-columns: 1fr;
  }

  .chromosome-item,
  .sex-chromosome-item,
  .microdeletion-item {
    padding: 20px;
  }

  .chromosome-disease,
  .sex-chromosome-disease {
    font-size: 1.2rem;
  }

  .expert-note {
    padding: 20px;
  }

  .expert-note-title {
    font-size: 1.1rem;
  }

  .expert-note-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .test-detail-card {
    padding: 25px 15px;
  }

  .test-detail-title {
    font-size: 1.3rem;
  }

  .test-detail-description {
    font-size: 1rem;
    padding: 15px;
  }

  .test-detail-badges {
    gap: 8px;
  }

  .detail-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .chromosome-disease,
  .sex-chromosome-disease,
  .microdeletion-name {
    font-size: 1.1rem;
  }
}