@charset "UTF-8";

.checkup-hero {
  position: relative;
  height: 477px;
  margin-top: 10px;
  overflow: hidden;
  background: var(--color-cream-deep);
}

.checkup-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.checkup-hero__veil {
  position: absolute;
  top: 51%;
  left: 50%;
  width: min(843px, 72vw);
  height: 149px;
  background: rgb(255 255 255 / 92%);
  filter: blur(27.6px);
  transform: translate(-50%, -50%);
}

.checkup-hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
  text-align: center;
}

.checkup-hero__title {
  color: var(--color-orange);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.017em;
}

.checkup-hero__lead {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.045em;
}

.checkup-about {
  height: 820px;
  padding: 30px 0;
  background: var(--color-white);
}

.breadcrumb {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.03em;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-primary);
}

.numbered-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 84px;
}

.numbered-heading__number {
  color: var(--color-primary-soft);
  font-size: 58px;
  font-weight: 700;
  line-height: 84px;
  letter-spacing: 0.017em;
}

.numbered-heading__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 41px;
  letter-spacing: 0.07em;
}

.checkup-about .numbered-heading {
  margin-top: 36px;
}

.checkup-about__row {
  display: grid;
  grid-template-columns: 704px 480px;
  gap: 56px;
  align-items: start;
  height: 581px;
  margin-top: 36px;
}

.checkup-about__text {
  display: grid;
  gap: 22px;
}

.checkup-about__item {
  height: 179px;
}

.checkup-about__subheading {
  position: relative;
  height: 25px;
  padding-left: 14px;
  color: #3e3e3e;
  font-size: 17px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0.03em;
}

.checkup-about__subheading::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 4px;
  height: 19px;
  background: var(--color-primary);
  border-radius: 2px;
  content: "";
}

.checkup-about__item p {
  margin-top: 9px;
  color: #3e3e3e;
  font-size: 15.5px;
  line-height: 29px;
  letter-spacing: 0;
}

.checkup-about__photo {
  width: 480px;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.checkup-about__photo img {
  width: 502px;
  max-width: none;
  height: 320px;
  object-fit: cover;
  object-position: center;
  transform: translateX(-11px);
}

.checkup-content {
  height: 859px;
  padding: 90px 0 80px;
  background: var(--color-cream);
}

.checkup-content__intro {
  height: 117px;
}

.checkup-content__lead {
  margin-top: 10px;
  color: #0c0c0c;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.03em;
}

.checkup-table {
  height: 480px;
  margin: 34px 0 0;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #f1e7d2, 0 6px 20px rgb(209 168 92 / 16%);
  overflow: hidden;
}

.checkup-table__row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  margin: 0;
  box-shadow: inset 0 -1px #f1e7d2;
}

.checkup-table__row--content {
  height: 90px;
}

.checkup-table__row--period,
.checkup-table__row--target {
  height: 88px;
}

.checkup-table__row--belongings {
  height: 214px;
  box-shadow: none;
}

.checkup-table__label,
.checkup-table__value {
  margin: 0;
}

.checkup-table__label {
  padding: 30px 32px;
  background: #fff9e6;
  box-shadow: inset -1px 0 #f1e7d2;
}

.checkup-table__label span {
  position: relative;
  display: block;
  min-height: 25px;
  padding-left: 16px;
  color: #3e3e3e;
  font-size: 17px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0.03em;
}

.checkup-table__label span::before {
  position: absolute;
  top: 1.5px;
  left: 0;
  width: 4px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 2px;
  content: "";
}

.checkup-table__value {
  padding: 30px 40px;
  color: #3e3e3e;
  font-size: 16px;
  line-height: 30px;
}

.checkup-table__row--period .checkup-table__value,
.checkup-table__row--target .checkup-table__value {
  line-height: 28px;
}

.checkup-table__items {
  line-height: 30px;
}

.checkup-table__caution {
  margin-top: 10px;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 24px;
}

.checkup-content__note {
  margin-top: 34px;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 24px;
}

@media (max-width: 1199px) {
  .checkup-hero {
    height: 410px;
  }

  .checkup-hero__title {
    font-size: 40px;
  }

  .checkup-hero__lead {
    font-size: 29px;
  }

  .checkup-about {
    height: auto;
  }

  .checkup-about__row {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 42%);
    gap: 36px;
    height: auto;
  }

  .checkup-about__item {
    height: auto;
  }

  .checkup-about__photo {
    width: 100%;
  }

  .checkup-content {
    height: auto;
  }

  .checkup-table__row {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .checkup-hero {
    height: 360px;
  }

  .checkup-hero__title {
    font-size: 34px;
  }

  .checkup-hero__lead {
    font-size: 24px;
  }

  .checkup-about__row {
    grid-template-columns: 1fr;
  }

  .checkup-about__photo {
    width: min(100%, 560px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin-inline: auto;
  }

  .checkup-about__photo img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .checkup-table {
    height: auto;
  }

  .checkup-table__row,
  .checkup-table__row--content,
  .checkup-table__row--period,
  .checkup-table__row--target,
  .checkup-table__row--belongings {
    grid-template-columns: 1fr;
    height: auto;
  }

  .checkup-table__label {
    padding: 16px 22px;
    box-shadow: inset 0 -1px #f1e7d2;
  }

  .checkup-table__value {
    padding: 20px 22px;
  }
}

@media (max-width: 767px) {
  .checkup-hero {
    height: 300px;
    margin-top: 6px;
  }

  .checkup-hero__image {
    object-position: 54% center;
  }

  .checkup-hero__veil {
    width: 88vw;
    height: 130px;
  }

  .checkup-hero__copy {
    padding: 20px 18px 0;
  }

  .checkup-hero__title {
    font-size: clamp(27px, 8vw, 34px);
  }

  .checkup-hero__lead {
    max-width: 24em;
    margin-top: 8px;
    font-size: clamp(16px, 4.6vw, 21px);
    line-height: 1.7;
  }

  .checkup-about {
    padding: 24px 0 46px;
  }

  .breadcrumb {
    font-size: 12px;
    line-height: 1.5;
  }

  .numbered-heading {
    gap: 10px;
    height: auto;
  }

  .numbered-heading__number {
    font-size: 43px;
    line-height: 1.45;
  }

  .numbered-heading__title {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: 0.04em;
  }

  .checkup-about .numbered-heading {
    margin-top: 22px;
  }

  .checkup-about__row {
    gap: 26px;
    margin-top: 23px;
  }

  .checkup-about__text {
    gap: 24px;
  }

  .checkup-about__subheading {
    font-size: 16px;
  }

  .checkup-about__item p {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.9;
  }

  .checkup-content {
    padding: 46px 0 60px;
  }

  .checkup-content__intro {
    height: auto;
  }

  .checkup-content__lead {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.8;
  }

  .checkup-table {
    margin-top: 24px;
    border-radius: 12px;
  }

  .checkup-table__label {
    padding: 13px 18px;
  }

  .checkup-table__label span {
    font-size: 15px;
  }

  .checkup-table__value {
    padding: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .checkup-table__row--period .checkup-table__value,
  .checkup-table__row--target .checkup-table__value,
  .checkup-table__items {
    line-height: 1.9;
  }

  .checkup-table__caution {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.8;
  }

  .checkup-content__note {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.8;
  }
}
