/*
Theme Name: 健祥整骨院テーマ
Theme URI: https://kenshou-sakuragi.com/
Author: 健祥整骨院
Description: 健祥整骨院のオリジナルWordPressテーマ
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: kensho
*/

:root {
  --primary: #1a6fa0;
  --primary-light: #3a9fd8;
  --primary-dark: #0d4f75;
  --accent: #e8f6ff;
  --accent2: #b8e0f5;
  --gold: #c8a96e;
  --text: #1e2c3a;
  --text-light: #5a7080;
  --white: #ffffff;
  --bg: #f5fafd;
  --border: #d0e8f5;
  --shadow: 0 4px 24px rgba(26, 111, 160, 0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(26, 111, 160, 0.07);
}

/* WordPress管理バー対応 */
.admin-bar header {
  top: 32px;
}
.admin-bar .mobile-menu {
  top: calc(70px + 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }
  .admin-bar .mobile-menu {
    top: calc(70px + 46px);
  }
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
}
.logo-text .name {
  margin: 0; /* トップページでは h1 になるため既定の余白を打ち消す */
  font-family: "Shippori Mincho", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  line-height: 1.2;
}
nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav a:hover {
  background: var(--accent);
  color: var(--primary);
}
/* ドロップダウン（当院の特徴 → 導入機材） */
.nav-dropdown {
  position: relative;
}
/* 子メニューがあることを示す「∨」の矢印（線で描くのでくっきり見える） */
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
/* 子メニューが開いているときは矢印を上向きにする */
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: translateY(1px) rotate(-135deg);
}
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  padding-top: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1001;
}
.nav-submenu a {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26, 111, 160, 0.15);
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 999;
  padding: 1.5rem;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-menu a.mobile-menu-child {
  padding-left: 1.8rem;
  font-size: 0.92rem;
  color: var(--text-light);
}
.mobile-menu a.mobile-menu-child::before {
  content: "└ ";
  color: var(--primary);
}

/* SLIDESHOW */
.slideshow {
  position: relative;
  height: 600px; /* 画面の高さで伸縮しないよう固定（960px以下・600px以下で切替） */
  overflow: hidden;
  margin-top: 70px;
  background: #0d4f75;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-bg {
  position: absolute;
  inset: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg {
  transform: scale(1);
}
.slide-1 .slide-bg {
  background: url("image/1.jpg") center center / cover no-repeat;
}
.slide-2 .slide-bg {
  background: url("image/2.jpg") center center / cover no-repeat;
}
.slide-3 .slide-bg {
  background: url("image/3.jpg") center center / cover no-repeat;
}
/* 2・3枚目はページの読み込み完了後に読み込む（表示は5秒後なので見た目は変わらない） */
.slideshow:not(.bg-ready) .slide-2 .slide-bg,
.slideshow:not(.bg-ready) .slide-3 .slide-bg {
  background-image: none;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 79, 117, 0.75) 0%,
    rgba(13, 79, 117, 0.3) 60%,
    transparent 100%
  );
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 8%;
}
.slide-text {
  max-width: 540px;
  color: white;
}
.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.7rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}
.slide-text h2 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.slide-text h2 .nowrap {
  white-space: nowrap;
}
.slide-text p {
  font-size: clamp(0.83rem, 1.4vw, 1rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}
.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  color: var(--primary);
  text-decoration: none;
  padding: 0.75rem 1.7rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.slide-btn:hover {
  transform: translateY(-2px);
}
.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}
.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.indicator.active {
  background: white;
  width: 28px;
  border-radius: 4px;
}

/* SECTIONS COMMON */
section {
  padding: 5rem 1.5rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.section-title .accent {
  color: var(--primary);
}
.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--accent);
  color: var(--primary);
  padding: 0.12rem 0.55rem;
  border-radius: 4px;
  margin-top: 0.6rem;
  font-weight: 500;
}

/* ABOUT */
#about {
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-main-card {
  background: none;
  overflow: hidden;
  height: 320px;
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  background: var(--gold);
  color: white;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(200, 169, 110, 0.4);
  line-height: 1.4;
}
.about-text h2 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.about-text p {
  color: var(--text-light);
  font-size: 0.91rem;
  line-height: 2;
  margin-bottom: 1rem;
}

