/* =========================================================
   🌐 GLOBAL BASE
   全ページ共通設定
   (KARiN. 2025.11)
========================================================= */

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #1E3A5F;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

/* テキスト共通 */
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

/* リンク共通 */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* 画像共通 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ボックス共通（Safariはみ出し対策） */
section, header, footer {
  box-sizing: border-box;
  overflow-x: clip;
}

/* =========================================================
   🔖 LOGO BASE
   全ページ共通のロゴ表示設定
========================================================= */

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: "Playfair Display", "Noto Sans JP", serif;
  font-weight: 700;
  font-size: 2rem;           /* ✅ 元の見た目に近づけて大きめ */
  letter-spacing: 0.03em;
  color: #1E3A5F;
}


.logo img {
  display: block;
  width: auto;
  height: 45px;
  object-fit: contain;
}



/* =====================================================
   HEADER（KARiN.）
===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  z-index: 1000;
  overflow: visible;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1E3A5F;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.karin-brand {
  font-family: "Playfair Display", "Noto Sans JP", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- PC用ナビ ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1E3A5F;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav a:hover:not(.nav-book) {
  color: #8fa3c1;
}

.nav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid rgba(30, 58, 95, 0.2);
  border-radius: 40px;
  background: #ffffff;
  color: #1E3A5F;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .nav a.nav-book:hover {
    background: #1E3A5F;
    color: #ffffff;
    border-color: #1E3A5F;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.16);
  }
}

.nav-overlay {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- ハンバーガー ---------- */
.hamburger {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: #1E3A5F;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 29px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

/* トップ：FV中は透明ヘッダー、最終スライド or about 以降は通常ヘッダー */
body.index-page .header {
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(18, 32, 48, 0.42) 0%, rgba(18, 32, 48, 0) 100%);
  box-shadow: none;
  border-bottom: none;
  transition:
    background-color 0.4s ease,
    background-image 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

body.index-page .logo {
  color: #ffffff;
  transition: color 0.4s ease;
}

body.index-page .nav a:not(.nav-book) {
  color: #ffffff;
}

body.index-page .nav a:hover:not(.nav-book) {
  color: #c0a062;
}

body.index-page .nav-book {
  background: transparent;
  color: #c0a062;
  border-color: #c0a062;
  box-shadow: none;
}

body.index-page .hamburger span {
  background: #ffffff;
}

body.index-page .hero {
  padding-top: 0;
}

body.index-page.is-header-solid .header {
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

body.index-page.is-header-solid .logo {
  color: #1E3A5F;
}

body.index-page.is-header-solid .nav a:not(.nav-book) {
  color: #1E3A5F;
}

body.index-page.is-header-solid .nav a:hover:not(.nav-book) {
  color: #8fa3c1;
}

body.index-page.is-header-solid .nav-book {
  background: #ffffff;
  color: #1E3A5F;
  border-color: rgba(30, 58, 95, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.index-page.is-header-solid .hamburger span,
body.index-page .hamburger.active span {
  background: #1E3A5F;
}

@media (hover: hover) {
  body.index-page .nav a.nav-book:hover {
    background: transparent;
    color: #d4b57a;
    border-color: #d4b57a;
    box-shadow: none;
  }

  body.index-page.is-header-solid .nav a.nav-book:hover {
    background: #1E3A5F;
    color: #ffffff;
    border-color: #1E3A5F;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.16);
  }
}


/* ---------- Heroセクション ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 70px; /* 固定ヘッダー分。中身は残りの高さで中央揃え */
  overflow: hidden;
  background: #fff;
  margin: 0;
}


.slider {
  position: relative;
  width: 100%;
  height: 100%; /* ヘッダー下の可視エリアいっぱいに合わせる */
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.8);
  transition: transform 5s ease-in-out;
}

.slide.active img {
  transform: scale(1.06);
}

/* ---------- テキストアニメーション ---------- */
.text {
  position: absolute;
  z-index: 2;
  font-size: 3rem;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  max-width: 40%;
  opacity: 0;
  transform: translateY(30px);
}

.text.left {
  left: 5%;
  text-align: left;
}

.text.right {
  right: 5%;
  text-align: right;
}

.slide.active .text {
  animation: textFadeInUp 1.6s ease-out forwards;
}

@keyframes textFadeInUp {
  0% { opacity: 0; transform: translateY(30px); filter: blur(4px); }
  50% { opacity: 0.6; filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ---------- 5枚目：KARiN.ロゴスライド ---------- */
.slide.last {
  position: relative;
  background: #fff;
  color: #1E3A5F;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  height: 100%;
}

/* 初期状態（非表示＋下位置） */
.slide.last .brand {
  opacity: 0;
  transform: translateY(50px);
  text-align: center;
  z-index: 3;
}

/* activeがついたときに発火 */
.slide.last.active .brand {
  animation: brandFadeInUp 6s ease-out forwards;
  animation-delay: 2s; /* 猫ロゴfadeと完全同期 */
}

@keyframes brandFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  40% {
    opacity: 0.4;
    transform: translateY(20px);
  }
  70% {
    opacity: 0.8;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* フォント統一 */
.slide.last .brand h1 {
  font-family: "Playfair Display", "Noto Sans JP", serif;
  font-weight: 700;
  font-size: 5rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: #1E3A5F;
}

.slide.last .brand p {
  font-family: "Great Vibes", cursive;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: #1E3A5F;
  margin-top: 0.6rem;
  transform: translateX(-0.25em); /* ← KARiN.との視覚バランス補正 */
}

/* 猫ロゴ（fade out） */
.slide.last::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/static/images/relogo.png") center center no-repeat;
  background-size: 45%;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.slide.last.active::before {
  animation: fadeOutLogo 6s ease-in-out forwards;
  animation-delay: 2s;
}

@keyframes fadeOutLogo {
  0%   { opacity: 1; }
  40%  { opacity: 0.6; }
  80%  { opacity: 0.2; }
  100% { opacity: 0; }
}


/* ===============================
   About（サービス紹介）
   ファーストビュー直後・お知らせの前
=============================== */
.about-section {
  background-color: #fafafa;
  padding: 110px 8% 120px;
  text-align: center;
  position: relative;
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
}

.about-heading {
  display: inline-block;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: #1E3A5F;
  margin: 0 0 12px;
  padding: 0 0 20px;
}

.about-heading-mark {
  margin: 0 0.28em;
  font-weight: 500;
}

.about-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 1.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

@keyframes aboutReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes aboutRevealSoft {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 0.88;
    transform: translate3d(0, 0, 0);
  }
}

.about-lead {
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
  color: #1E3A5F;
  margin: 36px 0 28px;
}

.about-body {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 2.15;
  color: #1E3A5F;
  opacity: 0.88;
  margin: 0;
}


/* ===============================
   こんな方へ（共感セクション）
   #about の直後・お知らせの前
=============================== */
.for-you-section {
  background-color: #ffffff;
  background-image: url("/static/images/lp-philosophy.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 100px 8% 110px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.for-you-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  pointer-events: none;
  z-index: 0;
}

.for-you-section > * {
  position: relative;
  z-index: 1;
}

.for-you-title {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  color: #1E3A5F;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding: 0 0 16px;
}

.for-you-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

.for-you-list {
  max-width: 640px;
  margin: 64px auto 0;
  text-align: left;
}

.for-you-item {
  padding: 0;
}

.for-you-item:not(:last-child)::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 36px;
  background-color: #c0a062;
  opacity: 0.45;
}

.for-you-item + .for-you-item {
  margin-top: 36px;
}

.for-you-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #c0a062;
  margin-bottom: 10px;
}

.for-you-item-title {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #1E3A5F;
  margin: 0 0 12px;
}

.for-you-item-text {
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.82;
  margin: 0;
}


/* ===============================
   KARiN.のサービス
   「こんな方へ」の直後・お知らせの前
=============================== */
.services-section {
  background-color: #fafafa;
  padding: 88px 8% 96px;
  text-align: center;
  position: relative;
}

.services-title {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  color: #1E3A5F;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding: 0 0 16px;
}

.services-title-brand {
  font-family: "Playfair Display", "Noto Sans JP", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.services-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

.services-list {
  max-width: 640px;
  margin: 52px auto 0;
  text-align: left;
}

.services-item + .services-item {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #eee8dc;
}

.services-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #c0a062;
  margin-bottom: 8px;
}

.services-audience {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: #1E3A5F;
  opacity: 0.72;
  margin: 0 0 12px;
}

.services-name {
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #1E3A5F;
  margin: 0 0 16px;
}

.services-text {
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.82;
  margin: 0 0 1em;
}

.services-text:last-of-type {
  margin-bottom: 0;
}

.services-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #1E3A5F;
  border-bottom: 1px solid #c0a062;
  padding-bottom: 3px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.services-link:hover {
  color: #8fa3c1;
  opacity: 1;
}


/* ===============================
   🩵 お知らせセクション（2025.11再整理版）
   ※KARiN.NOTES（記事）デザインと完全統一トーン
=============================== */
.news-section {
  background-color: #ffffff;
  padding: 90px 5% 100px;
  text-align: center;
  position: relative;
  border-top: none !important;
}

.news-section::before,
.news-section::after {
  content: none !important;
  border: none !important;
}

/* タイトル＋サブタイトル */
.news-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1E3A5F;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.news-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

.news-section .section-subtitle {
  color: #1E3A5F;
  font-size: 1rem;
  margin-top: 25px;
  margin-bottom: 50px;
  opacity: 0.9;
}

/* カードリスト */
.news-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 850px;
  margin: 0 auto;
}

/* 各カード */
.news-card {
  width: 100%;
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
  transition: background-color 0.3s ease;
}

.news-card:hover {
  background-color: #f8f9fa;
}

.news-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #1E3A5F;
}

.news-title {
  text-align: left;
  font-weight: 500;
  font-size: 1.05rem;
}

.news-date {
  font-size: 0.9rem;
  color: #7a8ba8;
  white-space: nowrap;
}



/* ---------- プロフィール（旧：院長あいさつ） ---------- */
.greeting-section {
  background-color: #ffffff;
  padding: 100px 5% 90px;
  display: flex;
  justify-content: center;
  animation: fadeIn 1s ease-in;
}

.intro-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "image title"
    "image content";
  align-items: start;
  column-gap: 60px;
  row-gap: 12px;
  max-width: 1200px;
}

