@charset "UTF-8";

#body_wrap .tm-flow-page {
  margin: 0;
  color: var(--tm-text);
  background: var(--tm-base);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

#body_wrap .tm-flow-page :where(h1, h2, p, figure, .wp-block-group, .wp-block-buttons) {
  margin-top: 0;
  margin-bottom: 0;
}

#body_wrap .tm-flow-hero .tm-service-hero__image img {
  object-position: center 20%;
}

#body_wrap .tm-flow-main {
  padding: 0 0 60px;
}

#body_wrap .tm-flow-shell {
  max-width: 1000px;
}

#body_wrap .tm-flow-intro {
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.03em;
  text-align: center;
}

#body_wrap .tm-flow-steps {
  width: min(100%, 1200px);
  margin: 76px auto 0;
}

#body_wrap .tm-flow-step {
  position: relative;
}

#body_wrap .tm-flow-step > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

#body_wrap .tm-flow-step + .tm-flow-step {
  margin-top: 72px;
}

#body_wrap .tm-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% + 72px);
  left: 71px;
  height: 72px;
  border-left: 2px dashed #ffcbb5;
}

#body_wrap .tm-flow-step__icon {
  display: grid;
  width: 144px;
  height: 144px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #fff1e6;
}

#body_wrap .tm-flow-step__icon img {
  display: block;
  width: 64px;
  height: 64px;
}

#body_wrap .tm-flow-step__number {
  color: var(--tm-main);
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

#body_wrap .tm-flow-step__title {
  margin-top: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none;
  color: #111111;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

#body_wrap .tm-flow-step__title::before,
#body_wrap .tm-flow-step__title::after {
  content: none !important;
}

#body_wrap .tm-flow-step__body > p:last-child,
#body_wrap .tm-flow-step__body > .wp-block-group__inner-container > p:last-child {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.03em;
}

@media (max-width: 800px) {
  #body_wrap .tm-flow-step > .wp-block-group__inner-container {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 32px;
  }

  #body_wrap .tm-flow-step__icon {
    width: 112px;
    height: 112px;
  }

  #body_wrap .tm-flow-step:not(:last-child)::after {
    top: calc(50% + 56px);
    left: 55px;
  }
}

@media (max-width: 640px) {
  #body_wrap .tm-flow-main {
    padding: 0 0 50px;
  }

  #body_wrap .tm-flow-shell {
    width: calc(100% - 40px);
  }

  #body_wrap .tm-flow-hero .tm-service-hero__image img {
  object-position: 70% 43%;
}
  #body_wrap .tm-flow-intro {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }

  #body_wrap .tm-flow-intro br {
    display: none;
  }

  #body_wrap .tm-flow-steps {
    margin-top: 48px;
  }

  #body_wrap .tm-flow-step > .wp-block-group__inner-container {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  #body_wrap .tm-flow-step + .tm-flow-step {
    margin-top: 44px;
  }

  #body_wrap .tm-flow-step:not(:last-child)::after {
    top: 60px;
    left: 30px;
    height: 100%;
  }

  #body_wrap .tm-flow-step__icon {
    width: 60px;
    height: 60px;
  }

  #body_wrap .tm-flow-step__icon img {
    width: 42px;
    height: 42px;
  }

  #body_wrap .tm-flow-step__number {
    font-size: 12px;
  }

  #body_wrap .tm-flow-step__title {
    margin-top: 3px !important;
    font-size: 17px;
    line-height: 1.55;
  }

  #body_wrap .tm-flow-step__body > p:last-child,
  #body_wrap .tm-flow-step__body > .wp-block-group__inner-container > p:last-child {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
  }
}
