.winter-concept__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 35, 65, .48) 0%,
      rgba(0, 55, 95, .20) 45%,
      rgba(0, 30, 55, .42) 100%
    ),
    url("https://snow-resort-hermitage.com/wp-content/uploads/2026/06/LINE_ALBUM_旭川民泊の夏の写真候補_250922_2.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Hero SVG line animation */
.top-hero__title svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* pathは必ず見える状態に戻す */
.top-hero__title svg path {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* 行ごとに動かす */
.top-hero__title svg > g[id] {
  opacity: 0;
  transform: translateY(22px) scale(.98);
  transform-origin: center;
  animation: heroTitleLinePop .85s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* 上から順に */
/* 上の行を最初に出す */
.top-hero__title svg > g[id="aa"] {
  animation-delay: 0s;
}

/* 真ん中以降 */
.top-hero__title svg > g[id="_レイヤー_4"] {
  animation-delay: .18s;
}

.top-hero__title svg > g[id="_レイヤー_5"] {
  animation-delay: .36s;
}

.top-hero__title svg > g[id="_レイヤー_6"] {
  animation-delay: .54s;
}
.top-hero__title svg #aa {
  animation-delay: 0s !important;
}


@keyframes heroTitleLinePop {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(.98);
  }

  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* 英語SVG：上の行を先に出す */
.top-hero__title--en svg > g[id]:nth-of-type(1) {
  animation-delay: 0s !important;
}

.top-hero__title--en svg > g[id]:nth-of-type(2) {
  animation-delay: .18s !important;
}

.top-hero__title--en svg > g[id]:nth-of-type(3) {
  animation-delay: .36s !important;
}

.top-hero__title--en svg > g[id]:nth-of-type(4) {
  animation-delay: .54s !important;
}

/* 日本語SVG：今の設定を維持 */
.top-hero__title--ja svg > g[id="aa"] {
  animation-delay: 0s !important;
}


/* =====================
   Experience Intro
===================== */
.experience-section {
  position: relative;
  overflow: visible;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.82)),
    url("https://snow-resort-hermitage.com/wp-content/uploads/2026/06/ahh2-7.webp");
  background-size: cover;
  background-position: center;
  color: var(--color-text);
}

.experience-intro {
  position: relative;
  z-index: 2;
  padding: 110px 0 90px;

  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: center;
}

@media (min-width: 1025px) {
  .experience-intro {
    width: min(1280px, calc(100vw - 500px));
    margin-left: auto;
    margin-right: 40px;
  }
}

.experience-intro__text {
  min-width: 0;
}

.experience-intro__title {
  width: 100%;
}

.experience-intro__title svg {
  display: block;
  width: clamp(520px, 42vw, 820px);
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.experience-intro__title svg > g {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(26px) scale(.92) rotate(-2deg);
  filter: blur(8px);
}

.experience-intro__title.is-show svg > g {
  animation: titlePop .72s cubic-bezier(.22, 1.35, .36, 1) forwards;
}

.experience-intro__title.is-show svg > g:nth-of-type(1) { animation-delay: .05s; }
.experience-intro__title.is-show svg > g:nth-of-type(2) { animation-delay: .18s; }
.experience-intro__title.is-show svg > g:nth-of-type(3) { animation-delay: .31s; }
.experience-intro__title.is-show svg > g:nth-of-type(4) { animation-delay: .44s; }
.experience-intro__title.is-show svg > g:nth-of-type(5) { animation-delay: .57s; }
.experience-intro__title.is-show svg > g:nth-of-type(6) { animation-delay: .70s; }
.experience-intro__title.is-show svg > g:nth-of-type(7) { animation-delay: .83s; }

@keyframes titlePop {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(.92) rotate(-2deg);
    filter: blur(8px);
  }

  65% {
    opacity: 1;
    transform: translateY(-5px) scale(1.04) rotate(1deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

.experience-intro__body {
  margin-top: 100px;
  margin-left: 18px;
  max-width: 620px;
}

.experience-intro__en {
  margin: 0 0 22px;
  font-family: var(--font-en);
  font-size: clamp(38px, 3vw, 58px);
  line-height: .9;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--color-main-dark);
}

.experience-intro__lead {
  margin: 0;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 2.15;
  letter-spacing: .08em;
}

/* 右にはみ出す写真 */
.experience-intro__visual {
  position: relative;
  width: clamp(360px, 34vw, 620px);
  height: clamp(460px, 46vw, 760px);
  margin-right: -10vw;
  overflow: hidden;
  box-shadow:
    0 28px 80px rgba(0, 45, 75, .18),
    0 0 0 1px rgba(255,255,255,.5) inset;
}

.experience-intro__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease;
}

.experience-intro__visual img.is-active {
  opacity: 1;
  animation: experienceIntroZoom 7s ease forwards;
}

@keyframes experienceIntroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.16);
  }
}
.experience-intro__title.is-show svg > g:last-of-type{
    animation:
      titlePop .72s cubic-bezier(.22,1.35,.36,1) forwards,
      titleBounce .7s ease .95s forwards;
}

