/* ========================
   Hero
======================== */
.hero {
  display: block;
  background: #f8f9fa;
  position: relative;
  aspect-ratio: 4 / 1;
  container-type: inline-size;
  margin: 0 auto;
  z-index: 0;
  overflow: hidden;
  @media (width < 768px) {
    width: 100%;
    aspect-ratio: 3 / 3.3;
    height: auto;
    overflow: visible;
  }
}

.hero_image {
  left: 0;
  margin: auto;
  top: 0;
  position: absolute;
  z-index: 1;
  height: auto;

  @media (width < 768px) {
    width: 100%;
    left: 0px;
  }
}

.hero_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  @media (width < 768px) {
    object-position: top center;
  }
}

.hero_body {
  position: relative;
  z-index: 2;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 50cqi;
  margin-right: 0;
  text-align: center;
  padding: 0 0 0 5cqi;
  width: 50cqi;
  display: flex;

  background-image: url(images/hero_main_deco.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  /* 768px未満の設定 */
  @media (max-width: 768px) {
    width: 100cqi;
    margin: 0;
    margin-top: 50cqi;
    padding: 2cqi 1.25cqi 10cqi 1.25cqi;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;

    position: relative;
    background-image: url(images/hero_main_deco_sp.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.hero_body_inner {
  background-color: #cce6f0a0;
  padding: 2.5cqi;
  @media (width < 768px) {
    width: 75cqi;
    padding: 5cqi 2cqi;
    background-color: #cce6f0cf;
  }
}

.hero_subtitle {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.6cqi;
  color: #115ca7;
  line-height: 1.5;
  text-align: center;
  @media (width < 768px) {
    font-size: 4cqi;
  }
}

.hero_title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 2cqi;
  color: #115ca7;
  line-height: 1.6;
  margin: 0 0 1.5cqi;
  text-align: center;
  @media (width < 768px) {
    font-size: 5cqi;
  }
}

.hero_desc {
  font-size: 1.1cqi;
  color: #333;
  line-height: 1.6;
  text-align: center;
  @media (width < 768px) {
    font-size: 3cqi;
  }
}

.hero_desc p + p {
  margin-top: 0.75cqi;
}

.hero_desc picture {
  display: grid;
  place-content: center;
}

.hero_desc picture img {
  width: 22cqi;
}

/* ========================
   MV / Worries
======================== */
.mv {
  padding: 1rem 2rem 4rem 2rem;
  background: #fff;
  position: relative;
  text-align: center;
  background-image: url(images/concern_bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.mv .section_title {
  margin-bottom: 1.5rem;
}

.mv_lead {
  font-size: 1.125rem;
  color: #556;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* PC: absolutely positioned behind ovals */
.mv_image {
  display: block;
  margin: auto;
  height: 30rem;
  width: auto;
  pointer-events: none;
  z-index: 0;
  /* SP: image flows between lead text and ovals */
  @media (width < 768px) {
    position: static;
    height: auto;
    width: 80%;
    max-width: 18rem;
    margin: 0 auto 1.5rem;
  }
}

.mv_image img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  margin: auto;
  @media (width < 768px) {
    height: auto;
    width: 100%;
    opacity: 1;
  }
}

.mv_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  @media (width < 768px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    position: static;
  }
}

.mv_list_item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17rem;
  border-radius: 50%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #334;
  text-align: center;
  line-height: 1.4;
  aspect-ratio: 4 / 3;
  @media (width < 768px) {
    font-size: 1.125rem;
    max-width: 20rem;
    width: 80%;
  }
}

.mv_list_item_blue {
  background: #dae5ef;
  @media (width < 768px) {
    margin: auto;
    margin-left: auto;
  }
}

.mv_list_item_green {
  background: #dfebbf;
  margin-top: 2rem;
  @media (width < 768px) {
    margin: auto;
    margin-left: 10%;
  }
}

.mv_list_item_purple {
  background: #f3edf4;
  @media (width < 768px) {
    margin: auto;
    margin-left: auto;
  }
}

/* ========================
   Prevention
======================== */
.prevention {
  background: rgba(255, 255, 255, 0.75);
  padding: 4rem 2rem;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.prevention_inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.prevention_catch {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #115ca7;
  line-height: 1.6;
  margin: 0 0 2rem;
  position: relative;
  @media (width < 768px) {
    font-size: 1.5rem;
  }
}

.prevention_highlight {
  color: #115ca7;
  position: relative;
}

.prevention_highlight::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: #dfebbf;
  z-index: -1;
}

.prevention_desc {
  font-size: 1rem;
  color: #556;
  line-height: 1.8;
}

/* ========================
   About (iTOPとは)
======================== */
.about {
  padding: 5rem 2rem;
  background-image: url("images/about_bg.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
    background-image: url("images/about_bg_sp.webp");
    background-size: cover;
    padding: 2rem 2rem 6rem 2rem;
  }
}

.about .section_title {
  margin-bottom: 3rem;
}

.about_body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 16px;
  flex-direction: column;
  @media (width < 768px) {
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }
}

.about_logo img {
  width: 9.6875rem;
  height: auto;
}

.about_text {
  flex: 1;
  text-align: center;
}

.about_headline {
  font-size: 1.5rem;
  color: #1b2f5e;
  line-height: 1.6;
  margin-bottom: 0.25rem;
  @media (width < 768px) {
    font-size: 1.125rem;
  }
}

.about_name {
  font-size: 1.8rem;
  color: #1b2f5e;
  line-height: 1.6;
  margin-bottom: 0.25rem;
  @media (width < 768px) {
    font-size: 1.125rem;
  }
}

.about_en {
  font-size: 1rem;
  color: #1b2f5e;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  @media (width < 768px) {
    font-size: 0.9rem;
    letter-spacing: -0.05em;
  }
}

.about_desc {
  font-size: 1rem;
  color: #556;
  line-height: 1.8;
}

.about_desc_strong {
  color: #1b2f5e;
  font-weight: 700;
}

/* ========================
   Point (Training Features)
======================== */
.point {
  padding: 5rem 2rem;
  background: #fff;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.point .section_title {
  margin-bottom: 3rem;
}

.point_list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  @media (width < 768px) {
    flex-direction: column;
    align-items: center;
  }
}

