/*
Theme Name: Tsunishi Eye Clinic
Theme URI: https://www.224.swan-kg.com/
Author: Design Proposal
Author URI: https://www.224.swan-kg.com/
Description: 津西眼科クリニック - ミニマル縦書き型デザイン。大塚眼科を参考にした洗練されたミニマルデザインのWordPressテーマです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsunishi-eye
Tags: eye-clinic, medical, minimal, japanese, custom-header, custom-logo, featured-images
*/

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fafafa;
  overflow-x: hidden;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

/* ===== スマホ専用 最上部予約ボタンバー ===== */
.sp-top-rsv-bar {
  display: none; /* PC では非表示 */
}

@media (max-width: 768px) {
  .sp-top-rsv-bar {
    display: flex;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
  }

  .sp-top-rsv-btn {
    flex: 1;
    min-width: 0;
    display: block;
    text-align: center;
    padding: 12px 4px;
    font-size: 0.82rem;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.08em;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .sp-top-rsv-btn--ophthalmology {
    background: #4a8f80;
  }

  .sp-top-rsv-btn--myopia {
    background: #3a7a9a;
  }

  .sp-top-rsv-btn--hair {
    background: #6d576d;
  }

  .sp-top-rsv-btn:visited {
    color: #fff;
  }

  .sp-top-rsv-btn:hover {
    opacity: 0.85;
    color: #fff;
  }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* --- 上段 --- */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .header-logo-img {
    height: 32px;
  }
}

.header-logo .logo-eye {
  width: 36px;
  height: 36px;
  border: 2px solid #5bb5a2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.header-logo .logo-eye::after {
  content: '';
  width: 11px;
  height: 11px;
  background: #5bb5a2;
  border-radius: 50%;
}

.header-logo .logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
}

/* --- 予約CTAラッパー --- */
.header-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.header-cta-note {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.1em;
}

/* --- 予約CTAボタングループ --- */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.08em;
  border-radius: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border: none;
}

.header-cta-btn--ophthalmology {
  background: #4a8f80;
  color: #fff;
}

.header-cta-btn--ophthalmology:hover {
  background: #3a7266;
  color: #fff;
}

.header-cta-btn--myopia {
  background: #3a7a9a;
  color: #fff;
}

.header-cta-btn--myopia:hover {
  background: #2e6280;
  color: #fff;
}

.header-cta-btn--hair {
  background: #6d576d;
  color: #fff;
}

.header-cta-btn--hair:hover {
  background: #5a4760;
  color: #fff;
}

.cta-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.header-cta-item.open .cta-arrow {
  transform: rotate(180deg);
}

/* CTAドロップダウン（近視進行抑制） */
.header-cta-item {
  position: relative;
}

.header-cta-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  min-width: 160px;
  z-index: 300;
  overflow: hidden;
  /* フェードイン用の初期状態 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.header-cta-item.open .header-cta-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.header-cta-dropdown a {
  padding: 0.7rem 1.2rem;
  font-size: 0.8rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.header-cta-dropdown a:last-child {
  border-bottom: none;
}

.header-cta-dropdown a:hover {
  background: #f5faf9;
  color: #5bb5a2;
}

/* --- TEL + ハンバーガー --- */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.header-tel-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.header-tel-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  text-decoration: none;
}

.header-tel-number:hover {
  color: #5bb5a2;
}

.header-tel-note {
  font-size: 0.65rem;
  color: #999;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

/* 開いているとき: ×に変形 */
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- 下段: メインナビ --- */
.header-nav-main {
display: flex;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0 2.5rem;
    overflow: visible;
    justify-content: center;
    gap: 20px;
}

/* ドロップダウン付きアイテム */
.nav-mega-item {
  position: relative;
}

.nav-mega-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  height: 100%;
  transition: color 0.2s;
  position: relative;
}

.nav-mega-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: #5bb5a2;
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-mega-item.open .nav-mega-label,
.nav-mega-label:hover {
  color: #333;
}

.nav-mega-item.open .nav-mega-label::after {
  transform: scaleX(1);
}

.nav-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.nav-mega-item.open .nav-arrow {
  transform: rotate(180deg);
}

/* ドロップダウンパネル */
.nav-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 2px solid #5bb5a2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  min-width: 180px;
  z-index: 300;
  overflow: hidden;
  /* フェードイン用の初期状態 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.nav-mega-item.open .nav-mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mega-dropdown a {
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}

.nav-mega-dropdown a:last-child {
  border-bottom: none;
}

.nav-mega-dropdown a:hover {
  background: #f5faf9;
  color: #5bb5a2;
  padding-left: 1.5rem;
}

/* リンクのみのアイテム */
.nav-plain-item {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.nav-plain-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: #5bb5a2;
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-plain-item:hover {
  color: #333;
}

.nav-plain-item:hover::after {
  transform: scaleX(1);
}

/* ===== HERO ===== */
.hero-section {
  /* PC: ヘッダー上段(64px) + ナビ段(約46px) の合計分を確保し、上部の見切れを防止 */
  margin-top: 110px;
  height: 55vh;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

/* スマホでは予約バーの高さ分だけ余白を追加 */
@media (max-width: 768px) {
  .hero-section {
    margin-top: 114px; /* 70px (header) + 44px (sp-top-rsv-bar) */
  }
  /* 各ページの main[style] インライン指定を上書き */
  main[style*="margin-top"] {
    margin-top: 114px !important;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  background: #fafafa;
  position: relative;
}

.hero-vertical-text {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  color: #ccc;
  letter-spacing: 4px;
  font-weight: 300;
}

.hero-scroll-text {
  position: absolute;
  left: 2rem;
  bottom: 3rem;
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  color: #bbb;
  letter-spacing: 3px;
  font-weight: 300;
}

.hero-scroll-text::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: #ccc;
  margin: 8px auto 0;
}

.hero-clinic-name {
  font-family: 'Noto Serif JP', serif;
  writing-mode: vertical-rl;
  font-size: 2.2rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 8px;
  line-height: 2;
  margin-left: 3rem;
}

.hero-clinic-en {
  font-size: 0.7rem;
  color: #bbb;
  letter-spacing: 3px;
  margin-top: 2rem;
  margin-left: 3rem;
}

/* Hero Right - Carousel */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-carousel-slide.active {
  opacity: 1;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.1) 0%, rgba(250, 250, 250, 0) 30%);
  z-index: 2;
  pointer-events: none;
}

