/* 20260730 Sec01-07 SP adjustment implementation v1.0 */
/* ==========================================================================
   Zero Next One BASE NIIKAPPU
   top-sec01.css
   Section 01 smartphone comp override
   --------------------------------------------------------------------------
   Section 01 / First View
   - Background image
   - HTML text / CTA / SCROLL
   - Smartphone comp first
   - Phase 2 key visual layout recovery
   - Marker: 20260606-sec01-kv-art-06
   --------------------------------------------------------------------------
   SP Header v2 unlock is included in this pass.
   Header visuals are primarily controlled by main.css.
   ========================================================================== */

@media (max-width: 767px) {
  html,
  body {
    margin: 0;
    overflow-x: hidden;
    background: #0d120f;
  }

  /*
     SP Header v2 unlock.
     The header itself is styled in main.css as a small floating rail.
     This Section file must no longer suppress it on the top page.
  */
  .page-top .l-site-header {
    display: block !important;
  }


  .page-top .l-main {
    margin: 0;
    padding: 0;
  }

  .page-top .p-home-hero {
    position: relative;
    width: 100%;
    min-height: max(100svh, 196vw);
    min-height: max(100dvh, 196vw);
    padding: clamp(112px, 27vw, 132px) 26px 104px;
    display: block;
    color: #fffaf0;
    background: #0d120f;
    overflow: hidden;
    isolation: isolate;
  }

  /*
     Main visual veil.
     Keep the text readable on the left, but do NOT kill the lower illustration.
     The lower facility / river / horse area must remain a visual scene.
  */
  .page-top .p-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at 13% 26%,
        rgba(2, 7, 7, 0.6) 0%,
        rgba(2, 7, 7, 0.44) 31%,
        rgba(2, 7, 7, 0.18) 58%,
        rgba(2, 7, 7, 0.04) 78%,
        rgba(2, 7, 7, 0) 100%
      ),
      radial-gradient(
        ellipse at 14% 48%,
        rgba(2, 7, 7, 0.34) 0%,
        rgba(2, 7, 7, 0.2) 34%,
        rgba(2, 7, 7, 0.07) 62%,
        rgba(2, 7, 7, 0) 86%
      ),
      linear-gradient(
        90deg,
        rgba(3, 7, 7, 0.56) 0%,
        rgba(3, 7, 7, 0.34) 30%,
        rgba(3, 7, 7, 0.11) 58%,
        rgba(3, 7, 7, 0.02) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0) 46%,
        rgba(0, 0, 0, 0.08) 100%
      );
  }

  .page-top .p-home-hero__layers,
  .page-top .p-home-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .page-top .p-home-hero__layers {
    z-index: -4;
  }

  .page-top .p-home-hero__layer,
  .page-top .p-home-hero__layer--full-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% top;
  }

  /*
     Edge protection only.
     This must not become a second dark curtain over the building / river.
  */
  .page-top .p-home-hero__shade {
    z-index: -2;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0) 38%,
        rgba(0, 0, 0, 0.1) 100%
      );
  }

  .page-top .p-home-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    isolation: isolate;
  }

  /*
     Local copy veil.
     Oversize the gradient beyond the copy area so no rectangular edge can
     become visible. The veil supports legibility without looking like a panel.
  */
  .page-top .p-home-hero__inner::before {
    content: "";
    position: absolute;
    left: -72px;
    right: -24px;
    top: -64px;
    bottom: -96px;
    z-index: -1;
    width: auto;
    height: auto;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse 118% 94% at 23% 36%,
        rgba(3, 8, 8, 0.42) 0%,
        rgba(3, 8, 8, 0.3) 36%,
        rgba(3, 8, 8, 0.12) 64%,
        rgba(3, 8, 8, 0.03) 82%,
        rgba(3, 8, 8, 0) 100%
      );
    filter: blur(14px);
  }

  .page-top .p-home-hero__content {
    position: relative;
    width: min(100%, 356px);
    margin: 0;
    padding: 0;
  }

  .page-top .p-home-hero__content::before {
    content: "HOKKAIDO NIIKAPPU BASE CAMP";
    display: block;
    margin: 0 0 clamp(15px, 3.7vw, 19px);
    color: rgba(255, 250, 240, 0.76);
    font-family: var(--font-label);
    font-size: clamp(0.56rem, 2.18vw, 0.66rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.22em;
    white-space: nowrap;
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.36),
      0 0 20px rgba(0, 0, 0, 0.16);
  }

  .page-top .p-home-hero__title {
    display: grid;
    justify-items: start;
    gap: clamp(7px, 1.9vw, 11px);
    margin: 0;
    color: #fffaf0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.036em;
    text-shadow:
      0 3px 14px rgba(0, 0, 0, 0.46),
      0 1px 0 rgba(0, 0, 0, 0.22);
  }

  .page-top .p-home-hero__title br {
    display: none;
  }

  .page-top .p-home-hero__title-line {
    position: relative;
    display: block;
    white-space: nowrap;
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.08rem, 4.4vw, 1.34rem);
    line-height: 1.22;
    letter-spacing: 0.11em;
    opacity: 0.94;
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(2.16rem, 8.9vw, 2.68rem);
    line-height: 1.1;
    letter-spacing: 0.038em;
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(3.06rem, 12.6vw, 3.76rem);
    line-height: 1.01;
    letter-spacing: 0.04em;
  }

  .page-top .p-home-hero__title-line--core::after {
    content: "";
    position: absolute;
    left: 0.02em;
    right: 0.12em;
    bottom: -0.12em;
    height: 1px;
    background:
      linear-gradient(
        90deg,
        rgba(255, 250, 240, 0),
        rgba(230, 184, 90, 0.66) 14%,
        rgba(255, 250, 240, 0.56) 64%,
        rgba(255, 250, 240, 0)
      );
    opacity: 0.82;
  }

  .page-top .p-home-hero__lead {
    max-width: 338px;
    margin: clamp(54px, 13.5vw, 70px) 0 0;
    color: rgba(255, 250, 240, 0.91);
    font-family: var(--font-body);
    font-size: clamp(0.76rem, 2.94vw, 0.88rem);
    font-weight: 500;
    line-height: 1.98;
    letter-spacing: 0.036em;
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.44),
      0 1px 0 rgba(0, 0, 0, 0.2);
  }

  .page-top .p-home-hero__actions {
    display: block;
    margin: clamp(42px, 10.5vw, 54px) 0 0;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    position: relative;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(66vw, 262px);
    min-width: 238px;
    max-width: 100%;
    min-height: 42px;
    padding: 0 0 9px;
    border: 0;
    border-radius: 0;
    border-bottom: 1.5px solid rgba(255, 250, 240, 0.72);
    color: #fffaf0;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-ui);
    font-size: clamp(0.86rem, 3.32vw, 0.96rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.4),
      0 1px 0 rgba(0, 0, 0, 0.18);
  }

  .page-top .p-home-hero .c-button--hero-primary span:first-child {
    min-width: 0;
    white-space: nowrap;
  }

  .page-top .p-home-hero .c-button--hero-primary span[aria-hidden="true"] {
    justify-self: end;
    font-size: 1.18em;
    line-height: 1;
    transform: translateY(-1px);
  }

  .page-top .p-home-hero__animal-labels,
  .page-top .p-home-hero__animal-label {
    display: none !important;
  }

  .page-top .p-home-hero__scroll {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: max(
      clamp(92px, 22vw, 112px),
      calc(env(safe-area-inset-bottom, 0px) + 78px)
    );
    width: max-content;
    margin-inline: auto;
    transform: none;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: rgba(255, 250, 240, 0.88);
    font-family: var(--font-label);
    font-size: clamp(0.64rem, 2.55vw, 0.76rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.24em;
    text-decoration: none;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.64);
    writing-mode: horizontal-tb;
  }

  .page-top .p-home-hero__scroll::after {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: max(100vh, 196vw);
    }
  }
}