@keyframes titleBounce{

  0%{
    transform:translateY(0);
  }

  35%{
    transform:translateY(-8px);
  }

  60%{
    transform:translateY(2px);
  }

  100%{
    transform:translateY(0);
  }

}


/* 4K */
@media (min-width: 1800px) {
  .experience-intro {
    width: min(1580px, 82vw);
    margin: 0 auto;
  }

  .experience-intro__title svg {
    width: clamp(620px, 34vw, 860px);
  }

  .experience-intro__visual {
    width: clamp(520px, 30vw, 760px);
    height: clamp(640px, 38vw, 900px);
    margin-right: -9vw;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .experience-intro {
    width: 100%;
    padding: 82px 6vw 60px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .experience-intro__title svg {
    width: min(520px, 76vw);
  }

  .experience-intro__visual {
    width: min(680px, 88vw);
    height: 420px;
    margin: 0 auto;
  }
}

/* SP */
@media (max-width: 768px) {
  .experience-intro {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 34px;
  }

  .experience-intro__visual {
    order: 1;
    width: calc(100% + 48px);
    height: 340px;
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: 18px;
  }

  .experience-intro__text {
    order: 2;
  }

  .experience-intro__title svg {
    width: min(360px, 90vw);
  }

  .experience-intro__body {
    margin: 68px 20px;
    max-width: 100%;
  }

  .experience-intro__en {
    font-size: 28px;
    letter-spacing: .12em;
  }

  .experience-intro__lead {
    font-size: 14px;
    line-height: 2;
  }
}


/* =====================
   Experience Horizontal Stack
===================== */
.experience-section {
  position: relative;
  overflow: visible;
  background: none;
}

.experience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      rgba(245,250,255,.22),
      rgba(240,248,255,.32)
    ),
    url("https://snow-resort-hermitage.com/wp-content/uploads/2026/06/isvim24dd-7.webp");

  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  pointer-events: none;
}

.experience-intro,
.experience-stack {
  position: relative;
  z-index: 1;
}

/* =====================
   PC (デフォルト)
===================== */
.experience-stack {
  height: calc(135vh * var(--card-count));
  width: min(1680px, calc(100vw - 500px));
  margin-left: auto;
  margin-right: 40px;
}

.experience-stack__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.experience-track {
  display: flex;
  width: 100%;
  height: 74vh;
  gap: 0;
  will-change: transform;
}

.experience-card {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 74vh;
  margin: 0;
  padding: clamp(34px, 2vw, 64px);

  display: grid;
  grid-template-columns: .95fr .85fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;

  background: rgba(255,255,255,.96);
  color: var(--color-text);

  box-shadow:
    0 34px 90px rgba(0,45,75,.18),
    0 0 0 1px rgba(0,93,139,.12) inset;
}

.experience-card--blue {
  background: var(--color-main-dark);
  color: #fff;
}

.experience-card__number {
  position: absolute;
  top: 30px;
  right: 6vw;
  font-family: var(--font-en);
  font-size: clamp(42px, 4vw, 74px);
  letter-spacing: .1em;
}

