/*========================================*\
 # CONFIG: VARIABLES
\*========================================*/ :root {
  /* Colors */
  --color-primary-pink: #e8707b;
  --color-secondary-blue: #527aa3;
  --color-accent-orange: #e2881f;
  --color-text-brown: #674220;
  --color-background-brick: #fffeef;
  --color-text-white: #fff;
  /* Font */
  --font-family-base: 'M PLUS Rounded 1c', sans-serif;
  /* Font Sizes */
  --fs-base: clamp(14px, 2vw, 18px);
  --fs-small: clamp(11px, 3.3vw, 20px);
  --fs-medium: clamp(12px, 3.3vw, 20px);
  --fs-large: clamp(18px, 5vw, 32px);
  --fs-ptitle: clamp(16px, 4vw, 26px);
  --fs-order: clamp(16px, 3vw, 20px);
  /* Spacing */
  --spacing-lg: 30px;
  --spacing-md: 20px;
  --spacing-sm: 10px;
  /* Transition & Animation */
  --transition-speed: 0.2s;
  --animation-sway-duration: 2s;
  --animation-sway-timing: ease-in-out;
}
/*========================================*\
 # BASE: 基本設定
\*========================================*/
* {
  box-sizing: border-box;
}
body {
  font-family: var(--font-family-base);
}
a {
  cursor: pointer;
  text-decoration: none;
}
sp-br {
  display: none !important;
}
section {
  display: block;
  unicode-bidi: isolate;
}
html {
  scroll-behavior: smooth;
}

/* ======================================== *\
    # COMPONENT: LINEUP (横スクロール)
\* ======================================== */

.lineup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.lineup {
  margin: 0 auto;
  padding-top: 10%;
  width: 35%;
  height: auto;
}

#scrollContainer {
  overflow: hidden;
  position: relative;
  width: 100%;
  touch-action: pan-y;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#scrollTrack {
  display: flex;
  align-items: center; 
  will-change: transform;
}

.scroll_item, 
.lineup_icon {
  flex-shrink: 0; 
  flex-grow: 0;   
  padding: 0 5px; 
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll_item { 
  flex-basis: 210px; 
  width: 210px; 
} 


.lineup_icon { 
  flex-basis:45px; 
  width: 45px; 
}

.scroll_item.scroll_item_02 { 
  flex-basis: 400px; 
  width: 400px; 
} 

.scroll_item.scroll_item_03 { 
  flex-basis: 560px; 
  width: 560px; 
}

.scroll_item img {
  height: 180px;
  width: auto; 
  max-width: 100%; 
  min-height: 180px; 
  object-fit: contain;
  
  border-radius: 8px;
  pointer-events: auto !important;
  -webkit-user-drag: none;
  user-select: none;
  
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
}


/* --- ホバー・アクション設定 --- */
.scroll_item:hover img {
  transform: translateY(-10px) scale(1.05);
  filter: drop-shadow(0 8px 15px rgba(150, 75, 0, 0.2));
}

.scroll_item a:active .scroll_item img {
  transform: scale(0.95);
  filter: brightness(0.9);
}

.scroll_item a {
  -webkit-user-drag: none;
  user-select: none;
  text-decoration: none;
}

/* --- テキスト設定 --- */
.scroll_item p {
  width: 100%;
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: #674220;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  line-height: 1.2;
}
/*========================================*\
 # アニメーション: キーフレーム
\*========================================*/

/* 揺れのキーフレーム */
@keyframes sway01 {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}
@keyframes sway02 {
  0%, 100% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
}
/*========================================*\
 # UTILITY: ANIMATION CLASSES
\*========================================*/
.animation_rotate01 {
      transform-origin: center bottom;
  animation: sway01 var(--animation-sway-duration) var(--animation-sway-timing) infinite alternate;
}
.animation_rotate02 {
      transform-origin: center bottom;
  animation: sway02 var(--animation-sway-duration) var(--animation-sway-timing) infinite alternate;
}
/* フェードアップ */
.fade-up {
  will-change: opacity, transform;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
/* スケールイン */
.scale-in {
  will-change: opacity, transform;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.show {
  opacity: 1;
  transform: scale(1);
}
/* 遅延指定 */
.delay-0.5 {
  transition-delay: 0.02s;
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}
/*TOPへボタン*/
.btn_top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 100px;
  aspect-ratio: 1;
  transition: all .3s;
  z-index: 1000;
}
.btn_top_none {
  opacity: 0 !important;
  pointer-events: none;
}
@media (max-width: 750px) {
  .btn_top {
    width: 60px;
  }
}
/* TOPへボタンアニメーション  */
.btn_top:hover {
  animation: purun 0.6s ease;
}
@keyframes purun {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10% {
    transform: scale(1.1, 0.9) rotate(-3deg);
  }
  20% {
    transform: scale(0.9, 1.1) rotate(3deg);
  }
  30% {
    transform: scale(1.05, 0.95) rotate(-2deg);
  }
  40% {
    transform: scale(0.95, 1.05) rotate(2deg);
  }
  50% {
    transform: scale(1.02, 0.98) rotate(-1deg);
  }
  60% {
    transform: scale(0.98, 1.02) rotate(1deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}