.hero-clinic-en-bottom {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 8px;
  font-weight: 300;
  z-index: 3;
}

.hero-side-text {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 4px;
  z-index: 3;
}

/* Slide text overlay */
.slide-text {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 6%, 4rem);
  background: rgba(200, 200, 200, 0.25);
}

.slide-text__heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin: 0 0 0.6em;
  white-space: pre-line;
}

.slide-text__subtext {
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* Carousel indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.hero-carousel-indicator {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s;
}

.hero-carousel-indicator.active {
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
}

/* ===== SECTION COMMON ===== */
.section-title-minimal {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-minimal h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 6px;
  margin-bottom: 0.3rem;
}

.section-title-minimal .en {
  font-size: 0.65rem;
  color: #bbb;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 300;
}

/* ===== 3つのポイント ===== */
.points-section {
  padding: 6rem 3rem;
  background: #fff;
}

.points-list {
  max-width: 1000px;
  margin: 0 auto;
}

.point-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

.point-row:last-child {
  border-bottom: none;
}

.point-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  font-weight: 300;
  color: #d0d0d0;
  line-height: 1;
}

.point-text h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

.point-text p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
  font-weight: 300;
}

.point-img {
  height: 200px;
  overflow: hidden;
}

.point-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s;
}

.point-row:hover .point-img img {
  filter: grayscale(0%);
}

/* ===== 診療案内 ===== */
.medical-section {
  padding: 6rem 3rem;
  background: #fafafa;
}

.medical-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e0e0e0;
}

.medical-cell {
  background: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
  cursor: pointer;
}

.medical-cell:hover {
  background: #f5f5f5;
}

.medical-cell-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.2rem;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #5bb5a2;
  transition: all 0.3s;
}

.medical-cell:hover .medical-cell-icon {
  background: #5bb5a2;
  color: #fff;
  border-color: #5bb5a2;
}

.medical-cell h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.medical-cell .en {
  font-size: 0.6rem;
  color: #ccc;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.medical-cell p {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.6;
  margin-top: 0.8rem;
  font-weight: 300;
}

/* ===== 近視進行抑制 特集 ===== */
.myopia-section {
  padding: 5rem 3rem;
  background: #fff;
}

.myopia-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.myopia-image {
  overflow: hidden;
}

.myopia-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.myopia-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.myopia-content .tag {
  display: inline-block;
  border: 1px solid #5bb5a2;
  color: #5bb5a2;
  padding: 3px 12px;
  font-size: 0.65rem;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.myopia-content p {
  font-size: 0.85rem;
  color: #555;
  line-height: 2;
  font-weight: 300;
}

.myopia-content .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #5bb5a2;
  letter-spacing: 1px;
  transition: gap 0.3s;
}

.myopia-content .link:hover {
  gap: 12px;
}

/* ===== 診療時間 ===== */
.schedule-section {
  padding: 5rem 3rem;
  background: #fafafa;
}

.schedule-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid #aaa;
}

.schedule-table th {
  font-weight: 400;
  color: #999;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.schedule-table td {
  color: #555;
}

.schedule-table .circle {
  color: #5bb5a2;
}

.schedule-table .dash {
  color: #ddd;
}

.schedule-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #666;
  font-weight: 400;
}

.schedule-phone-area {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
}

.schedule-phone-area .label {
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.schedule-phone-area .number {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 3px;
}

/* ===== 院長 (小さく) ===== */
.director-section {
  padding: 3rem 3rem;
  background: #fff;
}

.director-minimal {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.director-minimal img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(30%);
  flex-shrink: 0;
}

.director-minimal h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.director-minimal .name {
  font-size: 0.8rem;
  color: #999;
  font-weight: 300;
}

.director-minimal p {
  font-size: 0.75rem;
  color: #bbb;
  line-height: 1.7;
  margin-top: 0.5rem;
  font-weight: 300;
}

/* ===== お知らせ ===== */
.news-section {
  padding: 5rem 3rem;
  background: #fafafa;
}

.news-list {
  max-width: 700px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.75rem;
  color: #777;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 1px;
}

.news-text {
  font-size: 0.85rem;
  color: #444;
  font-weight: 400;
}

.news-text a {
  color: #666;
  transition: color 0.3s;
}

.news-text a:hover {
  color: #5bb5a2;
}

/* ===== アクセス ===== */
.access-section {
  padding: 5rem 3rem;
  background: #fff;
}

.access-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.access-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.access-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.access-info p {
  font-size: 0.8rem;
  color: #555;
  line-height: 2;
  font-weight: 400;
}

/* Google Map embed */
.access-map {
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.access-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* アクセスセクション内インライン地図 */
.access-map-inline {
  width: 100%;
}

.access-map-inline iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #e5e8ef;
  color: #333;
  padding: 3rem;
  text-align: center;
}

/* フッター下部 津西眼科ロゴ */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: #333;
}

.footer-logo-eye {
  width: 36px;
  height: 36px;
  border: 2px solid #333;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.footer-logo-eye::after {
  content: '';
  width: 11px;
  height: 11px;
  background: #333;
  border-radius: 50%;
}

.footer-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #333;
}

.site-footer h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.site-footer p {
  font-size: 0.8rem;
  line-height: 1.8;
  font-weight: 400;
}

.footer-nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: #555;
  font-size: 0.7rem;
  transition: opacity 0.3s;
  letter-spacing: 1px;
}

.footer-nav a:hover {
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.6rem;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 0;
  background: #333;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 400;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.floating-btn:hover {
  background: #5bb5a2;
  color: #fff;
}

/* ===== WordPress specific ===== */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Page content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.page-content h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  text-align: center;
}

.page-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 2px;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.page-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 2;
  margin-bottom: 1.5rem;
}

/* Single post */
.single-post-header {
  text-align: center;
  padding: 4rem 3rem 2rem;
}

.single-post-header .post-date {
  font-size: 0.75rem;
  color: #bbb;
  letter-spacing: 1px;
}

