﻿@charset "utf-8";

/* =========================================
   Tablet Base
========================================= */

@media (max-width: 1024px) {
  .page-section__content,
  .horizontal-stage__content,
  .fallback-section__content {
    max-width: 640px;
  }
}

/* =========================================
   Small Tablet / SP Base
========================================= */

@media (max-width: 768px) {
  :root {
    --title-size: clamp(25px, 7.2vw, 42px);
    --text-size: 13px;
    --eyebrow-size: 11px;
    --container-pad-x: 18px;
  }

  .section-nav {
    right: 10px;
  }

  .section-nav__label {
    display: none;
  }

  .site-opening__title {
    line-height: 1.1;
  }

  .site-opening__text {
    margin-top: 16px;
  }

  .horizontal-stage__nav {
    right: 18px;
    bottom: 18px;
  }

  .horizontal-stage__button {
    min-width: 68px;
    padding: 11px 14px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  :root {
    --title-size: clamp(24px, 7vw, 36px);
    --text-size: 12.5px;
  }

  .page-section__content,
  .horizontal-stage__content,
  .fallback-section__content {
    padding-top: 88px;
    padding-bottom: 50px;
  }

  .page-section__text {
    width: 100%;
  }
}

/* =========================================
   SP Blocker Disable
========================================= */

#sp-blocker,
#sp-blocker.is-active {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================
   Responsive Real Mode
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html.is-fallback-scroll .site-main,
  html.is-fallback-scroll .modalbtn,
  html.is-fallback-scroll .header-actions,
  html.is-fallback-scroll .bottom-section-nav {
    visibility: visible !important;
    pointer-events: auto !important;
  }

  html.is-fallback-scroll .global-menu {
    visibility: hidden;
    pointer-events: none;
  }

  html.is-fallback-scroll .global-menu.is-open,
  html.is-fallback-scroll .global-menu.is-closing {
    visibility: visible;
    pointer-events: auto;
  }

  html.is-fallback-scroll .fullpage-shell {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  html.is-fallback-scroll .fullpage-track {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  html.is-fallback-scroll .page-section {
    height: auto !important;
    min-height: 100svh;
    overflow: visible !important;
  }

  html.is-fallback-scroll .js-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  html.is-fallback-scroll .bottom-section-nav {
    display: none !important;
  }
}

/* =========================================
   Horizontal Stage SP Card Mode
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .page-section--horizontal {
    display: grid !important;
    gap: 22px;
    min-height: auto !important;
    padding: 30px 0 54px;
    background: #09090b;
  }

  html.is-fallback-scroll .page-section--horizontal .horizontal-stage,
  html.is-fallback-scroll .page-section--horizontal .horizontal-stage__slides,
  html.is-fallback-scroll .page-section--horizontal .horizontal-stage__sideinfo,
  html.is-fallback-scroll .page-section--horizontal .fp-float.horizontal-set {
    display: contents !important;
  }

  html.is-fallback-scroll .horizontal-stage,
  html.is-fallback-scroll .horizontal-stage__slides {
    position: relative !important;
    inset: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html.is-fallback-scroll .horizontal-stage__item {
    position: relative !important;
    inset: auto !important;

    width: calc(100% - 48px) !important;
    max-width: 720px;
    min-height: 70svh;

    margin-left: auto !important;
    margin-right: auto !important;

    border-radius: 26px;
    overflow: hidden;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    animation: none !important;
    z-index: auto !important;

    background: #111;
    box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  }

  html.is-fallback-scroll .horizontal-stage__media {
    position: absolute !important;
    inset: 0 !important;
  }

  html.is-fallback-scroll .horizontal-stage__media img,
  html.is-fallback-scroll .horizontal-stage__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  html.is-fallback-scroll .horizontal-stage__content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 10;

    min-height: 70svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    max-width: none;
    padding: 43svh 26px 36px;
  }

  html.is-fallback-scroll .page-section__eyebrow,
  html.is-fallback-scroll .horizontal-stage__content .page-section__eyebrow {
    margin-bottom: 18px;
    font-size: 10.5px;
    letter-spacing: 0.18em;
  }

  html.is-fallback-scroll .page-section__title,
  html.is-fallback-scroll .horizontal-stage__content .page-section__title {
    font-size: clamp(25px, 6.7vw, 40px);
    line-height: 1.08;
    letter-spacing: 0.015em;
  }

  html.is-fallback-scroll .page-section__text,
  html.is-fallback-scroll .horizontal-stage__content .page-section__text {
    width: min(520px, 100%);
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.9;
    letter-spacing: 0.055em;
  }

  html.is-fallback-scroll .horizontal-stage__nav,
  html.is-fallback-scroll .section-detail-set,
  html.is-fallback-scroll .page-section_logotitleset {
    display: none !important;
  }

}

/* =========================================
   SP Order
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__item:nth-child(1) { order: 10; }
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(1) { order: 11; }
  html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(1) { order: 12; }

  html.is-fallback-scroll .horizontal-stage__item:nth-child(2) { order: 20; }
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(2) { order: 21; }
  html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(2) { order: 22; }

  html.is-fallback-scroll .horizontal-stage__item:nth-child(3) { order: 30; }
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(3) { order: 31; }
  html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(3) { order: 32; }

  html.is-fallback-scroll .horizontal-stage__item:nth-child(4) { order: 40; }
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(4) { order: 41; }
  html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(4) { order: 42; }

  html.is-fallback-scroll .horizontal-stage__item:nth-child(5) { order: 50; }
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(5) { order: 51; }
  html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(5) { order: 52; }
  
html.is-fallback-scroll .horizontal-stage__item:nth-child(6) { order: 60; }
html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(6) { order: 61; }
html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(6) { order: 62; }

html.is-fallback-scroll .horizontal-stage__item:nth-child(7) { order: 70; }
html.is-fallback-scroll .horizontal-stage__sideinfo-item:nth-child(7) { order: 71; }
html.is-fallback-scroll .fp-float.horizontal-set > :nth-child(7) { order: 72; }
}

/* =========================================
   Horizontal Sideinfo Base
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item {
    position: relative !important;
    inset: auto !important;

    width: calc(100% - 48px) !important;
    max-width: 720px;

    height: auto !important;
    min-height: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    padding: 30px 26px;
    border-radius: 24px;

    overflow: visible !important;

    background: rgba(255,255,255,0.065);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transform: none !important;
    animation: none !important;
    z-index: auto !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-empty {
    display: none !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item h3,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item p {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item h3 {
    margin-bottom: 18px;
    font-size: clamp(17px, 4.7vw, 24px);
    line-height: 1.45;
    letter-spacing: 0.07em;
    font-weight: 400;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item p {
    font-size: 12.5px;
    line-height: 1.95;
    letter-spacing: 0.055em;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item--scroll {
    max-height: none !important;
    overflow: visible !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.membership-table),
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.servicepoint-board),
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.rc-gallery),
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.system-guide-video) {
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }
}

/* =========================================
   FP Float Horizontal Set
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .fp-float.horizontal-set {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;

    z-index: auto !important;
  }

  html.is-fallback-scroll .fp-float.horizontal-set > img,
  html.is-fallback-scroll .fp-float.horizontal-set > video,
  html.is-fallback-scroll .fp-float.horizontal-set > picture {
    display: block !important;
    position: relative !important;
    inset: auto !important;

    width: calc(100% - 48px) !important;
    max-width: 720px;
    height: auto !important;
    aspect-ratio: 16 / 9;

    margin-left: auto !important;
    margin-right: auto !important;

    object-fit: cover;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;

    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  }

  html.is-fallback-scroll .fp-float.horizontal-set > img[src*="blank.png"] {
    display: none !important;
  }

  html.is-fallback-scroll .fp-float.horizontal-set > .autosound-controls {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    order: 13;

    width: calc(100% - 48px) !important;
    max-width: 720px;
    margin: -26px auto 20px !important;
    padding: 0 14px;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    display: flex !important;
    justify-content: flex-end !important;
    pointer-events: auto !important;
    z-index: 30;
  }

  html.is-fallback-scroll .fp-float.horizontal-set > video.js-autosound-video {
    pointer-events: auto !important;
  }
}

/* =========================================
   Membership Table
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.membership-table) {
    width: calc(100% - 48px) !important;
    max-width: 720px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .membership-table,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-active .membership-table,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-text-visible .membership-table {
    position: relative !important;
    inset: auto !important;

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 auto 28px !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    border-radius: 24px;
  }

  html.is-fallback-scroll .membership-table__plans,
  html.is-fallback-scroll .membership-table__row {
    display: grid !important;

    width: 660px !important;
    min-width: 660px !important;
    max-width: none !important;

    grid-template-columns: 132px repeat(3, 176px) !important;
  }

  html.is-fallback-scroll .membership-table__plans {
    align-items: stretch !important;
  }

  html.is-fallback-scroll .membership-table__plans::before {
    content: "" !important;
    display: block !important;
    min-height: 1px !important;
  }

  html.is-fallback-scroll .membership-table__plan {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 66px !important;
    padding: 14px 14px !important;

    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.12em !important;

    white-space: nowrap !important;
  }

  html.is-fallback-scroll .membership-table__row {
    min-height: 68px !important;
  }

  html.is-fallback-scroll .membership-table__row > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 68px !important;
    padding: 14px 14px !important;

    font-size: 11.5px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.04em !important;
    word-break: keep-all !important;
  }

  html.is-fallback-scroll .membership-table__label {
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 11px !important;
  }

  html.is-fallback-scroll .membership-table::after {
    content: "横にスクロールできます";
    display: block;
    width: 100%;
    padding: 8px 12px 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.52);
    text-align: right;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.membership-table) {
    width: calc(100% - 34px) !important;
  }

  html.is-fallback-scroll .membership-table__plans,
  html.is-fallback-scroll .membership-table__row {
    width: 620px !important;
    min-width: 620px !important;
    grid-template-columns: 122px repeat(3, 166px) !important;
  }
}

/* =========================================
   Service Point Board
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .servicepoint-board,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-active .servicepoint-board,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-text-visible .servicepoint-board {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 720px !important;

    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    margin: 0 auto 28px !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;

    overflow: hidden !important;

    border-radius: 24px;
  }

  html.is-fallback-scroll .servicepoint-board__plans {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html.is-fallback-scroll .servicepoint-board__plan {
    min-height: 68px !important;
    padding: 14px 12px !important;
  }

  html.is-fallback-scroll .servicepoint-board__plan span {
    font-size: 10.5px !important;
    letter-spacing: 0.08em !important;
  }

  html.is-fallback-scroll .servicepoint-board__plan strong {
    font-size: 25px !important;
    line-height: 1 !important;
  }

  html.is-fallback-scroll .servicepoint-board__title {
    padding: 18px 20px !important;
  }

  html.is-fallback-scroll .servicepoint-board__title h3 {
    font-size: 20px !important;
    line-height: 1.45 !important;
  }

  html.is-fallback-scroll .servicepoint-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  html.is-fallback-scroll .servicepoint-card {
    display: grid !important;
    grid-template-columns: 1fr 38% !important;
    min-height: 108px !important;
  }

  html.is-fallback-scroll .servicepoint-card__meta {
    padding: 16px 18px !important;
  }

  html.is-fallback-scroll .servicepoint-card__number {
    font-size: 20px !important;
  }

  html.is-fallback-scroll .servicepoint-card__meta h4 {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  html.is-fallback-scroll .servicepoint-card__image {
    min-height: 108px !important;
  }

  html.is-fallback-scroll .servicepoint-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* =========================================
   Gallery / Guide Video
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    max-width: 720px !important;
    height: 360px !important;
    min-height: 360px !important;

    margin: 0 auto 28px !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;

    border-radius: 24px;
    overflow: hidden;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__viewport,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__track,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page {
    height: 360px !important;
    min-height: 360px !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page.is-active,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page:first-child {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  html.is-fallback-scroll .system-guide-video,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-active .system-guide-video,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.is-text-visible .system-guide-video {
    display: block !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 720px !important;
    height: auto !important;
    min-height: 190px !important;
    aspect-ratio: 16 / 9;

    margin: 0 auto 28px !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;

    overflow: hidden;
    border-radius: 24px;
  }

  html.is-fallback-scroll .system-guide-video video,
  html.is-fallback-scroll .system-guide-video img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================
   Countdown
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item--countdown,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.alpine-countdown) {
    display: block !important;
    width: calc(100% - 48px) !important;
    max-width: 720px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 30px 24px !important;

    background: rgba(255,255,255,0.065) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;

    border-radius: 24px;
  }

  html.is-fallback-scroll .alpine-countdown,
  html.is-fallback-scroll .alpine-countdown * {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }

  html.is-fallback-scroll .alpine-countdown__label {
    font-size: 10.5px !important;
    letter-spacing: 0.18em !important;
  }

  html.is-fallback-scroll .alpine-countdown__date {
    font-size: clamp(19px, 5vw, 28px) !important;
    line-height: 1.2 !important;
  }

  html.is-fallback-scroll .alpine-countdown__time strong {
    font-size: clamp(25px, 7vw, 40px) !important;
  }

  html.is-fallback-scroll .alpine-countdown__time em {
    font-size: 10px !important;
  }
}

/* =========================================
   Narrow SP Fine Tune
========================================= */

@media (max-width: 560px) {
  html.is-fallback-scroll .page-section--horizontal {
    gap: 18px;
    padding: 20px 0 20px;
  }
  
  html.is-fallback-scroll .page-section--horizontal.pbnone {
    padding: 20px 0 0px;
  }
  html.is-fallback-scroll .page-section.topup {
    margin-top: -30px;
  }

  html.is-fallback-scroll .horizontal-stage__item,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item,
  html.is-fallback-scroll .fp-float.horizontal-set > img,
  html.is-fallback-scroll .fp-float.horizontal-set > video,
  html.is-fallback-scroll .fp-float.horizontal-set > picture,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item--countdown,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.alpine-countdown) {
    width: calc(100% - 34px) !important;
    border-radius: 22px;
  }

  html.is-fallback-scroll .horizontal-stage__item {
    min-height: 68svh;
  }

  html.is-fallback-scroll .horizontal-stage__content {
    min-height: 68svh;
    padding: 40svh 22px 32px;
  }

  html.is-fallback-scroll .horizontal-stage__content .page-section__title {
    font-size: clamp(24px, 7vw, 34px);
  }

  html.is-fallback-scroll .horizontal-stage__content .page-section__text {
    font-size: 12px;
    line-height: 1.9;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item {
    padding: 26px 22px;
  }
  html.is-fallback-scroll .horizontal-stage__sideinfo-item.spaceclear {
    padding: 0px 0px;
    overflow: hidden !important;
    background: none;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item h3 {
    font-size: clamp(16px, 4.5vw, 21px);
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item p {
    font-size: 12px;
  }

  html.is-fallback-scroll .membership-table__plans,
  html.is-fallback-scroll .membership-table__row {
    min-width: 660px !important;
    grid-template-columns: 132px repeat(3, 176px) !important;
  }

  html.is-fallback-scroll .servicepoint-board__plan strong {
    font-size: 23px !important;
  }

  html.is-fallback-scroll .servicepoint-card {
    grid-template-columns: 1fr !important;
  }

  html.is-fallback-scroll .servicepoint-card__image {
    min-height: 150px !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__viewport,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__track,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page {
    height: 320px !important;
    min-height: 320px !important;
  }
}


/* =========================================
   SP Overflow Text Guard
   nowrap系タイトルの横はみ出し防止
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .page-section__title,
  html.is-fallback-scroll .page-section__title--concept,
  html.is-fallback-scroll .horizontal-stage__content .page-section__title,
  html.is-fallback-scroll .section-side-banner__date,
  html.is-fallback-scroll .section-side-banner__text,
  html.is-fallback-scroll .header-action-btn {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html.is-fallback-scroll .page-section__title br,
  html.is-fallback-scroll .horizontal-stage__content .page-section__title br {
    display: block;
  }

  html.is-fallback-scroll .page-section__title--concept {
    font-size: clamp(24px, 6.3vw, 36px);
    line-height: 1.16;
  }

  html.is-fallback-scroll .page-section__content {
    width: calc(100% - 48px);
    max-width: 720px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .page-section__content {
    width: calc(100% - 50px);
  }
}


/* =========================================
   SP Final Safe Fix 01
   SKIP / Menu / Gallery / Page Title
========================================= */

@media (max-width: 1050px) {

  /* オープニング中は背面メニューを触らせない */
  body:not(.is-opening-finished) .modalbtn,
  body:not(.is-opening-finished) .header-actions {
    pointer-events: none !important;
  }

  .site-opening {
    z-index: 2147483600 !important;
  }

  .site-opening__skip {
    position: fixed !important;
    top: max(20px, env(safe-area-inset-top)) !important;
    right: max(20px, env(safe-area-inset-right)) !important;
    left: auto !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
  }

  /* メニューバーを右上へ */
  .modalbtn {
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    width: 48px !important;
    height: 38px !important;
  }

  /* ギャラリーページだけ調整。中のJS構造は触らない */
  html.is-fallback-scroll #page-gallery .page-section__gallery {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: calc(100% - 34px) !important;
    max-width: 720px !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0 !important;

    margin: 22px auto 28px !important;
    z-index: 4 !important;
  }

  html.is-fallback-scroll #page-gallery .page-section__gallery .rc-gallery {
    height: 80% !important;
    min-height: 0 !important;
  }

  /* コンテンツタイトル復活 */
  html.is-fallback-scroll .page-section .page-section_logotitleset,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset.inner {
    display: block !important;
    position: absolute !important;
    left: 20px !important;
    top: 22px !important;
    z-index: 8 !important;
    opacity: 0.24 !important;
    pointer-events: none !important;
    transform: none !important;
    filter: none !important;
  }

  html.is-fallback-scroll .page-section_logotitleset .char,
  html.is-fallback-scroll .page-section__logotitle {
    font-size: clamp(42px, 14vw, 72px) !important;
    line-height: 0.9 !important;
  }
}

@media (max-width: 560px) {
  .modalbtn {
    top: 20px !important;
    right: 20px !important;
  }

  html.is-fallback-scroll #page-gallery .page-section__gallery {
    width: calc(100% - 28px) !important;
    margin-top: 18px !important;
    transform: translateY(130px) !important;
    aspect-ratio: 1.6 / 1;
  }
}




/* =========================================
   SP Page Logo Title
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .page-section .page-section_logotitleset,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset {
    display: block !important;
    position: absolute !important;
    left: 25px !important;
    top: -35px !important;
    z-index: 12 !important;

    opacity: 0.26 !important;
    visibility: visible !important;
    pointer-events: none !important;

    transform: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  html.is-fallback-scroll .page-section_logotitleset .char,
  html.is-fallback-scroll .page-section__logotitle {
    font-size: clamp(36px, 12vw, 64px) !important;
    line-height: 0.92 !important;
    letter-spacing: 0.004em !important;
    margin-right: 0.004em !important;
  }

  html.is-fallback-scroll .page-section_logotitleset .char:last-child {
    margin-right: 0 !important;
  }

  html.is-fallback-scroll .page-section_logotitleset.is-sp-title-visible .char {
    animation: pageTitleCharFadeUp 0.82s var(--ease-main) forwards;
  }
}
@media (max-width: 560px) {
  html.is-fallback-scroll .page-section .page-section_logotitleset,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset {
    left: 25px !important;
    top: -20px !important;
  }
  html.is-fallback-scroll .page-section_logotitleset.min .char,
  html.is-fallback-scroll .page-section__logotitle.min {
    font-size: clamp(24px, 9vw, 55px) !important;
  }
}

/* =========================================
   SP Inner Page Logo Title
   ※ innerだけここで調整
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .page-section .page-section_logotitleset.inner,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset.inner {
    top: -40px !important;   /* 上下位置 */
    left: 30px !important;   /* 左右位置 */
  }

  html.is-fallback-scroll .page-section_logotitleset.inner .char,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset.inner .char {
    font-size: clamp(22px, 6.4vw, 34px) !important;
    line-height: 0.92 !important;
    letter-spacing: 0.001em !important;
    margin-right: 0.001em !important;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .page-section .page-section_logotitleset.inner,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset.inner {
    top: -40px !important;
    left: 22px !important;
  }

  html.is-fallback-scroll .page-section_logotitleset.inner .char,
  html.is-fallback-scroll .horizontal-stage__item .page-section_logotitleset.inner .char {
    font-size: clamp(21px, 6vw, 30px) !important;
  }
}

/* =========================================
   SP Concept Map Size
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll #page-concept,
  html.is-fallback-scroll .page-section:has(.concept-map-links) {
    overflow-x: clip !important;
  }

  html.is-fallback-scroll .concept-map-links {
    width: min(104vw, 580px) !important;
    height: min(104vw, 580px) !important;

    left: 50% !important;
    top: 49% !important;

    transform: translate(-50%, -50%) !important;

    opacity: 0.92 !important;
    overflow: hidden !important;
    max-width: none !important;
    max-height: none !important;
  }

  html.is-fallback-scroll .concept-map-links > * {
    transform: none !important;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .concept-map-links {
    width: 180vw !important;
    height: 180vw !important;

    left: 50% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;

    overflow: hidden !important;
    max-width: none !important;
    max-height: none !important;
  }
}

/* =========================================
   SP Concept Logo Size
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .fp-float--conceptlogo {
    width: clamp(146px, 29vw, 210px) !important;
    height: auto !important;

    top: 22px !important;
    left: 18px !important;

    opacity: 0.92 !important;
  }

  html.is-fallback-scroll .fp-float--conceptlogo img,
  html.is-fallback-scroll .fp-float--conceptlogo svg {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .fp-float--conceptlogo {
    width: clamp(150px, 33vw, 188px) !important;
    top: 30px !important;
    left: 30px !important;
  }
}

/* =========================================
   SP Sponsor Case Layout
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .sponsor-case-list {
    width: 100%;
    gap: 14px;
    margin-top: 26px;
  }

  html.is-fallback-scroll .sponsor-case-card {
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 18px 18px;
    border-radius: 14px;
  }
  
  html.is-fallback-scroll .sponsor-case-card {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }

  html.is-fallback-scroll .sponsor-case-card__thumb {
    width: 92px;
    grid-row: span 2;
  }

  html.is-fallback-scroll .sponsor-case-card__number {
    font-size: 10.5px;
  }

  html.is-fallback-scroll .sponsor-case-card__body h4 {
    font-size: 14px;
    line-height: 1.55;
  }

  html.is-fallback-scroll .sponsor-case-card__body p {
    font-size: 11.5px;
    line-height: 1.75;
  }
}

/* =========================================
   SP Location Gallery
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll #page-location .page-section__gallery {
    position: relative !important;
    inset: auto !important;
    transform: none !important;

    width: calc(100% - 34px) !important;
    max-width: 720px !important;
    margin: 18px auto 26px !important;
    z-index: 4 !important;
  }

  html.is-fallback-scroll .location-gallery {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    width: 100% !important;
    height: 520px !important;
    margin: 0 auto !important;
    transform: none !important;
    overflow: hidden !important;
  }

  html.is-fallback-scroll .location-gallery__page {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 12px !important;
  }

  html.is-fallback-scroll .location-gallery__time {
    min-width: 82px !important;
    min-height: 23px !important;
    margin-bottom: 7px !important;
    padding: 0 12px !important;
    font-size: 9px !important;
  }

  html.is-fallback-scroll .location-gallery__item h3 {
    min-height: 36px !important;
    margin-bottom: 8px !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
  }

  html.is-fallback-scroll .location-gallery__item figure {
    aspect-ratio: 16 / 8.8 !important;
  }
}

@media (max-width: 560px) {

  html.is-fallback-scroll #page-location .page-section__gallery {
    transform: translateY(160px) !important;
  }

  html.is-fallback-scroll .location-gallery {
    height: 430px !important;
  }

  html.is-fallback-scroll .location-gallery__page {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, auto) !important;

    align-content: start !important;

    gap: 8px !important;
  }

  html.is-fallback-scroll .location-gallery__item {
    display: grid !important;

grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
column-gap: 14px !important;
row-gap: 0 !important;
margin-bottom: 14px !important;

    column-gap: 10px !important;

    align-items: center !important;
    text-align: left !important;

    min-height: 0 !important;
  }

html.is-fallback-scroll .location-gallery__item figure {
  grid-row: 1 / 3 !important;
  grid-column: 1 !important;

width: 100% !important;
aspect-ratio: 4 / 2.7 !important;
margin: 0 !important;

  border-radius: 8px !important;
}

  html.is-fallback-scroll .location-gallery__time {
    grid-column: 2 !important;

    justify-self: start !important;

    min-width: 74px !important;
    min-height: 20px !important;

    margin: 0 0 2px !important;
    padding: 0 10px !important;

    font-size: 8.5px !important;
  }

  html.is-fallback-scroll .location-gallery__item h3 {
    grid-column: 2 !important;

    min-height: 0 !important;
    margin: 0 !important;

    font-size: 10px !important;
    line-height: 1.38 !important;

    letter-spacing: 0.04em !important;
  }

  html.is-fallback-scroll .location-gallery__arrow {
    width: 44px !important;
    height: 44px !important;
  }

  html.is-fallback-scroll .location-gallery__arrow--prev {
    left: 10px !important;
  }

  html.is-fallback-scroll .location-gallery__arrow--next {
    right: 10px !important;
  }

  html.is-fallback-scroll .location-gallery__counter {
    bottom: 0px !important;
  }

  .location-gallery-modal__inner {
    width: 92vw !important;
    border-radius: 16px !important;
  }

  .location-gallery-modal__image {
    max-height: 56vh !important;
  }
}


/* =========================================
   SP First Boot / Table Scroll Stabilize
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .membership-table {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x pan-y !important;
  }

  html.is-fallback-scroll .membership-table__plans,
  html.is-fallback-scroll .membership-table__row {
    min-width: 620px !important;
  }
}



.sp-page-section_titleset {
  display: none;
}

@media (max-width: 560px) {
  html.is-fallback-scroll .sp-page-section_titleset {
    display: flex !important;
    align-items: center;
    justify-content: center;

    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;

    width: 100% !important;
    height: 60px;

    margin-bottom: 20px;
    padding: 0 18px;

    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    pointer-events: none;
  }

html.is-fallback-scroll .sp-page-section_titleset p {
  margin: 0;
  position: relative;

  font-family:
    "Cormorant Garamond",
    "Shippori Mincho",
    "Noto Serif JP",
    "Yu Mincho",
    serif;

  color: #fff;

  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 500;

  text-align: center;
  white-space: nowrap;
}

html.is-fallback-scroll .sp-page-section_titleset p::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -24px;

  width: 50px;
  height: 1px;

  background: rgba(255,255,255,0.88);

  transform: translateX(-50%);
}
}

/* =========================================
   SP SideInfo Gallery Click Guard
   SP fallback vertical mode
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.rc-gallery) {
    pointer-events: auto !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery {
    pointer-events: auto !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page * {
    pointer-events: none !important;
  }

  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page.is-active,
  html.is-fallback-scroll .horizontal-stage__sideinfo-item .rc-gallery__page.is-active * {
    pointer-events: auto !important;
  }
}

/* =========================================
   SP Location Gallery Switcher Fix
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll #page-location .location-gallery-switcher {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    height: 520px !important;

    margin: 0 auto !important;
    transform: none !important;

    overflow: visible !important;
  }

  html.is-fallback-scroll #page-location .location-gallery-switcher .location-gallery {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    transform: none !important;
  }

  html.is-fallback-scroll #page-location .location-gallery-tabs {
    top: -46px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 120 !important;
  }

  html.is-fallback-scroll #page-location .location-gallery-tabs button {
    height: 34px !important;
    min-width: 104px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll #page-location .location-gallery-switcher {
    height: 430px !important;
  }

  html.is-fallback-scroll #page-location .location-gallery-tabs {
    top: -60px !important;
    gap: 8px !important;
  }

  html.is-fallback-scroll #page-location .location-gallery-tabs button {
    height: 32px !important;
    min-width: 98px !important;
  }
}

/* =========================================
   SP Fix: Alpine SideInfo Location Gallery
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll .horizontal-stage__sideinfo-item:has(.location-gallery--sideinfo) {
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }

  html.is-fallback-scroll .location-gallery.location-gallery--sideinfo {
    position: relative !important;
    inset: auto !important;

    display: block !important;

    width: 100% !important;
    max-width: 720px !important;
    height: auto !important;
    min-height: 520px !important;

    margin: 0 auto 34px !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;

    pointer-events: auto !important;
  }

  html.is-fallback-scroll .location-gallery--sideinfo .location-gallery__viewport,
  html.is-fallback-scroll .location-gallery--sideinfo .location-gallery__track {
    height: 520px !important;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .location-gallery.location-gallery--sideinfo {
    min-height: 470px !important;
  }
  html.is-fallback-scroll .location-gallery--sideinfo .location-gallery__viewport,
  html.is-fallback-scroll .location-gallery--sideinfo .location-gallery__track {
    height: 470px !important;
  }
  html.is-fallback-scroll .location-gallery.location-gallery--sideinfo.three {
    min-height: 400px !important;
  }
  html.is-fallback-scroll .location-gallery--sideinfo.three .location-gallery__viewport,
  html.is-fallback-scroll .location-gallery--sideinfo.three .location-gallery__track {
    height: 400px !important;
  }
  html.is-fallback-scroll .location-gallery.two,
  html.is-fallback-scroll #page-location .location-gallery-switcher .location-gallery.two {
    min-height: 300px !important;
    height: 300px !important;
  }
  html.is-fallback-scroll .location-gallery.two .location-gallery__viewport,
  html.is-fallback-scroll .location-gallery.two .location-gallery__track {
    height: 300px !important;
  }
}


/* =========================================
   SP Fix: Tabbed RC Gallery Height
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll #page-gallery .page-section__gallery {
    aspect-ratio: auto !important;
    height: 76svh !important;
    min-height: 560px !important;
    margin: 28px auto 42px !important;
  }

  html.is-fallback-scroll #page-gallery .page-section__gallery .rc-gallery--tabbed {
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll #page-gallery .page-section__gallery {
    aspect-ratio: auto !important;
    height: 50svh !important;
    min-height: 350px !important;
    transform: translateY(100px) !important;
  }

  html.is-fallback-scroll #page-gallery .rc-gallery--tabbed .rc-gallery__viewport {
    height: calc(100% - 48px) !important;
  }
}

/* =========================================
   About CTA Duplicate Fix
========================================= */

/* PCではSP用を消す */
.about-all-button--sp {
  display: none !important;
}

/* SPではPC用を消す */
@media (max-width: 1050px) {
  html.is-fallback-scroll #page-about .about-all-button--pc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html.is-fallback-scroll #page-about .about-all-button--sp {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}


/* =========================================
   SP LTGR MAP PANEL
========================================= */

@media (max-width: 1050px) {

  html.is-fallback-scroll #page-pattaya .ltgr-map-panel {
    position: relative;

    width: 100%;
    max-width: 520px;
    height: auto;

    margin: 24px auto 42px;

    left: auto !important;
    right: auto !important;
    top: auto !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    pointer-events: auto !important;
  }

  html.is-fallback-scroll #page-pattaya .ltgr-map-panel img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
  }

  html.is-fallback-scroll #page-pattaya .ltgr-map-hotspot {
    position: absolute;
    z-index: 50;

    display: block;

    pointer-events: auto !important;
    cursor: pointer;
  }

}
@media (max-width: 560px) {
  html.is-fallback-scroll #page-pattaya .ltgr-map-panel {
    width: 120%;
    transform: translateX(-10%) !important;
  }
}


/* =========================================
   SP Split Gallery Layout
========================================= */

@media (max-width: 1050px) {
  html.is-fallback-scroll #page-gallery.page-section--split-gallery .page-section__content {
    display: none !important;
  }

  html.is-fallback-scroll #page-gallery.page-section--split-gallery .page-section__gallery {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: calc(100% - 34px) !important;
    max-width: 720px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;

    margin: 0px auto 0px !important;
    padding-top: 100px;
    transform: none !important;
  }

  html.is-fallback-scroll .gallery-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  html.is-fallback-scroll .gallery-split-panel {
    min-height: 360px;
  }

  html.is-fallback-scroll .rc-gallery--split {
    height: 360px !important;
  }

  html.is-fallback-scroll .gallery-split-label {
    margin-bottom: 12px;
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  html.is-fallback-scroll .gallery-split-panel {
    min-height: 310px;
  }

  html.is-fallback-scroll .rc-gallery--split {
    height: 310px !important;
  }
}