/* =========================================================
   メディカデンタルクリニック - style.css
   ========================================================= */

:root {
  --color-main: #0085bf;
  --color-main-dark: #006494;
  --color-sub: #1a3552;
  --color-accent: #f2a900;
  --color-bg-blue: #eef6fb;
  --color-text: #333333;
  --color-border: #e3e9ee;
  --font-jp: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-en: 'Roboto', sans-serif;
  --header-height: 100px;
  --header-height-sm: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 920px;
}

.container-xs {
  max-width: 720px;
}

.pc-only {
  display: inline;
}

.underline-link {
  text-decoration: underline;
  color: var(--color-main);
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.section-title__en {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-main);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.section-title__ja {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-sub);
  position: relative;
  padding-bottom: 16px;
}

.section-title__ja::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-main);
  border-radius: 2px;
}

.section-title--row {
  margin-bottom: 32px;
}

.section-title-lg {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-sub);
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: #d99400;
}

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

.btn-outline {
  background: #fff;
  color: var(--color-main);
  border-color: var(--color-main);
}
.btn-outline:hover {
  background: var(--color-main);
  color: #fff;
}

.btn-reserve {
  background: var(--color-main);
  color: #fff;
  padding: 12px 22px;
  font-size: 14px;
}
.btn-reserve:hover {
  background: var(--color-main-dark);
}

.btn-wrap {
  text-align: center;
  margin-top: 32px;
}

.section-more {
  text-align: center;
  margin-top: 40px;
}

.bg-blue {
  background: var(--color-bg-blue);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: 500;
  transition: height 0.3s ease;
}

.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 48px;
  width: auto;
}

.gnav-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: var(--color-main);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 600;
}
.gnav-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.gnav-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.gnav-btn.active span:nth-child(2) {
  opacity: 0;
}
.gnav-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.gnav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.gnav__menu {
  display: flex;
  gap: 28px;
}

.gnav__item {
  position: relative;
}

.gnav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-sub);
  padding: 8px 0;
  display: inline-block;
  white-space: nowrap;
}
.gnav__link:hover {
  color: var(--color-main);
}

.gnav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 220px;
  z-index: 100;
}
.gnav__item:hover .gnav__sub {
  display: block;
}
.gnav__sub li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
}
.gnav__sub li a:hover {
  background: var(--color-bg-blue);
  color: var(--color-main);
}

.gnav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gnav__tel {
  text-align: right;
  line-height: 1.3;
}
.gnav__tel-num {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-main);
}
.gnav__tel-num i {
  font-size: 14px;
  margin-right: 4px;
}
.gnav__tel-hours {
  display: block;
  font-size: 11px;
  color: #888;
}

.gnav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 450;
}
.gnav-overlay.active {
  display: block;
}

.sp-fixed-nav {
  display: none;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  margin-top: var(--header-height);
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: var(--color-sub);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slide.active {
  opacity: 1;
}
.hero__slide:first-child {
  opacity: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__catch {
  position: absolute;
  top: 90px;
  left: 8%;
  color: #fff;
  z-index: 10;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero__catch p {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.6;
}
.hero__catch span {
  display: inline-block;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 500;
  background: rgba(0, 133, 191, 0.85);
  padding: 10px 18px;
  border-radius: 8px;
}

.hero__hours {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(0);
  z-index: 420;
  display: flex;
  align-items: stretch;
  transition: transform 0.45s ease;
}
.hero__hours.is-collapsed {
  transform: translateY(-50%) translateX(90%);
}

.hero__hours-toggle {
  flex: 0 0 auto;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-main);
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 16px 6px;
}
.hero__hours-toggle-icon {
  font-size: 14px;
  transition: transform 0.4s ease;
}
.hero__hours.is-collapsed .hero__hours-toggle-icon {
  transform: rotate(180deg);
}
.hero__hours-toggle-text {
  font-size: 11px;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__hours-toggle-text i {
  writing-mode: horizontal-tb;
}

.hero__hours-inner {
  width: 380px;
  background: #fff;
  border-radius: 0 0 0 16px;
  box-shadow: -6px 6px 30px rgba(0, 0, 0, 0.14);
  padding: 28px 32px;
  max-height: 80vh;
  overflow-y: auto;
}

.hero__hours-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.hero__hours-title i {
  color: var(--color-main);
}

.hero__hours-note {
  font-size: 12px;
  color: #888;
  margin-top: 12px;
}

.hero__hours-contact {
  font-size: 14px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hero__hours-contact i {
  color: var(--color-main);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}
.schedule-table th,
.schedule-table td {
  border: 1px solid var(--color-border);
  padding: 8px 4px;
}
.schedule-table thead th {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 700;
}
.schedule-table tbody th {
  background: #fafcfe;
  font-weight: 600;
  white-space: nowrap;
}
.schedule-table small {
  font-size: 10px;
  color: #999;
}

/* =========================================================
   Calendar
   ========================================================= */
.calendar-section {
  background: var(--color-bg-blue);
}

.calendar-embed {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.calendar-embed__iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: none;
}

.calendar-embed__placeholder {
  background: #fff;
  padding: 56px 24px;
  text-align: center;
  color: #999;
}
.calendar-embed__placeholder i {
  font-size: 36px;
  color: var(--color-main);
  margin-bottom: 12px;
  display: block;
}
.calendar-embed__placeholder p {
  font-size: 14px;
  line-height: 1.8;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.calendar-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.calendar-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 16px;
  text-align: center;
}

.calendar-card__legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 14px;
}
.calendar-card__legend i {
  color: var(--color-main);
  margin-right: 4px;
}

.calendar-card__note {
  text-align: center;
  font-size: 13px;
  color: #777;
}

.calendar-card__hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 14px;
}
.calendar-card__hours li:last-child {
  border-bottom: none;
}
.calendar-card__hours span {
  font-weight: 700;
  color: var(--color-sub);
}

/* =========================================================
   News
   ========================================================= */
.news-item {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.news-item:first-child {
  border-top: 1px solid var(--color-border);
}

.news-item__date {
  font-family: var(--font-en);
  color: var(--color-main);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  min-width: 100px;
}

.news-item__title a:hover {
  color: var(--color-main);
  text-decoration: underline;
}

.news-empty {
  text-align: center;
  color: #999;
  padding: 24px 0;
}

/* =========================================================
   Vision
   ========================================================= */
.vision-section {
  padding-bottom: 0;
}

.vision-section__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-sub);
  margin-bottom: 40px;
}

.vision-section__text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.vision-section__text p {
  margin-bottom: 16px;
  color: #555;
  font-size: 15px;
}

.vision-section__image {
  margin-top: 56px;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}
.vision-section__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* =========================================================
   Symptoms
   ========================================================= */
.symptoms-section {
  background: var(--color-bg-blue);
}

.symptoms-section__text {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.symptoms-section__text p {
  margin-bottom: 16px;
  color: #555;
  font-size: 15px;
}

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

.symptom-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.symptom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 133, 191, 0.18);
}

