/*
Theme Name: San Mental Clinic V2
Theme URI:
Author:
Description: さんメンタルクリニック リニューアルテーマ
Version: 1.0
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --primary: #e87a30;
  --primary-dark: #c05e18;
  --accent: #e07070;
  --accent-light: #f5a0a0;
  --bg: #f7f5f2;
  --bg-light: #fff4ec;
  --text: #2c2c2c;
  --text-mid: #7a6a5a;
  --white: #ffffff;
  --border: #f0dfd0;
  --shadow: 0 4px 20px rgba(232, 122, 48, 0.12);
  --shadow-hover: 0 8px 32px rgba(232, 122, 48, 0.22);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --container: 1100px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Zen Maru Gothic', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */
/* =============================================
   HEADER - 2段構成
   ============================================= */
.sm_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(232, 122, 48, 0.08);
  transition: box-shadow 0.3s ease;
}

.sm_header.scrolled {
  box-shadow: 0 4px 20px rgba(232, 122, 48, 0.15);
}

/* 上段：ロゴ＋TEL＋予約 */
.sm_header_top {
  border-bottom: 1px solid var(--border);
}

.sm_header_top_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
}

.sm_header_logo a {
  display: flex;
  align-items: center;
}

.sm_header_logo img {
  height: 64px;
  width: auto;
}

.sm_header_contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm_header_dept {
  font-size: 0.8rem;
  color: var(--text-mid);
  white-space: nowrap;
}

.sm_header_tel {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
}

.sm_header_tel:hover {
  color: var(--primary-dark);
}

.sm_header_tel i {
  font-size: 1rem;
  margin-right: 4px;
}

.sm_header_reserve {
  display: inline-block;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.sm_header_reserve:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 122, 48, 0.35);
}

/* 下段：ナビゲーション */
.sm_header_nav {
  background: #fff7f2;
  border-top: 1px solid rgba(232, 122, 48, 0.15);
  box-shadow: 0 2px 8px rgba(232, 122, 48, 0.06);
}

.sm_header_nav_inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
}

.sm_header_nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}

.sm_header_nav ul li a {
  display: block;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.sm_header_nav ul li a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--white);
}

.sm_header_nav ul li.current-menu-item > a,
.sm_header_nav ul li.current_page_item > a {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

/* Hamburger Button */
.sm_hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.sm_hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.sm_hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sm_hamburger.active span:nth-child(2) {
  opacity: 0;
}

.sm_hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay Nav */
.sm_mobile_nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 1050;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sm_mobile_nav.active {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.sm_mobile_nav_list {
  text-align: center;
  width: 100%;
  padding: 0 24px;
}

.sm_mobile_nav_list li {
  margin: 2px 0;
}

.sm_mobile_nav_list li a {
  display: block;
  padding: 9px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  border-radius: 8px;
  transition: var(--transition);
}

.sm_mobile_nav_list li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-light);
}

.sm_mobile_nav_reserve {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
}

.sm_mobile_nav_reserve:hover {
  background: var(--accent-light);
}

.sm_mobile_nav_close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* =============================================
   HERO SECTION
   ============================================= */
.sm_hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  background: url('/img/hero.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 132px;
}

.sm_hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 74, 122, 0.62) 0%, rgba(232, 122, 48, 0.38) 100%);
}

.sm_hero_content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 24px;
  max-width: 720px;
}

.sm_hero_label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.sm_hero_title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.sm_hero_subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.90);
  margin-bottom: 36px;
  line-height: 1.7;
}

.sm_hero_ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.sm_btn_hero_reserve {
  font-size: 1.15rem;
  padding: 16px 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.sm_hero_tel_link {
  color: rgb(255 255 255);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.sm_hero_tel_link:hover {
  color: var(--white);
}

.sm_btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.sm_btn_primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.sm_btn_primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.sm_btn_outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.75);
}

