@charset "UTF-8";

/* =====================================================
   Theme: にじいろ内科クリニック トップページ用スタイル (index.css)
===================================================== */

/* -----------------------------------------------------
   Hero Section (Full-Width Main Visual + Content Overlay)
----------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 760px;
  min-height: 700px;
  max-height: 840px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fdfaf6;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.hero-overlay {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  padding-left: clamp(36px, 7vw, 110px);
  padding-right: 24px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.hero-content-card {
  max-width: 685px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 36px 42px;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
}

.hero-subhead {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.4;
  color: #3b2822;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.hero-title .highlight {
  color: var(--color-primary-dark);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: rgba(234, 153, 153, 0.35);
  z-index: -1;
  border-radius: 3px;
}

.hero-lead {
  font-size: 0.98rem;
  color: #555555;
  line-height: 1.75;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.hero-actions .btn {
  white-space: nowrap !important;
}

/* -----------------------------------------------------
   Top Banners Section (2 Columns: Left = 臨時休診 / Right = 受付 & ドライブイン)
----------------------------------------------------- */
.top-banners-section {
  padding: 50px 0 60px;
  background: #ffffff;
}

.top-banners-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 35px;
}

.banner-col-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.banner-col-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  width: 100%;
}

.banner-img-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.banner-img-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(234, 153, 153, 0.25);
}

.banner-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 臨時休診カード (コンテナクエリ対応で画面幅に合わせて文字が完全流動縮小・はみ出しゼロ) */
.banner-rinji-card {
  background: #fffcf8;
  border-radius: var(--radius-lg);
  border: 2px solid #fadcd7;
  box-shadow: 0 4px 18px rgba(234, 153, 153, 0.15);
  padding: 16px 10px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: rinjicard;
  overflow: hidden;
}

.rinji-header-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 6px;
}

.rinji-header-img {
  width: 100%;
}

.rinji-header-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 9/2現在テキスト (元画像の位置・見た目に完全準拠: 右上小鳥下・傾き・ピンク背景＆角丸8px) */
.rinji-asof-date {
  position: absolute;
  right: 6px;
  bottom: -6px;
  z-index: 2;
  margin: 0;
}

