@charset "utf-8";

/* fv */
.pg__fv {
  background: linear-gradient(#fff, #afafaf);
}
.pg-fv__container {
  flex-direction: column;
}
.pg-fv__sub {
  position: relative;
  z-index: 1;
  margin-top: -1.5em;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1rem);
  font-weight: 500;
  line-height: 1.5;
  color: #000;
  white-space: nowrap;
}
.pg-fv__title {
  color: #000;
}
.fv-deco__general {
  position: absolute;
  bottom: 0;
  left: clamp(1.188rem, 1.292rem - 0.087vw, 1.250rem);
  z-index: 0;
  width: clamp(8.438rem, -0.312rem + 18.229vw, 21.562rem);
  height: auto;
  pointer-events: none;
}

/* パンくずリスト */
.pg-breadcrumb {
  background-color: #959595;
}

/* top */
.top {
  background-color: #fff;
  padding-top: clamp(5.000rem, 2.083rem + 6.076vw, 9.375rem);
  padding-bottom: clamp(5.000rem, 2.042rem + 6.163vw, 9.438rem);
}
.top__container {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, -3.75rem + 10.42vw, 8.75rem);
  justify-content: space-between;
  padding-right: clamp(1.250rem, -5.917rem + 14.931vw, 12.000rem);
  padding-left: clamp(1.250rem, -5.917rem + 14.931vw, 12.000rem);
}
.top__title {
  font-size: clamp(1.875rem, 0.625rem + 2.604vw, 3.750rem);
  font-weight: 700;
  line-height: clamp(2.812rem, 0.938rem + 3.906vw, 5.625rem);
  color: #000;
}
.top__text {
  margin-top: clamp(2.500rem, -0.167rem + 5.556vw, 6.500rem);
  margin-left: clamp(0.000rem, -10.333rem + 21.528vw, 15.500rem);
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.250rem);
  line-height: clamp(1.500rem, 0.833rem + 1.389vw, 2.500rem);
  color: #000;
}
.top__rihgt {
  position: relative;
  flex-shrink: 0;
  width: clamp(21.188rem, 9.854rem + 23.611vw, 38.188rem);
  max-width: 100%;
  margin-top: clamp(2.500rem, 0.417rem + 4.340vw, 5.625rem);
  margin-bottom: clamp(0.688rem, 0.354rem + 0.694vw, 1.188rem);
}
.top__rihgt::before {
  content: "";
  position: absolute;
  bottom: clamp(-1.188rem, -0.354rem - 0.694vw, -0.688rem);
  left: clamp(-1.188rem, -0.354rem - 0.694vw, -0.688rem);
  z-index: 0;
  width: calc(100% - clamp(0.375rem, 0.208rem + 0.347vw, 0.625rem));
  height: 100%;
  background-color: #003f98;
}
.top__img {
  position: relative;
  z-index: 1;
  height: auto;
  aspect-ratio: 611 / 363;
  object-fit: cover;
}

/* consultation */
.consultation {
  background-color: #003f98;
  background-image: linear-gradient(#faf7a5, #faf7a5);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% clamp(2.375rem, 0.917rem + 3.038vw, 4.563rem);
}
.consultation::after {
  content: "";
  display: block;
  height: clamp(0.813rem, 0.271rem + 1.128vw, 1.625rem);
  background-color: #002c6a;
}
.consultation__title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(2.375rem, 0.917rem + 3.038vw, 4.563rem);
  background-color: #faf7a5;
  font-size: clamp(1.000rem, 0.333rem + 1.389vw, 2.000rem);
  font-weight: 500;
  line-height: 1;
  color: #000;
  text-align: center;
}
.consultation__items {
  display: flex;
  justify-content: center;
  gap: clamp(1.000rem, 0.250rem + 1.563vw, 2.125rem);
  padding-top: clamp(6.750rem, 5.250rem + 3.125vw, 9.000rem);
  padding-right: clamp(1.250rem, -12.833rem + 29.340vw, 22.375rem);
  padding-bottom: clamp(3.938rem, 1.104rem + 5.903vw, 8.188rem);
  padding-left: clamp(1.250rem, -12.833rem + 29.340vw, 22.375rem);
}
.consultation__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  max-width: 379px;
  min-height: clamp(14.000rem, 7.458rem + 13.628vw, 23.813rem);
  padding-top: clamp(4.563rem, 0.021rem + 9.462vw, 11.375rem);
  background-color: #fff;
}
.consultation-item__icon {
  position: absolute;
  top: clamp(-3.188rem, -2.875rem - 0.260vw, -3.000rem);
  left: 50%;
  z-index: 1;
  width: clamp(6.000rem, 1.292rem + 9.809vw, 13.063rem);
  height: clamp(6.000rem, 1.292rem + 9.809vw, 13.063rem);
  border-radius: 50%;
  transform: translateX(-50%);
}
.consultation-item__title {
  font-size: clamp(1.000rem, 0.667rem + 0.694vw, 1.500rem);
  font-weight: 500;
  line-height: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  color: #000;
  text-align: center;
}
.consultation-item__text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(4.250rem, 2.875rem + 2.865vw, 6.313rem);
  margin-top: auto;
  background-color: #e8e8e8;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.250rem, 0.917rem + 0.694vw, 1.750rem);
  color: #000;
  text-align: center;
}