.symptom-card__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-main);
}

.symptom-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sub);
  line-height: 1.6;
}

/* =========================================================
   Facility
   ========================================================= */
.facility-section__text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.facility-section__text p {
  margin-bottom: 12px;
  color: #555;
  font-size: 15px;
}

.facility-gallery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.facility-gallery__item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.facility-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.facility-gallery__item:hover img {
  transform: scale(1.06);
}

/* =========================================================
   Blog
   ========================================================= */
.blog-section {
  background: var(--color-bg-blue);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card__thumb {
  aspect-ratio: 16 / 9;
  height: auto;
  background: linear-gradient(135deg, var(--color-main), var(--color-main-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  overflow: hidden;
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 20px;
}

.blog-card__cat {
  display: inline-block;
  background: var(--color-bg-blue);
  color: var(--color-main);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.blog-card__date {
  font-family: var(--font-en);
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.blog-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sub);
  line-height: 1.6;
}

/* =========================================================
   Recruit
   ========================================================= */
.recruit-box {
  background: linear-gradient(135deg, var(--color-sub), #274666);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.recruit-box .section-title-lg {
  color: #fff;
}
.recruit-box__text {
  font-size: 15px;
  margin-bottom: 32px;
  opacity: 0.9;
}
.recruit-box__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   Access
   ========================================================= */
.access-section {
  background: var(--color-bg-blue);
}

.access-address {
  text-align: center;
  margin-bottom: 32px;
  font-size: 15px;
}
.access-address i {
  color: var(--color-main);
  margin-right: 4px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.access-map iframe {
  border-radius: 16px;
  display: block;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-info__block {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.access-info__block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 8px;
}
.access-info__block p {
  font-size: 14px;
  color: #555;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-sub);
  color: #fff;
}

.site-footer__top {
  padding: 48px 0;
}

.fnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.fnav a {
  font-size: 14px;
  color: #cfd9e2;
}
.fnav a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
}
.site-footer__bottom-inner {
  text-align: center;
}
.site-footer__copyright {
  font-size: 12px;
  color: #9fb0c0;
}

/* =========================================================
   Page Top Button
   ========================================================= */
#page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 400;
}
#page-top.show {
  opacity: 1;
  visibility: visible;
}
#page-top i {
  font-size: 18px;
}

/* =========================================================
   Header scroll state
   ========================================================= */
.site-header.is-scrolled {
  height: var(--header-height-sm);
}
.site-header.is-scrolled .site-header__logo img {
  height: 38px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .gnav-btn {
    display: flex;
  }

  .gnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 84%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 28px 40px;
    overflow-y: auto;
    transition: right 0.35s ease;
    z-index: 550;
  }
  .gnav.active {
    right: 0;
  }

  .gnav__menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .gnav__item {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .gnav__link {
    padding: 16px 0;
    width: 100%;
  }
  .gnav__sub {
    display: none !important;
    position: static;
    transform: none;
    box-shadow: none;
    padding-left: 12px;
  }
  .gnav__sub.open {
    display: block !important;
  }

  .gnav__cta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 24px;
    gap: 16px;
  }
  .gnav__tel {
    text-align: left;
  }

  .sp-fixed-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 400;
  }
  .sp-fixed-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 11px;
    color: var(--color-sub);
    gap: 4px;
  }
  .sp-fixed-nav__item i {
    font-size: 18px;
    color: var(--color-main);
  }
  .sp-fixed-nav__item--cta {
    background: var(--color-main);
    color: #fff;
  }
  .sp-fixed-nav__item--cta i {
    color: #fff;
  }

  body {
    padding-bottom: 56px;
  }
}

@media (max-width: 900px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facility-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
    --header-height-sm: 56px;
  }

  .pc-only {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .site-header__logo img {
    height: 32px;
  }

  .hero__slides {
    height: 520px;
  }
  .hero__catch {
    top: 60px;
    left: 6%;
    right: 6%;
  }
  .hero__catch p {
    font-size: 22px;
  }
  .hero__catch span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero__hours {
    top: auto;
    bottom: 76px;
    transform: translateX(0);
  }
  .hero__hours.is-collapsed {
    transform: translateX(88%);
  }
  .hero__hours-inner {
    width: 78vw;
    max-width: 320px;
    padding: 20px;
  }
  .hero__hours-toggle {
    width: 36px;
    padding: 14px 4px;
  }
  .schedule-table {
    font-size: 11px;
  }

  .calendar-embed__iframe {
    height: 420px;
  }

  .section-title__ja {
    font-size: 22px;
  }
  .section-title-lg {
    font-size: 24px;
  }
  .vision-section__title {
    font-size: 22px;
  }

  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .symptom-card {
    padding: 20px 12px;
  }
  .symptom-card__icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .symptom-card__title {
    font-size: 12px;
  }

  .facility-gallery {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .recruit-box {
    padding: 40px 20px;
  }
  .recruit-box__buttons {
    flex-direction: column;
  }
  .recruit-box__buttons .btn {
    width: 100%;
  }

  .news-item {
    flex-direction: column;
    gap: 4px;
  }
}

/* =========================================================
   Page Header (下層ページ共通ヘッダー・パンくず)
   ========================================================= */
.page-header {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-sub);
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 53, 82, 0.55), rgba(26, 53, 82, 0.72));
}