.single-post-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-nav-main {
    display: none;
  }

  .header-cta-wrap {
    display: none;
  }

  .header-tel-area {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-left {
    padding: 4rem 2rem;
    min-height: 50vh;
  }

  .hero-right {
    height: 50vh;
  }

  .hero-clinic-name {
    font-size: 1.8rem;
    margin-left: 2rem;
  }

  .point-row {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .point-img {
    display: none;
  }

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

  .myopia-container {
    grid-template-columns: 1fr;
  }

  .access-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-top {
    padding: 0 1.2rem;
    height: 56px;
  }

  .logo-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .hero-section {
    /* スマホ: sp-top-rsv-bar(44px) + header-top(56px) を確保 */
    margin-top: 100px;
  }

  /* スマホでは「津西眼科クリニック」の縦帯を非表示にしてスライダーから表示 */
  .hero-left {
    display: none;
  }

  .hero-right {
    height: 60vh;
  }

  .hero-vertical-text,
  .hero-scroll-text {
    display: none;
  }

  .hero-clinic-name {
    font-size: 1.5rem;
    margin-left: 0;
    writing-mode: horizontal-tb;
    letter-spacing: 4px;
  }

  .hero-clinic-en {
    margin-left: 0;
    margin-top: 1rem;
  }

  .points-section,
  .medical-section,
  .myopia-section,
  .schedule-section,
  .director-section,
  .news-section,
  .access-section {
    padding: 3rem 1.5rem;
  }

  /* 診療時間テーブル：スマホでセル余白を圧縮して横幅に収める */
  .schedule-table {
    font-size: 0.78rem;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 12px 6px;
  }
  .schedule-table th:first-child,
  .schedule-table td:first-child {
    padding-left: 0;
    text-align: left;
  }

  .point-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2rem 0;
  }

  .point-num {
    font-size: 2rem;
  }

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

  .medical-cell {
    padding: 1.5rem 1rem;
  }

  .director-minimal {
    flex-direction: column;
    text-align: center;
  }

  .floating-cta {
    bottom: 15px;
    right: 15px;
  }

  .floating-btn {
    padding: 10px 20px;
    font-size: 0.7rem;
  }

  .hero-carousel-indicators {
    flex-direction: row;
    bottom: 1rem;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-carousel-indicator {
    width: 20px;
    height: 2px;
  }

  .hero-carousel-indicator.active {
    width: 36px;
    height: 2px;
  }
}

/* ===== モバイルメニュー ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #fff;
  overflow-y: auto;
  padding: 5rem 2rem 3rem;
  /* 初期状態: 右からスライドアウト */
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.35s;
}

.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: fixed;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  z-index: 510;
  line-height: 1;
}

/* CTAボタン群 */
.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-cta-btn {
  display: block;
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.mobile-cta-btn--ophthalmology {
  background: #5bb5a2;
  color: #fff;
}

.mobile-cta-btn--myopia {
  background: #fff;
  color: #5bb5a2;
  border: 1.5px solid #5bb5a2;
}

.mobile-cta-btn--hair {
  background: #8a6e8a;
  color: #fff;
}

.mobile-cta-sub {
  display: flex;
  gap: 0.5rem;
  padding-left: 0.5rem;
}

.mobile-cta-sub a {
  flex: 1;
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  border: 1px solid #5bb5a2;
  color: #5bb5a2;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
}

.mobile-menu-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0.5rem 0 1rem;
}

/* ナビリスト */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-item {
  display: block;
  padding: 0.85rem 0.5rem;
  font-size: 0.9rem;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  letter-spacing: 0.05em;
}

/* モバイルアコーディオン */
.mobile-accordion {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.85rem 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-align: left;
}

.mobile-acc-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.mobile-accordion.open .mobile-acc-arrow {
  transform: rotate(180deg);
}

.mobile-accordion-body {
  display: none;
  flex-direction: column;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.mobile-accordion.open .mobile-accordion-body {
  display: flex;
}

.mobile-accordion-body a {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: #555;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.mobile-accordion-body a:last-child {
  border-bottom: none;
}

.mobile-accordion-body a:hover {
  color: #5bb5a2;
  background: #f0f8f6;
}

/* TEL */
.mobile-tel {
  display: block;
  margin: 1.5rem 1rem 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  text-decoration: none;
  background: #f0f8f7;
  border: 1px solid #b8d9d4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(74, 143, 128, 0.12);
}

.mobile-tel::before {
  content: "ご予約・お問い合わせ";
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: #6a9e99;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.mobile-tel-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-tel-icon {
  font-size: 18px;
  color: #4a8f80;
}

.mobile-tel-number {
  font-size: 1.35rem;
  font-weight: 500;
  color: #4a8f80;
  letter-spacing: 2px;
}


/* ===== PAGE HEADER ===== */
.page-header {
  background: #f5f5f0;
  padding: 5rem 2rem 3rem;
  text-align: center;
}
.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
}
.page-header-en {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.7rem;
  letter-spacing: 6px;
  color: #5bb5a2;
  margin-bottom: 0.8rem;
}
.page-header-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 6px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    width: 100%;
}
.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  font-size: 0.75rem;
  color: #999;
}
.breadcrumb a {
  color: #5bb5a2;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  margin: 0 0.5rem;
  color: #ccc;
}
.breadcrumb-current {
  color: #666;
}

/* ===== PAGE BODY ===== */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.page-body-content {
  max-width: 800px;
  margin: 0 auto;
}
.page-featured-image {
  margin-bottom: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
}
.page-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.page-entry-content {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
  overflow-x: hidden;
}
.page-entry-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #333;
  margin: 3rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #eee;
}
.page-entry-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #333;
  margin: 2.5rem 0 1rem;
}
.page-entry-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 2rem 0 0.8rem;
}
.page-entry-content p {
  margin-bottom: 1.5rem;
}
.page-entry-content ul, .page-entry-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.page-entry-content li {
  margin-bottom: 0.5rem;
}
.page-entry-content blockquote {
  border-left: 3px solid #5bb5a2;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #f9f9f5;
  font-style: italic;
  color: #555;
}
.page-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.page-entry-content table th,
.page-entry-content table td {
  border: 1px solid #e0e0e0;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  text-align: left;
}
.page-entry-content table th {
  background: #f5f5f0;
  font-weight: 500;
  color: #333;
}
.page-entry-content img {
border-radius: 4px;
    margin: 2rem auto;
    max-width: 600px;
    display: block;
        width: 100%;
}
.page-entry-content a {
  color: #5bb5a2;
  text-decoration: underline;
}
.page-entry-content a:hover {
  color: #4a9e8d;
}