/* service */
.service {
  background-color: #fff;
}
.service__container {
  padding-top: clamp(5.000rem, 2.792rem + 4.601vw, 8.312rem);
  padding-right: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
  padding-bottom: clamp(3.250rem, -0.958rem + 8.767vw, 9.562rem);
  padding-left: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
}
.service__items {
  display: flex;
  flex-direction: column;
  margin-top: clamp(2.500rem, 1.667rem + 1.736vw, 3.750rem);
}
.service__item {
  display: flex;
  align-items: center;
  gap: clamp(2.000rem, -0.417rem + 5.035vw, 5.625rem);
  padding-top: clamp(1.500rem, 0.667rem + 1.736vw, 2.750rem);
  padding-right: clamp(1.250rem, -1.458rem + 5.642vw, 5.312rem);
  padding-bottom: clamp(1.375rem, 0.500rem + 1.823vw, 2.688rem);
  padding-left: clamp(1.250rem, -1.333rem + 5.382vw, 5.125rem);
  background-color: #fff;
  border: 1px solid #707070;
}
.service__item + .service__item {
  margin-top: clamp(2.000rem, 1.083rem + 1.910vw, 3.375rem);
}
.service__item:nth-child(2) {
  margin-top: clamp(1.875rem, 2.083rem - 0.174vw, 2.000rem);
}
.service__item:nth-child(4) {
  margin-top: clamp(2.000rem, 0.667rem + 2.778vw, 4.000rem);
}
.service-item__left {
  flex-shrink: 0;
  width: clamp(15.000rem, 5.375rem + 20.052vw, 29.438rem);
}
.service-item__img {
  height: auto;
  aspect-ratio: 471 / 352;
  object-fit: cover;
  border: 1px solid #707070;
}
.service-item__right {
  flex: 1;
  min-width: 0;
}
.service-item__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
  min-height: clamp(4.875rem, 2.708rem + 4.514vw, 8.125rem);
}
.service-item__header::before,
.service-item__header::after {
  content: "";
  position: absolute;
  left: 0;
  width: calc(100% - clamp(2.375rem, 2.208rem + 0.347vw, 2.625rem));
  height: 1px;
  background-color: #000;
}
.service-item__header::before {
  top: 50%;
  transform: translateY(calc(-1 * clamp(1.688rem, 1.254rem + 0.903vw, 2.337rem)));
}
.service-item__header::after {
  top: 50%;
  transform: translateY(clamp(1.688rem, 1.254rem + 0.903vw, 2.337rem));
}
.service-item-header__text {
  position: relative;
  z-index: 1;
  padding-left: clamp(0.625rem, 0.208rem + 0.868vw, 1.250rem);
  font-size: clamp(1.125rem, 0.542rem + 1.215vw, 2.000rem);
  font-weight: 500;
  line-height: 1.45;
  color: #000;
  white-space: nowrap;
}
.service-item-header__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(4.875rem, 2.708rem + 4.514vw, 8.125rem);
  height: auto;
}
.service-item__text,
.service-item__subtext {
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.333rem + 0.347vw, 1.750rem);
  color: #000;
}
.service-item__text {
  margin-top: clamp(0.250rem, 2.021rem - 1.476vw, 1.312rem);
}
.service-item__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: clamp(1.875rem, 1.708rem + 0.347vw, 2.125rem);
  margin-top: clamp(1.188rem, 1.396rem - 0.174vw, 1.312rem);
  padding-right: clamp(1.188rem, 1.146rem + 0.087vw, 1.250rem);
  padding-left: clamp(1.188rem, 1.146rem + 0.087vw, 1.250rem);
  background-color: #002c6a;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.service-item__subtext {
  margin-top: clamp(0.500rem, 0.250rem + 0.521vw, 0.875rem);
}

