@charset "UTF-8";

/* =========================================================
   medical section common
   ========================================================= */
.medical-section {
  padding: 6rem 0;
  background: #fff;
}

.medical-section__inner {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
}

.medical-section__head {
  margin-bottom: 3.2rem;
  text-align: center;
}

.medical-section__eyebrow {
  margin: 0 0 0.8rem;
  color: var(--color-main-dark);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.medical-section__title {
  margin: 0;
  color: #111;
  font-size: clamp(3.2rem, 3vw, 4.8rem);
  font-weight: 700;
  line-height: 1.3;
}

.medical-section__lead {
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 1.4rem 2.4rem;

  border-radius: 999px;
  background: linear-gradient(180deg, #f8fcfe 0%, #eef6fb 100%);
  color: #4b5563;
  font-size: 1.6rem;
  line-height: 1.9;
  text-align: center;
  text-wrap: pretty;
  box-shadow: 0 6px 18px rgba(22, 90, 167, 0.04);
}

.medical-section__lead.double {
  max-width: 590px;
}




/* =========================================================
   visit request
   ========================================================= */
.medical-visit {
  display: grid;
  gap: 3.2rem;
}

.medical-visit__main {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 4rem;
  align-items: start;
}

.medical-visit__image {
  position: relative;
}

.medical-visit__image::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border-radius: 2.4rem;
  background: rgba(220, 236, 247, 0.55);
  z-index: 0;
}

.medical-visit__image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 5 / 5;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.medical-visit__body {
  color: #333;
  font-size: 1.7rem;
  line-height: 2;
}

.medical-visit__body p {
  margin: 0;
}

.medical-visit__body p+p {
  margin-top: 1.4rem;
}

.medical-visit__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.medical-visit__note {
  padding: 2.4rem;
  border: 1px solid #dce8f0;
  border-radius: 1.8rem;
  background: #f8fcfe;
}

.medical-visit__note-title {
  margin: 0 0 1.4rem;
  color: var(--color-main-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.medical-visit__list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.6em;
}

.medical-visit__list li {
  color: #374151;
  font-size: 1.6rem;
  line-height: 1.8;
}

.medical-visit__alert {
  margin-top: 3.2rem;
  padding: 2rem 2.4rem;
  border-left: 4px solid var(--color-main-dark);
  border-radius: 1.2rem;
  background: #eef6fb;
}

.medical-visit__alert p {
  margin: 0;
  color: #234;
  font-size: 1.6rem;
  line-height: 1.9;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 1024px) {
  .medical-visit__main {
    grid-template-columns: 360px 1fr;
    gap: 3.2rem;
  }

  .medical-visit__image img {
    max-width: 360px;
  }
}

@media screen and (max-width: 767px) {
  .medical-section {
    padding: 2rem 0;
  }

  .medical-section__inner {
    width: min(100% - 24px, 1100px);
  }

  .medical-section__head {
    margin-bottom: 2.4rem;
    text-align: left;
  }

  .medical-section__title {
    font-size: clamp(2.8rem, 8vw, 3rem);
  }

  .medical-section__lead {
    margin-top: 1.2rem;
    font-size: 1.6rem;
    line-height: 1.8;
  }

  .medical-visit {
    gap: 2.4rem;
  }

  .medical-visit__main {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .medical-visit__image {
    display: flex;
    justify-content: center;
  }

  .medical-visit__image::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    border-radius: 1.8rem;
  }

  .medical-visit__image img {
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 2;
    border-radius: 1.6rem;
  }

  .medical-visit__body {
    font-size: 1.6rem;
    line-height: 1.9;
  }

  .medical-visit__notes {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .medical-visit__note {
    padding: 2rem 1.6rem;
    border-radius: 1.4rem;
  }

  .medical-visit__note-title {
    font-size: 1.8rem;
  }

  .medical-visit__list li {
    font-size: 1.5rem;
    line-height: 1.75;
  }

  .medical-visit__alert {
    margin-top: 2.4rem;
    padding: 1.6rem;
  }

  .medical-visit__alert p {
    font-size: 1.5rem;
    line-height: 1.8;
  }
}


/* =========================================================
   medical care
   ========================================================= */
/* =========================================================
   medical feature block
   ========================================================= */
.medical-block {
  display: grid;
  gap: 2rem;
  margin-bottom: 5rem;
}

.medical-block__header {
  margin-bottom: 0.4rem;
}

.medical-block__title {
  margin: 0;
  color: var(--color-main-dark);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.medical-feature {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 4rem;
  align-items: center;
}

.medical-feature--reverse .medical-feature__media {
  order: 2;
}

.medical-feature--reverse .medical-feature__body {
  order: 1;
}

.medical-feature__media {
  position: relative;
}

.medical-feature__media::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border-radius: 2.4rem;
  background: rgba(220, 236, 247, 0.55);
  z-index: 0;
}

.medical-feature__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.medical-feature__media img.five-three {
  aspect-ratio: 5 / 3;
}

.medical-feature__media img.six-three {
  aspect-ratio: 6 / 3;
}

.medical-feature__body {
  color: #333;
  font-size: 1.7rem;
  line-height: 2;
}

.medical-feature__body.sub {
  max-width: 800px;
  margin: auto;
}

.medical-feature__body p {
  margin: 0;
}

.medical-feature__body p+p {
  margin-top: 1.4rem;
}

@media screen and (max-width: 1024px) {
  .medical-feature {
    grid-template-columns: 360px 1fr;
    gap: 3.2rem;
  }

  .medical-feature__media img {
    max-width: 360px;
  }
}

@media screen and (max-width: 767px) {
  .medical-block {
    gap: 1.6rem;
    
  }

  .medical-block__title {
    font-size: 2.3rem;
  }

  .medical-feature,
  .medical-feature--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .medical-feature--reverse .medical-feature__media,
  .medical-feature--reverse .medical-feature__body {
    order: initial;
  }

  .medical-feature__media {
    display: flex;
    justify-content: center;
  }

  .medical-feature__media::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    border-radius: 1.8rem;
  }

  .medical-feature__media img {
    width: 100%;
    max-width: none;
    border-radius: 1.6rem;
  }

  .medical-feature__body {
    font-size: 1.6rem;
    line-height: 1.9;
  }
}

/* =========================================================
   thermal factors
   ========================================================= */
.thermal-factors {
  width: 100%;
  max-width: 800px;
  margin: 4.8rem auto 2.4rem;
  padding: 2.4rem 2.4rem;
  border-radius: 2.4rem;
  background: #f8fcfe;
  border: 1px solid #dce8f0;
}

.thermal-factors__title {
  margin: 0 0 2.4rem;
  color: var(--color-main-dark);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.thermal-factors__diagram {
  position: relative;
  min-height: 480px;
  max-width: 980px;
  margin: 0 auto;
}

.thermal-factors__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 220px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0f6fa8;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.7;
  z-index: 2;
}

.thermal-factors__center::before,
.thermal-factors__center::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.thermal-factors__center::before {
  inset: -14%;
  background: rgba(190, 224, 244, 0.45);
  z-index: -2;
}

.thermal-factors__center::after {
  background: rgba(171, 214, 240, 0.85);
  z-index: -1;
}

.thermal-factors__item {
  position: absolute;
  width: 155px;
  color: #333;
  font-size: 1.7rem;
  line-height: 1.8;
  text-align: left;
}

.thermal-factors__item p {
  margin: 0;
}

.thermal-factors__item--top {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.thermal-factors__item--right {
  top: 37%;
  right: 5%;
}

.thermal-factors__item--bottom-right {
  right: 12%;
  bottom: 12%;
}

.thermal-factors__item--bottom-left {
  left: 14%;
  bottom: 12%;
}

.thermal-factors__item--left {
  top: 37%;
  left: 5%;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 1024px) {


  .thermal-factors__center {

    font-size: 1.8rem;
  }

  .thermal-factors__item {

    font-size: 1.6rem;
  }

}

@media screen and (max-width: 767px) {
  .thermal-factors {
    max-width: 520px;
    font-size: 1.6rem;
  }

  .thermal-factors__diagram {
    min-height: 230px;
  }

  .thermal-factors__center {
    width: 20%;
    height: 38%;
    font-size: 1.5rem;
  }

  .thermal-factors__item {
    width: 120px;
    font-size: 1.4rem;
  }

  .thermal-factors__item--top {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
  }

  .thermal-factors__item--right {
    top: 37%;
    right: 0%;
  }

  .thermal-factors__item--bottom-right {
    right: 3%;
    bottom: 6%;
  }

  .thermal-factors__item--bottom-left {
    left: 4%;
    bottom: 6%;
  }

  .thermal-factors__item--left {
    top: 37%;
    left: 2%;
  }
}

@media screen and (max-width: 500px) {
  .thermal-factors {
    padding: 1rem;
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }


  .thermal-factors__diagram {
    min-height: 210px;
  }

  .thermal-factors__center {
    width: 22%;
    height: 28%;
    font-size: 1.2rem;
  }


  .thermal-factors__item {
    width: 106px;
    font-size: 1.2rem;
  }

  .thermal-factors__item--top {
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
  }

  .thermal-factors__item--right {
    top: 35%;
    right: -4%;
  }

  .thermal-factors__item--bottom-right {
    right: 3%;
    bottom: 6%;
  }

  .thermal-factors__item--bottom-left {
    left: 4%;
    bottom: 6%;
  }

  .thermal-factors__item--left {
    top: 35%;
    left: -2%;
  }
}

/* =========================================================
   medical note
   ========================================================= */
.medical-note {
  max-width:800px;
  margin: 3rem auto 3rem;
  border: 2px solid #1f7fc5;
  border-radius: 1.6rem;
  background: #fff;
  overflow: hidden;
}

.medical-note__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 2rem;
  background: #dff0fb;
  border-bottom: 2px solid #1f7fc5;
}

.medical-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #1f7fc5;
  flex: 0 0 auto;
}

.medical-note__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.medical-note__title {
  margin: 0;
  color: #0f6fa8;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.medical-note__body {
  padding: 2.4rem;
}

.medical-note__body p {
  margin: 0;
  color: #333;
  font-size: 1.7rem;
  line-height: 1.9;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 767px) {
  .medical-note {
    margin-top: 3.2rem;
    border-width: 1px;
    border-radius: 1.2rem;
  }

  .medical-note__head {
    gap: 0.8rem;
    padding: 1.2rem 1.4rem;
    border-bottom-width: 1px;
  }

  .medical-note__icon {
    width: 2rem;
    height: 2rem;
  }

  .medical-note__title {
    font-size: 1.7rem;
  }

  .medical-note__body {
    padding: 1.6rem 1.4rem;
  }

  .medical-note__body p {
    font-size: 1.5rem;
    line-height: 1.8;
  }
}

/* =========================================================
   medical equipment
   ========================================================= */
.medical-equipment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.2rem 2.4rem;
}

