@charset "UTF-8";

/* ===== TOP 全体 ===== */

.home {
  position: relative;
}

/* ===== 動画（画面に固定） ===== */

.home-video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  mask-image: var(--kv-mask-sp);
  mask-size: 189.74359% 123.30827%;
  mask-position: 50% 50%;
  mask-repeat: no-repeat;
}

.home-video__video {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .home-video {
    mask-image: var(--kv-mask-pc);
    mask-size: 127.37269% 218.44226%;
    mask-position: 46% 50%;
  }
}

/* FV より下の区間に重ねる黒の半透明 */
.home-video-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(100% - 100svh);
  background: rgba(0, 0, 0, var(--scroll-opacity));
  pointer-events: none;
}

/* ===== FV ===== */

.home-kv {
  position: relative;
  z-index: 10;
  height: 100svh;
  color: #FFFFFF;
}

.home-kv::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 50rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, var(--scroll-opacity)) 100%
  );
  pointer-events: none;
}

.home-kv__over {
  display: none;
}

.home-kv__en {
  display: none;
}

@media (min-width: 1024px) {
  .home-kv__over {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    border-radius: 1rem;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    mix-blend-mode: soft-light;
    transform: translate(-50%, -50%);
  }

  .home-kv__en {
    --transition-delay: 320ms;
    position: absolute;
    bottom: 16.3rem;
    left: calc(var(--outside) + 65.4rem);
    z-index: 30;
    display: block;
    font-family: var(--font-en);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.219;
    text-transform: uppercase;
  }
}

/* 和文タグライン（FV の左下に少し残ってから流れていく） */
.home-catch {
  position: absolute;
  top: calc(100svh - 19.8rem);
  left: var(--outside);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 33.7rem;
  height: 78rem;
  margin-left: 0.5rem;
  pointer-events: none;
}

/* shinka の FV（太いゴシックのレタリング。字間広め）に合わせる */
.home-catch p {
  position: sticky;
  bottom: 10.2rem;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

@media (min-width: 1024px) {
  .home-catch {
    top: calc(100svh - 36rem);
    width: 67.5rem;
    height: 130rem;
    margin-left: 1rem;
  }

  .home-catch p {
    bottom: 16.8rem;
    font-size: 8rem;
  }
}

/* ===== 空白の区間（動画の上の膜が濃くなる） ===== */

.home-dark {
  position: relative;
  z-index: 10;
  height: 66.5rem;
}

@media (min-width: 1024px) {
  .home-dark {
    height: 85.2rem;
  }
}

/* ===== ② 事業内容 ===== */

.home-service {
  position: relative;
  z-index: 10;
  padding: 11.4rem 0 12rem;
  color: #FFFFFF;
}

/* 4事業を 2×2 で一度に見せる（SP は1列） */
.home-service__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.home-service__item {
  display: flex;
}

.p-card2 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  color: #FFFFFF;
  isolation: isolate;
}

.p-card2__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.p-card2__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms var(--ease-out-cubic);
}

@media (hover: hover) and (pointer: fine) {
  .p-card2:hover .p-card2__img img {
    transform: scale(1.04);
  }
}

.p-card2__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.p-card2__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    #0070D3 0%,
    #00C871 100%
  );
  font-family: var(--font-num);
  font-size: 1.3rem;
  font-weight: 600;
}

.p-card2__name {
  font-size: 1.6rem;
  font-weight: 600;
}

.p-card2__txt {
  padding: 4.2rem 2rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  font-size: 1.6rem;
  font-weight: 600;
  line-height: calc(26 / 18);
}

@media (min-width: 1024px) {
  .home-service {
    padding: 20rem 0 18rem;
  }

  .home-service__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .p-card2 {
    aspect-ratio: 16 / 9;
  }

  .p-card2__head {
    padding: 2rem;
  }

  .p-card2__num {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.5rem;
  }

  .p-card2__name {
    font-size: 1.8rem;
  }

  .p-card2__txt {
    padding: 6rem 2rem 2rem;
    font-size: 2rem;
    line-height: calc(30 / 20);
  }
}

/* ===== ③ 取り扱い物件 ===== */

.home-properties {
  position: relative;
  z-index: 10;
  padding: 4.7rem 0 12rem;
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  background: var(--color-bg);
}

