@charset "UTF-8";

/* ==================================================
   1. Variables & Theme
   ================================================== */
:root {
  --color-main: #553410; /* ブラウン */
  --color-accent: #9b7539; /* ゴールド */
  --color-text: #553410;
  --color-bg-beige: #f6f1e7;
  --color-white: #ffffff;

  --font-base: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  --width-container: 1280px;
  --header-height: 90px;
}

/* ==================================================
   2. Reset & Base
   ================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  margin: 0;
  padding-top: var(--header-height);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
  height: 100vh;
}

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

a:hover {
  opacity: 0.7;
}
.br-inline {
  display: inline-block;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

figure {
  margin: 0;
}

dd {
  margin: 0;
}
span.inline {
  display: inline-block;
}
/* Scroll Offset */
[id] {
  scroll-margin-top: 120px;
}

/* ==================================================
   3. Layout Utility
   ================================================== */
.u-pc-only {
  display: block;
}
.u-sp-only {
  display: none;
}

.u-text-right {
  text-align: center;
}

/* Container */
.l-container {
  max-width: var(--width-container);
  width: 95%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Sections */
.l-section {
  padding: clamp(60px, 8vw, 120px) 0;
}
.l-section--beige {
  background-color: var(--color-bg-beige);
}
.l-section--bg-img {
  background: url("https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2000&auto=format&fit=crop")
    no-repeat center/cover;
  position: relative;
  background-attachment: fixed;
}
.l-section--bg-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(246, 241, 231, 0.95);
}
.l-section--bg-img > .l-container {
  position: relative;
  z-index: 1;
}

/* ==================================================
   4. Common Components (Heading, Button, etc.)
   ================================================== */
/* Heading */
.c-heading {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.c-heading--left {
  text-align: left;
}
.c-heading--compact {
  margin-bottom: 20px;
}

.c-heading .en {
  display: block;
  font-family: var(--font-serif);
  color: var(--color-accent);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
}
.c-heading .ja {
  font-size: clamp(1.35rem, 4vw, 2.6rem);
  color: var(--color-main);
  margin-top: 10px;
  font-weight: 700;
  line-height: 1.4;
}
.c-heading__desc {
  margin-top: 25px;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--color-text);
  line-height: 2;
}

/* Buttons */
.c-btn-wrapper {
  text-align: center;
  margin-top: 60px;
}
.c-btn-wrapper--left {
  text-align: left;
  margin-top: 30px;
}

.c-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}
.c-btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.c-btn--primary:hover {
  background: #85612c;
  box-shadow: 0 5px 15px rgba(133, 97, 44, 0.4);
}
.c-btn--secondary {
  border: 2px solid var(--color-main);
  color: var(--color-main);
  background: #fff;
}
.c-btn--secondary:hover {
  background: var(--color-main);
  color: #fff;
}
.c-btn--shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.c-btn--header {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.8rem;
  white-space: nowrap;
}
.c-btn--large {
  padding: 22px 60px;
  font-size: 1.1rem;
}
.c-btn--wide {
  width: 100%;
  max-width: 320px;
}
.c-btn--drawer {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
}
.c-btn--drawer-tel {
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-main);
  color: var(--color-main);
}