/* ===== CHILD PAGES ===== */
.page-children {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}
.page-children-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #333;
  margin-bottom: 1.5rem;
}
.page-children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.2rem;
}
.page-child-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.page-child-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.page-child-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.page-child-info {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page-child-info h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}
.page-child-arrow {
  color: #5bb5a2;
  font-size: 0.9rem;
}

/* ===== SINGLE POST ===== */
.single-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}
.single-article-inner {
  max-width: 750px;
  margin: 0 auto;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.single-meta-date {
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 1px;
}
.single-meta-cat {
  display: inline-block;
  font-size: 0.7rem;
  color: #5bb5a2;
  border: 1px solid #5bb5a2;
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 1px;
}
.single-meta-cat:hover {
  background: #5bb5a2;
  color: #fff;
}
.single-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.single-featured-image {
  margin-bottom: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
}
.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.single-content {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
}
.single-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #333;
  margin: 3rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #eee;
}
.single-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #333;
  margin: 2.5rem 0 1rem;
}
.single-content p {
  margin-bottom: 1.5rem;
}
.single-content ul, .single-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.single-content li {
  margin-bottom: 0.5rem;
}
.single-content blockquote {
  border-left: 3px solid #5bb5a2;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #f9f9f5;
  font-style: italic;
  color: #555;
}
.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.single-content table th,
.single-content table td {
  border: 1px solid #e0e0e0;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}
.single-content table th {
  background: #f5f5f0;
  font-weight: 500;
}
.single-content img {
  border-radius: 4px;
  margin: 1rem 0;
}
.single-content a {
  color: #5bb5a2;
  text-decoration: underline;
}

/* Tags */
.single-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.single-tag {
  font-size: 0.75rem;
  color: #555;
  background: #f5f5f0;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s;
}
.single-tag:hover {
  background: #5bb5a2;
  color: #fff;
}

/* ===== POST NAVIGATION ===== */
.post-navigation {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.post-navigation-inner {
  max-width: 750px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.post-nav-item a {
  display: block;
  padding: 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.post-nav-item a:hover {
  background: #f5f5f0;
}
.post-nav-label {
  display: block;
  font-size: 0.7rem;
  color: #5bb5a2;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}
.post-nav-title {
  display: block;
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
}
.post-nav-next {
  text-align: right;
}

/* ===== RELATED POSTS ===== */
.related-posts {
  background: #f5f5f0;
  padding: 4rem 2rem;
  margin-top: 2rem;
}
.related-posts-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.related-post-card {
  display: block;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.related-post-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.related-post-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.related-post-info {
  padding: 1rem;
}
.related-post-date {
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 1px;
}
.related-post-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  margin-top: 0.3rem;
  line-height: 1.6;
}

/* Back to list */
.back-to-list {
  text-align: center;
  padding: 2.5rem 2rem 4rem;
}
.back-to-list a {
  font-size: 0.8rem;
  color: #5bb5a2;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}
.back-to-list a:hover {
  opacity: 0.7;
}

/* ===== MEDICAL PAGE ===== */
.medical-page-lead {
  padding: 3rem 2rem 1rem;
}
.medical-page-lead-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.medical-page-lead p {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 2;
  letter-spacing: 2px;
}
.medical-page-grid-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.medical-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.medical-page-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.medical-page-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.medical-page-card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.medical-page-card-en {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: #5bb5a2;
  margin-bottom: 0.3rem;
}
.medical-page-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #333;
  margin-bottom: 0.8rem;
}
.medical-page-card-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}

/* ===== ABOUT PAGE ===== */
.about-philosophy {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.about-philosophy-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.about-philosophy-vertical {
  writing-mode: vertical-rl;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.7rem;
  letter-spacing: 6px;
  color: #d0d0d0;
  white-space: nowrap;
}
.about-philosophy-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.about-philosophy-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 2;
}

.about-director {
  background: #f5f5f0;
  padding: 4rem 2rem;
}
.about-director-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-director-image img {
  width: 100%;
  border-radius: 4px;
}
.about-director-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  color: #333;
  letter-spacing: 3px;
  margin: 1rem 0 1.5rem;
}
.about-director-content p {
  font-size: 0.88rem;
  color: #555;
  line-height: 2;
}
.about-director-career {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}
.about-director-career h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #333;
  margin-bottom: 0.8rem;
}
.about-director-career p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.9;
}

.about-equipment {
  padding: 4rem 2rem;
}
.about-equipment-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.about-equipment-lead {
  text-align: center;
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 2rem;
}
.about-equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.about-equipment-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.about-equipment-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.about-equipment-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.about-equipment-card h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  padding: 1rem 1rem 0.3rem;
}
.about-equipment-card p {
  font-size: 0.8rem;
  color: #666;
  padding: 0 1rem 1rem;
  line-height: 1.7;
}

/* ===== ACCESS PAGE ===== */
.access-page-map {
  width: 100%;
  height: 400px;
}
.access-page-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.access-page-info {
  padding: 3rem 2rem 4rem;
}
.access-page-info-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.access-page-detail {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}
.access-page-detail-image img {
  width: 100%;
  border-radius: 4px;
}
.access-page-detail-text h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: #333;
  margin-bottom: 1.5rem;
}
.access-page-table {
  width: 100%;
  border-collapse: collapse;
}
.access-page-table th,
.access-page-table td {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.access-page-table th {
  color: #333;
  font-weight: 500;
  width: 120px;
  white-space: nowrap;
}
.access-page-table td {
  color: #555;
}
.access-page-table td a {
  color: #5bb5a2;
}

.access-page-schedule {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.access-page-directions {
  padding-top: 2rem;
  border-top: 1px solid #eee;
}
.access-page-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.access-direction-card {
  background: #f5f5f0;
  border-radius: 4px;
  padding: 1.5rem;
}
.access-direction-card h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.8rem;
}
.access-direction-card p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.8;
}

