@charset "utf-8";
@media screen and (min-width: 768px) {
  .reform__concept.concept {
    padding-block: 160px 194px;
  }
}

.reform__boxes {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.reform__box {
  padding: 40px 30px 40px 30px;
  position: relative;
  background: var(--color-white);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
}

@media screen and (min-width: 900px) {
  .reform__box {
    padding: 40px 50px 40px 40px;
    grid-template-columns: 38.4% 1fr;
    gap: 6.5%;
  }
}

.reform__box .card__title {
  justify-content: center;
}

@media screen and (min-width: 900px) {
  .reform__box .card__title {
    justify-content: flex-start;
  }
}

.reform__box-point {
  position: absolute;
  top: 0;
  right: 25px;
  background: #569cdb;
  padding: 25px 13px 14px;
  color: var(--color-white);
  font-family: var(--font-en);
}

.reform__box-point-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: calc(150 / 1000 * 1em);
  line-height: 1.2;
}

.reform__box-point-numbar {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: calc(150 / 1000 * 1em);
  line-height: 1.2;
}

.reform__box-image {
  aspect-ratio: 296/320;
  max-width: 400px;
  margin-inline: auto;
  height: auto;
  width: 100%;
}

@media screen and (min-width: 900px) {
  .reform__box-image {
    max-width: 296px;
  }
}

.reform__box-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 900px) {
  .reform__box-body {
    padding-block: 53px 26px;
  }
}

.reform__box-body .card__text {
  margin-top: 15px;
}

@media screen and (min-width: 768px) {
  .reform__box-body .card__text {
    gap: 18px;
    margin-top: 37px;
  }
}

.reform__box-tag-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.reform__box-tag {
  flex-shrink: 0;
  padding: 0 6px;
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 500;
  color: var(--color-white);
  background: rgba(42, 42, 42, 0.8);
}

.reform__box-tag::before {
  content: "";
  background: url(../images/tag-check.svg) no-repeat center center / contain;
  width: 6px;
  height: 5px;
  flex-shrink: 0;
}

.reform__works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .reform__works {
    gap: 40px 30px;
  }
}

@media screen and (min-width: 1000px) {
  .reform__works {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reform__card-image {
  aspect-ratio: 266/180;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.reform__card-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.recruit__card-text {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1.2;
  color: var(--detaile-color);
}

.reform__flow {
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.reform__flow-box {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .reform__flow-box {
    flex-direction: row;
    justify-content: space-between;
    gap: 9%;
  }
}

.reform__flow-box-numbar-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  aspect-ratio: 60/60;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--color-white);
  border: 1px solid #569cdb;
  font-family: var(--font-en);
  color: #569cdb;
  margin-left: 10px;
}

@media screen and (min-width: 900px) {
  .reform__flow-box-numbar-wrap {
    width: 80px;
    height: 80px;
    margin-left: 0;
  }
}

.reform__flow-box-numbar-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100px;
  height: 1px;
  background: #b5b4b4;
  top: 50%;
  transform: translateY(-50%);
  right: -102%;
  display: none;
}

@media screen and (min-width: 758px) {
  .reform__flow-box-numbar-wrap::after {
    display: block;
  }
}

.reform__flow-box-numbar-text {
  font-size: clamp(10px, 0.88vw, 12px);
  font-weight: 500;
  letter-spacing: calc(150 / 1000 * 1em);
  line-height: 1.2;
}

.reform__flow-box-numbar {
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: calc(150 / 1000 * 1em);
  line-height: 1.2;
}

.reform__flow-box-body {
  margin-top: -30px;
  padding: 35px 35px;
  background: var(--color-white);
}

@media screen and (min-width: 768px) {
  .reform__flow-box-body {
    margin-top: 0;
    padding: 40px 50px 40px 40px;
  }
}

.reform__flow-box-title {
  font-size: clamp(16px, 1.62vw, 22px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: calc(42 / 22);
  color: #569cdb;
}

.reform__flow-box-text {
  margin-top: 19px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  line-height: calc(33 / 15);
  color: var(--color-page-section-text);
}

.reform__faq {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reform__faq-box {
  background: var(--color-white);
  padding: 27px;
}

.reform__faq-box-title {
  margin-left: 43px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(33 / 15);
  padding-bottom: 14px;
  position: relative;
}

.reform__faq-box-title::before {
  content: "Q";
  position: absolute;
  width: 24px;
  height: 24px;
  top: -2px;
  transform: translateY(-50%);
  left: -43px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  color: #555555;
}

.reform__faq-box-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: url(../images/faq-dot.svg) repeat-x bottom center / cover;
}

.reform__faq-box-text {
  margin-left: 43px;
  margin-top: 16px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(33 / 15);
  color: #323232;
  position: relative;
}

.reform__faq-box-text::before {
  content: "A";
  position: absolute;
  top: -2px;
  transform: translateY(-50%);
  left: -43px;
  width: 24px;
  height: 24px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  color: #569cdb;
}
