@charset "utf-8";

/* ======================
visual
====================== */
.visual {
  height: 100svh;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.visual__pc,
.visual__sp {
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: top;
  object-fit: cover;
  border-radius: 36px;
}

.visual__frame,
.visual__frame02 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 24px solid #FFF;
  pointer-events: none;
}

.visual__frame {
  border-radius: 36px;
  z-index: 10;
}

.visual__frame02 {
  z-index: 11;
}

.visual__pc-slider {
  display: none;
}

.main-visual-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.main-visual-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 6s ease;
}

.main-visual-slider img.active {
  opacity: 1;
  animation: zoomOut 6s ease-in-out;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.visual__sub {
  position: absolute;
  bottom: 96px;
  white-space: nowrap;
}

.visual__content {
  display: inline-block;
  font-weight: var(--weight-semibold);
}

.visual__logo {
  display: none;
}

.visual__content--main {
  color: var(--subColor);
  font-size: min(7.4666666667vw, 2.8rem);
}

.visual__content--sub {
  margin-top: 6px;
  color: #FAFAFA;
  font-size: min(3.7333333333vw, 1.4rem);
  text-align: right;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.visual__block--wrap {
  padding-left: 6px;
  background-color: var(--baseColor);
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .visual__content--main {
    font-size: min(7.4666666667vw, 3.6rem);
  }

  .visual__content--sub {
    font-size: min(3.7333333333vw, 1.7rem);
  }
}

@media screen and (min-width: 1024px) {
  .visual__sp-slider {
    display: none;
  }

  .visual__pc-slider {
    display: block;
  }

  .visual__frame,
  .visual__frame02 {
    border: 30px solid #FFF;
  }

  .visual__frame {
    border-radius: 50px;

  }

  .visual__sub {
    position: absolute;
    right: 0;
    bottom: 53%;
    transform: translateY(50%);
    margin-right: 12%;
    white-space: nowrap;
  }

  .visual__content {
    display: inline-block;
    font-weight: var(--weight-semibold);
  }

  .visual__logo {
    display: block;
    width: 180px;
    cursor: pointer;
    margin: 0 auto;
  }

  .visual__content--main {
    margin-top: 40px;
    color: var(--subColor);
    font-size: 3.8rem;
  }

  .visual__content--sub {
    margin-top: 6px;
    color: #FAFAFA;
    font-size: 2rem;
    text-align: right;
    font-weight: var(--weight-bold);
    letter-spacing: 0.02em;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16);
  }

  .visual__block--wrap {
    padding-left: 6px;
    background-color: var(--baseColor);
    width: 100%;
    height: 100%;
    border-radius: 2px;
  }
}

/* ======================
about
====================== */
.board {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.board__inner {
  width: max-content;
  animation: scroll 16s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.board--logo {
  width: 304px;
  padding-left: 20px;
}

.board__txtArea {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.board__txt {
  font-size: 1.5rem;
  line-height: 2.4;
  font-weight: var(--weight-semibold);
  text-align: center;
  letter-spacing: 0.03em;
}

.about__content {
  padding: 32px 0 72px;
}

.about__visual {
  margin-right: 6.4vw;
}

.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease-out;
}

.animate-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.about__visual img {
  width: 100%;
  border-radius: 0px 10px 10px 0px;
}

.about__wrap {
  margin-top: 22px;
  font-weight: var(--weight-semibold);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__title {
  font-size: 1.6rem;
  line-height: 2.4;
  text-align: center;
  letter-spacing: 0.02em;
}

.about__title--accent {
  margin: 0 2px;
  font-size: 1.8rem;
  color: var(--accentColor);
}

.about__txt {
  max-width: 360px;
  margin: 18px 24px 0;
  font-size: 1.2rem;
  line-height: 2.4;
  letter-spacing: 0.03em;
  font-weight: var(--weight-medium);
}

.aboutBtn {
  margin-top: 24px;
  width: 300px;
  height: 100px;
  background-image: url(../images/about_btn.webp);
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.6s;
  position: relative;
}

.aboutBtn:hover {
  transform: scale(1.04);
  opacity: 0.8;
  transition: 0.6s;
}

.aboutBtn__inner {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 44px;
  transform: translateY(-50%);
}

.aboutBtn--main {
  font-size: 1.8rem;
  font-family: var(--subFont);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.aboutBtn--sub {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .board__txt {
    font-size: min(2.1951219512vw, 1.8rem)
  }

  .about__wrap {
    margin-top: 32px;
  }

  .about__title {
    font-size: min(2.5609756098vw, 2.1rem);
  }

  .about__title--accent {
    font-size: min(3.0487804878vw, 2.5rem);
  }

  .about__txt {
    max-width: 448px;
    font-size: min(1.8292682927vw, 1.5rem);
  }

  .aboutBtn {
    width: 400px;
    height: 134px;
  }

  .aboutBtn__inner {
    position: absolute;
    left: 58px;
  }

  .aboutBtn--main {
    font-size: 2.2rem;
  }

  .aboutBtn--sub {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1024px) {
  .board--logo {
    width: 22.4404761905vw;
    padding-left: 1.9047619048vw;
  }

  .board__txt {
    font-size: 1.3095238095vw;
    line-height: 2.4;
    font-weight: var(--weight-semibold);
    text-align: center;
    letter-spacing: 0.03em;
  }

  .about__content {
    padding: 4.1666666667vw 0 5.2380952381vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about__visual {
    margin-right: 0;
  }

  .about__visual img {
    width: 50vw;
    border-radius: 0px 16px 16px 0px;
  }

  .about__wrap {
    margin-top: 0;
    width: 50vw;
  }

  .about__title {
    font-size: 1.4285714286vw;
    line-height: 2.4;
    text-align: center;
    letter-spacing: 0.02em;
  }

  .about__title--accent {
    margin: 0 2px;
    font-size: 1.7857142857vw;
    color: var(--accentColor);
  }

  .about__txt {
    max-width: none;
    margin: 18px 0 0;
    font-size: 1.0119047619vw;
    line-height: 2.4;
    letter-spacing: 0.03em;
    font-weight: var(--weight-medium);
  }

  .aboutBtn {
    margin-top: 38px;
    width: 24.2857142857vw;
    height: 7.7380952381vw;
  }

  .aboutBtn__inner {
    position: absolute;
    top: 50%;
    left: 64px;
    transform: translateY(-50%);
  }

  .aboutBtn--main {
    font-size: 1.25vw;
    font-family: var(--subFont);
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.03em;
  }

  .aboutBtn--sub {
    font-size: 0.7142857143vw;
    font-weight: var(--weight-bold);
    letter-spacing: 0.02em;
  }
}

@media screen and (min-width: 1025px) {
  .board {
    padding-top: 1.1904761905vw;
  }
}

/* ======================
scroll
====================== */
.scroll {
  position: relative;
  height: 160vh;
}

.scroll__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  transform: translateY(40%);
  background-image: url(../images/scroll_visual-sp.webp);
  background-size: cover;
  background-position: center;
  z-index: 10;
}

.scroll__inner::before {
  margin-bottom: 100vh;
  display: block;
  content: "";
  width: 100px;
  height: 90px;
  background-image: url(../images/scroll_logo.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: sticky;
  top: 0;
  left: 0;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
}

.scroll__txt {
  position: absolute;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: min(4.2666666667vw, 1.6rem);
  line-height: 2.6;
  text-align: center;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.scroll__block--wrap {
  padding: 3px 0 3px 5px;
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

.scroll__txt--ep {
  font-size: 1.9rem;
  color: var(--accentColor);
}

@media screen and (min-width: 769px) {
  .scroll__inner {
    background-image: url(../images/scroll_visual-pc.webp);
  }

  .scroll__inner::before {
    width: max(9.5238095238vw, 160px);
    height: max(8.9285714286vw, 150px);
  }

  .scroll__txt {
    position: absolute;
    left: 50%;
    bottom: 9%;
    font-size: max(1.6666666667vw, 2.4rem);
    letter-spacing: 0.05em;
  }

  .scroll__block--wrap {
    width: 100%;
    height: 100%;
    border-radius: 2px;
  }

  .scroll__block--wrap:nth-of-type(1) {
    border-radius: 2px 0 0 2px;
  }

  .scroll__block--wrap:nth-of-type(2) {
    border-radius: 0 2px 2px 0;
    padding-left: 0;
  }

  .scroll__block--wrap:nth-of-type(3) {
    padding: 6px 0 5px 6px;
  }

  .scroll__txt--ep {
    font-size: max(1.6666666667vw, 2.8rem);
  }
}

/* ======================
service
====================== */
.section--service {
  height: 100svh;
  min-height: 700px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: var(--baseColor);
  position: relative;
  z-index: 20;
}

.service__heading {
  text-align: center;
}

.service__logo {
  width: 48px;
  color: #D6D9DC;
}

.service__title {
  margin-top: 20px;
}

.service__title--main {
  color: #A1A3A5;
  font-size: 2.4rem;
  font-family: var(--subFont);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
}

.service__title--sub {
  font-size: 1.3rem;
  font-weight: var(--weight-semibold);
  color: #87898B;
  letter-spacing: 0.04em;
}

.service__txt {
  margin-top: 30px;
  color: #6B6D6E;
  font-size: min(3.2vw, 1.2rem);
  font-weight: var(--weight-medium);
  line-height: 2.4;
  text-align: center;
  letter-spacing: 0.03em;
}

.service__slider {
  border-radius: 10px;
  max-width: 1890px;
  margin: 36px 28px 0 28px;
  background-image: url(../images/service_bg.webp);
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  position: relative;
  left: 0;
}

.service__slider__inner {
  display: flex;
  width: max-content;
  counter-reset: service-number;
}

.serviceBox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 315px;
  padding: 62px 20px;
  box-sizing: border-box;
  color: white;
  border-right: 1px solid #000;
}

.serviceBox::before {
  content: "";
  display: block;
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--subFont);
  font-size: 1.4rem;
  font-weight: var(--weight-bold);
  color: #C2C5C8;
  counter-increment: service-number;
  content: "(" counter(service-number, decimal-leading-zero) ")";
}

.serviceBox img {
  background-size: 96px;
}

.serviceBox__title {
  margin-top: 24px;
  font-size: 1.8rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
}

.service__desc {
  margin-top: 16px;
  color: #D7D7D7;
  font-size: 1.3rem;
  line-height: 2;
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
}

@media screen and (min-width: 769px) {
  .service__group {
    transform: translateY(-4%);
  }

  .service__logo {
    width: 64px;
  }

  .service__title {
    margin-top: 20px;
  }

  .service__title--main {
    font-size: 2.4rem;
  }

  .service__title--sub {
    font-size: 1.4rem;
  }

  .service__txt {
    margin-top: 32px;
    font-size: 1.6rem;
  }

  .service__slider {
    border-radius: 10px;
    max-width: 945px;
    margin: 48px auto 0;
  }

  .serviceBox {
    width: 315px;
    padding: 62px 20px;
  }

  .service__desc {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 670px) and (max-width: 985px) {
  .service__slider {
    margin: 48px auto 0;
    max-width: 630px;
  }
}