.intro-image {
  grid-area: image;
}

.intro-image img {
  width: 350px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.1);
  margin-top: 0;              /* ★ ここを0に → ヘッドと見出しを揃える */
}

.intro-content {
  grid-area: content;
  color: #1E3A5F;
}

.greeting-section .section-title {
  grid-area: title;
  display: inline-block;
  justify-self: start;
  position: relative;
  font-size: 1.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: #1E3A5F;
  margin: 0 0 8px;
  padding: 0 0 16px;
}

.greeting-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 1.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

.greeting-section .profile-title-br-sp {
  display: none;
}

body.index-page .br-sp {
  display: none;
}

.intro-role {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #1E3A5F;
  margin: 0 0 6px;
}

.intro-role-brand {
  font-family: "Playfair Display", "Noto Sans JP", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.intro-name {
  font-size: 1.45rem;
  font-weight: 600;
  color: #1E3A5F;
  margin: 0 0 8px;
  line-height: 1.5;
}

.intro-kana {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.intro-subtitle {
  color: #1E3A5F;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin: 0 0 28px;
  opacity: 0.85;
}

.intro-body {
  text-align: left;
}

.intro-message {
  color: #1E3A5F;
  line-height: 2;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-align: left;
  margin: 0 0 1.05em;
}

.intro-message:last-child {
  margin-bottom: 0;
}

.intro-quote {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
  color: #1E3A5F;
  margin: 0.15em 0 0.15em;
  padding: 0 0 0 14px;
  border-left: 1.5px solid #c0a062;
}

.intro-quote + .intro-quote {
  margin-bottom: 1em;
}

.intro-quote + .intro-message {
  margin-top: 1.15em;
}

/* ---------- 資格・略歴（アコーディオン） ---------- */
.accordion-btn {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 28px 0 0;
  background: none;
  color: #1E3A5F;
  padding: 0 0 3px;
  border: none;
  border-bottom: 1px solid #c0a062;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
  left: 0;
}

.accordion-btn:hover {
  background: none;
  color: #8fa3c1;
  transform: none;
}

/* ---------- 続き本文（トーン同じ・背景も同じ系統） ---------- */
.accordion-content {
  overflow: hidden;
  transform-origin: top;
  transform: scaleY(0.9);
  opacity: 0;
  max-height: 0;
  background-color: #ffffff;
  border-radius: 15px;
  margin-top: 15px;
  line-height: 1.7;            /* 本文と合わせて少し詰める */
  color: #1E3A5F;
  font-size: 1.05rem;
  transition:
    opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
    max-height 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.accordion-content.open {
  transform: scaleY(1);
  opacity: 1;
  max-height: 1500px;
}

.accordion-content.closing {
  transform: scaleY(0.9);
  opacity: 0;
  max-height: 0;
}

/* ---------- 閉じるボタン（続きを読むと同じテイスト） ---------- */
.close-btn {
  display: block;
  margin: 30px auto 10px;
  background: none;
  color: #1E3A5F;
  padding: 0 0 3px;
  border: none;
  border-bottom: 1px solid #c0a062;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ✅ 閉じるボタンの表示トリガー修正 */
.accordion-content.open .close-btn {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease forwards; /* 開いた瞬間にアニメーション */
}

/* ✅ 閉じるときも自然に消えるように */
.accordion-content.closing .close-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}


.close-btn:hover {
  background: none;
  color: #8fa3c1;
}

/* fadeInUp は元の定義をそのまま使う想定
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
*/


/* ===============================
   🩵 初めての方へ／施術の流れ（initial-section）
=============================== */
.initial-section {
  background-color: #ffffff;
  padding: 90px 8% 96px;
  color: #1E3A5F;
  text-align: center;
}

.initial-inner {
  max-width: 860px;
  margin: 0 auto;
}

.initial-heading {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1E3A5F;
  margin: 0 0 12px;
  padding: 0 0 16px;
}

.initial-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

.initial-lead {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 2.05;
  color: #1E3A5F;
  opacity: 0.86;
}

.initial-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin: 56px auto 0;
  text-align: left;
}

.initial-path {
  padding: 0;
}

.initial-path-label {
  font-family: "Playfair Display", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #c0a062;
  margin: 0 0 10px;
}

.initial-path-title {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #1E3A5F;
  margin: 0 0 14px;
}

.initial-path-text {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.82;
  margin: 0 0 22px;
}

.initial-path-ctas,
.initial-close-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.initial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  padding: 12px 28px;
  background: #ffffff;
  color: #1E3A5F;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 40px;
  border: 1px solid rgba(30, 58, 95, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .initial-btn:hover,
  .initial-btn--line:hover {
    background: #1E3A5F;
    color: #ffffff;
    border-color: #1E3A5F;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: none;
  }
}

.initial-btn--line {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.16);
}

.initial-intake {
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid #eee8dc;
  max-width: 640px;
}

.initial-intake-text {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.78;
  margin: 0 0 16px;
}

.initial-intake-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #1E3A5F;
  border-bottom: 1px solid #c0a062;
  padding-bottom: 3px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.initial-intake-link:hover {
  color: #8fa3c1;
}

.initial-step .initial-intake-link {
  margin-top: 14px;
}

.initial-step-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.initial-step-links .initial-intake-link {
  margin-top: 0;
}

.initial-flow {
  margin: 72px auto 0;
}

.initial-flow-heading {
  display: inline-block;
  position: relative;
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1E3A5F;
  margin: 0 0 12px;
  padding: 0 0 16px;
}

.initial-flow-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 2.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

.initial-steps {
  list-style: none;
  margin: 48px auto 0;
  padding: 0;
  max-width: 640px;
  text-align: left;
}

.initial-step + .initial-step {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #eee8dc;
}

.initial-step-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #c0a062;
  margin-bottom: 8px;
}

.initial-step-title {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #1E3A5F;
  margin: 0 0 10px;
}

.initial-step-text {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.82;
  margin: 0;
}

.initial-note {
  margin: 48px auto 0;
  max-width: 640px;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.62;
}

.initial-close {
  margin: 64px auto 0;
  padding-top: 48px;
  border-top: 1px solid #eee8dc;
}

.initial-close-heading {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #1E3A5F;
  margin: 0 0 16px;
}

.initial-close-text {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 2;
  color: #1E3A5F;
  opacity: 0.82;
  margin: 0 0 28px;
}

.initial-close-ctas {
  justify-content: center;
}