@media (max-width: 374px) {
  .page-top .p-home-hero {
    min-height: max(100svh, 204vw);
    min-height: max(100dvh, 204vw);
    padding-top: 106px;
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 100px;
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    object-position: 59% top;
  }

  .page-top .p-home-hero__inner::before {
    left: -56px;
    right: -20px;
    top: -52px;
    bottom: -82px;
    width: auto;
    height: auto;
  }

  .page-top .p-home-hero__content {
    width: min(100%, 326px);
  }

  .page-top .p-home-hero__content::before {
    margin-bottom: 14px;
    font-size: 0.52rem;
    letter-spacing: 0.18em;
  }

  .page-top .p-home-hero__title-line--place {
    font-size: 1rem;
    letter-spacing: 0.09em;
  }

  .page-top .p-home-hero__title-line--use {
    font-size: 1.92rem;
    letter-spacing: 0.026em;
  }

  .page-top .p-home-hero__title-line--core {
    font-size: 2.78rem;
    letter-spacing: 0.032em;
  }

  .page-top .p-home-hero__lead {
    max-width: 304px;
    margin-top: 48px;
    font-size: 0.72rem;
    line-height: 1.94;
    letter-spacing: 0.03em;
  }

  .page-top .p-home-hero__actions {
    margin-top: 38px;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    width: min(68vw, 248px);
    min-width: 232px;
    min-height: 40px;
    font-size: 0.78rem;
    letter-spacing: 0.034em;
  }

  .page-top .p-home-hero__scroll {
    bottom: max(
      88px,
      calc(env(safe-area-inset-bottom, 0px) + 74px)
    );
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: max(100vh, 204vw);
    }
  }
}