/* works */
.works {
  background-color: #fff;
}
.works__container {
  padding-top: clamp(1.750rem, -2.500rem + 8.854vw, 8.125rem);
  padding-right: clamp(1.250rem, -12.708rem + 29.080vw, 22.188rem);
  padding-left: clamp(1.250rem, -12.708rem + 29.080vw, 22.188rem);
}
.works__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.works__top > a {
  flex-shrink: 0;
  margin-bottom: calc((clamp(3.938rem, 2.312rem + 3.385vw, 6.375rem) - clamp(3.000rem, 2.333rem + 1.389vw, 4.000rem)) / 2);
}
.works__container > a:has(.btn1.sp-content) {
  display: none;
}
.works__block {
  margin-top: clamp(1.312rem, -0.854rem + 4.514vw, 4.562rem);
}
.works__title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(2.125rem, 1.500rem + 1.302vw, 3.063rem);
  background-color: #003f98;
  font-size: clamp(1.000rem, 0.750rem + 0.521vw, 1.375rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-align: center;
}
.works .webgene-blog,
.works .casesItem {
  width: 100%;
  margin: 0;
  padding: 0;
}
.works .casesItem,
.works .casesItem:hover {
  opacity: 1;
}
.works .casesLink {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.250rem, 0.000rem + 2.604vw, 3.125rem);
  width: 100%;
  margin-top: -1px;
  padding-top: clamp(1.688rem, 1.354rem + 0.694vw, 2.188rem);
  padding-right: clamp(0.625rem, -2.667rem + 6.858vw, 5.563rem);
  padding-bottom: clamp(2.188rem, 6.146rem - 3.299vw, 4.563rem);
  padding-left: clamp(0.625rem, -0.833rem + 3.038vw, 2.813rem);
  background-color: #fff;
  border: 1px solid #707070;
}
.works .casesDetailImg {
  min-width: 0;
  max-width: 100%;
}
.works .gallery {
  display: grid;
  grid-template-columns: clamp(2.125rem, 1.250rem + 1.823vw, 3.438rem) minmax(0, clamp(15.500rem, 8.083rem + 15.451vw, 26.625rem)) clamp(2.125rem, 1.250rem + 1.823vw, 3.438rem);
  align-items: center;
  column-gap: clamp(0.438rem, -0.146rem + 1.215vw, 1.313rem);
  row-gap: clamp(0.375rem, 0.083rem + 0.608vw, 0.813rem);
  width: fit-content;
  max-width: 100%;
}
.works .gallery-main {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.works .gallery-main .swiper-wrapper {
  display: flex;
}
.works .gallery-main .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 426 / 320;
  border: 1px solid #707070;
  background-color: #c7c7c7;
}
.works .gallery-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works .gallery-prev,
.works .gallery-next {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1;
  width: clamp(2.125rem, 1.250rem + 1.823vw, 3.438rem);
  height: clamp(2.125rem, 1.250rem + 1.823vw, 3.438rem);
  padding: 0;
  border: 1px solid #002c6a;
  border-radius: 50%;
  background-color: #fff;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
  appearance: none;
  transition: opacity 0.5s;
}
.works .gallery-prev {
  grid-column: 1;
}
.works .gallery-next {
  grid-column: 3;
}
.works .gallery-prev:hover,
.works .gallery-next:hover {
  opacity: 0.5;
}
.works .gallery-prev::before,
.works .gallery-next::before {
  content: "";
  display: block;
  width: clamp(0.688rem, 0.438rem + 0.521vw, 1.063rem);
  height: clamp(0.688rem, 0.438rem + 0.521vw, 1.063rem);
  border-top: 3px solid #002c6a;
  border-right: 3px solid #002c6a;
}
.works .gallery-prev::before {
  transform: translateX(26%) rotate(-135deg);
}
.works .gallery-next::before {
  transform: translateX(-26%) rotate(45deg);
}
.works .gallery-prev.swiper-button-disabled,
.works .gallery-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: auto;
}
.works .gallery-thumb {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.works .gallery-thumb .swiper-wrapper {
  display: flex;
  gap: clamp(0.625rem, 0.458rem + 0.347vw, 0.875rem);
  transform: none;
}
.works .gallery-thumb .swiper-slide {
  flex: 0 1 clamp(3.125rem, 2.208rem + 1.910vw, 4.500rem);
  width: clamp(3.125rem, 2.208rem + 1.910vw, 4.500rem);
  height: auto;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 72 / 46.78;
  border: 1px solid #707070;
  background-color: #c7c7c7;
  cursor: pointer;
  opacity: 1;
  transition: border-color 0.5s;
}
.works .gallery-thumb .swiper-slide-thumb-active {
  border-color: #003f98;
}
.works .gallery-thumb .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works .swiper-slide:not(:has(img[src])) {
  display: none;
}
.works .casesItemBottom {
  flex: 1;
  min-width: 0;
  margin-top: clamp(1.813rem, 1.146rem + 1.389vw, 2.813rem);
}
.works .casesItemTime {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.063rem, 0.771rem + 0.608vw, 1.500rem);
  color: #959595;
  white-space: nowrap;
}
.works .casesItemTit {
  margin-top: clamp(0.500rem, 0.813rem - 0.260vw, 0.688rem);
  font-size: clamp(1.250rem, 1.083rem + 0.347vw, 1.500rem);
  font-weight: 500;
  line-height: clamp(1.813rem, 1.563rem + 0.521vw, 2.188rem);
  color: #000;
  overflow-wrap: anywhere;
}
.works .casesDetailTxt {
  margin-top: clamp(1.313rem, 1.229rem + 0.174vw, 1.438rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.333rem + 0.347vw, 1.750rem);
  color: #000;
}

