@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Shippori+Antique&display=swap');
/**
 * Front page
 * 対象: 「フロントページ_test」テンプレート
 *
 * 画像配置先（WordPressテーマ直下）
 * /images/top_new/mainvisual01.jpg      メインビジュアル・左上
 * /images/top_new/mainvisual02.jpg      メインビジュアル・右上
 * /images/top_new/mainvisual03.jpg      メインビジュアル・左下
 * /images/top_new/mainvisual04.jpg      メインビジュアル・右下
 * /images/top_new/mainvisual_btn01.jpg  「家を買う」アイコン
 * /images/top_new/mainvisual_btn02.jpg  「家を売る」アイコン
 * /images/top_new/mainvisual_btn03.jpg  「テナントを借りる」アイコン
 * /images/top_new/mainvisual_btn04.jpg  「部屋を借りる」アイコン
 * /images/top_new/illust.png             街並みイラスト
 * /images/top_new/sell_img.png           無料査定セクションのイラスト
 */

:root {
  --top-color-primary: #55c5f5;
  --top-color-primary-dark: #009fe3;
  --top-color-text: #222;
  --top-color-muted: #707070;
  --top-color-line: #dedede;
  --top-color-pale: #e7f6fc;
  --top-content-width: 1600px;
  --top-card-radius: 18px;
  --top-shadow: 0 8px 20px rgb(0 0 0 / 18%);
  --top-font-sans: "Helvetica Neue", "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --top-header-height: 76px;
}

.l-main {
  overflow: hidden;
  color: var(--top-color-text);
  font-family: var(--top-font-sans);
}

.l-main *,
.l-main *::before,
.l-main *::after {
  box-sizing: border-box;
}

.l-main img {
  display: block;
  max-width: 100%;
}

.l-main a {
  color: inherit;
  text-decoration: none;
}

.l-main :where(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-main :where(h2, h3, p) {
  margin: 0;
}

.p-header--top,
.p-header--top.is-scrolled {
  background-color: rgb(255 255 255 / 96%);
  box-shadow: 0 1px 0 rgb(0 0 0 / 7%);
  backdrop-filter: blur(10px);
}

.p-header--top .p-header__nav .c-navbar__link,
.p-header--top .p-header__nav .c-navbar__link:hover {
  color: var(--top-color-text);
}

.l-main > section:not(#mainvisual, #illust) > .content {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

@media screen and (max-width:1199px) {
  .l-body:not(.home) {
    padding-top: 62px;
  }
}
@media screen and (max-width:991px) {
  .l-body:not(.home) {
    padding-top: 50px;
  }
}

/* =========================================================
   共通パーツ
========================================================= */
.top_common_ttl h2 {
  color: var(--top-color-primary);
  font-size: clamp(40px, 3.1vw, 60px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  font-family: "Shippori Antique", sans-serif;
}

.top_common_ttl p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.top_common_btn {
  display: flex;
  justify-content: center;
}

.top_common_btn a {
  position: relative;
  display: inline-flex;
  width: 290px;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  border: 2px solid var(--top-color-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--top-color-primary-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.25s ease, background-color 0.25s ease,
    transform 0.25s ease;
}

.top_common_btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 29px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
  .top_common_btn a:hover {
    background: var(--top-color-primary);
    color: #fff;
    transform: translateY(-2px);
  }
}

/* =========================================================
   メインビジュアル
========================================================= */
#mainvisual {
  position: relative;
  height: calc(100vh - var(--top-header-height));
  height: calc(100svh - var(--top-header-height));
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

#mainvisual .mainvisual_content {
  position: absolute;
  inset: 0 0;
}

#mainvisual .mainvisual_img {
  position: absolute;
  inset: 0;
}

#mainvisual .mainvisual_img::before,
#mainvisual .mainvisual_img::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: calc(50% - 10px);
  background: #fff;
  pointer-events: none;
}

