/* --------------------------------------------------- */
/* top */
/* --------------------------------------------------- */
.bg {
  width: 100%;
  height: 100dvh;
  background-color: rgba(250, 250, 250, 0);
  backdrop-filter: blur(0px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.mainvisual {
  padding-top: 9rem;
}
.mainvisual__title {
  margin-bottom: -9.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.mainvisual__catchphrase {
  width: 44.4444%;
  height: auto;
  margin-left: 6.25rem;
  /* position: absolute;
  top: 0;
  left: 6.25rem;
  z-index: 1; */
}
.mainvisual__img {
  width: 80%;
  height: 100dvh;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
}
.mainvisual__img.active {
  position: fixed;
  top: 0;
  right: 0;
}
.mainvisual__caption {
  color: #bababa;
  font-size: 14px;
  line-height: 1.75;
  margin: -5.25px 5rem -5.25px 0;
  text-align: right;
  /* position: absolute;
  top: 0;
  right: 5rem; */
}
.top_section__inner {
  width: 80%;
  margin: 0 auto;
  padding: 20dvh 0;
}
.top_img {
  height: 100dvh;
  position: relative;
}
.top_section__title {
  margin-bottom: 64px;
}
.top_section-title__caption {
  font-size: 20px;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 32px;
}
.top_section-title__text {
  font-size: 48px;
  line-height: 1.75;
  margin: -18px 0;
}
@media (max-width: 1279px) {
  .mainvisual {
    padding-top: 108px;
  }
  .mainvisual__title {
    flex-direction: column;
    width: calc(100vw - 48px);
    margin: 0 auto;
  }
  .mainvisual__catchphrase {
    width: 100%;
    margin: 0;
  }
  .mainvisual__caption {
    font-size: 12px;
    line-height: 2.0416;
    text-align: left;
    margin: 33.75px 0;
  }
  .mainvisual__img {
    width: 100%;
  }
  .top_section__inner {
    width: 100%;
    padding: 20dvh 24px;
  }
  .top_section__title {
    margin-bottom: 48px;
  }
  .top_section-title__caption {
    margin-bottom: 24px;
  }
  .top_section-title__text {
    font-size: 32px;
    line-height: 1.85;
    margin: -13.6px 0;
  }
}

/* --------------------------------------------------- */
/* about_us */
/* --------------------------------------------------- */
#about_us {
  width: 100%;
  /* height: 200dvh; */
  position: relative;
  z-index: 2;
  /* padding: 100dvh 0 0 0; */
}
#about_us .top_section__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  /* padding: 50dvh 0; */
}
#about_us .top_section-title__caption {
  margin-bottom: 64px;
}

.top_section__desc {
  font-size: 16px;
  line-height: 2.5;
  margin: -12px 0;
}

@media (max-width: 1279px) {
  #about_us .top_section-title__caption {
    margin-bottom: 48px;
  }
  .top_section__desc {
    line-height: 2.25;
    margin: -10px 0;
  }
}

/* --------------------------------------------------- */
/* works */
/* --------------------------------------------------- */
#works {
  width: 100%;
  /* height: 100dvh; */
  position: relative;
  z-index: 2;
}
#works .top_section__inner {
  /* padding: 50dvh 0; */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6.25rem;
}
.works__container {
  flex: none;
}
.works__base {
  flex: 1;
}
.works__list:not(:last-of-type) {
  margin-bottom: 56px;
}
.works-list__link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.works-list__link:has(.works-category__link:hover) {
  opacity: 1;
}
.works-list__img {
  width: 22.5rem;
  height: auto;
  /* min-width: 360px; */
  max-width: 420px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
.works__box:first-of-type {
  position: relative;
}
.works__caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.works__size,
.works__price {
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1;
}
.works__size {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #ddd;
}
.works__box:last-of-type {
  flex: 1;
}
.works-list__title {
  font-size: 20px;
  line-height: 1.75;
  font-weight: 600;
  margin: -7.5px 0;
}
.works__category {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.works-category__link {
  background-color: var(--primary-color);
  border-radius: 100vw;
  position: relative;
  padding: 10px 34px 10px 16px;
}
.works-category__link ::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 100vw;
  background-color: #fff;
}
.works-category__text {
  font-weight: 600;
  color: #fff;
}
@media (max-width: 1279px) {
  #works .top_section__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20dvh 0;
  }
  #works .top_section-title__text {
    font-size: 40px;
    line-height: 2.1;
    margin: -22px 0;
  }
  .works__container {
    padding: 0 24px;
    margin-bottom: 56px;
  }
  .works__base {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    padding: 0 24px;
  }
  .works__base::-webkit-scrollbar {
    display: none;
  }
  .works__list:not(:last-of-type) {
    margin-bottom: 0;
  }
  .works-list__link {
    flex-direction: column;
    gap: 24px;
  }
  .works-list__link:has(.works-category__link:hover) {
    opacity: 1;
  }
  .works__list {
    width: 75vw;
    max-width: 420px;
    flex: none;
  }
  .works-list__img {
    width: 100%;
  }
  .works__box:first-of-type {
    position: relative;
  }
  .works__caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    background-color: #fff;
  }
  .works__size,
  .works__price {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1;
  }
  .works__size {
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #ddd;
  }
  .works__box:last-of-type {
    flex: 1;
  }
  .works-list__title {
    font-size: 20px;
    line-height: 1.75;
    font-weight: 600;
    margin: -7.5px 0;
  }
  .works__category {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
  }
  .works-category__link {
    background-color: var(--primary-color);
    border-radius: 100vw;
    position: relative;
    padding: 10px 34px 10px 16px;
  }
  .works-category__link ::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 100vw;
    background-color: #fff;
  }
  .works-category__text {
    font-weight: 600;
    color: #fff;
  }
  .works-pagelink {
    display: flex !important;
    justify-content: flex-end;
    margin: 48px 24px 0;
  }
}

