@charset "utf-8";
.page__fv {
  position: relative;
  width: 100%;
  aspect-ratio: 1366/540;
  height: 540px;
  overflow: hidden;
}

.page__fv::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: url(../images/page_fv-filter.png) no-repeat center center/cover;
}

.page__fv-bg {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page__fv-bg img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.page__fv-inner {
  position: relative;
  z-index: 2;
  padding-top: 89px;
  padding-inline: 37px;
  margin-inline: auto;
}

.page__fv-heading {
  padding-top: 95px;
  padding-left: 7%;
  color: var(--color-white);
}

.page__fv-title-en {
  font-family: var(--font-en);
  font-size: clamp(40px, 5.86vw, 80px);
  font-weight: 500;
  letter-spacing: calc(20 / 1000 * 1em);
  line-height: 1.2;
}

.page__fv-title-ja {
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page__fv-title-ja--contact::before {
  content: "";
  background: url(../images/mail-icon-w.svg) no-repeat center center/contain;
  aspect-ratio: 25/20;
  width: 25px;
  height: auto;
}

.page__fv-title-ja--recruit::before {
  content: "";
  background: url(../images/recruit-icon.svg) no-repeat center center/contain;
  aspect-ratio: 30/28;
  width: 30px;
  height: auto;
}

.page__fv-title-ja--news::before {
  content: "";
  background: url(../images/news-fv-icon.svg) no-repeat center center/contain;
  aspect-ratio: 27/23;
  width: 27px;
  height: auto;
}

.page__fv-title-ja--works::before {
  content: "";
  background: url(../images/works-fv-icon.svg) no-repeat center center/contain;
  aspect-ratio: 27/23;
  width: 27px;
  height: auto;
}

.page__fv-title-ja--company::before {
  content: "";
  background: url(../images/company-fv-image.svg) no-repeat center
    center/contain;
  aspect-ratio: 25/28;
  width: 25px;
  height: auto;
}

.page__fv-title-ja--service::before {
  content: "";
  background: url(../images/service-fv-icon.svg) no-repeat center center/contain;
  aspect-ratio: 26/26;
  width: 26px;
  height: auto;
}

.page__fv-title-ja--reform::before {
  content: "";
  background: url(../images/reform-fv-icon.svg) no-repeat center center/contain;
  aspect-ratio: 26/24;
  width: 26px;
  height: auto;
}

.page__fv-title-ja--realeatate::before {
  content: "";
  background: url(../images/realestate-fv-icon.svg) no-repeat center
    center/contain;
  aspect-ratio: 26/24;
  width: 26px;
  height: auto;
}

/* ========================
メインコンテンツ
========================== */

.page {
  padding-block: 80px 100px;
  position: relative;
  z-index: 3;
  margin-top: -88px;
  background: #eaebf3;
  border-radius: 40px 40px 0 0;
}

@media screen and (min-width: 768px) {
  .page {
    padding-block: 120px 150px;
  }
}

.page__bg-wrapper {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 40px 40px 0 0;
  pointer-events: none;
  z-index: -1;
}

.page__bg-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/page-bg-filter.png) repeat center center / contain;
}

.page__inner {
  position: relative;
  z-index: 1;
}

.page__container {
  padding: 72px 20px 72px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

@media screen and (min-width: 768px) {
  .page__container {
    padding: 92px 80px 109px;
  }
}

/* ==========================
サイドバー付きの仮装ページ
=========================== */
.page__section-container {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .page__section-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

.page__side {
  width: 100%;
  transition: all 0.5s ease;
}

@media screen and (min-width: 768px) {
  .page__side {
    position: sticky;
    position: -webkit-sticky;
    width: 38.3%;
    padding-right: 40px;
    top: 100px;
    z-index: 100;
  }
}

.page__side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  position: relative;
}

.page__side-head::before {
  content: "";
  position: absolute;
  width: 31px;
  height: 1px;
  background: #d0d0d0;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 768px) {
  .page__side-head {
    flex-direction: column;
    padding-bottom: 34px;
    gap: 18px;
    align-items: flex-start;
  }
}

.page__side-image {
  aspect-ratio: 37/41;
  width: 37px;
  position: relative;
}

.page__side-image img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease; /* スムーズに切り替え */
}

.page__side-title {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media screen and (min-width: 768px) {
  .page__side-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

.page__side-title-ja {
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1.2;
}

.page__side-title-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: calc(20 / 1000 * 1em);
}

.page__side-list {
  padding-top: 21px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

@media screen and (min-width: 768px) {
  .page__side-list {
    padding-top: 34px;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
  }
}

.page__side-list-item {
  color: #333333;
}

.page__side-list-item p {
  font-size: clamp(13px, 1.03vw, 14px);
  font-weight: 600;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 11px;
}

.page__side-list-item:hover,
.page__side-list-item.active {
  color: var(--color-accent);
}

.page__side-list-item.active p {
  color: var(--color-accent);
}

.page__side-list-item p::before {
  content: "";
  height: 9px;
  width: 10px;
  flex-shrink: 0;
  background: url(../images/sidebar-arrow.svg) no-repeat center center/contain;
}

.page__section-main {
  margin-top: 40px;
  width: 100%;
}

.page__section-main02 {
  margin-top: 40px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .page__section-main02 {
    width: 71.6%;
    margin-inline: auto 0;
  }
}

.page__section-contents:not(:first-child) {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .page__section-contents:not(:first-child) {
    margin-top: 90px;
  }
}

.page__section-heading {
  margin-bottom: 30px;
  color: var(--color-white);
  padding: 10px 10px 10px 24px;
  border-radius: 8px;
  background: #569cdb;
  display: flex;
  align-items: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .page__section-heading {
    margin-bottom: 40px;
    padding: 17px 18px 17px 39px;
  }
}

.page__section-heading::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 33px;
  background: var(--color-white);
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
}

@media screen and (min-width: 768px) {
  .page__section-heading::before {
    left: 18px;
  }
}

.page__section-heading-ja {
  font-size: clamp(16px, 1.76vw, 24px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page__section-heading-ja::before {
  content: "";
  width: 12px;
  height: auto;
  aspect-ratio: 12/35;
  background: url(../images/double-white-left.svg) no-repeat center top/contain;
}

.page__section-heading-ja::after {
  content: "";
  width: 12px;
  height: auto;
  aspect-ratio: 12/35;
  background: url(../images/double-white-right.svg) no-repeat center top/contain;
}

.page__section-heading-en {
  margin-left: 20px;
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: calc(150 / 1000 * 1em);
  line-height: 1.2;
}
