@charset "UTF-8";
:root {
  --warm-white: #fffaf7;
  --warm-blush: #fff3f0;
  --warm-sage: #f3fbf1;
  --warm-peach: #fff0e8;
  --ink: #333333;
  --pink: #ffd1dc;
  --lime: #98d98e;
  --rose: #f4a0b5;
  --sage: #7bc47a;
  --muted: rgb(51, 51, 51);
  --line: rgba(51, 51, 51, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a:visited,
a:hover {
  color: #333333;
}

a.cta-warm:hover,
a.cta-warm:visited {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── Underscores style.css リセット ── */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── Display heading util ── */
.font-serif {
  font-family: "Noto Sans JP", sans-serif;
}

/* ── Label ── */
.label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Glassmorphism header ── */
.glass-header {
  background: rgba(255, 250, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

/* ── Warm mesh background ── */
.mesh-hero {
  background: radial-gradient(ellipse 75% 60% at 10% 40%, rgba(255, 209, 220, 0.38) 0%, transparent 65%), radial-gradient(ellipse 60% 75% at 90% 65%, rgba(152, 217, 142, 0.28) 0%, transparent 65%), radial-gradient(ellipse 50% 50% at 50% 10%, rgba(255, 240, 232, 0.5) 0%, transparent 60%), var(--warm-white);
}

/* ── Blob ── */
.blob {
  border-radius: 62% 38% 32% 68%/58% 32% 68% 42%;
  animation: morph 10s ease-in-out infinite;
}

.blob-2 {
  border-radius: 42% 58% 66% 34%/42% 52% 48% 58%;
  animation: morph 13s ease-in-out infinite reverse;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 62% 38% 32% 68%/58% 32% 68% 42%;
  }
  50% {
    border-radius: 35% 65% 65% 35%/50% 62% 38% 50%;
  }
}
/* ── Warm shadow ── */
.warm-shadow {
  box-shadow:
    0 6px 40px rgba(244, 160, 181, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.warm-shadow-hover {
  transition:
    transform 0.38s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.38s ease;
}

.warm-shadow-hover:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(244, 160, 181, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ── Glass card ── */
.card-warm {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

/* ── Gradient text ── */
.grad-text {
  background: linear-gradient(130deg, #f4a0b5 0%, #7bc47a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Dashed border decorations ── */
.dash-pink {
  border: 2px dashed rgba(255, 209, 220, 0.75);
}

.dash-lime {
  border: 2px dashed rgba(152, 217, 142, 0.65);
}

.dash-peach {
  border: 2px dashed rgba(255, 200, 160, 0.6);
}

/* ── Wavy underline ── */
.wavy {
  text-decoration: underline wavy #ffd1dc 2.5px;
  text-underline-offset: 6px;
}

.wavy-lime {
  text-decoration: underline wavy #98d98e 2.5px;
  text-underline-offset: 6px;
}

/* ── Fade up ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.68, 0, 1),
    transform 0.8s cubic-bezier(0.22, 0.68, 0, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll line ── */
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(61, 43, 31, 0.4), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.85;
  }
}
/* ── Spin slow ── */
.spin-slow {
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ── Bounce gentle ── */
.bounce-gentle {
  animation: bounce-gentle 3.5s ease-in-out infinite;
}

.bounce-gentle-2 {
  animation: bounce-gentle 4.2s ease-in-out infinite 0.8s;
}

@keyframes bounce-gentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
/* ── Tag ── */
.tag:not(body) {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
}

/* ── Wave SVG ── */
.wave-wrap {
  line-height: 0;
  overflow: hidden;
  display: block;
}

.wave-wrap svg {
  display: block;
  width: 100%;
}

/* ── Progress bar ── */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, #ffd1dc, #98d98e);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  border-radius: 0 4px 4px 0;
  transition: transform 0.08s linear;
}

/* ── Dot pattern ── */
.dots-pink {
  background-image: radial-gradient(rgba(255, 209, 220, 0.7) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.dots-lime {
  background-image: radial-gradient(rgba(152, 217, 142, 0.6) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

/* ── Sticky nav ── */
.sticky-nav {
  box-shadow:
    0 -1px 0 rgba(61, 43, 31, 0.06),
    0 -6px 24px rgba(0, 0, 0, 0.05);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

/* ── 院長資格バッジ：モバイル非表示 ── */
@media (max-width: 1023px) {
  .float-card.dash-lime {
    display: none !important;
  }
}
.dr-credentials-mobile {
  display: flex;
}

@media (min-width: 1024px) {
  .dr-credentials-mobile {
    display: none;
  }
}
/* ── Float card small ── */
.float-card {
  background: rgba(255, 250, 247, 0.97);
  backdrop-filter: blur(16px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.07),
    0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgb(255, 255, 255);
}

/* ── Schedule table ── */
.schedule-row {
  border-bottom: 1px solid rgba(61, 43, 31, 0.07);
}

/* ── Hero section ── */
.hero-section {
  min-height: calc(100vh - 62px);
}

@media (max-width: 1023px) {
  .hero-section {
    min-height: 0;
    height: auto !important;
  }
}
/* ── Stats cards ── */
.stats-num {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
}

.stats-unit {
  font-size: 1.5rem;
}

@media (max-width: 639px) {
  .stats-num {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }
  .stats-unit {
    font-size: 15px;
  }
}
/* ── Hero headline ── */
.hero-h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ── Section heading ── */
.sec-h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.35;
}

/* ── Hover arrow ── */
.arrow-link {
  transition: gap 0.25s ease;
}

.arrow-link:hover {
  gap: 1rem;
}

/* ── CTA warm gradient ── */
.cta-warm {
  background: linear-gradient(135deg, #e8829a 0%, #f4a0b5 100%);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.cta-warm:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ── CTA outline ── */
.cta-outline {
  border: 1.5px solid rgba(61, 43, 31, 0.18);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}

.cta-outline:hover {
  border-color: rgba(61, 43, 31, 0.35);
  background: rgba(61, 43, 31, 0.03);
  transform: translateY(-2px);
}

/* ── Floral CSS patterns ── */
.floral-bg-pink {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g transform='translate(40,40)' fill='none' stroke='%23F4A0B5' stroke-width='0.9' stroke-linecap='round' opacity='0.35'><circle r='3.5'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(72)'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(144)'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(216)'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(288)'/></g></svg>");
  background-size: 80px 80px;
}

.floral-bg-lime {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g transform='translate(40,40)' fill='none' stroke='%2398D98E' stroke-width='0.9' stroke-linecap='round' opacity='0.3'><circle r='3.5'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(72)'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(144)'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(216)'/><path d='M0,-3.5 Q-4,-10 0,-14 Q4,-10 0,-3.5' transform='rotate(288)'/></g></svg>");
  background-size: 80px 80px;
}

/* ── Dropdown nav ── */
.nav-item {
  position: relative;
}

.nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(255, 250, 247, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  min-width: 210px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 200;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--warm-blush);
  color: var(--ink);
}

.dropdown a .dd-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown a.featured-link {
  color: #be3a5e;
  font-weight: 600;
}

.dropdown a.featured-link:hover {
  background: rgba(255, 209, 220, 0.3);
}

/* ── wp_nav_menu() 対応 ── */
nav > ul.flex {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav > ul.flex > li {
  list-style: none;
  position: relative;
}

nav > ul.flex > li > a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

nav > ul.flex > li > a:hover {
  color: var(--ink);
}

nav > ul.flex > li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}

nav > ul.flex > li > ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(255, 250, 247, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 210px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 200;
}

nav > ul.flex > li.menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

nav > ul.flex > li > ul.sub-menu > li {
  list-style: none;
}

nav > ul.flex > li > ul.sub-menu > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

nav > ul.flex > li > ul.sub-menu > li > a:hover {
  background: var(--warm-blush);
  color: var(--ink);
}

/* ── 診療ページ：hero 全幅確保 ── */
.page-hero {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* ── 診療ページ：admin-bar 対応 ── */
@media screen and (min-width: 1024px) {
  body.admin-bar .page-hero {
    margin-top: calc(62px + 32px) !important;
  }
}
@media screen and (max-width: 1023px) {
  body.admin-bar .page-hero {
    margin-top: calc(62px + 46px) !important;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar .page-hero {
    margin-top: calc(62px + 46px) !important;
  }
}

/* ── 診療ページ：本文カード ── */
.clinic-content-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.07);
  border: 1px solid rgba(61, 43, 31, 0.05);
}

@media (max-width: 640px) {
  .clinic-content-card {
    padding: 1.75rem 1.25rem;
  }
}

/* ── 診療ページ：クラシックエディター本文スタイル ── */
.clinic-content {
  color: var(--ink);
  font-size: 15px;
  line-height: 2;
}

.clinic-content h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding: 0.65rem 1rem 0.65rem 1.1rem;
  border-left: 4px solid #f4a0b5;
  background: var(--warm-blush);
  border-radius: 0 12px 12px 0;
}

.clinic-content h2:first-child {
  margin-top: 0;
}

.clinic-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid #98d98e;
}

.clinic-content p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.clinic-content ul,
.clinic-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-weight: 300;
}

.clinic-content li {
  margin-bottom: 0.5rem;
}

.clinic-content a {
  color: #be3a5e;
  text-decoration: underline;
  text-decoration-color: rgba(190, 58, 94, 0.3);
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.clinic-content a:hover {
  color: #e8345a;
}

/* .link_button：クラシックエディターのボタン */
.clinic-content .link_button {
  margin: 2rem 0 0.5rem;
}

.clinic-content .link_button a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8829a, #f4a0b5);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 16px rgba(232, 130, 154, 0.3);
}

.clinic-content .link_button a:hover {
  opacity: 0.88;
}

/* Bootstrap の .row / .col-md-12 を無害化 */
.clinic-content .row {
  display: block;
}

.clinic-content .col-md-12 {
  display: block;
  width: 100%;
}

/* ── FAQ list (dl > dt + dd) ── */
.clinic-content .faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clinic-content .faq-list dt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 0 10px;
  border-top: 1px solid var(--line);
  cursor: default;
  line-height: 1.6;
}

.clinic-content .faq-list dt::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-top: 1px;
}

.clinic-content .faq-list dd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0 0 20px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}

.clinic-content .faq-list dd::before {
  content: "A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(123, 196, 122, 0.18);
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
  margin-top: 1px;
}

.clinic-content .faq-list dd:last-child {
  border-bottom: 1px solid var(--line);
}

/* ── Page nav cards ── */
.page-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.32s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.32s ease,
    background 0.2s;
}

.page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.09);
  background: rgba(255, 255, 255, 0.95);
}

.page-card.featured {
  background: linear-gradient(135deg, rgba(255, 209, 220, 0.35) 0%, rgba(255, 255, 255, 0.8) 60%);
  border-color: rgba(255, 180, 200, 0.5);
}

.page-card.featured:hover {
  background: linear-gradient(135deg, rgba(255, 209, 220, 0.5) 0%, rgba(255, 255, 255, 0.95) 60%);
}

.page-card.featured {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.page-card.featured h3,
.page-card.featured p {
  text-align: left;
}

@media (min-width: 640px) {
  .page-card.featured {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.page-card > div:first-child {
  align-self: center;
}

.page-card h3 {
  font-size: 17px !important;
  text-align: center;
}

.page-card p {
  font-size: 15px !important;
  text-align: center;
  font-weight: 400 !important;
}

/* ブログカード（アイキャッチあり）はテキスト左寄せ */
.page-card:has(.blog-thumb) h2,
.page-card:has(.blog-thumb) h3,
.page-card:has(.blog-thumb) p {
  text-align: left;
}

#reasons .card-warm > div:first-child {
  align-self: center;
}

#reasons .card-warm h3 {
  text-align: center;
}

/* ── Blog pagination ── */
.blog-page-link a,
.blog-page-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.blog-page-link a:hover {
  background: rgba(244, 160, 181, 0.15);
  color: var(--ink);
}

.blog-page-link--active span {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* ── FAQ accordion ── */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 209, 220, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s,
    transform 0.32s cubic-bezier(0.22, 0.68, 0, 1.2);
}

.faq-item[open] .faq-icon {
  background: rgba(255, 180, 200, 0.6);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 40px 22px 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}

/* ── Floral scatter overlay (全面散りばめ) ── */
.floral-scatter {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g fill='none' stroke-linecap='round'><g transform='translate(28,18)' stroke='%23F4A0B5' stroke-width='1.3' opacity='0.88'><circle r='3.5'/><path d='M0,-3.5 Q-4.5,-10 0,-15 Q4.5,-10 0,-3.5'/><path d='M0,-3.5 Q-4.5,-10 0,-15 Q4.5,-10 0,-3.5' transform='rotate(72)'/><path d='M0,-3.5 Q-4.5,-10 0,-15 Q4.5,-10 0,-3.5' transform='rotate(144)'/><path d='M0,-3.5 Q-4.5,-10 0,-15 Q4.5,-10 0,-3.5' transform='rotate(216)'/><path d='M0,-3.5 Q-4.5,-10 0,-15 Q4.5,-10 0,-3.5' transform='rotate(288)'/></g><g transform='translate(120,56)' stroke='%2398D98E' stroke-width='1.1' opacity='0.8'><circle r='3'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(72)'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(144)'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(216)'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(288)'/></g><g transform='translate(65,118)' stroke='%23F4A0B5' stroke-width='1.1' opacity='0.76'><circle r='3'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(72)'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(144)'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(216)'/><path d='M0,-3 Q-3.5,-8.5 0,-13 Q3.5,-8.5 0,-3' transform='rotate(288)'/></g><g transform='translate(138,138)' stroke='%23F4A0B5' stroke-width='0.95' opacity='0.65'><circle r='2.5'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(72)'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(144)'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(216)'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(288)'/></g><g transform='translate(15,86)' stroke='%2398D98E' stroke-width='0.95' opacity='0.68'><circle r='2.5'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(72)'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(144)'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(216)'/><path d='M0,-2.5 Q-3,-7 0,-11 Q3,-7 0,-2.5' transform='rotate(288)'/></g><g transform='translate(96,24)' stroke='%23F4A0B5' stroke-width='0.85' opacity='0.58'><circle r='2.2'/><path d='M0,-2.2 Q-2.5,-6 0,-9.5 Q2.5,-6 0,-2.2'/><path d='M0,-2.2 Q-2.5,-6 0,-9.5 Q2.5,-6 0,-2.2' transform='rotate(72)'/><path d='M0,-2.2 Q-2.5,-6 0,-9.5 Q2.5,-6 0,-2.2' transform='rotate(144)'/><path d='M0,-2.2 Q-2.5,-6 0,-9.5 Q2.5,-6 0,-2.2' transform='rotate(216)'/><path d='M0,-2.2 Q-2.5,-6 0,-9.5 Q2.5,-6 0,-2.2' transform='rotate(288)'/></g><g transform='translate(48,50)' stroke='%2398D98E' stroke-width='0.85' opacity='0.55'><circle r='2'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(72)'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(144)'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(216)'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(288)'/></g><g transform='translate(155,96)' stroke='%23F4A0B5' stroke-width='0.8' opacity='0.5'><circle r='2'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(72)'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(144)'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(216)'/><path d='M0,-2 Q-2.2,-5.5 0,-8.5 Q2.2,-5.5 0,-2' transform='rotate(288)'/></g></g></svg>");
  background-size: 160px 160px;
}

/* ── News strip ── */
.news-strip {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
  text-decoration: none;
}

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

.news-item:hover {
  color: var(--ink);
}

/* ── Mobile drawer ── */
.drawer-link:hover {
  background: rgba(255, 209, 220, 0.18);
}

#mobile-drawer details summary::-webkit-details-marker {
  display: none;
}

.mv_catch {
  width: 200px;
  text-align: center;
}

.top_dr_img {
  width: 100%;
  height: auto;
}

/* ── WordPress 管理バー対応 ──
   ログイン中は #wpadminbar が body 上部に固定表示される。
   デスクトップ: 32px / モバイル(≤782px): 46px
── */
body.admin-bar .glass-header {
  top: 32px;
}

/* admin bar: デスクトップ(32px) */
body.admin-bar .glass-header {
  top: 32px;
}

/* admin bar: モバイル(46px) */
@media screen and (max-width: 782px) {
  body.admin-bar .glass-header {
    top: 46px;
  }
}

/* hero の高さ: モバイルは auto、PC のみ min-height で制御 */
@media screen and (min-width: 1024px) {
  body.admin-bar .hero-section {
    min-height: calc(100vh - 62px - 32px) !important;
    height: auto !important;
  }
}

.page-section {
  margin-bottom: 48px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.price-table th {
  background: #f5f9ff;
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.price-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.price-table tr:nth-child(even) {
  background: #fafafa;
}

.disease-link:hover {
  background: #e7f1ff;
}

@media (max-width: 768px) {
  .price-table {
    font-size: 13px;
  }
  .price-table th,
  .price-table td {
    padding: 8px;
  }
  .disease-link {
    display: block;
    width: 100%;
    text-align: center;
  }
}

img.tateimg {
  max-width: min(350px, 100%);
  display: block;
  margin: 0 auto;
  box-shadow: 1px 1px 10px #333;
}

ul.check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

ul.check li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #98d98e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7l3 3 5-5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

ol.kanpo-list {
  list-style: decimal-leading-zero;
  margin-left: 1rem;
}

a.disease-link-img {
  max-width: min(350px, 100%);
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(190, 58, 94, 0.3);
  padding: 10px;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
}

a.disease-link-img span {
  display: block;
  text-align: center;
  font-weight: 400;
}

img.hfimg {
  max-width: min(350px, 100%);
  margin: 0 auto;
}

/* ════════════════════════════════════
   モバイルドロワーナビ
════════════════════════════════════ */

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-nav > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s;
}

.drawer-nav > li > a:hover {
  background: rgba(255, 209, 220, 0.2);
}

/* サブメニュー親アイテム */
.drawer-nav > li.menu-item-has-children {
  position: relative;
}

.drawer-nav > li.menu-item-has-children > a {
  padding-right: 2.5rem;
}

/* サブメニュー開閉ボタン（JSで追加） */
.drawer-submenu-toggle {
  position: absolute;
  right: 0.5rem;
  top: 0;
  height: 3.25rem;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s;
}

.drawer-submenu-toggle svg {
  transition: transform 0.25s;
}

.drawer-submenu-toggle.is-open svg {
  transform: rotate(180deg);
}

.drawer-submenu-toggle:hover {
  background: rgba(61, 43, 31, 0.06);
}

/* サブメニュー */
.drawer-nav .sub-menu {
  list-style: none;
  margin: 0 0 0.5rem 1.5rem;
  padding: 0.25rem 0 0.25rem 0.75rem;
  border-left: 2px solid rgba(244, 160, 181, 0.35);
  display: none;
}

.drawer-nav .sub-menu.is-open {
  display: block;
}

.drawer-nav .sub-menu li a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}

.drawer-nav .sub-menu li a:hover {
  background: rgba(255, 209, 220, 0.2);
}

/* ════════════════════════════════════
   クリニック案内ページ専用スタイル
════════════════════════════════════ */

.clinic-content .page-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.clinic-content .page-section > h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-left: 0.875rem;
  border-left: 3px solid #f4a0b5;
  line-height: 1.5;
}

.clinic-content .page-section > h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
}

/* ── 基本情報テーブル ── */
.clinic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 1rem 0;
}

.clinic-table th,
.clinic-table td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.75;
}