.rinji-asof-date span {
  display: inline-block;
  background: #ffe6ec;
  border: 2px solid #de607a;
  color: #3b2024;
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-weight: 800;
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 8px;
  transform: rotate(5deg);
  box-shadow: 0 2px 6px rgba(222, 96, 122, 0.25);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rinji-lead-text {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3b2822;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.rinji-lead-text p {
  margin: 0;
}

.rinji-lead-line {
  display: inline-block;
}

.rinji-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.rinji-item-row {
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 2px dotted #e8d5cf;
  width: 100%;
}

.rinji-item-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.rinji-row-pink {
  border-bottom-color: #f7b2bd;
}

.rinji-row-green {
  border-bottom-color: #a9d698;
}

.rinji-row-blue {
  border-bottom-color: #a5cff0;
}

.rinji-row-purple {
  border-bottom-color: #cfade8;
}

.rinji-row-yellow {
  border-bottom-color: #eed17f;
}

.rinji-row-rose {
  border-bottom-color: #f5aab9;
}

.rinji-row-mint {
  border-bottom-color: #99ddc2;
}

.rinji-item {
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 4px clamp(6px, 2.2cqi, 12px) 7px;
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-weight: 700;
  border: none;
  transition: transform 0.2s ease;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.rinji-item:hover {
  transform: translateX(4px);
}

.rinji-item-date {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  flex: 0 0 52%;
  min-width: 0;
  justify-content: flex-start;
}

.rinji-item-icon {
  font-size: clamp(1.1rem, 2.6cqi, 1.42rem);
  align-self: center;
  margin-right: 2px;
  line-height: 1;
  flex-shrink: 0;
}

.rinji-date-text {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.rinji-num {
  font-size: clamp(2.3rem, 9.35cqi, 3.15rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 1px;
}

.rinji-kanji {
  font-size: clamp(1.15rem, 4.4cqi, 1.48rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0 1.5px;
}

.rinji-dow {
  font-size: clamp(1.1rem, 4.2cqi, 1.42rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-left: 1.5px;
}

.rinji-vsep-dotted {
  width: 0;
  height: clamp(24px, 5.8cqi, 31px);
  border-left: 2px dotted currentColor;
  opacity: 0.45;
  margin: 0 clamp(6px, 2.8cqi, 15px) 0 2px;
  flex-shrink: 0;
}

.rinji-item-shift {
  font-size: clamp(1.35rem, 5.35cqi, 1.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;
  flex: 1;
  text-align: left;
  margin-left: 0;
  min-width: 0;
}

/* 各カラーバリエーション (元画像準拠・ボーダーなし) */
.rinji-item-pink {
  background: #fff0f2;
  color: #c92a42;
}

.rinji-item-green {
  background: #f0f8ec;
  color: #2d7a1e;
}

.rinji-item-blue {
  background: #edf6fd;
  color: #196ab8;
}

.rinji-item-purple {
  background: #f6effb;
  color: #6a2ca0;
}

.rinji-item-yellow {
  background: #fff9e6;
  color: #b87400;
}

.rinji-item-rose {
  background: #ffeef2;
  color: #cc2b4e;
}

.rinji-item-mint {
  background: #ecf9f4;
  color: #1d8564;
}

.rinji-footer-img {
  width: 100%;
  margin-top: 2px;
  padding-top: 0;
}

.rinji-footer-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* News List Wrap */
.news-list-wrap {
  width: 100%;
  margin: 0 0 55px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 38px;
  border: 2px solid #fadcd7;
  box-shadow: 0 6px 22px rgba(234, 153, 153, 0.12);
}

.news-list-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid #fce8e6;
}

.news-badge {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e06c6c 100%);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  box-shadow: 0 3px 8px rgba(234, 153, 153, 0.35);
}

.news-heading-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #4a3834;
  margin: 0;
  letter-spacing: 0.03em;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed #fadcd7;
  font-size: 1.02rem;
}

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

.news-date {
  font-family: var(--font-en);
  color: var(--color-text-light);
  font-size: 0.92rem;
  white-space: nowrap;
}

.news-cat {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.news-title {
  color: var(--color-text-main);
  font-weight: 600;
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-title:hover {
  color: var(--color-primary-dark);
}

/* -----------------------------------------------------
   Section Heading Common
----------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--color-primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* -----------------------------------------------------
   Concept / About Clinic Section
----------------------------------------------------- */
.concept-section {
  padding: 60px 0;
  background-color: rgba(234, 153, 153, 1);
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  position: relative;
  color: #ffffff;
}

.concept-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.concept-mascot-side {
  flex-shrink: 0;
}

.concept-mascot-side img {
  width: 110px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
  will-change: transform;
}

.concept-mascot-side.mascot-left img {
  animation: mascotFloatSwayLeft 5s ease-in-out infinite;
}

.concept-mascot-side.mascot-right img {
  animation: mascotFloatSwayRight 5s ease-in-out infinite;
}

@keyframes mascotFloatSwayLeft {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-10px, -14px) rotate(-4deg);
    /* 左斜め上 */
  }

  50% {
    transform: translate(0, 0) rotate(0deg);
  }

  75% {
    transform: translate(10px, -14px) rotate(4deg);
    /* 右斜め上 */
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes mascotFloatSwayRight {
  0% {
    transform: scaleX(-1) translate(0, 0) rotate(0deg);
  }

  25% {
    transform: scaleX(-1) translate(10px, -14px) rotate(-4deg);
    /* 左斜め上（反転座標系） */
  }

  50% {
    transform: scaleX(-1) translate(0, 0) rotate(0deg);
  }

  75% {
    transform: scaleX(-1) translate(-10px, -14px) rotate(4deg);
    /* 右斜め上（反転座標系） */
  }

  100% {
    transform: scaleX(-1) translate(0, 0) rotate(0deg);
  }
}

.concept-text {
  text-align: center;
  max-width: 680px;
  color: #ffffff;
}

.concept-lead-heading {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.concept-lead-desc {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 500;
}

.concept-cta {
  display: flex;
  justify-content: center;
}

.btn-concept-white {
  display: inline-block;
  background: #ffffff;
  color: #ea9999;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 11px 30px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.btn-concept-white:hover {
  background: #fff3f3;
  color: #c92a42;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* -----------------------------------------------------
   Schedule / Consultation Hours Board
----------------------------------------------------- */
.schedule-section {
  padding: 80px 0;
  background: #ffffff;
}

.schedule-board-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fffef9;
  border: 3.5px solid #f9cdcb;
  border-radius: 28px;
  padding: 24px 22px 0;
  box-shadow: 0 10px 30px rgba(234, 153, 153, 0.15);
  position: relative;
  overflow: hidden;
}

/* Header (Bear, Title, Rabbit) */
.schedule-board-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
}

.schedule-board-bear {
  width: 175px;
  flex-shrink: 0;
}

.schedule-board-bear img {
  width: 100%;
  height: auto;
  display: block;
}

.schedule-board-rabbit {
  width: 175px;
  flex-shrink: 0;
}

.schedule-board-rabbit img {
  width: 100%;
  height: auto;
  display: block;
}

.schedule-board-title-group {
  flex: 1;
  text-align: center;
  margin: 0 10px 6px;
}

.schedule-board-heading-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.heading-ray {
  width: 44px;
  flex-shrink: 0;
  line-height: 0;
  display: inline-block;
}

.heading-ray img {
  width: 100%;
  height: auto;
  display: block;
}

h2.schedule-board-heading,
.schedule-board-heading {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 2.4rem;
  font-weight: 900;
  color: #3c2415;
  margin: 0;
  letter-spacing: 0.16em;
  line-height: 1.15;
}

.schedule-board-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 520px;
  margin: 8px auto 0;
  overflow: hidden;
}

.schedule-board-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f89694;
  flex-shrink: 0;
  display: block;
}

/* Table Area */
.schedule-table-wrap {
  width: 100%;
  border: 2.5px solid #f98b88;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(249, 139, 136, 0.08);
}

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.schedule-table thead th {
  padding: 16px 4px;
  text-align: center;
  vertical-align: middle;
}

.schedule-table thead th.th-time-title {
  background: #f98b88;
  color: #ffffff;
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.55rem;
  font-weight: 800;
  width: 30%;
  letter-spacing: 0.08em;
}

.schedule-table thead th:not(.th-time-title) {
  background: #fff3db;
  color: #3c2415;
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.85rem;
  font-weight: 800;
  border-left: 1.5px solid #fadcd7;
  width: 11.66%;
}

.schedule-table thead th.th-sat {
  color: #006699;
}

/* Table Body */
.schedule-table tbody th,
.schedule-table tbody td {
  border-top: 1.5px solid #fadcd7;
  vertical-align: middle;
}

.schedule-table tbody th {
  padding: 14px 18px;
  text-align: left;
}

.row-morning th {
  background: #fef2f2;
}

.row-afternoon th {
  background: #edf5fc;
}

.row-evening th {
  background: #f1f8ee;
}

.shift-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shift-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.shift-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.shift-name {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.shift-morning-title {
  color: #d93838;
}

.shift-afternoon-title {
  color: #1a73e8;
}

.shift-evening-title {
  color: #2e6917;
}

.shift-hours {
  font-family: var(--font-en, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #222222;
  margin-top: 5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.schedule-table tbody td {
  background: #ffffff;
  border-left: 1.5px solid #fdedeb;
  text-align: center;
  padding: 12px 4px;
}

/* Symbols */
.symbol-circle {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  vertical-align: middle;
}

.symbol-circle.ring-red {
  border: 4.5px solid #e55353;
}

.symbol-circle.ring-blue {
  border: 4.5px solid #2a75d3;
}

.symbol-circle.ring-green {
  border: 4.5px solid #5ea758;
}

.symbol-bar {
  display: inline-block;
  width: 44px;
  height: 6px;
  border-radius: 3px;
  vertical-align: middle;
}

.symbol-bar.bar-blue {
  background: #2a75d3;
}

.symbol-bar.bar-green {
  background: #5ea758;
}

/* Bottom Banner */
.schedule-board-bottom-banner {
  margin: 0 -22px;
  line-height: 0;
}

.schedule-board-bottom-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------
   Clinic Notices / Information Section (Live Section 5)
----------------------------------------------------- */
.clinic-notices-section {
  padding: 80px 0;
  background: var(--color-bg-sub);
}

.notices-card-box {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid #fadcd7;
  padding: 40px 45px;
  box-shadow: 0 8px 24px rgba(234, 153, 153, 0.1);
}

.notice-block {
  margin-bottom: 30px;
}

.notice-block:last-child {
  margin-bottom: 0;
}

.notice-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.bullet-dot {
  color: #e55353;
  font-size: 1.1rem;
  line-height: 1.7;
  flex-shrink: 0;
}

.bullet-text strong {
  color: #333333;
  font-weight: 700;
}

.text-note {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  display: inline-block;
  margin-top: 3px;
}

.notice-drivein-box {
  background: #fcf9f2;
  border: 2px dashed #e8d0b3;
  border-radius: 16px;
  padding: 24px 28px;
}

.notice-drivein-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.car-emoji {
  font-size: 1.4rem;
}

.notice-drivein-header h3 {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.3rem;
  font-weight: 800;
  color: #634316;
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

.notice-drivein-title .drivein-line {
  display: inline;
}

.notice-drivein-body {
  display: block;
}

.notice-drivein-highlight {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 12px;
}

.notice-drivein-highlight strong {
  color: #c54228;
  font-weight: 700;
  background: linear-gradient(transparent 60%, #ffe0d6 60%);
}

.notice-drivein-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 8px;
}

.notice-weather-note {
  font-size: 0.88rem;
  color: #777777;
  margin-top: 10px;
  margin-bottom: 0;
}

.notice-drivein-photo-wrap {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
  border: 1px solid #e8d0b3;
}

.notice-drivein-photo-wrap picture {
  display: block;
  width: 100%;
}

.notice-drivein-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.notice-sub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mask-icon,
.star-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.star-icon {
  color: #e59400;
}

.notice-sub-header h4 {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0;
}

.notice-mask-box p,
.notice-reservation-box p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 0;
  padding-left: 28px;
}

.notice-divider {
  height: 1px;
  border-top: 1px dashed #fadcd7;
  margin: 28px 0;
}

.tel-link {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -----------------------------------------------------
   Medical Services Section (Live Sections 6, 7, 8, 9)
----------------------------------------------------- */
.services-section {
  padding: 80px 0;
  background: #ffffff;
  scroll-margin-top: 90px;
}

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

.service-card {
  background: var(--color-bg-sub);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.service-icon-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.service-card-title {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  text-align: left;
}

.highlight-orange {
  color: #d9531e;
}

/* Checkup Card */
.medical-checkup-card {
  margin-top: 45px;
  background: #faf8f5;
  border-radius: var(--radius-lg);
  padding: 35px 40px;
  border: 1.5px solid var(--color-border);
}

.checkup-title {
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', var(--font-base);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.checkup-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 12px;
}

.checkup-lead .text-muted {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: normal;
}

.checkup-items {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444444;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid #efe8dd;
  margin-bottom: 16px;
}

.checkup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.checkup-warning {
  font-size: 0.92rem;
  color: #c54228;
  font-weight: 600;
  margin: 0;
}

/* -----------------------------------------------------
   Doctor Intro Section
----------------------------------------------------- */
.doctor-section {
  padding: 80px 0;
  background: var(--color-bg-sub);
}

.doctor-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #faf8f5;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.doctor-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 35px;
  align-items: center;
}

.doctor-card-img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.doctor-info h4 {
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.doctor-info .doctor-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.doctor-titles {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.doctor-message {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.85;
}

/* -----------------------------------------------------
   Access & Map Section
----------------------------------------------------- */
.access-section {
  padding: 80px 0;
  background: var(--color-bg-sub);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.54fr;
  gap: 40px;
  align-items: start;
}

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

.access-map-img>img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
  display: block;
}

.access-yoyaku-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
}

.access-yoyaku-banner a {
  display: block;
  transition: opacity 0.2s ease;
}

.access-yoyaku-banner a:hover {
  opacity: 0.88;
}

.access-yoyaku-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a73e8;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 6px;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.map-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.access-details {
  background: #ffffff;
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.access-details h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-primary);
  padding-left: 12px;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.access-list dt {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 2px;
}

.access-list dd {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.access-details .btn {
  white-space: nowrap !important;
  font-size: clamp(0.82rem, 3.8vw, 1.05rem) !important;
  padding: 12px 10px !important;
  letter-spacing: -0.01em;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* -----------------------------------------------------
   Responsive
----------------------------------------------------- */
@media screen and (max-width: 991px) {
  /* スマホ・タブレット: 写真は上部に100%全幅でそのまま表示（文字は絶対に重ねない）、文章とボタンはその真下に配置 */
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    background: #ffffff !important;
    position: static !important;
    align-items: stretch !important;
  }

  .hero-bg-media {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    line-height: 0 !important;
    z-index: 1 !important;
  }

  .hero-bg-img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .hero-overlay {
    display: none !important;
  }

  .hero-container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 20px 28px !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
  }

  .hero-content-card {
    max-width: 100% !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem) !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }

  .hero-lead {
    font-size: 0.94rem !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    white-space: nowrap !important;
    font-size: clamp(0.72rem, 2.7vw, 0.95rem) !important;
    padding: 10px clamp(8px, 2.2vw, 18px) !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .news-list-wrap {
    padding: 22px 18px;
    margin-bottom: 35px;
  }

  .news-list-heading {
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .news-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
  }

  .news-heading-text {
    font-size: 1.15rem;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .banner-rinji-card {
    padding: 16px 16px 8px;
    border-radius: 16px;
  }

  .rinji-asof-date {
    position: absolute;
    right: 8px;
    bottom: -6px;
    margin: 0;
  }

  .rinji-asof-date span {
    font-size: 0.95rem;
    padding: 2px 10px;
    border-radius: 8px;
  }

  .rinji-lead-text {
    font-size: 0.92rem;
    margin-bottom: 12px;
  }

  .rinji-item {
    padding: 4px 14px;
    border-radius: 10px;
  }

  .rinji-item-icon {
    font-size: 1.5rem;
  }

  .rinji-num {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
  }

  .rinji-kanji,
  .rinji-dow {
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  }

  .rinji-vsep-dotted {
    height: 36px;
    margin: 0 10px;
  }

  .rinji-item-shift {
    font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  }

  .top-banners-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .concept-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .concept-mascot-side img {
    width: 90px;
  }

  .concept-mascot-side.mascot-right {
    display: none;
  }

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

  .doctor-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-card-img img {
    max-width: 260px;
    margin: 0 auto;
  }

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

  .schedule-section {
    padding: clamp(44px, 10vw, 54px) 0;
  }

  /* Schedule Board Responsive (スマートフォンでスクロールさせず1画面幅に完全収容) */
  .schedule-board-card {
    padding: 14px 10px 0;
    border-radius: 18px;
    border-width: 2.5px;
  }

  .schedule-board-header {
    margin-bottom: 12px;
  }

  .schedule-board-bear {
    width: clamp(50px, 14vw, 95px);
  }

  .schedule-board-rabbit {
    width: clamp(50px, 14vw, 95px);
  }

  .schedule-board-title-group {
    margin: 0 4px 4px;
  }

  .schedule-board-heading-wrap {
    gap: clamp(4px, 1.6vw, 12px);
    margin-bottom: 3px;
  }

  .heading-ray {
    width: clamp(14px, 4vw, 26px);
  }

  h2.schedule-board-heading,
  .schedule-board-heading {
    font-size: clamp(1.05rem, 4.2vw, 1.55rem);
    letter-spacing: clamp(0.04em, 1.2vw, 0.08em);
  }

  .schedule-board-dots {
    gap: clamp(2px, 0.8vw, 6px);
    max-width: clamp(140px, 46vw, 320px);
    margin: 3px auto 0;
  }

  .schedule-board-dots span {
    width: clamp(3px, 0.9vw, 6px);
    height: clamp(3px, 0.9vw, 6px);
  }

  .schedule-table-wrap {
    overflow-x: visible;
    border-radius: 10px;
    border-width: 2px;
    margin-bottom: 12px;
  }

  .schedule-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .schedule-table thead th.th-time-title {
    width: 33%;
    padding: clamp(6px, 1.5vw, 12px) 2px;
    font-size: clamp(0.85rem, 3vw, 1.25rem);
    letter-spacing: 0;
  }

  .schedule-table thead th:not(.th-time-title) {
    width: 11.16%;
    padding: clamp(6px, 1.5vw, 12px) 0;
    font-size: clamp(0.95rem, 3.5vw, 1.45rem);
  }

  .schedule-table tbody th {
    padding: clamp(6px, 1.4vw, 12px) clamp(2px, 0.8vw, 8px) clamp(6px, 1.4vw, 12px) clamp(4px, 1.2vw, 10px);
  }

  .shift-cell {
    gap: clamp(3px, 1.2vw, 10px);
  }

  .shift-icon {
    width: clamp(24px, 7vw, 46px);
    height: clamp(24px, 7vw, 46px);
  }

  .shift-name {
    font-size: clamp(0.92rem, 3.2vw, 1.45rem);
    line-height: 1.15;
  }

  .shift-hours {
    font-size: clamp(0.68rem, 2.4vw, 1rem);
    margin-top: 2px;
    letter-spacing: -0.02em;
  }

  .schedule-table tbody td {
    padding: clamp(4px, 1vw, 8px) 1px;
  }

  .symbol-circle,
  .symbol-circle.ring-red,
  .symbol-circle.ring-blue,
  .symbol-circle.ring-green {
    width: clamp(18px, 5.4vw, 30px);
    height: clamp(18px, 5.4vw, 30px);
    border-width: 2px !important;
  }

  .symbol-bar {
    width: clamp(14px, 4.5vw, 24px);
    height: 2px !important;
    border-radius: 1px;
  }

  .schedule-board-bottom-banner {
    margin: 0 -10px;
  }

  /* Notices Card Responsive */
  .notices-card-box {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .notice-drivein-box {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .notice-drivein-header {
    justify-content: center;
    text-align: center;
  }

  .notice-drivein-title {
    text-align: center;
  }

  .notice-drivein-title .drivein-line {
    display: block !important;
    text-align: center;
  }

  .notice-drivein-photo-wrap {
    margin-top: 16px;
    max-width: 500px;
  }

  .notice-mask-box p,
  .notice-reservation-box p {
    padding-left: 0;
    margin-top: 6px;
  }

  .concept-lead-heading {
    font-size: 1.5rem;
  }

  .medical-checkup-card {
    padding: 24px 18px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 480px) {
  .schedule-board-card {
    padding: 10px 6px 0;
    border-radius: 14px;
    border-width: 2px;
  }

  .schedule-board-bottom-banner {
    margin: 0 -6px;
  }

  .notices-card-box {
    padding: 20px 14px;
  }
}

@media screen and (max-width: 600px) {

  /* スマホ専用: 臨時休診カードはみ出し防止＆リード文完全2行表示 */
  .top-banners-2col {
    gap: 18px;
    margin-bottom: 24px;
    width: 100%;
    overflow: hidden;
  }

  .banner-col-left,
  .banner-col-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .banner-rinji-card {
    padding: 12px 10px 4px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .rinji-header-wrap {
    margin-bottom: 4px;
  }

  .rinji-asof-date {
    position: absolute;
    right: 4px;
    bottom: -4px;
    margin: 0;
  }

  .rinji-asof-date span {
    font-size: clamp(0.72rem, 2.6vw, 0.85rem);
    padding: 1px 7px;
    border-width: 1.5px;
    border-radius: 6px;
  }

  /* 誠に勝手ながら〜の案内文：スマホで画面幅に合わせて自動縮小し、途中で折り返さず綺麗な2行に完全固定 */
  .rinji-lead-text {
    font-size: clamp(9px, 2.8vw, 12.5px);
    line-height: 1.45;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    padding: 0 2px;
  }

  .rinji-lead-line {
    display: inline-block;
    white-space: nowrap;
  }

  .rinji-schedule-list {
    width: 100%;
  }

  .rinji-item-row {
    padding-bottom: 3.5px;
    margin-bottom: 3.5px;
  }

  .rinji-item {
    padding: 3px 6px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .rinji-item-date {
    gap: 2.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .rinji-item-icon {
    font-size: clamp(1.1rem, 3.6vw, 1.4rem);
  }

  .rinji-num {
    font-size: clamp(1.85rem, 6.8vw, 2.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0 0.5px;
  }

  .rinji-kanji,
  .rinji-dow {
    font-size: clamp(0.95rem, 3.2vw, 1.3rem);
    line-height: 1;
    margin: 0 1px;
  }

  .rinji-vsep-dotted {
    height: clamp(24px, 6vw, 32px);
    margin: 0 clamp(4px, 1.5vw, 8px);
    flex-shrink: 0;
  }

  .rinji-item-shift {
    font-size: clamp(1.15rem, 4.2vw, 1.6rem);
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .rinji-footer-img {
    margin-top: 2px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .doctor-wrap {
    padding: 24px 18px;
  }

  .access-details {
    padding: 24px 18px;
  }

  h2.schedule-board-heading,
  .schedule-board-heading {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem);
    letter-spacing: 0.06em;
  }
}