@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --color-main: #5BA4A4;
  --color-main-dark: #3d7a7a;
  --color-sub: #7BBFAB;
  --color-accent1: #A8D5BA;
  --color-accent2: #C8DDA0;
  --color-blue: #8CBDD4;
  --color-bg: #ffffff;
  --color-bg-section: #f7faf8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e8f0ed;
  --max-width: 1200px;
  --header-height: 80px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  animation: fadeInFromWhite 1.5s ease-out;
}

@keyframes fadeInFromWhite {
  from { opacity: 0; }
  to { opacity: 1; }
}

a {
  color: var(--color-main-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-main);
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-top-bar {
  background: var(--color-bg-section);
  padding: 4px 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: right;
  display: none;
}

.header-top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.header-top-bar a {
  color: var(--color-text-light);
}

.header-main {
  padding: 0 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-top: 8px;
  padding-bottom: 8px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.header-logo-text .corp-name {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-main-dark);
  letter-spacing: 0.5px;
}

.header-logo-text .clinic-names {
  display: flex;
  flex-direction: column;
}

.header-logo-text .clinic-name {
  font-size: 0.65rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 12px;
}

.header-info .hours {
  padding: 3px 10px;
  background: var(--color-bg-section);
  border-radius: 4px;
  font-size: 0.7rem;
}

.header-info .tel {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main-dark);
  letter-spacing: 0.5px;
}

.header-info .tel-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

/* ---- Mobile Toggle ---- */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-main);
  font-size: 1.4rem;
}

#menu-checkbox {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

#menu-checkbox:checked ~ .menu-toggle .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-checkbox:checked ~ .menu-toggle .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-checkbox:checked ~ .menu-toggle .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- Navigation ---- */
.header-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px 0;
}

@media (max-width: 767px) {
  .header-nav,
  .header-nav .container,
  .header-nav .nav-list,
  .header-nav .nav-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .header-nav .nav-link {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
  .header-nav .dropdown-toggle {
    display: block !important;
    text-align: center !important;
  }
  .header-nav .dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 8px !important;
    margin-right: 0 !important;
    vertical-align: middle !important;
  }
  .header-nav .dropdown-menu a {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .header-nav .header-info {
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

#menu-checkbox:checked ~ .header-nav {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
  width: 100%;
}

.nav-link {
  display: block;
  padding: 12px 24px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
  text-align: center;
}

.nav-link br {
  display: none;
}

.nav-link:hover {
  background: var(--color-bg-section);
  color: var(--color-main-dark);
}

/* Dropdown (mobile: accordion) */
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-light);
  border-bottom: 2px solid var(--color-text-light);
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-right: 8px;
}

.dropdown-checkbox {
  display: none;
}

.dropdown-menu {
  display: none;
  background: var(--color-bg);
}

.dropdown-checkbox:checked ~ .dropdown-menu {
  display: block;
}

.dropdown-checkbox:checked ~ .dropdown-toggle::after {
  transform: rotate(-135deg);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: var(--color-bg-section);
  color: var(--color-main-dark);
}

/* Recruit link in nav */
.nav-recruit .nav-link {
  color: var(--color-main);
  font-weight: 700;
}

/* ---- Recruit header back link ---- */
.nav-back .nav-link {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

/* ========================================
   Page Hero (Title Section)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-sub) 50%, var(--color-accent1) 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.page-hero-photo {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.page-hero-photo .container {
  position: relative;
  z-index: 2;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.page-hero .subtitle {
  font-size: 0.9rem;
  margin-top: 8px;
  opacity: 0.85;
}

/* Page Hero — Wave variant */

.page-hero-wave {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #e8f5f0 0%, #d4eee6 30%, #cce5db 60%, #e0ecf4 100%);
}

.page-hero-wave .container {
  position: relative;
  z-index: 2;
}

.wave-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
}

.wave-layer-1 { height: 70%; }
.wave-layer-2 { height: 65%; }
.wave-layer-3 { height: 55%; }
.wave-layer-4 { height: 45%; }

.page-hero-wave h1 {
  color: #2a6b54;
  font-size: 2.4rem;
}

.page-hero-wave .subtitle {
  color: #4a8a72;
  opacity: 1;
}

.page-hero-sub {
  margin-top: 12px;
  font-size: 1.15rem;
  color: var(--color-text-light);
}

/* Page Hero — Circles variant */

.page-hero-circles {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(155deg, #e6f2ed 0%, #dceee6 35%, #d8e8f0 70%, #e8f0e4 100%);
}

.page-hero-circles .container {
  position: relative;
  z-index: 2;
}

.circles-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
}

.circle-1 {
  width: 320px;
  height: 320px;
  top: -100px;
  left: -80px;
  background: rgba(110,181,160,0.2);
}

.circle-2 {
  width: 220px;
  height: 220px;
  top: 20px;
  right: 10%;
  background: rgba(168,203,224,0.25);
}

.circle-3 {
  width: 400px;
  height: 400px;
  bottom: -180px;
  left: 35%;
  background: rgba(212,226,160,0.2);
}

.circle-4 {
  width: 160px;
  height: 160px;
  bottom: -30px;
  right: 5%;
  background: rgba(58,154,130,0.15);
}

.circle-5 {
  width: 120px;
  height: 120px;
  top: 30%;
  left: 20%;
  background: rgba(181,216,192,0.25);
}

.page-hero-circles h1 {
  color: #2a6b54;
}

.page-hero-circles .subtitle {
  color: #4a8a72;
  opacity: 1;
}

/* Page Hero — Leaf variant */

.page-hero-leaf {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(145deg, #f0f7f4 0%, #e4f0ec 40%, #dfeef4 100%);
}

.page-hero-leaf .container {
  position: relative;
  z-index: 2;
}

.leaf-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.leaf-shape {
  position: absolute;
}

.leaf-1 {
  width: 360px;
  height: 360px;
  top: -80px;
  left: -60px;
  transform: rotate(-15deg);
}

.leaf-2 {
  width: 280px;
  height: 210px;
  top: -30px;
  right: 5%;
  transform: rotate(25deg);
}

.leaf-3 {
  width: 420px;
  height: 250px;
  bottom: -60px;
  left: 30%;
  transform: rotate(-8deg);
}

.leaf-4 {
  width: 200px;
  height: 200px;
  bottom: -20px;
  right: 8%;
  transform: rotate(40deg);
}

.page-hero-leaf h1 {
  color: #2a6b54;
}

.page-hero-leaf .subtitle {
  color: #4a8a72;
  opacity: 1;
}

/* ========================================
   Top Page Hero (First View)
   ======================================== */
.top-hero {
  position: relative;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #333;
}

.recruit-page .top-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('../photos/スタッフ全員集合_玄関前.JPG') center 20% / cover no-repeat;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

/* Mobile: per-slide object-position */
.hero-slide:nth-child(1) img { object-position: 30% center; }
.hero-slide:nth-child(2) img { object-position: 50% center; }
.hero-slide:nth-child(3) img { object-position: 70% center; }
.hero-slide:nth-child(4) img { object-position: 80% center; }

@media (min-width: 768px) {
  .hero-slide img,
  .hero-slide:nth-child(1) img,
  .hero-slide:nth-child(2) img,
  .hero-slide:nth-child(3) img,
  .hero-slide:nth-child(4) img {
    object-position: center center;
  }
}


.top-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.top-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 16px;
  line-height: 1.3;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .top-hero h1 br.mobile-br,
  br.mobile-br {
    display: none;
  }
}

