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

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

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: #3A2E28;
  background: #F7F3EE;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   DESIGN TOKENS
======================================== */
:root {
  --ivory: #F7F3EE;
  --ivory-mid: #EDE8E0;
  --ivory-dark: #E2D9CF;
  --terracotta: #C96939;
  --terracotta-mid: #D8916E;
  --terracotta-pale:#F1DACE;
  --green-deep: #3D5C3A;
  --green-mid: #5C7A57;
  --green-light: #E8F0E6;
  --brown-text: #3A2E28;
  --brown-mid: #7A6A60;
  --brown-light: #B8A89E;
  --white: #FFFFFF;
  --serif: 'Zen Kaku Gothic New', sans-serif;
  --sans: 'Zen Kaku Gothic New', sans-serif;
  --num: 'Zen Kaku Gothic New', sans-serif;
}

/* ========================================
   TYPOGRAPHY UTILITIES
======================================== */
.serif {
  font-family: var(--serif);
}

.section-eyebrow {
  font-family: var(--serif);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green-mid);
  flex-shrink: 0;
}

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.07em;
  color: var(--brown-text);
}

.section-lead {
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ========================================
   LAYOUT
======================================== */
.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}
/* ========================================
   HEADER
======================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(8px);
  transition: background 0.3s, box-shadow 0.3s;
}

#header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 16px rgba(58, 46, 40, 0.08);
}

/* 上段：ロゴ＋右エリア */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 50px 0;
}

/* 下段：gnav */
.header-bottom {
  padding: 0 50px 8px;
}

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

/* 右エリア：電話＋CTAボタン */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.header-tel:hover {
  opacity: 0.7;
}

.header-tel svg {
  color: var(--brown-mid);
  flex-shrink: 0;
}

.header-tel-body {
  display: flex;
  flex-direction: column;
}

.header-tel-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  color: var(--brown-text);
  white-space: nowrap;
  font-weight: 600;
  line-height: 1.2;
}

.header-tel-label {
  font-size: 11px;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ヘッダーCTAボタン */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--terracotta);
  color: #fff;
  padding: 10px 22px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid var(--terracotta);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  background: #fff;
  color: var(--terracotta);
}

.gnav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  flex-wrap: nowrap;
}

.gnav > li {
  display: flex;
  align-items: center;
  position: relative;
}

.gnav > li + li::before {
  content: "";
  display: block;
  width: 1px;
  height: 16px;
  background: var(--ivory-dark);
  flex-shrink: 0;
}

.gnav li a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  color: var(--brown-mid);
  padding: 6px 20px;
  transition: color 0.2s;
}

.gnav li a:hover {
  color: var(--green-deep);
}

.gnav li.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z' fill='%233D5C3A'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}

.gnav > li.has-sub:hover > a::after,
.gnav > li.has-sub:focus-within > a::after {
  transform: rotate(180deg);
}

/* ---- ドロップダウン（子ページ） ---- */
.gnav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 22px 44px -18px rgba(60, 24, 8, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.gnav > li.has-sub:hover > .sub-menu,
.gnav > li.has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.gnav .sub-menu li {
  display: block;
}

.gnav .sub-menu li + li::before {
  content: none;
}

.gnav .sub-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--brown-mid);
}

.gnav .sub-menu a::after {
  content: none;
}

.gnav .sub-menu a:hover {
  background: var(--ivory);
  color: var(--green-deep);
}

/* ハンバーガーボタン（PC非表示） */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-btn span,
.hamburger-btn span::before,
.hamburger-btn span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: all 0.25s;
}

.hamburger-btn span::before,
.hamburger-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger-btn span::before {
  top: -5px;
}

.hamburger-btn span::after {
  top: 5px;
}

@media (max-width: 900px) {
  .gnav, .header-right {
    display: none;
  }
  .header-bottom {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}
/* ========================================
   HERO
======================================== */
/* ヒーロー全体ラッパー */
#mv-section {
  position: relative;
  background: var(--ivory);
  padding-bottom: 80px;
}

#hero {
  position: relative;
  height: 80vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--ivory-mid);
  margin: 16px 50px 0;
  border-radius: 16px;
}

/* SP：hero-sp-catch は PC/タブレットでは非表示 */
.hero-sp-catch {
  display: none;
}