.experience-card__image {
    align-self: stretch;

    margin-top: calc(clamp(34px, 2vw, 64px) * -1);
    margin-bottom: calc(clamp(34px, 2vw, 64px) * -1);
    margin-left: calc(clamp(34px, 2vw, 64px) * -1);

    overflow: hidden;

    clip-path: polygon(
        0 0,
        88% 0,
        100% 50%,
        88% 100%,
        0 100%
    );
}

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

.experience-card__content h3 {
  margin: 0 0 28px;
  font-family: var(--font-en);
  font-size: clamp(48px, 5vw, 92px);
  line-height: .92;
  font-weight: 500;
}

.experience-card__lead {
  margin: 0 0 28px;
  max-width: 420px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .07em;
}

.experience-card__place {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(0,93,139,.32);
  display: block;
  width: fit-content;
  max-width: 420px;
  overflow: hidden;
}

.experience-card--blue .experience-card__place {
  border-color: rgba(255,255,255,.45);
}

.experience-card__sign {
  position: absolute;
  right: clamp(110px, 4vw, 120px);
  bottom: clamp(22px, 3vw, 42px);
  width: clamp(120px, 15vw, 300px);
}


/* =====================
   Place / Map
===================== */
.experience-card__place-text p {
  font-size: 13px;
  letter-spacing: .06em;
  margin: 0 0 18px;
  line-height: 1.8;
}

.experience-card__place-text p:last-child {
  margin-bottom: 0;
}

.experience-card__place-text a {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .08em;
}


/* =====================
   Sign アニメーション
===================== */
.experience-card__sign svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.experience-card__sign svg path {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  opacity: 0;
}

.experience-card.is-sign-show .experience-card__sign svg path {
  animation: signDraw 1.25s ease forwards;
}

.experience-card.is-sign-show .experience-card__sign svg path:nth-of-type(2) {
  animation-delay: .72s;
}

@keyframes signDraw {
  0%  { stroke-dashoffset: 520; opacity: 0; }
  1%  { opacity: 1; }
  100%{ stroke-dashoffset: 0;   opacity: 1; }
}


/* =====================
   4K
===================== */
@media (min-width: 1800px) {
  .experience-stack {
    width: min(1680px, 82vw);
    margin-left: auto;
    margin-right: auto;
  }
}