.clinic-table th {
  width: 28%;
  background: rgba(243, 251, 241, 0.85);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.clinic-table td {
  color: var(--ink);
}

.clinic-table td a {
  color: #be3a5e;
  text-decoration: underline;
}

.clinic-table td a:hover {
  opacity: 0.8;
}

/* ── 関連リンク ── */
ul.clinic-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

ul.clinic-links li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 15px;
  font-weight: 500;
  color: #be3a5e;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(190, 58, 94, 0.15);
  transition:
    color 0.2s,
    gap 0.2s;
}

ul.clinic-links li a::after {
  content: "›";
  font-size: 17px;
  line-height: 1;
}

ul.clinic-links li a:hover {
  color: #9e2a4e;
  gap: 0.65rem;
}

/* ── 診察時間テーブル ── */
.clinic-time-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 1rem 0;
  text-align: center;
}

.clinic-time-table th {
  background: rgba(243, 251, 241, 0.85);
  padding: 10px 8px;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
}

.clinic-time-table td {
  padding: 10px 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.clinic-time-table td:first-child {
  text-align: left;
  padding-left: 14px;
  white-space: nowrap;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}

/* ── Mapエリア ── */
.map-area {
  border-radius: 16px;
  overflow: hidden;
  margin: 1rem 0 1.25rem;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.08);
  border: 1px solid var(--line);
}