/* Text Link Style Button */
.c-text-link {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--color-main);
  border-radius: 50px;
  background-color: #fff;
  color: var(--color-main);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin: 40px auto 0;
}
.c-text-link:hover {
  background-color: var(--color-main);
  color: #fff;
  opacity: 1;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.c-link-arrow {
  color: var(--color-accent);
  font-weight: 700;
  border-bottom: 2px solid;
}

/* ==================================================
   5. Header & Drawer
   ================================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.l-header__inner {
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
/* --- ベースのリセット --- */
.l-header__logo {
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* --- リンク（全体を横並び・クリックしやすく） --- */
.l-header__logo a {
  display: flex;
  align-items: center; /* 上下中央揃え */
  text-decoration: none; /* 下線を消す */
  color: #333; /* サイトの文字色に合わせて変更 */
  gap: 15px; /* 画像とテキストの間隔 */
}

/* --- ロゴ画像 --- */
.l-header__logo img {
  height: 45px; /* 指定の高さ */
  width: auto;
  display: block;
  flex-shrink: 0; /* 縮小を防ぐ */
}

/* --- テキスト（SEOの主役） --- */
.l-header__logo span {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
}

/* Hamburger & Drawer (Base) */
.l-header__hamburger {
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 1002;
}
.l-header__hamburger span {
  position: absolute;
  left: 10px;
  width: 30px;
  height: 2px;
  background: var(--color-main);
  transition: 0.4s;
}
.l-header__hamburger span:nth-child(1) {
  top: 15px;
}
.l-header__hamburger span:nth-child(2) {
  top: 24px;
}
.l-header__hamburger span:nth-child(3) {
  top: 33px;
}

.l-header__hamburger.is-active span:nth-child(1) {
  top: 24px;
  transform: rotate(45deg);
  background: var(--color-main);
}
.l-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.l-header__hamburger.is-active span:nth-child(3) {
  top: 24px;
  transform: rotate(-45deg);
  background: var(--color-main);
}

.l-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--color-bg-beige);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  overflow-y: auto;
}
.l-drawer.is-active {
  opacity: 1;
  pointer-events: auto;
}
.l-drawer__inner {
  padding: 40px 30px 60px;
  max-width: 500px;
  margin: 0 auto;
}
.logo-box {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 40px;
}
.logo-box img {
  height: 35px;
}

.l-drawer__list {
  margin-bottom: 40px;
}
.l-drawer__list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}
.l-drawer__list a {
  display: block;
  padding: 18px 0;
  color: var(--color-main);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.l-drawer__list .menu-item-has-children > a {
  padding-right: 30px;
  cursor: pointer;
}
.l-drawer__list .menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: 0.3s;
  pointer-events: none;
}
.l-drawer__list .menu-item-has-children.is-open > a::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Drawer Sub Menu */
.sub-menu {
  display: none;
  background: #fff;
  margin: 0 -30px;
  padding: 10px 30px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
  list-style: none;
}
.sub-menu li {
  border-bottom: none;
}
.sub-menu a {
  padding: 12px 0;
  color: #666;
  font-size: 0.9rem;
  border-bottom: 1px dashed #eee;
  font-weight: normal;
}
.sub-menu li:last-child a {
  border-bottom: none;
}

.l-drawer__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ==================================================
   6. Footer
   ================================================== */
.l-footer {
  background: var(--color-main);
  color: #fff;
  padding: 80px 0 40px;
}
.l-footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 50px;
}
.l-footer__logo-box {
  background: #fff;
  padding: 15px 20px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}
.l-footer__logo-box img {
  height: 35px;
}

.l-footer__sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Footer List Reset */
.l-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.l-footer__col > ul > li > a {
  display: block;
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(155, 117, 57, 0.5);
  text-decoration: none;
  position: relative;
  transition: all 0.3s;
}
.l-footer__col > ul > li:first-child > a {
  margin-top: 0;
}
.l-footer__col > ul > li > a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: right 0.3s;
}
.l-footer__col > ul > li > a:hover {
  opacity: 1;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 10px;
}
.l-footer__col > ul > li > a:hover::after {
  right: -5px;
}

/* Footer Sub Menu */
.l-footer__col .sub-menu {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  transform: none !important;
  margin-bottom: 20px;
}
.l-footer__col .sub-menu li {
  margin-bottom: 8px;
  border: none;
  padding: 0;
}
.l-footer__col .sub-menu a {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #fff;
  font-weight: normal;
  border-bottom: none;
  padding-bottom: 0;
  margin: 0;
  display: inline-block;
}
.l-footer__col .sub-menu a:hover {
  opacity: 1;
  color: var(--color-accent);
  padding-left: 5px;
}