.hero-sp-h1 {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--brown-text);
}

.hero-sp-h1 em {
  font-style: normal;
  color: var(--terracotta);
}

/* 写真プレースホルダー */
.hero-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #D5CCC4 0%, #C9C0B7 45%, #BFB5AB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.22;
}

.hero-photo-label span {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--brown-text);
}

/* 斜めリボン装飾 */
.hero-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* 左側縦書きテキストエリア */
.hero-text-col {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 20px 60px 48px;
  background: linear-gradient(to right, rgba(247, 243, 238, 0.6) 0%, rgba(247, 243, 238, 0) 100%);
}

.hero-h1 {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: var(--brown-text);
  writing-mode: vertical-rl;
}

.hero-h1 em {
  font-style: normal;
  color: var(--terracotta);
}

/* 右下：診療時間カード — #mv-section基準で配置 */
.hero-hours-card {
  position: absolute;
  bottom: 80px;
  right: 50px;
  z-index: 4;
  background: var(--ivory);
  padding: 20px 36px 28px;
  width: 470px;
  border-radius: 10px 0 0 0;
}

.hero-hours-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--brown-text);
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 0;
}

/* テーブル本体 */
.hero-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.hero-hours-table thead th {
  font-size: 15px;
  color: var(--brown-text);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--ivory-dark);
}

.hero-hours-table thead th:first-child {
  text-align: left;
  min-width: 130px;
}

.hero-hours-table tbody tr {
  border-bottom: 1px solid var(--ivory-dark);
}

.hero-hours-table tbody tr:last-child {
  border-bottom: none;
}

.hero-hours-table tbody td {
  text-align: center;
  padding: 16px 0;
  vertical-align: middle;
}

.hero-hours-table tbody td:first-child {
  text-align: left;
  font-size: 18px;
  color: var(--brown-text);
  letter-spacing: 0.03em;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

.dot-on {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green-mid);
}

.dot-off {
  display: inline-block;
  font-size: 14px;
  color: var(--brown-light);
  line-height: 1;
}

.dot-star {
  display: inline-block;
  color: var(--terracotta-mid);
  font-size: 16px;
  line-height: 1;
}

.hero-hours-note {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-hours-note p {
  font-size: 13px;
  font-weight: bold;
  color: var(--brown-mid);
  line-height: 1.7;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-hours-note .note-star {
  color: var(--terracotta-mid);
  font-size: 14px;
}

.hero-hours-note .note-sym {
  color: var(--brown-light);
}

/* 左下：アクセスバッジ */
.hero-access-badge {
  position: absolute;
  bottom: 40px;
  left: 100px;
  z-index: 4;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0px;
}

.hero-access-station {
  font-size: 16px;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
  line-height: 1.6;
  font-weight: 500;
}

.hero-access-walk-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 4px;
}

.hero-access-walk {
  font-size: 16px;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}

.hero-access-num {
  font-family: var(--num);
  font-size: 52px;
  color: var(--terracotta);
  line-height: 1;
  font-weight: bold;
}

.hero-access-min {
  font-size: 16px;
  color: var(--terracotta);
}

/* CTA ボタン群 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: #fff;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 0.8125rem;
  letter-spacing: 0.07em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #b06240;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--terracotta);
  padding: 13px 32px;
  border-radius: 32px;
  border: 1px solid var(--terracotta);
  font-size: 0.8125rem;
  letter-spacing: 0.07em;
  transition: background 0.2s, transform 0.15s;
}

.btn-outline:hover {
  background: var(--terracotta-pale);
  transform: translateY(-1px);
}

/* スクロール */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.hero-scroll span {
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: var(--brown-light);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: var(--brown-light);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@media (max-width: 768px) {
  #hero {
    margin: 4px 4px 0;
    border-radius: 10px;
  }
  .hero-hours-card {
    right: 12px;
    bottom: 12px;
    min-width: 220px;
    padding: 14px 16px;
  }
  .hero-access-badge {
    left: 12px;
    bottom: 12px;
    width: 76px;
    height: 76px;
  }
  .hero-text-col {
    width: 90px;
    padding-left: 20px;
  }
}
/* ========================================
   NEWS
======================================== */
#notice {
  background: var(--ivory);
  padding: 60px 0 80px;
}