/* --------------------------------------------------------------------------
   Section 01 / PC v2.1 Landscape Edition
   --------------------------------------------------------------------------
   Purpose:
   - Treat the first view as an arrival scene, not a resized smartphone hero.
   - Keep the background as Z-0, local readability haze as Z-1,
     copy as Z-2, and CTA / scroll cue as Z-3.
   - Preserve the completed smartphone layout above.
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  body[data-active-section="sec01"] .l-site-header {
    color: #fffaf0;
    background: linear-gradient(180deg, rgba(10, 16, 14, 0.34), rgba(10, 16, 14, 0));
    border-bottom-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body[data-active-section="sec01"] .l-site-header__brand,
  body[data-active-section="sec01"] .l-site-header__menu-button,
  body[data-active-section="sec01"] .l-site-header__nav-link {
    color: #fffaf0;
  }

  body[data-active-section="sec01"] .l-site-header__brand-mark {
    color: #10263b;
    background: rgba(255, 250, 240, 0.92);
    border-color: rgba(255, 250, 240, 0.9);
  }

  body[data-active-section="sec01"] .l-site-header__brand-small,
  body[data-active-section="sec01"] .l-site-header__brand-sub {
    color: rgba(255, 250, 240, 0.74);
  }

  body[data-active-section="sec01"] .l-site-header__nav-link--cta {
    color: #10263b;
    background: rgba(255, 250, 240, 0.88);
    border-color: rgba(255, 250, 240, 0.7);
  }

  .page-top .p-home-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(820px, 100svh, 980px);
    min-height: clamp(820px, 100dvh, 980px);
    padding:
      calc(var(--pc-header-height, 76px) + clamp(52px, 7.4vw, 92px))
      var(--side-padding)
      clamp(86px, 8vw, 116px);
    color: #fffaf0;
    background: #0d120f;
    overflow: hidden;
    isolation: isolate;
  }

  .page-top .p-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at 18% 43%,
        rgba(2, 7, 7, 0.62) 0%,
        rgba(2, 7, 7, 0.45) 25%,
        rgba(2, 7, 7, 0.2) 46%,
        rgba(2, 7, 7, 0.06) 64%,
        rgba(2, 7, 7, 0) 80%
      ),
      linear-gradient(
        90deg,
        rgba(2, 7, 7, 0.48) 0%,
        rgba(2, 7, 7, 0.32) 27%,
        rgba(2, 7, 7, 0.12) 47%,
        rgba(2, 7, 7, 0.025) 68%,
        rgba(2, 7, 7, 0) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.14) 0%,
        rgba(0, 0, 0, 0) 26%,
        rgba(0, 0, 0, 0.13) 100%
      );
  }





  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    max-width: none;
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.006);
    transform-origin: center center;
  }

  .page-top .p-home-hero__shade {
    z-index: -2;
    background:
      radial-gradient(
        ellipse at 78% 58%,
        rgba(255, 232, 162, 0.055) 0%,
        rgba(255, 232, 162, 0.02) 36%,
        rgba(255, 232, 162, 0) 64%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.02) 22%,
        rgba(0, 0, 0, 0) 66%,
        rgba(0, 0, 0, 0.2) 100%
      );
  }

  .page-top .p-home-hero__inner {
    position: relative;
    z-index: 2;
    isolation: isolate;
    width: min(var(--pc-visual-max, 1240px), 100%);
    margin: 0 auto;
  }

  .page-top .p-home-hero__inner::before {
    content: "";
    position: absolute;
    left: clamp(-54px, -4vw, -28px);
    top: 50%;
    z-index: -1;
    width: min(54vw, 690px);
    height: calc(100% + clamp(136px, 15vw, 196px));
    pointer-events: none;
    transform: translateY(-50%);
    background:
      radial-gradient(
        ellipse at 32% 48%,
        rgba(1, 6, 6, 0.54) 0%,
        rgba(1, 6, 6, 0.34) 38%,
        rgba(1, 6, 6, 0.12) 66%,
        rgba(1, 6, 6, 0) 100%
      );
    filter: blur(5px);
  }

  .page-top .p-home-hero__content {
    position: relative;
    width: min(62%, 620px);
    margin: 0;
    padding: 0;
  }

  .page-top .p-home-hero__content::before {
    content: "HOKKAIDO NIIKAPPU BASE CAMP";
    display: block;
    margin: 0 0 clamp(22px, 2.8vw, 34px);
    color: rgba(255, 250, 240, 0.8);
    font-family: var(--font-label);
    font-size: clamp(0.66rem, 0.92vw, 0.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.26em;
    white-space: nowrap;
    text-shadow:
      0 4px 18px rgba(0, 0, 0, 0.62),
      0 1px 0 rgba(0, 0, 0, 0.32);
  }

  .page-top .p-home-hero__title {
    display: grid;
    justify-items: start;
    gap: clamp(4px, 0.72vw, 8px);
    margin: 0;
    color: #fffaf0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.042em;
    text-shadow:
      0 7px 25px rgba(0, 0, 0, 0.66),
      0 1px 0 rgba(0, 0, 0, 0.42),
      0 0 24px rgba(11, 12, 8, 0.3);
  }



  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.38rem, 2.45vw, 1.86rem);
    line-height: 1.16;
    letter-spacing: 0.13em;
    opacity: 0.96;
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(2.85rem, 4.65vw, 4.35rem);
    line-height: 1.05;
    letter-spacing: 0.045em;
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(4.15rem, 6.35vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0.047em;
  }

  .page-top .p-home-hero__title-line--core::after {
    content: "";
    position: absolute;
    left: 0.02em;
    right: 0.12em;
    bottom: -0.14em;
    height: 1px;
    background:
      linear-gradient(
        90deg,
        rgba(255, 250, 240, 0),
        rgba(230, 184, 90, 0.8) 14%,
        rgba(255, 250, 240, 0.64) 64%,
        rgba(255, 250, 240, 0)
      );
    opacity: 0.9;
  }

  .page-top .p-home-hero__lead {
    max-width: 43ch;
    margin: clamp(36px, 4vw, 50px) 0 0;
    color: rgba(255, 250, 240, 0.93);
    font-family: var(--font-body);
    font-size: clamp(0.96rem, 1.18vw, 1.1rem);
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: 0.044em;
    text-shadow:
      0 4px 17px rgba(0, 0, 0, 0.66),
      0 1px 0 rgba(0, 0, 0, 0.32);
  }

  .page-top .p-home-hero__actions {
    display: block;
    margin: clamp(30px, 3.8vw, 44px) 0 0;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    position: relative;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    width: min(100%, 388px);
    min-height: 56px;
    padding: 2px 4px 13px;
    border: 0;
    border-radius: 0;
    border-bottom: 1.5px solid rgba(255, 250, 240, 0.8);
    color: #fffaf0;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-ui);
    font-size: clamp(0.98rem, 1.14vw, 1.08rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.062em;
    text-decoration: none;
    text-shadow:
      0 4px 16px rgba(0, 0, 0, 0.62),
      0 1px 0 rgba(0, 0, 0, 0.28);
    transition:
      color 0.35s var(--ease-out-craft),
      border-color 0.35s var(--ease-out-craft),
      opacity 0.35s var(--ease-out-craft);
  }

  .page-top .p-home-hero .c-button--hero-primary::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.5px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(230, 184, 90, 0.94), rgba(255, 250, 240, 0.72), rgba(230, 184, 90, 0));
    opacity: 0.72;
    transform: scaleX(0.42);
    transform-origin: left center;
    transition:
      opacity 0.35s var(--ease-out-craft),
      transform 0.35s var(--ease-out-craft);
  }


  .page-top .p-home-hero .c-button--hero-primary span[aria-hidden="true"] {
    justify-self: end;
    font-size: 1.2em;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.35s var(--ease-out-craft);
  }

  .page-top .p-home-hero__animal-labels,
  .page-top .p-home-hero__animal-label {
    display: none !important;
  }

  .page-top .p-home-hero__scroll {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(22px, 2.8vw, 34px);
    display: grid;
    justify-items: center;
    gap: 10px;
    color: rgba(255, 250, 240, 0.74);
    font-family: var(--font-label);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.25em;
    text-decoration: none;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.58);
    transform: translateX(-50%);
    transition: color 0.3s var(--ease-out-craft);
  }

  .page-top .p-home-hero__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: clamp(34px, 4vw, 46px);
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(255, 250, 240, 0.14));
    transform-origin: top;
    animation: sec01-scroll-line 2.8s ease-in-out infinite;
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: clamp(820px, 100vh, 980px);
    }
  }
}

@media (min-width: 1024px) {
  .page-top .p-home-hero {
    min-height: clamp(760px, 100svh, 960px);
    min-height: clamp(760px, 100dvh, 960px);
    padding:
      calc(var(--pc-header-height, 82px) + clamp(40px, 4.7vw, 68px))
      var(--side-padding)
      clamp(78px, 7vw, 108px);
  }

  .page-top .p-home-hero::before {
    background:
      radial-gradient(
        ellipse at 19% 45%,
        rgba(2, 7, 7, 0.58) 0%,
        rgba(2, 7, 7, 0.4) 27%,
        rgba(2, 7, 7, 0.16) 48%,
        rgba(2, 7, 7, 0.045) 66%,
        rgba(2, 7, 7, 0) 82%
      ),
      linear-gradient(
        90deg,
        rgba(2, 7, 7, 0.44) 0%,
        rgba(2, 7, 7, 0.28) 27%,
        rgba(2, 7, 7, 0.09) 48%,
        rgba(2, 7, 7, 0.018) 69%,
        rgba(2, 7, 7, 0) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.11) 100%
      );
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    object-position: 54% center;
  }

  .page-top .p-home-hero__content {
    width: min(54%, 620px);
  }

  .page-top .p-home-hero__lead {
    max-width: 43ch;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    width: min(100%, 398px);
  }
}

@media (min-width: 1280px) {
  .page-top .p-home-hero {
    padding-top: calc(var(--pc-header-height, 82px) + clamp(46px, 4.2vw, 74px));
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    object-position: center center;
  }

  .page-top .p-home-hero__content {
    width: min(50%, 626px);
    margin-left: clamp(0px, 1vw, 18px);
  }

  .page-top .p-home-hero__inner::before {
    width: min(52vw, 720px);
  }
}

@media (min-width: 1440px) {
  .page-top .p-home-hero__content {
    width: min(48%, 634px);
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.52rem, 2.1vw, 1.92rem);
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(3.1rem, 4.0vw, 4.35rem);
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(4.55rem, 5.55vw, 5.8rem);
  }
}

@media (min-width: 1800px) {
  .page-top .p-home-hero {
    max-height: 1080px;
  }

}

@media (min-width: 1024px) and (max-height: 820px) {
  .page-top .p-home-hero {
    min-height: max(720px, 100svh);
    min-height: max(720px, 100dvh);
    padding-top: calc(var(--pc-header-height, 82px) + 28px);
    padding-bottom: 68px;
  }

  .page-top .p-home-hero__content::before {
    margin-bottom: 18px;
    font-size: clamp(0.62rem, 0.86vw, 0.72rem);
  }

  .page-top .p-home-hero__title {
    gap: 4px;
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.22rem, 1.85vw, 1.48rem);
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(2.38rem, 3.55vw, 3.1rem);
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(3.55rem, 5vw, 4.62rem);
  }

  .page-top .p-home-hero__lead {
    max-width: 42ch;
    margin-top: 28px;
    font-size: clamp(0.88rem, 0.98vw, 0.96rem);
    line-height: 1.76;
  }

  .page-top .p-home-hero__actions {
    margin-top: 22px;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    min-height: 50px;
    width: min(100%, 362px);
    font-size: clamp(0.9rem, 0.94vw, 0.98rem);
  }

  .page-top .p-home-hero__scroll {
    bottom: 16px;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .page-top .p-home-hero .c-button--hero-primary:hover {
    color: #fffdf5;
    border-bottom-color: rgba(230, 184, 90, 0.98);
    background: transparent;
    box-shadow: none;
    transform: none;
  }


  .page-top .p-home-hero .c-button--hero-primary:hover span[aria-hidden="true"] {
    transform: translate(5px, -1px);
  }

  .page-top .p-home-hero__scroll:hover {
    color: #fffaf0;
  }
}

@keyframes sec01-scroll-line {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleY(0.58);
  }

  50% {
    opacity: 0.92;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .page-top .p-home-hero .c-button--hero-primary,
  .page-top .p-home-hero .c-button--hero-primary::after,
  .page-top .p-home-hero .c-button--hero-primary span[aria-hidden="true"],
  .page-top .p-home-hero__scroll {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Zero Next One BASE NIIKAPPU
   Section 01 / PC v3.1 - Arrival Fine Tune
   Marker: 20260623-sec01-pc-v3-1-01
   --------------------------------------------------------------------------
   Scope:
   - Section 01 only.
   - Complete replacement-ready Section 01 stylesheet based on PC v3.
   - v3.1 adjusts only the PC arrival veil, lead legibility, and guide-line CTA.
   - Reuses the common color, font, spacing, and motion tokens in main.css.
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .page-top .p-home-hero {
    --sec01-ink: var(--color-white-soft, #fffaf0);
    --sec01-accent: var(--color-amber-light, #e6b85a);
    --sec01-copy-max: 590px;

    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(760px, 100svh, 920px);
    min-height: clamp(760px, 100dvh, 920px);
    padding:
      calc(var(--pc-header-height, 82px) + clamp(38px, 6vw, 68px))
      var(--side-padding)
      clamp(72px, 8vw, 104px);
    color: var(--sec01-ink);
    background: #0d120f;
    overflow: hidden;
    isolation: isolate;
  }

  /* Global atmosphere: retain the landscape and darken only what is necessary. */
  .page-top .p-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at 18% 43%,
        rgba(2, 7, 7, 0.56) 0%,
        rgba(2, 7, 7, 0.4) 30%,
        rgba(2, 7, 7, 0.16) 46%,
        rgba(2, 7, 7, 0.035) 58%,
        rgba(2, 7, 7, 0) 72%
      ),
      linear-gradient(
        90deg,
        rgba(2, 7, 7, 0.42) 0%,
        rgba(2, 7, 7, 0.28) 30%,
        rgba(2, 7, 7, 0.08) 45%,
        rgba(2, 7, 7, 0.012) 58%,
        rgba(2, 7, 7, 0) 74%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.11) 0%,
        rgba(0, 0, 0, 0) 28%,
        rgba(0, 0, 0, 0.015) 70%,
        rgba(0, 0, 0, 0.16) 100%
      );
  }

  .page-top .p-home-hero__layers,
  .page-top .p-home-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .page-top .p-home-hero__layers {
    z-index: -4;
  }

  .page-top .p-home-hero__layer,
  .page-top .p-home-hero__layer--full-bg,
  .page-top .p-home-hero__layer--full-bg picture,
  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-top .p-home-hero__layer,
  .page-top .p-home-hero__layer--full-bg {
    position: absolute;
    inset: 0;
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    max-width: none;
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.003);
    transform-origin: center center;
  }

  /* Edge and light protection only; this must not become a second dark curtain. */
  .page-top .p-home-hero__shade {
    z-index: -2;
    background:
      radial-gradient(
        ellipse at 76% 52%,
        rgba(255, 232, 162, 0.06) 0%,
        rgba(255, 232, 162, 0.02) 34%,
        rgba(255, 232, 162, 0) 64%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.015) 24%,
        rgba(0, 0, 0, 0) 66%,
        rgba(0, 0, 0, 0.18) 100%
      );
  }

  .page-top .p-home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    isolation: isolate;
    width: min(var(--pc-visual-max, 1240px), 100%);
    margin: 0 auto;
  }

  /* Local forest shadow behind the copy. No panel, no glass surface. */
  .page-top .p-home-hero__inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: clamp(-46px, -3.6vw, -24px);
    z-index: -1;
    width: min(50vw, 630px);
    height: calc(100% + clamp(104px, 12vw, 160px));
    pointer-events: none;
    transform: translateY(-50%);
    background:
      radial-gradient(
        ellipse at 31% 48%,
        rgba(1, 6, 6, 0.46) 0%,
        rgba(1, 6, 6, 0.3) 34%,
        rgba(1, 6, 6, 0.1) 58%,
        rgba(1, 6, 6, 0) 86%
      );
    filter: blur(7px);
  }

  .page-top .p-home-hero__content {
    position: relative;
    width: min(64%, var(--sec01-copy-max));
    margin: 0;
    padding: 0;
  }

  .page-top .p-home-hero__content::before {
    content: "HOKKAIDO NIIKAPPU BASE CAMP";
    display: block;
    margin: 0 0 clamp(20px, 2.8vw, 30px);
    color: rgba(255, 250, 240, 0.78);
    font-family: var(--font-label);
    font-size: clamp(0.66rem, 1.08vw, 0.76rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.22em;
    white-space: nowrap;
    text-shadow:
      0 4px 16px rgba(0, 0, 0, 0.58),
      0 1px 0 rgba(0, 0, 0, 0.3);
  }

  .page-top .p-home-hero__title {
    display: grid;
    justify-items: start;
    gap: clamp(4px, 0.72vw, 8px);
    margin: 0;
    color: var(--sec01-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-shadow:
      0 7px 24px rgba(0, 0, 0, 0.62),
      0 1px 0 rgba(0, 0, 0, 0.4),
      0 0 22px rgba(11, 12, 8, 0.28);
  }

  .page-top .p-home-hero__title br {
    display: none;
  }

  .page-top .p-home-hero__title-line {
    position: relative;
    display: block;
    white-space: nowrap;
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.28rem, 2.6vw, 1.66rem);
    line-height: 1.16;
    letter-spacing: 0.11em;
    opacity: 0.96;
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(2.65rem, 5.7vw, 3.62rem);
    line-height: 1.055;
    letter-spacing: 0.04em;
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(3.75rem, 7.8vw, 5rem);
    line-height: 0.985;
    letter-spacing: 0.04em;
  }

  .page-top .p-home-hero__title-line--core::after {
    content: "";
    position: absolute;
    right: 0.1em;
    bottom: -0.14em;
    left: 0.02em;
    height: 1px;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        rgba(255, 250, 240, 0),
        var(--sec01-accent) 14%,
        rgba(255, 250, 240, 0.62) 64%,
        rgba(255, 250, 240, 0)
      );
    opacity: 0.9;
  }

  .page-top .p-home-hero__lead {
    max-width: 43ch;
    margin: clamp(32px, 4vw, 46px) 0 0;
    color: rgba(255, 250, 240, 0.94);
    font-family: var(--font-body);
    font-size: clamp(0.97rem, 1.48vw, 1.08rem);
    font-weight: 500;
    line-height: 1.88;
    letter-spacing: 0.034em;
    text-shadow:
      0 4px 16px rgba(0, 0, 0, 0.62),
      0 1px 0 rgba(0, 0, 0, 0.3);
  }

  .page-top .p-home-hero__actions {
    display: block;
    margin: clamp(26px, 3.6vw, 38px) 0 0;
  }

  /* Section 01 uses a guide line, not a filled CTA button. */
  .page-top .p-home-hero .c-button--hero-primary {
    position: relative;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100%, 370px);
    min-height: 53px;
    padding: 2px 3px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.86);
    border-radius: 0;
    color: var(--sec01-ink);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-ui);
    font-size: clamp(0.97rem, 1.38vw, 1.06rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-shadow:
      0 4px 15px rgba(0, 0, 0, 0.58),
      0 1px 0 rgba(0, 0, 0, 0.28);
    transition:
      color 0.35s var(--ease-out-craft),
      border-color 0.35s var(--ease-out-craft),
      opacity 0.35s var(--ease-out-craft);
  }

  .page-top .p-home-hero .c-button--hero-primary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        var(--sec01-accent),
        rgba(255, 250, 240, 0.7),
        rgba(230, 184, 90, 0)
      );
    opacity: 0.84;
    transform: scaleX(0.48);
    transform-origin: left center;
    transition:
      opacity 0.35s var(--ease-out-craft),
      transform 0.35s var(--ease-out-craft);
  }

  .page-top .p-home-hero .c-button--hero-primary span:first-child {
    min-width: 0;
    white-space: nowrap;
  }

  .page-top .p-home-hero .c-button--hero-primary span[aria-hidden="true"] {
    justify-self: end;
    font-size: 1.22em;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.35s var(--ease-out-craft);
  }

  .page-top .p-home-hero__scroll {
    position: absolute;
    z-index: 4;
    bottom: clamp(18px, 2.8vw, 30px);
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 9px;
    color: rgba(255, 250, 240, 0.7);
    font-family: var(--font-label);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.25em;
    text-decoration: none;
    text-shadow: 0 3px 11px rgba(0, 0, 0, 0.56);
    transform: translateX(-50%);
    transition: color 0.3s var(--ease-out-craft);
  }

  .page-top .p-home-hero__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: clamp(30px, 4vw, 42px);
    background:
      linear-gradient(
        180deg,
        rgba(255, 250, 240, 0.78),
        rgba(255, 250, 240, 0.12)
      );
    transform-origin: top;
    animation: sec01-scroll-line 2.8s ease-in-out infinite;
  }

  .page-top .p-home-hero .c-button--hero-primary:focus-visible,
  .page-top .p-home-hero__scroll:focus-visible {
    outline-color: var(--sec01-accent);
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: clamp(760px, 100vh, 920px);
    }
  }
}