.l-footer__copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Float CTA (SP Only) */
.l-float-cta {
  display: none;
}
.l-float-cta__btn {
  flex: 1;
  text-align: center;
  padding: 15px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.l-float-cta__btn--tel {
  background: #444;
}
.l-float-cta__btn--web {
  background: var(--color-accent);
}

/* ==================================================
   7. Top Page Specifics
   ================================================== */
/* MV */
.p-mv {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.p-mv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.p-mv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-mv__card {
  width: 100%;
  max-width: 680px;
  background: #fff;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-left: 8px solid var(--color-accent);
}
.p-mv__sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  display: inline-block;
  border-bottom: 2px solid var(--color-accent);
}
.p-mv__catch {
  font-size: clamp(1.5rem, 5vw, 3.2rem);
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}
.p-mv__catch .accent {
  color: var(--color-accent);
}
.p-mv__desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 500;
}

/* News */
.p-news {
  position: relative;
  z-index: 5;
  margin-top: -30px;
  margin-bottom: 50px;
}
.p-news__inner {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 40px;
}
.p-news__title {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--color-accent);
  font-weight: 600;
}
.p-news__list {
  flex: 1;
}
.p-news__list li {
  border-bottom: 1px dashed #eee;
  padding: 10px 0;
}
.p-news__list li:last-child {
  border-bottom: none;
}
.p-news__list a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}
.p-news__list time {
  font-family: var(--font-serif);
  color: #888;
  font-size: 0.9rem;
}
.p-news__cat {
  background: var(--color-bg-beige);
  color: var(--color-main);
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.p-news__text {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

/* Features */
.p-features__grid {
  display: flex;
  gap: 40px;
}
.p-features__item {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
.p-features__item:hover {
  transform: translateY(-10px);
}
.p-features__img {
  width: 100%;
  height: 220px;
}
.p-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-features__body {
  padding: 30px;
}
.p-features__body h3 {
  color: var(--color-main);
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Intro */
.p-intro__wrapper {
  display: flex;
  gap: 40px;
}
.p-intro__box {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.p-intro__img {
  width: 100%;
  height: 280px;
}
.p-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-intro__content {
  padding: 40px;
}
.p-intro__content h3 {
  font-size: 1.5rem;
  color: var(--color-main);
  margin-bottom: 20px;
  font-weight: 700;
}

/* ==================================================
   Treatment Policy (当院の治療)
   ================================================== */
.p-treatment-logic {
  background-color: var(--color-bg-beige);
}
.p-treatment-lead {
  /* サイズを大きく: スマホ18px(1.1rem) 〜 PC 24px(1.5rem) */
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  font-weight: 700;
  color: var(--color-main) !important;
  line-height: 1.6 !important;
  margin-top: 30px !important;
}
/* 行レイアウト (PC) */
.p-logic-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.p-logic-row:last-child {
  margin-bottom: 0;
}

/* 画像右・テキスト左の配置 */
.p-logic-row--reverse {
  flex-direction: row-reverse;
}

/* 画像エリア */
.p-logic-img {
  flex: 1;
  width: 100%;
  max-width: 500px;
}
.p-logic-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* テキストエリア */
.p-logic-text {
  flex: 1;
}

/* 小見出し */
.p-logic-title {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 25px;
  line-height: 1.5;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 15px;
  display: inline-block;
}

.p-logic-text p {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 20px;
  color: var(--color-text);
  text-align: justify;
}
.p-logic-text p:last-child {
  margin-bottom: 0;
}
/* Symptoms (Top) */
.p-symptoms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p-symptoms__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  padding-bottom: 15px;
}
.p-symptoms__card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.p-symptoms__img {
  width: 100%;
  height: 180px;
  margin: 0 0 15px;
}
.p-symptoms__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-symptoms__card .text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main);
  padding: 0 10px;
}
/* ====================================
   Treatment Section (Director Message)
   Layout: Left Sidebar / Right Main
==================================== */

/* --- 外枠（Box） --- */
.p-treatment__box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  padding: 60px 50px; /* PCでの余白 */
}

/* --- レイアウト枠（Flex） --- */
.p-treatment__row {
  display: flex;
  align-items: flex-start; /* 文章が長いので上揃え */
  gap: 60px; /* 左右のカラム間隔 */
}

/* ------------------------------------
   [左カラム] 写真・見出し
------------------------------------ */
.p-treatment__sidebar {
  width: 280px; /* カラム幅 */
  flex-shrink: 0; /* 縮小禁止 */
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央揃え */
  text-align: center;
}

/* 院長写真 */
.p-treatment__portrait {
  width: 100%;
  margin-bottom: 30px;
}

.p-treatment__portrait img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: block;
}