.top-hero .hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  letter-spacing: 4px;
}

/* Section cards on top page */
.section-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 48px 0;
}

.section-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.section-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.section-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 8px;
}

.section-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ========================================
   Main Content
   ======================================== */
main {
  padding: 48px 0;
  min-height: 40vh;
}

/* News Section */
.news-section {
  margin: 48px 0;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

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

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item time {
  font-size: 0.85rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.news-tag {
  font-size: 0.75rem;
  padding: 2px 12px;
  border-radius: 20px;
  background: var(--color-accent1);
  color: #fff;
  white-space: nowrap;
}

.news-tag.tag-research {
  background: var(--color-blue);
}

.news-tag.tag-recruit {
  background: #E89B6B;
}

.news-item a {
  font-size: 0.95rem;
  color: var(--color-text);
}

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

@media (max-width: 600px) {
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }
  .news-item a {
    width: 100%;
  }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--color-main-dark);
  color: #fff;
  padding: 48px 0 0;
}

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

.footer-brand {
  text-align: center;
}

.footer-logo img {
  height: 240px;
  margin: 0 auto 0;
  filter: brightness(0) invert(1);
}

.footer-brand h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.footer-clinic {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-clinic h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-accent1);
}

.footer-clinic a {
  color: #fff;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 24px;
  justify-content: start;
}

@media (max-width: 767px) {
  .footer-sitemap {
    text-align: center;
  }
}

.footer-sitemap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent1);
  margin-bottom: 4px;
  grid-column: 1 / -1;
}

.footer-sitemap-column ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-sitemap-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-sitemap-column a:hover {
  color: #fff;
}

.footer-info {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  padding-top: 0;
  padding-left: 2em;
  white-space: nowrap;
}

.footer-info .footer-br {
  display: none;
}

@media (max-width: 767px) {
  .footer-info {
    padding-left: 0;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }
  .footer-info .footer-br {
    display: inline;
  }
  .footer-info .footer-sep {
    display: none;
  }
}

.footer-info a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-clinics {
  display: flex;
  gap: 48px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom .footer-privacy-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}
.footer-bottom .footer-privacy-link:hover { color: #fff; }
.footer-bottom .footer-sep {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.4em;
}
/* プライバシーポリシー ページ：各項目の間に余白をとる */
.privacy-policy h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
}
.privacy-policy h2:first-of-type {
  margin-top: 1.6rem;
}
.privacy-policy ul {
  list-style: disc outside;
  padding-left: 1.5em;
  margin-bottom: 1.2rem;
}
.privacy-policy ul li {
  margin-bottom: 0.4em;
  line-height: 1.8;
}
.privacy-policy p {
  line-height: 1.9;
}

/* ========================================
   Desktop Styles (768px+)
   ======================================== */
@media (min-width: 768px) {
  .header-top-bar {
    display: block;
  }

  .header-logo {
    flex-shrink: 0;
  }

  .header-logo-text .corp-name {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .header-logo-text .clinic-name {
    font-size: 0.72rem;
  }

  .menu-toggle {
    display: none;
  }

  .header-nav {
    display: block;
    position: static;
    box-shadow: none;
    border-bottom: none;
    padding: 0;
    border-top: none;
    flex: 1;
    min-width: 0;
  }

  .header-nav .container {
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin-left: 24px;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
  }

  .nav-item.nav-info {
    margin-left: auto;
    border-left: 1px solid var(--color-border);
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
  }

  .nav-link br {
    display: inline;
  }

  /* Desktop dropdown: hover */
  .nav-item {
    position: relative;
  }

  .dropdown-toggle::after {
    width: 6px;
    height: 6px;
    margin-left: 6px;
    margin-right: 0;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    z-index: 100;
  }

  .nav-item:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 12px 20px;
    text-align: left;
  }

  /* Hide checkbox-based toggle on desktop */
  .dropdown-checkbox,
  .dropdown-checkbox:checked ~ .dropdown-menu {
    display: none;
  }

  .nav-item:hover > .dropdown-menu {
    display: block;
  }

  /* Page hero */
  .page-hero {
    padding: 64px 0;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  /* Top hero */
  .top-hero h1 {
    font-size: 2.5rem;
  }

  /* Section cards */
  .section-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 64px 0;
  }

  /* Footer */
  .footer-inner {
    display: flex;
    gap: 0;
    align-items: center;
  }

  .footer-brand {
    text-align: left;
    flex-shrink: 0;
    margin-right: 32px;
  }

  .footer-logo img {
    margin: 0 0 16px;
  }

  .footer-sitemap {
    flex: 1;
    grid-template-columns: repeat(5, auto);
  }

  .footer-clinics {
    text-align: left;
  }
}

/* ========================================
   Large Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .nav-link {
    padding: 14px 18px;
    font-size: 0.85rem;
  }

  .top-hero {
    padding: 100px 0;
    min-height: 65vh;
  }

  .top-hero h1 {
    font-size: 2.8rem;
  }

  .section-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-sitemap {
    gap: 10px 32px;
  }
}

/* ========================================
   About Page — Philosophy & Messages
   ======================================== */

/* Philosophy Section */
.philosophy-section {
  text-align: center;
  padding: 64px 0;
  background: var(--color-bg-section);
}

.philosophy-catchphrase {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-main-dark);
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.philosophy-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text);
}

.philosophy-text p {
  margin-bottom: 1.2em;
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}

/* Message (Greeting) Section */
.message-section {
  padding: 64px 0;
}

.message-section:nth-child(even) {
  background: var(--color-bg-section);
}

.message-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.message-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-body {
  flex: 1;
}

.message-role {
  font-size: 0.9rem;
  color: var(--color-main);
  font-weight: 500;
  margin-bottom: 4px;
}

.message-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 4px;
}

.message-credentials {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.message-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text);
}

.message-text p {
  margin-bottom: 1.2em;
}

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

/* Insert Photo */
.insert-photo {
  margin: 0;
}

.insert-photo.insert-right {
  float: right;
  width: 45%;
  margin: 0 0 24px 32px;
  border-radius: 12px;
  overflow: hidden;
}