/* ===== SIDEBAR LAYOUT ===== */
.sidebar-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.sidebar-layout-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.sidebar-layout-main .page-entry-content {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
}
.sidebar-layout-side {
  position: sticky;
  top: 90px;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}
.sidebar-widget-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}
.sidebar-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.sidebar-schedule-table th,
.sidebar-schedule-table td {
  padding: 0.3rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-schedule-table th {
  color: #999;
  font-weight: 400;
}
.sidebar-schedule-table .circle {
  color: #5bb5a2;
}
.sidebar-schedule-table .dash {
  color: #ddd;
}
.sidebar-phone {
  text-align: center;
  padding: 0.5rem 0;
}
.sidebar-phone a {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: #5bb5a2;
  letter-spacing: 2px;
}
.sidebar-news-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-news-item:last-child {
  border-bottom: none;
}
.sidebar-news-date {
  display: block;
  font-size: 0.65rem;
  color: #bbb;
  letter-spacing: 1px;
}
.sidebar-news-item a {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.5;
}
.sidebar-news-item a:hover {
  color: #5bb5a2;
}

/* ===== COMMENTS ===== */
.comments-area {
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem;
}
.comments-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 1.5rem;
}
.comment-list {
  list-style: none;
  padding: 0;
}
.comment-list .comment {
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
}
.comment-list .comment-body {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.8;
}
.comment-form label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.3rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.85rem;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #5bb5a2;
}
.comment-form .form-submit .submit {
  background: #5bb5a2;
  color: #fff;
  border: none;
  padding: 0.6rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
}
.comment-form .form-submit .submit:hover {
  background: #4a9e8d;
}
.no-comments {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  padding: 2rem 0;
}

/* ===== SEARCH FORM ===== */
.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-form .search-field {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.85rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.search-form .search-field:focus {
  outline: none;
  border-color: #5bb5a2;
}
.search-form .search-submit {
  background: #5bb5a2;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
}
.search-form .search-submit:hover {
  background: #4a9e8d;
}

/* ===== RESPONSIVE: PAGES ===== */
@media (max-width: 768px) {
  .page-header {
    padding: 4rem 1.5rem 2rem;
  }
  .page-header-title {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  /* Medical page */
  .medical-page-grid {
    grid-template-columns: 1fr;
  }

  /* About page */
  .about-philosophy-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .about-philosophy-vertical {
    writing-mode: horizontal-tb;
    font-size: 0.6rem;
  }
  .about-director-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-director-image {
    max-width: 250px;
    margin: 0 auto;
  }
  .about-equipment-grid {
    grid-template-columns: 1fr;
  }

  /* Access page */
  .access-page-map {
    height: 250px;
  }
  .access-page-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .access-page-directions-grid {
    grid-template-columns: 1fr;
  }

  /* Sidebar layout */
  .sidebar-layout-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sidebar-layout-side {
    position: static;
  }

  /* Post navigation */
  .post-navigation-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .post-nav-next {
    text-align: left;
  }

  /* Related posts */
  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  /* Single */
  .single-title {
    font-size: 1.2rem;
  }
}

/* ===== 主な診療内容 ===== */
.treatments-section {
  padding: 6rem 3rem;
  background: #fafafa;
}

.treatments-grid {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2rem;
  align-items: start;
}

.treatments-col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.treatments-item {
  font-size: 0.95rem;
  color: #333;
  letter-spacing: 0.03em;
  padding: 0.6rem 0;
  border-bottom: 1px solid #ccc;
  line-height: 1.5;
}

.treatments-item a {
  color: #333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: color 0.2s;
}

.treatments-item a:hover {
  color: #5bb5a2;
}

.treatments-arrow {
  color: #5bb5a2;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ダウンロード行 */
.treatments-download-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.treatments-download-btn {
  display: inline-block;
  border: 2px solid #4a8f80;
  padding: 1.2rem 2rem;
  font-size: 1rem;
  color: #4a8f80;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.05em;
  font-weight: 600;
  background: #f0f9f7;
}

.treatments-download-btn:hover {
  background: #4a8f80;
  color: #fff;
}

.treatments-download-note {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
    /* 左右の列アイテムの高さを揃えるためsubgridを使用 */
    grid-template-rows: repeat(5, auto) repeat(4, auto);
  }

  /* 1・2列目（各5アイテム）を同じ行グリッドに揃える */
  .treatments-col:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 6;
    display: grid;
    grid-template-rows: subgrid;
  }
  .treatments-col:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 6;
    display: grid;
    grid-template-rows: subgrid;
  }

  /* 3・4列目（各4アイテム）を同じ行グリッドに揃える */
  .treatments-col:nth-child(3) {
    grid-column: 1;
    grid-row: 6 / 10;
    display: grid;
    grid-template-rows: subgrid;
  }
  .treatments-col:nth-child(4) {
    grid-column: 2;
    grid-row: 6 / 10;
    display: grid;
    grid-template-rows: subgrid;
  }
}

@media (max-width: 600px) {
  .treatments-section {
    padding: 3rem 1rem;
  }

  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1rem;
  }

  .treatments-download-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .treatments-item {
  font-size: 0.8rem;

}
.treatments-download-btn {
    width: 100%;
    padding: 10px 0;
    margin-top: -20px;
    font-size: 14px;
}


}

/* ===== 院内バーチャルツアー ===== */
.virtual-tour-section {
  padding: 6rem 3rem;
  background: #fff;
}

.virtual-tour-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.virtual-tour-label {
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 0.1em;
  text-align: right;
  margin-bottom: 0.8rem;
}

.virtual-tour-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.virtual-tour-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .virtual-tour-section {
    padding: 4rem 1.5rem;
  }

  .virtual-tour-iframe-wrap {
    aspect-ratio: 4 / 3;
  }

  .virtual-tour-label {
    text-align: left;
  }
}


.page-body .eye-list{
  display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 20px 0;
}

.page-body h2.headline span{
      display: block;
    font-size: 1rem;
    margin: 0;
}

.page-body .flow-list span.step{
  font-size: 1.5rem;
    font-family: serif;
    display: inline-block;
    margin-right: 1rem;
}

.page-body .flow-list span.ttl{
  font-size: 1.25rem;
    font-family: serif;

}

ul.qa-list p.headline-s{
  margin:0;
}