/* flow */
.flow {
  background-color: #fff;
}
.flow__container {
  padding-top: clamp(6.312rem, 4.229rem + 4.340vw, 9.438rem);
  padding-right: clamp(1.250rem, -12.708rem + 29.080vw, 22.188rem);
  padding-left: clamp(1.250rem, -12.708rem + 29.080vw, 22.188rem);
}
.flow__items {
  margin-top: clamp(2.500rem, 3.229rem - 0.608vw, 2.938rem);
}
.flow__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.750rem, -1.542rem + 4.774vw, 4.188rem);
  min-height: clamp(9.688rem, 11.042rem - 1.128vw, 10.500rem);
  padding-top: clamp(0.563rem, 0.104rem + 0.955vw, 1.250rem);
  padding-right: clamp(1.250rem, -1.792rem + 6.337vw, 5.813rem);
  padding-bottom: clamp(0.563rem, 0.104rem + 0.955vw, 1.250rem);
  padding-left: clamp(0.625rem, -0.750rem + 2.865vw, 2.688rem);
  background-color: #fff;
  border: 1px solid #707070;
}
.flow__item + .flow__item {
  margin-top: -1px;
}
.flow__item:nth-child(odd) {
  background-color: #e8e8e8;
}
.flow__item::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: calc(clamp(0.625rem, -0.750rem + 2.865vw, 2.688rem) + clamp(3.438rem, 0.938rem + 5.208vw, 7.188rem) / 2);
  z-index: 0;
  width: clamp(0.188rem, 0.104rem + 0.174vw, 0.313rem);
  background-color: #003f98;
  transform: translateX(-50%);
}
.flow__item:first-child::before {
  top: 50%;
}
.flow__item:last-child::before {
  bottom: 50%;
}
.flow-item__left {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(3.438rem, 0.938rem + 5.208vw, 7.188rem);
}
.flow-item__icon {
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #003f98;
}
.flow-item__right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.flow-item__header {
  flex: 0 0 47.5%;
}
.flow-item__sub {
  font-family: "Audiowide", sans-serif;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: 1;
  color: #003f98;
}
.flow-item__main {
  margin-top: 2px;
  font-size: clamp(1.250rem, 0.917rem + 0.694vw, 1.750rem);
  font-weight: 500;
  line-height: clamp(1.813rem, 1.354rem + 0.955vw, 2.500rem);
  color: #000;
}
.flow-item__text {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.333rem + 0.347vw, 1.750rem);
  color: #000;
}