.news-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0 60px;
  align-items: start;
}

.news-left {
  position: sticky;
  top: 100px;
}

.news-eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 400;
  margin-bottom: 12px;
}

.news-heading {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 500;
  color: var(--brown-text);
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.news-more-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ivory-dark);
  text-decoration: none;
}

.news-item:first-child {
  border-top: 1px solid var(--ivory-dark);
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.news-date {
  font-size: 1rem;
  color: var(--brown-mid);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-sep {
  color: var(--brown-light);
  font-size: 1rem;
}

.news-cat {
  font-size: 1rem;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}

.news-title {
  font-size: 1rem;
  color: var(--brown-text);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.news-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.news-item:hover .news-arrow {
  background: #b06240;
}

@media (max-width: 768px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }
  .news-left {
    position: static;
  }
  .news-heading {
    font-size: 26px;
  }
}
/* ========================================
   FEATURES
======================================== */
#features {
  background: none;
  padding: 96px 0;
}

.features-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--terracotta);
  color: #fff;
  border: 1.5px solid var(--terracotta);
  border-radius: 40px;
  padding: 16px 32px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}

.features-top-btn:hover {
  background: #fff;
  color: var(--terracotta);
}

.features-top-btn svg {
  flex-shrink: 0;
}

/* 新レイアウト */
.feat-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .feat-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.feat-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feat-left-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-photos {
  position: relative;
  height: 640px;
}

.feat-photo-sub {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

.feat-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feat-photo-main {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72%;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 2;
}

.feat-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.feat-photo-img.is-active {
  opacity: 1;
}

/* 右：特徴リスト */
.feat-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 16px;
  padding: 30px 40px 28px 32px;
  border: 3px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(58, 46, 40, 0.07);
  transition: border-color 0.2s;
  cursor: pointer;
  position: relative;
}

.feat-item:hover {
  border-color: var(--terracotta);
}

.feat-item-head {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.feat-item-num {
  font-family: var(--num);
  font-size: 0.75rem;
  color: var(--terracotta);
  letter-spacing: 0.05em;
}

.feat-item-en {
  font-family: var(--num);
  font-size: 26px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}

.feat-item-ja {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--brown-text);
  margin-bottom: 6px;
}

.feat-item-desc {
  grid-column: 1;
  grid-row: 3;
  font-size: 0.875rem;
  color: var(--brown-mid);
  line-height: 1.75;
}

.feat-item-arr {
  grid-column: 2;
  grid-row: 1/4;
  display: flex;
  align-items: center;
  color: var(--terracotta);
  opacity: 0.5;
  padding-left: 8px;
}

.feat-item:hover .feat-item-arr {
  opacity: 1;
}

.feat-item-img {
  display: none;
}

.feat-item-body {
  display: contents;
}

@media (max-width: 900px) {
  .feat-photos {
    display: none;
  }
  .feat-item {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }
  .feat-item-img {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    height: 110px;
    overflow: hidden;
  }
  .feat-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .feat-item-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 12px;
    min-width: 0;
    contents: unset;
  }
  .feat-item-body .feat-item-head {
    margin-bottom: 4px;
  }
  .feat-item-body .feat-item-ja {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .feat-item-body .feat-item-desc {
    font-size: 0.8rem;
  }
  .feat-item-arr {
    grid-column: unset;
    grid-row: unset;
    flex: 0 0 auto;
    padding: 0 12px 0 0;
  }
}
/* ========================================
   MENU
======================================== */
#menu {
  background: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.menu-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.menu-sidebar {
  position: sticky;
  top: 96px;
}

.menu-sidebar-deco {
  position: absolute;
  top: -40px;
  left: -30px;
  width: 200px;
  fill: var(--terracotta-pale);
  opacity: 0.6;
  pointer-events: none;
}

.menu-sidebar .section-lead {
  margin-top: 20px;
}

.menu-sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--terracotta);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--terracotta-pale);
  padding-bottom: 4px;
  transition: gap 0.2s;
}

.menu-sidebar-link:hover {
  gap: 12px;
}

/* メニュータブ */
.menu-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ivory-dark);
}

.menu-tab-btn {
  padding: 10px 28px;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--brown-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: var(--sans);
}