/* CTAボタン：他セクション共通 */
.cta-btn {
  display: inline-block;
  width: 260px; /* ロゴと同じ幅で統一 */
  background: #ffffff;
  color: #1E3A5F;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  border: 1px solid rgba(30, 58, 95, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 14px 0;
  font-size: 1rem;
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

@media (hover: hover) {
  .cta-btn:hover {
    background: #1E3A5F;
    color: #ffffff;
    border-color: #1E3A5F;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: none;
  }
}

/* ボタン内のテキスト（改行対応） */
.cta-btn span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}



/* ===============================
   🩵 施術概要（treatment-overview）
   2025.11 トップページ用
=============================== */
.treatment-overview {
  background-color: #fafafa;
  text-align: center;
  color: #1E3A5F;
  padding: 90px 5% 80px;
}

/* タイトル */
.treatment-overview h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 25px;
}

/* 説明文 */
.treatment-overview p {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 60px;
}

/* カード全体配置 */
.treatment-preview {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

/* 各カード */
.treatment-card {
  background-color: #ffffff;
  flex: 1 1 30%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  padding: 25px 25px 35px;
  transition: all 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* 画像 */
.treatment-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* 見出し */
.treatment-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1E3A5F;
  margin-bottom: 10px;
}

/* 説明テキスト */
.treatment-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #1E3A5F;
  opacity: 0.95;
  text-align: left;
}

.treatment-overview .treatment-note {
  max-width: 1100px;
  margin: 0 auto 36px;
  font-size: 0.98rem;
  line-height: 1.95;
  opacity: 0.88;
}

/* CTA（サービスと同じテキストリンク） */
.treatment-cta {
  text-align: center;
  margin-top: 20px;
}

.treatment-cta .services-link {
  margin-top: 0;
}


/* ===============================
   🩵 KARiN.NOTES セクション（トップ）
   2025.11 トップページ用
=============================== */
.blog-section {
  background-color: #fafafa;
  padding: 90px 5% 100px;
  text-align: center;
  position: relative;
  border-top: none;
}

/* タイトル（金ラインあり・中央寄せ） */
.blog-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1E3A5F;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.blog-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #c0a062;  /* ゴールドライン */
  border-radius: 2px;
}

/* サブタイトル */
.blog-section .section-subtitle {
  color: #1E3A5F;
  font-size: 1rem;
  margin-top: 25px;
  margin-bottom: 50px;
  opacity: 0.9;
}

.blog-lead {
  max-width: 640px;
  margin: 28px auto 48px;
}

.blog-lead-catch {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1E3A5F;
  margin: 0 0 14px;
  line-height: 1.7;
}

.blog-lead-text {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #1E3A5F;
  opacity: 0.9;
  margin: 0;
}

/* 最新3記事（トップ専用） */
body.index-page .blog-section .notes-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

body.index-page .blog-section .notes-home-card {
  min-width: 0;
  background: none;
  border: none;
  box-shadow: none;
}

body.index-page .blog-section .notes-home-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

body.index-page .blog-section .notes-home-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eceae6;
}

body.index-page .blog-section .notes-home-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.55s ease;
}

body.index-page .blog-section .notes-home-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 16px;
}

body.index-page .blog-section .notes-home-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  margin: 0 0 8px;
  line-height: 1.4;
}

body.index-page .blog-section .notes-home-card__tag {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #1E3A5F;
  opacity: 0.55;
}

body.index-page .blog-section .notes-home-card__tag:not(:last-child)::after {
  content: " / ";
  opacity: 0.7;
}

body.index-page .blog-section .notes-home-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #1E3A5F;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

body.index-page .blog-section .notes-home-card__excerpt {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.85;
  color: #1E3A5F;
  opacity: 0.78;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

body.index-page .blog-section .notes-home-card__category {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #1E3A5F;
  opacity: 0.42;
}

@media (hover: hover) {
  body.index-page .blog-section .notes-home-card__link:hover .notes-home-card__thumb img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.index-page .blog-section .notes-home-card__thumb img {
    transition: none;
  }

  body.index-page .blog-section .notes-home-card__link:hover .notes-home-card__thumb img {
    transform: none;
  }
}

@media (min-width: 769px) {
  body.index-page .blog-section .notes-home-card__title {
    min-height: calc(1.6em * 2);
  }

  body.index-page .blog-section .notes-home-card__excerpt {
    min-height: calc(1.85em * 3);
  }
}

@media (max-width: 768px) {
  body.index-page .blog-section .notes-home-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 40px;
  }
}

/* ボタン部分 */
.blog-cta {
  text-align: center;
  margin-top: 45px;
}

.blog-cta .services-link {
  margin-top: 0;
}

.news-cta {
  text-align: center;
  margin-top: 45px;
}

.news-cta .services-link {
  margin-top: 0;
}

/* セクション間の余白を微調整 */
body.index-page .blog-section {
  margin-bottom: 30px;
  padding-bottom: 80px;
}

/* トップページ：白 / #fafafa を交互にしてセクションの区切りを明確に */
body.index-page #about,
body.index-page #services,
body.index-page #treatment-overview,
body.index-page #blog,
body.index-page #access {
  background-color: #fafafa;
}

body.index-page #for-you,
body.index-page #profile,
body.index-page #initial-section,
body.index-page #news,
body.index-page #contact-section {
  background-color: #ffffff;
}


/* ===============================
   🩵 アクセス・営業時間＋直近スケジュール
   2025.11 修正版
=============================== */
.access-section {
  background-color: #fafafa;
  padding: 100px 5% 80px;
  text-align: center;
  color: #1E3A5F;
  position: relative;
  z-index: 1;
}

/* ---------- タイトル ---------- */
.access-section .section-title {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  color: #1E3A5F;
}

.access-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #c0a062;
  border-radius: 2px;
}

/* ---------- 対応エリア（ファイル風・専用） ---------- */
body.index-page .access-section .area-hours-lead {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 0.98rem;
  line-height: 1.95;
  color: #1E3A5F;
  opacity: 0.9;
}

body.index-page .access-section .area-hours {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

body.index-page .access-section .area-hours-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

body.index-page .access-section .area-hours-meta li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #1E3A5F;
  opacity: 0.5;
}

body.index-page .access-section .area-hours-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
  text-align: left;
}

body.index-page .access-section .area-file {
  position: relative;
  padding-top: 22px;
  background: none;
  box-shadow: none;
}

body.index-page .access-section .area-file__tab {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 4px 12px 5px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1E3A5F;
  opacity: 0.45;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.14);
  border-bottom-color: #ffffff;
  border-radius: 2px 2px 0 0;
  z-index: 1;
}

body.index-page .access-section .area-file__body {
  padding: 36px 32px 32px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.14);
  border-radius: 0 2px 2px 2px;
  box-shadow: none;
}

body.index-page .access-section .area-file__city {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1E3A5F;
  margin: 0 0 6px;
}

body.index-page .access-section .area-file__area {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #1E3A5F;
  opacity: 0.62;
  margin: 0 0 26px;
}

body.index-page .access-section .area-file__facts {
  margin: 0;
}

body.index-page .access-section .area-file__fact {
  margin: 0;
}

body.index-page .access-section .area-file__fact + .area-file__fact {
  margin-top: 20px;
}

body.index-page .access-section .area-file__facts dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #1E3A5F;
  opacity: 0.4;
  margin: 0 0 6px;
}

body.index-page .access-section .area-file__facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1E3A5F;
}

body.index-page .access-section .area-file__hours {
  font-family: "Playfair Display", "Noto Sans JP", serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body.index-page .access-section .area-hours-divider {
  width: 70px;
  height: 1.5px;
  margin: 52px auto 8px;
  background: #c0a062;
  border-radius: 2px;
}

body.index-page .access-section .access-schedule-lead {
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: #1E3A5F;
  opacity: 0.8;
}

body.index-page .access-section .access-schedule-note {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #666;
  margin: 16px auto 0;
  max-width: 520px;
}

@media (max-width: 768px) {
  body.index-page .access-section .area-hours {
    max-width: 440px;
  }

  body.index-page .access-section .area-hours-files {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.index-page .access-section .area-file__body {
    padding: 32px 26px 28px;
  }
}

/* ---------- コンテナ（左右並び） ---------- */
.access-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* ✅ カード内容を上詰め */
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: left;
}

/* 左側：情報カード */
.access-info {
  flex: 1 1 45%;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ✅ 上詰め */
}

.access-info h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #1E3A5F;
}

.access-info p {
  font-size: 1rem;
  margin-bottom: 8px;
}

.access-info a {
  color: #1E3A5F;
  text-decoration: underline;
}

.tel-link {
  text-decoration: none;
  font-weight: 600;
  color: #1E3A5F;
}