@media (max-width: 768px) {
.page-body{
padding:0 20px;
}
.footer-nav {
    flex-direction: column;
    gap: 0;
}
}

@media (min-width: 769px) {
.pc-none{
  display:none;
}
}

/* ================================================================
   PRODUCTS PAGES
   page-products.php / taxonomy.php / single-item.php
   ================================================================ */

/* ---- ページ全体ラッパー ---- */
.page-products {
  padding-top: 110px; /* 固定ヘッダー(上段64px + ナビ約36px)分 */
  min-height: 100vh;
  background: #fafafa;
}

/* ---- ページタイトル共通 ---- */
.page-products h2,
.page-products .headline {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 6px;
  text-align: center;
  padding: 3rem 2rem 1.5rem;
  margin: 0;
}

/* ENラベル（<span>PRODUCTS</span>） */
.page-products h2 span,
.page-products .headline span {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.65rem;
  letter-spacing: 6px;
  color: #5bb5a2;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---- お知らせ文 ---- */
.page-products .notice {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 1.2rem 1.8rem;
  border-left: 3px solid #5bb5a2;
  background: #fff;
  font-size: 0.82rem;
  color: #666;
  line-height: 2;
  border-radius: 0 4px 4px 0;
}

.page-products .notice a {
  color: #5bb5a2;
  text-decoration: underline;
}

/* ---- 共通コンテナ ---- */
.l-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---- セクション区切り ---- */
.l-section {
  padding: 2rem 0;
}

.l-section--bg {
  background: #f5f5f0;
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
  max-width: 800px;
    margin: 0 auto;
}

.page-products .l-section--bg {
  background: none;
}

/* ================================================================
   フィルターグリッド（page-products / taxonomy 共通）
   ================================================================ */
.grid-wrap--product {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* 各フィルターカード */
.product-list {
  background: #fff;
  border: 1px solid #eee;
}

.product-list dt {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #fff;
  background: #5bb5a2;
  padding: 0.85rem 1.2rem;
}

.product-list dd {
  padding: 1.2rem;
}

.product-list dd ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-list dd ul li a {
  display: block;
  font-size: 0.85rem;
  color: #555;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f0f0f0;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.product-list dd ul li:last-child a {
  border-bottom: none;
}

.product-list dd ul li a:hover {
  color: #5bb5a2;
  padding-left: 0.5rem;
}

/* メーカーロゴ列 */
.product-list--maker dd ul {
  gap: 0.8rem;
}

.product-list--maker dd ul li a {
  border-bottom: none;
  padding: 0;
}

.product-list--maker dd ul li a:hover {
  padding-left: 0;
  opacity: 0.75;
}

.product-list--maker dd ul li img {
  width: 100%;
  max-height: 33px;
  object-fit: contain;
  display: block;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

/* ロゴ画像がないブランド（クレシェ等）はテキストで表示 */
.product-list--maker .brand-text-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 4px 8px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a8f80;
  letter-spacing: 1px;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.product-list--maker .brand-text-link:hover {
  background: #fafafa;
  color: #4a8f80;
}

/* ================================================================
   商品一覧グリッド（taxonomy.php）
   ================================================================ */
.item-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.item-list li {
  background: #fff;
  border: 1px solid #eee;
  transition: box-shadow 0.3s, transform 0.3s;
}

.item-list li:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* サムネイル */
.item-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.5rem;
  transition: transform 0.4s ease;
}

.item-list li:hover .item-image img {
  transform: scale(1.04);
}

/* おすすめアイコン */
.recommendpop {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: auto;
}

.item-list hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

/* メーカー/種別タグ */
.maker-name {
  padding: 0.55rem 0.8rem 0.2rem;
  font-size: 0.68rem;
  color: #bbb;
  letter-spacing: 1px;
}

.maker-name span {
  display: inline-block;
  margin-right: 0.4rem;
}

.maker-name a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}

.maker-name a:hover {
  color: #5bb5a2;
}

/* 商品名（一覧内） */
.item-list .product-name {
  padding: 0.2rem 0.8rem 0.8rem;
  font-size: 0.82rem;
  color: #333;
  letter-spacing: 0.5px;
  line-height: 1.6;
  margin: 0;
}

.item-list .product-name a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.item-list .product-name a:hover {
  color: #5bb5a2;
}

/* ================================================================
   商品詳細（single-item.php）
   ================================================================ */
.item-detail {
  padding: 110px 0 4rem;
}

.item-detail .l-inner {
  max-width: 900px;
}

/* 商品名 */
.item-detail h2.product-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

/* 画像 + スペックグリッド */
.flexwrap {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.item.photowrap {
  position: relative;
}

.item.photowrap img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  display: block;
}

.item.textwrap {
  padding: 0.5rem 0;
}

.item.textwrap .text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* スペック項目ラベル */
.item.textwrap h3.price {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: #5bb5a2;
  letter-spacing: 2px;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3rem;
}

/* スペック値 */
.item.textwrap span {
  font-size: 0.9rem;
  color: #333;
  letter-spacing: 1px;
}

/* 一覧へ戻るボタン */
.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #5bb5a2;
  border: 1px solid #5bb5a2;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.product-btn::before {
  content: '←';
  font-size: 0.75rem;
}

.product-btn:hover {
  background: #5bb5a2;
  color: #fff;
}

/* ================================================================
   Responsive — 製品ページ
   ================================================================ */
@media (max-width: 1024px) {
  .item-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .flexwrap {
    grid-template-columns: 200px 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-products {
    padding-top: 60px; /* モバイルではナビ非表示のため */
  }

  .grid-wrap--product {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1.2rem 3rem;
  }

  .item-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .flexwrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .item.photowrap img {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-products h2,
  .page-products .headline {
    font-size: 1.2rem;
    padding: 2rem 1.2rem 1rem;
  }

  .page-products .notice {
    margin: 0 1.2rem 2rem;
    font-size: 0.78rem;
  }

  .item-detail h2.product-name {
    font-size: 1.1rem;
  }
}

summary{
    background: #4a8f80;
    padding: 10px;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  scroll-margin-top: 108px; 
}

p.catch{
  color: #5bb5a2;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    margin: 30px 0;
}

/* ===== CONTACT PAGE ===== */
.contact-wrap {
  max-width: 800px;
    margin: 40px auto 0;
  padding: 5rem 2rem 5rem;
}

/* ページタイトル */
.contact-wrap .page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  position: relative;
}

.contact-wrap .page-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: #5bb5a2;
}