.menu-tab-btn.is-active {
  color: var(--green-deep);
  border-bottom-color: var(--green-deep);
  font-weight: 500;
}

.menu-tab-panel {
  display: none;
}

.menu-tab-panel.is-active {
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
.menu-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: 10px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}

.menu-card:hover {
  box-shadow: 0 4px 24px rgba(58, 46, 40, 0.07);
  transform: translateY(-2px);
}

.menu-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--terracotta-mid);
  border-radius: 10px 0 0 10px;
}

.menu-card.green::before {
  background: var(--terracotta-mid);
}

.menu-card-en {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  color: var(--brown-light);
}

.menu-card-ja {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--brown-text);
  font-weight: 400;
  line-height: 1.5;
}

.menu-card-sub {
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 1.7;
  margin-top: 2px;
}

.menu-card-arr {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   SYMPTOMS (お悩みから探す)
======================================== */
#symptoms {
  background: var(--ivory);
  padding: 96px 0;
}

.symptoms-header {
  margin-bottom: 52px;
}

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

@media (max-width: 700px) {
  .symptoms-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.symptom-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.symptom-card:hover {
  transform: translateY(-2px);
}

.symptom-img-wrap {
  position: absolute;
  inset: 0;
  background: var(--ivory-dark);
  overflow: hidden;
}

.symptom-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #8b9687;
  mix-blend-mode: multiply;
}

.symptom-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.symptom-card:hover .symptom-img-wrap img {
  transform: scale(1);
}

.symptom-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.symptom-img-placeholder span {
  font-size: 0.5625rem;
  color: var(--white);
  letter-spacing: 0.12em;
}

.symptom-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.symptom-title {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--white);
  line-height: 1.5;
}

.symptom-tag {
  display: inline-block;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.14em;
  background: none;
  padding: 0;
}

.symptom-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 4px;
}

.symptom-card:hover .symptom-desc {
  opacity: 1;
  transform: translateY(0);
}

.symptom-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  width: 40px;
  height: 24px;
  margin-left: auto;
  margin-right: auto;
}

.symptom-arrow img {
  transition: transform 0.3s ease;
}

.symptom-card:hover .symptom-arrow img {
  animation: arrow-slide 0.4s ease forwards;
}

@keyframes arrow-slide {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(36px);
  }
  46% {
    transform: translateX(-36px);
  }
  100% {
    transform: translateX(0);
  }
}
/* ========================================
   FLOW
======================================== */
#flow {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.flow-bg {
  position: absolute;
  inset: 0;
  background-color: var(--ivory-mid);
  background-image: url("../img/top-step_bg.webp");
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.92);
}

.flow-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.flow-card-new {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 48px 56px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
}

.flow-card-header {
  margin-bottom: 40px;
}

.flow-note {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  margin-top: 12px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.flow-step-num {
  font-family: var(--num);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--terracotta);
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 14px;
}

.flow-step-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brown-text);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.flow-step-note {
  font-size: 0.75rem;
  color: var(--brown-mid);
}

.flow-step-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.6875rem;
  color: var(--terracotta);
  border: 1px solid var(--terracotta-pale);
  border-radius: 20px;
  padding: 2px 10px;
  letter-spacing: 0.06em;
}

.flow-step-arr {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  color: var(--brown-light);
  font-size: 1.125rem;
  padding-top: 6px;
}

/* ========================================
   FAQ
======================================== */
#faq {
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

.faq-left {
  order: 2;
}

.faq-right {
  order: 1;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: stretch;
}

.faq-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 40px;
}

.faq-desc {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  line-height: 2;
  margin-top: 20px;
  margin-bottom: 40px;
}

.faq-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--terracotta);
  color: #fff;
  border-radius: 40px;
  padding: 16px 20px 16px 28px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-decoration: none;
  width: 220px;
  border: 1.5px solid var(--terracotta);
  transition: background 0.2s, color 0.2s;
}

.faq-more-btn:hover {
  background: #fff;
  color: var(--terracotta);
}

.faq-more-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-right {
  display: flex;
  align-items: stretch;
  padding: 80px 24px 80px 80px;
  box-sizing: border-box;
}

