@charset "UTF-8";

#sec_about,
#sec_shinryo {
  background: none;
}

#sec_about {
  margin-left: calc(50% - 50vw);
}

#sec_shinryo {
  padding: 0;
}

@media (max-width: 768px) {
  #sec_about {
    margin-left: 0;
  }
}

/* 対象となる方 */
.subject {
  padding-bottom: 160px;
}

.subject .sec_lead {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 84px;
}

.subject_list {
  display: flex;
  flex-wrap: wrap;
  gap: 27px 11px;
}

.subject_item {
  width: calc((100% - 33px) / 4);
}

.subject_img {
  margin-bottom: 20px;
}

.subject_text {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.34;
  text-align: center;
}

@media (max-width: 768px) {
  .subject {
    padding-bottom: 40px;
  }

  .subject .sec_lead {
    margin-bottom: 40px;
  }

  .subject_list {
    gap: 20px 11px;
  }

  .subject_item {
    width: calc((100% - 11px) / 2);
  }

  .subject_img {
    margin-bottom: 10px;
  }

  .subject_text {
    font-size: 0.85rem;
  }
}

/* ポータブルレントゲン */
.roentgen_box {
  width: 52vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 918px;
  margin: clamp(140px, 8.85417vw, 170px) 0 0;
}

@media (max-width: 780px) {
  .roentgen_box {
    width: 100%;
    margin: 20px auto 0;
  }
}

/* 料金 */
.price {
  margin-top: 160px;
  margin-bottom: 160px;
}

.price_content {
  background-color: #fff;
  border-radius: 30px;
  padding: 70px;
}

.price_lead {
  line-height: 1.6;
  text-align: center;
}

.price_lead a {
  color: #28ac4b;
}

.price_table {
  font-size: var(--fz-body);
  margin: 50px 0;
}

.price_table tr:last-child th,
td {
  border-bottom: 1px solid rgb(204, 204, 204);
}

.price_table th,
td {
  border-top: 1px solid rgb(204, 204, 204);
  line-height: 1.4;
  padding: 25px 0;
}

.price_table th {
  font-weight: 700;
  text-align: left;
}

.price_table th span {
  display: block;
  font-weight: 400;
  margin-top: 20px;
}

.price_table td p {
  line-height: 1.8;
}

.price_table td p + p {
  margin-top: 1em;
}

@media (max-width: 768px) {
  .price {
    margin-top: 44px;
    margin-bottom: 40px;
  }

  .price_content {
    padding: 30px;
  }

  .price_table {
    margin: 20px 0;
  }

  .price_table th,
  td {
    display: block;
    padding: 20px 0;
    width: 100%;
  }

  .price_table th {
    border-bottom: none !important;
    padding-bottom: 0;
  }

  .price_table th span {
    margin-top: 5px;
  }

  .price_table td {
    border: none;
    padding-top: 25px;
  }

  .price_table tr:last-child {
    border-bottom: 1px solid rgb(204, 204, 204);
  }
}

/* 在宅診療の流れ */
.flow {
  padding-bottom: 100px;
}

.flow_item {
  position: relative;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.flow_item:nth-child(odd) {
  margin-bottom: 123px;
}

.flow_item:nth-child(even) {
  flex-direction: row-reverse;
  margin-bottom: 60px;
}

.flow_image {
  max-width: 637px;
  flex: 0 0 54%;
}

.flow_item:nth-child(even) .flow_image {
  max-width: 598px;
  flex: 0 0 50%;
}

.flow_heading {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-bottom: 30px;
}

.flow_heading img {
  width: clamp(36px, 6.48vw, 92px);
}

.flow_heading span {
  color: #28ac4b;
  font-size: clamp(20px, 1.7vw, 30px);
  font-weight: 700;
}

.flow_text {
  font-size: clamp(14px, 3vw, 18px);
  line-height: 1.7;
}

.flow_text span {
  color: #28ac4b;
  font-weight: 900;
}

.flow_text + .flow_text {
  margin-top: 1em;
}

.flow_box {
  max-width: 598px;
  flex: 0 0 50%;
  background-color: #fff;
  border-radius: var(--card-radius);
  padding: var(--card-padding-pc);
  box-sizing: border-box;
  position: relative;
  top: 35px;
  margin-left: -48px;
  z-index: 1;
}

.flow_item:nth-child(even) .flow_box {
  max-width: 637px;
  flex: 0 0 54%;
  top: -35px;
  margin-left: unset;
  margin-right: -37px;
}

@media (max-width: 768px) {
  .flow {
    padding-bottom: 40px;
  }

  .flow_item:nth-child(odd),
  .flow_item:nth-child(even) {
    margin-bottom: 20px;
  }

  .flow_item:last-child {
    margin-bottom: 0;
  }

  .flow_box {
    flex: unset;
    top: 0;
    padding: var(--card-padding-sp);
    margin: 0 auto;
    z-index: unset;
  }

  .flow_heading {
    gap: 20px;
    margin-bottom: 20px;
  }

  .flow_text {
    font-size: 1rem;
  }

  .flow_image {
    padding-top: 20px;
  }

  .flow_item:nth-child(even) .flow_image {
    flex: unset;
  }

  .flow_item:nth-child(even) .flow_box {
    flex: unset;
    top: 0;
    margin-left: 0;
    margin-right: 0;
  }
}