.page-header__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.page-header__title-ja {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.page-header__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.breadcrumbs {
  background: #f5f8fa;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
  color: #777;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item a {
  color: var(--color-main);
}
.breadcrumbs__item a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  font-size: 10px;
  color: #aaa;
}

/* 下層ページの上下余白共通クラス */
.section_pdg {
  padding: 64px 0;
}

/* =========================================================
   Symptoms List Page (症状別で探す：一覧)
   ========================================================= */
.symptoms-list-page {
  padding-top: 72px;
  padding-bottom: 96px;
}

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

.symptoms-list-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.symptoms-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 133, 191, 0.18);
  border-color: var(--color-main);
}

.symptoms-list-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--color-main);
}

.symptoms-list-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-sub);
  line-height: 1.7;
}

.symptoms-list-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

/* =========================================================
   Symptom Detail Page (症状別詳細ページ)
   ========================================================= */
.symptom-detail__intro {
  padding-bottom: 32px;
}

.symptom-detail__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-sub);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 32px;
}

.symptom-detail__lead p {
  margin-bottom: 16px;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}

.symptom-detail__jump-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.symptom-detail__jump-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.symptom-detail__jump-btn:hover {
  background: var(--color-main-dark);
  transform: translateY(-2px);
}

.symptom-detail__causes-heading {
  padding-top: 0;
  padding-bottom: 0;
}

.symptom-detail__section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-sub);
  position: relative;
  padding-bottom: 16px;
}
.symptom-detail__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-main);
  border-radius: 2px;
}

.symptom-detail__cause {
  padding: 48px 0;
  scroll-margin-top: 100px;
}
.symptom-detail__cause:nth-child(odd) {
  background: var(--color-bg-blue);
}

.symptom-detail__cause-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 28px;
}

.symptom-detail__cause-title-sub {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #777;
  margin-top: 4px;
}

.symptom-detail__cause-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.symptom-detail__cause-lead {
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.symptom-detail__cause-image {
  margin: 0 0 24px;
  text-align: center;
}
.symptom-detail__cause-image img {
  max-width: 480px;
  width: 100%;
  border-radius: 12px;
  margin: 0 auto;
}

.symptom-detail__treatment {
  border-top: 1px dashed var(--color-border);
  padding-top: 24px;
  margin-bottom: 24px;
}

.symptom-detail__treatment-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 16px;
}

.symptom-detail__treatment-block {
  margin-bottom: 16px;
}
.symptom-detail__treatment-block:last-child {
  margin-bottom: 0;
}

.symptom-detail__treatment-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 8px;
}

.symptom-detail__treatment-block p {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
}

.symptom-detail__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}
.symptom-detail__table th,
.symptom-detail__table td {
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.symptom-detail__table th {
  width: 30%;
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.symptom-detail__table td {
  color: #444;
  line-height: 1.8;
}

.symptom-detail__note {
  margin-top: 16px;
  font-size: 13.5px;
  color: #777;
}

/* 入れ子構造の治療法ブロック（矯正・インプラント等） */
.symptom-detail__blocks {
  border-top: 1px dashed var(--color-border);
  padding-top: 24px;
}

.symptom-detail__block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}
.symptom-detail__block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.symptom-detail__block-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-bg-blue);
}

.symptom-detail__block-heading-note {
  display: inline-block;
  margin-left: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #888;
}

.symptom-detail__block-body {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.symptom-detail__block-list {
  margin: 0 0 16px;
  padding-left: 1.3em;
  color: #444;
  font-size: 14.5px;
  line-height: 1.8;
}
.symptom-detail__block-list li {
  list-style: disc;
  margin-bottom: 6px;
}

.symptom-detail__subblocks {
  margin-top: 8px;
}

.symptom-detail__subblock {
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-bg-blue);
  border-radius: 12px;
}
.symptom-detail__subblock:last-child {
  margin-bottom: 0;
}

.symptom-detail__subblock-heading {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 12px;
}

/* 治療前後の比較画像 */
.symptom-detail__before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 20px;
}
.symptom-detail__before-after figure {
  text-align: center;
}
.symptom-detail__before-after img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}
.symptom-detail__before-after figcaption {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-sub);
  background: #fff;
  padding: 3px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.symptom-detail__cta {
  text-align: center;
}

.symptom-detail__cta-text {
  color: #444;
  margin-bottom: 24px;
}

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

/* =========================================================
   Symptoms / Page Header - レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .symptoms-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .symptom-detail__jump-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-header {
    height: 180px;
    padding-top: 66px;
  }
  .page-header__title-ja {
    font-size: 24px;
  }

  .symptoms-list-page {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .symptoms-list-card {
    padding: 24px 14px;
  }
  .symptoms-list-card__icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 12px;
  }
  .symptoms-list-card__title {
    font-size: 13px;
  }

  .symptom-detail__title {
    font-size: 22px;
  }
  .symptom-detail__jump-buttons {
    grid-template-columns: 1fr 1fr;
  }
  .symptom-detail__jump-btn {
    font-size: 13px;
    padding: 14px 8px;
  }
  .symptom-detail__cause-box {
    padding: 20px;
  }
  .symptom-detail__cause-title {
    font-size: 19px;
  }
  .symptom-detail__table th {
    width: 34%;
    font-size: 12.5px;
  }
  .symptom-detail__before-after {
    grid-template-columns: 1fr;
  }
  .symptom-detail__before-after img {
    height: 220px;
  }
  .symptom-detail__block-heading {
    font-size: 16px;
  }
  .symptom-detail__subblock {
    padding: 16px;
  }
}

/* =========================================================
   Medical Page (当院について /medical)
   ========================================================= */
.medical-page {
  padding-top: 0;
}

.medical-section {
  overflow: hidden;
}

.medical-section.bg-blue {
  background: var(--color-bg-blue);
}

.medical-section__title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-sub);
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.medical-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-main);
  border-radius: 2px;
}