.faq-photo {
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.faq-photo-panel {
  flex: 1;
  aspect-ratio: 3/4;
  background: var(--ivory-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-photo-panel:first-child {
  margin-top: 48px;
}

.faq-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
}

.faq-a-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracotta-pale);
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.625rem;
  color: var(--terracotta);
  margin-right: 10px;
  vertical-align: middle;
}

/* ========================================
   ABOUT
======================================== */
#about {
  background: none;
  padding: 96px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-outer {
  order: 2;
}

.about-layout > div:last-child {
  order: 1;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.about-photo-outer {
  position: relative;
  padding: 0 20px 20px 0;
}

.about-photo-outer::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, var(--terracotta-pale) 0%, var(--terracotta-mid) 100%);
  border-radius: 12px;
}

.about-img-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  background: var(--ivory-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.3;
}

.about-img-placeholder span {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--brown-mid);
}

.about-accent {
  position: absolute;
  bottom: 44px;
  right: 8px;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--terracotta-pale);
  border: 1px solid var(--terracotta-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.about-accent-num {
  font-family: var(--num);
  font-size: 2rem;
  color: var(--terracotta);
  line-height: 1;
}

.about-accent-label {
  font-size: 0.75rem;
  color: var(--brown-mid);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.6;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-content .section-h2 {
  margin-bottom: 8px;
}

.about-dr-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--brown-text);
  letter-spacing: 0.06em;
}

.about-dr-suffix {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.about-dr-title {
  font-size: 0.875rem;
  color: var(--brown-mid);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--ivory-dark);
}

.about-credential-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

.about-credential-dot {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta-mid);
  margin-top: 7px;
}

/* ========================================
   CTA
======================================== */
/* ========================================
   ACCESS
======================================== */
/* ========================================
   FOOTER
======================================== */
#footer {
  background: linear-gradient(to bottom, #fff 190px, transparent 190px), linear-gradient(121deg, rgba(196, 113, 74, 0.12) 5%, rgba(242, 234, 226, 0.6) 96%);
  background-size: 100% 100%, 100% calc(100% - 190px);
  background-position: 0 0, 0 190px;
  background-repeat: no-repeat;
}

/* 上段：2カラム（クリニック情報 ＋ 地図） */
.footer-top {
  background: transparent;
  padding: 70px 0 80px;
}

.footer-top-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 56px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .footer-top {
    padding: 36px 24px;
  }
  .footer-top-inner {
    flex-direction: column;
    gap: 36px;
  }
}
/* 左：クリニック情報 */
.footer-info-col {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-info-col {
    flex: none;
  }
}
.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-sub {
  font-size: 0.6875rem;
  color: var(--brown-mid);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.footer-logo-ja {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--brown-text);
  line-height: 1.3;
  white-space: nowrap;
}

.footer-addr {
  font-size: 0.875rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-tel {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.footer-tel-label {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  letter-spacing: 0.1em;
}

.footer-tel-num {
  font-family: var(--num);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--brown-text);
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

/* 診療時間テーブル（● / — スタイル） */
.footer-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-hours-table thead th {
  font-size: 0.8125rem;
  color: var(--brown-mid);
  font-weight: 400;
  text-align: center;
  padding: 8px 6px;
  border-bottom: 1px solid var(--ivory-dark);
}

.footer-hours-table thead th:first-child {
  text-align: left;
}

.footer-hours-table tbody tr {
  border-bottom: 1px solid var(--ivory-dark);
}

.footer-hours-table tbody td {
  text-align: center;
  padding: 12px 4px;
  vertical-align: middle;
  color: var(--brown-mid);
  font-size: 0.9375rem;
}

.footer-hours-table tbody td:first-child {
  text-align: left;
  color: var(--brown-text);
  font-size: 0.875rem;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif;
}

.f-open {
  color: var(--green-mid);
  font-size: 1rem;
}

.f-close {
  color: var(--brown-light);
}

.f-star {
  color: var(--terracotta-mid);
  font-size: 1rem;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--brown-mid);
  line-height: 1.9;
  margin-bottom: 28px;
  align-self: flex-start;
}

/* 予約ボタン */
.footer-reserve-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 40px;
  padding: 18px 32px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: 1.5px solid var(--terracotta);
  transition: background 0.2s, color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.footer-reserve-btn:hover {
  background: #fff;
  color: var(--terracotta);
}

/* 右：地図 */
/* フッター上部 横長マップ */
.footer-map-wide-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 0;
  position: relative;
}