.sm_btn_outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.sm_btn_indigo {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.sm_btn_indigo:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

/* =============================================
   SECTION COMMON
   ============================================= */
.sm_section {
  padding: 80px 0;
}

.sm_section_alt {
  background: var(--bg-light);
}

.sm_section_dark {
  background: var(--primary-dark);
  color: var(--white);
}

.sm_section_header {
  text-align: center;
  margin-bottom: 52px;
}

.sm_section_label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.sm_section_title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.sm_section_dark .sm_section_title {
  color: var(--white);
}

.sm_section_desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

.sm_section_dark .sm_section_desc {
  color: rgba(255,255,255,0.75);
}

.sm_divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* =============================================
   NEWS TICKER
   ============================================= */
.sm_news {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.sm_news_inner {
  display: flex;
  align-items: stretch;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sm_news_label {
  display: flex;
  align-items: center;
  padding: 0 24px 0 0;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.sm_news_label span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.sm_news_list {
  flex: 1;
  overflow: hidden;
  padding: 0 24px;
}

.sm_news_list ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sm_news_list ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.sm_news_list ul li:last-child {
  border-bottom: none;
}

.sm_news_date {
  font-size: 0.82rem;
  color: var(--text-mid);
  white-space: nowrap;
  font-weight: 600;
}

.sm_news_tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.sm_news_title {
  font-size: 0.9rem;
  color: var(--text);
}

.sm_news_title a {
  color: var(--text);
}

.sm_news_title a:hover {
  color: var(--primary);
}

.sm_news_more {
  display: flex;
  align-items: center;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

.sm_news_more a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm_news_more a::after {
  content: '→';
}

/* =============================================
   GREETING SECTION
   ============================================= */
.sm_greeting_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sm_greeting_img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sm_greeting_img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.sm_greeting_body .sm_section_label {
  text-align: left;
}

.sm_greeting_body h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.sm_greeting_body p {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.sm_greeting_sign {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.sm_greeting_sign p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.sm_greeting_sign strong {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 800;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.sm_features_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sm_feature_card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.sm_feature_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.sm_feature_icon {
  width: 72px;
  height: 72px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
}

.sm_feature_card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.sm_feature_card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0;
}

/* =============================================
   TREATMENTS SECTION
   ============================================= */
.sm_treatments_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sm_treatment_card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: var(--text);
}

.sm_treatment_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.sm_treatment_icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.sm_treatment_card:hover .sm_treatment_icon {
  background: var(--primary);
  color: var(--white);
}

.sm_treatment_card span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

/* =============================================
   CLINIC PHOTOS
   ============================================= */
.sm_photos_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sm_photo_item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.sm_photo_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sm_photo_item:hover img {
  transform: scale(1.05);
}

/* =============================================
   COUNSELING BANNER
   ============================================= */
.sm_counseling_banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  padding: 52px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.sm_counseling_banner_body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.sm_counseling_banner_body p {
  color: rgba(255,255,255,0.80);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.sm_counseling_banner_btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--white);
  color: var(--primary-dark);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.sm_counseling_banner_btn:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* =============================================
   SCHEDULE TABLE
   ============================================= */
.sm_schedule_outer {
  position: relative;
}

.sm_schedule_scroll_hint {
  display: none;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
  gap: 4px;
  align-items: center;
}

.sm_schedule_scroll_hint i {
  animation: scroll-bounce 1.2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

.sm_schedule_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-light);
  border-bottom: 3px solid var(--primary);
}

.sm_schedule_wrap::-webkit-scrollbar {
  height: 6px;
}

.sm_schedule_wrap::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 3px;
}

.sm_schedule_wrap::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.sm_schedule_table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 540px;
}

.sm_schedule_table th,
.sm_schedule_table td {
  padding: 14px 12px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.sm_schedule_table thead th {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.sm_schedule_table thead th.sat {
  background: var(--primary);
}

.sm_schedule_table thead th.sun,
.sm_schedule_table thead th.hol {
  background: var(--accent);
}

.sm_schedule_table tbody td {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.sm_schedule_time {
  font-weight: 700;
  background: var(--bg-light);
  font-size: 0.8rem;
  color: var(--text) !important;
  width: 100px;
}

.sm_schedule_note_cell {
  text-align: center;
}

.sm_schedule_sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1;
}

.sm_schedule_table tbody td.closed {
  color: var(--text-mid);
  font-weight: 600;
}

.sm_schedule_table tbody td.sat_val {
  color: var(--primary);
  font-weight: 600;
}

.sm_schedule_table tbody td.sun_val,
.sm_schedule_table tbody td.hol_val {
  color: var(--accent);
  font-weight: 600;
}

.sm_schedule_note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm_schedule_note::before {
  content: '※';
  color: var(--accent);
  font-weight: 700;
}

/* =============================================
   ACCESS SECTION
   ============================================= */
.sm_access_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.sm_access_info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.sm_access_info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-light);
}

.sm_access_row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.sm_access_row:last-child {
  border-bottom: none;
}

.sm_access_label {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  min-width: 64px;
}

.sm_access_value {
  color: var(--text);
}

.sm_access_value a {
  color: var(--primary);
  font-weight: 700;
}

.sm_map_wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sm_map_wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* =============================================
   FOOTER
   ============================================= */
.sm_footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}

.sm_footer_inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.sm_footer_logo img {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}

.sm_footer_logo p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
}

.sm_footer_logo p a {
  color: var(--accent-light);
  font-weight: 700;
}

.sm_footer_logo p a:hover {
  color: var(--white);
}

.sm_footer_schedule h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.sm_footer_nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.sm_footer_nav ul li {
  margin-bottom: 8px;
}

.sm_footer_nav ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.sm_footer_nav ul li a::before {
  content: '›';
  color: var(--accent-light);
}

.sm_footer_nav ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.sm_footer_bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* Footer schedule table override */
.sm_footer .sm_schedule_table {
  font-size: 0.75rem;
  min-width: auto;
}

.sm_footer .sm_schedule_table th,
.sm_footer .sm_schedule_table td {
  padding: 8px 6px;
  font-size: 0.60rem;
}

.sm_footer .sm_schedule_time {
  white-space: normal;
  width: 80px;
}

.sm_footer .sm_schedule_note {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
}

/* =============================================
   MOBILE CTA BAR
   ============================================= */
.sm_mobile_cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: var(--primary-dark);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
}