/* FIRST VISIT */
#first-visit {
  background: var(--bg);
}
#first-visit .step-card {
  background: white;
}
.first-visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.step-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 2.2rem 1.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.step-icon {
  font-size: 2rem;
  margin: 0.3rem 0 0.7rem;
  height: 140px;
  overflow: hidden;
  border-radius: 8px;
}
.step-card h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 0.97rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* FEATURES */
#features {
  background: white;
}
#features .feature-card {
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-icon-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
/* 番号表示（01〜04の特徴カードに続く 05〜08） */
.feature-icon-box.feature-num-box {
  background: var(--primary);
  color: white;
  font-family: "Shippori Mincho", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.feature-card h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* TREATMENT */
#treatment {
  background: white;
}
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.treatment-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(26, 111, 160, 0.06);
}
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.treatment-img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}
.treatment-body {
  padding: 1.2rem 1.3rem 1.4rem;
}
.treatment-body h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}
.treatment-body p {
  font-size: 0.81rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* DIAGNOSIS */
#diagnosis {
  background: var(--bg);
}
.diagnosis-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.diagnosis-card {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  min-width: 0;
}
.diagnosis-card h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--accent2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.time-table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
}
.time-table th,
.time-table td {
  padding: 0.5rem 0.45rem;
  font-size: 0.82rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.time-table th {
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
}
.time-table td.check {
  color: var(--primary);
  font-weight: 700;
}
.time-table td.cross {
  color: #bbb;
}
.time-table td.tri {
  color: var(--gold);
}
.time-table tr:last-child td {
  border-bottom: none;
}
.holiday-info {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* PRICE */
#price {
  background: white;
}
.price-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.price-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: var(--primary);
  color: white;
}
.price-card.featured .price-name,
.price-card.featured .price-desc,
.price-card.featured .price-note {
  color: rgba(255, 255, 255, 0.9);
}
.price-name {
  font-family: "Shippori Mincho", serif;
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.price-amount {
  font-family: "Shippori Mincho", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.price-card.featured .price-amount {
  color: white;
}
.price-amount span {
  font-size: 0.82rem;
  font-weight: 400;
}
.price-desc {
  font-size: 0.77rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  line-height: 1.6;
}
.price-note {
  font-size: 0.71rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}
/* 交通事故・労災カード：2項目を他カードと同じ高さに収める */
.price-card-accident .price-amount {
  font-size: 1.35rem;
}
.price-card-accident .price-desc {
  margin-top: 0.3rem;
  line-height: 1.4;
}
.price-card-accident .price-desc + .price-amount {
  margin-top: 1.4rem;
}
.price-cta-area {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--border);
}
.price-cta-area p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}
.price-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.95rem 2.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(26, 111, 160, 0.3);
}
.price-detail-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 111, 160, 0.4);
}

/* OXYGEN CAPSULE */
#oxygen {
  background: linear-gradient(135deg, #0d4f75 0%, #1a6fa0 50%, #1e8cc0 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
#oxygen::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
#oxygen::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.oxygen-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.oxygen-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.oxygen-text {
  color: white;
}
.oxygen-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.13em;
}
.oxygen-text h2 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.oxygen-text p {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.8rem;
}
.oxygen-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.oxygen-point {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.oxygen-point-icon {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.oxygen-point-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}
.oxygen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  text-decoration: none;
  padding: 0.8rem 1.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  margin-top: 0.5rem;
}
.oxygen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.oxygen-visual {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.oxygen-capsule-img {
  height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}
.oxygen-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.oxygen-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.1rem;
  text-align: center;
  color: white;
}
.oxygen-stat .o-num {
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.oxygen-stat .o-unit {
  font-size: 0.75rem;
  opacity: 0.8;
}
.oxygen-stat .o-label {
  font-size: 0.7rem;
  opacity: 0.65;
  margin-top: 0.25rem;
  display: block;
}

/* NEWS */
#news {
  background: var(--bg);
}
.news-list {
  display: flex;
  flex-direction: column;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  flex-wrap: wrap;
}
.news-item:hover {
  color: var(--primary);
}
.news-item:first-child {
  border-top: 1px solid var(--border);
}
.news-date {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 82px;
  padding-top: 0.1rem;
}
.news-badge {
  font-size: 0.68rem;
  background: var(--accent);
  color: var(--primary);
  padding: 0.12rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}
.news-title {
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  min-width: 180px;
}
.news-all-btn {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  text-decoration: none;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 0.65rem 2.3rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
}
.news-all-btn:hover {
  background: var(--primary);
  color: white;
}

/* ACCESS */
#access {
  background: white;
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.access-grid > .fade-up {
  display: flex;
  flex-direction: column;
}
.access-grid > .fade-up > div {
  flex: 1;
}
.access-grid > .fade-up iframe {
  height: 100%;
  min-height: 290px;
}
.access-info h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}
.access-detail {
  display: flex;
  flex-direction: column;
}
.access-row {
  display: flex;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.access-row:last-child {
  border-bottom: none;
}
.access-label {
  min-width: 72px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: flex-start;
  padding-top: 0.2rem;
  flex-shrink: 0;
}
.access-val {
  color: var(--text);
  line-height: 1.7;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-size: 0.83rem;
  margin-top: 0.4rem;
  transition: all 0.3s;
}
.map-btn:hover {
  background: var(--primary-dark);
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary),
    var(--primary-light)
  );
  padding: 5rem 1.5rem;
  text-align: center;
  color: white;
}
.cta-banner h2 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 0.7rem;
}
.cta-banner p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 0.92rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-primary {
  background: white;
  color: var(--primary);
  text-decoration: none;
  padding: 0.85rem 2.3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.3s;
}
.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-btn-secondary {
  background: transparent;
  color: white;
  text-decoration: none;
  padding: 0.85rem 2.3rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s;
}
.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand .logo-text .name {
  color: white;
}
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.9;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent2);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.38);
}