@media (max-width: 768px) {
  .footer-map-wide-wrap {
    padding: 0 24px 32px;
  }
}
.footer-map-wide {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
}

.footer-map-wide iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-map-walk-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #fff;
  border: 2px solid var(--green-mid);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--green-mid);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.footer-map-walk-station {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--green-mid);
  line-height: 1;
}

.footer-map-walk-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--green-mid);
}

.footer-map-walk-label {
  font-size: 0.875rem;
  color: var(--green-mid);
  line-height: 1;
}

.footer-map-walk-num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--green-mid);
  line-height: 1;
}

.footer-map-walk-unit {
  font-size: 0.875rem;
  color: var(--green-mid);
  line-height: 1;
}

/* フッター内 カレンダーカラム */
.footer-map-col {
  position: relative;
  flex: 1;
  min-height: 460px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.footer-map-col iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .footer-map-col {
    min-height: 360px;
  }
  .footer-map-wide {
    height: 220px;
  }
}
.footer-map-badge {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.footer-map-badge-station {
  font-size: 0.6875rem;
  color: var(--brown-text);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.footer-map-badge-walk {
  display: flex;
  align-items: baseline;
  gap: 1px;
  color: var(--terracotta);
}

.footer-map-badge-walk-label {
  font-size: 0.6875rem;
}

.footer-map-badge-walk-num {
  font-family: var(--num);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.footer-map-badge-walk-min {
  font-size: 0.75rem;
}

/* 下段：ナビリンク＋カレンダー */
.footer-nav-section {
  background: transparent;
  padding: 0 50px 60px;
}

.footer-nav-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-nav-section {
    padding: 0 24px;
  }
  .footer-nav-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
}
@media (max-width: 900px) {
  .footer-nav-col:last-of-type {
    display: none;
  }
}
.footer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--ivory-dark);
  text-decoration: none;
  color: var(--brown-text);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-nav-item:hover {
  color: var(--terracotta);
}

.footer-nav-item svg {
  flex-shrink: 0;
  color: var(--terracotta);
}

/* 下段コピーライト */
.footer-bottom {
  background: transparent;
  padding: 0 50px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding: 14px 24px;
  }
}
.footer-copy {
  font-size: 13px;
  color: var(--brown-mid);
  letter-spacing: 0.1em;
}

.footer-policy-links {
  display: flex;
  gap: 20px;
}

.footer-policy-links a {
  font-size: 11px;
  color: var(--brown-mid);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-policy-links a:hover {
  color: var(--terracotta);
}

/* ========================================
   FLOATING CTA (SP)
======================================== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(247, 243, 238, 0.97);
  border-top: 1px solid var(--ivory-dark);
  padding: 12px 20px;
  gap: 10px;
}

@media (max-width: 768px) {
  .floating-cta {
    display: flex;
  }
}
.floating-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px;
  border-radius: 28px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.floating-cta .f-tel {
  background: var(--brown-mid);
  color: #fff;
}

.floating-cta .f-web {
  background: var(--terracotta);
  color: #fff;
}

/* PC右側追従ボタン */
.side-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  width: 44px;
  padding: 20px 0;
  font-size: 16px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  gap: 8px;
  transition: opacity 0.2s;
}

.side-cta a:hover {
  opacity: 0.85;
}

.side-cta .s-web {
  background: #f5b230;
  border-radius: 8px 0 0 0;
}

.side-cta .s-line {
  background: #06C755;
  border-radius: 0 0 0 8px;
}

@media (max-width: 900px) {
  .side-cta {
    display: none;
  }
}
/* ========================================
   BOTANICAL DECORATIONS
======================================== */
@keyframes sway-a {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  30% {
    transform: rotate(2.5deg) translateY(-3px);
  }
  70% {
    transform: rotate(-2deg) translateY(2px);
  }
}
@keyframes sway-b {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  35% {
    transform: rotate(-3deg) translateY(-4px);
  }
  65% {
    transform: rotate(2deg) translateY(2px);
  }
}
@keyframes sway-c {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  40% {
    transform: rotate(1.5deg) translateY(-2px);
  }
  80% {
    transform: rotate(-2.5deg) translateY(3px);
  }
}
.botanical {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transform-origin: bottom center;
  animation: sway-a 7s ease-in-out infinite;
}