.insert-photo img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Egg-shaped photo with decorative blob background */
.insert-photo.insert-photo-egg.insert-right {
  width: 300px;
  margin-right: -140px;
  margin-left: 48px;
  border-radius: 0;
  overflow: visible;
  background: none;
  position: relative;
}
.insert-photo-egg::before {
  content: "";
  position: absolute;
  top: -15%;
  left: -15%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110,181,160,0.5), rgba(91,168,148,0.4));
  border-radius: 50% 60% 40% 50% / 60% 40% 50% 50%;
  z-index: 0;
  opacity: 0.5;
}
.insert-photo-egg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 45% 55% 55% 45% / 50% 50% 50% 50%;
  display: block;
}

@media (max-width: 767px) {
  .insert-photo.insert-photo-egg.insert-right {
    float: none;
    width: 220px;
    margin: 0 auto 24px;
  }
}

@media (max-width: 767px) {
  .insert-photo.insert-right {
    float: none;
    width: 100%;
    margin: 0 0 24px 0;
  }
}

/* Career / Biography */
.message-career {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.message-career h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 12px;
}

.career-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.career-columns dl:first-child {
  padding-right: 24px;
  border-right: 1px solid var(--color-border);
}

.career-columns dl:last-child {
  padding-left: 24px;
}

.message-career dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .career-columns {
    grid-template-columns: 1fr;
  }

  .career-columns dl:first-child {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .career-columns dl:last-child {
    padding-left: 0;
  }
}

.message-career dt {
  color: var(--color-text-light);
  white-space: nowrap;
}

.message-career dd {
  color: var(--color-text);
}

/* Team Section */
.team-section {
  padding: 64px 0;
  background: var(--color-bg-section);
}

.team-section .section-title {
  text-align: center;
  border-bottom: none;
  margin-bottom: 16px;
}

.team-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.team-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.team-role-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.team-role-card .role-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.team-role-card .role-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 4px;
}

.team-role-card .role-count {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main);
}

.team-role-card .role-count span {
  font-size: 0.85rem;
  font-weight: 400;
}

.team-staff-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main-dark);
  text-align: center;
  margin-bottom: 24px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.staff-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.staff-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent1), var(--color-sub));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  overflow: hidden;
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-info .staff-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.staff-info .staff-credential {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.staff-group {
  margin-bottom: 40px;
}

.staff-group:last-child {
  margin-bottom: 0;
}

/* Desktop: message card side-by-side */
@media (min-width: 768px) {
  .message-card {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .message-card.reverse {
    flex-direction: row-reverse;
  }

  .philosophy-catchphrase {
    font-size: 2rem;
  }

  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .message-photo {
    width: 240px;
    height: 240px;
  }
}

/* ========================================
   Interview Page
   ======================================== */

.interview-lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text);
}

.interview-lead p {
  margin-bottom: 1em;
}

/* Interview Navigation Cards */
.interview-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 64px;
}

.interview-nav-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.2s, transform 0.2s;
  border-bottom: 3px solid var(--color-main);
}

.interview-nav-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.interview-nav-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-accent1), var(--color-sub));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.interview-nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-nav-info .interview-nav-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-main-dark);
}

.interview-nav-info .interview-nav-role {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* Interview Section */
.interview-section {
  padding: 64px 0;
}

.interview-section:nth-child(even) {
  background: var(--color-bg-section);
}

.interview-section + .interview-section {
  border-top: 1px solid var(--color-border);
}

/* Interview Profile */
.interview-profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.interview-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-border);
}

.interview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-avatar-initials {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent1), var(--color-sub));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.interview-profile-body {
  flex: 1;
}

.interview-profile-role {
  font-size: 0.9rem;
  color: var(--color-main);
  font-weight: 500;
  margin-bottom: 4px;
}

.interview-profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 12px;
}

.interview-catchphrase {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-main-dark);
  font-style: italic;
  line-height: 1.6;
}

/* Q&A */
.interview-qa {
  max-width: 800px;
  margin: 0 auto;
}

.qa-item {
  margin-bottom: 36px;
}

.qa-item:last-child {
  margin-bottom: 0;
}

.qa-question {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main-dark);
  padding-left: 20px;
  border-left: 3px solid var(--color-main);
  margin-bottom: 12px;
  line-height: 1.6;
}

.qa-answer {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text);
  padding-left: 20px;
}

.qa-answer p {
  margin-bottom: 1em;
}

.qa-answer p:last-child {
  margin-bottom: 0;
}

/* Interview CTA */
.interview-cta {
  text-align: center;
  padding: 64px 0;
  background: var(--color-bg-section);
}

.interview-cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 16px;
}

.interview-cta-text {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.interview-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.interview-cta-buttons a {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--color-main);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-main-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-main-dark);
  border: 2px solid var(--color-main);
}

.btn-secondary:hover {
  background: var(--color-main);
  color: #fff;
  transform: translateY(-1px);
}

/* Interview Responsive */
@media (min-width: 768px) {
  .interview-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .interview-nav-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .interview-profile {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .interview-photo,
  .interview-avatar-initials {
    width: 220px;
    height: 220px;
  }

  .interview-avatar-initials {
    font-size: 3rem;
  }
}

/* ========================================
   Clinics Page
   ======================================== */

.clinic-detail-section {
  padding: var(--spacing-xl) 0;
}

.clinic-detail-section + .clinic-detail-section {
  border-top: none;
  margin-top: 3rem;
}

.clinic-detail-card {
  max-width: 960px;
  margin: 0 auto;
}

.clinic-detail-card-wide {
  max-width: 1060px;
}

.clinic-detail-grid {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.clinic-photo-sm {
  width: 38%;
  flex-shrink: 0;
}

.clinic-photo-sm img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.clinic-info {
  flex: 1;
  min-width: 0;
}

.clinic-info-table {
  width: 100%;
  border-collapse: collapse;
}

.clinic-info-table th,
.clinic-info-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  text-align: left;
  vertical-align: top;
  font-size: 1.5rem;
}

.clinic-info-table th {
  width: 5rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-primary, #2a7d4f);
}

.clinic-services-table {
  max-width: 960px;
  width: 100%;
  margin: 1.5rem auto 0;
  border-collapse: collapse;
}

.clinic-services-table th,
.clinic-services-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  text-align: left;
  vertical-align: top;
  font-size: 1.5rem;
  line-height: 1.7;
}

.clinic-services-table th {
  width: 9rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-primary, #2a7d4f);
}

.clinic-services-note {
  margin-left: 0.3em;
  font-size: 0.82em;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .clinic-services-table th,
  .clinic-services-table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 0.3rem 0;
  }
  .clinic-services-table tr {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
  }
}

/* ── Job requirements table（募集要項用） ── */
.job-requirements-table {
  max-width: 800px;
  width: 100%;
  margin: 1.5rem auto 0;
  border-collapse: collapse;
}

.job-requirements-table th,
.job-requirements-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  text-align: left;
  vertical-align: top;
  font-size: 1.1rem;
  line-height: 1.7;
}

.job-requirements-table th {
  width: 11rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-primary, #2a7d4f);
  background: rgba(110, 181, 160, 0.06);
}

.job-requirements-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.job-requirements-list li {
  margin-bottom: 0.3em;
}

