@charset "utf-8";
.pg-fv {
      margin-top: clamp(4.5rem, 1.458rem + 6.34vw, 9.063rem);
    background-image: url(https://kifudaya.co.jp/system_panel/uploads/images/fv-order.png);
    background-size: cover;
    background-position: center;
    height: clamp(21.875rem, 14.667rem + 15.02vw, 32.688rem);
}
.pg-fv__inner {
  height: inherit;
  padding: 0 clamp(1.25rem, -5.917rem + 14.93vw, 12rem);
}
.pg-fv__container {
     width: 100%;
    height: inherit;
      display: flex;
    align-items: center;
}
.pg-fv__title--vertical {
      font-size: clamp(1.75rem, 0.583rem + 2.43vw, 3.5rem);
    font-weight: 800;
    color: #fff;
}

.order-top {
  padding-top: 40px;
}
.order-top__container {
  position: relative;
}
.order-top__content {
      position: absolute;
    background-color: #fff;
    top: 0;
    right: clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
    display: flex;
    flex-direction: row-reverse;
    column-gap: clamp(2.5rem, 2.167rem + 0.69vw, 3rem);
    padding: clamp(2rem, 0.333rem + 3.47vw, 4.5rem) clamp(2.5rem, 1.167rem + 2.78vw, 4.5rem);
}
.order-top__title {
      font-size: clamp(1.5rem, 1.167rem + 0.69vw, 2rem);
    font-weight: 800;
}
.order-top__text {
      font-size: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    font-weight: 600;
    line-height: 1.85;
}

.service {
  padding-top: clamp(5rem, 3.333rem + 3.47vw, 7.5rem);
}
.service__inner {
  padding: 0 clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
}
.service__items {
      display: flex;
    flex-direction: column;
    row-gap: 80px;
}
.service__item {
      display: flex;
    column-gap: clamp(1.25rem, -1.25rem + 5.21vw, 5rem);
}
.service-item__left {
      width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-item__top {
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(6.25rem, 4.792rem + 3.04vw, 8.438rem);
    height: clamp(6.25rem, 4.792rem + 3.04vw, 8.438rem);
    border: 1px solid #000;
    border-radius: 50%;
}
.service-item-top__text {
      font-size: clamp(0.938rem, 0.729rem + 0.43vw, 1.25rem);
    font-weight: 800;
}
.service-item-top__number {
      font-size: clamp(1.438rem, 1.063rem + 0.78vw, 2rem);
    font-weight: 800;
}
.service-item__title {
      margin-top: 24px;
    font-size: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    font-weight: 800;
    text-align: center;
}
.service-item__text {
      margin-top: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    font-weight: 500;
}
.service-item__right {
      width: 50%;
    aspect-ratio: 696/437;
    object-fit: cover;
}

.flow {
  padding-top: 80px;
}
.flow__inner {
  padding: 0 clamp(1.25rem, -17.893rem + 29.91vw, 18rem);
}
.flow__header {
      padding-bottom: clamp(0.5rem, 0.167rem + 0.69vw, 1rem);
    border-bottom: 1px solid #000;
}
.flow-header__sub {
      font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
    font-weight: 800;
}
.flow-header__main {
      margin-top: 4px;
    font-size: clamp(1rem, 0.667rem + 0.69vw, 1.5rem);
    font-weight: 800;
}
.flow__content {
      margin-top: clamp(2rem, 0.667rem + 2.78vw, 4rem);
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}
.flow__box:nth-child(1) {
  margin-right: 40px;
}
.flow__items {
  display: flex;
}
.flow__item {
      padding: clamp(1rem, 0.429rem + 0.89vw, 1.5rem) 20px;
    border: 1px solid #000;
  width: 100%;
}
.flow-item__title {
      font-size: 16px;
    font-weight: 800;
}
.flow-item__text {
      margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}
.flow__line {
      width: 40px;
    min-width: 40px;
    height: 1px;
    background-color: #000;
    margin-top: auto;
    margin-bottom: auto;
}

@media (max-width: 1023px) {
  .flow__content {
    row-gap: unset;
    padding: 0 clamp(0rem, -15.059rem + 31.37vw, 5rem);
  }
  .flow__box:nth-child(1) {
    margin-right: unset;
  }
  .flow__items {
    flex-direction: column;
  }
  .flow__line {
        height: 30px;
    width: 1px;
    min-width: unset;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .pg-fv__container {
    justify-content: center;
  }
  
  .order-top__content {
        position: unset;
    justify-content: center;
    margin-top: 16px;
        padding-left: 10px;
    padding-right: 10px;
  }
  .order-top-vertical {
    writing-mode: vertical-rl;
  }
  
  .service__inner {
    padding: 0 clamp(1.25rem, -3.664rem + 20.16vw, 6rem);
  }
  .service__item {
        flex-direction: column;
    row-gap: 20px;
  }
  .service-item__left,
  .service-item__right {
    width: 100%;
  }
}

@media (max-width: 389px){
  .pg-fv__title--vertical {
      font-size: clamp(1.375rem, -0.364rem + 8.7vw, 1.75rem);
  }
  
  .service-item__title {
    font-size: 18px;
  }
}