/* 見出しエリア（Clamp管理） */
.p-treatment__titles {
  width: 100%;
}

/* 見出しラッパー（強制中央揃え） */
.p-treatment__titles .c-heading--left {
  align-items: center;
  margin-bottom: 0;
}

/* 英語タイトル (Director Message) */
.p-treatment__titles .c-heading .en {
  /* スマホ12px 〜 PC15px */
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.1em;
  color: var(--color-accent, #cfa873); /* アクセントカラー(未定義なら#cfa873) */
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

/* 日本語キャッチコピー (あなたの腰痛...) */
.p-treatment__titles .c-heading .ja {
  /* スマホ20px 〜 PC26px */
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.6;
  font-weight: 700;
  color: #333;
}

/* ------------------------------------
   [右カラム] 本文・ボタン
------------------------------------ */
.p-treatment__main {
  flex-grow: 1; /* 残りの幅を全て使う */
}

/* 本文スタイル */
.p-treatment__desc p {
  font-size: 1rem;
  line-height: 1.8; /* 読みやすい行間 */
  margin-bottom: 2em; /* 段落下の余白 */
  color: #333;
  font-weight: 500;
}

/* 最後の段落の余白削除 */
.p-treatment__desc p:last-child {
  margin-bottom: 0;
}

/* ボタン配置（右寄せ） */
.c-btn-wrapper--right {
  margin-top: 40px;
  text-align: right;
}

@media screen and (max-width: 1000px) {
  .p-treatment__row {
    gap: 40px;
  }
  .p-treatment__sidebar {
    width: 240px; /* カラム幅 */
  }
  .p-treatment__desc p {
    line-height: 1.7; /* 読みやすい行間 */
    margin-bottom: 1em; /* 段落下の余白 */
  }
}
@media screen and (max-width: 768px) {
  .p-treatment__box {
    padding: 40px 20px;
  }
  .p-treatment__row {
    flex-direction: column; /* 縦並びに変更 */
    gap: 40px;
  }

  /* 左カラム：幅100%・下線追加 */
  .p-treatment__sidebar {
    width: 100%;
    min-width: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 0;
    margin-bottom: 0;
    flex-direction: row;
    gap: 40px;
  }

  /* 写真サイズ調整 */
  .p-treatment__portrait {
    max-width: 240px;
  }
  .p-treatment__titles .c-heading .en {
    font-size: clamp(14px, 2.5vw, 24px);
  }
  .p-treatment__titles .c-heading .ja {
    font-size: clamp(20px, 3.5vw, 30px);
  }

  /* 右カラム：幅100% */
  .p-treatment__main {
    width: 100%;
  }

  /* スマホではボタンを中央に戻す */
  .c-btn-wrapper--right {
    text-align: center;
  }
}

@media screen and (max-width: 530px) {
  .p-treatment__row {
    gap: 20px;
  }
  .p-treatment__sidebar {
    flex-direction: column;
    gap: 10px;
  }
  .p-treatment__titles .c-heading .en {
    font-size: clamp(18px, 4vw, 24px);
  }
  .p-treatment__titles .c-heading .ja {
    font-size: clamp(24px, 5vw, 30px);
  }
}
/* Voice (Swiper) */
.p-voice__item {
  background: var(--color-bg-beige);
  padding: 40px;
  border-radius: 16px;
  height: 100%;
  border: 1px solid #eaddcf;
  display: flex;
  flex-direction: column;
}
.p-voice__text {
  flex-grow: 1;
}
.p-voice__meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}
.p-voice__meta .tag {
  background: var(--color-main);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 50px;
}
.p-voice__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 15px;
}
.swiper {
  padding: 20px 5px 60px;
}
.swiper-slide {
  height: auto;
  display: flex;
  height: auto !important;
}
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.swiper-pagination {
  bottom: 0 !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-main);
}
.swiper-button-prev,
.swiper-button-next {
  color: var(--color-main);
  transform: scale(0.7);
}