.point_list_item {
  background: #fff;
  border-radius: 0.875rem;
  box-shadow: 0 4px 24px rgba(27, 47, 94, 0.1);
  overflow: hidden;
  width: calc(50% - 1rem);
  min-width: 18rem;
  flex: 1;
  @media (width < 768px) {
    width: 100%;
  }
}

.point_list_item_image {
  position: relative;
  height: 14.375rem;
}

.point_list_item_image picture {
  height: 100%;
}

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

.point_list_item_badge {
  position: absolute;
  top: 0.125rem;
  left: 0;
  background: #b3ce68;
  color: #1b2f5e;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
}

.point_list_item_body {
  padding: 1.75rem;
}

.point_list_item_heading {
  font-size: 1.5rem;
  color: #1b2f5e;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  @media (width < 768px) {
    font-size: 1.25rem;
  }
}

.point_list_item_en {
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-size: 1.875rem;
  font-weight: 900;
  display: block;
  @media (width < 768px) {
    font-size: 1.5rem;
  }
}

.point_list_item_desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.618;
}

/* ========================
   Staff
======================== */
.staff {
  padding: 5rem 2rem;
  background: #f8f9fa;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.staff_inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  @media (width < 768px) {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.staff_text {
  flex: 1;
}

.staff_heading {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #115ca7;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  text-align: center;
  @media (width < 768px) {
    font-size: 1.5rem;
  }
}

.staff_desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.618;
}

.staff_image {
  flex: 1;
  min-width: 0;
  max-width: 50%;
  @media (width < 768px) {
    max-width: 100%;
    width: 100%;
  }
}

.staff_image img {
  width: 100%;
  height: 26.75rem;
  object-fit: cover;
  border-radius: 8px;
  @media (width < 768px) {
    height: 14rem;
  }
}

/* ========================
   Products
======================== */
.products {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #f0f6fa 0%, #fff 100%);
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.products .section_title {
  margin-bottom: 1.5rem;
}

.products_lead {
  text-align: center;
  font-size: 1rem;
  color: #000;
  line-height: 1.575;
  margin-bottom: 3rem;
}

.products_list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1050px;
  margin: 0 auto;
  flex-wrap: wrap;
  @media (width < 768px) {
    flex-direction: column;
    align-items: center;
  }
}

.products_list_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: calc(50% - 1.25rem);
  min-width: 17rem;
  flex: 1;
  @media (width < 768px) {
    width: 100%;
  }
}

.products_list_item picture {
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

.products_list_item_name {
  font-size: 1.25rem;
  color: #1b2f5e;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.products_list_item_desc {
  font-size: 1rem;
  color: #556;
  line-height: 1.6;
  text-align: left;
  max-width: 27rem;
}

/* ========================
   Flow
======================== */
.flow {
  padding: 5rem 2rem;
  background: #fff;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.flow .section_title {
  margin-bottom: 1.5rem;
}

.flow_lead {
  text-align: center;
  font-size: 1rem;
  color: #333;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.flow_list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  @media (width < 768px) {
    padding-left: 0;
    gap: 2.5rem;
  }
}

.flow_list_item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #f3f9fc;
  border-radius: 1.25rem;
  padding: 2rem 2rem 2rem 3.75rem;
  position: relative;
  @media (width < 768px) {
    flex-direction: column;
    align-items: center;
    padding: 4rem 1.25rem 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
  }
}

.flow_list_item_step {
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #1b2f5e;
  color: #fff;
  border-radius: 0.9425rem;
  width: 5.0913rem;
  height: 5.0913rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  @media (width < 768px) {
    left: 50%;
    top: -2.5457rem;
    transform: translateX(-50%);
  }
}