/* 右側：地図（2拠点分縦並び） */
.access-map {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* ---------- スケジュール部分 ---------- */
.access-schedule {
  margin-top: 50px;
}

.access-schedule h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1E3A5F;
}

/* =========================================
   🟦 スケジュール全体の外枠
========================================= */
.schedule-table {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 35px 25px;
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap; 
  gap: 16px;
  /* scroll-snap-type: x mandatory; ←これ削除 */
  -webkit-overflow-scrolling: touch;
  position: relative;
  scroll-behavior: smooth;
}


/* =========================================
   🟦 スクロールバー（上品で薄いタイプ）
========================================= */
.schedule-table::-webkit-scrollbar {
  height: 6px;
}

.schedule-table::-webkit-scrollbar-track {
  background: #f1f3f6;   /* 縁がわかる・上品な薄グレー */
  border-radius: 10px;
}

.schedule-table::-webkit-scrollbar-thumb {
  background: #cdd4dd;   /* ほんのり色付き */
  border-radius: 10px;
}

/* =========================================
   🟦 枠の中に納めるためのフェード（右端）
========================================= */
.schedule-table::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
  height: 100%;
  pointer-events: none;
  z-index: 3;  /* ← これでカードの上に乗りすぎない */

  /* 🔥 “白い線が出ない”ための滑らかなフェード */
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 40%,
    rgba(255,255,255,0.9) 80%,
    rgba(255,255,255,1) 100%
  );
  content: none;
  display: none;
}

/* =========================================
   🟦 1カード = 日付 + 場所
========================================= */
.schedule-card {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
}

/* カード内各セル */
.schedule-cell {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9fafc;
  border-radius: 14px;
  color: #1E3A5F;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 6px;
}

/* 休み */
.schedule-cell.off-day {
  background: #f3f3f3;
  color: #aaa;
}

/* 未設定 */
.schedule-cell.unset-day {
  background: #e8ecf1;
  color: #94a3b8;
}

/* 今日：配色は他の日と同じ。日付の下にゴールドの下線 */
.schedule-cell.today {
  flex-direction: column;
  gap: 6px;
}

.schedule-cell.today::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background-color: #c0a062;
  border-radius: 2px;
}

.schedule-cell span {
  display: inline-block;
  white-space: normal;   /* ← これが重要！2行に自動改行可能 */
  word-break: break-all; /* ← 長い括弧入り地名でも折り返しOK */
  line-height: 1.4;
}



.map-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    justify-content: flex-start;
  }

  .map-tab {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1.5px solid #1E3A5F;
    background: #ffffff;
    color: #1E3A5F;
    cursor: pointer;
    transition: 0.2s ease;
  }

  .map-tab:hover {
    background: #1E3A5F;
    color: #ffffff;
  }

  .map-tab.active {
    background: #1E3A5F !important;
    color: #ffffff !important;
    border-color: #1E3A5F !important;
  }


/* ===============================
   🩵 ご予約・お問い合わせセクション（4ボタン横並び版）
   2025.11 refined
=============================== */
.contact-section {
  background-color: #ffffff;
  color: #1E3A5F;
  text-align: center;
  padding: 90px 5% 100px;
}

.contact-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #1E3A5F;
  margin-bottom: 10px;
}

.contact-text {
  font-size: 1rem;
  color: #4a5f7a;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ---------- ボタン全体 ---------- */
.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px 24px;
}

.contact-cta-item {
  flex: 1 1 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cta-lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #4a5f7a;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: normal;
}

.contact-cta-note {
  margin: 12px 0 0;
  max-width: 240px;
  font-size: 0.72rem;
  font-weight: 400;
  color: #8a97a8;
  line-height: 1.65;
  letter-spacing: 0.02em;
  white-space: normal;
}

/* ---------- 各ボタン ---------- */
.contact-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  border-radius: 30px;
  padding: 12px 26px;        /* ✅ ← 横幅をやや短く */
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-align: center;
  min-width: 200px;          /* ✅ ← 最小幅を狭く設定 */
  white-space: nowrap;
}

.contact-section .contact-btn {
  background: #ffffff;
  color: #1E3A5F;
  border: 1px solid rgba(30, 58, 95, 0.16);
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

@media (hover: hover) {
  .contact-section .contact-btn:hover {
    background: #1E3A5F;
    color: #ffffff;
    border-color: #1E3A5F;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: none;
  }
}

/* ---------- 各ボタンの色 ---------- */
.contact-btn.line {
  background-color: #06C755;
}
.contact-btn.line:hover {
  background-color: #05b34e;
  transform: translateY(-3px);
}

.contact-btn.first {
  background-color: #1E3A5F;
}
.contact-btn.first:hover {
  background-color: #16304A;
  transform: translateY(-3px);
}

.contact-btn.repeat {
  background-color: #4a5f7a;
}
.contact-btn.repeat:hover {
  background-color: #3b4c67;
  transform: translateY(-3px);
}

.contact-btn.insta {
  background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.contact-btn.insta:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
}

.contact-btn.book {
  background-color: #2d6a9f;
}
.contact-btn.book:hover {
  background-color: #245a88;
  transform: translateY(-3px);
}

.contact-booking-note {
  width: 100%;
  max-width: 420px;
  margin: -6px auto 4px;
  font-size: 0.82rem;
  color: #6b7c8f;
  line-height: 1.6;
  text-align: center;
}


/* ===============================
   フッター
=============================== */
.footer {
  background-color: #1E3A5F;
  color: #ffffff;
  padding: 80px 5% 40px;
  text-align: left;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 48px 40px;
  align-items: start;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo span {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #c0cbe0;
  margin-top: 6px;
  letter-spacing: 0.06em;
}

.footer-role {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #c0a062;
  line-height: 1.7;
}

.footer-lead {
  margin: 0;
  max-width: 28em;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.9;
  color: #c0cbe0;
  letter-spacing: 0.04em;
}

.footer-heading {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #c0a062;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 6px;
}

.footer-nav a {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-nav a:hover {
  color: #c0a062;
}

.footer-facts {
  margin: 0 0 28px;
}

.footer-facts > div {
  margin-bottom: 18px;
}

.footer-facts dt {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c0a062;
}

.footer-facts dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #e8edf4;
}

.footer-facts a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 160, 98, 0.55);
  padding-bottom: 1px;
}

.footer-facts a:hover {
  color: #c0a062;
}

.footer-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 180px;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 40px;
  background: transparent;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
  .footer-book:hover {
    background: #ffffff;
    color: #1E3A5F;
    border-color: #ffffff;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-sns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(192, 203, 224, 0.7);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.footer-sns svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.footer-sns svg.is-fill {
  fill: currentColor;
  stroke: none;
}

.footer-sns a:hover {
  color: #c0a062;
}

.footer-copy {
  font-size: 0.8rem;
  color: #c0cbe0;
  margin: 0;
}

/* ===============================
   スクロール位置補正（全セクション共通）
   =============================== */
html {
  scroll-behavior: smooth;
}

/* 固定ヘッダー分の余白確保（PC・タブレット・スマホ共通） */
section[id],
#news,
#blog,
#access,
#contact-section {
  scroll-margin-top: 72px; /* ← ヘッダー高さに応じて調整 */
}


/* ===============================
   💙 共通：右下ホームに戻るボタン（全ページ統一）
=============================== */
.home-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 40px;
  padding: 10px 16px 10px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #1E3A5F;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  z-index: 1000;
}

.home-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  background: #f8f9fb;
}

