/*
 * Typography scale
 * 役割ごとにサイズ/行間/字間を統一
 */
body {
  font-family: "Noto Sans JP", sans-serif;
}

html {
  scrollbar-gutter: stable;
}

.typo-h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.typo-h2 {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.typo-h3 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.typo-lead {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.typo-body {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.typo-small {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-marquee {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: brightness(0.9);
}

.hero-marquee__row {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-marquee__track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.hero-marquee__group {
  display: flex;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  min-width: 100vw;
}

.hero-marquee__item {
  position: relative;
  flex: 0 0 25vw;
  width: 25vw;
  min-width: 25vw;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.hero-marquee__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-marquee__row--right .hero-marquee__track {
  animation: hero-marquee-right 28s linear infinite;
}

.hero-marquee__row--left .hero-marquee__track {
  animation: hero-marquee-left 28s linear infinite;
}

.hero-marquee__row--slow .hero-marquee__track {
  animation-duration: 34s;
}

.hero-marquee__item--candidate .hero-marquee__photo {
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 0.55s ease, transform 1.8s ease;
}

.hero-marquee__item--candidate .hero-marquee__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 0.55s ease, transform 1.8s ease;
  pointer-events: none;
}

.hero-marquee__item--candidate.is-playing .hero-marquee__photo {
  opacity: 0;
  transform: scale(1.18);
}

.hero-marquee__item--candidate.is-playing .hero-marquee__video {
  opacity: 1;
  transform: scale(1.18);
}

@keyframes hero-marquee-right {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100vw, 0, 0);
  }
}

@keyframes hero-marquee-left {
  from {
    transform: translate3d(-100vw, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 767px) {
  .hero-marquee__group {
    flex: 0 0 200vw;
    width: 200vw;
    min-width: 200vw;
  }

  .hero-marquee__item {
    flex: 0 0 50vw;
    width: 50vw;
    min-width: 50vw;
    height: 100%;
  }

  .hero-marquee__row--right .hero-marquee__track,
  .hero-marquee__row--left .hero-marquee__track {
    animation-duration: 22s;
  }

  .hero-marquee__row--slow .hero-marquee__track {
    animation-duration: 26s;
  }

  @keyframes hero-marquee-right {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-200vw, 0, 0);
    }
  }

  @keyframes hero-marquee-left {
    from {
      transform: translate3d(-200vw, 0, 0);
    }
    to {
      transform: translate3d(0, 0, 0);
    }
  }
}

@media (min-width: 768px) {
  .typo-h1 {
    font-size: 64px;
  }

  .typo-h2 {
    font-size: 58px;
  }

  .typo-h3 {
    font-size: 34px;
  }

  .typo-lead {
    font-size: 24px;
    line-height: 1.65;
  }

  .typo-body {
    font-size: 17px;
  }

  .typo-small {
    font-size: 14px;
  }
}

    /*
     * about-bg-word はセクション直下に置き、section を基準に絶対配置する。
     * left: -3vw → 常にビューポート左端からわずかにはみ出す。
     * clamp で viewport 幅に応じてスケールさせ、どの画面幅でも一定の見え方にする。
     */
    .about-bg-word {
      position: absolute;
  left: calc(50% - 50vw);
      top: 6px;
      font-family: "Sulphur Point", sans-serif;
      font-size: clamp(160px, 27vw, 390px);
      font-weight: 300;
      line-height: 0.82;
      color: rgba(0,0,0,0.045);
      z-index: 0;
      pointer-events: none;
      user-select: none;
      letter-spacing: -0.04em;
      white-space: nowrap;
    }

    .about-title-mark {
      position: relative;
      display: inline-block;
      padding-bottom: 4px;
      isolation: isolate;
    }

    .about-title-mark::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 2px;
      width: 100%;
      height: 18px;
      background: #ff6957;
      opacity: 0.95;
      border-radius: 0;
      z-index: 0;
    }

    .about-title-mark > .about-title-mark__txt {
      position: relative;
      z-index: 1;
    }

    @media (max-width: 767px) {
      .about-title-mark::after {
        width: 100%;
        height: 12px;
        bottom: 1px;
      }
    }
    .flow-card-toggle {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .flow-slide-panel {
      transform: translateY(18px);
      opacity: 0;
      transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .flow-dim {
      transition: background-color 0.35s ease;
    }

    .flow-panels {
      overflow: visible;
    }

    .flow-card-primary {
      position: relative;
      transition: flex 0.4s ease, box-shadow 0.4s ease;
      z-index: 1;
    }

    .flow-no {
      position: absolute;
      left: 10px;
      top: 14px;
      color: rgba(255, 255, 255, 0.58);
      font-family: "Montserrat", sans-serif;
      font-size: 120px;
      font-weight: 300;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .flow-title-wrap {
      position: absolute;
      left: 56px;
      top: 50px;
      width: 140px;
      text-align: center;
      color: #fff;
      z-index: 10;
    }

    .flow-title-ja {
      font-size: 32px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .flow-title-kana {
      margin-top: 6px;
      font-size: 10px;
      line-height: 1;
      letter-spacing: 0.04em;
    }

    .flow-card-primary:hover {
      z-index: 20;
    }

    @media (min-width: 768px) {
      .flow-panels {
        display: flex;
      }

      .flow-panels > div {
        flex: 1;
        transition: flex 0.4s ease;
      }

      .flow-panels:hover > div {
        flex: 0.72;
      }

      .flow-panels > div:hover {
        flex: 2.35;
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
        z-index: 20;
      }

      .flow-panels > div:hover .flow-slide-panel {
        transform: translateY(0);
        opacity: 1;
      }

      .flow-panels > div:hover .flow-dim {
        background-color: rgba(0, 0, 0, 0);
      }

      .flow-no {
        left: 12px;
        top: 14px;
        font-size: 120px;
      }

      .flow-title-wrap {
        left: 56px;
        top: 50px;
      }

      .flow-title-ja {
        font-size: 32px;
      }

      .flow-title-kana {
        font-size: 10px;
      }
    }

    @media (max-width: 767px) {
      .flow-panels {
        display: grid;
        gap: 12px;
      }

      .flow-panels .flow-card {
        height: 240px !important;
        transition: height 0.35s ease, box-shadow 0.35s ease;
        cursor: pointer;
      }

      .flow-panels .flow-card.is-open {
        height: 480px !important;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
      }

      .flow-panels .flow-slide-panel {
        transform: translateY(14px);
        opacity: 0;
      }

      .flow-panels .flow-card.is-open .flow-slide-panel {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .section-late {
      position: relative;
      width: 100%;
      max-height: 600px;
      overflow: hidden;
      background: #000;
    }

    .late-image {
      display: block;
      width: 100%;
      height: 600px;
      max-height: 600px;
      object-fit: cover;
      position: relative;
      z-index: 0;
    }

    .late-photo-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.2);
      z-index: 1;
      pointer-events: none;
    }

    .late-circle-wrap {
      position: absolute;
      left: 50.5%;
      top: 51.5%;
      width: min(46vw, 540px);
      aspect-ratio: 1 / 1;
      transform: translate(-50%, -50%);
      z-index: 2;
      pointer-events: none;
    }

    .late-circle-ring {
      position: absolute;
      inset: 0;
      border: 6px solid rgba(255, 255, 255, 0.95);
      border-radius: 9999px;
      box-sizing: border-box;
    }


    .late-dot {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 100%;
      height: 100%;
      object-fit: contain;
      transform: translate(-50%, -50%);
      z-index: 3;
      pointer-events: none;
    }

    .late-balloon {
      position: absolute;
      right: 4.5%;
      top: 4.8%;
      z-index: 4;
      width: min(40vw, 500px);
    }

    .late-balloon-svg {
      display: block;
      width: 100%;
      height: auto;
    }

    .late-balloon-text {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 18%;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 26px;
      text-align: center;
      font-size: clamp(18px, 2.2vw, 28px);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.02em;
      color: #111827;
      white-space: nowrap;
      transform: translateX(3.2%);
    }

    @media (max-width: 767px) {
      .section-late {
        max-height: none;
      }

      .late-image {
        height: auto;
        max-height: none;
      }

      .late-circle-wrap {
        left: 50%;
        top: 52%;
        width: min(74vw, 370px);
      }

      .late-balloon {
        right: 2.5%;
        top: 3%;
        width: min(62vw, 300px);
      }

      .late-balloon-text {
        bottom: 20%;
        padding: 0 14px;
        font-size: 15px;
        transform: translateX(2%);
      }
    }

    .late-heading-wrap {
      position: relative;
      width: 100%;
      height: 192px;
      overflow: visible;
    }

    .late-heading-bg {
      position: absolute;
      inset: 0;
      background: #ffffff;
      clip-path: polygon(0 0, 100% 0, 100% 8%, 95% 8%, 50% 100%, 5% 8%, 0 8%);
      z-index: 0;
    }

    .late-heading-title {
      position: relative;
      z-index: 1;
      text-align: center;
      margin-top: 72px;
      padding: 0 24px;
    }

    .late-title-mark {
      position: relative;
      display: inline-block;
      padding-bottom: 4px;
      isolation: isolate;
    }

    .late-title-mark::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 2px;
      height: 18px;
      background: #ff6957;
      opacity: 0.95;
      z-index: 0;
    }

    .late-title-mark > .late-title-mark__txt {
      position: relative;
      z-index: 1;
    }

    @media (max-width: 767px) {
      .late-heading-wrap {
        height: 144px;
      }

      .late-heading-bg {
        clip-path: polygon(0 0, 100% 0, 100% 10%, 92% 10%, 50% 100%, 8% 10%, 0 10%);
      }

      .late-heading-title {
        margin-top: 56px;
        padding: 0 16px;
      }

      .late-title-mark::after {
        bottom: 1px;
        height: 12px;
      }
    }

    .section-services {
      background: #f5f5f4;
      padding: 112px 0 96px;
      overflow: hidden;
    }

    .services-inner {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 40px;
      position: relative;
    }

    .services-bg-word {
      position: absolute;
  left: calc(50% - 50vw);
      top: -8px;
      font-family: "Sulphur Point", sans-serif;
      font-weight: 300;
  font-size: clamp(160px, 27vw, 390px);
  line-height: 0.82;
  letter-spacing: -0.04em;
      color: rgba(255, 255, 255, 0.48);
      pointer-events: none;
      user-select: none;
      z-index: 0;
    }

    .services-heading {
      position: relative;
      z-index: 1;
      text-align: center;
      margin-bottom: 46px;
    }

    .services-title {
      font-size: 34px;
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -0.025em;
      color: #111827;
    }

    .services-title-dot {
      color: #ff6957;
    }

    .services-description {
      margin-top: 24px;
      display: grid;
      gap: 7px;
      color: #1f2937;
      font-size: 16px;
      line-height: 1.9;
      font-weight: 500;
      letter-spacing: 0.005em;
    }

    .services-description .services-emphasis {
      color: #4497c8;
    }

    .services-card-grid-top {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
      margin-top: 26px;
      width: 100%;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .services-card-grid-bottom {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 18px;
      width: 100%;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .services-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
      background: #fff;
    }

    .services-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .services-card-main {
      height: auto;
      grid-column: span 2;
      aspect-ratio: 2.05 / 1;
    }

    .services-card-sub {
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .services-card-small {
      height: auto;
      aspect-ratio: 1 / 1;
    }

.services-card-sub-mobile {
  display: none;
}

    .services-card-label {
      position: absolute;
      left: 10%;
      right: 10%;
      bottom: 14px;
      min-height: 34px;
      border-radius: 9999px;
      background: linear-gradient(90deg, #1f6fd6 0%, #25a0df 100%);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 20px;
      line-height: 1;
      font-weight: 800;
      letter-spacing: 0.005em;
      padding: 5px 14px 6px;
      white-space: nowrap;
    }

    .services-crm-block {
      position: relative;
      z-index: 1;
      margin-top: 54px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
      gap: 36px;
      align-items: center;
    }

    .services-crm-content {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .services-crm-subtitle {
      font-size: 12px;
      line-height: 1.55;
      font-weight: 600;
      color: #374151;
      margin-bottom: 10px;
      letter-spacing: 0.02em;
    }

    .services-crm-heading {
      font-size: clamp(22px, 2.4vw, 30px);
      line-height: 1.22;
      font-weight: 800;
      color: #111827;
      margin-bottom: 18px;
      letter-spacing: -0.02em;
      word-break: keep-all;
      overflow-wrap: anywhere;
    }

    .services-crm-text {
      display: grid;
      gap: 16px;
      font-size: 16px;
      line-height: 1.85;
      font-weight: 500;
      color: #1f2937;
    }

    .services-crm-text p {
      margin: 0;
    }

    .services-sns-link-card {
      margin-top: 24px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
      width: 100%;
      max-width: min(428px, 100%);
      margin-left: 0;
      margin-right: auto;
      padding: 16px 18px 18px;
      box-sizing: border-box;
    }

    .services-sns-link-title {
      text-align: center;
      color: #111827;
      font-size: 14px;
      font-weight: 700;
      margin: 0 0 14px;
      line-height: 1.45;
    }

    .services-sns-link-icons {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: nowrap;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .services-sns-link-icon {
      flex: 0 0 auto;
      width: 72px;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .services-sns-link-icons img {
      width: 64px;
      height: 64px;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
    }

    .services-crm-image-wrap {
      position: relative;
      padding-top: 40px;
      width: 100%;
      max-width: 560px;
      justify-self: end;
      margin-left: auto;
      margin-right: 0;
    }

    .services-crm-note {
      position: absolute;
      top: 6px;
      right: 0;
      font-size: 12px;
      line-height: 1.35;
      color: #6b7280;
      font-weight: 700;
      letter-spacing: 0.01em;
      text-align: right;
      max-width: 90%;
    }

    .services-crm-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.15));
    }

    @media (max-width: 767px) {
      .section-services {
        padding: 80px 0 72px;
      }

      .services-inner {
        padding: 0 16px;
      }

      .services-bg-word {
    left: calc(50% - 50vw);
        top: -6px;
        font-size: 130px;
      }

      .services-heading {
        margin-bottom: 30px;
      }

      .services-title {
        font-size: 34px !important;
        line-height: 1.12;
      }

      .services-description {
        margin-top: 16px;
        gap: 6px;
        font-size: 16px;
        line-height: 1.9;
      }

  .services-card-grid-top {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

      .services-card-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 12px;
      }

  .services-card-main {
    grid-column: auto;
    aspect-ratio: 2.05 / 1;
    height: auto;
  }

  .services-card-sub {
    display: none;
  }

  .services-card-small {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .services-card-sub-mobile {
    display: block;
      }

      .services-card-label {
        left: 6%;
        right: 6%;
        bottom: 12px;
        min-height: 32px;
        font-size: 13px;
        padding: 6px 8px;
      }

      .services-crm-block {
        margin-top: 36px;
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        align-items: stretch;
      }

      .services-crm-content {
        order: 1;
      }

      .services-crm-subtitle {
        font-size: 12px;
        margin-bottom: 8px;
      }

      .services-crm-heading {
        font-size: clamp(22px, 6.2vw, 26px);
        margin-bottom: 16px;
      }

      .services-crm-text {
        font-size: 15px;
        line-height: 1.82;
        gap: 14px;
      }

      .services-sns-link-card {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        padding: 14px 14px 16px;
        max-width: 100%;
      }

      .services-sns-link-title {
        font-size: 13px;
        margin-bottom: 12px;
      }

      .services-sns-link-icons {
        gap: 12px;
        padding: 0 4px;
      }

      .services-sns-link-icon {
        width: 64px;
        height: 64px;
      }

      .services-sns-link-icons img {
        width: 56px;
        height: 56px;
      }

      .services-crm-image-wrap {
        order: 2;
        padding-top: 0;
        max-width: 100%;
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
      }

      .services-crm-note {
        position: static;
        display: block;
        text-align: right;
        margin: 0 0 10px;
        font-size: 11px;
        line-height: 1.4;
        max-width: none;
      }

      .services-crm-image {
        max-width: min(100%, 420px);
        margin-left: auto;
        margin-right: auto;
      }
    }

.loop-slider {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.loop-slider__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: loop-slider-scroll 24s linear infinite;
}

.loop-slider__item {
  width: 320px;
  height: 180px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes loop-slider-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.js-header-title-switch {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.js-header-title-switch.is-dark {
  color: #111827;
  text-shadow: none !important;
}

.site-menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  transition: box-shadow 0.18s ease, background 0.2s ease;
  z-index: 90;
}

.site-menu-btn:hover {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
}

.site-menu-btn__icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.site-menu-btn__line {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.site-menu-btn__line:nth-child(1) {
  top: 0;
}

.site-menu-btn__line:nth-child(2) {
  top: 6px;
}

.site-menu-btn__line:nth-child(3) {
  top: 12px;
}

.site-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(9, 12, 20, 0.58);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  height: 100dvh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-menu__layout {
  display: grid;
  grid-template-columns: 52% 48%;
  width: 100vw;
  min-height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  box-shadow: none;
  align-items: stretch;
}

.site-menu__visual {
  position: relative;
  overflow: hidden;
  background: #111827;
  min-height: 100vh;
  padding: 0;
}

.site-menu__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-menu__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.28) 0%, rgba(11, 15, 23, 0.66) 100%);
}

.site-menu__visual-head {
  position: absolute;
  top: 34%;
  left: 34px;
  z-index: 3;
  transform: none;
}

.site-menu__visual-title {
  position: absolute;
  top: 34%;
  left: 34px;
  margin: 0;
  transform: none;
  z-index: 3;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.95);
}

.site-menu__visual-title.site-menu__visual-head {
  top: 34%;
  left: 34px;
  z-index: 3;
  transform: none;
}

.site-menu__visual-brand {
  position: absolute;
  top: 26px;
  left: 20px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
  display: none;
}

.site-menu__visual-brand p:first-child {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.site-menu__visual-brand p:last-child {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-menu__visual-copy {
  position: absolute;
  top: 54%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  z-index: 3;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Sulphur Point", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.site-menu__visual-copy a {
  display: block;
  font-size: clamp(72px, 8vw, 116px);
  line-height: 0.9;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
}

.site-menu__visual-copy a:hover {
  opacity: 0.9;
}

.site-menu__visual-cta {
  position: absolute;
  left: 32px;
  right: auto;
  bottom: 38px;
  z-index: 1;
  width: min(660px, calc(100% - 64px));
  min-height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  font-size: clamp(18px, 1.38vw, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.site-menu__visual-cta img {
  width: clamp(20px, 1.8vw, 30px);
  height: clamp(20px, 1.8vw, 30px);
  object-fit: contain;
}

.site-menu__close {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
  color: #111827;
  flex: 0 0 auto;
}

.site-menu__panel {
  background: #f45d39;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  min-height: 100vh;
  padding: 72px 56px 56px;
}

.site-menu__panel-top {
  position: absolute;
  top: 24px;
  right: 88px;
  z-index: 2;
  display: block;
  padding: 0;
}

.site-menu__panel-cta {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}

.site-menu__panel-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
}

.site-menu__title {
  margin: 0 0 28px;
  width: 100%;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
  color: #ffffff;
}

.site-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: 22px;
}

.site-menu__link {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-menu__link:hover {
  opacity: 0.82;
  transform: translateX(1px);
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .site-menu-overlay {
  opacity: 1;
}

body.is-menu-open .site-menu {
  opacity: 1;
  pointer-events: auto;
}

/* Keep the same toggle button visible above full-screen menu */
body.is-menu-open header {
  z-index: 120;
}

body.is-menu-open .site-menu-btn {
  position: fixed;
  top: 16px;
  right: 16px;
}

/* Avoid overlap: only keep toggle visible while menu is open */
body.is-menu-open header .js-header-title-switch,
body.is-menu-open header > div > a {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-menu-btn[aria-expanded="true"] .site-menu-btn__line:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.site-menu-btn[aria-expanded="true"] .site-menu-btn__line:nth-child(2) {
  opacity: 0;
}

.site-menu-btn[aria-expanded="true"] .site-menu-btn__line:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .site-menu__layout {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 42dvh 58dvh;
  }

  .site-menu__visual {
    min-height: 42dvh;
    padding: 0;
  }

  .site-menu__visual-title {
    top: 56px;
    left: 14px;
    transform: none;
    font-size: clamp(24px, 5.4vw, 34px);
    letter-spacing: 0.06em;
  }

  .site-menu__visual-brand p:first-child {
    font-size: 12px;
  }

  .site-menu__visual-brand p:last-child {
    font-size: 14px;
  }

  .site-menu__visual-copy {
    left: 14px;
    top: 55%;
    transform: translateY(-50%);
    gap: 8px;
  }

  .site-menu__visual-copy a {
    font-size: clamp(62px, 13vw, 90px);
  }

  .site-menu__visual-cta {
    left: 14px;
    right: auto;
    bottom: 14px;
    width: calc(100% - 28px);
    min-height: 54px;
    font-size: 17px;
    gap: 10px;
    white-space: nowrap;
  }

  .site-menu__visual-cta img {
    width: 22px;
    height: 22px;
  }

  .site-menu__panel {
    min-height: 58dvh;
    padding: 0;
  }

  .site-menu__panel-top {
    display: none;
  }

  .site-menu__panel-cta {
    font-size: 14px;
  }

  .site-menu__close {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .site-menu__panel-body {
    justify-content: flex-start;
    height: auto;
    padding: 56px 18px 20px;
    overflow-y: auto;
  }

  .site-menu__title {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .site-menu__nav {
    gap: 14px;
  }

  .site-menu__link {
    font-size: 17px;
    letter-spacing: 0.2em;
  }
}

@media (max-width: 767px) {
  .site-menu__layout {
    grid-template-rows: 60dvh 40dvh;
  }

  .site-menu__visual {
    min-height: 60dvh;
  }

  .site-menu__panel {
    min-height: 40dvh;
  }

  .site-menu__visual-title,
  .site-menu__visual-head {
    top: 24px;
    left: 20px;
    transform: none;
    font-size: 18px;
    letter-spacing: 0.06em;
    display: block;
    visibility: visible;
    opacity: 1;
    z-index: 5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }

  .site-menu__visual-copy {
    top: 56%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    visibility: visible;
    opacity: 1;
    z-index: 5;
    gap: 6px;
  }

  .site-menu__visual-copy a {
    font-size: clamp(52px, 14vw, 84px);
    line-height: 0.92;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  }

  .site-menu__visual-cta {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
  }

  .site-menu__panel-body {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 28px;
  }

  .site-menu__title {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.12;
    text-align: left;
  }

  .site-menu__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    width: 100%;
  }

  .site-menu__link {
    text-align: left;
  }
}

.cv-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 22px 24px;
  border-radius: 8px;
  background: #F45D39;
  box-shadow: 0 18px 34px rgba(255, 105, 87, 0.28), 0 10px 22px rgba(15, 23, 42, 0.14);
  text-decoration: none;
  color: #fff;
  transform: translateZ(0);
}

.cv-button::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.cv-button__sub {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #F45D39;
}

.cv-button__main {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-align: center;
  padding-top: 22px;
}

.cv-button__main img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.cv-button:hover {
  filter: saturate(1.03);
}

.cv-button:active {
  transform: translateY(1px);
}

.js-parallax-plane {
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
  transform-origin: center center;
}

.about-bg-word,
.services-bg-word {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.section-footer-visual {
  position: relative;
  height: 530px;
  overflow: hidden;
}

.section-footer-visual__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(40% + 60px);
}

.footer-visual-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.footer-visual-frame {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.footer-visual-brand {
  position: absolute;
  left: 38px;
  top: 32px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-visual-copy {
  position: absolute;
  left: 38px;
  bottom: 40px;
  color: #fff;
  font-size: 50px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-visual-menu {
  position: absolute;
  right: 52px;
  top: 48px;
  color: #fff;
  text-align: right;
}

.footer-visual-menu-title {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-visual-menu-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .section-footer-visual {
    height: 500px;
  }

  .section-footer-visual__bg {
    object-position: center 22%;
  }

  .footer-visual-frame {
    top: 14px;
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .footer-visual-brand {
    left: 24px;
    top: 22px;
    max-width: 56%;
    font-size: 13px;
    line-height: 1.25;
    z-index: 3;
  }

  .footer-visual-menu {
    right: 28px;
    top: 24px;
    max-width: 40%;
    z-index: 3;
  }

  .footer-visual-menu-title {
    font-size: 11px;
    letter-spacing: 0.06em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: right;
  }

  .footer-visual-menu-list {
    margin-top: 12px;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .footer-visual-copy {
    left: 24px;
    right: 24px;
    bottom: 26px;
  }
}