.job-requirements-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .job-requirements-table th,
  .job-requirements-table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 0.3rem 0;
    white-space: normal;
  }
  .job-requirements-table tr {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
  }
  .job-requirements-table th {
    background: transparent;
    padding-bottom: 0.2rem;
  }
}

.clinic-staff-heading {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
  margin-bottom: var(--spacing-sm);
  padding-left: 0.9rem;
  font-size: 1.5rem;
  color: var(--color-primary, #2a7d4f);
}

.clinic-staff-heading-center {
  text-align: center;
}

.clinic-staff-heading-divider {
  border-top: 1px solid var(--color-border, #e0e0e0);
  padding-top: 2.5rem;
  margin-top: 3rem;
}

.clinic-notice-link {
  max-width: 960px;
  margin: 0.5rem auto 0;
  padding-left: 0.9rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.clinic-map {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.clinic-map-inner {
  position: relative;
  padding-bottom: 56.25%; /* 9:16 = 56.25% */
  height: 0;
  overflow: hidden;
}

.clinic-map-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .clinic-detail-grid {
    flex-direction: column;
  }

  .clinic-photo-sm {
    width: 60%;
    margin: 0 auto;
  }
}

/* Schedule Table */

.schedule-table {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #c0c0c0;
  padding: 0.6rem 0.4rem;
  vertical-align: middle;
}

.schedule-table thead th {
  background: var(--color-bg-light, #f8f8f8);
  font-weight: 700;
}

.schedule-category {
  font-weight: 700;
  white-space: nowrap;
}

.schedule-time {
  white-space: nowrap;
  font-size: 1.2rem;
  color: #666;
}

.schedule-closed {
  color: #999;
  background: var(--color-bg-light, #f8f8f8);
}

/* Doctor Circle Cards */

.doctor-circle-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.doctor-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.2s;
}

.doctor-circle:hover {
  transform: translateY(-4px);
}

.doctor-circle-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-primary-light, #8ec8a8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #666;
  background: var(--color-bg-light, #f8f8f8);
}

.doctor-circle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-circle-role {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #888;
}

.doctor-circle-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* Doctor Modal */

.doctor-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.doctor-modal-overlay.is-active {
  display: flex;
}

.doctor-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  /* flexアイテムが内容の最小幅で画面外へはみ出すのを防ぐ */
  min-width: 0;
  padding: 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.doctor-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.doctor-modal-close:hover {
  color: #333;
}

.doctor-modal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.doctor-modal-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-primary-light, #8ec8a8);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #666;
  background: var(--color-bg-light, #f8f8f8);
}

.doctor-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-modal-role {
  font-size: 0.85rem;
  color: #888;
}

.doctor-modal-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.doctor-modal-detail {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.doctor-modal-detail dt {
  font-weight: 700;
  color: var(--color-primary, #2a7d4f);
}

.doctor-modal-detail dd {
  margin: 0;
}

.doctor-modal-training {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border, #e0e0e0);
  font-size: 0.95rem;
}

.doctor-modal-training p {
  margin: 0.25rem 0;
  /* 長い研修名がはみ出さないよう折り返しを許可（PCでは1行に収まる） */
  white-space: normal;
}

.doctor-modal-training .label {
  font-weight: 700;
  color: var(--color-primary, #2a7d4f);
  margin-right: 0.4rem;
}

.doctor-modal-training-flat {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.doctor-modal-training-flat p {
  margin: 0.5rem 0 0;
}

.doctor-modal-message {
  background: var(--color-bg-light, #f8f8f8);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .doctor-modal {
    padding: 1.5rem 1.25rem;
  }
}

/* ========================================
   Results Page — 診療実績
   ======================================== */
.results-section {
  padding: 4rem 0;
}
.results-section:nth-child(even) {
  background: var(--color-bg-section);
}
.results-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-main-dark);
}
.results-section-lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* -- 大カード -- */
.results-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.results-card--large {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
/* 全幅カード（NPSと同じく中央に数値・両脇に余白） */
.results-card--full {
  grid-column: 1 / -1;
  max-width: 880px;
  margin: 0 auto 0.5rem;
  width: 100%;
}
.results-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.results-card__header--center {
  justify-content: center;
}
.results-card__icon {
  font-size: 1.5rem;
}
.results-card__title {
  font-size: 1.3rem;
  font-weight: 600;
}
.results-card__body {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  flex: 1;
  /* チャート（canvas）はレスポンシブ描画のため relative ブロックのまま保持。
     高さはカード（grid stretch）に追従させる */
  min-height: 260px;
}
.results-card__body > canvas {
  max-width: 100%;
}
.results-card__body--split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.results-card__body--stat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1.5rem 1rem 2rem;
}
.results-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.results-stat__label {
  font-size: 1.15rem;
  font-weight: 500;
  color: #555;
}
.results-stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.results-stat__num {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-main-dark);
}
.results-stat__unit {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-main-dark);
}
.results-place-chart {
  flex: 1;
  max-width: 200px;
}
.results-place-legend {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 凡例ドット */
.legend-item, .mitori-legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-label, .mitori-legend-label {
  font-size: 1.1rem;
  font-weight: 500;
}
.legend-value, .mitori-legend-value {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* -- 看取りセクション -- */
.mitori-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 700px;
  margin: 0 auto;
}
.mitori-chart {
  position: relative;
  width: 280px;
  height: 280px;
}
.mitori-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.mitori-total-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-main-dark);
  line-height: 1;
}
.mitori-total-unit {
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.mitori-legend {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.mitori-legend-item {
  gap: 0.8rem;
}
.mitori-legend-item div {
  display: flex;
  flex-direction: column;
}
.mitori-legend-label {
  font-size: 1.2rem;
}
.mitori-legend-value {
  font-size: 1rem;
}

/* -- 処置・デバイス 2カラム -- */
.results-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.results-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
}
.results-block .results-section-title {
  font-size: 1.4rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.procedure-list {
  list-style: none;
}
.procedure-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}
.procedure-item:last-child {
  border-bottom: none;
}
.procedure-name {
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.procedure-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-main-dark);
}

/* ツールチップボタン */
.tooltip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--color-main);
  background: transparent;
  color: var(--color-main);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.tooltip-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #333;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 420px;
  min-width: 280px;
  width: max-content;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 他施設評価プレースホルダー（旧） */
.evaluation-placeholder {
  background: #fff;
  border: 2px dashed var(--color-border);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-text-light);
}

/* -- NPSカード -- */
.nps-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.nps-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.nps-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.nps-title-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 0.2rem;
}
.nps-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}
.nps-score-main {
  line-height: 1;
}
.nps-score-value {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--color-main-dark);
  letter-spacing: -0.02em;
}
.nps-score-meta {
  margin-top: 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nps-score-ci {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 500;
}
.nps-score-n {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* -- NPS内訳バー -- */
.nps-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.nps-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 130px;
  align-items: center;
  gap: 1rem;
}
.nps-bar-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nps-bar-cat {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  color: #fff;
  flex-shrink: 0;
}
.nps-bar-cat--promoter  { background: #5BA4A4; }
.nps-bar-cat--passive   { background: #A8D5BA; color: #2c5740; }
.nps-bar-cat--detractor { background: #C68F8F; }
.nps-bar-range {
  font-size: 0.9rem;
  color: var(--color-text-light);
  white-space: nowrap;
}
.nps-bar-track {
  background: #f0f3f1;
  border-radius: 6px;
  height: 22px;
  overflow: hidden;
}
.nps-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}
.nps-bar-fill--promoter  { background: #5BA4A4; }
.nps-bar-fill--passive   { background: #A8D5BA; }
.nps-bar-fill--detractor { background: #C68F8F; }
.nps-bar-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
  white-space: nowrap;
}

/* -- NPS解説 -- */
.nps-explain {
  background: var(--color-bg-section);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}
.nps-explain-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 0.6rem;
}
.nps-explain p + p {
  margin-top: 0.8rem;
}
.nps-explain-method,
.nps-explain-link {
  font-size: 0.9rem !important;
  color: var(--color-text-light);
  margin-top: 1rem !important;
}
.nps-explain-method a,
.nps-explain-link a {
  color: var(--color-main-dark);
  text-decoration: underline;
}

/* -- NPS 調査方法 -- */
.nps-method {
  margin-top: 1.5rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
}
.nps-method-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 0.8rem;
}
.nps-method-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
}
.nps-method-item {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 1rem;
  align-items: baseline;
}
.nps-method-item dt {
  font-weight: 600;
  color: var(--color-text-light);
}
.nps-method-item dd {
  margin: 0;
}

/* -- レスポンシブ -- */
@media (max-width: 768px) {
  .results-cards {
    grid-template-columns: 1fr;
  }
  .results-card--large {
    padding: 1.2rem 0.9rem;
  }
  .results-card__title {
    font-size: 1.15rem;
  }
  .results-two-col {
    grid-template-columns: 1fr;
  }
  .mitori-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .mitori-chart {
    width: 220px;
    height: 220px;
  }
  .results-card__body--split {
    flex-direction: column;
  }
  .results-place-chart {
    max-width: 160px;
  }
  /* NPS card mobile */
  .nps-card {
    padding: 1.8rem 1.2rem;
  }
  .nps-score-value {
    font-size: 3.6rem;
  }
  .nps-title {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.2rem;
  }
  .nps-bar-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .nps-bar-label {
    gap: 0.4rem;
  }
  .nps-bar-value {
    text-align: left;
    font-size: 0.95rem;
  }
  .nps-explain {
    padding: 1.2rem;
    font-size: 1rem;
  }
  .nps-method {
    padding: 1.1rem 1.2rem;
  }
  .nps-method-item {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* ========================================
   Home Care Page
   ======================================== */

/* Lead Section */
.hc-lead-section {
  padding: 48px 0 32px;
}

.hc-lead {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hc-lead p + p {
  margin-top: 16px;
}

/* Target Section */
.hc-target-section {
  padding: 48px 0;
  background: var(--color-bg-section);
}

.hc-target-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

.hc-target-text {
  font-size: 1.1rem;
  line-height: 2;
}

.hc-target-text p + p {
  margin-top: 12px;
}

.emergency-contact-list {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.emergency-contact-list dt {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-main-dark);
  padding: 10px 16px;
  background: var(--color-bg-soft, #f0f5f4);
  border-left: 4px solid var(--color-main-dark);
  border-radius: 4px;
  margin-bottom: 6px;
}

/* 夜間・休日（時間外）は青系で日中と区別 */
.emergency-contact-list dt.emergency-night {
  color: #2f5f7e;
  background: #e9f1f7;
  border-left-color: #4a7fa3;
}

.emergency-contact-list dd {
  margin: 0 0 4px 0;
  padding: 0 16px 6px;
  font-size: 1.1rem;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .emergency-contact-list {
    grid-template-columns: max-content 1fr;
    gap: 12px 24px;
    align-items: baseline;
  }
  .emergency-contact-list dt {
    margin-bottom: 0;
  }
  .emergency-contact-list dd {
    padding: 0;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    padding-bottom: 12px;
  }
}

.hc-target-list-wrap {
  border: 2px solid var(--color-accent1);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 24px;
}

.hc-target-list {
  list-style: none;
  padding: 0;
}

.hc-target-list li {
  position: relative;
  padding-left: 24px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hc-target-list li + li {
  margin-top: 10px;
}

.hc-target-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--color-sub);
  border-radius: 50%;
}

.hc-target-photo {
  max-width: 420px;
  margin: 0 auto;
}

.hc-target-photo img {
  width: 100%;
  height: auto;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hc-target-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .hc-target-body {
    flex: 1;
    min-width: 0;
  }

  .hc-target-photo {
    width: 360px;
    flex-shrink: 0;
  }
}

/* Cost Section */
.hc-cost-section {
  padding: 48px 0;
}

.hc-cost-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  text-align: center;
}

.hc-cost-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 16px;
}

.hc-cost-ratio {
  margin-bottom: 40px;
  text-align: center;
}

.hc-cost-ratio h3 {
  text-align: center;
}

.hc-cost-model {
  text-align: center;
}

.hc-cost-model h3 {
  text-align: center;
}

.hc-ratio-table {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.hc-ratio-table td {
  padding: 14px 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

.hc-ratio-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
  width: 140px;
  color: var(--color-main-dark);
}

.hc-cost-model {
  margin-bottom: 40px;
}

.hc-cost-condition {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-top: 4px;
}

.hc-cost-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.hc-cost-table th,
.hc-cost-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.1rem;
  text-align: left;
}

.hc-cost-table td:first-child,
.hc-cost-table th:first-child {
  white-space: nowrap;
}

.hc-cost-table th {
  background: var(--color-bg-section);
  font-weight: 700;
  color: var(--color-main-dark);
}

.hc-cost-table .num {
  text-align: right;
  white-space: nowrap;
  width: 120px;
}

.hc-cost-table .total-row {
  font-weight: 700;
  border-top: 2px solid var(--color-main);
}

@media (max-width: 767px) {
  .hc-cost-table th,
  .hc-cost-table td {
    padding: 10px 6px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hc-cost-table td:first-child,
  .hc-cost-table th:first-child {
    white-space: normal;
  }

  .hc-cost-table .num {
    width: auto;
    padding-left: 8px;
  }
}

.hc-cost-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0 auto 24px;
  max-width: 920px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .hc-cost-row {
    flex-direction: row;
    justify-content: center;
    gap: 28px;
    padding: 28px 32px;
  }
}

.hc-cost-note-sm {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.hc-cost-card {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex-shrink: 0;
}

.hc-cost-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main-dark);
}

.hc-cost-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.hc-cost-amount small {
  font-size: 0.85rem;
  font-weight: 400;
}

.hc-cost-notes {
  background: var(--color-bg-section);
  border-radius: 8px;
  padding: 18px 24px;
  margin-bottom: 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hc-cost-notes p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

.hc-cost-notes p + p {
  margin-top: 6px;
}

.hc-cost-limit {
  margin-bottom: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hc-cost-limit h3 {
  text-align: center;
}

.hc-cost-limit p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* CTA Section */
.hc-cta-section {
  margin-top: 64px;
  padding: 48px 0;
  background: var(--color-bg-section);
}

.message-section + .hc-cta-section {
  margin-top: 48px;
}

.hc-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hc-cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 16px;
}

.hc-cta-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

.hc-cta-tel {
  margin-bottom: 24px;
}

.hc-cta-hours {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.hc-cta-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-main-dark);
  text-decoration: none;
  letter-spacing: 1px;
}

.hc-cta-number:hover {
  color: var(--color-main);
}

.hc-cta-btn {
  display: inline-block;
  background: var(--color-main);
  color: #fff;
  padding: 14px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s;
}

.hc-cta-btn:hover {
  background: var(--color-main-dark);
}

.hc-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.hc-cta-buttons .hc-cta-btn {
  flex: 1 1 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 28px;
  line-height: 1.5;
}

.hc-cta-btn-label {
  font-size: 0.95rem;
  font-weight: 700;
}

.hc-cta-btn-label small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

.hc-cta-btn-text {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.92;
}

.hc-cta-btn-secondary {
  background: #fff;
  color: var(--color-main-dark);
  border: 2px solid var(--color-main);
}

.hc-cta-btn-secondary:hover {
  background: var(--color-main);
  color: #fff;
}

.hc-cta-btn-primary {
  background: #6eb5a0;
  color: #fff;
  border: 2px solid var(--color-main);
}

.hc-cta-btn-primary:hover {
  background: #4f9a85;
  color: #fff;
  border-color: #4f9a85;
}

/* ======== 訪問対応エリア (area.html) ======== */
.area-section {
  padding: 60px 0 80px;
}

.area-intro {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.area-map {
  max-width: 820px;
  margin: 0 auto 50px;
}

.area-map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #eaf4ea;
}

.area-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#area-map-canvas .leaflet-tile-pane {
  filter: saturate(0.35) brightness(1.04);
}

@media (max-width: 600px) {
  .area-map-embed { aspect-ratio: 1 / 1; }
}

.clinic-pin {
  position: relative;
}
.clinic-pin .clinic-pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2c6e8f;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.3);
}
.clinic-pin .clinic-pin-label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  color: #2c6e8f;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.area-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.area-map-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #444;
}

