/* =========================================================
   Base
   ========================================================= */
/* style.css の先頭あたり */
@font-face {
  font-family: "Bitcount Grid Single Ink";
  src: url("../fonts/BitcountGridSingleInk.ttf") format("truetype");
  font-weight: 100 900; /* ← レンジを宣言（可変フォント） */
  font-style: normal;
  font-display: swap; /* チラつき防止・読み込み待ちの挙動改善 */
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Americana";
  src: url("../fonts/Americana-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LibreBaskervilleVar";
  src: url("../fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "OutfitVar";
  src: url("../fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "PlayfairVar";
  src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
}

/* =========================================================
   Global Variables
   ========================================================= */

:root {
  --design-w: 1440;
  --design-h: 900;

  --nav-height: 72px;

  --nav-font-family:
    "Arial Black",
    "Archivo Black",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  --nav-font-size: clamp(20px, 2.5vw, 32px);

  --pill-font-size: clamp(12px, 1.3vw, 14px);
  --pill-padding-y: 6px;
  --pill-padding-x: 12px;
  --pill-radius: 6px;

  --info-color: #222;

}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  font-family: sans-serif;
  background: #ffffff;
  color: #111;
}

/* =========================================================
   3D Canvas
   ========================================================= */
#canvas-home {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: auto;
}

/* =========================================================
   Model Loading
========================================================= */

.model-loading {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 135;

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

  display: none;

  
font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: #111;
  text-align: center;

  pointer-events: none;
  white-space: nowrap;
}

.model-loading.is-visible {
  display: block;
}

.model-loading-text {
  margin-bottom: 10px;
}

.model-loading-line {
  width: 320px;
  height: 3px;
  margin: 0 auto;

  overflow: hidden;
}

.model-loading-line::after {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  

  background: #111;

  animation: loadingLine 1.4s ease-in-out infinite;
}

@keyframes loadingLine {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .model-loading {
     font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  }

  .model-loading-line {
    width: 180px;
  }

}
/* =========================================================
   Overlay (共通)
   ========================================================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.overlay.is-open {
  display: block;
}

.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
}

.overlay__window {
  position: absolute;
  inset: 0;
  margin: auto;
  background:#fff;
  color:#111;
  border-radius: 12px;
  box-shadow:0 20px 60px rgba(0,0,0,.25), 0 4px 14px rgba(0,0,0,.15);
  display:flex;
  flex-direction:column;
  max-width: 1100px;
  max-height: 120vh;
  width: 80vw;
  height: auto;
  overflow: hidden;
}

.overlay__head {
  padding: 14px 18px;
  border-bottom:1px solid #eee;
}

.overlay__title {
  margin:0;
  font: 900 16px/1 var(--nav-font-family, "Arial Black", Arial, sans-serif);
  letter-spacing:.02em;
}

.overlay__close {
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
  font:700 20px/1 system-ui;
  cursor:pointer;
}

body.modal-open {
  overflow:hidden;
}

/* =========================================================
   Overlay: About
========================================================= */
.overlay.is-about .overlay__window{
  inset: auto;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%,-50%);
  width: min(1200px, 95vw);
  height: 70vh;
  max-width: none;
  max-height: none;
}

.about-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
  height:100%;
}

.about-hero{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3{
  margin: .2em 0 12px;
  font-size: 22px;
}

.about-text p{
  margin: .3em 0;
}

.about-text a{
  color: #0a42ff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 860px){
  .about-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Overlay: Scene / Object List
========================================================= */
.overlay.is-list .overlay__window{
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 92vw);
  height: 60vh;
  max-width: none;
  max-height: none;
}

.list-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.list-col h4{
  margin: 0 0 10px;
  font: 900 14px/1 var(--nav-font-family, "Arial Black", Arial, sans-serif);
  letter-spacing: .02em;
}

.list-col ul{
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: calc(60vh - 90px);
  overflow: auto;
}

.list-col li{
  margin: 0 0 8px;
}

.list-col a{
  text-decoration: none;
  color: #000;
  font: 700 13px/1.5 var(--nav-font-family, "Arial Black", Arial, sans-serif);
}

.list-col a:hover{
  text-decoration: underline;
}


/* =========================================================
   Star trail / locus symbols
   ========================================================= */

/* trail canvas は常に最前面。ただし通常は非表示 */
#trailCanvas,
.trail-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 99999 !important;
  display: none;
  pointer-events: none !important;
}

