@charset "UTF-8";

.home #wrapper {
  overflow-x: clip;
  overflow-y: visible;
}

.fv-lead {
  position: relative;
  z-index: 2;
  padding: 18rem 0 5rem;
  padding-left: 9.5rem;

  @media screen and (max-width: 767px) {
    padding: 10rem 0 4rem;
    padding-left: 1.6rem;
  }
}

.fv-lead-title {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 500;
  font-size: 5.6rem;
  line-height: 160%;
  letter-spacing: 0.1em;
  font-feature-settings: "palt" on;
  color: #131313;

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
  }
}

.fv-lead-text {
  margin-top: 2.4rem;
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 500;
  font-size: 2rem;
  line-height: 240%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

  @media screen and (max-width: 767px) {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    line-height: 180%;
  }
}

.fv-lead-slash {
  position: absolute;
  top: 45%;
  right: 9.4rem;
  z-index: 1;
  width: 35rem;
  height: auto;
  pointer-events: none;

  @media screen and (max-width: 767px) {
    top: 6rem;
    width: 16rem;
    display: none;
  }
}

#fv {
  position: relative;

  @media screen and (max-width: 767px) {
    background-color: #fff;
    background-image: url("../common/img/parts/background.png");
    background-repeat: repeat;
    background-position: center top;
    background-size: contain;
  }
}

.fv-media {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  line-height: 0;

  @media screen and (max-width: 767px) {
    position: relative;
  }
}

.fv-media picture,
.fv-media .fv-img {
  display: block;
  width: 100%;
  height: auto;
}

.fv-media .fv-img {
  @media screen and (max-width: 767px) {
    /* height: 100svh; */
  }
}

.fv-img {
  max-width: none;
}

.fv-overlay {
  position: relative;
  z-index: 1;
}

.fv-overlay-body {
  position: relative;
  padding: 12rem 0 16rem;
  background: url("../common/img/parts/bg-blur.png") no-repeat center top / cover;

  @media screen and (max-width: 767px) {
    padding: 0 0 6rem;
    padding-left: 0;
    background: url("../common/img/parts/bg-blur.png") no-repeat center top / cover;
  }
}

.fv-overlay-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 28rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 2rem;
    padding-top: 0rem;
  }
}

.fv-overlay-left {
  flex: none;
  width: 63.3rem;

  @media screen and (max-width: 767px) {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.fv-overlay-title {
  width: 64.5rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 4rem;
  line-height: 160%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;
  margin-bottom: 19.6rem;

  @media screen and (max-width: 767px) {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 0;
    font-size: 2rem;
    order: 1;

    &::before {
      content: "";
      position: absolute;
      z-index: -1;
      top: -1.2rem;
      right: -1.6rem;
      bottom: -1.2rem;
      left: -1.6rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.42) 45%, rgba(255, 255, 255, 0.58) 100%);
      pointer-events: none;
    }
  }
}

.fv-overlay-img01 {
  display: block;
  width: 86rem;
  max-width: 100%;
  height: auto;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }

  @media screen and (max-width: 767px) {
    order: 0;
    margin-top: -12rem;
    margin-bottom: 2.4rem;
  }
}

.fv-overlay-right {
  flex: none;
  width: 58rem;

  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.fv-overlay-text {
  width: 54rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 2rem;
  line-height: 240%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

  @media screen and (max-width: 767px) {
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 1.4rem;
    line-height: 180%;
    /* letter-spacing: 0.05em; */

    &::before {
      content: "";
      position: absolute;
      z-index: -1;
      top: -1.2rem;
      right: -1.6rem;
      bottom: -1.2rem;
      left: -1.6rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.42) 45%, rgba(255, 255, 255, 0.58) 100%);
      pointer-events: none;
    }
  }
}

.fv-overlay-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 40rem;
  height: 8rem;
  margin-top: 4rem;
  padding: 1.4rem 2.4rem 1.6rem;
  gap: 2.4rem;
  background: #d6001c;
  border-radius: 0.4rem;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;

  & span {
    flex: none;
    flex-grow: 1;
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    font-weight: 500;
    font-size: 2rem;
    line-height: 140%;
    letter-spacing: 0.1em;
    color: #fff;
  }

  & img {
    display: block;
    width: auto;
    height: auto;
    flex: none;
    transition: transform 0.3s;
  }

  @media (hover: hover) and (pointer: fine) {
    &:hover {
      opacity: 0.7;
    }

    &:hover img {
      transform: translateX(0.6rem);
    }
  }

  @media screen and (max-width: 767px) {
    /* width: 100%; */
    /* padding: 14px 24px 16px; */
    /* gap: 24px; */
    width: 28rem;
    height: 4.8rem;

    & span {
      font-size: 1.4rem;
      /* line-height: 140%; */
    }
  }
}

.fv-overlay-img02 {
  display: block;
  width: 33.6rem;
  max-width: 100%;
  height: auto;
  margin-top: 23.3rem;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

#main-body {
  position: relative;
}

.common-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22rem;
  height: 5.6rem;
  padding: 0 3.2rem;
  background: #d30024;
  color: #fff;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: opacity 0.3s;

  @media (hover: hover) and (pointer: fine) {
    &:hover {
      opacity: 0.7;
    }
  }

  @media screen and (max-width: 767px) {
    min-width: 16rem;
    height: 4.4rem;
    font-size: 1.3rem;
  }
}