#mainvisual .mainvisual_img::before {
  top: 0;
  clip-path: polygon(53.2% 0, 54.3% 0, 47.1% 100%, 46% 100%);
}

#mainvisual .mainvisual_img::after {
  bottom: 0;
  clip-path: polygon(50.5% 0, 51.6% 0, 44.7% 100%, 43.6% 100%);
}

#mainvisual .mainvisual_img .img {
  --mv-enter-x: 0px;

  position: absolute;
  width: 56%;
  height: calc(50% - 10px);
  overflow: hidden;
  background: #dcebf2;
  opacity: 0;
  animation: mainvisual-image-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

#mainvisual .mainvisual_img .img:nth-child(1) {
  --mv-enter-x: clamp(-110px, -6vw, -48px);

  top: 0;
  left: 0;
  clip-path: polygon(0 0, 95% 0, 82.15% 100%, 0 100%);
  animation-delay: 0.06s;
}

#mainvisual .mainvisual_img .img:nth-child(2) {
  --mv-enter-x: clamp(48px, 6vw, 110px);

  top: 0;
  right: 0;
  clip-path: polygon(18.4% 0, 100% 0, 100% 100%, 5.55% 100%);
  animation-delay: 0.36s;
}

#mainvisual .mainvisual_img .img:nth-child(3) {
  --mv-enter-x: clamp(-110px, -6vw, -48px);

  bottom: 0;
  left: 0;
  clip-path: polygon(0 0, 90.2% 0, 77.9% 100%, 0 100%);
  animation-delay: 0.66s;
}

#mainvisual .mainvisual_img .img:nth-child(4) {
  --mv-enter-x: clamp(48px, 6vw, 110px);

  right: 0;
  bottom: 0;
  clip-path: polygon(13.6% 0, 100% 0, 100% 100%, 1.25% 100%);
  animation-delay: 0.96s;
}

#mainvisual .mainvisual_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mainvisual .mainvisual_img .img:nth-child(1) img {
  object-position: 50% 48%;
}

#mainvisual .mainvisual_img .img:nth-child(2) img {
  object-position: 50% 50%;
}

#mainvisual .mainvisual_img .img:nth-child(3) img {
  object-position: 50% 55%;
}

#mainvisual .mainvisual_img .img:nth-child(4) img {
  object-position: 50% 52%;
}

#mainvisual .mainvisual_btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(calc(100% - clamp(48px, 11.1vw, 160px)), 1500px);
  grid-template-areas:
    "sale tenant"
    "sell rent";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(12px, 3.5vh, 48px) clamp(16px, 3.9vw, 56px);
  transform: translate(-50%, -50%);
}

#mainvisual .mainvisual_btn .btn {
  min-width: 0;
  height: 100%;
  opacity: 0;
  backface-visibility: hidden;
  will-change: opacity;
  animation: mainvisual-button-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1)
    both;
}

#mainvisual .mainvisual_btn .btn:nth-child(1) {
  grid-area: sale;
  animation-delay: 0.34s;
}

#mainvisual .mainvisual_btn .btn:nth-child(2) {
  grid-area: sell;
  animation-delay: 0.94s;
}

#mainvisual .mainvisual_btn .btn:nth-child(3) {
  grid-area: tenant;
  animation-delay: 0.64s;
}

#mainvisual .mainvisual_btn .btn:nth-child(4) {
  grid-area: rent;
  animation-delay: 1.24s;
}

#mainvisual .mainvisual_btn .btn a {
  position: relative;
  display: grid;
  height: 100%;
  min-height: clamp(150px, min(24vh, 17vw), 250px);
  grid-template-columns:
    clamp(52px, 10vw, 150px)
    minmax(0, 1fr)
    clamp(28px, 3.75vw, 54px);
  align-items: center;
  padding:
    clamp(12px, min(2.5vw, 4vh), 36px)
    clamp(14px, 2.2vw, 32px);
  border-radius: clamp(12px, 1.25vw, 18px);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 8px 22px rgb(0 0 0 / 18%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#mainvisual .mainvisual_btn .btn a > img {
  width: clamp(52px, 10vw, 150px);
  height: clamp(52px, 10vw, 150px);
  border-radius: 50%;
  object-fit: contain;
}