.legend-swatch {
  display: inline-block;
  width: 22px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.swatch-covered { background: #fbe0e3; border-color: #e89aa3; }
.swatch-consult { background: #f5f5f0; border-color: #d9d9cf; }

/* SVG map shapes */
.area-map-svg .area-bg { fill: #eaf4ea; }
.area-map-svg .area-shape {
  fill: #f5f5f0;
  stroke: #ffffff;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.area-map-svg .area-shape.covered {
  fill: #fbe0e3;
  stroke: #ffffff;
}
.area-map-svg .area-label {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  fill: #999;
  text-anchor: middle;
  pointer-events: none;
}
.area-map-svg .area-label.covered {
  fill: #333;
  font-weight: 600;
}
.area-map-svg .pin-label {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  fill: #222;
}

.area-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.area-detail-card {
  background: #fafaf6;
  border-left: 4px solid var(--color-main, #6eb5a0);
  border-radius: 6px;
  padding: 20px 24px;
}

.area-detail-card h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--color-main-dark, #3a9a82);
}

.area-detail-card p {
  margin: 0;
  line-height: 1.7;
}

.area-note {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

@media (max-width: 640px) {
  .area-detail-grid { grid-template-columns: 1fr; }
}

/* ===== Professionals page ===== */
.pro-intro {
  max-width: 820px;
  margin: 3rem auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}
.pro-section {
  max-width: 900px;
  margin: 0 auto 3.5rem;
}
.pro-step-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: #2a6f5a;
  border-bottom: 2px solid #6eb5a0;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}
.pro-step-num {
  background: #2a6f5a;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.pro-section-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}
.pro-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.pro-flow-card {
  border: 2px solid #6eb5a0;
  border-radius: 12px;
  padding: 1.5rem;
  background: #f4faf7;
  text-align: center;
}
.pro-flow-kyoto {
  border-color: #a8cbe0;
  background: #f3f8fc;
}
.pro-flow-area {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  padding: 0.8rem;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.pro-flow-arrow {
  font-size: 1.5rem;
  color: #6eb5a0;
  margin: 0.4rem 0;
}
.pro-flow-kyoto .pro-flow-arrow { color: #a8cbe0; }
.pro-flow-clinic h3 {
  font-size: 1.25rem;
  color: #2a6f5a;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.pro-flow-kyoto .pro-flow-clinic h3 { color: #3a6c8a; }
.pro-clinic-fullname {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  margin-top: 0.2rem;
}
.pro-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}
.pro-contact dt {
  font-weight: 700;
  color: #555;
  font-size: 1rem;
  letter-spacing: 0.08em;
  display: inline;
  margin-right: 0.6rem;
  vertical-align: middle;
}
.pro-contact dd {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.02em;
  display: inline;
  vertical-align: middle;
}
.pro-contact > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
}
.pro-contact dd a { color: #2a6f5a; text-decoration: none; }
.pro-flow-note {
  background: #fff8e1;
  border-left: 4px solid #e6b85c;
  padding: 1rem 1.3rem;
  border-radius: 4px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.pro-flow-note p { margin: 0; }
.pro-list {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  padding-left: 1.3rem;
}
.pro-list li { margin-bottom: 0.6rem; }
.pro-callout {
  background: #f4faf7;
  padding: 2rem 2.2rem;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .pro-flow { grid-template-columns: 1fr; }
}

.pro-contact-box {
  background: #f4faf7;
  border: 2px solid #6eb5a0;
  border-radius: 12px;
  padding: 1.8rem 2rem;
  text-align: center;
  margin-bottom: 1.2rem;
}
.pro-contact-box-sub {
  background: #f3f8fc;
  border-color: #a8cbe0;
}
.pro-contact-title {
  font-size: 1.2rem;
  color: #2a6f5a;
  margin: 0 0 1.2rem;
}
.pro-contact-box-sub .pro-contact-title { color: #3a6c8a; }
.pro-contact-lg dd {
  font-size: 1.9rem;
}
.pro-contact-hours {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: #666;
}
.pro-download {
  text-align: center;
  margin: 1.8rem 0 0;
}
.pro-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #2a6f5a;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s;
}
.pro-download-btn:hover { background: #1f5544; }
.pro-download-icon { font-size: 0.9rem; }
.pro-phone-lead { margin-top: 2rem; }

.pro-fax-heading {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin: 2rem 0 0.4rem;
}
.pro-fax-lead {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin: 0 0 1.2rem;
}
.pro-fax-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.pro-fax-card {
  border: 2px solid #6eb5a0;
  border-radius: 12px;
  padding: 1.3rem 1rem;
  text-align: center;
  background: #f4faf7;
}
.pro-fax-kyoto {
  border-color: #a8cbe0;
  background: #f3f8fc;
}
.pro-fax-area {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  background: #fff;
  padding: 0.7rem;
  border-radius: 8px;
  line-height: 1.5;
}
.pro-fax-arrow {
  font-size: 1.4rem;
  color: #6eb5a0;
  margin: 0.4rem 0 0.3rem;
}
.pro-fax-kyoto .pro-fax-arrow { color: #a8cbe0; }
.pro-fax-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a6f5a;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.pro-fax-kyoto .pro-fax-label { color: #3a6c8a; }
.pro-fax-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .pro-fax-split { grid-template-columns: 1fr; }
}

/* ======== Contact Page ======== */
.contact-main { padding: 3rem 0 5rem; }
.contact-main h2 {
  font-size: 1.6rem;
  color: #2a6f5a;
  border-left: 5px solid #2a6f5a;
  padding-left: 0.8rem;
  margin: 0 0 1.5rem;
}
.contact-info { margin-bottom: 3rem; }
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-info-clinic {
  background: #f5faf7;
  border: 1px solid #d4e6dc;
  border-radius: 8px;
  padding: 1.5rem;
}
.contact-info-clinic h3 {
  font-size: 1.15rem;
  color: #2a6f5a;
  margin: 0 0 0.8rem;
}
.contact-info-clinic p {
  font-size: 1.1rem;
  margin: 0.3rem 0;
  line-height: 1.7;
}
.contact-info-clinic .contact-tel {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.6rem 0 0.3rem;
  color: #2a6f5a;
  letter-spacing: 0.02em;
}
.contact-info-clinic .contact-tel a {
  color: #2a6f5a;
  text-decoration: none;
}
.contact-info-clinic .contact-tel-note {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 0.3rem;
}
.contact-info-clinic .contact-fax {
  font-size: 1.45rem;
  font-weight: 700;
  color: #444;
  margin: 0.2rem 0 0.3rem;
  letter-spacing: 0.02em;
}
.contact-info-clinic a { color: #2a6f5a; font-weight: 700; }
.contact-info-hours {
  display: inline-block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.8rem auto 0;
  color: #fff;
  background: #6a9fbf;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(106, 159, 191, 0.25);
}
.contact-info { text-align: center; }
.contact-info h2 { text-align: left; }
.contact-info-grid { text-align: left; }
@media (max-width: 768px) {
  .contact-info-clinic .contact-tel { font-size: 1.65rem; }
  .contact-info-clinic .contact-fax { font-size: 1.2rem; }
  .contact-info-hours { font-size: 1.25rem; }
}

.contact-notice { margin-bottom: 2.5rem; }
.contact-notice-box {
  background: #fff8e8;
  border-left: 5px solid #e8a93a;
  padding: 1.3rem 1.5rem;
  border-radius: 4px;
}
.contact-notice-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0.4rem 0;
}

.contact-form-section { max-width: 760px; margin: 0 auto; }
.contact-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
}
.form-row { margin-bottom: 1.5rem; }
.form-row label {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}
.form-row .required {
  display: inline-block;
  background: #d64545;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-size: 1.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c4c4c4;
  border-radius: 6px;
  background: #fafafa;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #2a6f5a;
  background: #fff;
}
.form-row textarea { resize: vertical; }
.date-time-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.date-time-group input[type="date"],
.date-time-group select {
  flex: 1 1 160px;
  min-width: 0;
  width: auto;
}
@media (max-width: 600px) {
  .date-time-group { flex-direction: column; gap: 0.5rem; }
  .date-time-group input[type="date"],
  .date-time-group select { flex: 1 1 auto; width: 100%; }
}
.form-submit { text-align: center; margin-top: 2rem; }
.contact-submit-btn {
  background: #2a6f5a;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem 3rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-submit-btn:hover { background: #1f5544; }

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.3rem; }
  .contact-submit-btn { width: 100%; padding: 1rem; }
}

/* ======== Recruit Pages — Blue Theme ======== */
.recruit-page {
  --color-main: #5B8DB8;
  --color-main-dark: #3a6a8f;
  --color-sub: #7BAED0;
  --color-accent1: #A8CBE0;
  --color-accent2: #B8D4E8;
  --color-blue: #8CBDD4;
  --color-bg-section: #f5f8fb;
  --color-border: #dce8f0;
}
/* Recruit: hardcoded greens → blue */
.recruit-page .pro-contact dd a,
.recruit-page .contact-info-clinic a { color: #3a6a8f; }
.recruit-page .contact-submit-btn,
.recruit-page .btn-primary { background: #3a6a8f; }
.recruit-page .contact-submit-btn:hover,
.recruit-page .btn-primary:hover { background: #2d5474; }
.recruit-page .form-row input:focus,
.recruit-page .form-row select:focus,
.recruit-page .form-row textarea:focus { border-color: #5B8DB8; }
.recruit-page .form-row .required {
  background: transparent;
  color: #c0392b;
  border: 1px solid #c0392b;
}
.recruit-page a { color: #3a6a8f; }
.recruit-page a.hc-cta-btn { color: #fff; }
.recruit-page a.hc-cta-btn:hover { color: #fff; }
.recruit-page .page-hero-wave {
  background: linear-gradient(160deg, #e8f0f8 0%, #dae8f4 30%, #cde0f0 60%, #e4ecf6 100%);
}
.recruit-page .page-hero-wave h1 { color: #3a6a8f; }
.recruit-page .page-hero-wave .subtitle { color: #5B8DB8; }
.recruit-page .site-footer { background: #2d3e50; }
.recruit-page .footer-bottom { border-top-color: rgba(255,255,255,0.15); }
.recruit-page .site-footer a,
.recruit-page .footer-sitemap-column a,
.recruit-page .footer-info a { color: rgba(255, 255, 255, 0.85); }
.recruit-page .footer-sitemap-column a:hover,
.recruit-page .site-footer a:hover { color: #fff; }

/* ========================================
   文書料金 / 保健医療機関における掲示
   ======================================== */

/* clinics.html 下部の文書料金誘導 */
.fee-link-lead {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.fee-link-btn-wrap {
  text-align: center;
  margin-bottom: 0.5rem;
}

.fee-link-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-primary, #2a7d4f);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.fee-link-btn:hover {
  background: #1f5f3b;
}

/* index.html お知らせ下の掲示リンク */
.notices-link-section {
  margin: 48px 0;
  text-align: left;
}

.notices-link {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main-dark);
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.notices-link:hover {
  opacity: 0.8;
}

/* documents-fee.html 料金表 */
.fee-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.fee-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.fee-table th,
.fee-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  text-align: left;
  vertical-align: top;
}

.fee-table thead th {
  background: #f4f8f5;
  color: var(--color-primary, #2a7d4f);
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary, #2a7d4f);
}

.fee-table .fee-col {
  text-align: right;
  white-space: nowrap;
  width: 11rem;
}

.fee-notes {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-sub, #555);
}

.fee-notes li {
  margin-bottom: 0.4rem;
}

/* notices.html 掲示セクション */
.notice-section {
  padding: 3rem 0;
}

.notice-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.notice-block {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.notice-block:last-child {
  border-bottom: none;
}

.notice-block .section-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.notice-block p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.notice-list {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0 0 0 1.25rem;
  list-style: disc outside;
  font-size: 1.1rem;
  line-height: 1.9;
}

.notice-list li {
  margin-bottom: 0.4rem;
}

.notice-list-2col {
  columns: 2;
  column-gap: 2rem;
}

.notice-sub-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-main-dark);
  margin: 1.4rem 0 0.5rem;
  padding-left: 0.6rem;
  border-left: 3px solid var(--color-main-dark);
}

.notice-sub-sub-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text, #333);
  margin: 1.1rem 0 0.4rem;
}

.guideline-supplemental {
  font-size: 0.92rem;
  color: var(--color-text-light, #555);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.6;
}

/* オンライン診療指針 チェックリスト表 */
.guideline-checklist {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border, #e0e0e0);
}

.guideline-checklist td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  font-size: 1rem;
  line-height: 1.85;
  vertical-align: middle;
}

.guideline-checklist ul.sub-list {
  margin: 0.5rem 0 0.25rem 1.5rem;
  padding-left: 0.5rem;
  list-style: disc outside;
}

.guideline-checklist ul.sub-list li {
  margin-bottom: 0.3rem;
  line-height: 1.7;
  font-size: 0.97rem;
}

.guideline-checklist .note {
  display: block;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg-soft, #f5f7f6);
  border-left: 3px solid var(--color-main-dark);
  font-size: 0.92rem;
  color: var(--color-text-light, #555);
  line-height: 1.7;
}

.guideline-checklist tr:last-child td {
  border-bottom: none;
}

.guideline-checklist td.check {
  width: 3.5rem;
  text-align: center;
  color: var(--color-main-dark);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--color-bg-soft, #f5f7f6);
}

@media (max-width: 767px) {
  .guideline-checklist td {
    padding: 0.7rem 0.75rem;
    font-size: 0.95rem;
  }
  .guideline-checklist td.check {
    width: 2.5rem;
    font-size: 1.2rem;
  }
}

.notice-block .notice-list ul.notice-list {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.notice-partner-table-wrap {
  margin: 0.75rem 0 0.25rem;
  overflow-x: auto;
  /* セルの内容が1行で収まるよう、スクロール可能領域を全幅に拡張 */
  width: calc(100vw - 4rem);
  max-width: 1040px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.notice-partner-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.6;
}

.notice-partner-table th,
.notice-partner-table td {
  text-align: left;
  vertical-align: middle;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  white-space: nowrap;
}

.notice-partner-table thead th {
  background: var(--color-bg-soft, #f5f7f6);
  font-weight: 600;
}

@media (max-width: 767px) {
  .fee-table {
    font-size: 1rem;
  }
  .fee-table th,
  .fee-table td {
    padding: 0.6rem 0.5rem;
  }
  .fee-table .fee-col {
    width: 7rem;
  }
  .notice-block .section-title {
    font-size: 1.2rem;
  }
  .notice-list-2col {
    columns: 1;
  }
  .notice-partner-table-wrap {
    width: 100%;
    left: auto;
    transform: none;
  }
  .notice-partner-table {
    font-size: 0.9rem;
    min-width: 720px;
  }
  .notice-partner-table th,
  .notice-partner-table td {
    padding: 0.55rem 0.65rem;
  }
}

/* notice-research-incident.html 不適合案件のご報告 */
.research-incident-meta {
  text-align: right;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light, #666);
  margin-bottom: 1.5rem;
}

.research-incident-subhead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-main-dark, #2a6f5a);
  margin: 1.5rem 0 0.5rem;
}

@media (max-width: 600px) {
  .research-incident-meta {
    text-align: left;
  }
}

/* index.html 臨床研究セクション下の詳細リンク */
.research-info-link-wrap {
  margin-top: 1rem;
  text-align: right;
}

.research-info-link {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--color-main-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color-main-dark);
  padding-bottom: 1px;
}

.research-info-link:hover {
  opacity: 0.8;
}

/* index.html のお知らせ＋FBの2カラムレイアウト */
.news-fb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.news-fb-main {
  min-width: 0;
}

.news-fb-side {
  position: sticky;
  top: 1.5rem;
}

.fb-feed-section-inline {
  background: var(--color-bg-soft, #f8faf9);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

.fb-feed-section-inline .section-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.fb-feed-section-inline .fb-feed-intro {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.fb-feed-section-inline .fb-feed-embed {
  text-align: center;
}

.fb-feed-section-inline .fb-feed-embed iframe {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 8px;
}

/* PC用を表示・スマホ用を非表示（既定＝PC）
   ※ 上の iframe ルール（詳細度0,2,1）に勝つよう iframe.〜 で指定 */
.fb-feed-section-inline .fb-feed-embed iframe.fb-embed-mobile {
  display: none;
}
.fb-feed-section-inline .fb-feed-embed iframe.fb-embed-desktop {
  display: inline-block;
}

.fb-feed-section-inline .fb-feed-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .news-fb-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-fb-side {
    position: static;
  }
  .fb-feed-section-inline .fb-feed-embed iframe {
    max-width: 460px;
    height: 520px;
  }
}

/* スマホ：PC用を隠してスマホ用（width=300）を表示し、見切れを防ぐ */
@media (max-width: 767px) {
  .fb-feed-section-inline {
    padding: 1.5rem 1rem;
  }
  .fb-feed-section-inline .fb-feed-embed iframe.fb-embed-desktop {
    display: none;
  }
  .fb-feed-section-inline .fb-feed-embed iframe.fb-embed-mobile {
    display: inline-block;
  }
  .fb-feed-section-inline .fb-feed-embed iframe {
    max-width: 300px;
    height: 560px;
  }
}

/* Facebook Page Feed セクション */
.fb-feed-section {
  padding: 4rem 0;
  background: var(--color-bg-soft, #f8faf9);
}

.fb-feed-section .container {
  max-width: 600px;
  text-align: center;
}

.fb-feed-section .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.fb-feed-intro {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.fb-feed-embed {
  text-align: center;
  width: 100%;
  display: block;
}

.fb-feed-embed iframe {
  display: inline-block;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 8px;
}

.fb-feed-link {
  text-align: center;
  margin-top: 1.5rem;
}

.fb-feed-link a {
  color: var(--color-main-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-main-dark);
  padding-bottom: 1px;
}

.fb-feed-link a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .fb-feed-section {
    padding: 2.5rem 0;
  }
  .fb-feed-embed iframe {
    height: 500px;
  }
}