.sm_mobile_cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
  transition: var(--transition);
}

.sm_cta_call {
  background: var(--primary);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.sm_cta_call:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.sm_cta_reserve {
  background: var(--accent);
}

.sm_cta_reserve:hover {
  background: var(--accent-light);
  color: var(--white);
}

.sm_mobile_cta_inner {
  display: flex;
  width: 100%;
}

/* =============================================
   SIDE BOOKING BUTTON
   ============================================= */
.sm_side_booking {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
}

.sm_side_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px 0 0 8px;
  box-shadow: -3px 0 16px rgba(232, 122, 48, 0.35);
  transition: var(--transition);
  text-decoration: none;
}

.sm_side_btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  padding-right: 14px;
}

.sm_side_icon {
  font-size: 1.2rem;
  color: var(--accent-light);
}

.sm_side_text {
  font-size: 0.72rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
}

/* =============================================
   TOP BUTTON
   ============================================= */
.sm_totop {
  position: fixed;
  bottom: 32px;
  right: 64px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 800;
  box-shadow: 0 4px 16px rgba(232, 122, 48, 0.4);
}

.sm_totop::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--white);
  border-top: 2px solid var(--white);
  transform: rotate(45deg) translate(3px, 3px);
  margin: auto;
  position: absolute;
  inset: 0;
}

.sm_totop.visible {
  opacity: 1;
  pointer-events: all;
}

.sm_totop:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* =============================================
   INNER PAGE STYLES
   ============================================= */
.sm_page_main {
  margin-top: 132px;
}

.sm_page_hero {
  position: relative;
  height: 260px;
  overflow: hidden;
}

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

.sm_page_hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 74, 122, 0.55) 0%, rgba(232, 122, 48, 0.35) 100%);
}

.sm_page_hero_content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm_page_hero_title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  letter-spacing: 0.04em;
}

.sm_breadcrumb {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  margin:20px auto 10px;
}

.sm_breadcrumb p {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

.sm_breadcrumb p a {
  color: var(--primary);
}

.sm_breadcrumb p a:hover {
  color: var(--accent);
}

.sm_page_content {
  padding: 60px 24px 80px;
}
section.sm_news{
  margin:25px;
}
/* =============================================
   DISEASE PAGE STYLES
   ============================================= */
.v2_page_disease {
  max-width: 840px;
  margin: 0 auto;
}

.v2_disease_intro {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.v2_disease_intro p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 0;
}

.v2_disease_section {
  margin-bottom: 40px;
}

.v2_disease_section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

.v2_disease_section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.v2_disease_section p {
  color: var(--text-mid);
  line-height: 1.85;
}

.v2_disease_section ul {
  list-style: none;
  padding: 0;
}

.v2_disease_section ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.v2_disease_section ul li:last-child {
  border-bottom: none;
}

.v2_disease_section ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 12px;
}

.v2_disease_cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin-top: 48px;
}

