/* Page reveal overlay */
.logo-reveal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* LOGO MASK */
.logo-mask {
  position: relative;
  width: 320px;
  max-width: 80vw;
}

.logo-mask img {
  width: 100%;
  display: block;
  opacity: 0;
  transform: scale(0.9);
}
.shared-video {
  height: 100%;
  width: 100%;
  top: 0;
  z-index: -3;
  left: 0;
  position: fixed;
}

/* .shared-video {
  margin-top: var(--header-size);
  height: calc(100vh);
  top: 0;
  left: 0;
  position: relative;
  overflow: hidden;
} */

.shared-video::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.8) 70%,
    #000 100%
  );
  pointer-events: none;
  z-index: 2;
}

.shared-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shared-video video .sv-pc {
  display: block;
}
.shared-video video .sv-sp {
  display: none;
}

.video-sp {
  display: none;
}

@media (max-width: 600px) {
  .video-pc {
    display: none;
  }
  .video-sp {
    display: block;
  }
}

.section-text-over-video {
  height: 100vh;
  position: relative;
  z-index: 2;
  background: transparent;
  transition: background-color 0.8s ease;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: center;
}

.section-text-over-video h1 {
  color: #000;
  text-align: center;
  font-size: clamp(30px, 6vw, 55px);
  text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
    2px 2px 0 #fff, 0 -2px 0 #fff, 0 2px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff;
}

.bg-darker {
  transition: background-color 0.8s ease;
  background-color: rgba(0, 0, 0, 0);
  z-index: -2;
}
/* .top-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}
.top-cta-btn .san-btn {
  border-radius: 50px;
  background-color: var(--white);
  font-weight: bold;
} */

/* CTA wrapper */
.top-cta-btn {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CTA Button */
.san-btn-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: underline;
  color: #ffffff;
  background: #000000bf;
  /* background: var(--brand); */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

/* Arrow styling */
.san-btn-top .arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* Hover effect */
.san-btn-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: var(--brand);
}

.san-btn-top:hover .arrow {
  transform: translateX(6px);
}

/* Mobile optimization */
@media (max-width: 768px) {
  .san-btn-top {
    font-size: 16px;
    padding: 16px 28px;
  }
}

@media (max-width: 576px) {
  .san-top-margin-mb {
    margin-bottom: 50px;
  }
  .top-cta-btn {
    margin-top: 50px;
  }
}

/* dark overlay */
.bg-darker.is-dark {
  background-color: rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: -2;
}

.hp-fixed-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Base layer */
.hp-fixed-bg::before,
.hp-fixed-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Black radial */
.hp-fixed-bg::before {
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.9) 70%
  );
}

/* White radial */
.hp-fixed-bg::after {
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.95) 65%
  );
}

/* States */
.hp-fixed-bg.is-black::before {
  opacity: 1;
}

.hp-fixed-bg.is-white::after {
  opacity: 1;
}

.one-stop-section {
  width: 100%;
  margin: 0 auto;
}

/* .one-stop-hero {
  width: 100%;
  background-image: url("../images/one-stop-hero.png");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 50px 0px;
  z-index: 1;
} */

/* .one-stop-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: -1;
  background: rgb(0 0 0 / 72%);
  color: var(--text-color);
  padding: 60px 50px;
} */

.one-stop-hero-title {
  font-size: 32px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  color: var(--white);
}

.one-stop-hero-text {
  line-height: 1.8;
  font-size: 16px;
  text-align: center;
  color: var(--white);
}

.strength-section {
  width: 100%;
  margin: 0 auto;
}

.strength-container {
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.strength-textblock {
  flex: 1;
  display: flex;
  font-size: 18px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.strength-circle {
  flex: 1;
}

.strength-circle img {
  width: 420px;
  max-width: 100%;
}

@media (max-width: 767px) {
  .strength-container {
    flex-direction: column;
    text-align: center;
  }

  .strength-textblock {
    order: 2;
    margin-top: 20px;
  }

  .strength-circle {
    order: 1;
  }

  .strength-circle img {
    width: 280px;
    margin: auto;
  }
}

/* =============================
   BUSINESS SECTION WRAPPER
============================= */
.business-section {
  background-color: var(--white);
  position: relative;
  z-index: 2;
}

.business-section-en {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.business-section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 60px;
}

/* =============================
   GRID LAYOUT
============================= */
.business-section-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
}

/* =============================
   ITEM BOX
============================= */
.business-section-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.business-section-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: clamp(300px, 32vw, 390px);
}

.business-section-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Number top-left */
.business-section-num {
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
}

/* White text overlay */
.business-section-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.business-section-text-overlay h3 {
  font-size: clamp(24px, 6vw, 28px);
  margin: 0 0 5px;
}

.business-section-text-overlay p {
  font-size: 16px;
}

.business-section-desc {
  margin: 10px auto;
  font-size: 16px;
}

.business-section-btn {
  position: relative;
  display: inline-block;
  max-width: 280px;
  width: 100%;
  padding: 8px 0;
  border: 1px solid var(--text-color);
  text-decoration: none;
  color: var(--text-color);
  font-size: 16px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
  margin-top: auto;
}

/* Sliding background */
.business-section-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--black);
  z-index: -1;
  transition: width 0.4s ease;
}

.business-section-btn:hover::before {
  width: 100%;
}

/* RIGHT ARROW ICON (hidden initially) */
.business-section-btn::after {
  content: "→";
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.3s ease;
}

/* On hover arrow appears and slides in */
.business-section-btn:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* Text color changes */
.business-section-btn:hover {
  color: var(--white);
  border-color: var(--black);
}