/* Column & Access */
.p-column__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.p-column__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.p-column__thumb {
  height: 200px;
  overflow: hidden;
}
.p-column__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.p-column__card:hover .p-column__thumb img {
  transform: scale(1.1);
}
.p-column__body {
  padding: 20px;
}

.p-access__container {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.p-access__info {
  flex: 1;
  padding: 60px;
}
.p-access__map {
  flex: 1.2;
  min-height: 400px;
}
.p-access__map iframe {
  width: 100%;
  height: 100%;
}
.p-access__data {
  margin: 30px 0;
}
.p-access__data dt {
  font-weight: 700;
  background: var(--color-bg-beige);
  text-align: center;
  padding: 5px;
  border-radius: 4px;
}
.p-access__data dd {
  padding: 5px;
}
.tel a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
}
/* ==================================================
   8. Responsive Styles (All media queries)
   ================================================== */

/* PC Navigation (min-width: 1450px) */
@media (min-width: 1450px) {
  .l-header__hamburger,
  .l-drawer {
    display: none;
  }
  .l-header__pc-nav {
    margin-left: auto;
    margin-right: 15px;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  .l-header__pc-list {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .l-header__pc-list > li {
    position: relative;
    padding: 32px 0;
  }
  .l-header__pc-list a {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--color-main);
    position: relative;
    display: block;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
  }
  .l-header__pc-list > .menu-item-has-children > a {
    padding-right: 14px;
  }
  .l-header__pc-list > .menu-item-has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #aaa;
  }
  .l-header__pc-list > li > a::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
  }
  .l-header__pc-list > li:hover > a::before {
    width: 100%;
  }

  .l-header__pc-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 240px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    border-top: 3px solid var(--color-accent);
    opacity: 0;
    text-align: left;
    list-style: none;
    margin: 0;
    z-index: 100;
  }
  .l-header__pc-list .menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    animation: slideIn 0.3s forwards;
  }
  .l-header__pc-list .sub-menu a {
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
    white-space: normal;
    font-weight: normal;
  }
  .l-header__pc-list .sub-menu a::before {
    display: none;
  }
  .l-header__pc-list .sub-menu a:hover {
    color: var(--color-accent);
    background: #fcfcfc;
    padding-left: 5px;
  }
  .l-header__pc-list .menu-item-has-children.is-grid-parent .sub-menu {
    min-width: 500px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .l-header__pc-list .menu-item-has-children.is-grid-parent:hover .sub-menu {
    display: grid;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* SP Navigation (max-width: 1449px) */
@media (max-width: 1449px) {
  .l-header__pc-nav,
  .l-header__cta {
    display: none;
  }
  /* SPメニューの矢印位置固定 */
  .l-drawer__list .menu-item-has-children > a {
    position: relative;
  }
}
@media (max-width: 1000px) {
  .p-features__grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .p-features__item {
    min-width: 300px;
    width: calc((100% - 20px) / 2);
    flex: initial;
  }
}
/* Main SP Layout (max-width: 959px) */

@media (max-width: 959px) {
  :root {
    --header-height: 70px;
  }
  .u-sp-only {
    display: block;
  }
  .u-pc-only {
    display: none;
  }
  .l-container {
    padding: 0 10px;
  }
  .l-section {
    padding: 70px 0;
  }
  [id] {
    scroll-margin-top: 90px;
  }

  /* MV */
  .p-mv {
    padding: 120px 0 80px;
    height: auto;
    min-height: auto;
  }
  .p-mv__card {
    padding: 30px;
    border-left: 5px solid var(--color-accent);
  }
  .c-heading__desc {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  /* News */
  .p-news {
    margin-top: 0;
  }
  .p-news__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
  }
  .p-news__list {
    width: 100%;
  }
  .p-news__list a {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }

  /* Layouts */
  .p-voice__grid {
    flex-direction: column;
    gap: 40px;
  }

  .p-features__img,
  .p-intro__img {
    height: 200px;
  }
  /* ==================================================
   Treatment Policy (当院の治療)
   ================================================== */
  .p-logic-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  /* SPでは画像→テキストの順に統一 */
  .p-logic-row--reverse {
    flex-direction: column;
  }

  .p-logic-title {
    font-size: 1.2rem;
    width: 100%;
    display: block;
  }
  /* Treatment Stack */
  .p-treatment__info {
    width: 100%;
    padding: 30px;
  }

  /* Grids */
  .p-column__grid,
  .l-footer__sitemap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Footer */
  .l-footer {
    padding: 60px 0 60px;
  }
  .l-footer__head {
    margin-bottom: 15px;
  }

  /* Access SP Fix */
  .p-access__data {
    display: block;
  }
  .p-access__row {
    display: block;
    margin-bottom: 15px;
  }
  .p-access__data dt {
    display: inline-block;
    width: auto;
    min-width: 100px;
    margin-bottom: 8px;
    text-align: center;
  }
  .p-access__data dd {
    display: block;
    width: 100%;
    margin: 0;
    padding-left: 5px;
  }
  .tel a {
    font-size: 1.6rem;
    white-space: nowrap;
  }

  /* Float CTA */
  .l-float-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  }
  .p-access__map {
    position: relative;
    aspect-ratio: 1.75/1;
    min-height: 0;
  }
  .p-access__map iframe {
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }

  .p-news__btn {
    margin-left: auto;
  }
}
/* (max-width: 850px) */
@media (max-width: 850px) {
  .p-access__container {
    flex-direction: column;
    gap: 40px;
  }
  .p-access__info {
    text-align: center;
  }
  .p-access__info .c-heading.c-heading--left {
    text-align: center;
  }
}
/* Standard SP (max-width: 768px) */
@media (max-width: 768px) {
  .l-header__logo a {
    gap: 10px;
  }
  .l-header__logo img {
    height: 35px;
  }
  .l-header__logo span {
    font-size: 11px;
  }
  .p-symptoms__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .p-intro__wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .p-features__item {
    min-width: 0;
    width: 100%;
    flex: initial;
  }
  /* Treatment Stack */
  .p-treatment__lead {
    margin-top: 0;
  }
  .p-treatment__lead {
    font-size: 1.05rem;
  }
  .p-voice__title {
    font-size: 1.2rem;
  }
}

/* ★576px or less: Center Buttons */
@media (max-width: 576px) {
  .c-btn,
  .c-btn-wrapper {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 14px 30px;
  }
  /* 親ラッパーの中央寄せ */
  .c-btn-wrapper,
  .c-btn-wrapper--left {
    text-align: center;
  }
}

/* Smallest (max-width: 480px) */
@media (max-width: 480px) {
  .c-btn--large {
    padding: 18px 25px;
  }
  .p-features__body {
    padding: 25px 15px;
  }
  .p-intro__content {
    padding: 30px 25px;
  }
  .p-access__info {
    padding: 30px;
  }
  .c-btn {
    padding: 16px 20px;
	  
  }
	.c-btn--large{
		font-size:1.05rem;
	}
  .p-symptoms__grid {
    grid-template-columns: 1fr;
  }
  .p-news__btn {
    margin: 0 auto;
  }
  figcaption {
    font-size: 0.9rem;
  }
  .l-header__inner {
    padding: 0 10px;
  }
  .c-btn-wrapper {
    padding: 14px 20px;
  }
}
/* ==================================================
   Access Section: Vertical Phone Layout
   ================================================== */

/* 1. 行レイアウトの安全性確保 */
.p-access__row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: stretch;
}