/* trail 起動中 */
body.trail-on #trailCanvas,
body.is-trail #trailCanvas,
body.has-trails #trailCanvas,
#trailCanvas.force-visible {
  display: block !important;
}

/* trail canvas: force top layer */
#trailCanvas.on-top {
  z-index: 99999 !important;
}


/* =========================================================
   PC Layout (Flat UI)
========================================================= */
@media (min-width: 769px) {



  /* SP UIもPCでは消す */
  .sp-ui,
  .sp-info-panel,
  .sp-stage-bg,
  .sp-bottom,
  .sp-bottom-art {
    display: none !important;
  }


  .pc-flat-ui {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;

  background: #ffffff;

  /* 画面上端の線 */
  border-top: 1.5px solid #111;

  /* プラスの上に来る線 */
  border-bottom: 1.5px solid #111;

  /* 中身だけ下げる */
  padding-top: 14px;
  padding-bottom: 12px;
}

.pc-flat-top {
  height: auto;
  display: flex;
  align-items: baseline;
  gap: 20px;

  padding: 0 16px;
  border-bottom: none;
  justify-content: flex-start;
}

.pc-brand-btn,
.pc-mail-link,
.pc-cart-btn,
.pc-scene-chip,
.pc-plus-btn {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.pc-scene-strip {
  height: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-start;
  border-bottom: none;
  padding: 0;
  margin-top: 0;
}

.pc-brand-btn,
.pc-scene-chip,
.pc-plus-btn {
  background: transparent !important;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
}
.pc-cart-btn {
  background: #e2e2e2;
}

.pc-scene-chip {
  opacity: 1;
  transition: opacity 0.2s;
}


.pc-scene-chip:hover,
.pc-brand-btn:hover,
.pc-cart-btn:hover,
.pc-mail-link:hover,
.pc-plus-btn:hover {
    opacity: 1;
  color: #575757;  /* ← 好きな色 */
}

.pc-plus-text {
  position: fixed;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  z-index: 100;

  display: none;

  width: auto;
  max-width: 80vw;

  margin: 0;
  padding: 0;

  background: transparent;

  font-size: 26px;
  line-height: 1.05;
  color: #111;
  text-align: center;
  

}


.pc-plus-text.is-open {
  display: block !important;
}

.pc-plus-text p {
  margin: 0 0 8px;
}
.pc-info-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 82px;
  bottom: 40px;
  z-index: 45;

  display: none;

  overflow-y: auto;   /* ← hiddenやめる */
  overflow-x: hidden;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: none;
  padding: 0;
  pointer-events: none;
}

.pc-info-panel.is-open {
  display: block;
}


.pc-info-panel.is-object-info {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.pc-info-panel.is-object-info .pc-info-content {
  left: 12px;
  bottom: 10px;
  top: auto;
  width: min(920px, 58vw);
}

.pc-info-content {
  position: absolute;
  pointer-events: auto;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

/* ① what is this scene：左下 */
.pc-info-panel.is-scene .pc-info-content {
  left: 12px;
  bottom: 10px;
  top: auto;

  width: min(920px, 58vw);

  max-height: calc(100vh - 240px);
  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 12px;
}

/* ② explain locomotion：中央寄り */
.pc-info-panel.is-explain .pc-info-content {
  right: 12px;
  left: 12px;
  top: 28px;
  width: auto;
}

/* ③ privacy：仮で中央寄り */
.pc-info-panel.is-privacy .pc-info-content {
  position: absolute;

  top: 28px;
  left: 18px;
  right: 18px;
  bottom: 0;

  width: auto;

  overflow: visible;
}



.pc-info-content h2 {
  margin: 0 0 4px;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.pc-info-content p {
  margin: 0 0 4px;
  font-size: 23px;
  line-height: 1.08;
}

.pc-info-content img {
  display: block;
  width: 300px;
  margin: 22px 0 0 auto; 
  border: 1px solid #000;
}
  .pc-info-trigger {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 40;

  background: transparent;
  border: none;
  padding: 0;

  font-size: 30px;
  letter-spacing: 0.02em;
  color: #111111;

  cursor: pointer;
}
.pc-info-item {
  font-size: 23px;
  line-height: 1.08;
}

.pc-info-trigger:hover {
  opacity: 0.5;
}

.pc-bottom-links {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 52;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;

  padding: 0 12px 8px;

  background: #ffffff;
  border-top: 1.5px solid #111;

  pointer-events: none;
}

.pc-bottom-link {
  pointer-events: auto;
  background: transparent;

  
  border: none;
  padding: 0;

  font-size: 30px;
  line-height: 1.2;
  color: #111;
  text-decoration: underline;

  cursor: pointer;
}

/* ★ここがキモ */
.pc-bottom-link:nth-child(1) {
  justify-self: start;   /* 左端 */
  text-align: left;
}

.pc-bottom-link:nth-child(2) {
  justify-self: center;
}

.pc-bottom-link:nth-child(3) {
  justify-self: center;
}

.pc-bottom-link:nth-child(4) {
  justify-self: end;     /* 右端 */
  text-align: right;
}
.pc-bottom-link:hover {
   opacity: 1;
  color: #6a6a6a;  /* ← 好きな色 */
}

.pc-scene-chip.is-active {
  opacity: 1;
  color: #111;
  text-decoration: line-through;
  text-decoration-color: #111;
  text-decoration-thickness: 1px;
}

.pc-scene-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 0 16px;
  margin-top: 4px;
}

.pc-plus-btn {
  position: static;
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  z-index: 51;
}

.pc-bottom-link.is-active,
.pc-plus-btn.is-active,
.pc-brand-btn.is-active,
.pc-cart-btn.is-active {
  color: #111;
  text-decoration: line-through;
  text-decoration-color: #111;
  text-decoration-thickness: 1px;
}
.pc-info-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 9999;

  display: block;
  pointer-events: auto;

  background: transparent;
  border: none;
  padding: 0;

  font-size: 64px;
  line-height: 0.8;
  color: #111;

  cursor: pointer;
  text-decoration: none;
}
.legal-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;

  width: 100%;

  max-height: calc(
    100vh
    - var(--pc-top-ui-height)
    - var(--pc-bottom-ui-height)
    - 80px
  );
}

.legal-tabs {
  position: sticky;
  top: 0;
  align-self: start;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.legal-tab {
  background: transparent;
  border: none;
  padding: 0;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  line-height: 1.08;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}

.legal-tab.is-active {
  text-decoration: line-through;
}

.legal-body {
  width: min(1800px, 85vw);
}

.legal-lang-tabs {
  display: flex;
  gap: 12px;
  margin: 0 0 12px;
}

.legal-lang-btn {
  background: transparent;
  border: none;
  padding: 0;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  line-height: 1.08;
  color: #111;

  text-decoration: underline;
  cursor: pointer;
}

.legal-lang-btn.is-active {
  text-decoration: line-through;
}
.about-lang-tabs {
  display: flex;
  gap: 12px;
  margin: 0 0 12px;
}

.about-lang-btn {
  background: transparent;
  border: none;
  padding: 0;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  line-height: 1.08;
  color: #111;

  text-decoration: underline;
  cursor: pointer;
}

.about-lang-btn.is-active {
  text-decoration: line-through;
}

.legal-text {
  font-family: Arial, Helvetica, sans-serif;
  color: #111;

  max-height: calc(
    100vh
    - var(--pc-top-ui-height)
    - var(--pc-bottom-ui-height)
    - 80px
  );

  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 12px;
}

.legal-text h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.legal-text h3 {
  margin: 12px 0 2px;
  font-size: 23px;
  line-height: 1.08;
  font-weight: 400;
}

.legal-text h3:first-child {
  margin-top: 0;
}

.legal-text p {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.12;
}

.pc-info-content .legal-text.is-jp {
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    sans-serif;

  letter-spacing: -0.03em;
}

.pc-info-content .legal-text.is-jp h2 {
  font-size: 22px;
  line-height: 1.04;
  font-weight: 400;
}

.pc-info-content .legal-text.is-jp h3 {
  font-size: 20px;
  line-height: 1.04;
  margin: 10px 0 1px;
  font-weight: 400;
}

.pc-info-content .legal-text.is-jp p {
  font-size: 20px;
  line-height: 1.06;
  margin-bottom: 3px;
}

.legal-hidden-title {
  visibility: hidden;
}

.about-text {
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.about-meta {
  margin-top: 14px !important;

  font-size: 20px !important;
  line-height: 1.1;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  color: #111111;
}

.about-meta a {
  color: inherit;
  text-decoration: underline;
}

.about-meta-sep {
  opacity: 0.5;
}
.about-text p.about-meta {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;

  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-text p.about-meta a {
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  color: inherit;
  text-decoration: underline;
}

.about-text h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.about-text p {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.12;
}

.about-text.is-jp {
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    sans-serif;

  letter-spacing: -0.03em;
}

.about-text.is-jp h2 {
  font-size: 22px;
  line-height: 1.04;
}

.about-text.is-jp p {
  font-size: 20px;
  line-height: 1.06;
}
.about-body {
  width: 100%;
}

.about-image {
  display: block;
  width: 480px;
  margin: 22px 0 0 auto;
}
}

/* =========================================================
   SP Layout (Flat UI)
========================================================= */
@media (max-width: 768px) {

  /* 旧SP UIはいったん非表示 */
  .sp-ui,
  .sp-bottom,
  .sp-info-panel,
  .sp-stage-bg,
  .sp-bottom-art {
    display: none !important;
  }

  /* 新PC UIをSPでも表示 */
  .pc-flat-ui,
  .pc-bottom-links {
    display: block !important;
  }

  /* PC新上部UIをSP用に縮小 */
  .pc-flat-ui {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;

    background: #fff;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;

    padding-top: 6px;
    padding-bottom: 6px;
  }

.pc-flat-top {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
  gap: 2px;

  padding: 0 8px;
}

  .pc-scene-row {
    display: flex;
    align-items: baseline;
    gap: 10px;

    padding: 0 8px;
    margin-top: 4px;

    overflow-x: auto;
    white-space: nowrap;
  }

  .pc-scene-strip {
    display: flex;
    align-items: baseline;
    gap: 6px;

    overflow-x: visible;
    white-space: nowrap;
  }

  .pc-brand-btn,
  .pc-mail-link,
  .pc-cart-btn,
  .pc-scene-chip,
  .pc-plus-btn {
    font-size: 24px;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;

    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;

    background: transparent;
    border: none;
    padding: 0;

    white-space: nowrap;
  }

  .pc-cart-btn {
    background: #e2e2e2;
  }

  /* 下部リンクもSP用に横スクロール */
  .pc-bottom-links {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 52;

    display: flex !important;
    gap: 16px;

    overflow-x: auto;
    white-space: nowrap;

    padding: 6px 8px;

    background: #fff;
    border-top: 1px solid #111;

    pointer-events: auto;
  }

  .pc-bottom-link {
    flex: 0 0 auto;

    font-size: 24px;
    line-height: 1.1;

    background: transparent;
    border: none;
    padding: 0;

    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;

    white-space: nowrap;
  }

  /* 3D canvasは上部・下部UIに少し被ってもOKな確認用 */
  #canvas-home {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
  }

 .pc-plus-text {
  position: fixed;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  z-index: 120;

  display: none !important;

  width: min(100vw, 420px);

  padding: 0;

  background: transparent;

  color: #111;
  text-align: center;

  pointer-events: none;
}

.pc-plus-text.is-open {
  display: block !important;
}

.pc-plus-text p {
  margin: 0;

  font-size: 12px;
  line-height: 1.05;

  
    font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;

  letter-spacing: 0.01em;
}


  .pc-info-panel {
    display: none !important;
    z-index: 80;
  }

  .pc-info-panel.is-open {
    display: block !important;
  }

  .pc-info-close {
    display: block !important;
    position: fixed;
    top: 124px;
    right: 10px;
    z-index: 9999;

    background: transparent;
    border: none;
    padding: 0;

    font-size: 42px;
    line-height: 1;
    color: #111;
  }

  .pc-info-content {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 42px;
    z-index: 81;

    font-family: Arial, Helvetica, sans-serif;
    color: #111;
  }
.pc-info-content h2 {
  margin: 0 0 4px;

  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.pc-info-content p {
  margin: 0 0 4px;

  font-size: 22px;
  line-height: 1.08;
}


  
  .pc-scene-chip.is-active {
    color: #111 !important;
    opacity: 1 !important;

    text-decoration-line: line-through !important;
    text-decoration-color: #111 !important;
    text-decoration-thickness: 2px !important;
    text-decoration-style: solid !important;
  }

 
  .pc-bottom-link.is-active,
  .pc-plus-btn.is-active,
  .pc-brand-btn.is-active,
  .pc-cart-btn.is-active {
    color: #111 !important;

    text-decoration-line: line-through !important;
    text-decoration-color: #111 !important;
    text-decoration-thickness: 2px !important;
    text-decoration-style: solid !important;
  }

   .pc-info-content img {
    display: block;

    width: 72vw !important;
    max-width: 280px !important;
    height: auto !important;

    margin: 18px auto 0 !important;
    object-fit: contain;
  }

}

/* =========================================================
   SP Info Panel Adjustments
========================================================= */
@media (max-width: 768px) {

.pc-info-panel.is-explain .pc-info-content,
.pc-info-panel.is-privacy .pc-info-content {
  position: fixed !important;

  top: var(--sp-top-ui-height, 120px) !important;
  left: 8px !important;
  right: 8px !important;
  bottom: var(--sp-bottom-ui-height, 48px) !important;

  width: auto !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  padding-top: 24px !important;
  padding-bottom: 16px !important;
  box-sizing: border-box !important;
}

.pc-info-panel.is-scene .pc-info-content,
.pc-info-panel.is-object-info .pc-info-content {
  position: fixed !important;

  left: 8px !important;
  right: 8px !important;
  bottom: var(--sp-bottom-ui-height, 48px) !important;
  top: auto !important;

  width: auto !important;

  max-height: calc(100dvh - var(--sp-top-ui-height, 120px) - var(--sp-bottom-ui-height, 48px)) !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  padding-top: 24px !important;
  padding-bottom: 16px !important;
  box-sizing: border-box !important;
  
}
.pc-info-panel.is-scene001-info .pc-info-content {
  padding-top: 24px !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
}

.pc-info-panel.is-other-scene-info .pc-info-content {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  box-sizing: border-box !important;
}
  
}

/* =========================================================
   Info Text Common
========================================================= */

.pc-info-block {
  margin-top: 10px;
}

.pc-info-block strong {
  display: block;
  margin-bottom: 4px;

  font-size: 23px;
  line-height: 1;

  font-weight: 700;

  opacity: 1;
  letter-spacing: 0;
}

/* =========================================================
   Cart Panel
========================================================= */

.cart-panel {
  position: fixed;

  top: var(--pc-top-ui-height, 96px);
  right: 0;
  bottom: var(--pc-bottom-ui-height, 48px);

  width: 340px;
  z-index: 60;

  display: none;

  background: #fff;
  border-left: 1.5px solid #111;

  overflow-y: auto;
}

.cart-panel.is-open {
  display: block;
}

.cart-close {
  position: absolute;

  top: 8px;
  right: 10px;

  background: transparent;
  border: none;

  padding: 0;

  font-size: 48px;
  line-height: 1;

  cursor: pointer;
}

.cart-content {
  padding: 18px 18px 24px;
}

.cart-content h2 {
  margin: 0 0 24px;

  font-size: 32px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.cart-items {
  margin-bottom: 24px;
}

.cart-checkout-btn {
  background: #111;
  color: #fff;

  border: none;

  padding: 12px 18px;

  font-size: 18px;

  cursor: pointer;
}

@media (max-width: 768px) {

  .cart-panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;

    border-left: none;
  }

  .cart-content {
    padding: 20px;
  }

  .cart-content h2 {
    font-size: 28px;
  }
}
.buy-btn {
  background: transparent;
  border: none;
  padding: 0;

  font: inherit;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}
.cart-item {
  margin-bottom: 18px;
}

.cart-total {
  margin-top: 20px;
  padding-top: 12px;

  border-top: 1.5px solid #111;

  font-weight: 700;
}
.pc-cart-btn {
  position: relative;
}

.pc-cart-count {
  position: absolute;
  top: -0.55em;
  right: -0.75em;

  display: none;
  min-width: 1.15em;
  height: 1.15em;

  padding: 0 0.25em;

  border: 1.5px solid #111;
  border-radius: 999px;

  background: #fff;

  font-size: 0.55em;
  line-height: 1.05em;
  text-align: center;
}

.pc-cart-btn.has-count .pc-cart-count {
  display: inline-block;
}

.cart-content h2 {
  margin: 0 0 28px;
  font-size: 32px;
  line-height: 1;
}

.cart-item {
  margin-bottom: 22px;
}

.cart-item > div:first-child {
  font-size: 16px;
  font-weight: 700;
}

.cart-item > div:nth-child(2) {
  margin-top: 3px;
  font-size: 15px;
}

.cart-qty-row {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  border: 1.5px solid #111;
}

.cart-qty-btn {
  width: 28px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.cart-qty-row span {
  min-width: 28px;
  text-align: center;
  border-left: 1.5px solid #111;
  border-right: 1.5px solid #111;
}

.cart-remove-btn {
  display: block;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.cart-total {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1.5px solid #111;
  font-weight: 700;
}

.cart-total {
  display: flex;
  justify-content: space-between;
}

.cart-checkout-btn {
  width: 100%;
  margin-top: 24px;
}