.botanical:nth-child(2) {
  animation: sway-b 9s ease-in-out infinite;
}

.botanical:nth-child(3) {
  animation: sway-c 6s ease-in-out 1s infinite;
}

.botanical:nth-child(4) {
  animation: sway-a 8s ease-in-out 2s infinite;
}

.botanical:nth-child(5) {
  animation: sway-b 10s ease-in-out 0.5s infinite;
}

.botanical--symptoms-r {
  top: 40px;
  right: 60px;
}

@media (max-width: 768px) {
  .botanical--symptoms-r {
    top: -10px;
    right: -5px;
  }
}
#notice, #features, #menu, #symptoms, #flow, #about {
  position: relative;
}

/* ========================================
   TABLET (769px – 1024px)
======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* MV */
  #hero {
    height: 72vh;
    margin: 12px 24px 0;
  }
  .hero-hours-card {
    width: 360px;
    right: 24px;
    bottom: 60px;
    padding: 16px 24px 22px;
  }
  .hero-hours-table thead th {
    font-size: 13px;
    padding: 0 6px 10px;
  }
  .hero-hours-table tbody td:first-child {
    font-size: 15px;
  }
  .hero-access-badge {
    left: 60px;
    bottom: 32px;
    width: 130px;
    height: 130px;
  }
  /* ナビ */
  .gnav {
    gap: clamp(6px, 0.8vw, 12px);
  }
  .gnav a {
    font-size: 13px;
  }
  /* お知らせ */
  .news-layout {
    flex-direction: column;
    gap: 24px;
  }
  /* 特徴カード */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* メニュー */
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* 症状 */
  .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* FLOW */
  .flow-card-new {
    padding: 36px 40px;
  }
  .flow-step-num {
    font-size: 1.375rem;
  }
  /* FAQ */
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-left {
    padding: 60px 40px;
  }
  .faq-right {
    padding: 0 40px 60px;
  }
  /* ごあいさつ */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* フッター上段 */
  .footer-top-inner {
    flex-direction: column;
    gap: 36px;
  }
  .footer-map-col {
    min-height: 300px;
  }
  /* フッターナビ */
  .footer-nav-inner {
    grid-template-columns: 1fr 1fr;
  }
}
/* ========================================
   SP (〜768px)
======================================== */
@media (max-width: 768px) {
  /* MV：写真 */
  #mv-section {
    padding-bottom: 32px;
  }
  #hero {
    margin: 8px 16px 0;
    height: 56vh;
    min-height: 320px;
  }
  /* 縦書きコピー・スクロール非表示 */
  .hero-text-col {
    display: none;
  }
  .hero-scroll {
    display: none;
  }
  /* バッジ：写真右下に重ねる */
  .hero-access-badge {
    position: absolute;
    bottom: auto;
    top: calc(8px + 56vh - 100px);
    left: auto;
    right: 16px;
    width: 100px;
    height: 100px;
  }
  .hero-access-station {
    font-size: 11px;
  }
  .hero-access-walk {
    font-size: 11px;
  }
  .hero-access-num {
    font-size: 34px;
  }
  .hero-access-min {
    font-size: 11px;
  }
  /* SPキャッチコピー */
  .hero-sp-catch {
    display: block;
    padding: 28px 20px 20px;
  }
  /* 診療時間カード：フロー内へ */
  .hero-hours-card {
    position: static;
    width: auto;
    margin: 0 16px 0;
    border-radius: 12px;
    padding: 20px 16px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  }
  .hero-hours-table thead th {
    font-size: 11px;
    padding: 0 3px 10px;
  }
  .hero-hours-table tbody td:first-child {
    font-size: 12px;
  }
  .hero-hours-table tbody td {
    padding: 10px 0;
  }
  .dot-on {
    width: 10px;
    height: 10px;
  }
  /* お知らせ */
  .news-layout {
    flex-direction: column;
    gap: 20px;
  }
  /* 特徴 */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-top-layout {
    flex-direction: column;
    gap: 24px;
  }
  /* メニュー */
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* 症状 */
  .symptom-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* FLOW */
  #flow {
    padding: 48px 0;
  }
  .flow-inner {
    padding: 0 20px;
  }
  .flow-card-new {
    padding: 32px 24px;
  }
  .flow-card-header {
    margin-bottom: 28px;
  }
  .flow-steps {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .flow-step {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  .flow-step-arr {
    display: none;
  }
  /* FAQ */
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-left {
    padding: 48px 24px 32px;
  }
  .faq-right {
    padding: 0 24px 48px;
  }
  /* ごあいさつ */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* フッター */
  .footer-top {
    padding: 40px 20px;
  }
  .footer-top-inner {
    flex-direction: column;
    gap: 28px;
  }
  .footer-info-col {
    flex: none;
    width: 100%;
  }
  .footer-map-col {
    min-height: 240px;
  }
  .footer-nav-section {
    padding: 0 20px;
  }
  .footer-nav-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
/* ========================================
   HOVER STATES
======================================== */
/* ヘッダー電話番号 */
.header-tel {
  text-decoration: none;
  border-radius: 6px;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.header-tel:hover {
  opacity: 0.7;
}

/* フッター電話番号 */
.footer-tel-num {
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-tel-num:hover {
  opacity: 0.7;
}

/* ナビリンク（既存hover補完） */
.footer-nav-item:hover svg {
  color: var(--terracotta);
}

/* サイドCTAボタン */
.side-cta a {
  transition: opacity 0.2s, filter 0.2s;
}

.side-cta a:hover {
  opacity: 0.85;
  filter: brightness(1.1);
}

/* フローティングCTAボタン（SP） */
.floating-cta a {
  transition: opacity 0.2s;
}

.floating-cta a:hover {
  opacity: 0.8;
}

.footer-logo-wrap img {
  height: 40px;
  width: auto;
}

/* ============================================================
   【トライアル】トップページ：グローバルメニュー縦並び（yard型）
   PC（≥1025px）＋フロントページ（.header--home）のみ適用。
   タブレット/SP・下層ページは従来の横並び／ハンバーガーのまま。
   ※ スクロール時はメニューを退避（上部に戻ると再表示）。
     スクロール中のドロワー開閉は未実装（本実装は別途）。
============================================================ */
@media (min-width: 1025px) {
  /* ヒーロー写真を活かすためヘッダー背景を透過（最上部のみ） */
  .header--home {
    background: transparent;
    backdrop-filter: none;
  }
  .header--home.is-scrolled {
    background: #fff;
    box-shadow: 0 2px 16px rgba(58, 46, 40, 0.08);
  }
  /* 縦メニュー本体：header-top の直下に絶対配置で右側へ浮かせる。
     absolute にすることで #header の高さ（＝body余白）を増やさない。 */
  .header--home .header-bottom {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: auto;
    padding: 10px 50px 18px 0;
    /* 写真上でも読めるようアイボリーのベール（右ほど濃く） */
    background: linear-gradient(to left, var(--ivory) 52%, rgba(247, 243, 238, 0));
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  /* スクロールしたら縦メニューは退避（yard同様の考え方） */
  .header--home.is-scrolled .header-bottom {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
  /* 横並び→縦並び・右揃え */
  .header--home .gnav {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2px;
    padding-left: 140px; /* ベールのフェード領域を確保 */
  }
  .header--home .gnav > li {
    display: block;
  }
  .header--home .gnav > li + li::before {
    content: none;
  } /* 縦線区切りを除去 */
  .header--home .gnav li a {
    justify-content: flex-end;
    padding: 9px 0;
    font-size: 15px;
    letter-spacing: 0.08em;
    color: var(--brown-text);
  }
  /* has-sub のドロップダウンは右メニューの左側へ展開 */
  .header--home .gnav .sub-menu {
    top: 0;
    right: calc(100% + 14px);
    left: auto;
    transform: translateX(10px);
  }
  .header--home .gnav > li.has-sub:hover > .sub-menu,
  .header--home .gnav > li.has-sub:focus-within > .sub-menu {
    transform: translateX(0);
  }
}

/*# sourceMappingURL=ichikawa-top.css.map */
