 @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-about.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(2rem, 1rem + 2.08vw, 3.5rem);
    font-weight: 800;
    color: #fff;
}

.about {
  padding-top: clamp(2.5rem, -0.833rem + 6.94vw, 7.5rem);
}
.about__inner {
  padding-left: clamp(1.25rem, -17.893rem + 29.91vw, 18rem);
}
.about__container {
      display: flex;
    column-gap: clamp(1.25rem, -9.464rem + 16.74vw, 10.625rem);
}
.about__title {
      font-size: clamp(1.125rem, 0.696rem + 0.67vw, 1.5rem);
    font-weight: 800;
    line-height: 2;
}
.about__text {
      margin-top: clamp(0.875rem, 0.732rem + 0.22vw, 1rem);
    font-weight: 600;
    line-height: 2;
}
.about__right {
      width: 62%;
    aspect-ratio: 1030/484;
    object-fit: cover;
    height: max-content;
}

.commitment {
  padding-top: clamp(4rem, 8.33vw, 10rem);
}
.commitment__inner {
  padding: 0 clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
}
.commitment__header {
      display: flex;
    align-items: center;
    column-gap: 21px;
}
.commitment-header__icon {
      width: 21px;
    height: 21px;
    background-color: #000;
}
.commitment-header__title {
      font-size: 24px;
    font-weight: 800;
}
.commitment__items {
      margin-top: clamp(2.5rem, -1.5rem + 6.25vw, 6rem);
    display: flex;
    flex-direction: column;
    row-gap: clamp(4rem, 0.571rem + 5.36vw, 7rem);
}
.commitment__item {
  display: flex;
}
.commitment__item:nth-child(2) {
  margin-left: auto;
  margin-right: auto;
}
.commitment__item:nth-child(3) {
  margin-left: auto;
}
.commitment-item__header {
      display: flex;
    flex-direction: column;
    align-items: center;
}
.commitment-item-header__sub {
      font-size: clamp(0.75rem, 0.464rem + 0.45vw, 1rem);
    font-weight: 800;
}
.commitment-item-header__main {
      margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #000;
    font-size: clamp(2.75rem, 0.536rem + 3.46vw, 4.688rem);
    font-weight: 500;
}
.commitment-item__img {
      width: clamp(21.875rem, 2.661rem + 30.02vw, 38.688rem);
    aspect-ratio: 619/419;
    object-fit: cover;
    height: max-content;
    margin-left: clamp(1.25rem, -1.179rem + 3.79vw, 3.375rem);
    margin-right: clamp(1.25rem, -2.464rem + 5.8vw, 4.5rem);
}
.commitment-item__content {
      display: flex;
    flex-direction: row-reverse;
    column-gap: clamp(2.5rem, 1.5rem + 1.56vw, 3.375rem);
}
.commitment-item__title {
      font-size: clamp(1.25rem, 0.964rem + 0.45vw, 1.5rem);
    font-weight: 800;
}
.commitment-item__text {
      font-size: clamp(0.875rem, 0.732rem + 0.22vw, 1rem);
    font-weight: 600;
    line-height: 2;
}

.service {
  padding-top: clamp(7.5rem, 5.833rem + 3.47vw, 10rem);
}
.service__inner {
  padding: 0 clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
}
.service__items {
      margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(1.25rem, -4.75rem + 12.5vw, 10.25rem);
    row-gap: 64px;
}
.service__item {
      display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.service-item__top {
   position: relative;
}
.service-item-top__img {
      aspect-ratio: 590/398;
    object-fit: cover;
}
.service-item-top__text {
      position: absolute;
    height: 25%;
    width: auto;
    bottom: 0;
    left: 0;
}
.service-item-top__text--2 {
        position: absolute;
    height: 100%;
    width: auto;
    bottom: 0;
    left: 0;
}
.service-item-top__text--3 {
        position: absolute;
    height: 50%;
    width: auto;
    right: 0;
    bottom: 0;
}
.service-item-top__text--4 {
        position: absolute;
    height: 50%;
    width: auto;
    left: 0;
    bottom: 0;
}
.service-item__title {
      font-size: 24px;
    font-weight: 800;
}
.service-item__text {
    font-weight: 600;
}
.service-link {
  margin-left: auto;
}

@media (max-width: 1023px) {
  .about__inner {
    padding: 0 clamp(1.25rem, -13.056rem + 29.8vw, 6rem);
  }
  .about__container {
        flex-direction: column;
    row-gap: 64px;
  }
  .about__right {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .pg-fv__container {
    justify-content: center;
  }
  .about__left {
    padding: 0 20px;
  }
  
  .about__inner {
    padding: 0;
  }
  
  .commitment__item {
        flex-direction: column;
    row-gap: 24px;
    align-items: center;
  }
  .commitment-item__img {
        margin: 0;
    width: 100%;
  }
  .commitment-vertical {
    writing-mode: vertical-rl;
  }
  
  .service__inner {
    padding: 0  clamp(1.25rem, -3.664rem + 20.16vw, 6rem);
  }
  .service__items {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 389px){
  .pg-fv__title--vertical {
      font-size: clamp(1.375rem, -0.364rem + 8.7vw, 1.75rem);
  }
  .about__left {
    padding: 0 10px;
  }
  .about__title {
    font-size: 16px;
  }
}