/* リード文 */
.contact-wrap > p {
  font-size: 0.9rem;
  color: #555;
  line-height: 2;
  margin-bottom: 1.2rem;
}

.contact-wrap > p a {
  color: #5bb5a2;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.contact-wrap > p a:hover {
  opacity: 0.7;
}

/* 注意事項 見出し */
.contact-wrap h3.note {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 3px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  background: #f5f5f0;
  border-left: 3px solid #5bb5a2;
}

/* 注意事項 ラベル（span.note） */
.contact-wrap p span.note {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5bb5a2;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

/* 病院名 */
.hospital-name {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 3px;
  margin-top: 2rem;
  margin-bottom: 0.3rem;
}

/* TELリンク */
.contact-wrap p a[href^="tel"] {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-wrap p a[href^="tel"]:hover {
  color: #5bb5a2;
}

/* フォームエリア */
.form {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #eee;
}

/* ===== Contact Form 7 スタイリング ===== */

/* フォームラベル */
.wpcf7 .wpcf7-form p {
  margin-bottom: 1.5rem;
}

.wpcf7 .wpcf7-form label,
.wpcf7 label {
  display: block;
  font-size: 0.82rem;
  color: #555;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* 必須マーク */
.wpcf7 abbr[title="required"] {
  display: inline-block;
  font-size: 0.7rem;
  color: #fff;
  background: #c0392b;
  text-decoration: none;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  margin-left: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0;
}

/* テキスト・メール・URL 入力 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.88rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus {
  outline: none;
  border-color: #5bb5a2;
  box-shadow: 0 0 0 3px rgba(91, 181, 162, 0.12);
}

/* テキストエリア */
.wpcf7 textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.88rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  min-height: 160px;
  resize: vertical;
  line-height: 1.9;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.wpcf7 textarea:focus {
  outline: none;
  border-color: #5bb5a2;
  box-shadow: 0 0 0 3px rgba(91, 181, 162, 0.12);
}

/* セレクト */
.wpcf7 select {
  width: 100%;
  padding: 0.7rem 2rem 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.88rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
}

.wpcf7 select:focus {
  outline: none;
  border-color: #5bb5a2;
}

/* ラジオ・チェックボックス */
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  width: auto;
  accent-color: #5bb5a2;
  margin-right: 0.4rem;
  cursor: pointer;
}

.wpcf7 .wpcf7-radio .wpcf7-list-item,
.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
  display: inline-block;
  margin-right: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
}

/* バリデーションエラー */
.wpcf7 .wpcf7-not-valid {
  border-color: #c0392b !important;
  background: #fff8f8 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #c0392b;
  display: block;
  margin-top: 0.3rem;
}

/* 送信ボタン */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 2.5rem auto 0;
  padding: 1rem 2rem;
  background: #5bb5a2;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 0.88rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: #4a9e8d;
  transform: translateY(-1px);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 .wpcf7-submit:active {
  transform: translateY(0);
}

/* 送信中スピナー */
.wpcf7 .wpcf7-spinner {
  margin: 0.5rem auto;
  display: block;
}

/* レスポンスメッセージ */
.wpcf7 .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 3px;
  border: none !important;
  line-height: 1.8;
}

/* 送信成功 */
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok,
.wpcf7 .wpcf7-response-output[class*="sent-ok"] {
  background: #eaf7f4;
  color: #2d7a6c;
  border-left: 3px solid #5bb5a2 !important;
}

/* エラー */
.wpcf7 .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-response-output[class*="error"],
.wpcf7 .wpcf7-response-output[class*="invalid"] {
  background: #fff3f3;
  color: #c0392b;
  border-left: 3px solid #c0392b !important;
}

/* ===== CONTACT RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-wrap {
    padding: 2rem 1.2rem 4rem;
  }

  .contact-wrap .page-title {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  .contact-wrap h3.note {
    font-size: 0.88rem;
    letter-spacing: 2px;
  }

  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-submit {
    max-width: 100%;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  .contact-wrap {
        padding: 1.5rem 1rem 3rem;
        margin: 68px 0 0;
  }

  .contact-wrap .page-title {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  .hospital-name {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .wpcf7 .wpcf7-radio .wpcf7-list-item,
  .wpcf7 .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* ================================================
   医院案内ページ (page-clinic-info.php)
   ================================================ */

.clinic-info-section {
  padding: 5rem 2rem;
  background: #fff;
}
.clinic-info-section--alt {
  background: #fafafa;
}

.clinic-info-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* リード文 */
.clinic-info-lead {
  font-size: 0.95rem;
  line-height: 2;
  color: #444;
  margin-bottom: 2rem;
}
.clinic-info-lead strong {
  color: #4a8f80;
  font-weight: 600;
}

/* ネット予約ボタン */
.clinic-info-rsv-btn {
  display: inline-block;
  background: #4a8f80;
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: background 0.2s;
  margin-bottom: 1.2rem;
}
.clinic-info-rsv-btn:hover {
  background: #3a7266;
  color: #fff;
}

/* 電話注記 */
.clinic-info-note {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}

/* ===== お持ちいただきたいもの ===== */
.clinic-info-bring-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.clinic-info-bring-item {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
}
.clinic-info-bring-item:first-child {
  border-top: 1px solid #e8e8e8;
}
.clinic-info-bring-icon {
  color: #5bb5a2;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 送迎の流れ ===== */
.clinic-info-flow {
  margin-top: 2.5rem;
}
.clinic-info-flow-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #ddd;
}
.clinic-info-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.clinic-info-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid #eee;
}
.clinic-info-flow-step:first-child {
  border-top: 1px solid #eee;
}
.clinic-info-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4a8f80;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.clinic-info-step-body {
  flex: 1;
}
.clinic-info-step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.clinic-info-step-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 0.4rem;
}
.clinic-info-step-body a {
  color: #4a8f80;
  text-decoration: none;
}
.clinic-info-step-body a:hover {
  text-decoration: underline;
}
.clinic-info-step-note {
  font-size: 0.8rem !important;
  color: #888 !important;
}