.map-area iframe {
  display: block;
  width: 100%;
}

/* ── アクセスボタン ── */
a.btn-access {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #e8829a, #f4a0b5);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232, 130, 154, 0.28);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

a.btn-access:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  /* テーブル横スクロール */
  .clinic-table,
  .clinic-time-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 料金テーブルは横幅100%（スクロールなし） */
  .price-table {
    width: 100%;
    table-layout: fixed;
  }

  .clinic-table th {
    width: 34%;
    padding: 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .clinic-table td {
    padding: 10px;
    font-size: 13px;
  }

  .clinic-time-table {
    font-size: 11px;
    white-space: nowrap;
  }

  .clinic-time-table th,
  .clinic-time-table td {
    padding: 8px 6px;
  }

  .clinic-time-table td:first-child {
    padding-left: 8px;
  }
}

#menu-item-6580 > a {
  color: #ed8ea5;
}

a.ft-yoyaku {
  color: #f096ac;
}

.h-logo img {
  width: 300px;
  height: auto;
}
@media (min-width: 768px) {
  .sm\:hidden {
    display: none;
  }
}

p.sd-text {
  text-align: center;
}

.qa-6 {
  max-width: 100%;
  margin-bottom: 5px;
  border-bottom: 2px solid #d6dde3;
}

.qa-6 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-6 summary::before {
  color: #75bbff;
  content: "Q";
}

.qa-6 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: "";
  transition: transform 0.5s;
}

.qa-6[open] summary::after {
  transform: rotate(225deg);
}

.qa-6 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0.3em 3em 1.5em;
  color: #333;
  transition:
    transform 0.5s,
    opacity 0.5s;
}

.qa-6[open] p {
  transform: none;
  opacity: 1;
}

.qa-6 p::before {
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}
@media (max-width: 768px) {
  .h-logo img {
    width: 240px;
  }
}
@media (min-width: 768px) {
  .top-g {
    justify-content: center;
  }
}

/* ── ブログカード アイキャッチ画像 ── */
.blog-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  flex-shrink: 0;
}
.blog-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