.home-properties__lead {
  margin-top: 3rem;
}

.home-properties__block {
  margin-top: 8rem;
}

.home-properties__block + .home-properties__block {
  margin-top: 8rem;
}

.home-properties__subtitle {
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}

.home-properties__subtitle-en {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
}

.home-properties__subtitle-ja {
  font-size: 1.6rem;
  font-weight: 500;
}

.home-properties__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem var(--gap);
  margin-top: 3rem;
}

.home-properties__note {
  margin-top: 6rem;
  color: var(--color-txt3);
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: center;
}

.home-properties__button {
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .home-properties {
    padding: 20rem 0 26rem;
  }

  .home-properties__lead {
    margin-top: 4rem;
  }

  .home-properties__block {
    margin-top: 10rem;
  }

  .home-properties__block + .home-properties__block {
    margin-top: 12rem;
  }

  .home-properties__subtitle-en {
    font-size: 3.6rem;
  }

  .home-properties__list {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4rem;
  }

  .home-properties__note {
    margin-top: 8rem;
  }

  .home-properties__button {
    margin-top: 4rem;
  }
}

@media (max-width: 560px) {
  .home-properties__list {
    grid-template-columns: 1fr;
  }
}

/* 横スライド（PROPERTY_PER_BLOCK より多いとき）。1画面に並ぶ枚数はグリッドと同じ */
.home-properties__list.-slider {
  grid-template-columns: none;
  grid-auto-columns: calc((100% - var(--gap)) / 2);
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-properties__list.-slider::-webkit-scrollbar {
  display: none;
}

.home-properties__list.-slider > li {
  scroll-snap-align: start;
}

.home-properties__nav {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.home-properties__arrow {
  display: block;
  color: var(--color-txt);
  cursor: pointer;
  transition: opacity 300ms var(--ease-out-quart);
}

.home-properties__arrow .c-arrow2 {
  width: 4.8rem;
  height: 4.8rem;
  border-color: var(--color-line);
  transition:
    background-color 300ms var(--ease-out-quart),
    border-color 300ms var(--ease-out-quart);
}

.home-properties__arrow .c-arrow2::before {
  width: 30%;
  height: 30%;
  transition: background-color 300ms var(--ease-out-quart);
}

.home-properties__arrow.-prev .c-arrow2::before {
  transform: scaleX(-1);
}

.home-properties__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .home-properties__arrow:not(:disabled):hover .c-arrow2 {
    border-color: var(--color-txt);
    background: var(--color-txt);
  }

  .home-properties__arrow:not(:disabled):hover .c-arrow2::before {
    background: var(--color-txt2);
  }
}

@media (min-width: 1024px) {
  .home-properties__list.-slider {
    grid-auto-columns: calc((100% - var(--gap) * 3) / 4);
  }

  .home-properties__nav {
    margin-top: 3rem;
  }

  .home-properties__arrow .c-arrow2 {
    width: 5.6rem;
    height: 5.6rem;
  }
}

/* 1列の幅では次のカードを少しのぞかせて、横に続くことを見せる */
@media (max-width: 560px) {
  .home-properties__list.-slider {
    grid-auto-columns: 84%;
  }
}

/* 物件カード */
.home-properties__list > li {
  display: flex;
}

.p-property {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #E0E0E0;
  border-radius: 1rem;
  background: var(--color-bg);
  color: var(--color-txt);
  cursor: default;
  isolation: isolate;
}

.p-property.-link {
  --color-hover-bg: rgba(0, 0, 0, 0.035);
  cursor: pointer;
}

.p-property__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #DDDDDD;
}

.p-property__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-property.-link .p-property__photo img {
  transform: scale(1.01);
  transition: transform 700ms var(--ease-out-cubic);
}

@media (hover: hover) and (pointer: fine) {
  .p-property.-link:hover .p-property__photo img {
    transform: scale(1.04);
  }
}

.p-property__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1rem;
}

.p-property__kind {
  align-self: flex-start;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--color-accent2);
  color: var(--color-accent2);
  font-size: 1rem;
  line-height: 1;
}

.p-property__name {
  margin-top: 1rem;
  font-size: 1.68rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-property__row {
  position: relative;
  margin-top: 0.6rem;
  padding-left: 2.2rem;
  font-size: 1.4rem;
  line-height: 1.6;
}

.p-property__row::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: #AAAAAA;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.p-property__row.-price::before {
  top: 1rem;
  mask-image: var(--icon-yen);
}