/* 電話の際に伝えること */
.clinic-info-step-detail {
  margin-top: 1rem;
  background: #f5f9f8;
  border-left: 3px solid #5bb5a2;
  padding: 1rem 1.2rem;
  border-radius: 0 4px 4px 0;
}
.clinic-info-step-detail-title {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #4a8f80 !important;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem !important;
}
.clinic-info-step-detail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.clinic-info-step-detail li {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
}
.clinic-info-step-detail small {
  font-size: 0.78rem;
  color: #888;
}

/* 問診票ダウンロード（医院案内ページ） */
.clinic-info-pdf-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.clinic-info-pdf-btn {
  display: inline-block;
  border: 2px solid #4a8f80;
  color: #4a8f80;
  background: #f0f9f7;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.clinic-info-pdf-btn:hover {
  background: #4a8f80;
  color: #fff;
}

/* ===== 診療時間テーブル（医院案内ページ用ラッパー） ===== */
.clinic-info-schedule-wrap {
  overflow-x: auto;
}
.clinic-info-schedule-table {
  min-width: 480px;
}

/* ===== アクセス情報テーブル ===== */
.clinic-info-access-info {
  margin-bottom: 2rem;
}
.clinic-info-access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.clinic-info-access-table th,
.clinic-info-access-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  line-height: 1.7;
  vertical-align: top;
}
.clinic-info-access-table th {
  width: 9em;
  color: #999;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.clinic-info-access-table td {
  color: #444;
}
.clinic-info-access-table tr:first-child th,
.clinic-info-access-table tr:first-child td {
  border-top: 1px solid #e8e8e8;
}
.clinic-info-access-table a {
  color: #4a8f80;
  text-decoration: none;
}
.clinic-info-access-table a:hover {
  text-decoration: underline;
}

/* Googleマップ */
.clinic-info-map {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.clinic-info-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .clinic-info-section {
    padding: 3.5rem 1.5rem;
  }
  .clinic-info-rsv-btn {
    display: block;
    text-align: center;
  }
  .clinic-info-flow-step {
    gap: 1rem;
  }
  .clinic-info-step-num {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  .clinic-info-map {
    aspect-ratio: 4 / 3;
  }
}

/* ================================================
   高齢者向け可読性アップ（薄い文字を濃く・太く）
   ================================================ */

/* 本文ベース：色を濃く、太さを少し上げる */
body {
  color: #222;
  font-weight: 500;
}

/* 段落・小さめテキスト全般 */
p,
li,
dd,
.point-text p,
.medical-page-card-desc,
.access-info p,
.news-item,
.news-date,
.news-text,
.schedule-note,
.treatments-download-note,
.medical-page-lead p {
  color: #222;
  font-weight: 500;
}

/* リード文の薄いグレー（#444）を濃く */
.clinic-info-lead {
  color: #222;
  font-weight: 500;
}

/* ヘッダーCTA下の細い注釈テキスト */
.header-cta-note {
  color: #555;
  font-weight: 500;
}

/* メインナビ各項目 */
.nav-plain-item,
.nav-mega-label {
  color: #333;
  font-weight: 600;
}

/* ヘッダー TEL 補足 */
.header-tel-note {
  color: #555;
  font-weight: 500;
}

/* セクション見出し（英字サブ）— 装飾なので少しだけ濃く */
.section-title-minimal .en,
.page-header-en {
  color: #888;
  font-weight: 500;
}

/* ヒーロー左の縦書き装飾 — 視認性向上 */
.hero-vertical-text,
.hero-scroll-text {
  color: #888;
  font-weight: 500;
}
.hero-clinic-en {
  color: #777;
  font-weight: 500;
}

/* 数字・記号で表現する装飾も少し太く */
.point-num {
  font-weight: 700;
}

/* お知らせ日付 */
.news-date {
  color: #444;
  font-weight: 600;
}

/* フッター本文（住所・電話）も読みやすく */
.site-footer p {
  font-weight: 500;
}
.footer-nav a {
  font-weight: 500;
}

/* font-weight: 300（細字）を一括で底上げ */
[style*="font-weight: 300"],
[style*="font-weight:300"] {
  font-weight: 500 !important;
}
/* ===== 白内障手術ページ ===== */
.cataracts-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  line-height: 2;
  color: #444;
}
.cataracts-intro p {
  margin-bottom: 1rem;
}
.cataracts-intro strong {
  color: #2a6496;
  font-weight: 600;
}

/* 流れセクション */
.cataracts-flow {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}
.cataracts-flow-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2a2a2a;
  text-align: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #4a8f80;
}
.cataracts-flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ステップ行 */
.cataracts-flow-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  background: #f5faf9;
  border-left: 3px solid #4a8f80;
  border-radius: 0 4px 4px 0;
  font-size: 0.88rem;
  color: #333;
}

/* 番号バッジ：正方形＋細めのサンセリフ数字 */
.cataracts-flow-num {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: #4a8f80;
  color: #fff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
  line-height: 1;
}

.cataracts-flow-text {
  line-height: 1.6;
}

/* 矢印：疑似要素で描画しリスト項目をシンプルに保つ */
.cataracts-flow-arrow {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  padding-left: calc(1rem + 3px); /* border-left 分のオフセット */
  margin: 0;
  line-height: 1;
}
.cataracts-flow-arrow::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #4a8f80;
  margin: 3px 0;
}

/* 本院リンクボタン */
.cataracts-link-section {
  text-align: center;
  padding: 1rem 1.5rem 3rem;
}
.cataracts-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: #4a8f80;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.cataracts-link-btn:hover {
  background: #3a7a6d;
  color: #fff;
}
.cataracts-link-arrow {
  font-size: 1rem;
}

/* SP調整 */
@media (max-width: 640px) {
  .cataracts-intro {
    padding-top: 1.5rem; /* パンくず〜本文の余白を確保 */
  }
  .cataracts-flow {
    margin-bottom: 1.5rem;
  }
  .cataracts-flow-item {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
  }
  .cataracts-flow-num {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.72rem;
  }
  .cataracts-link-btn {
    width: 100%;
    justify-content: center;
    max-width: 360px;
  }
}