@media (min-width: 1024px) {
  .page-top .p-home-hero {
    --sec01-copy-max: 640px;

    min-height: clamp(720px, 100svh, 960px);
    min-height: clamp(720px, 100dvh, 960px);
    padding:
      calc(var(--pc-header-height, 84px) + clamp(40px, 4.8vw, 70px))
      var(--side-padding)
      clamp(72px, 7vw, 108px);
  }

  .page-top .p-home-hero::before {
    background:
      radial-gradient(
        ellipse at 19% 44%,
        rgba(2, 7, 7, 0.54) 0%,
        rgba(2, 7, 7, 0.38) 30%,
        rgba(2, 7, 7, 0.14) 47%,
        rgba(2, 7, 7, 0.03) 60%,
        rgba(2, 7, 7, 0) 76%
      ),
      linear-gradient(
        90deg,
        rgba(2, 7, 7, 0.38) 0%,
        rgba(2, 7, 7, 0.25) 30%,
        rgba(2, 7, 7, 0.07) 46%,
        rgba(2, 7, 7, 0.01) 61%,
        rgba(2, 7, 7, 0) 78%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.012) 72%,
        rgba(0, 0, 0, 0.15) 100%
      );
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    object-position: 56% center;
  }

  .page-top .p-home-hero__inner::before {
    width: min(49vw, 660px);
  }

  .page-top .p-home-hero__content {
    width: min(54vw, var(--sec01-copy-max));
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.38rem, 2.25vw, 1.85rem);
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(2.9rem, 4.55vw, 4.1rem);
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(4rem, 6.05vw, 5.55rem);
  }

  .page-top .p-home-hero__lead {
    font-size: clamp(1rem, 1.18vw, 1.11rem);
    line-height: 1.9;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    width: min(100%, 394px);
    min-height: 55px;
    font-size: clamp(1rem, 1.08vw, 1.08rem);
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: clamp(720px, 100vh, 960px);
    }
  }
}