.medical-section__lead {
  text-align: center;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.medical-section__body {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* ---- 私たちの目指すもの：3つの約束 ---- */
.medical-promise {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 64px auto;
}
.medical-promise--reverse {
  flex-direction: row-reverse;
}
.medical-promise__img {
  flex: 0 0 46%;
  border-radius: 12px;
  overflow: hidden;
}
.medical-promise__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.medical-promise__body {
  flex: 1;
}
.medical-promise__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-sub);
  line-height: 1.5;
  margin-bottom: 16px;
}
.medical-promise__no {
  color: var(--color-main);
  font-family: var(--font-en);
}
.medical-promise__body p {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
}

.medical-jump-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
}
.medical-jump-buttons .btn {
  flex: 0 1 auto;
}

/* ---- 院長紹介 ---- */
.medical-director__intro {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 56px;
}
.medical-director__img {
  flex: 0 0 42%;
  border-radius: 12px;
  overflow: hidden;
}
.medical-director__img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.medical-director__body {
  flex: 1;
}
.medical-director__body p {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.medical-director__beliefs {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 48px;
}
.medical-director__belief {
  margin-bottom: 32px;
}
.medical-director__belief:last-of-type {
  margin-bottom: 24px;
}
.medical-director__belief-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.medical-director__belief p {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 14px;
}
.medical-director__signoff {
  text-align: right;
  color: #444;
  font-size: 14.5px;
  line-height: 1.8;
}

.medical-director__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.medical-info-box {
  background: transparent;
}
.medical-info-box--white {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.medical-info-box__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-main);
  display: inline-block;
}

.medical-list li {
  position: relative;
  padding-left: 18px;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 8px;
}
.medical-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-main);
}

.medical-course-box {
  margin-bottom: 16px;
}
.medical-course-box:last-child {
  margin-bottom: 0;
}
.medical-course-box h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 8px;
}

.medical-attention {
  color: #d9534f;
  font-weight: 600;
}

/* ---- テーブル共通 ---- */
.medical-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.medical-table th,
.medical-table td {
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.medical-table th {
  width: 30%;
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 600;
  white-space: nowrap;
}
.medical-table td {
  color: #444;
  line-height: 1.8;
  background: #fff;
}
.medical-table--outline th {
  width: 22%;
}

/* ---- 施設・設備紹介 ---- */
.medical-facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 8px;
}
.medical-facility-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.medical-facility-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.medical-facility-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.medical-facility-card:hover .medical-facility-card__img img {
  transform: scale(1.06);
}
.medical-facility-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sub);
  padding: 14px 16px 4px;
}
.medical-facility-card p {
  color: #555;
  font-size: 13px;
  line-height: 1.8;
  padding: 0 16px 16px;
}

/* ---- 感染症対策 ---- */
.medical-hygiene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* =========================================================
   Medical Page - レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .medical-facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .medical-director__grid {
    grid-template-columns: 1fr;
  }
  .medical-hygiene-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Service Page (診療のご案内 /service)
   ========================================================= */
.service-page {
  padding-top: 0;
}

.service-section {
  overflow: hidden;
}

.service-section.bg-blue {
  background: var(--color-bg-blue);
}

.service-section__lead {
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-attention {
  color: #d9534f;
  font-weight: 700;
}

/* ---- ご予約方法テーブル ---- */
.service-reservation-wrap {
  margin-top: 40px;
  overflow-x: auto;
}

.service-reservation-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}
.service-reservation-table th,
.service-reservation-table td {
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}
.service-reservation-table thead th {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 600;
}
.service-reservation-table thead th:first-child {
  background: #fff;
}
.service-reservation-table tbody th {
  width: 16%;
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 600;
  white-space: nowrap;
}
.service-reservation-table tbody td {
  background: #fff;
  color: #444;
  line-height: 1.8;
}
.service-reservation-table__list li {
  margin-bottom: 4px;
}
.service-reservation-table__note {
  margin-top: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}
.service-reservation-table__empty {
  display: block;
  text-align: center;
  color: #999;
}

/* ---- 診療の流れ ---- */
.service-flow {
  margin-top: 8px;
}

.service-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.service-flow__step:first-child {
  padding-top: 8px;
}
.service-flow__step:last-child {
  border-bottom: none;
  padding-bottom: 8px;
}

.service-flow__body {
  flex: 1;
}
.service-flow__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-sub);
  line-height: 1.5;
  margin-bottom: 16px;
}
.service-flow__no {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sub);
  color: #fff;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
}
.service-flow__subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-top: 4px;
}
.service-flow__body p {
  color: #444;
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 12px;
}
.service-flow__img {
  flex: 0 0 38%;
  border-radius: 12px;
  overflow: hidden;
}
.service-flow__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* =========================================================
   Service Page - レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .service-flow__step {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .service-flow__img {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .service-reservation-table {
    font-size: 13px;
  }
  .service-reservation-table th,
  .service-reservation-table td {
    padding: 12px 14px;
  }
  .service-flow__step {
    padding: 28px 0;
  }
  .service-flow__title {
    font-size: 17px;
  }
  .service-flow__no {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .medical-section__title {
    font-size: 22px;
  }

  .medical-promise {
    flex-direction: column;
    gap: 20px;
    margin: 40px auto;
  }
  .medical-promise--reverse {
    flex-direction: column;
  }
  .medical-promise__img {
    flex: none;
    width: 100%;
  }

  .medical-jump-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .medical-jump-buttons .btn {
    width: 100%;
  }

  .medical-director__intro {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .medical-director__img {
    flex: none;
    width: 100%;
  }
  .medical-director__beliefs {
    padding: 24px;
  }

  .medical-facility-grid {
    grid-template-columns: 1fr;
  }

  .medical-table th {
    width: 34%;
    font-size: 12.5px;
  }
  .medical-table--outline th {
    width: 30%;
  }
}

/* =========================================================
   Recruit Page (/recruit)
   ========================================================= */
.recruit-message__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.recruit-message__image {
  flex: 0 0 220px;
  border-radius: 12px;
  overflow: hidden;
}
.recruit-message__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.recruit-message__body {
  flex: 1;
}
.recruit-message__text {
  font-size: 14.5px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
}
.recruit-message__signoff {
  text-align: right;
  font-size: 14px;
  color: var(--color-sub);
  font-weight: 600;
}

.recruit-catch {
  background: #f7f9fb;
}
.recruit-catch__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-sub);
  text-align: center;
  margin-bottom: 28px;
}
.recruit-catch__text {
  font-size: 14.5px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
}

.recruit-jobs__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.recruit-jobs__tab {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--color-sub);
  color: var(--color-sub);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}