#mainvisual .mainvisual_btn .inner {
  min-width: 0;
  padding-left: clamp(6px, 1.1vw, 16px);
}

#mainvisual .mainvisual_btn h3 {
  color: var(--top-color-primary);
  font-size: clamp(18px, 2.05vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

#mainvisual .mainvisual_btn h3 .en {
  display: inline-block;
  margin-top: clamp(2px, 0.28vw, 4px);
  font-size: clamp(10px, 0.48em, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

#mainvisual .mainvisual_btn p {
  margin-top: clamp(6px, 1.1vw, 16px);
  font-size: clamp(11px, 0.95vw, 17px);
  font-weight: 600;
  line-height: 1.75;
}

#mainvisual .mainvisual_btn .icon {
  position: relative;
  display: block;
  width: clamp(28px, 3.75vw, 54px);
  height: clamp(28px, 3.75vw, 54px);
  border-radius: 50%;
  background: var(--top-color-primary);
}

#mainvisual .mainvisual_btn .icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 47%;
  width: clamp(6px, 0.7vw, 10px);
  height: clamp(6px, 0.7vw, 10px);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes mainvisual-image-enter {
  from {
    opacity: 0;
    transform: translate3d(var(--mv-enter-x), 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mainvisual-button-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (hover: hover) {
  #mainvisual .mainvisual_btn .btn a:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgb(0 0 0 / 24%);
  }
}

/* =========================================================
   街並みイラスト
========================================================= */
#illust {
  --illust-marquee-duration: 55s;
  --illust-start-offset: 0px;

  position: relative;
  height: clamp(330px, 23.5vw, 450px);
  overflow: hidden;
  background: #fff;
}

#illust .illust_content {
  position: absolute;
  inset: 0 0 18px;
  overflow: hidden;
}

#illust .illust_track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: flex-end;
  animation: illust-marquee var(--illust-marquee-duration) linear infinite;
  transform: translate3d(var(--illust-start-offset), 0, 0);
  will-change: transform;
}

#illust img {
  display: block;
  width: 100vw;
  height: auto;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center bottom;
}

@keyframes illust-marquee {
  from {
    transform: translate3d(var(--illust-start-offset), 0, 0);
  }

  to {
    transform: translate3d(calc(-50% + var(--illust-start-offset)), 0, 0);
  }
}

#illust.top-scroll-reveal,
#illust ~ section.top-scroll-reveal:not(.has-letter-title),
#illust ~ section.top-scroll-reveal.has-letter-title .top-section-content-reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 0.85s ease var(--section-content-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1)
      var(--section-content-delay, 0ms);
  will-change: opacity, transform;
}

#illust.top-scroll-reveal.is-visible,
#illust ~ section.top-scroll-reveal:not(.has-letter-title).is-visible,
#illust ~ section.top-scroll-reveal.has-letter-title.is-visible .top-section-content-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

#illust ~ section.top-scroll-reveal .top_common_ttl h2 {
  overflow: hidden;
}

#illust ~ section.top-scroll-reveal .top-title-char,
#illust ~ section.top-scroll-reveal .top-title-space {
  display: inline-block;
}

#illust ~ section.top-scroll-reveal .top-title-space {
  width: 0.3em;
}

#illust ~ section.top-scroll-reveal .top-title-char {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity 0.58s ease var(--title-char-delay, 0ms),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1)
      var(--title-char-delay, 0ms);
  will-change: opacity, transform;
}

#illust ~ section.top-scroll-reveal .top_common_ttl > p {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.65s ease var(--title-subtitle-delay, 180ms),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1)
      var(--title-subtitle-delay, 180ms);
  will-change: opacity, transform;
}