@media (max-width: 882px) {
  .business-section-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .business-section-grid {
    max-width: 400px;
    width: 100%;
    grid-template-columns: 1fr;
  }
}

/* home sale section scrollable */
.sales-section {
  background-color: var(--white);
  padding-left: 10px;
}

.sales-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.sales-scroll {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 0 11px 0px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sales-scroll::-webkit-scrollbar {
  display: none;
}

.sales-card {
  background: var(--white);
  width: 350px;
  min-width: 350px;
  scroll-snap-align: start;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sales-card-img {
  position: relative;
  padding: 10px 10px 0;
}

.sales-card-img-inner {
  overflow: hidden;
  height: 220px;
}

.sales-card-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1);
  transition: transform 0.8s ease;
}

/* Hover the whole card */
.sales-card:hover .sales-card-img-inner img {
  transform: scale(1.08);
}

.sales-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gray-2);
  padding: 2px 12px;
  font-size: 12px;
  z-index: 1;
}

.sales-card-body {
  padding: 10px;
}

.sales-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0px;
}

.label-type {
  background: var(--brand);
  color: var(--white);
  padding: 2px 14px;
  font-size: 14px;
}

.label-status {
  background: var(--black);
  color: var(--white);
  padding: 2px 14px;
  font-size: 14px;
}
.label-status-sold {
  background: var(--red);
  color: var(--white);
  padding: 2px 14px;
  font-size: 14px;
}

.sales-card-title {
  font-size: 16px;
  margin: 8px 0;
  line-height: 1.5;
}

.sales-card-meta-price,
.sales-card-meta-address {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.sales-card-meta-price {
  justify-content: space-between;
}
.sales-card-meta-address {
  justify-content: flex-start;
}

.sales-meta-label {
  width: 76px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  text-align: center;
  padding: 4px 10px;
}

.sales-meta-text {
  color: var(--dark-gray);
  font-size: 16px;
}

.sales-price {
  color: var(--red);
  font-weight: 800;
  font-size: 16px;
}

/* ========== SHARED BUTTON BASE ========== */
.sales-btn,
.sales-more-btn {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid var(--black);
  color: var(--text-color);
  background-color: transparent;
  transition: background-color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease, transform 0.3s ease;
}

.sales-btn {
  display: block;
  text-align: center;
  margin-top: 18px;
  padding: 8px 0;
}

.sales-more-wrap {
  text-align: center;
  margin-top: 50px;
}

.sales-more-btn {
  max-width: 300px;
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
}

.sales-btn:hover,
.sales-more-btn:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.sales-btn:active,
.sales-more-btn:active {
  transform: translateY(0);
}

.sales-btn:focus-visible,
.sales-more-btn:focus-visible {
  outline: none;
}

@media (max-width: 480px) {
  .sales-section {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    padding: 7px 0px;
  }
  .sales-scroll {
    display: block;
    padding: 0 0;
  }

  .sales-card {
    width: 100%;
    min-width: auto;
    margin-bottom: 30px;
  }
}

.cb-contact-block {
  background: var(--white);
}

.cb-contact-block__top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.cb-contact-block__card {
  position: relative;
  padding: 40px;
  background: var(--light-gray);
  color: var(--text-color);
  text-decoration: none;
  transition: background 0.3s;
}

.cb-contact-block__card:hover {
  background: var(--light-gray);
  opacity: 0.8;
}

.cb-contact-block__en {
  font-size: 16px;
  display: block;
}

.cb-contact-block__title {
  font-size: clamp(24px, 4vw, 40px);
  margin-bottom: 16px;
}

.cb-contact-block__text {
  font-size: 14px;
}

.cb-contact-block__arrow {
  position: absolute;
  right: 24px;
  top: 20%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- RECRUIT ---------- */
.cb-contact-block__recruit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.cb-contact-block__recruit-image {
  background: url("../images/Recruit.webp") center / cover no-repeat;
}

.cb-contact-block__recruit-content {
  background: var(--brand);
  color: var(--white);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cb-contact-block__en--white {
  color: var(--light-gray);
}

.cb-contact-block__recruit-title {
  font-size: clamp(24px, 4vw, 40px);
  margin: 0px 0 20px;
}

.cb-contact-block__recruit-text {
  margin-bottom: 30px;
  color: var(--light-gray);
}

.cb-contact-block__btn {
  display: inline-block;
  padding: 10px 24px;
  max-width: 200px;
  letter-spacing: normal;
  text-align: center;
  width: 100%;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.cb-contact-block__btn:hover {
  background: var(--black);
  color: var(--white);
}

@media (max-width: 768px) {
  .cb-contact-block__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .cb-contact-block__recruit {
    grid-template-columns: 1fr;
    position: relative;
    min-height: 350px;
  }

  .cb-contact-block__recruit-image {
    min-height: 350px;
  }

  .cb-contact-block__recruit-content {
    background-color: var(--brand);
    padding: 20px 10px;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cb-contact-block__recruit-text {
    text-align: center;
  }
}

.tiktok-wrapper {
  background-color: var(--white);
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.tiktok-embed {
  width: 100%;
  max-width: 1200px;
  min-width: 288px;
}

.front-cta {
  background-color: var(--white);
}

.reveal {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #ffffff 0%, #f3f5f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#logo {
  width: 280px;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

#logo path,
#logo circle {
  fill: none;
  fill-opacity: 0;
  stroke: #9bbfaf;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

svg {
  shape-rendering: geometricPrecision;
}