.sec-title {
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.4;
  letter-spacing: 0.08em;

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
  }
}

.sec-title-en {
  display: block;
  margin-top: 1.2rem;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: #888;

  @media screen and (max-width: 767px) {
    margin-top: 0.8rem;
    font-size: 1.2rem;
  }
}

.sec-lead {
  margin-top: 2.4rem;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.04em;

  @media screen and (max-width: 767px) {
    margin-top: 1.6rem;
    font-size: 1.4rem;
  }
}

#service {
  padding: 12rem 0;

  @media screen and (max-width: 767px) {
    padding: 6rem 0 0;
  }
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;

  @media screen and (max-width: 767px) {
    gap: 2.4rem;
  }
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 6.4rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 4rem;
  }
}

.service-list {
  flex: 1 1 68.8rem;
  min-width: 0;
  width: 68.8rem;

  @media screen and (max-width: 767px) {
    flex: none;
    width: 100%;
  }

  & li {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 4rem 2rem;
    border-top: 0.1rem solid #131313;

    &:last-child {
      border-bottom: 0.1rem solid #131313;
    }

    @media screen and (max-width: 767px) {
      gap: 1.2rem;
      padding: 2rem 0;
    }
  }
}

.service-num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  height: 3.6rem;
  font-family: "Abhaya Libre", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 2.4rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: #d6001c;

  @media screen and (max-width: 767px) {
    width: auto;
    font-size: 2.4rem;
    display: none;
  }
}

.service-ic {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;

  @media screen and (max-width: 767px) {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

.service-ic-icon {
  flex: none;

  & img {
    display: block;
    width: 5.6rem;
    height: 5.6rem;

    @media screen and (max-width: 767px) {
      width: 4rem;
      height: 4rem;
    }
  }
}

.service-ic-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  @media screen and (max-width: 767px) {
    flex: 1;
    min-width: 0;
    gap: 0.8rem;
  }

  & h3 {
    flex: none;
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 140%;
    letter-spacing: 0.1em;
    font-feature-settings: "halt" on;
    color: #131313;

    @media screen and (max-width: 767px) {
      font-size: 1.8rem;
    }
  }

  & p {
    width: auto;
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 180%;
    letter-spacing: 0.1em;
    color: #131313;

    @media screen and (max-width: 767px) {
      width: 100%;
      font-size: 1.4rem;
    }
  }
}

.service-photo {
  flex: 1 1 68.8rem;
  min-width: 0;
  width: 68.8rem;

  @media screen and (max-width: 767px) {
    flex: none;
    width: 100%;
  }

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

#works {
  padding: 12rem 0;

  @media screen and (max-width: 767px) {
    display: flex;
    flex-direction: column;
    padding: 6rem 0 0;
  }
}

.works-head {
  @media screen and (max-width: 767px) {
    order: 0;

    .common-section-text {
      margin-top: 1.5rem;
    }
  }
}

.works-img {
  display: block;
  width: 100%;
  max-width: 144rem;
  height: auto;
  margin: 6rem auto 0;

  @media screen and (max-width: 767px) {
    order: 2;
    max-width: none;
    margin-top: 3.2rem;
  }
}

.works-btn {
  display: flex;
  justify-content: center;
  margin-top: 6.4rem;

  .fv-overlay-btn {
    margin-top: 0;
  }

  @media screen and (max-width: 767px) {
    order: 1;
    margin-top: 3.2rem;
    justify-content: flex-start;
  }
}

#recruit {
  padding: 12rem 0;
  background-color: #40403d;
  background-image: none;
  color: #fff;

  @media screen and (max-width: 767px) {
    padding: 6rem 0;
  }

  .common-section-title {
    color: #fff;
  }

  .common-section-subtitle {
    color: rgba(255, 255, 255, 0.6);
  }
}

.recruit-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6.4rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 5rem;
  }
}

.recruit-content {
  flex: 1;
  min-width: 0;

  @media screen and (max-width: 767px) {
    width: 100%;
  }

  .fv-overlay-btn {
    margin-top: 4rem;

    @media screen and (max-width: 767px) {
      margin-top: 3rem;
    }
  }
}

.recruit-lead {
  /* width: 42rem; */
  margin-top: 4rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 160%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #fff;

  @media screen and (max-width: 767px) {
    width: 100%;
    margin-top: 2.4rem;
    font-size: 2rem;
  }
}

.recruit-text {
  align-self: stretch;
  margin-top: 2.4rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 200%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #fff;

  @media screen and (max-width: 767px) {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    line-height: 180%;
    letter-spacing: 0.09em;
  }
}

.recruit-photo {
  position: relative;
  flex: none;
  width: 64.8rem;

  @media screen and (max-width: 767px) {
    width: 100%;
  }

  picture img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.recruit-photo-slash {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  pointer-events: none;
}

.recruit-photo-slash.is-long {
  top: -3rem;
  left: 3rem;
  width: 23rem;

  @media screen and (max-width: 767px) {
    width: 12rem;
    left: 3rem;
    top: -2rem;
  }
}

.recruit-photo-slash.is-short {
  top: -4rem;
  right: 0;
  width: 14rem;

  @media screen and (max-width: 767px) {
    width: 8rem;
    display: none;
  }
}