/* =====================
   Tablet (max 1024px)
===================== */
@media (max-width: 1024px) {
  .experience-section::before {
    background-attachment: scroll;
  }

  .experience-stack {
    height: calc(135vh * var(--card-count));
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .experience-stack__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .experience-track {
    width: 100%;
    height: auto;
  }

  .experience-card {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    min-height: 74svh;
    margin: 0;
    padding: 28px 20px 34px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .experience-card__number {
    position: relative;
    top: auto;
    right: auto;
    font-size: 42px;
  }

  .experience-card__content h3 {
    font-size: 40px;
  }

  .experience-card__lead {
    font-size: 14px;
    line-height: 2;
  }

  .experience-card__sign {
    position: relative;
    right: auto;
    bottom: auto;
    width: 170px;
    margin-top: 8px;
  }
}


/* =====================
   SP (max 768px)
===================== */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .experience-section {
    overflow: hidden;
  }

  .experience-stack {
    box-sizing: border-box;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px 64px !important;
  }

  .experience-stack__sticky {
    box-sizing: border-box;
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  .experience-track {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .experience-card {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 28px 20px 32px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    overflow: hidden !important;
  }

  .experience-card * {
    box-sizing: border-box;
  }

  .experience-card__number {
    position: relative;
    top: auto;
    right: auto;
    font-size: 34px;
    line-height: 1;
  }

  .experience-card__image img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .experience-card__content h3 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .experience-card__content,
  .experience-card__lead,
  .experience-card__place {
    min-width: 0;
    max-width: 100%;
  }

  .experience-card__lead {
    font-size: 13.5px;
    line-height: 1.85;
    letter-spacing: .04em;
    overflow-wrap: break-word;
  }

  .experience-card__place {
    width: 100%;
    margin-top: 18px;
    padding: 13px 15px;
  }

  .experience-card__place p {
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: break-word;
  }

  .experience-card__sign {
    position: relative;
    right: auto;
    bottom: auto;
    width: 130px;
    margin-top: 4px;
  }

}

.experience-card__place--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: .35s ease;
}

.experience-card__place--link:hover {
  background: #fff;
  color: var(--color-main-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.experience-card__place--link {
  position: relative;
  display: block;
  width: min(100%, 420px);
  padding: 34px 36px;
  border: 1px solid rgba(255,255,255,.78);
  color: #fff;
  text-decoration: none;
  overflow: visible;
  transition: .35s ease;
}

.experience-card__place-label {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .12em;
  font-weight: 600;
  text-align: center;
}

.experience-card__click {
  position: absolute;
  left: -18px;
  top: -24px;
  z-index: 2;

  font-family: var(--font-en);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;

  color: currentColor;

  transform: rotate(-18deg);

  /* 削除 */
  text-shadow: none;

  pointer-events: none;
}

.experience-card__click::before,
.experience-card__click::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: currentColor;
  left: -24px;
  top: 18px;
  transform-origin: right center;
}

.experience-card__click::before {
  transform: rotate(38deg);
}

.experience-card__click::after {
  transform: rotate(-38deg);
  top: 26px;
}

.experience-card__place--link:hover {
  background: rgba(255,255,255,.96);
  color: var(--color-main-dark);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.experience-card__place--link:hover .experience-card__click {
  color: #fff;
  transform: rotate(-18deg) translateY(-3px);
}
@media (max-width: 768px) {
  .experience-card__place--link {
    width: 100%;
    padding: 28px 22px;
  }

  .experience-card__click {
    left: 2px;
    top: -20px;
    font-size: 23px;
  }

  .experience-card__place-label {
    font-size: 13px;
    letter-spacing: .08em;
  }
}

@media (max-width: 1024px) {
  .experience-card__image {
    height: auto;
    min-height: auto;
    margin: 0;
    clip-path: none;
  }

  .experience-card__image img {
    width: 100%;
    height: auto;
    min-height: auto;
    aspect-ratio: 16 / 10;
  }
}
.experience-card__click {
  color: var(--color-main-dark);
}

.experience-card--blue .experience-card__click {
  color: #fff;
}
.experience-card__place {
  position: relative;
  overflow: visible;
}


.photo-gallery-section {
  background-image: url("https://snow-resort-hermitage.com/wp-content/uploads/2026/06/ko93-7.webp")!important;
}

.spring-summer-guide-banner .winter-guide-banner__label {
  color: #6f9f8a;
}

.spring-summer-guide-banner .winter-guide-banner__button {
  border-color: #6f9f8a;
  color: #6f9f8a;
}

.spring-summer-guide-banner:hover .winter-guide-banner__button {
  background: #6f9f8a;
  color: #fff;
}

/* =========================
   Summer Concept SP Background
========================= */
@media (max-width:768px){

  .winter-concept__bg{
    background-image:
      linear-gradient(
        180deg,
        rgba(8,40,30,.38) 0%,
        rgba(25,80,45,.18) 45%,
        rgba(8,35,28,.42) 100%
      ),
      url("https://snow-resort-hermitage.com/wp-content/uploads/2026/06/koko5-8.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

}




/* 青カードのリンクボタン */
.experience-card--blue .experience-card__place--link {
  background: #fff;
  color: var(--color-main-dark);
}

/* 青カードのクリック文字 */
.experience-card--blue .experience-card__place--link .experience-card__click {
  color: var(--color-main-dark);
}

/* 白カードのリンクボタン */
.experience-card--white .experience-card__place--dark {
  background: #163b63;
  color: #fff;
}

/* 白カードのクリック文字だけ青 */
.experience-card--white .experience-card__place--dark .experience-card__click {
  color: #163b63;
}

/* 白カードのラベル文字 */
.experience-card--white .experience-card__place--dark .experience-card__place-label {
  color: #fff;
}