@charset "utf-8";
/* ============================================================
   診療内容ページ固有のスタイル
   ============================================================ */

/* このページはアイコンを大きめに見せる */
.feat-icon img {
 width: 64px;
 height: 64px;
}
.treat-icon img {
 width: 64px;
 height: 64px;
}

   /* ── スティッキーナビ ── */
   .treat-nav {
    position: sticky;
    top: 72px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-light);
    overflow-x: auto;
    scrollbar-width: none;
   }
   .treat-nav::-webkit-scrollbar {
    display: none;
   }
   .treat-nav-inner {
    display: flex;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
   }
   .treat-nav-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
   }
   .treat-nav-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
   }
   .treat-nav-item:hover,
   .treat-nav-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
   }

   /* ── 各診療セクション ── */
   .treat-section {
    padding: 80px 0;
   }
   .treat-section:nth-child(even) {
    background: var(--primary-light);
   }
   .treat-section:nth-child(odd) {
    background: var(--white);
   }

   .treat-sec-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--border);
   }
   .treat-sec-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
   }
   .treat-sec-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
   }
   .treat-sec-title {
    flex: 1;
   }
   .treat-sec-title h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
   }
   .treat-sec-title .tag {
    font-size: 14px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    display: inline-block;
   }

   .treat-lead {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 800px;
   }

   /* メニューグリッド */
   .treat-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
   }
   .treat-menu-item {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
   }
   .treat-menu-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto;
   }
   .treat-section:nth-child(even) .treat-menu-item {
    background: rgba(255, 255, 255, 0.85);
   }
   .treat-menu-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
   }
   .treat-menu-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
   }
   .treat-menu-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
   }

   /* 注意書きボックス（自由診療） */
   .treat-note {
    background: #fff8e1;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
    margin-top: 16px;
   }
   .treat-note strong {
    color: var(--accent-dark);
   }

   /* ポイントリスト */
   .treat-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
   }
   .treat-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.7;
   }
   .treat-point::before {
    content: "";
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 11l4 4 6-6' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-size: cover;
   }

   /* CTAバナー */
   .treat-cta {
    background: linear-gradient(
     135deg,
     var(--primary-dark) 0%,
     var(--primary) 100%
    );
    padding: 64px 0;
    text-align: center;
    color: #fff;
   }
   .treat-cta h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    margin-bottom: 16px;
   }
   .treat-cta p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 32px;
   }
   .cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
   }
   .btn-cta-white {
    background: #fff;
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
   }
   .btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
   }
   .btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
   }
   .btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
   }

   /* ── Responsive ── */
   @media (max-width: 768px) {
    .treat-nav-item {
     padding: 12px 14px;
     font-size: 13px;
    }
    .treat-sec-head {
     flex-direction: column;
     align-items: flex-start;
     gap: 16px;
    }
    .treat-menu {
     grid-template-columns: 1fr;
    }
    .page-hero {
     padding: 90px 0 44px;
    }
    .treat-section {
     padding: 56px 0;
    }
   }
