.info-page {
  padding: 20px 0 40px;
}

.info-hero {
  max-width: 1120px;
  margin: 0 auto 26px;
  padding: 0 20px;
}

.info-hero-inner {
  min-height: 270px;
  border-radius: 24px;
  padding: 34px 40px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(15, 39, 68, 0.72), rgba(31, 79, 214, 0.48)),
    url("../images/outlook1.jpg") center 67% / cover no-repeat;
  box-shadow: 0 16px 36px rgba(16, 56, 115, 0.18);
  display: grid;
  align-content: center;
}

.info-hero-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9ddff;
}

.info-hero h1 {
  margin: 6px 0 2px;
  font-size: 48px;
  line-height: 1.15;
}

.info-hero p {
  margin: 0;
  font-size: 20px;
}

.info-section {
  max-width: 1120px;
  margin: 0 auto 24px;
  padding: 0 20px;
}

.info-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.info-heading-line {
  width: 4px;
  height: 46px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #2aa0b4, #0f2744);
}

.info-heading h2 {
  margin: 0;
  color: #0f2744;
  font-size: 34px;
  line-height: 1.2;
}

.info-heading p {
  margin: 2px 0 0;
  color: #1a7a8a;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-block {
  background: #ffffff;
  border: 1px solid #d8e4f5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 56, 115, 0.08);
  padding: 24px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}

.doctor-figure {
  margin: 0;
}

.doctor-figure img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #cfe0fb;
  box-shadow: 0 10px 20px rgba(16, 56, 115, 0.12);
}

.doctor-figure figcaption {
  margin-top: 10px;
  font-weight: 700;
  color: #173f84;
  text-align: center;
}

.doctor-message p {
  margin: 0 0 12px;
  color: #35455f;
  line-height: 1.9;
}

.doctor-sign {
  text-align: right;
  color: #2a3f63;
  font-weight: 600;
}

.departments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.departments span {
  padding: 10px 18px;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: #173f84;
  font-weight: 700;
}

.schedule-wrap {
  display: grid;
  gap: 14px;
}

.table-scroll {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #d8e4f5;
  padding: 10px;
  text-align: center;
  font-size: 20px;
}

.schedule-table th {
  background: #f0f6ff;
  color: #274a7f;
}

.schedule-detail {
  margin: 0;
  border: 1px solid #d8e4f5;
  border-radius: 12px;
  background: #fbfdff;
}

.schedule-detail div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid #d8e4f5;
}

.schedule-detail div:first-child {
  border-top: none;
}

.schedule-detail dt,
.schedule-detail dd {
  margin: 0;
  padding: 12px 14px;
}

.schedule-detail dt {
  color: #274a7f;
  font-weight: 700;
  border-right: 1px solid #d8e4f5;
}

.schedule-detail dd {
  color: #33435f;
  line-height: 1.7;
}

.schedule-note {
  margin: 0;
  padding-left: 20px;
  color: #384966;
  line-height: 1.8;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.machine-card {
  background: #ffffff;
  border: 1px solid #d8e4f5;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(16, 56, 115, 0.08);
  overflow: hidden;
}

.machine-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.machine-card h3 {
  margin: 10px 12px 6px;
  font-size: 22px;
  color: #173f84;
  line-height: 1.35;
}

.machine-card p {
  margin: 0 12px 14px;
  color: #4a5d7e;
  line-height: 1.7;
}

.fee-block ul {
  margin: 0 0 10px;
  padding-left: 20px;
  color: #2f4264;
  line-height: 1.8;
}

.fee-block p {
  margin: 0 0 6px;
  color: #52637f;
}
@media (max-width: 900px) {
  .info-page {
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
  }

  .info-hero,
  .info-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .info-page section,
  .info-page .card-block,
  .info-page .info-hero,
  .info-page .doctor-grid,
  .info-page .schedule-card,
  .info-page .machine-grid-wrap,
  .info-page .fee-block {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .info-page img,
  .info-page iframe,
  .info-page table {
    max-width: 100%;
  }

  .info-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
    line-height: 1.14;
  }

  .info-heading p {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  /* クリニック情報ヒーローの文字サイズ調整 */
  .info-hero {
    margin-bottom: 18px;
  }

  .info-hero-inner {
    min-height: 300px;
    border-radius: 22px;
    padding: 22px 20px;
    background-position: center;
  }

  .info-hero-en,
  .info-hero-label,
  .info-hero-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .info-hero-title,
  .info-hero-main {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
  }

  .info-hero-sub,
  .info-hero-subtitle {
    font-size: clamp(1.05rem, 5.2vw, 1.45rem);
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  .info-hero h1 {
    margin: 4px 0 4px;
    font-size: clamp(2.0rem, 9.6vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: 0.005em;
  }

  .info-hero p {
    margin: 0;
    font-size: clamp(1.02rem, 4.8vw, 1.28rem);
    line-height: 1.32;
  }

  .doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .doctor-photo-wrap img,
  .doctor-portrait img,
  .doctor-image-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .doctor-message,
  .doctor-text {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed;
    white-space: normal;
    word-break: auto-phrase;
    line-height: 1.9;
    font-size: 1.03rem;
    letter-spacing: 0.01em;
  }

  .doctor-caption,
  .doctor-name {
    text-align: left;
    margin-top: 10px;
    font-size: 1.28rem;
  }

  .departments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .departments .chip,
  .department-chip {
    flex: 0 0 auto;
    min-width: unset;
    padding: 12px 16px;
  }

  .schedule-table-wrap,
  .table-scroll {
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
    padding-bottom: 0;
  }

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

  .schedule-table th,
  .schedule-table td {
    font-size: clamp(0.9rem, 3.4vw, 1rem);
    padding: 7px 3px;
    line-height: 1.35;
  }

  .schedule-wrap.card-block {
    padding: 14px 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .schedule-wrap .schedule-table,
  .schedule-wrap .schedule-detail,
  .schedule-wrap .schedule-note {
    margin-left: auto;
    margin-right: auto;
  }

  .schedule-wrap .schedule-note {
    padding-left: 1em;
  }

  .schedule-detail div {
    grid-template-columns: 110px 1fr;
  }

  .machine-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding-bottom: 8px;
    scrollbar-width: thin;
    align-items: stretch;
  }

  .machine-card {
    flex: 0 0 min(78vw, 320px);
  }

  .machine-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .machine-card-title,
  .machine-card-text {
    writing-mode: horizontal-tb !important;
    white-space: normal;
    word-break: auto-phrase;
  }

  .machine-card-title {
    font-size: 1.45rem;
    line-height: 1.35;
    margin: 10px 0 8px;
  }

  .machine-card-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .fee-block {
    padding: 22px 18px;
  }

  .fee-block ul {
    margin: 0;
    padding-left: 1.2em;
  }

  .fee-block li {
    line-height: 1.8;
    font-size: 1rem;
  }
}