@media (max-width: 768px) {
  .home-btn {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

.home-btn img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}



@media (min-width: 1025px) and (max-width: 1280px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .nav-book {
    padding: 7px 16px;
    min-height: 36px;
    font-size: 0.8rem;
  }
}

/* ===============================
   🩵 トップページ 1024px レスポンシブ調整
   （ノートPC・タブレット横向き）
=============================== */
@media (max-width: 1024px) {

  /* ---------- 共通セクション余白調整 ---------- */
  section {
    padding: 70px 5%;
  }

  /* ---------- ヘッダー ---------- */
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 58, 95, 0.28);
    z-index: 1040;
  }

  .nav-overlay.active {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78%, 360px);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    padding: 88px 24px calc(40px + env(safe-area-inset-bottom, 0px));
    box-shadow: -4px 0 16px rgba(0,0,0,0.08);
    z-index: 1050;
    opacity: 0;
    transform: translateX(80px);
    overflow-y: auto;
    transition:
      right 0.4s ease,
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    padding: 12px 8px;
    box-sizing: border-box;
  }

  .nav .nav-book {
    width: 80%;
    max-width: 240px;
    margin-top: 20px;
    min-height: 48px;
  }

  .nav.active {
    right: 0;
    opacity: 1;
    transform: translateX(0);
  }

  body.index-page .nav a:not(.nav-book) {
    color: #1E3A5F;
  }

  body.index-page .nav .nav-book,
  body.index-page.is-header-solid .nav .nav-book {
    background: #ffffff;
    color: #1E3A5F;
    border-color: rgba(30, 58, 95, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  @media (hover: hover) {
    body.index-page .nav a.nav-book:hover,
    body.index-page.is-header-solid .nav a.nav-book:hover {
      background: #1E3A5F;
      color: #ffffff;
      border-color: #1E3A5F;
      box-shadow: 0 4px 12px rgba(30, 58, 95, 0.16);
    }
  }

  /* ---------- Hero ---------- */
  .hero {
    padding: 0;
    margin: 0;
  }

  .hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* ---------- お知らせ ---------- */
  .news-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 6%;
  }

  /* ---------- 初めての方へ ---------- */
  .initial-section {
    padding: 80px 8% 88px;
  }

  .initial-paths {
    gap: 32px 28px;
  }

  /* ボタンはやや小さく */
  .cta-btn {
    padding: 7px 18px; /* ← 少し小さめ */
    font-size: 0.85rem;
    border-radius: 25px;
  }

  /* ---------- 施術内容 ---------- */
  .treatment-overview {
    padding-top: 50px; /* 上余白を少し狭く */
  }

  /* ---------- KARiN.NOTES ---------- */
  .blog-section {
    padding-top: 50px;
    padding-bottom: 25px !important; /* 下余白さらに少し詰める */
  }

  /* ---------- アクセス・営業時間 ---------- */
  .access-section {
    padding-top: 60px; /* トップの余白を詰める */
    padding-bottom: 80px;
  }

  .access-container {
    gap: 40px;
    align-items: center;
  }

  .access-info,
  .access-map {
    width: 100%;
    max-width: 850px;
  }

  /* ---------- 直近スケジュール（上下同期スクロール） ---------- */
  .schedule-table {
    display: flex;
    flex-direction: row;     /* ← これで縦並び禁止 */
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 16px;
  }

  /* 各カードの幅指定（必要なら調整可） */
  .schedule-card {
    flex: 0 0 120px;
  }


  /* ---------- ご予約・お問い合わせ ---------- */
  .contact-section {
    padding: 60px 5% 70px;
  }

  .contact-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
  }

  .contact-cta-item {
    flex: 1 1 0;
    max-width: 240px;
  }

  .contact-btn {
    min-width: 130px;
    padding: 9px 16px;
    font-size: 0.85rem;
  }

  /* ---------- フッター ---------- */
  .footer {
    padding: 64px 5% 36px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-copy {
    font-size: 0.8rem;
  }

  html {
  scroll-behavior: smooth;
  }

/* 固定ヘッダー分の余白確保（PC・タブレット・スマホ共通） */
  section[id],
  #news,
  #blog,
  #access,
  #contact-section {
    scroll-margin-top: 68px; /* ← ヘッダー高さに応じて調整 */
  }

  .slider,
  .slide,
  .slide img {
    height: 100vh !important;
    max-height: 100vh !important;
  }

  .hero {
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh !important;
  }

  /* 1024px：ヒーロー画像の縦横比を正しくして横いっぱい＋高さ調整 */
  .hero,
  .slider,
  .slide {
    height: 70vh !important;   /* ← PCより少し低めに */
    max-height: 750px !important;
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* テキスト位置微調整 */
  .slide .text {
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  /* アクセス：横並び強制（wrap禁止） */
  .access-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 30px !important;

    max-width: 1000px;
    margin: 0 auto !important;
    padding: 0 !important;          /* ← 余白の元凶 */
  }

  /* 左のカード */
  .access-info {
    width: 48% !important;
    max-width: 48% !important;
    padding: 30px !important;
  }

  /* 右の地図ブロック */
  .access-map {
    width: 48% !important;
    max-width: 48% !important;
  }

  .access-map iframe {
    width: 100% !important;
    height: 300px !important;
  }
}