.v2_disease_cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-size: 1rem;
}

.v2_disease_cta h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

/* =============================================
   DOCTOR PAGE
   ============================================= */
.v2_doctor_card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.v2_doctor_img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.v2_doctor_img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.v2_doctor_meta {
  margin-bottom: 4px;
}

.v2_doctor_role {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.v2_doctor_name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.v2_doctor_name_en {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.v2_doctor_body p {
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.v2_staff_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.v2_staff_card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.v2_staff_img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.v2_staff_role {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.v2_staff_name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.v2_staff_text {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}

/* =============================================
   FIRST VISIT PAGE
   ============================================= */
.v2_steps {
  display: grid;
  gap: 0;
  position: relative;
}

.v2_step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.v2_step:last-child {
  border-bottom: none;
}

.v2_step_num {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
}

.v2_step_body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.v2_step_body p {
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.v2_notice_box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--primary);
  margin-bottom: 28px;
}

.v2_notice_box h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.v2_notice_box p,
.v2_notice_box li {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.v2_notice_box ul {
  padding-left: 0;
}

.v2_notice_box ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.v2_notice_box ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* =============================================
   FAQ PAGE
   ============================================= */
.v2_faq_list {
  display: grid;
  gap: 12px;
}

.v2_faq_item details {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.v2_faq_item details[open] {
  box-shadow: var(--shadow-hover);
}

.v2_faq_item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
  list-style: none;
  transition: var(--transition);
}

.v2_faq_item summary::-webkit-details-marker {
  display: none;
}

.v2_faq_item summary:hover {
  background: var(--bg-light);
}

.v2_faq_q_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.v2_faq_q_text {
  flex: 1;
}

.v2_faq_toggle {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--text-mid);
  transition: transform 0.3s ease;
}

details[open] .v2_faq_toggle {
  transform: rotate(45deg);
}

.v2_faq_answer {
  padding: 20px 24px 24px 76px;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.85;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.v2_faq_a_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.v2_faq_answer_full {
  padding: 20px 24px 24px;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.85;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* =============================================
   NEWS/BLOG LIST
   ============================================= */
.v2_post_list {
  display: grid;
  gap: 24px;
}

.v2_post_card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items: flex-start;
}

.v2_post_card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.v2_post_thumb {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

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

.v2_post_thumb_placeholder {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.v2_post_body {
  flex: 1;
}

.v2_post_meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.v2_post_date {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 600;
}

.v2_post_cat {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.v2_post_title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.5;
}

.v2_post_title a {
  color: var(--text);
}

.v2_post_title a:hover {
  color: var(--primary);
}

.v2_post_excerpt {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* Pagination */
.v2_pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.v2_pagination a,
.v2_pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}

.v2_pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.v2_pagination .current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* =============================================
   SINGLE POST
   ============================================= */
.v2_single_wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.v2_single_article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

.v2_single_article h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
  line-height: 1.45;
}

.v2_single_content p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 18px;
}

.v2_single_content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.v2_single_content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}

.v2_single_content ul,
.v2_single_content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.v2_single_content ul {
  list-style: disc;
}

.v2_single_content ol {
  list-style: decimal;
}

.v2_single_content li {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.95rem;
}

.v2_single_content img {
  border-radius: var(--radius-sm);
  margin: 20px 0;
  max-width: 100%;
}

.v2_single_nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.v2_single_nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  padding: 10px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  max-width: 48%;
  transition: var(--transition);
}

.v2_single_nav a:hover {
  background: var(--primary);
  color: var(--white);
}

.v2_sidebar {
  position: sticky;
  top: 90px;
}

.v2_sidebar_widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.v2_sidebar_widget h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
}

.v2_sidebar_list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.v2_sidebar_list li:last-child {
  border-bottom: none;
}

.v2_sidebar_list li a {
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.v2_sidebar_list li a:hover {
  color: var(--primary);
}

/* =============================================
   COLUMN PAGE
   ============================================= */
.v2_column_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.v2_column_card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.v2_column_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.v2_column_thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.v2_column_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.v2_column_card:hover .v2_column_thumb img {
  transform: scale(1.05);
}

.v2_column_thumb_placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 2rem;
}

.v2_column_body {
  padding: 20px;
}

.v2_column_meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.v2_column_date {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 600;
}

.v2_column_title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.v2_column_title a {
  color: var(--text);
}

.v2_column_title a:hover {
  color: var(--primary);
}

.v2_column_excerpt {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* =============================================
   DISEASES PAGE
   ============================================= */
.v2_diseases_intro {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 48px;
  text-align: center;
}

.v2_diseases_intro p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto;
}

.v2_diseases_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.v2_diseases_card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.v2_diseases_card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: var(--primary);
}