/* 2. 左側ラベル(dt)の調整 */
.p-access__data dt {
  font-weight: 700;
  background: var(--color-bg-beige);
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center; /* 上下中央 */
  justify-content: center; /* 左右中央 */
  width: 100px;
  min-width: 100px;
}

/* 3. 電話番号エリア全体 */
.p-tel-wrapper {
  display: flex;
  flex-direction: column; /* 常に縦並び */
  gap: 20px; /* 携帯と固定の間隔 */
  padding-top: 10px; /* バッジがはみ出る分の余白 */
  width: 100%;
}

/* --- 携帯電話（枠付きデザイン） --- */
.p-tel-box--mobile {
  position: relative;
  border: 2px solid var(--color-accent); /* ゴールド枠 */
  border-radius: 6px;
  background: #fff;
  padding: 13px 10px 10px;
  /* 横幅調整（PCで広がりすぎないように） */
  width: fit-content;
}

/* 携帯優先バッジ */
.p-tel-badge {
  position: absolute;
  top: -12px; /* 枠線の上に飛び出させる */
  left: 15px;
  background: #c0392b; /* 赤色 */
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* 携帯番号リンク */
.p-tel-box--mobile a {
  display: flex;
  align-items: center;
  justify-content: center; /* 中央揃え */
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  text-decoration: none;
  width: fit-content;
}
.p-tel-box--mobile i {
  color: var(--color-accent);
}

/* --- 固定電話（シンプルデザイン） --- */
.p-tel-box--fixed {
  display: flex;
  align-items: center;
  gap: 15px;
}
.p-tel-box--fixed a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1;
  padding-left: 10px;
}
.p-tel-box--fixed i {
  color: #999;
}