.p-property__row.-layout::before {
  mask-image: var(--icon-house);
}

.p-property__row.-access::before {
  mask-image: var(--icon-train);
}

.p-property__price-value {
  color: var(--color-price);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.p-property__price-unit {
  color: var(--color-price);
}

.p-property__comment {
  display: -webkit-box;
  margin-top: 1rem;
  padding-top: 1rem;
  overflow: hidden;
  border-top: 1px solid #E0E0E0;
  font-size: 1.4rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-property__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--color-accent);
  font-size: 1.2rem;
  font-weight: 500;
}

.p-property__more::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background: currentColor;
  mask: var(--icon-external) center / contain no-repeat;
}

/* 物件が0件のとき（静的HTMLでは CSS だけ用意） */
.p-property-empty {
  margin-top: 3rem;
  padding: 6rem 0;
  border-radius: 1rem;
  background: var(--color-bg3);
  color: var(--color-txt3);
  text-align: center;
}

@media (min-width: 1024px) {
  .p-property-empty {
    margin-top: 4rem;
  }
}

/* ===== ④ 私たちについて ===== */

.home-about {
  position: relative;
  z-index: 10;
  padding: 12rem 0 0;
  color: #FFFFFF;
}

.home-about__body {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
}

.home-about__text {
  order: 1;
}

.home-about__photos {
  display: flex;
  align-items: flex-end;
  gap: var(--gap);
  order: 2;
  margin-top: 4rem;
margin-bottom: 2rem;
}

.home-about__photo1 {
  order: 3;
  width: var(--grid8);
  margin-top: var(--gap);
}

.home-about__photo1 img,
.home-about__photo2 img,
.home-about__photo3 img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.home-about__photo1 img {
  aspect-ratio: 4 / 5;
}

.home-about__photo2 {
  width: var(--grid4);
}

.home-about__photo2 img {
  aspect-ratio: 3 / 4;
}

.home-about__photo3 {
  flex: 1;
}

.home-about__photo3 img {
  aspect-ratio: 4 / 3;
}

.home-about__lead {
  margin-bottom: 4rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
}

.home-about__text p + p {
  margin-top: 1.6em;
}

.home-about__text p.home-about__lead + p {
  margin-top: 0;
}

.home-about__button {
  margin-top: 4rem;
	margin-bottom: 2rem
}

@media (min-width: 1024px) {
  .home-about {
    padding: 20rem 0 0;
  }

  .home-about__body {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0;
  }

  .home-about__right {
    display: block;
    width: calc(var(--grid5) + var(--gap));
    padding-top: 8rem;
  }

  .home-about__photo1,
  .home-about__photos,
  .home-about__text {
    order: 0;
  }

  .home-about__photo1 {
    width: 39.0625vw;
    margin-top: 34.8rem;
    margin-bottom: 28.4rem;
  }

  .home-about__photos {
    margin-top: 0;
  }

  .home-about__photo2 {
    width: var(--grid2);
  }

  .home-about__text {
    margin-top: 10rem;
    white-space: nowrap;
  }

  .home-about__lead {
    font-size: 3.2rem;
  }

  .home-about__button {
    margin-top: 6rem;
  }
}

/* ===== 英字の大見出しが流れる帯 ===== */

.home-marquee {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 56rem;
}

.home-marquee .c-marquee {
  width: 100%;
}

@media (min-width: 1024px) {
  .home-marquee {
    height: 78rem;
  }
}

/* ===== ⑤ 会社概要 ===== */

.home-company {
  position: relative;
  z-index: 10;
  padding: 12rem 0;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: var(--color-bg);
}

.home-company__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.home-company__side {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.home-company__title {
  margin-bottom: 4rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
}

.home-company__sign {
  margin-top: 3rem;
  font-size: 1.6rem;
  text-align: right;
}

@media (min-width: 1024px) {
  .home-company {
    padding: 20rem 0;
  }

  .home-company__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .home-company__side {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4rem;
    width: var(--grid3);
  }

  .home-company__main {
    width: var(--grid8);
  }

  .home-company__title {
    font-size: 3rem;
  }
}