#illust ~ section.top-scroll-reveal.is-visible .top-title-char,
#illust ~ section.top-scroll-reveal.is-visible .top_common_ttl > p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* =========================================================
   NEWS
========================================================= */
#top_news {
  padding: 70px 0 165px;
}

#top_news .top_news-content {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: clamp(55px, 7vw, 135px);
  align-items: start;
}

#top_news .top_news-left {
  display: grid;
  gap: 44px;
}

#top_news .top_news-btn {
  justify-content: flex-start;
}

#top_news .top_news-list li {
  border-bottom: 1px solid var(--top-color-line);
}

#top_news .top_news-list li:first-child {
  border-top: 1px solid transparent;
}

#top_news .top_news-list a {
  display: grid;
  grid-template-columns: 150px 145px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  transition: opacity 0.2s ease;
}

#top_news .top_news-list .date {
  color: #555;
  font-size: 14px;
  letter-spacing: 0.03em;
}

#top_news .top_news-list .cate {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 5px 30px;
  background: #222;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

#top_news .top_news-list h3 {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  #top_news .top_news-list a:hover {
    opacity: 0.58;
  }
}

/* =========================================================
   売買・賃貸物件（Swiper共通）
========================================================= */
#top_sale,
#top_rent {
  padding-bottom: 155px;
}

#top_sale .top_sale-block,
#top_rent .top_rent-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
}

#top_sale .top_sale-btn:not(.top_common_btn),
#top_rent .top_rent-btn:not(.top_common_btn) {
  display: flex;
  gap: 22px;
  padding-bottom: 5px;
}

#top_sale :is(.swiper-button-prev, .swiper-button-next),
#top_rent :is(.swiper-button-prev, .swiper-button-next) {
  position: relative;
  inset: auto;
  width: 58px;
  height: 58px;
  margin: 0;
  border: 2px solid var(--top-color-primary);
  border-radius: 50%;
  background: #fff;
  color: var(--top-color-primary);
  transition: opacity 0.2s ease;
}

#top_sale :is(.swiper-button-prev, .swiper-button-next)::after,
#top_rent :is(.swiper-button-prev, .swiper-button-next)::after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#top_sale .swiper-button-prev::after, #top_rent .swiper-button-prev::after {
  border-bottom: 2px solid #55c5f5;
  border-left: 2px solid #55c5f5;
    left: 55%;
}
#top_sale .swiper-button-next::after, #top_rent .swiper-button-next::after {
  border-top: 2px solid #55c5f5;
  border-right: 2px solid #55c5f5;
    left: 45%;
}


#top_sale :is(.top_sale-list, .top_rent-list),
#top_rent :is(.top_sale-list, .top_rent-list) {
  overflow: hidden;
  margin: -18px -28px 0;
  padding: 18px 28px 36px;
}

#top_sale .swiper-wrapper,
#top_rent .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

#top_sale .swiper-slide,
#top_rent .swiper-slide {
  display: flex;
  height: auto;
  flex-shrink: 0;
}

#top_sale .swiper-slide > a,
#top_rent .swiper-slide > a {
  display: flex;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--top-card-radius);
  background: #fff;
  box-shadow: var(--top-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease;
}

#top_sale .swiper-slide > a > img,
#top_rent .swiper-slide > a > img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  object-fit: cover;
  aspect-ratio: 282 / 205;
}

#top_sale .swiper-slide .inner,
#top_rent .swiper-slide .inner {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 26px 24px;
}

#top_sale .swiper-slide:not(.swiper-slide-visible) > a,
#top_rent .swiper-slide:not(.swiper-slide-visible) > a {
  box-shadow: none;
}

#top_sale .swiper-slide .cate {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 4px 19px;
  border-radius: 999px;
  background: #ebebeb;
  color: #555;
  font-size: 12px;
  line-height: 1.3;
}

#top_sale .swiper-slide h3,
#top_rent .swiper-slide h3 {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