.v2_diseases_card_icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.v2_diseases_card:hover .v2_diseases_card_icon {
  background: var(--primary);
  color: var(--white);
}

.v2_diseases_card_title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* =============================================
   ACCESS PAGE
   ============================================= */
.v2_access_page .sm_access_inner {
  grid-template-columns: 1fr 1.2fr;
}

/* =============================================
   COLUMN CAROUSEL
   ============================================= */
.sm_column_carousel_wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm_column_carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-light);
}

.sm_column_carousel::-webkit-scrollbar { height: 4px; }
.sm_column_carousel::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 2px; }
.sm_column_carousel::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.sm_column_card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 16px);
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sm_column_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,122,48,0.15);
}

.sm_column_card_img {
  height: 180px;
  overflow: hidden;
}

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

.sm_column_card_body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sm_column_card_date {
  font-size: 0.78rem;
  color: var(--text-mid);
}

.sm_column_card_title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.sm_column_card_title a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.sm_column_card_title a:hover {
  color: var(--primary);
}

.sm_column_card_excerpt {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.sm_carousel_btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sm_carousel_btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .sm_treatments_grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .sm_footer_schedule {
    grid-column: span 2;
  }

  .v2_diseases_grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .v2_sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .sm_schedule_scroll_hint {
    display: flex;
  }

  .sm_header_nav {
    display: none;
  }

  .sm_header_top_inner {
    padding: 10px 14px;
    gap: 8px;
  }

  .sm_header_logo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .sm_header_logo img {
    height: 40px;
    max-width: 100%;
  }

  .sm_header_contact {
    flex-shrink: 0;
    gap: 8px;
  }

  .sm_header_dept {
    display: none;
  }

  .sm_header_tel {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .sm_header_reserve {
    display: none;
  }

  .sm_hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .sm_hero {
    height: 70vh;
    min-height: 420px;
    margin-top: 72px;
  }

  .sm_page_main {
    margin-top: 72px;
  }

  .sm_hero_ctas {
    flex-direction: column;
    align-items: center;
  }

  .sm_btn {
    width: 100%;
    max-width: 280px;
  }

  .sm_section {
    padding: 56px 0;
  }

  .sm_section_header {
    margin-bottom: 36px;
  }

  .sm_greeting_inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sm_greeting_img img {
    height: auto;
    aspect-ratio: 3 / 4;
    object-position: top center;
  }

  .sm_features_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sm_treatments_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm_photos_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm_counseling_banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .sm_access_inner,
  .v2_access_page .sm_access_inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sm_footer_inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sm_footer_schedule {
    grid-column: span 1;
  }

  .sm_mobile_cta {
    display: block;
  }

  .sm_mobile_cta_inner {
    display: flex;
  }

  .sm_footer {
    padding-bottom: 72px;
  }

  .sm_totop {
    bottom: 84px;
    right: 16px;
  }

  .sm_side_booking {
    display: none;
  }

  .sm_news_inner {
    flex-direction: column;
    padding: 16px 24px;
  }

  .sm_news_label {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 12px;
    margin-bottom: 8px;
  }

  .sm_news_list {
    padding: 0;
  }

  .sm_news_more {
    border-left: none;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
  }

  .sm_news_list ul li {
    flex-wrap: wrap;
    gap: 8px;
  }

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

  .v2_doctor_img img {
    height: auto;
    aspect-ratio: 3 / 4;
    object-position: top center;
  }

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

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

  .v2_diseases_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .v2_diseases_card {
    flex-direction: column;
    text-align: center;
    padding: 20px 14px;
  }

  .sm_page_hero {
    height: 180px;
  }

  .v2_single_article {
    padding: 24px 20px;
  }

  .v2_single_nav {
    flex-direction: column;
  }

  .v2_single_nav a {
    max-width: 100%;
  }

  .v2_step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .sm_schedule_table th,
  .sm_schedule_table td {
    padding: 10px 8px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .sm_treatments_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

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

  .v2_post_card {
    flex-direction: column;
  }

  .v2_post_thumb,
  .v2_post_thumb_placeholder {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
}