/* --- スマホ表示時の微調整 --- */
@media screen and (max-width: 1050px) {
  /* 行全体を縦積みに変更 */
  .p-access__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .p-access__data dt {
    width: 100%; /* ラベルを全幅に */
    text-align: center;
  }
  .p-access__data dd {
    width: 100%;
    text-align: center;
  }

  .p-tel-wrapper {
    padding-top: 15px; /* 上の余白を少し増やす */
  }

  .p-tel-box--mobile {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }
  .p-tel-box--fixed {
    justify-content: center;
  }
  .p-tel-box--fixed a {
    padding-left: 0;
  }
  /* 番号サイズを少し調整 */
  .p-tel-box--mobile a {
    font-size: 1.6rem;
  }

  /* バッジを中央配置にしたい場合（好みで変更可） */
  .p-tel-badge {
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 480px) {
  .p-tel-box--mobile a,
  .p-tel-box--fixed a {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 360px) {
  .p-access__info {
    padding: 30px 20px;
  }
}

/* ==================================================
   TOPページ：スライダー共通設定（症状記事 ＆ 症例・体験談）
   ================================================== */

/* --- 1. スライダー本体の基本設定 --- */
.js-symptom-swiper,
.js-voice-swiper {
  width: 100%;
  /* 記事・ドット・矢印を縦に並べるため、下部に広い余白を確保 */
  padding-bottom: 130px !important;
  position: relative;
}

/* ▼ 症状記事（フルワイド・見切れあり） */
.js-symptom-swiper {
  overflow: visible !important;
}

/* ▼ 症例・体験談（Box・きっちり3個表示） */
.js-voice-swiper {
  overflow: hidden !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

/* --- 2. スライド（カード外枠）の共通設定 --- */
.js-symptom-swiper .swiper-slide,
.js-voice-swiper .swiper-slide {
  height: auto;
  display: flex;
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* --- 3. ページネーション（ドット）の位置調整 --- */
/* 矢印の上に配置されるよう bottom を調整 */
.js-symptom-swiper .swiper-pagination,
.js-voice-swiper .swiper-pagination {
  bottom: 80px !important; /* 下から80pxの位置（矢印の上） */
  left: 0;
  width: 100%;
}

/* ドットの色 */
.js-symptom-swiper .swiper-pagination-bullet-active,
.js-voice-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent, #9b7539);
}

/* --- 4. 矢印ナビゲーション（真下中央配置） --- */
.js-symptom-swiper .swiper-button-prev,
.js-symptom-swiper .swiper-button-next,
.js-voice-swiper .swiper-button-prev,
.js-voice-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  background: var(--color-accent, #9b7539);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  z-index: 20;
  opacity: 1 !important;
  display: flex !important;

  /* ▼ 一番下に配置 */
  top: auto !important;
  bottom: 10px !important; /* 下から10pxの位置 */
  margin-top: 0 !important;
  transform: none !important;
}

/* 矢印アイコンを白に */
.js-symptom-swiper .swiper-button-prev:after,
.js-symptom-swiper .swiper-button-next:after,
.js-voice-swiper .swiper-button-prev:after,
.js-voice-swiper .swiper-button-next:after {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
}

/* ホバー時 */
.js-symptom-swiper .swiper-button-prev:hover,
.js-symptom-swiper .swiper-button-next:hover,
.js-voice-swiper .swiper-button-prev:hover,
.js-voice-swiper .swiper-button-next:hover {
  background: #fff;
  border-color: var(--color-accent, #9b7539);
}
.js-symptom-swiper .swiper-button-prev:hover:after,
.js-symptom-swiper .swiper-button-next:hover:after,
.js-voice-swiper .swiper-button-prev:hover:after,
.js-voice-swiper .swiper-button-next:hover:after {
  color: var(--color-accent, #9b7539);
}

/* --- 5. 左右中央寄せ ＆ 矢印同士の間隔 --- */

/* ▼ 左矢印：中央(50%)から右に20px離す */
.js-symptom-swiper .swiper-button-prev,
.js-voice-swiper .swiper-button-prev {
  left: auto !important;
  right: 50% !important;
  margin-right: 20px !important; /* 矢印間の隙間 */
}

/* ▼ 右矢印：中央(50%)から左に20px離す */
.js-symptom-swiper .swiper-button-next,
.js-voice-swiper .swiper-button-next {
  right: auto !important;
  left: 50% !important;
  margin-left: 20px !important; /* 矢印間の隙間 */
}

/* ==================================================
   症状記事スライダー専用デザイン（カード・タイトル）
   ================================================== */
/* セクションタイトル装飾 */
.p-symptoms-slider {
  padding-top: 0;
  padding-bottom: 80px;
}
.p-symptoms-slider .c-heading h3 {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.p-symptoms-slider .c-heading h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent, #9b7539);
  border-radius: 2px;
}

/* カードデザイン */
.js-symptom-swiper .p-symptom-post-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  text-decoration: none;
  color: #4a4a4a;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.js-symptom-swiper .p-symptom-post-item:hover {
  border-color: var(--color-accent, #9b7539);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(155, 117, 57, 0.15);
}

/* 内部パーツ */
.js-symptom-swiper .p-symptom-post-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.js-symptom-swiper .p-symptom-cat-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.js-symptom-swiper .p-symptom-post-cat {
  background: #6d4c41;
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 2px;
  line-height: 1;
}
.js-symptom-swiper .p-symptom-post-date {
  font-size: 0.85rem;
  color: #888;
}
.js-symptom-swiper .p-symptom-post-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.5;
  color: #3e2723;
}
.js-symptom-swiper .p-symptom-post-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.p-symptoms-slider .c-btn-wrapper,
.p-voice .c-btn-wrapper {
  margin-top: 0;
}
/* --- スマホ対応調整 --- */
@media (max-width: 768px) {
  /* 矢印を少し小さく */
  .js-symptom-swiper .swiper-button-prev,
  .js-symptom-swiper .swiper-button-next,
  .js-voice-swiper .swiper-button-prev,
  .js-voice-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  /* カード内の余白調整 */
  .js-symptom-swiper .p-symptom-post-item {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .js-symptom-swiper,
  .js-voice-swiper {
    padding-bottom: 100px !important;
  }
  .js-symptom-swiper .swiper-pagination,
  .js-voice-swiper .swiper-pagination {
    bottom: 60px !important;
  }
  .p-symptoms-slider .c-btn-wrapper .c-text-link,
  .p-voice .c-btn-wrapper .c-text-link{
    margin-top: 20px;
  }
  .p-voice__item{
    padding: 20px;
  }
  .p-voice__meta{
    margin-bottom: 0;
  }
}