#top_sale .swiper-slide h3 span,
#top_rent .swiper-slide h3 span {
  margin-right: 6px;
  color: var(--top-color-primary-dark);
  font-size: clamp(34px, 2.2vw, 43px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

#top_sale .swiper-slide .address,
#top_rent .swiper-slide .address {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}

#top_sale .swiper-slide .floor,
#top_rent .swiper-slide .floor {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.6;
}

#top_sale .swiper-slide .access,
#top_rent .swiper-slide .access {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.7;
}

#top_sale .top_common_btn,
#top_rent .top_common_btn {
  margin-top: 35px;
}

@media (hover: hover) {
  #top_sale .swiper-slide > a:hover,
  #top_rent .swiper-slide > a:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgb(0 0 0 / 22%);
  }
}

/* =========================================================
   不動産無料査定
========================================================= */
#top_sell {
  padding: 0 0 155px;
}

#top_sell .top_sell-content {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 48px;
  background: linear-gradient(110deg, #e1f5fb 0%, #dce9f7 100%);
}

#top_sell .top_sell-inner {
  position: relative;
  z-index: 2;
  width: 68%;
  padding: 55px 40px 52px 70px;
}

#top_sell .top_sell-txt > p:first-child {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#top_sell .top_sell-txt h2 {
  margin-top: 16px;
  color: var(--top-color-primary);
  font-size: clamp(40px, 3vw, 58px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

#top_sell .top_sell-txt > p:last-child {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

#top_sell .top_sell-btn {
  justify-content: flex-start;
  margin-top: 24px;
}

#top_sell .top_sell-img {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 20px;
  width: 45%;
  max-width: 710px;
}

#top_sell .top_sell-img img {
  width: 100%;
  height: auto;
}

/* =========================================================
   Instagram
========================================================= */
#top_insta {
  padding: 0 0 190px;
}

#top_insta .top_insta-ttl {
  margin-bottom: 58px;
  text-align: center;
}

#top_insta .top_insta-ttl h2 {
  font-size: clamp(40px, 3vw, 58px);
}

#top_insta .top_insta-list {
  width: 100%;
}

/* Smash Balloon Instagram Feed対応 */
#top_insta #sb_instagram {
  width: 100% !important;
  padding-bottom: 0 !important;
}

#top_insta #sb_instagram #sbi_images {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0 !important;
}

#top_insta #sb_instagram #sbi_images .sbi_item {
  width: 100% !important;
  padding: 0 !important;
}

#top_insta #sb_instagram .sbi_photo {
  height: auto !important;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
}

#top_insta #sb_instagram .sbi_photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

#top_insta #sb_instagram #sbi_load {
  margin-top: 32px;
}

/* =========================================================
   任意売却バナー
========================================================= */
#top_banner {
  padding: 0 0 155px;
}

#top_banner .top_banner-item {
  overflow: hidden;
  border: 1px solid #777;
}

#top_banner .top_banner-item a,
#top_banner .top_banner-item img {
  display: block;
  width: 100%;
}

#top_banner .top_banner-item img.sp {
  display: none;
}

/* =========================================================
   Tablet
========================================================= */
@media (max-width: 1200px) {
  #illust {
    height: 320px;
  }

  #top_news .top_news-content {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 45px;
  }

  #top_news .top_news-list a {
    grid-template-columns: 120px 110px minmax(0, 1fr);
    gap: 14px;
  }

  #top_sell .top_sell-inner {
    width: 76%;
    padding-left: 65px;
  }
}