.medical-equipment__item {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid #dce8f0;
  border-radius: 1.8rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 90, 167, 0.05);
}

.medical-equipment__image {
  background: #f8fbfd;
}

.medical-equipment__image img {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 414;
  object-fit: cover;
}

.medical-equipment__body {
  padding: 2rem 1.8rem 2.2rem;
}

.medical-equipment__title {
  margin: 0 0 1.2rem;
  color: #1f2937;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.medical-equipment__body p {
  margin: 0;
  color: #4b5563;
  font-size: 1.6rem;
  line-height: 1.85;
}

/* 下段だけ少し縦長画像を活かしたい場合 */
.medical-equipment__item:nth-child(n + 4) .medical-equipment__image img {
  aspect-ratio: 600 / 591;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 1024px) {
  .medical-equipment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 2rem;
  }
}

@media screen and (max-width: 767px) {
  .medical-equipment {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .medical-equipment__item {
    border-radius: 1.4rem;
  }

  .medical-equipment__body {
    padding: 1.6rem 1.4rem 1.8rem;
  }

  .medical-equipment__title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }

  .medical-equipment__body p {
    font-size: 1.5rem;
    line-height: 1.8;
  }
}

/* =========================================================
   medical operation
   ========================================================= */
.medical-operation__hero {
  margin-top: 2.4rem;
  position: relative;
  display: flex;
  justify-content: center;
}