.flow_list_item_step_label {
  font-family: "Abhaya Libre", serif;
  font-weight: 700;
  font-size: 1.4142rem;
  line-height: 1.5;
}

.flow_list_item_step_num {
  font-size: 1.4142rem;
  line-height: 1.5;
}

.flow_list_item_body {
  flex: 1;
}

.flow_list_item_heading {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #1b2f5e;
  margin: 0 0 0.875rem;
  line-height: 1.4;
  @media (width < 768px) {
    font-size: 1.125rem;
  }
}

.flow_list_item_desc {
  font-size: 1rem;
  color: #556;
  line-height: 1.575;
}

/* ========================
   Price
======================== */
.price {
  padding: 5rem 2rem;
  background: #f8f9fa;
  @media (width < 768px) {
    padding: 3rem 1.25rem;
  }
}

.price .section_title {
  margin-bottom: 2.5rem;
}

.price_box {
  max-width: 58.8125rem;
  margin: 0 auto;
  border: 1px solid #b3ce68;
  background: #fff;
  padding: 3rem 2rem;
  text-align: center;
  @media (width < 768px) {
    padding: 2rem 1.25rem;
  }
}

.price_box_name {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  @media (width < 768px) {
    font-size: 1rem;
  }
}

.price_box_amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.price_box_num {
  font-size: 1.75rem;
  color: #115ca7;
  font-weight: 700;
  line-height: 1.5;
  @media (width < 768px) {
    font-size: 1.5rem;
  }
}

.price_box_tax {
  font-size: 1rem;
  color: #115ca7;
  line-height: 1.5;
}

.price_box_note {
  font-size: 0.875rem;
  color: rgba(51, 51, 51, 0.82);
  line-height: 1.6625;
  margin-bottom: 1.25rem;
}

.price_box_caption {
  font-size: 0.75rem;
  color: #333;
  line-height: 1.5;
}

/* ========================
   Contact
======================== */
.contact {
  padding: 3rem 2rem 0 2rem;
  background: linear-gradient(180deg, #e1ecf2 0%, #f1f6f9 14%, #f1f7fa 51%, #e0f0f5 79%);
  position: relative;
  container-type: inline-size;
  @media (width < 768px) {
    padding: 3rem 1.25rem 80cqi 1.25rem;
  }
}

.contact_inner {
  display: flex;
  gap: 0 3rem;
  align-items: flex-end;
  max-width: 1100px;
  margin: 0 auto;
  @media (width < 768px) {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem 0;
  }
}

.contact_body {
  flex: 1 1 50%;
}

.contact_image {
  flex: 1 1 50%;
  overflow: visible;
  @media (width < 768px) {
    position: absolute;
    bottom: 0;
    left: auto;
    right: auto;
    margin: auto;
    flex: 1 1 100%;
  }
}

.contact_image img {
  width: 100%;

  object-fit: contain;
  object-position: bottom center;
  border-radius: 8px;
  @media (width < 768px) {
    height: 80cqi;
  }
}

.contact_heading h2 {
  @media (width < 768px) {
    font-size: 1.25rem;
  }
}

.contact_label {
  font-size: 0.6875rem;
  color: #00a8c8;
  letter-spacing: 0.18em;
  text-align: center;
  margin-bottom: 1rem;
}

.contact_title {
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  color: #115ca7;
  @media (width < 768px) {
    font-size: 1.2rem;
  }
}

.contact_title span {
  font-size: 2rem;
  @media (width < 768px) {
    font-size: 1.6rem;
  }
}

.contact_desc {
  font-size: 1rem;
  color: #1b2f5e;
  line-height: 1.78;
  text-align: center;
  margin-bottom: 2.75rem;
  color: #115ca7;
}

a.contact_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: #115ca7;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 1.125rem 3rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
  @media (width < 768px) {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

.contact_cta:hover {
  background: #0e4a8a;
}

.contact_tel_box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  padding: 1.75rem 2rem;
  position: relative;
  @media (width < 768px) {
    padding: 0;
  }
}

.contact_tel_label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1rem;
  color: #00a8c8;
  margin-bottom: 1rem;
}

a.contact_tel_num {
  display: block;
  text-align: center;
  font-size: 1.875rem;
  color: #1b2f5e;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: #115ca7;
}

.contact_tel_hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #115ca7;
  width: fit-content;
  margin: auto;
}
.contact svg {
  width: 16px;
  height: 16px;
}
.contact_tel_hours_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
}
/* ========================
   Footer
======================== */
.site_footer {
  background: #1b2f5e;
  color: #fff;
  padding: 2rem;
}

.footer_inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer_clinic {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer_copy {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ========================
   Responsive helpers
======================== */
.sp {
  @media (min-width: 768px) {
    display: none;
  }
}

.pc {
  @media (max-width: 767px) {
    display: none;
  }
}