@media (min-width: 1280px) {
  .page-top .p-home-hero {
    --sec01-copy-max: 650px;

    min-height: clamp(820px, 100svh, 1000px);
    min-height: clamp(820px, 100dvh, 1000px);
    padding-top: calc(var(--pc-header-height, 84px) + clamp(46px, 4.2vw, 74px));
  }

  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    object-position: 52% center;
  }

  .page-top .p-home-hero__content {
    width: min(49vw, var(--sec01-copy-max));
    margin-left: clamp(0px, 1vw, 16px);
  }

  .page-top .p-home-hero__inner::before {
    left: clamp(-52px, -3.6vw, -30px);
    width: min(47vw, 690px);
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.65rem, 2.15vw, 2rem);
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(3.45rem, 4.6vw, 4.35rem);
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(4.85rem, 6.05vw, 6rem);
  }

  .page-top .p-home-hero__lead {
    max-width: 42ch;
    font-size: clamp(1.06rem, 1.18vw, 1.15rem);
  }

  .page-top .p-home-hero .c-button--hero-primary {
    width: min(100%, 406px);
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: clamp(820px, 100vh, 1000px);
    }
  }
}

@media (min-width: 1440px) {
  .page-top .p-home-hero__layer--full-bg img,
  .page-top .p-home-hero__bg-img {
    object-position: center center;
  }

  .page-top .p-home-hero__content {
    width: min(48vw, 660px);
  }

  .page-top .p-home-hero__inner::before {
    width: min(47vw, 720px);
  }
}

