@charset "UTF-8";

html {
  scroll-padding-top: 110px;
}

.lead {
  margin-bottom: 160px;
}

.lead_box {
  background-color: #fff;
  border-radius: 30px;
  padding: 100px;
}

.lead_heading {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

.lead_text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2em;
}

.lead_list {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 80px;
}

.lead_list li:not(:last-child) {
  padding-bottom: 8px;
}

.lead_list li span {
  color: #28ac4b;
}

.lead_btns {
  display: flex;
  align-items: center;
  gap: 48px;
}

.lead_btns a {
  border: 1px solid;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  height: 62px;
  text-align: center;
  width: calc((100% - 96px) / 3);
}

.lead_btns a:nth-child(1) {
  border-color: #8ac23e;
  color: #8ac23e;
}

.lead_btns a:nth-child(2) {
  border-color: #f1b43d;
  color: #f1b43d;
}

.lead_btns a:nth-child(3) {
  border-color: #f09ba7;
  color: #f09ba7;
}

.lead_btns a span {
  display: block;
}

.lead_btns a .sm {
  font-size: 0.8rem;
}

@media (max-width: 780px) {
  .lead {
    margin-bottom: 40px;
  }

  .lead_box {
    padding: 40px 25px;
  }

  .lead_heading {
    gap: 10px;
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .lead_heading img {
    width: 30px;
  }

  .lead_text {
    margin-bottom: 1em;
  }

  .lead_list {
    margin-bottom: 30px;
  }

  .lead_btns {
    flex-direction: column;
    gap: 15px;
  }

  .lead_btns a {
    max-width: 300px;
    width: 100%;
  }
}

/* 申し込みフォーム */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  background: transparent;
  border: none;
  border: 1px solid #cccccc;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  max-width: 383px;
  padding: 10px;
  width: 100%;
  height: 40px;
}

textarea {
  height: 133px;
}

input[type="submit"] {
  border: none;
}

.form {
  padding-bottom: 160px;
}

.form_box {
  background-color: #fff;
  border-radius: 30px;
  padding: 100px;
}

.form_step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
  position: relative;
}

.form_step::after {
  background-color: #efefef;
  background-size: cover;
  content: "";
  display: inline-block;
  width: 100%;
  height: 3px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.form_step li {
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  width: 124px;
  height: 124px;
  position: relative;
  z-index: 1;
}

.form_step li:nth-child(1) {
  background-color: #8ac23e;
}

.form_step li:nth-child(2) {
  background-color: #ffecc8;
}

.form_step li:nth-child(2).current {
  background-color: #f1b43d;
}

.form_step li:nth-child(3) {
  background-color: #ffe1e5;
}

.form_step li:nth-child(3).current {
  background-color: #f09ba7;
}

.form_table {
  border-top: 1px solid #cccccc;
  margin-bottom: 100px;
  line-height: 1.8;
}

.form_table th,
td {
  border-bottom: 1px solid #cccccc;
  padding: 19px 0;
}

.form_table th {
  padding-right: 20px;
  text-align: left;
  width: 350px;
}

.form_table label {
  cursor: pointer;
  margin-right: 10px;
}

.form_table .required {
  background-color: #ff3939;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.9;
  margin-left: 10px;
  text-align: center;
  width: 42px;
  height: 23px;
}

.form_table .age {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.form_table .age input {
  width: 50px;
}

.form_table .tel span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.form_table .tel input {
  width: 69px;
}

.form_txt {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 9px;
}

.form_table .yubin {
  margin-bottom: 15px;
}

.form_table .yubin span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.form_table .yubin input {
  width: 69px;
}

.form_btn input,
.done_btn a {
  background-color: #28ac4b;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  margin-inline: auto;
  max-width: 350px;
  width: 100%;
  height: 72px;
}

.form_btn input:hover {
  opacity: 0.9;
}

.mw_wp_form_input #button_box {
  display: none;
}

.form_btn.-back input {
  background-color: #ccc;
}

.button_box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.done_lead {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.done_text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
}

.done_tel {
  color: #28ac4b;
}

@media (max-width: 780px) {
  .form {
    padding-bottom: 40px;
    padding-top: 60px;
    margin-top: -60px;
  }

  .form_box {
    padding: 40px 25px;
  }

  .form_step {
    margin-bottom: 30px;
  }

  .form_step li {
    font-size: 1rem;
    width: 62px;
    height: 63px;
  }

  .form_table {
    margin-bottom: 30px;
  }

  .form_table th,
  td {
    display: block;
    width: 100%;
  }

  .form_table th {
    border-bottom: none;
    padding-right: 0;
    padding-bottom: 0;
  }

  .form_table td {
    padding-top: 10px;
  }

  .form_btn input .dones_btn a {
    height: 60px;
  }
}

/* 在宅診療の流れ */
.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;
  }
}

footer .ft_wrap {
  padding-bottom: 0;
}