@media (max-width: 900px) {
  .l-main > section:not(#mainvisual, #illust) > .content {
    width: min(calc(100% - 48px), var(--top-content-width));
  }

  #illust {
    --illust-marquee-duration: 42s;

    height: 250px;
  }

  #top_news {
    padding: 40px 0 110px;
  }

  #top_news .top_news-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  #top_news .top_news-left {
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
  }

  #top_news .top_news-btn a {
    width: 220px;
  }

  #top_sale,
  #top_rent,
  #top_sell {
    padding-bottom: 110px;
  }

  #top_sell .top_sell-content {
    min-height: clamp(360px, 43vw, 390px);
  }

  #top_sell .top_sell-inner {
    width: 100%;
    padding: clamp(44px, 6vw, 55px) clamp(30px, 5vw, 46px)
      clamp(42px, 5vw, 50px);
  }

  #top_sell .top_sell-img {
    top: clamp(150px, 20vw, 175px);
    right: clamp(-18px, 2vw, 3%);
    bottom: auto;
    width: clamp(355px, 52vw, 470px);
  }

  #top_insta {
    padding-bottom: 120px;
  }

  #top_insta #sb_instagram #sbi_images {
    gap: 14px;
  }

  #top_banner {
    padding-bottom: 110px;
  }
}

@media (max-width: 767px) {
  #mainvisual {
    min-height: 500px;
  }

  #mainvisual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 14%);
  }

  #mainvisual .mainvisual_img::before,
  #mainvisual .mainvisual_img::after {
    display: none;
  }

  #mainvisual .mainvisual_img {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 1.4vh, 10px);
  }

  #mainvisual .mainvisual_img .img:nth-child(n) {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    clip-path: none;
  }

  #mainvisual .mainvisual_btn {
    z-index: 3;
    width: min(calc(100% - clamp(44px, 14vw, 96px)), 520px);
    height: 100%;
    grid-template-areas:
      "sale"
      "tenant"
      "sell"
      "rent";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 1.4vh, 10px);
  }

  #mainvisual .mainvisual_btn .btn {
    display: flex;
    align-items: center;
  }

  #mainvisual .mainvisual_btn .btn a {
    width: 100%;
    height: calc(100% - clamp(32px, 6vh, 52px));
    min-height: 0;
  }
}