/* general */
.general {
  background-color: #fff;
  padding-top: clamp(8.750rem, 3.333rem + 11.285vw, 16.875rem);
  padding-bottom: clamp(7.500rem, 5.083rem + 5.035vw, 11.125rem);
}
.general__container {
  position: relative;
  margin-right: clamp(1.250rem, -15.458rem + 34.809vw, 26.313rem);
  margin-left: clamp(1.250rem, -15.458rem + 34.809vw, 26.313rem);
  background-color: #003f98;
}
.general__left {
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: 52%;
  padding-top: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  padding-bottom: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  padding-left: clamp(2.500rem, 0.833rem + 3.472vw, 5.000rem);
}
.general__title {
  font-size: clamp(1.375rem, 0.958rem + 0.868vw, 2.000rem);
  font-weight: 600;
  line-height: clamp(2.688rem, 1.938rem + 1.563vw, 3.813rem);
  color: #fff;
}
.general__text {
  margin-top: clamp(1.000rem, 0.875rem + 0.260vw, 1.188rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.333rem + 0.347vw, 1.750rem);
  color: #fff;
}
.general a:has(.btn1) {
  margin-top: clamp(1.500rem, 1.250rem + 0.521vw, 1.875rem);
}
.general .btn1__box {
  background-color: #fff;
}
.general .btn1__box::before {
  background-color: #002c6a;
}
.general .btn1__text {
  color: #000;
}
.general a:hover .btn1__text,
.general .btn1:hover .btn1__text {
  color: #fff;
}
.general__right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 39.332%;
  height: 100%;
  pointer-events: none;
}
.general__deco {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.general__img1,
.general__img2 {
  position: absolute;
  z-index: 2;
  height: auto;
  object-fit: cover;
}
.general__img1 {
  top: clamp(-5.625rem, -2.083rem - 2.951vw, -3.500rem);
  right: 11.132%;
  width: 32.653%;
  aspect-ratio: 352 / 234;
}
.general__img2 {
  top: 57.491%;
  right: -2.783%;
  width: 22.820%;
  aspect-ratio: 246 / 164;
}

@media (max-width: 767px) {
  .fv-deco__general {
    bottom: 20px;
  }
  .top__container {
    flex-direction: column;
    align-items: stretch;
  }
  .top__rihgt {
    width: calc(100% - 11px);
    margin-left: 11px;
  }
  .consultation__items {
    flex-direction: column;
    align-items: center;
    gap: 83px;
  }
  .consultation__item {
    flex: none;
    width: 100%;
    max-width: 260px;
  }
  .consultation-item__text {
    letter-spacing: -0.02em;
  }
  .service__item {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    padding-inline: 10px;
  }
  .service-item__left {
    width: 100%;
  }
  .service-item__img {
    aspect-ratio: 310 / 176;
  }
  .works__top > a {
    display: none;
  }
  .works__container > a:has(.btn1.sp-content) {
    display: block;
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
  }
  .works .btn1.sp-content {
    display: flex;
  }
  .works .casesLink {
    flex-direction: column;
    gap: 0;
  }
  .works .casesDetailImg,
  .works .gallery {
    width: 100%;
  }
  .works .gallery {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    column-gap: 7px;
    row-gap: 6px;
  }
  .works .gallery-prev,
  .works .gallery-next {
    width: 34px;
    height: 34px;
  }
  .works .gallery-prev::before,
  .works .gallery-next::before {
    width: 11px;
    height: 11px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
  .works .casesItemBottom {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }
  .flow__item {
    align-items: flex-start;
    padding-top: 0.563rem;
    padding-bottom: 1.313rem;
  }
  .flow__item:first-child::before {
    top: calc(0.563rem + 3.438rem / 2);
  }
  .flow__item:last-child::before {
    bottom: calc(100% - (0.563rem + 3.438rem / 2));
  }
  .flow-item__right {
    flex-direction: column;
    align-items: flex-start;
  }
  .flow-item__header {
    flex: none;
    width: 100%;
    padding-top: 5px;
  }
  .flow-item__text {
    width: 100%;
    margin-top: 20px;
  }
  .general {
    padding-top: 100px;
    padding-bottom: 102px;
  }
  .general__container {
    width: min(330px, calc(100% - 60px));
    aspect-ratio: 330 / 479;
    margin-right: auto;
    margin-left: auto;
  }
  .general__left {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    height: 100%;
    padding: 24px 18px 27px;
  }
  .general__title {
    font-size: 22px;
    line-height: 43px;
    text-align: center;
  }
  .general__text {
    margin-top: 27px;
    font-size: 14px;
    line-height: 24px;
  }
  .general a:has(.btn1) {
    margin-top: auto;
  }
  .general__right {
    top: 40.084%;
    right: auto;
    left: 16.061%;
    width: 83.333%;
    height: 51.086%;
  }
  .general__img1 {
    top: 42.735%;
    right: auto;
    left: -3.636%;
    width: 72.424%;
    aspect-ratio: 239 / 159;
  }
  .general__img2 {
    top: auto;
    right: -3.636%;
    bottom: -4.426%;
    width: 57.576%;
    aspect-ratio: 190 / 127;
  }
}
@media (max-width: 389px) {
  .top__title {
    font-size: 24px;
  }
  
  .service-item__header {
    column-gap: 6px;
  }
  .service-item-header__text {
    font-size: 14px;
  }
  .service-item-header__icon {
    width: 64px;
  }
  .service-item__text,
  .service-item__subtext {
    font-size: 12px;
  }
  .flow-item__main {
    font-size: 18px;
  }
  .flow-item__text {
    font-size: 12px;
  }
  .general__text {
    margin-top: 16px;
  }
}