@media (min-width: 1800px) {
  .page-top .p-home-hero {
    min-height: clamp(900px, 100svh, 1080px);
    min-height: clamp(900px, 100dvh, 1080px);
    max-height: 1080px;
  }

  .page-top .p-home-hero__inner {
    width: min(1280px, 100%);
  }

  .page-top .p-home-hero__content {
    width: min(46vw, 660px);
    margin-left: 0;
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: clamp(900px, 100vh, 1080px);
    }
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .page-top .p-home-hero {
    min-height: max(700px, 100svh);
    min-height: max(700px, 100dvh);
    padding-top: calc(var(--pc-header-height, 84px) + 24px);
    padding-bottom: 58px;
  }

  .page-top .p-home-hero__content::before {
    margin-bottom: 17px;
    font-size: clamp(0.62rem, 0.84vw, 0.71rem);
  }

  .page-top .p-home-hero__title {
    gap: 3px;
  }

  .page-top .p-home-hero__title-line--place {
    font-size: clamp(1.2rem, 1.82vw, 1.45rem);
  }

  .page-top .p-home-hero__title-line--use {
    font-size: clamp(2.38rem, 3.55vw, 3.08rem);
  }

  .page-top .p-home-hero__title-line--core {
    font-size: clamp(3.5rem, 4.95vw, 4.55rem);
  }

  .page-top .p-home-hero__lead {
    max-width: 42ch;
    margin-top: 25px;
    font-size: clamp(0.89rem, 0.99vw, 0.98rem);
    line-height: 1.74;
  }

  .page-top .p-home-hero__actions {
    margin-top: 20px;
  }

  .page-top .p-home-hero .c-button--hero-primary {
    width: min(100%, 366px);
    min-height: 49px;
    font-size: clamp(0.91rem, 0.95vw, 1rem);
  }

  .page-top .p-home-hero__scroll {
    bottom: 12px;
  }

  @supports not (height: 100dvh) {
    .page-top .p-home-hero {
      min-height: max(700px, 100vh);
    }
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .page-top .p-home-hero .c-button--hero-primary:hover {
    color: #fffdf5;
    border-bottom-color: var(--sec01-accent);
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .page-top .p-home-hero .c-button--hero-primary:hover::after {
    opacity: 0.96;
    transform: scaleX(1);
  }

  .page-top .p-home-hero .c-button--hero-primary:hover span[aria-hidden="true"] {
    transform: translate(4px, -1px);
  }

  .page-top .p-home-hero__scroll:hover {
    color: var(--sec01-ink);
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .page-top .p-home-hero__scroll::after {
    animation: none;
  }

  .page-top .p-home-hero .c-button--hero-primary,
  .page-top .p-home-hero .c-button--hero-primary::after,
  .page-top .p-home-hero .c-button--hero-primary span[aria-hidden="true"],
  .page-top .p-home-hero__scroll {
    transition: none;
  }
}