/* ===============================
   🩵 トップページ 768px レスポンシブ調整
   （タブレット縦向き・小型デバイス）
   2025.11 KARiN.
=============================== */
@media (max-width: 768px) {

  /* ▼ 固定ヘッダー分の余白補正 */
  section[id],
  #news,
  #blog,
  #access,
  #contact-section {
    scroll-margin-top: 68px;
  }

  /* ==========================
     Hero（ファーストビュー）
  ========================== */
  .hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .slider,
  .slide,
  .slide img {
    height: 100vh !important;
  }

  .slide .text {
    font-size: 2.2rem;
    max-width: 90%;
  }


  /* ==========================
     About（サービス紹介）
  ========================== */
  .about-section {
    padding: 88px 8% 96px;
  }

  /* AOSのスクロール待ちを無効化し、読み込み時にフェードイン */
  .about-section [data-aos] {
    pointer-events: auto !important;
    transition: none !important;
  }

  .about-heading,
  .about-lead {
    animation: aboutReveal 0.9s ease-out both;
  }

  .about-body {
    animation: aboutRevealSoft 0.9s ease-out both;
  }

  .about-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12em;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    line-height: 1.45;
    padding-bottom: 22px;
    animation-delay: 0.5s;
  }

  .about-heading-mark {
    margin: 0;
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.7;
    line-height: 1.2;
  }

  .about-lead {
    font-size: 1.12rem;
    line-height: 2;
    margin: 32px 0 24px;
    animation-delay: 0.85s;
  }

  .about-body {
    font-size: 0.95rem;
    line-height: 2.2;
    animation-delay: 1.15s;
  }


  /* ==========================
     こんな方へ
  ========================== */
  .for-you-section {
    padding: 80px 8% 88px;
    background-image: url("/static/images/lp-philosophy.jpg");
    background-position: center 30%;
  }

  .for-you-section::before {
    background: rgba(255, 255, 255, 0.9);
  }

  .for-you-title {
    font-size: 1.7rem;
    letter-spacing: 0.06em;
  }

  .for-you-list {
    margin-top: 48px;
  }

  .for-you-item:not(:last-child)::after {
    margin-top: 32px;
  }

  .for-you-item + .for-you-item {
    margin-top: 32px;
  }

  .for-you-item-title {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .for-you-item-text {
    font-size: 0.95rem;
    line-height: 2.05;
  }


  /* ==========================
     KARiN.のサービス
  ========================== */
  .services-section {
    padding: 72px 8% 80px;
  }

  .services-title {
    font-size: 1.7rem;
    letter-spacing: 0.06em;
  }

  .services-list {
    margin-top: 40px;
  }

  .services-item + .services-item {
    margin-top: 28px;
    padding-top: 28px;
  }

  .services-name {
    font-size: 1.32rem;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .services-text {
    font-size: 0.95rem;
    line-height: 2.05;
  }


  /* ==========================
     院長あいさつ（Greeting）
  ========================== */
  .greeting-section {
    padding: 80px 5% 72px;
  }

  .intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .intro-image {
    text-align: center;
  }

  .intro-image img {
    width: 320px;
    margin: 0 auto;
    display: block;
  }

  .intro-content {
    text-align: center;
  }

  .greeting-section .section-title {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
    justify-self: auto;
  }

  body.index-page .br-sp {
    display: block;
  }

  .intro-role {
    font-size: 1.15rem;
  }

  .intro-role,
  .intro-name,
  .intro-subtitle {
    text-align: center;
  }

  .intro-message {
    text-align: left;
    font-size: 1rem;
    line-height: 2.05;
    margin-top: 0;
  }

  .intro-quote {
    text-align: left;
    font-size: clamp(0.78rem, 3.6vw, 0.95rem);
    letter-spacing: 0.01em;
    padding-left: 10px;
    white-space: nowrap;
  }

  .accordion-btn {
    display: inline-block;
    margin: 28px auto 0;
    padding: 0 0 3px;
    font-size: 1rem;
  }


  /* ==========================
     初めての方へ
  ========================== */
  .initial-section {
    padding: 68px 8% 76px;
  }

  .initial-heading {
    font-size: 1.7rem;
  }

  .initial-lead {
    font-size: 0.95rem;
    line-height: 2.05;
  }

  .initial-paths {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
  }

  .initial-path + .initial-path {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid #eee8dc;
  }

  .initial-path-ctas,
  .initial-close-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .initial-path > .initial-btn {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .initial-btn {
    width: 80%;
    min-width: 210px;
    max-width: 260px;
    min-height: 0;
    padding: 11px 22px;
    font-size: 0.88rem;
  }

  .initial-intake {
    margin-top: 44px;
    padding-top: 36px;
  }

  .initial-flow {
    margin-top: 56px;
  }

  .initial-flow-heading {
    font-size: 1.32rem;
  }

  .initial-steps {
    margin-top: 36px;
  }

  .initial-step + .initial-step {
    margin-top: 24px;
    padding-top: 24px;
  }

  .initial-step-title {
    font-size: 1.08rem;
  }

  .initial-step-text {
    font-size: 0.94rem;
    line-height: 2.05;
  }

  .initial-step-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .initial-close {
    margin-top: 52px;
    padding-top: 40px;
  }

  .initial-close-heading {
    font-size: 1.15rem;
  }

  .cta-btn {
    width: auto;
    padding: 12px 22px;
  }


  /* ==========================
     施術内容（Treatment）
  ========================== */
  .treatment-overview {
    padding: 70px 5%;
  }

  .treatment-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .treatment-card {
  flex: 0 0 45%; /* 各カードを2列配置で統一 */
  max-width: 45%;
  }

  .treatment-card:nth-child(3) {
    max-width: 45%;
    margin: 0 auto;
  }

  .treatment-card img {
    height: 200px;
  }

  .treatment-cta {
    margin-top: 40px;
  }


  /* ==========================
     アクセス・営業時間
  ========================== */
  .access-section {
    padding: 70px 5%;
  }

  .access-container {
    flex-direction: column;
    gap: 40px;
  }

  .access-info,
  .access-map {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  /* スケジュールテーブル（横スクロール1本） */
  .schedule-table {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #1E3A5F #f0f0f0; /* サイト配色ネイビー＋薄グレー */
  }

  .schedule-row-header,
  .schedule-row-body {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 8px;
  }

  .schedule-row-body::-webkit-scrollbar {
  height: 6px;
  }

.schedule-row-body::-webkit-scrollbar-thumb {
  background-color: #1E3A5F;
  border-radius: 4px;
  }

.schedule-row-body::-webkit-scrollbar-track {
  background: #f0f0f0;
  }

  .schedule-cell {
    flex: 0 0 120px;
    min-width: 120px;
    font-size: 0.9rem;
    height: 58px;
  }

  /* スクロールバー装飾（Webkit） */
  .schedule-table::-webkit-scrollbar {
    height: 6px;
  }
  .schedule-table::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
  .schedule-table::-webkit-scrollbar-thumb {
    background-color: #1E3A5F;
    border-radius: 4px;
  }

  /* ---------------------------------------
     ① 院長あいさつ（所有資格以降を左寄せ）
  --------------------------------------- */
  .initial-text {
    text-align: left !important;
  }

  .initial-text h3,
  .initial-text p,
  .initial-text ul,
  .initial-text li {
    text-align: left !important;
  }

  /* ---------------------------------------
     ② 施術内容のカードの下余白を狭める
  --------------------------------------- */
  .treatment-card {
    margin-bottom: 28px !important; /* ← 少し詰める */
  }

  .treatment-overview {
    padding-bottom: 50px !important;
  }

  /* ---------------------------------------
     ③ アクセス・営業時間（カードと地図は縦並び）
  --------------------------------------- */
  .access-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }

  .access-info,
  .access-map {
    width: 100% !important;
    max-width: 700px !important;
  }

  .access-map iframe {
    width: 100% !important;
    height: 300px !important;
  }
}


/* ===============================
   🩵 トップページ 480px完全版（統合済み）
   2025.11 KARiN. Final
=============================== */
@media (max-width: 480px) {
  /* 改行なし */
  .sheet480 {
    display: none;
  }
  /* ---------- 共通余白 ---------- */
  section {
    padding: 55px 5% !important;
  }

  /* ==========================
     スクロール補正
  ========================== */
  section[id],
  #news,
  #blog,
  #access,
  #contact-section {
    scroll-margin-top: 60px;
  }

  /* ==========================
     ファーストビュー（Hero）
  ========================== */
  .hero {
    height: 80vh !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero,
  .slider,
  .slide,
  .slide img {
    height: 68vh !important;
  }

  .slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide .text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem !important;
    line-height: 1.4;
    max-width: 90%;
    color: #fff;
  }

  .slide .text.left {
    left: 5%;
    text-align: left;
  }

  .slide .text.right {
    right: 5%;
    text-align: right;
  }

    /* ロゴスライドの筆記体文字 */
  .slide.last .brand p {
    font-size: 1.8rem !important;  /* ← 2.4rem は大きすぎるので修正 */
    white-space: nowrap !important; /* ← 強制1行 */
    letter-spacing: 0.03em;
  }

  /* KARiN. のロゴ（大文字）も調整してバランス取る */
  .slide.last .brand h1 {
    font-size: 3.6rem !important;
  }

  /* ==========================
     About（サービス紹介）
     ※ section 一括 padding を上書きし、スマホ用の余白を確保
  ========================== */
  .about-section {
    padding: 88px 8% 100px !important;
  }

  .about-heading {
    font-size: 1.68rem;
    letter-spacing: 0.03em;
    padding-bottom: 20px;
  }

  .about-lead {
    font-size: 1.08rem;
    line-height: 2;
    margin: 28px 0 24px;
  }

  .about-body {
    font-size: 0.95rem;
    line-height: 2.2;
  }

  /* ==========================
     こんな方へ
     ※ section 一括 padding を上書きし、スマホ用の余白を確保
  ========================== */
  .for-you-section {
    padding: 80px 8% 92px !important;
  }

  .for-you-title {
    font-size: 1.55rem;
  }

  .for-you-list {
    margin-top: 44px;
  }

  .for-you-item:not(:last-child)::after {
    margin-top: 28px;
  }

  .for-you-item + .for-you-item {
    margin-top: 28px;
  }

  .for-you-num {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }

  .for-you-item-title {
    font-size: 1.02rem;
    margin-bottom: 10px;
  }

  .for-you-item-text {
    font-size: 0.92rem;
    line-height: 2.1;
  }

  /* ==========================
     KARiN.のサービス
     ※ section 一括 padding を上書きし、スマホ用の余白を確保
  ========================== */
  .services-section {
    padding: 72px 8% 80px !important;
  }

  .services-title {
    font-size: 1.55rem;
  }

  .services-list {
    margin-top: 36px;
  }

  .services-item + .services-item {
    margin-top: 26px;
    padding-top: 26px;
  }

  .services-audience {
    font-size: 0.84rem;
    margin-bottom: 12px;
  }

  .services-name {
    font-size: 1.22rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .services-text {
    font-size: 0.92rem;
    line-height: 2.1;
  }

  .services-link {
    margin-top: 20px;
    font-size: 0.86rem;
  }

  /* ==========================
     院長あいさつ
  ========================== */
  .greeting-section {
    padding: 72px 5% 64px !important;
  }

  .section-title {
    text-align: center;
  }

  .intro-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .intro-image img {
    width: 90%;
    max-width: 320px;
  }

  .intro-content {
    text-align: center;
  }

  .greeting-section .section-title {
    font-size: 1.32rem;
    line-height: 1.7;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0;
  }

  .greeting-section .profile-title-br-sp {
    display: block;
  }

  .intro-role {
    font-size: 1.18rem;
  }

  .intro-role,
  .intro-name,
  .intro-subtitle {
    text-align: center;
  }

  .intro-message {
    font-size: 1rem;
    line-height: 2.05;
    margin: 0 8px 1.05em;
  }

  .intro-quote {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(0.75rem, 3.55vw, 0.92rem);
    letter-spacing: 0;
    padding-left: 8px;
    white-space: nowrap;
  }

  .accordion-btn {
    display: inline-block;
    margin: 24px auto 0;
    padding: 0 0 3px;
    font-size: 1rem;
  }


  /* ==========================
     初めての方へ
  ========================== */
  .initial-section {
    padding: 64px 8% 72px;
  }

  .cta-btn {
    width: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .initial-btn {
    min-width: 0;
    width: 80%;
    max-width: 260px;
    padding: 11px 0;
    font-size: 0.9rem;
  }


  /* ==========================
     施術内容
  ========================== */
  .treatment-overview {
    padding: 65px 5% 60px;
  }

  .treatment-overview > p {
    text-align: left;
  }

  .treatment-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .treatment-card {
    flex: 1 1 calc(100% - 50px);
    max-width: calc(100% - 50px);
    margin: 0 45px !important;
    text-align: left;
  }

  .treatment-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
  }

  .treatment-card h3 {
    font-size: 1.15rem;
    text-align: left;
  }

  .treatment-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: left;
  }

  .treatment-card:nth-child(3) {
    max-width: 100%;
  }

  /* ==========================
     KARiN.NOTES（トップ）
  ========================== */
  .blog-section {
    padding: 70px 7% 80px;
  }


  /* ==========================
     アクセス・営業時間（修正版）
  ========================== */
  .access-section {
    padding: 60px 5%;
  }

  .access-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 10px; /* ← これだけ追加！ */
  }

  .access-map {
    max-width: 92%;
    padding: 25px 22px;
    margin: 0 auto;
    line-height: 1.8;
  }

  .access-info {
    padding: 25px 25px !important;   /* ← 左右の余白を均等に増やす */
    margin: 0 auto !important;
    width: 100%;
    max-width: 95% !important;       /* ← カード自体を少し細くする */
    border-radius: 16px;
  }

  .access-map iframe {
    height: 220px;
  }

  /* --- 活動拠点：東京／福岡 の“／福岡”の前で改行 --- */
  .access-info p:nth-of-type(1)::after {
    content: "";
    display: block;
    height: 0.6em;
  }

  /* --- 営業時間：（その他〜）の前で改行 --- */
  .access-info p:nth-of-type(5)::before {
    content: "\A";
    white-space: pre;
  }

  .schedule-table {
    padding: 25px 15px;
  }

  .schedule-cell {
    flex: 0 0 100px;
    min-width: 100px;
    height: 54px;
    font-size: 0.85rem;
  }


  /* ==========================
     ご予約・お問い合わせ
  ========================== */
  .contact-section {
    padding: 65px 5% 75px;
  }

  .contact-heading {
    text-align: center;
    line-height: 1.4;
    text-size-adjust: 95%;
  }

  .contact-text {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 30px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .contact-cta-item {
    flex: none;
    width: 100%;
    max-width: 280px;
  }

  .contact-btn {
    width: 80%;
    max-width: 260px;
    font-size: 0.9rem;
    padding: 11px 0;
  }


  /* ==========================
     フッター
  ========================== */
  .footer {
    padding: 56px 6% 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-facts a,
  .footer-book {
    min-height: 44px;
  }

  .footer-nav a {
    min-height: 0;
    line-height: 1.5;
  }

  .footer-nav a,
  .footer-facts a {
    display: inline-flex;
    align-items: center;
  }

  .footer-book {
    display: flex;
    width: 100%;
    max-width: 280px;
    margin: 8px auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 32px;
    padding-top: 8px;
    border-top: none;
  }

  .footer-sns {
    justify-content: center;
    margin-bottom: 22px;
  }

  .footer-copy {
    margin-top: 4px;
  }
}


/* =========================================================
   📱 414px（iPhone 11 / XR / Pro Max）
   index.html 完全安定版（競合すべて統合）
========================================================= */
@media (max-width: 414px) {

  /* ==========================
      全体余白
  ========================== */
  section {
    padding: 60px 5% !important;
  }

  /* ==========================
      Hero（ファーストビュー）
  ========================== */

  .slide .text {
    font-size: 1.8rem;
    max-width: 90%;
    line-height: 1.45;
  }

  .slide.last .brand p {
    font-size: 2rem;
    white-space: nowrap;
  }

  .slide.last .brand h1 {
    font-size: 4.2rem;
  }


  /* ==========================
      About（サービス紹介）
  ========================== */
  .about-section {
    padding: 88px 8% 100px !important;
  }


  /* ==========================
      こんな方へ
  ========================== */
  .for-you-section {
    padding: 80px 8% 92px !important;
  }


  /* ==========================
      KARiN.のサービス
  ========================== */
  .services-section {
    padding: 72px 8% 80px !important;
  }


  /* ==========================
      院長あいさつ
  ========================== */
  .greeting-section {
    padding: 68px 5% 60px !important;
  }

  .intro-image img {
    width: 88%;
    max-width: 330px;
  }

  .intro-message {
    font-size: 1rem;
    line-height: 1.75;
    padding: 0 10px;
  }

  .accordion-content,
  .accordion-content p {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }


  /* ==========================
      初めての方へ
  ========================== */
  .initial-heading {
    font-size: 1.55rem;
  }

  .initial-close-heading {
    font-size: 1.08rem;
  }

  .cta-btn {
    padding: 11px 22px;
    font-size: 0.95rem;
  }

  .initial-btn {
    width: 82%;
    max-width: 260px;
    padding: 12px 0;
  }


  /* ==========================
      施術内容
  ========================== */
  .treatment-overview {
    padding: 65px 5%;
  }

  .treatment-card {
    margin: 0 35px !important;
    padding-bottom: 20px;
  }

  .treatment-card img {
    height: 200px;
  }

  .treatment-card p {
    margin-bottom: 0;
  }


  /* ==========================
      KARiN.NOTES（トップ）
  ========================== */
  .blog-section {
    padding: 65px 6% 80px;
  }


  /* ==========================
      アクセス・営業時間（←今回の本丸）
  ========================== */

  /* 親セクションの余白 */
  .access-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* コンテナ：中央寄せの箱に固定（勝ち確） */
  .access-container {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px !important;
    display: block;          /* flex 無効化 */
    gap: 36px !important;
  }

  /* カード側 */
  .access-info {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px !important;
    padding: 26px 22px !important;
    line-height: 1.75;
  }

  /* 地図側 */
  .access-map {
    width: 100%;
    max-width: 360px;
    margin: 0 auto !important;
  }

  .access-map iframe {
    width: 100% !important;
    height: 240px !important;
    border-radius: 14px !important;
    display: block;
  }

  /* ==========================
      ご予約・お問い合わせ
  ========================== */
  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .contact-btn {
    width: 82%;
    max-width: 260px;
    padding: 12px 0;
  }

  .contact-heading {
    display: block !important;
    white-space: pre-line !important;
    line-height: 1.4 !important;
    font-size: 1.5rem !important;
  }

  .contact-text {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    margin-top: 4px !important;
    margin-bottom: 28px !important;
  }


  /* ==========================
      フッター
  ========================== */
  .footer {
    padding: 52px 6% 32px;
  }

  /* セクション本体 */
  .access-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ☆ 全てのズレの原因をリセットして中央寄せに */
  .access-container {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 10px !important;
    display: block !important;
  }

  /* ⭐ ここが本丸（margin -26px を上書き） */
  .access-info {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 20px !important;   /* ← 最強で上書き */
    padding: 26px 22px !important;
  }

  /* 地図 */
  .access-map {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }

  .access-map iframe {
    width: 100% !important;
    height: 240px !important;
    border-radius: 14px !important;
  }

  .location-switch {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
  }

  .loc-btn {
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .loc-btn.active {
    background: #1E3A5F;
    color: #fff;
  }

  .access-info,
  .access-map {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* access セクションの左右余白に依存しない絶対中央寄せ */
  #access .access-container {
    width: 100% !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    display: block !important;
  }

  /* 真犯人の margin を強制的にゼロにして消し飛ばす */
  #access .access-info {
    margin: 0 auto 20px auto !important;
    width: 100% !important;
    max-width: 380px !important;
    padding: 26px 22px !important;
    box-sizing: border-box !important;
  }

  /* 地図も中央揃え */
  #access .access-map {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 380px !important;
  }

  #access .access-map iframe {
    width: 100% !important;
    height: 240px !important;
    border-radius: 14px !important;
    display: block !important;
  }

  /* 地図のタブ（東京／福岡） */
  #access .map-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }

  #access .map-tab {
    padding: 6px 14px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    border: 1px solid #1E3A5F !important;
    background: #fff !important;
    color: #1E3A5F !important;
  }

  #access .map-tab.active {
    background: #1E3A5F !important;
    color: #fff !important;
  }

  /* 地図ブロックをカードと同じ幅で中央に */
  #access .access-map {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #access .access-map iframe {
    width: 100% !important;
    height: 230px !important;
    border-radius: 14px !important;
    display: block !important;
  }

  /* 直近スケジュールにも左右の余白をつける */
  #access .access-schedule {
    margin-top: 40px !important;
  }

  #access .schedule-table {
    max-width: 380px !important;
    margin: 0 auto !important;
    padding: 24px 12px !important;  /* ← 左右に少し余白 */
    box-sizing: border-box !important;
  }

  #access .schedule-row-header,
  #access .schedule-row-body {
    padding-bottom: 6px !important;
  }

  /* ① 括弧内（※出張対応）などを小さく */
  .access-info small,
  .access-info .sub-text {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    opacity: 0.9;
  }

  /* 括弧部分だけ small タグで管理（後述のHTML調整と連動） */
  .access-info p small {
    font-size: 0.85rem !important;
  }

  /* ② 電話番号とメールの余白をなくす */
  .access-info p {
    margin-bottom: 6px !important;   /* 全体を詰める */
  }

  .access-info p.tel-row {
    margin-bottom: 0 !important;     /* 電話番号行ピタッ */
  }

  .access-info p.mail-row {
    margin-top: 2px !important;      /* メールを電話に寄せる */
    margin-bottom: 12px !important;  /* 次の段との余白だけ確保 */
  }

}