.recruit-jobs__tab:hover,
.recruit-jobs__tab.is-active {
  background: var(--color-sub);
  color: #fff;
}

.recruit-job {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e5e5e5;
}
.recruit-job:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.recruit-job__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--color-main);
}
.recruit-job__image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.recruit-job__image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.recruit-job__note-lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: #444;
  background: #f7f9fb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.recruit-job__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.recruit-job__table th,
.recruit-job__table td {
  border: 1px solid #e5e5e5;
  padding: 18px 20px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.recruit-job__table th {
  width: 22%;
  background: #f7f9fb;
  color: var(--color-sub);
  font-weight: 600;
}
.recruit-job__heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sub);
  margin: 14px 0 6px;
}
.recruit-job__heading:first-child {
  margin-top: 0;
}
.recruit-job__paragraph {
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}
.recruit-job__note {
  font-size: 13px;
  color: #d9534f;
  line-height: 1.8;
  margin-bottom: 8px;
}
.recruit-job__list {
  margin: 0 0 8px;
  padding-left: 1.1em;
  color: #444;
  line-height: 1.8;
}
.recruit-job__list--num {
  list-style: decimal;
}
.recruit-job__list li {
  margin-bottom: 4px;
}
.recruit-job__buttons {
  text-align: center;
}

.recruit-tour__box {
  background: #f7f9fb;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}
.recruit-tour__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 16px;
}
.recruit-tour__text {
  font-size: 14.5px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 28px;
}
.recruit-tour__buttons,
.recruit-cta__buttons {
  text-align: center;
}
.recruit-cta__text {
  text-align: center;
  font-size: 15px;
  color: #444;
  margin-bottom: 24px;
}

/* =========================================================
   Recruit Entry Form (/recruit/entry)
   ========================================================= */
.recruit-entry__lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: #444;
  text-align: center;
  margin-bottom: 40px;
}

.recruit-entry-form__group {
  margin-bottom: 32px;
}
.recruit-entry-form__label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.recruit-entry-form__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sub);
}
.recruit-entry-form__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #d9534f;
  flex-shrink: 0;
}
.recruit-entry-form__badge--optional {
  background: #aaa;
}

.recruit-entry-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.recruit-entry-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
}
.recruit-entry-form__checkbox:hover {
  border-color: var(--color-main);
}
.recruit-entry-form__checkbox input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-main);
  cursor: pointer;
}
.recruit-entry-form__checkbox:has(input:checked) {
  border-color: var(--color-main);
  background: #fff6ef;
  color: var(--color-sub);
  font-weight: 600;
}

.recruit-entry-form__input,
.recruit-entry-form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  transition: 0.2s;
}
.recruit-entry-form__input:focus,
.recruit-entry-form__textarea:focus {
  outline: none;
  border-color: var(--color-main);
}
.recruit-entry-form__textarea {
  resize: vertical;
}

.recruit-entry-form__error {
  background: #fdecea;
  color: #d9534f;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13.5px;
  margin-bottom: 24px;
}

.recruit-entry-form__submit-wrap {
  text-align: center;
  margin-top: 40px;
}
.recruit-entry-form__counter {
  font-size: 13.5px;
  color: #888;
  margin-bottom: 16px;
}
.recruit-entry-form__counter span {
  color: var(--color-main);
  font-weight: 700;
}
.recruit-entry-form__submit {
  min-width: 280px;
}
.recruit-entry-form__submit:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  opacity: 1;
}
.recruit-entry-form__submit:disabled:hover {
  background: #ccc;
}

/* =========================================================
   Recruit Thanks Page (/recruit/entry/thanks)
   ========================================================= */
.recruit-thanks {
  text-align: center;
}
.recruit-thanks__icon {
  font-size: 64px;
  color: #4caf7d;
  margin-bottom: 24px;
}
.recruit-thanks__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 20px;
}
.recruit-thanks__text {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 24px;
}
.recruit-thanks__note {
  font-size: 13.5px;
  line-height: 1.9;
  color: #888;
  margin-bottom: 40px;
}
.recruit-thanks__note a {
  color: var(--color-main);
  font-weight: 600;
}
.recruit-thanks__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .recruit-message__inner {
    flex-direction: column;
  }
  .recruit-message__image {
    flex: none;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
  .recruit-job__table th {
    width: 32%;
    font-size: 12.5px;
  }
  .recruit-job__table th,
  .recruit-job__table td {
    padding: 12px 14px;
  }
  .recruit-tour__box {
    padding: 32px 20px;
  }
  .recruit-entry-form__checkboxes {
    flex-direction: column;
  }
  .recruit-entry-form__submit {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   News / Blog Archive Pages (お知らせ・ブログ 一覧/詳細/アーカイブ)
   ========================================================= */
.news-archive-page {
  padding-top: 64px;
  padding-bottom: 96px;
}

.archive-filter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.archive-filter__label {
  font-weight: 700;
  color: var(--color-sub);
  font-size: 14px;
  white-space: nowrap;
}

.archive-filter__select-wrap {
  position: relative;
}

.archive-filter__select {
  appearance: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  padding: 8px 36px 8px 18px;
  font-size: 14px;
  font-family: var(--font-jp);
  color: var(--color-sub);
  cursor: pointer;
  min-width: 140px;
}

.archive-filter__select-wrap::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-main);
  pointer-events: none;
  font-size: 12px;
}

.news-list-page {
  border-top: 1px solid var(--color-border);
}

.news-list-page__item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-border);
}

.news-list-page__date {
  font-family: var(--font-en);
  color: var(--color-main);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  min-width: 100px;
}