/* FADE UP */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FIXED SIDE BUTTONS (PC) */
.fixed-side-btns {
  position: fixed;
  right: 0;
  top: 82%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fixed-side-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.2s;
  border-radius: 8px 0 0 8px;
  box-shadow: -3px 3px 16px rgba(0, 0, 0, 0.2);
}
.fixed-side-btn-access {
  background: #1565c0;
  color: #fff !important;
}
.fixed-side-btn-access:hover {
  background: #0d47a1;
}
.fixed-side-btn-reserve {
  background: #d32f2f;
  color: #fff !important;
}
.fixed-side-btn-reserve:hover {
  background: #b71c1c;
}

/* FIXED BOTTOM BAR (スマホ) */
.fixed-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding-bottom: env(safe-area-inset-bottom);
}
.fixed-bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.85rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.fixed-bottom-btn-access {
  background: var(--primary);
  color: #fff !important;
}
.fixed-bottom-btn-reserve {
  background: #d32f2f;
  color: #fff !important;
}

/* HERO (内部ページ用) */
.price-hero {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary),
    var(--primary-light)
  );
  color: white;
  padding: 7rem 1.5rem 4rem;
  margin-top: 70px;
  text-align: center;
}
.price-hero .breadcrumb {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}
.price-hero .breadcrumb a {
  color: white;
  text-decoration: none;
}
.price-hero .breadcrumb a:hover {
  text-decoration: underline;
}
.price-hero h1 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.price-hero p {
  font-size: 0.93rem;
  opacity: 0.88;
}

/* MAIN */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* BACK LINK */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  transition: gap 0.2s;
}
.back-link:hover {
  gap: 0.8rem;
}

/* RESERVE PAGE */
main.main-narrow-bottom {
  padding-bottom: 2.5rem;
}
.reserve-shortcode-area {
  margin-bottom: 3.5rem;
}
.reserve-notes {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 2.5rem;
}
.reserve-notes-title {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.reserve-notes-list {
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.reserve-notes-list li {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.8;
}
.reserve-tel-note {
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  margin-top: 0.5rem;
}
.reserve-tel-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.4rem;
}
.reserve-tel-note a:hover {
  text-decoration: underline;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .slideshow {
    height: 520px;
  }
  .oxygen-capsule-img {
    height: 340px;
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-badge {
    right: 0;
  }
  .first-visit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diagnosis-wrap {
    grid-template-columns: 1fr;
  }
  .price-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oxygen-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .access-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .fixed-side-btns {
    display: none;
  }
  .fixed-bottom-bar {
    display: flex;
  }
}

@media (min-width: 961px) {
  .fixed-bottom-bar {
    display: none;
  }
}

@media (max-width: 600px) {
  .slideshow {
    height: 460px;
  }
  .oxygen-capsule-img {
    height: 260px;
  }
  section {
    padding: 3.5rem 1rem;
  }
  #oxygen {
    padding: 3.5rem 1rem;
  }
  .slide-content {
    padding: 0 5%;
  }
  .slide-text p {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  .first-visit-grid {
    grid-template-columns: 1fr;
  }
  .treatment-grid {
    grid-template-columns: 1fr;
  }
  .price-preview-grid {
    grid-template-columns: 1fr;
  }
  .table-scroll {
    border: 1px solid var(--border);
    border-radius: 8px;
  }
  .time-table th,
  .time-table td {
    padding: 0.45rem 0.35rem;
    font-size: 0.76rem;
  }
  .diagnosis-card {
    padding: 1.3rem;
  }
  .oxygen-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .price-detail-btn {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }
  .access-row {
    flex-direction: column;
    gap: 0.2rem;
  }
  .access-label {
    min-width: unset;
  }
  .reserve-notes {
    padding: 1.2rem 1.2rem;
  }
}

/* 404（ページが見つからない） */
.notfound-lead {
  text-align: center;
  font-size: 0.93rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 2.5rem;
}
.notfound-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.notfound-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.notfound-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 111, 160, 0.12);
}
.notfound-link-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}
.notfound-link-title::after {
  content: " →";
}
.notfound-link-desc {
  color: var(--text-light);
  font-size: 0.82rem;
}
.notfound-tel {
  text-align: center;
  background: var(--bg);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}
.notfound-tel p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}
.notfound-tel-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(26, 111, 160, 0.3);
}
@media (max-width: 768px) {
  .notfound-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .notfound-links {
    grid-template-columns: 1fr;
  }
  .notfound-br {
    display: none;
  }
}