.medical-operation__hero::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border-radius: 2.4rem;
  background: rgba(220, 236, 247, 0.55);
  z-index: 0;
}

.medical-operation__hero img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 1200 / 484;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.medical-operation__topics {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

.medical-operation__topic {
  padding: 2.4rem;
  border: 1px solid #dce8f0;
  border-radius: 1.8rem;
  background: #fbfdff;
}

.medical-operation__topic-title {
  margin: 0 0 1.2rem;
  color: var(--color-main-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.medical-operation__topic p {
  margin: 0;
  color: #333;
  font-size: 1.7rem;
  line-height: 1.9;
}

.medical-operation__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 4rem;
}

.medical-operation__card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid #dce8f0;
  border-radius: 1.8rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 90, 167, 0.05);
}

.medical-operation__card-image {
  background: #f8fbfd;
}

.medical-operation__card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 400;
  object-fit: cover;
}

.medical-operation__card-body {
  padding: 1.8rem;
}

.medical-operation__card-title {
  margin: 0 0 0.8rem;
  color: #1f2937;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.medical-operation__card-body p {
  margin: 0;
  color: #4b5563;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 767px) {
  .medical-operation__hero {
    margin-top: 2rem;
  }

  .medical-operation__hero::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    border-radius: 1.8rem;
  }

  .medical-operation__hero img {
    border-radius: 1.6rem;
  }

  .medical-operation__topics {
    gap: 1.6rem;
    margin-top: 3.2rem;
  }

  .medical-operation__topic {
    padding: 2rem 1.6rem;
    border-radius: 1.4rem;
  }

  .medical-operation__topic-title {
    font-size: 1.8rem;
  }

  .medical-operation__topic p {
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .medical-operation__gallery {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 3.2rem;
  }

  .medical-operation__card {
    border-radius: 1.4rem;
  }

  .medical-operation__card-body {
    padding: 1.4rem;
  }

  .medical-operation__card-title {
    font-size: 1.7rem;
  }

  .medical-operation__card-body p {
    font-size: 1.5rem;
    line-height: 1.75;
  }
}