.news-list-page__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.news-list-page__title a {
  color: var(--color-text);
}
.news-list-page__title a:hover {
  color: var(--color-main);
  text-decoration: underline;
}

/* ページネーション */
.pagenavi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagenavi__pages {
  font-size: 12px;
  color: #999;
  font-family: var(--font-en);
}

.pagenavi__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagenavi__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-sub);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pagenavi__link:hover {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}
.pagenavi__link.is-current {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}
.pagenavi__next {
  font-size: 12px;
}

/* News 詳細ページ */
.news-detail-page {
  padding-top: 64px;
  padding-bottom: 96px;
}

.news-detail-page__date {
  font-family: var(--font-en);
  color: var(--color-main);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.news-detail-page__title {
  font-size: 24px;
  color: var(--color-sub);
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.news-detail-page__body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}
.news-detail-page__body p {
  margin: 0 0 1.2em;
}

.news-detail-page__pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

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

.news-detail-page__pager-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-sub);
}
.news-detail-page__pager-link:hover {
  color: var(--color-main);
}
.news-detail-page__pager-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-detail-page__pager-link--next {
  justify-content: flex-end;
  text-align: right;
}

.news-detail-page__back {
  margin-top: 32px;
  text-align: center;
}

.blog-detail-page {
  padding-top: 64px;
  padding-bottom: 96px;
}
.blog-detail-page .blog-card__cat {
  margin-bottom: 12px;
}

/* Blog 一覧（2カラム：メイン＋サイドバー） */
.blog-archive-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 96px;
}

.blog-archive-main {
  flex: 1;
  min-width: 0;
}

.blog-archive-main__heading {
  font-size: 20px;
  color: var(--color-sub);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-main);
  display: inline-block;
}

.blog-archive-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-archive-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-archive-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.blog-archive-item__link {
  display: flex;
  align-items: stretch;
  color: var(--color-text);
}

.blog-archive-item__thumb {
  flex: none;
  width: 240px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-main), var(--color-main-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  overflow: hidden;
}
.blog-archive-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-archive-item__body {
  flex: 1;
  padding: 16px 20px;
  min-width: 0;
}

.blog-archive-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-sub);
  line-height: 1.7;
}

.blog-side {
  flex: none;
  width: 280px;
}

.blog-side__section {
  margin-bottom: 32px;
  background: var(--color-bg-blue);
  border-radius: 12px;
  padding: 20px;
}

.blog-side__ttl {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.blog-side__ttl small {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--color-main);
  letter-spacing: 0.05em;
}

.blog-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-side__list li a {
  display: flex;
  justify-content: space-between;
  color: var(--color-text);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
}
.blog-side__list li a:hover,
.blog-side__list li a.is-active {
  color: var(--color-main);
}

.blog-side__count {
  color: #999;
  font-size: 12px;
  font-family: var(--font-en);
}

.blog-side__none {
  color: #999;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .blog-archive-layout {
    flex-direction: column;
  }
  .blog-side {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .blog-archive-item__link {
    flex-direction: column;
  }
  .blog-archive-item__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .news-detail-page__pager {
    flex-direction: column;
  }
  .news-detail-page__pager-link--next {
    justify-content: flex-start;
    text-align: left;
  }
  .archive-filter {
    flex-wrap: wrap;
  }
}

/* =========================================================
   ブログ/お知らせ 詳細ページ：アイキャッチ・本文中の写真・リンク・ボタン
   ========================================================= */
/* 一覧サムネイル・アイキャッチ・本文中画像は横長(16:9)固定。
   PCでは記事幅いっぱいの視認性の良いサイズ、
   スマホでは画面幅にフィットした横長サイズに自動調整される。 */
.blog-detail-page__eyecatch {
  margin: 24px 0 32px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-blue);
}
.blog-detail-page__eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail-page__figure {
  margin: 28px 0;
}
.blog-detail-page__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.blog-detail-page__figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #999;
  text-align: center;
}

.blog-detail-page__link {
  color: var(--color-main);
  text-decoration: underline;
  word-break: break-all;
}
.blog-detail-page__link:hover {
  text-decoration: none;
}

.blog-detail-page__btn-wrap {
  text-align: center;
  margin: 32px 0;
}

@media (max-width: 767px) {
  .blog-detail-page__eyecatch {
    margin: 16px 0 24px;
    border-radius: 8px;
  }
  .blog-detail-page__figure {
    margin: 20px 0;
  }
  .blog-detail-page__figure img {
    border-radius: 8px;
  }
}