/* =========================================================
   Smartphone
========================================================= */
@media (max-width: 600px) {
  .l-main > section:not(#mainvisual, #illust) > .content {
    width: calc(100% - 40px);
  }

  .top_common_ttl h2,
  #top_insta .top_insta-ttl h2 {
    font-size: 34px;
  }

  .top_common_ttl p {
    margin-top: 8px;
    font-size: 13px;
  }

  .top_common_btn a {
    width: 220px;
    min-height: 54px;
    font-size: 13px;
  }

  .top_common_btn a::before {
    right: 23px;
  }

  #illust {
    --illust-marquee-duration: 36s;
    --illust-start-offset: -22.5vw;

    height: 185px;
  }

  #illust .illust_content {
    bottom: 8px;
  }

  #illust img {
    width: 145vw;
    max-width: none;
  }

  #illust.top-scroll-reveal,
  #illust ~ section.top-scroll-reveal:not(.has-letter-title),
  #illust ~ section.top-scroll-reveal.has-letter-title .top-section-content-reveal {
    transform: translate3d(0, 28px, 0);
    transition-duration: 0.7s;
  }

  #illust ~ section.top-scroll-reveal .top-title-char {
    transform: translate3d(0, 34px, 0);
    transition-duration: 0.5s, 0.58s;
  }

  #illust ~ section.top-scroll-reveal .top_common_ttl > p {
    transform: translate3d(0, 24px, 0);
    transition-duration: 0.55s, 0.62s;
  }

  #top_news {
    padding: 42px 0 90px;
  }

  #top_news .top_news-content {
    grid-template-areas:
      "title"
      "list"
      "button";
    grid-template-columns: 1fr;
    gap: 0;
  }

  #top_news .top_news-left {
    display: contents;
  }

  #top_news .top_news-ttl {
    grid-area: title;
    margin-bottom: 24px;
  }

  #top_news .top_news-list {
    grid-area: list;
  }

  #top_news .top_news-btn {
    grid-area: button;
    justify-content: center;
    margin-top: 28px;
  }

  #top_news .top_news-list a {
    grid-template-columns: 94px 1fr;
    gap: 9px 12px;
    padding: 15px 0;
  }

  #top_news .top_news-list .date {
    font-size: 12px;
  }

  #top_news .top_news-list .cate {
    padding: 5px 20px;
    min-height: 29px;
    font-size: 10px;
  }

  #top_news .top_news-list h3 {
    grid-column: 1 / -1;
    font-size: 14px;
    white-space: normal;
  }

  #top_sale,
  #top_rent,
  #top_sell {
    padding-bottom: 88px;
  }

  #top_sale .top_sale-block,
  #top_rent .top_rent-block {
    margin-bottom: 25px;
  }

  #top_sale .top_sale-btn:not(.top_common_btn),
  #top_rent .top_rent-btn:not(.top_common_btn) {
    gap: 10px;
  }

  #top_sale :is(.swiper-button-prev, .swiper-button-next),
  #top_rent :is(.swiper-button-prev, .swiper-button-next) {
    width: 40px;
    height: 40px;
  }

  #top_sale :is(.swiper-button-prev, .swiper-button-next)::after,
  #top_rent :is(.swiper-button-prev, .swiper-button-next)::after {
    font-size: 14px;
  }

  #top_sale .swiper-slide-prev > a,
  #top_rent .swiper-slide-prev > a {
    opacity: 0;
    pointer-events: none;
  }

  #top_sale .swiper-slide .inner,
  #top_rent .swiper-slide .inner {
    padding: 18px 20px 24px;
  }

  #top_sale .top_common_btn,
  #top_rent .top_common_btn {
    margin-top: 22px;
  }

  #top_sell .top_sell-content {
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-radius: 26px;
  }

  #top_sell .top_sell-inner {
    width: 100%;
    padding: clamp(34px, 9vw, 42px) clamp(20px, 6vw, 26px) 0;
  }

  #top_sell .top_sell-txt > p:first-child {
    font-size: 13px;
  }

  #top_sell .top_sell-txt h2 {
    margin-top: 13px;
    font-size: 31px;
  }

  #top_sell .top_sell-txt > p:last-child {
    margin-top: 19px;
    font-size: 12px;
    line-height: 1.85;
  }

  #top_sell .top_sell-txt br {
    display: none;
  }

  #top_sell .top_sell-btn {
    justify-content: center;
    margin-top: 22px;
  }

  #top_sell .top_sell-img {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(86%, 420px);
    max-width: none;
    margin: clamp(16px, 5vw, 28px) auto clamp(18px, 6vw, 28px);
  }

  #top_insta {
    padding-bottom: 88px;
  }

  #top_insta .top_insta-ttl {
    margin-bottom: 32px;
  }

  #top_insta #sb_instagram #sbi_images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #top_insta #sb_instagram .sbi_photo {
    aspect-ratio: 1 / 1;
  }

  #top_banner {
    padding-bottom: 85px;
  }

  #top_banner .top_banner-item img.pc {
    display: none;
  }

  #top_banner .top_banner-item img.sp {
    display: block;
  }
}

@media (max-width: 767px) and (max-height: 720px) {
  #mainvisual .mainvisual_btn p {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  :root {
    --top-header-height: 66px;
  }
}

@media (max-width: 991px) {
  :root {
    --top-header-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mainvisual .mainvisual_img .img,
  #mainvisual .mainvisual_btn .btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
  }

  #illust .illust_track {
    animation: none !important;
    transform: translate3d(var(--illust-start-offset), 0, 0) !important;
  }

  #illust.top-scroll-reveal,
  #illust ~ section.top-scroll-reveal:not(.has-letter-title),
  #illust ~ section.top-scroll-reveal.has-letter-title .top-section-content-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  #illust ~ section.top-scroll-reveal .top-title-char,
  #illust ~ section.top-scroll-reveal .top_common_ttl > p {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .l-main *,
  .l-main *::before,
  .l-main *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