/* =========================================================
   📱 390px（iPhone 12/13/14 など）
   index.html 最適化専用
========================================================= */
@media (max-width: 390px) {

  /* セクション全体のパディング */
  section {
    padding: 55px 5% !important;
  }

  /* ==========================
       Hero（ファーストビュー）
  ========================== */
  .hero,
  .slider,
  .slide,
  .slide img {
    height: 78vh !important;
  }

  .slide .text {
    font-size: 1.6rem;
    line-height: 1.45;
    max-width: 92%;
  }

  .slide.last .brand h1 {
    font-size: 3.8rem;
  }

  .slide.last .brand p {
    font-size: 1.8rem;
    white-space: nowrap;
  }

  /* ==========================
       About（サービス紹介）
  ========================== */
  .about-section {
    padding: 84px 8% 96px !important;
  }

  .about-heading {
    font-size: 1.55rem;
  }

  /* ==========================
       こんな方へ
  ========================== */
  .for-you-section {
    padding: 76px 8% 88px !important;
  }

  .for-you-title {
    font-size: 1.45rem;
  }

  /* ==========================
       KARiN.のサービス
  ========================== */
  .services-section {
    padding: 68px 8% 76px !important;
  }

  .services-title {
    font-size: 1.45rem;
  }

  .services-name {
    font-size: 1.18rem;
  }

  /* ==========================
       院長あいさつ
  ========================== */
  .intro-image img {
    width: 85%;
    max-width: 300px;
  }

  .intro-message {
    font-size: 0.95rem;
    padding: 0 6px;
    line-height: 1.7;
  }

  .accordion-content p {
    font-size: 0.9rem !important;
    padding: 0 6px !important;
  }

  /* ==========================
       初めての方へ
  ========================== */
  .initial-section {
    padding: 60px 6% 68px;
  }

  .initial-heading {
    font-size: 1.45rem;
  }

  .cta-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  /* ==========================
       施術内容
  ========================== */
  .treatment-card {
    margin: 0 24px !important;
    padding-bottom: 18px !important;
  }

  .treatment-card img {
    height: 180px;
  }

  .treatment-card p {
    margin-bottom: 0 !important;
  }

  /* ==========================
        KARiN.NOTES（トップ）
  ========================== */
  .blog-section {
    padding: 55px 5% 70px;
  }

  /* ==========================
        アクセス・営業時間（最重要）
  ========================== */

  /* 親 */
  .access-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .access-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 0 10px;
    display: block;
  }

  /* カード */
  .access-info {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 18px;
    padding: 20px 16px !important;
  }

  /* 括弧内とサブ情報 */
  .access-info p small {
    font-size: 0.8rem !important;
    opacity: 0.9;
  }

  .access-info p {
    margin-bottom: 6px !important;
    line-height: 1.65;
  }

  .access-info p.tel-row {
    margin-bottom: 0 !important;
  }

  .access-info p.mail-row {
    margin-top: 2px !important;
    margin-bottom: 10px !important;
  }

  /* 地図タブ */
  .map-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .map-tab {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .map-tab.active {
    padding: 6px 16px;
  }

  /* 地図 */
  .access-map {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .access-map iframe {
    width: 100% !important;
    height: 210px !important;
    border-radius: 12px !important;
  }

  /* ==========================
       直近スケジュール
  ========================== */
  .access-schedule {
    padding: 0 10px;
    max-width: 350px;
    margin: 0 auto;
  }

  .schedule-table {
    padding: 0 4px;
  }

  .schedule-row-header .schedule-cell,
  .schedule-row-body .schedule-cell {
    font-size: 0.82rem;
  }

  /* ==========================
       お問い合わせ
  ========================== */
  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .contact-btn {
    width: 80%;
    max-width: 240px;
    padding: 10px 0;
  }

  .initial-btn {
    width: 80%;
    max-width: 240px;
    padding: 10px 0;
  }

  /* スライダー全体を中央に */
  .hero,
  .slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  /* 各スライドを中央揃えにする */
  .slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* 画像を強制的に中央揃え */
  .slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important; /* ← 左寄り禁止 */
  }

  /* 全体を 80vh に統制 */
  .hero,
  .slider,
  .slide,
  .slide img {
    height: 80vh !important;       /* ← これで上下余白が消える */
    max-height: 80vh !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* スライドの配置 */
  .slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* テキスト（左右はそのまま、中央揃えにしない） */
  .slide .text {
    font-size: 1.6rem !important;
    max-width: 90% !important;
    transform: none !important;   /* ← これでズレ防止 */
    top: auto !important;
  }

  /* 画像を縦長にしない → 高さを短く固定 */
  .hero,
  .slider,
  .slide,
  .slide img {
    height: 68vh !important; /* ← ← ここで短くする（70〜75vhでもOK） */
    min-height: 420px !important; /* ← 安定化のため */
    max-height: 540px !important;
    object-fit: cover !important;
  }

  /* スライド内テキスト位置調整（上すぎるのを直す） */
  .slide .text {
    top: 52% !important;
    transform: translateY(-50%) !important;
  }

  /* 上の余白（header分）を完全に削る */
  .hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* ============================================
   📱 390px（iPhone 12 mini / SE / Pixel）
   アクセス・営業時間専用修正（最優先）
============================================ */
@media (max-width: 390px) {

  /* 親セクションは絶対触らない */
  .access-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* access-container を中央の箱に固定 */
  .access-container {
    width: 100%;
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 16px !important; /* ← 左右の余白ここで作る */
    display: block !important;
  }

  /* カード（access-info） */
  .access-info {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 22px !important;
    padding: 22px 18px !important;
    box-sizing: border-box;
  }

  /* 地図（access-map） */
  .access-map {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .access-map iframe {
    width: 100% !important;
    height: 220px !important;
    border-radius: 14px !important;
    display: block;
  }

  /* アクセスセクションの下余白を最小に */
  .access-section {
    padding-bottom: 20px !important;
  }

  /* 地図とスケジュールの感覚を詰める */
  .access-map {
    margin-bottom: 10px !important;
  }

  /* スケジュールの横揃え＋左右余白 */
  .access-schedule {
    padding: 0 16px !important;
    margin-top: 10px !important;
  }
}

/* 375pxOK */

/* =========================================================
   🔧 415px〜768px：アクセスカードを地図・スケジュールと同幅に
========================================================= */
@media (min-width: 415px) and (max-width: 768px) {
  #access.access-section {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }

  #access .access-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 60px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 30px !important;
    box-sizing: border-box !important;
  }

  #access .access-info,
  #access .access-map {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 26px !important;
    padding-right: 26px !important;
    box-sizing: border-box !important;
  }

  /* 地図ブロックはカードと同じ外枠幅（内側パディングは付けない） */
  #access .access-map {
    padding: 0 !important;
  }

  #access .access-map iframe {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  #access .map-tabs {
    justify-content: center !important;
  }

  #access .access-schedule {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #access .schedule-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   🔧 481px〜777px：「2回目以降の方はこちら」などボタン文字の中央揃え
========================================================= */
@media (min-width: 481px) and (max-width: 777px) {
  #contact-section .contact-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 28px !important;
  }

  #contact-section .contact-cta-item {
    width: 100%;
    max-width: 280px;
    flex: none;
  }

  #contact-section .contact-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    width: 80% !important;
    min-width: 210px !important;
    max-width: 260px !important;
    flex: 0 1 auto !important;
    padding: 11px 22px !important;
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }
}

.footer-secret-link {
  color: inherit;
  text-decoration: none;
  cursor: default; /* 一般ユーザーに「リンクっぽさ」を出さない */
}

.footer-secret-link:hover {
  opacity: 1; /* 見た目は何も変えない */
}