/* ============ プライバシーポリシー ============ */
.privacy-section {
  border-bottom: 1px solid #e5e5e5;
}
.privacy-section:last-of-type {
  border-bottom: none;
}
.privacy-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-sub);
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-sub);
  display: inline-block;
}
.privacy-page section.privacy-section > .privacy-section__title {
  display: block;
}
.privacy-section__lead {
  line-height: 1.9;
  margin-bottom: 20px;
}
.privacy-list {
  counter-reset: privacy-counter;
  list-style: none;
  padding: 0;
}
.privacy-list > li {
  counter-increment: privacy-counter;
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  line-height: 1.9;
}
.privacy-list > li::before {
  content: counter(privacy-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-main);
  font-weight: 700;
}
.privacy-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.privacy-table th,
.privacy-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  text-align: left;
  line-height: 1.7;
  vertical-align: top;
}
.privacy-table thead th {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 700;
  white-space: nowrap;
}
.privacy-table--info th {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 700;
  width: 180px;
  white-space: nowrap;
}
.privacy-section__signoff {
  text-align: right;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .privacy-table--info th {
    width: 110px;
    white-space: normal;
  }
  .privacy-table th,
  .privacy-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ===== Web予約（初診専用） ===== */
.reserve-section__lead {
  line-height: 1.9;
  margin-bottom: 12px;
}
.reserve-widget {
  max-width: 720px;
  margin: 0 auto;
}
.reserve-step__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 24px;
}
.reserve-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-main);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.reserve-step__selected-date {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.reserve-calendar__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
.reserve-calendar__month {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sub);
  min-width: 120px;
  text-align: center;
}
.reserve-calendar__nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--color-main);
  cursor: pointer;
}
.reserve-calendar__nav:hover {
  background: var(--color-bg-blue);
}
.reserve-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}
.reserve-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.reserve-calendar__day {
  aspect-ratio: 1 / 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  cursor: default;
}
.reserve-calendar__day.is-empty {
  border: none;
  background: transparent;
}
.reserve-calendar__day.is-none {
  color: #ccc;
  background: #f7f7f7;
}
.reserve-calendar__day.is-available {
  color: var(--color-main);
  font-weight: 700;
  cursor: pointer;
  border-color: var(--color-main);
}
.reserve-calendar__day.is-available:hover {
  background: var(--color-main);
  color: #fff;
}
.reserve-calendar__legend {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.reserve-calendar__legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.reserve-calendar__legend-dot.is-available {
  background: var(--color-main);
}
.reserve-calendar__legend-dot.is-none {
  background: #ddd;
}
.reserve-course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.reserve-course-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 12px;
  border: 1px solid var(--color-main);
  border-radius: 10px;
  background: #fff;
  color: var(--color-main);
  cursor: pointer;
}
.reserve-course-list__item:hover {
  background: var(--color-main);
  color: #fff;
}
.reserve-course-list__label {
  font-size: 17px;
  font-weight: 700;
}
.reserve-course-list__duration {
  font-size: 13px;
  opacity: 0.85;
}
@media (max-width: 600px) {
  .reserve-course-list {
    grid-template-columns: 1fr;
  }
}
.reserve-time-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.reserve-time-list__item {
  padding: 12px 8px;
  border: 1px solid var(--color-main);
  border-radius: 8px;
  background: #fff;
  color: var(--color-main);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.reserve-time-list__item:hover {
  background: var(--color-main);
  color: #fff;
}
.reserve-time-list__empty,
.reserve-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  padding: 24px 0;
}
.reserve-course-list .reserve-time-list__empty,
.reserve-course-list .reserve-loading {
  grid-column: 1 / -1;
}
.reserve-back-btn {
  background: none;
  border: none;
  color: var(--color-main);
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.reserve-form__group {
  margin-bottom: 18px;
}
.reserve-form__label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.reserve-form__label {
  font-weight: 700;
  color: var(--color-sub);
  font-size: 14px;
}
.reserve-form__badge {
  font-size: 11px;
  background: #e6543c;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}
.reserve-form__badge--optional {
  background: #aaa;
}
.reserve-form__input,
.reserve-form__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-jp);
}
.reserve-form__textarea {
  resize: vertical;
}
.reserve-form__error {
  background: #fdecea;
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}
.reserve-form__submit-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.reserve-done {
  text-align: center;
  padding: 32px 0;
}
.reserve-done__icon {
  font-size: 56px;
  color: var(--color-main);
  margin-bottom: 16px;
}
.reserve-done__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 16px;
}
.reserve-done__datetime {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
}
.reserve-done__text {
  line-height: 1.9;
  color: #555;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .reserve-time-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .reserve-form__submit-wrap {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .reserve-form__submit-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== 管理画面: 予約枠管理 ===== */
.admin-reserve {
  font-family: var(--font-jp);
  background: #f4f6f8;
  min-height: 100vh;
  padding: 24px 16px 60px;
}
.admin-reserve__header {
  max-width: 800px;
  margin: 0 auto 20px;
}
.admin-reserve__header h1 {
  font-size: 22px;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-reserve__note {
  color: #777;
  font-size: 13px;
  margin-top: 6px;
}
.admin-reserve__main {
  max-width: 800px;
  margin: 0 auto;
}
.admin-reserve__panel {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.admin-reserve__panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.admin-reserve__course-select {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-reserve__course-select label {
  font-weight: 700;
  color: var(--color-sub);
  font-size: 14px;
}
.admin-reserve__course-select select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.admin-reserve__hygienist-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-reserve__slot-course {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  background: #eef2f7;
  color: var(--color-sub);
  font-weight: 700;
}

/* ---- コース設定パネル ---- */
.admin-course-settings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-course-settings__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--color-bg-blue);
  border-radius: 8px;
}
.admin-course-settings__label {
  font-weight: 700;
  color: var(--color-sub);
  min-width: 130px;
}
.admin-course-settings__duration-select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* ---- 歯科衛生士（スタッフ）管理パネル ---- */
.admin-hygienists {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.admin-hygienists__row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.admin-hygienists__row.is-inactive {
  background: #f7f7f7;
  color: #999;
}
.admin-hygienists__name-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  flex: 1 1 140px;
  min-width: 100px;
}
.admin-hygienists__badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
}
.admin-hygienists__badge.is-active {
  background: var(--color-bg-blue);
  color: var(--color-main);
}
.admin-hygienists__badge.is-inactive {
  background: #eee;
  color: #999;
}
.admin-hygienists__add-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-hygienists__add-form input[type='text'] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  flex: 1 1 200px;
}

/* ---- スタッフの休み管理パネル（日付・時間帯単位） ---- */
.admin-timeoff__add-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--color-bg-blue);
  border-radius: 8px;
  margin-bottom: 14px;
}
.admin-timeoff__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.admin-timeoff__field label {
  color: var(--color-sub);
  font-weight: 700;
}
.admin-timeoff__field select,
.admin-timeoff__field input[type='date'],
.admin-timeoff__field input[type='time'],
.admin-timeoff__field input[type='text'] {
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.admin-timeoff__field--checkbox label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-sub);
  cursor: pointer;
}
.admin-timeoff__field--checkbox input[type='checkbox'] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.admin-timeoff__range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-timeoff__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-timeoff__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.admin-timeoff__row-name {
  font-weight: 700;
  color: var(--color-sub);
  min-width: 100px;
}
.admin-timeoff__row-date {
  color: var(--color-main-dark);
  font-weight: 700;
}
.admin-timeoff__row-range {
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 12px;
  background: #eee;
  color: #666;
}
.admin-timeoff__row-range.is-allday {
  background: var(--color-bg-blue);
  color: var(--color-main);
}
.admin-timeoff__row-reason {
  font-size: 13px;
  color: #888;
  flex: 1 1 auto;
}