/* --------------------------------------------------- */
/* service and flow */
/* --------------------------------------------------- */
#service {
  width: 100%;
  /* height: 100dvh; */
  position: relative;
  z-index: 2;
}
#service .top_section__inner {
  /* padding: 50dvh 0; */
  gap: 6.25rem;
}
.flow {
  margin-top: 80px;
  width: calc(100% + 17.8125rem);
  transform: translateX(-8.90625rem);
}
.flow__container {
  display: flex;
  align-items: center;
}
.flow__card {
  flex: none;
  display: flex;
}
.flow__title {
  background-color: var(--primary-color);
  padding: 36px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flow-title__text {
  font-size: 28px;
  line-height: 1.5;
  margin: -7px 0;
  font-weight: 600;
  color: #fff;
}
.flow__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.flow-number__text {
  color: #fff;
  flex: none;
}
.flow-number__line {
  flex: 1;
  height: 1px;
  background-color: #fff;
}
.flow__box {
  background-color: #fff;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.flow__link:hover {
  opacity: 1;
}
.flow-link__img {
  width: 100%;
  height: auto;
  max-width: 245px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
.flow-link__pagelink {
  margin-top: 20px;
}
.flow-link__text {
  flex: 1;
  font-weight: 600;
  line-height: 1.5;
  margin: -4px 0;
}
.flow__arrow {
  margin: 0px 64px;
}
.swiper {
  padding: 0 10vw !important;
}
.swiper-slide {
  width: auto !important;
}
.swiper__scrollbar {
  position: relative;
  margin-top: 80px;
  height: 32px;
  width: 100%;
}
.swiper__scrollbar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  border-radius: 100vw;
  background-color: #fff;
}
.slider__btn {
  aspect-ratio: 1 / 1;
  width: 32px !important;
  height: auto;
  background-color: var(--primary-color);
  border-radius: 100vw;
  cursor: grab;
  position: relative;
}
.slider__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 100vw;
  background-color: #fff;
}
@media (max-width: 1279px) {
  #service .top_section-title__caption {
    margin-bottom: 28px;
  }
  .flow {
    margin-top: 56px;
    width: 100vw;
    transform: translateX(-24px);
  }
  .swiper {
    padding: 0 24px !important;
  }
  .swiper__scrollbar {
    display: none;
  }
  .swiper__scrollbar::before {
    width: calc(100vw - 48px);
  }
  .flow__title {
    padding: 28px;
  }
  .flow-title__text {
    font-size: 24px;
    margin: -6px 0;
  }
  .flow__box {
    padding: 32px;
    gap: 32px;
  }
  .flow__arrow {
    margin: 0 40px;
  }
}

/* --------------------------------------------------- */
/* news */
/* --------------------------------------------------- */
#news {
  width: 100%;
  /* height: 100dvh; */
  position: relative;
  z-index: 2;
}
#news .top_section__inner {
  /* padding: 50dvh 0; */
  gap: 6.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
#news .top_section-title__text {
  font-size: 40px;
  line-height: 2.1;
  margin: -22px 0;
}
.news__base {
  flex: 1;
}
.news__list:not(:last-of-type) {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid #ddd;
}
.news__date {
  color: #707070;
  margin-bottom: 20px;
}
.news__title {
  font-weight: 600;
  line-height: 1.75;
  margin: -6px 0;
}
@media (max-width: 1279px) {
  #news .top_section__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .news__base {
    flex: 1;
  }
  .news__list:not(:last-of-type) {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid #ddd;
  }
  .news__date {
    color: #707070;
    margin-bottom: 20px;
  }
  .news__title {
    font-weight: 600;
    line-height: 1.75;
    margin: -6px 0;
  }
  .news__title {
    line-height: 2;
    margin: -8px 0;
  }
  .news__list:not(:last-of-type) {
    margin-bottom: 36px;
    padding-bottom: 36px;
  }
  .news-pagelink {
    display: flex !important;
    justify-content: flex-end;
    margin: 48px 0 0;
  }
}