/* =========================================================
   medical fee
   ========================================================= */
.medical-fee {
  display: grid;
  gap: 3.2rem;
}

.medical-fee__section {
  display: grid;
  gap: 1.6rem;
}

.medical-fee__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.8rem 1.2rem;
}

.medical-fee__group-title {
  margin: 0;
  color: var(--color-main-dark);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
}

.medical-fee__group-note {
  margin: 0;
  color: #5b6776;
  font-size: 1.4rem;
  line-height: 1.6;
}

.medical-fee-table-wrap {
  overflow: visible;
}

.medical-fee-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 90, 167, 0.04);
}

.medical-fee-table th,
.medical-fee-table td {
  padding: 1.6rem 2rem;
  border-bottom: 1px solid #dce8f0;
  font-size: 1.6rem;
  line-height: 1.7;
  vertical-align: middle;
}

.medical-fee-table tbody tr:last-child th,
.medical-fee-table tbody tr:last-child td {
  border-bottom: none;
}

/* 交互背景 */
.medical-fee-table tbody tr:nth-child(odd) th,
.medical-fee-table tbody tr:nth-child(odd) td {
  background: #fbfdff;
}

.medical-fee-table tbody tr:nth-child(even) th,
.medical-fee-table tbody tr:nth-child(even) td {
  background: #f5fafd;
}

.medical-fee-table th {
  width: 70%;
  text-align: left;
  font-weight: 700;
  color: #2d3748;
}

.medical-fee-table td {
  width: 30%;
  text-align: right;
  font-weight: 700;
  color: var(--color-main-dark);
  white-space: nowrap;
}

.medical-fee-table__name {
  display: block;
}

.medical-fee-table__spec {
  display: block;
  margin-top: 0.3rem;
  font-weight: 400;
  color: #5b6776;
  font-size: 1.45rem;
  line-height: 1.6;
}

.medical-fee-table--compare thead th {
  background: #eef6fb;
  color: var(--color-main-dark);
  text-align: center;
  font-weight: 700;
}

.medical-fee-table--compare tbody th {
  width: 50%;
}

.medical-fee-table--compare td {
  width: 25%;
  text-align: center;
}