.admin-reserve__date-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.admin-reserve__nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--color-main);
  cursor: pointer;
}
.admin-reserve__nav-btn:hover {
  background: var(--color-bg-blue);
}
.admin-reserve__date-input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}
.admin-reserve__today-btn {
  padding: 8px 14px;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}
.admin-reserve__today-btn:hover {
  background: var(--color-main);
  color: #fff;
}
.admin-reserve__add-form,
.admin-reserve__bulk-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--color-bg-blue);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}
.admin-reserve__add-form label {
  color: var(--color-sub);
  font-weight: 700;
}
.admin-reserve__add-form input[type='time'],
.admin-reserve__bulk-form input[type='time'] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.admin-reserve__msg {
  font-size: 13px;
  font-weight: 700;
}
.admin-reserve__msg.is-success {
  color: #1a8f4a;
}
.admin-reserve__msg.is-error {
  color: #c0392b;
}
.admin-reserve__slots {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-reserve__loading,
.admin-reserve__empty {
  text-align: center;
  color: #888;
  padding: 24px 0;
}
.admin-reserve__slot-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.admin-reserve__slot-item.is-booked {
  border-color: var(--color-accent);
  background: #fffaf0;
  align-items: flex-start;
}
.admin-reserve__slot-time {
  font-weight: 700;
  color: var(--color-sub);
  min-width: 140px;
}
.admin-reserve__slot-badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
}
.admin-reserve__slot-badge.is-open {
  background: var(--color-bg-blue);
  color: var(--color-main);
}
.admin-reserve__slot-badge.is-booked {
  background: var(--color-accent);
  color: #fff;
}
.admin-reserve__slot-badge.is-hygienist-off {
  background: #ffe1e1;
  color: #c0392b;
}
.admin-reserve__slot-patient {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 16px;
  font-size: 13px;
  color: #555;
  margin-top: 6px;
}
.admin-reserve__slot-patient-row {
  display: flex;
  gap: 6px;
}
.admin-reserve__slot-patient-label {
  color: #888;
  flex-shrink: 0;
}
.admin-reserve__slot-btn {
  margin-left: auto;
}
.admin-reserve__slot-btn-group {
  display: flex;
  gap: 8px;
}

@media (max-width: 767px) {
  .admin-reserve__panel {
    padding: 16px;
  }
  .admin-reserve__slot-patient {
    grid-template-columns: 1fr;
  }
  .admin-reserve__slot-btn {
    margin-left: 0;
    width: 100%;
  }
  .admin-reserve__slot-btn-group {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
  }
  .admin-hygienists__row {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-hygienists__name-input {
    flex: 1 1 auto;
  }
}

/* ---- 受付予約登録モーダル ---- */
.admin-book-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-book-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.admin-book-modal__box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.admin-book-modal__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.admin-book-modal__title i {
  color: var(--color-main);
}
.admin-book-modal__slot-info {
  background: var(--color-bg-blue);
  color: var(--color-sub);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.admin-book-form__group {
  margin-bottom: 14px;
}
.admin-book-form__group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 6px;
}
.admin-book-form__req {
  font-size: 11px;
  background: var(--color-main);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 600;
}
.admin-book-form__group input,
.admin-book-form__group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-jp);
}
.admin-book-form__group textarea {
  resize: vertical;
}
.admin-book-form__error {
  background: #fdecea;
  color: #c0392b;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 13px;
}
.admin-book-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 480px) {
  .admin-book-modal__box {
    padding: 22px 18px;
  }
  .admin-book-form__actions {
    flex-direction: column-reverse;
  }
  .admin-book-form__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== 管理画面: 共通ナビゲーション ===== */
.admin-nav {
  max-width: 800px;
  margin: 0 auto 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: background 0.15s, color 0.15s;
}
.admin-nav__link:hover {
  background: #eef2f5;
}
.admin-nav__link.is-active {
  background: var(--color-sub);
  color: #fff;
}

/* ===== 管理画面: 管理トップ（ダッシュボード） ===== */
.admin-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.admin-dashboard__card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.admin-dashboard__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.admin-dashboard__card i {
  font-size: 28px;
  color: var(--color-main);
  margin-bottom: 12px;
  display: block;
}
.admin-dashboard__card h2 {
  font-size: 16px;
  color: var(--color-sub);
  margin-bottom: 8px;
}
.admin-dashboard__card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ===== 管理画面: お知らせ・ブログ共通リスト ===== */
.admin-post__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.admin-post__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
}
.admin-post__item.is-hidden {
  opacity: 0.55;
  background: #f7f7f7;
}
.admin-post__item-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.admin-post__item-main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.admin-post__date {
  color: #888;
  font-size: 12px;
  flex-shrink: 0;
}
.admin-post__category {
  background: #eef2f5;
  color: var(--color-sub);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.admin-post__title {
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-post__badge {
  background: #999;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.admin-post__item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ===== 管理画面: モーダル(お知らせ・ブログ編集) ===== */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.admin-modal[hidden] {
  display: none;
}
.admin-modal__box {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.admin-modal__box h2 {
  font-size: 18px;
  color: var(--color-sub);
  margin-bottom: 18px;
}
.admin-modal__box form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-modal__box label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-top: 12px;
}
.admin-modal__box input[type='text'],
.admin-modal__box input[type='date'],
.admin-modal__box textarea {
  border: 1px solid #ccd2d6;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.admin-modal__box textarea {
  resize: vertical;
}
.admin-required {
  color: #d9534f;
  font-size: 11px;
  margin-left: 4px;
  font-weight: 400;
}
.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
  margin-top: 14px !important;
}
.admin-checkbox input {
  width: auto;
}
.admin-post__thumb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-post__thumb-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e8eb;
}
.admin-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 767px) {
  .admin-dashboard__cards {
    grid-template-columns: 1fr;
  }
  .admin-post__item {
    flex-wrap: wrap;
  }
  .admin-post__item-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