.medical-fee__note {
  margin: -0.8rem 0 0;
  color: #5b6776;
  font-size: 1.4rem;
  line-height: 1.7;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 767px) {
  .medical-fee {
    gap: 2.4rem;
  }

  .medical-fee__group-title {
    font-size: 2rem;
  }

  .medical-fee__group-note {
    font-size: 1.3rem;
  }

  /* simple / group はカード風に崩す */
  .medical-fee-table:not(.medical-fee-table--compare),
  .medical-fee-table:not(.medical-fee-table--compare) tbody,
  .medical-fee-table:not(.medical-fee-table--compare) tr,
  .medical-fee-table:not(.medical-fee-table--compare) th,
  .medical-fee-table:not(.medical-fee-table--compare) td {
    display: block;
    width: 100%;
  }

  .medical-fee-table:not(.medical-fee-table--compare) {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .medical-fee-table:not(.medical-fee-table--compare) tbody {
    display: grid;
    gap: 1rem;
  }

  .medical-fee-table:not(.medical-fee-table--compare) tr {
    border: 1px solid #dce8f0;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(22, 90, 167, 0.04);
  }

  .medical-fee-table:not(.medical-fee-table--compare) tbody tr:nth-child(odd) th,
  .medical-fee-table:not(.medical-fee-table--compare) tbody tr:nth-child(odd) td,
  .medical-fee-table:not(.medical-fee-table--compare) tbody tr:nth-child(even) th,
  .medical-fee-table:not(.medical-fee-table--compare) tbody tr:nth-child(even) td {
    background: #fff;
  }

  .medical-fee-table:not(.medical-fee-table--compare) th {
    padding: 1.2rem 1.4rem 0.6rem;
    border-bottom: none;
    font-size: 1.45rem;
    line-height: 1.65;
  }

  .medical-fee-table:not(.medical-fee-table--compare) td {
    padding: 0.6rem 1.4rem 1.2rem;
    border-bottom: none;
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .medical-fee-table:not(.medical-fee-table--compare) td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.4rem;
    color: #5b6776;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
  }

  .medical-fee-table__spec {
    font-size: 1.3rem;
  }

  /* compare は横スクロールさせず3列維持 */
  .medical-fee-table--compare {
    table-layout: fixed;
    border-radius: 1.2rem;
  }

  .medical-fee-table--compare th,
  .medical-fee-table--compare td {
    padding: 1rem 0.8rem;
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .medical-fee-table--compare thead th {
    font-size: 1.25rem;
  }

  .medical-fee-table--compare tbody th {
    width: 46%;
  }

  .medical-fee-table--compare td {
    width: 27%;
    white-space: normal;
  }

  .medical-fee__note {
    font-size: 1.3rem;
  }
}

.medical-fee__nested-block + .medical-fee__nested-block {
  margin-top: 2rem;
}

.medical-fee__nested-head {
  margin-bottom: 1rem;
}

.medical-fee__nested-title {
  margin: 0;
  color: #2d3748;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.medical-fee__nested-note {
  margin: 0.4rem 0 0;
  color: #5b6776;
  font-size: 1.4rem;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .medical-fee__nested-block + .medical-fee__nested-block {
    margin-top: 1.6rem;
  }

  .medical-fee__nested-title {
    font-size: 1.6rem;
  }

  .medical-fee__nested-note {
    font-size: 1.25rem;
  }
}

/* =========================================================
   medical insurance
   ========================================================= */
.medical-insurance {
  margin-top: 5.6rem;
  padding: 4rem 0 7rem;
  background: linear-gradient(180deg, #f8fcfe 0%, #eef6fb 100%);
  border-radius: 2.4rem;
}

.medical-insurance__inner {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
}

.medical-insurance__head {
  margin-bottom: 2.4rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #27b8ef;
}

.medical-insurance__title {
  margin: 0;
  color: #27b8ef;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.medical-insurance__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3.2rem;
  align-items: start;
}

.medical-insurance__body {
  color: #333;
  font-size: 1.7rem;
  line-height: 1.95;
}

.medical-insurance__body p {
  margin: 0;
}

.medical-insurance__body p + p {
  margin-top: 1.4rem;
}

.medical-insurance__note {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--color-main-dark);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.medical-insurance__note p {
  color: #5b6776;
  font-size: 1.4rem;
  line-height: 1.7;
}

.medical-insurance__banners {
  display: grid;
  gap: 1.6rem;
}

.medical-insurance__banner {
  display: block;
  padding: 1.2rem;
  border: 1px solid #dce8f0;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 90, 167, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.medical-insurance__banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(22, 90, 167, 0.09);
}

.medical-insurance__banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}

/* =========================================================
   responsive
   ========================================================= */
@media screen and (max-width: 767px) {
  .medical-insurance {
    margin-top: 4rem;
    padding: 3.2rem 0;
    border-radius: 1.8rem;
  }

  .medical-insurance__inner {
    width: min(100% - 24px, 1100px);
  }

  .medical-insurance__head {
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom-width: 2px;
  }

  .medical-insurance__title {
    font-size: 2.2rem;
  }

  .medical-insurance__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .medical-insurance__body {
    font-size: 1.6rem;
    line-height: 1.85;
  }

  .medical-insurance__note {
    margin-top: 1.6rem;
    padding: 1.2rem 1.4rem;
  }

  .medical-insurance__note p {
    font-size: 1.3rem;
  }

  .medical-insurance__banners {
    gap: 1.2rem;
  }

  .medical-insurance__banner {
    padding: 1rem;
    border-radius: 1.2rem;
  }
}