/* CHARACTERSセクション ボタンデザイン統一 */
.characters-section .view-more-btn {
  display: block;
  padding: 12px 60px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans", Helvetica;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  margin: 30px auto 0 auto;
  width: 320px;
  background: transparent;
  border-radius: 0;
}
.characters-section .view-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.characters-section .view-more-btn span {
  display: inline-block;
}

/* CHARACTERSセクション 背景ロゴ中央配置 */
.characters-section {
  position: relative;
}
.characters-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: 0.18;
}
.characters-bg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.characters-section .characters-grid,
.characters-section .section-title,
.characters-section .view-more-btn {
  position: relative;
  z-index: 1;
}
/* ========================================
   ベーススタイル
======================================== */
.LP {
  background-color: #ff5a28;
  width: 100%;
  min-height: 100vh;
  position: relative;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ========================================
   ヒーローセクション（メインビジュアル）
======================================== */
.LP .still {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .LP .still {
    position: relative;
    top: 0;
    order: 2;
    height: 40vh;
    min-height: 300px;
    margin-top: 80px;
    display: block;
  }
}

.LP .image {
  position: absolute;
  top: 361px;
  left: 50%;
  transform: translateX(-50%);
  width: 187px;
  height: 90px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .LP .image {
    position: absolute;
    top: calc(80px + 20vh);
    left: 50%;
    transform: translateX(-50%);
    order: 3;
    width: 140px;
    height: auto;
    z-index: 10;
  }
}

/* ========================================
   ヘッダー（元のスタイルを保持）
======================================== */
.LP .group {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #ff5a28;
  z-index: 1000;
}

@media (max-width: 768px) {
  .LP .group {
    height: 80px;
  }
}

.LP .group-9 {
  position: fixed;
  top: 40px;
  left: 5%;
  width: 153px;
  height: 21px;
  background-image: url(header_logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  display: block;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .LP .group-9 {
    top: 30px;
    width: 120px;
    height: 17px;
  }
}

.LP .navbar {
  position: fixed;
  top: 41px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  z-index: 1001;
}

@media (max-width: 1024px) {
  .LP .navbar {
    gap: clamp(24px, 5vw, 50px);
  }
}

@media (max-width: 768px) {
  .LP .navbar {
    display: none;
  }
}

/* Mobile: show hamburger button and expanded mobile nav */
.menu-toggle {
  display: none; /* show only on mobile */
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  /* show hamburger on mobile; position will be calculated and set by JS so it doesn't overlap social icons */
  .menu-toggle { display: block; position: fixed; top: auto; right: auto; z-index: 1002; }

  /* when mobile menu is opened, show navbar as full-height column */
  .LP .navbar.mobile-open {
    display: flex !important;
    position: fixed;
    top: 80px; /* below header on mobile */
    left: 0;
    right: 0;
  /* let the menu auto-size vertically to its content instead of filling the screen */
  /* remove bottom so height is determined by content */
  transform: none !important;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 80px); /* in case there are many items, allow scrolling */
  /* add a little left padding so items don't butt against the left edge or overlap logo */
  padding-left: 18px;
  padding-bottom: 30px;
  align-items: flex-start;
  /* make the background semi-transparent so the page behind is visible */
  background-color: rgba(255, 90, 40, 0.88);
  /* gentle blur for a nicer overlay effect (Safari/WebKit prefix included) */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    gap: 22px;
    z-index: 1001;
    overflow-y: auto;
  }

  .LP .navbar.mobile-open a {
    font-size: 18px;
    padding: 8px 0;
    display: block;
    color: #ffffff;
  }
}

.LP .navbar a {
  font-family: "Tilt Warp", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(11px, 2vw, 14px);
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.LP .navbar a:hover {
  opacity: 0.7;
}

.LP .group-15 {
  position: fixed;
  top: 26px;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 1001;
}

.LP .group-15 .social-icon {
  display: block;
  width: 48px;
  height: 48px;
  transition: opacity 0.3s ease;
}

.LP .group-15 .social-icon:hover {
  opacity: 0.7;
}

.LP .group-15 .social-icon:nth-child(2) {
  width: 37px;
  height: 42px;
}

.LP .group-15 .social-icon:nth-child(3) {
  width: 44px;
  height: 42px;
}

.LP .group-15 .social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .LP .group-15 {
    top: 20px;
    right: 4%;
    gap: 14px;
  }

  .LP .group-15 .social-icon {
    width: 40px;
    height: 40px;
  }

  .LP .group-15 .social-icon:nth-child(2) {
    width: 32px;
    height: 36px;
  }

  .LP .group-15 .social-icon:nth-child(3) {
    width: 36px;
    height: 35px;
  }
}

/* ========================================
   ヒーローセクション
======================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 720px;
  margin-top: 100px;
  overflow: hidden;
  /* ヒーロー下に空白を追加 */
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .hero-section {
    height: 500px;
    margin-top: 80px;
    margin-bottom: 60px;
  }
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-characters {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
  align-items: flex-end;
  z-index: 2;
}

.hero-characters img {
  height: 400px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-characters img {
    height: 250px;
  }
  
  .hero-characters {
    gap: 10px;
  }
}

.hero-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero-logo {
  width: 200px;
  height: auto;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 150px;
  }
}

/* ========================================
   共通セクションスタイル
======================================== */
.section-title {
  font-family: "Tilt Warp", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(48px, 8vw, 80px);
  text-align: center;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 60px 0;
}

@media (max-width: 768px) {
  .section-title {
    margin: 0 0 40px 0;
  }
}

/* ABOUT セクションの下に広めの空白を追加 */
.about-section {
  margin-bottom: 120px;
}

@media (max-width: 768px) {
  .about-section {
    margin-bottom: 80px;
  }
}

/* STORY セクション（全幅オレンジ背景、中央タイトル、ナローカラム本文） */
.story-section {
  background-color: #ff5a28; /* メインブランドカラー */
  color: #ffffff;
  padding: 120px 5%;
}
.story-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.story-title {
  font-family: "Tilt Warp", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 72px);
  margin: 0 0 48px 0;
  letter-spacing: 0.04em;
}
.story-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.98;
  color: rgba(255,255,255,0.95);
  text-align: center;
}
@media (max-width: 768px) {
  .story-section { padding: 80px 5%; }
  .story-title { font-size: clamp(28px, 8vw, 42px); margin-bottom: 28px; }
  .story-body { font-size: 14px; line-height: 1.8; }
}

/* AI CHAT APP セクション */
.ai-chat-section {
  background-color: #ff5a28;
  color: #ffffff;
  padding: 80px 5% 100px;
  text-align: center;
}
.ai-inner {
  max-width: 920px;
  margin: 0 auto;
}
.ai-title {
  font-family: "Tilt Warp", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(28px, 6vw, 56px);
  /* APP と 準備中 の間を広げる */
  margin: 0 0 40px 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ai-status {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 60px 0; /* 下の間隔を広げる */
  opacity: 0.98;
  letter-spacing: 0.02em;
}
.ai-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}
.ai-social .social-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
}
.ai-social img { width: 100%; height: 100%; object-fit: contain; display:block; }

@media (max-width: 768px) {
  .ai-chat-section { padding: 60px 5% 80px; }
  .ai-title { font-size: clamp(22px, 9vw, 40px); margin-bottom: 24px; }
  .ai-status { font-size: 22px; margin-bottom: 40px; }
}

/* ========================================
   CHARACTERSセクション
======================================== */
.characters-section {
  margin-top: 720px; /* ヒーローセクションの高さ分(100px header + 620px image) */
  padding: 100px 5% 80px;
  background-color: #ff5a28;
}

@media (max-width: 768px) {
  .characters-section {
    margin-top: 0; /* モバイルではヒーローが相対配置なのでマージン不要 */
    padding: 60px 5% 60px;
  }
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6列グリッド（1段目は3列、2段目は2列を中央配置） */
    gap: 0;
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative;
    justify-items: center;
    align-items: center;
    min-height: 450px;
    padding: 20px 0;
}

/* ========================================
   Carousel (characters) styles
   ======================================== */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%; /* 1ページずつ表示 */
  box-sizing: border-box;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
}

.slide-grid {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  align-items: center;
}

/* 行コンテナ */
.slide-grid .characters-row {
  display: grid;
  width: 100%;
  justify-items: center;
  align-items: center;
}

/* 1行目: 3列グリッド */
.slide-grid .row-1 { grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* 2行目: 2列グリッド（中央に並ぶ） */
.slide-grid .row-2 { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 700px; }

.slide-grid .character-item {
  width: clamp(160px, 30vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
}

.slide-grid .character-item img { width: 100%; height: 100%; object-fit: contain; }

/* Slide 1: mobile hero image (hidden by default) */
.slide1-mobile-hero { display: none; }
.slide1-mobile-hero img { width: 100%; max-width: 640px; height: auto; display: block; }

/* Slide 2: 3列 x 2行 のレイアウト */
.slide-grid-3x2 {
  width: 100%;
  max-width: 800px; /* 中央寄せのため縮小 */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.slide-grid-3x2 .character-item {
  width: min(100%, clamp(160px, 30vw, 260px)); /* サイズを大きく */
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

.slide-grid-3x2 .character-item img { width: 100%; height: 100%; object-fit: contain; }

/* 背景ロゴ（元の .characters-grid::before と同様）を各スライドに追加 */
.slide-grid,
.slide-grid-3x2 {
  position: relative; /* ::before を絶対位置で配置するため */
  z-index: 1; /* 擬似要素より前面に表示 */
}

.slide-grid::before,
.slide-grid-3x2::before,
.slide-grid-4x2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background-image: url("image 10.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0.7) saturate(2) hue-rotate(350deg) contrast(1.2);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* Slide 3: 4列 x 2行 のレイアウト */
.slide-grid-4x2 {
  width: 100%;
  max-width: 900px; /* 中央寄せのため縮小 */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.slide-grid-4x2 {
  position: relative; /* 背景::before を配置するため */
  z-index: 1;
}

.slide-grid-4x2 .character-item {
  width: min(100%, clamp(140px, 24vw, 210px)); /* サイズを大きく */
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.slide-grid-4x2 .character-item img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 1024px) {
  .slide-grid-4x2 { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  .slide-grid-4x2 { 
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .slide-grid-4x2 .character-item {
    width: min(100%, clamp(60px, 20vw, 100px));
  }
  
  /* スライド背景ロゴ（擬似要素）のサイズと中央配置をモバイルに最適化 */
  .slide-grid::before,
  .slide-grid-3x2::before,
  .slide-grid-4x2::before {
    width: min(38vw, 200px);
    height: min(38vw, 200px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /* スライド1はモバイルでグリッドを隠すため、スライド自体に背景ロゴを出す */
  .carousel-slide { position: relative; }
  .slide-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(38vw, 200px);
    height: min(38vw, 200px);
    background-image: url("image 10.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.7) saturate(2) hue-rotate(350deg) contrast(1.2);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
  }
  /* ヒーロー画像は背景ロゴの手前に表示 */
  .slide-1 .slide1-mobile-hero { position: relative; z-index: 1; }
  
  /* スライド1の配置（行ごと） */
  .slide-grid { gap: 10px; }
  /* 行全体をコンテンツ幅で中央寄せ（確実に中央に） */
  .slide-grid .characters-row {
    width: max-content; /* コンテンツ幅に縮める */
    margin: 0 auto;     /* 親幅の中央に配置 */
    justify-content: center;
  }
  /* 1行目は3列autoで中央に凝縮 */
  .slide-grid .row-1 { grid-template-columns: repeat(3, auto); column-gap: 10px; row-gap: 0; }
  /* 2行目は2列autoで中央に凝縮 */
  .slide-grid .row-2 { grid-template-columns: repeat(2, auto); column-gap: 10px; row-gap: 0; max-width: none; }
  
  .slide-grid .character-item { width: clamp(80px, 25vw, 130px); }
  
  /* スライド2の配置を維持 */
  .slide-grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .slide-grid-3x2 .character-item {
    width: min(100%, clamp(80px, 25vw, 120px));
  }

  /* Mobile: replace slide 1 grid with a single centered image */
  .slide-1 .characters-grid { display: none; }
  .slide-1 .slide1-mobile-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
  }
  .slide-1 .slide1-mobile-hero img {
    max-width: 95vw; /* 画面幅にほぼフィットさせる */
  }
}

.carousel-control {
  background: transparent;
  border: none;
  color: #ffffff; /* 矢印は白 */
  font-size: 34px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.carousel-control:focus { outline: 2px solid rgba(255,255,255,0.4); }

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: #ffffff; /* 現在ページは白 */
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

@media (max-width: 1024px) {
  .carousel-item { flex: 0 0 calc(100% / 2); }
}

.character-item {
  position: relative;
  width: min(100%, clamp(140px, 28vw, 220px));
  aspect-ratio: 1 / 1;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.character-item:hover {
  transform: translateY(-10px);
}

.character-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block; /* 余計なインライン隙間を排除 */
}

/* 位置指定はグリッドで制御するため明示の座標指定は無効化 */
.character-center,
.character-top,
.character-bottom,
.character-left,
.character-right {
  position: static;
  inset: auto;
  transform: none;
}

@media (max-width: 1024px) {
  .character-item {
    width: min(100%, clamp(110px, 24vw, 180px));
  }
}

@media (max-width: 768px) {
  .character-item {
    width: min(100%, clamp(96px, 40vw, 150px));
  }
}

.view-more-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 16px 48px;
  background-color: #ffffff;
  color: #ff5a28;
  font-family: "Noto Sans", Helvetica;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .view-more-btn {
    padding: 14px 40px;
    font-size: 14px;
  }
}

/* ========================================
   ABOUTセクション
======================================== */
.about-section {
  padding: 100px 5%;
  background-image: url('Still 2025-09-09 112411_1.18.1 1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 5%;
  }
}

.about-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  min-height: 500px;
  padding-right: 3%;
}

@media (max-width: 1024px) {
  .about-content {
    min-height: 400px;
    justify-content: center;
    padding-right: 0;
  }
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.about-text {
  color: #ffffff;
  text-align: center;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-subtitle {
  font-family: "Noto Sans", Helvetica;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 24px;
  line-height: 1.3;
  text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor, 0 0.5px 0 currentColor, 0 -0.5px 0 currentColor;
}

.about-subtitle strong {
  font-weight: 900;
}

.about-description {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: clamp(13px, 2vw, 16px);
  line-height: 2;
  margin: 0 0 30px 0;
}

.about-more-btn {
  display: inline-block;
  padding: 12px 60px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans", Helvetica;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 280px;
}

.about-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .about-subtitle,
  .about-description {
    text-align: center;
  }
}

/* ========================================
   LINE-UPセクション
======================================== */
.lineup-section {
  padding: 100px 5% 80px;
  background-color: #ff5a28;
}

@media (max-width: 768px) {
  .lineup-section {
    padding: 60px 5% 60px;
  }
}

.lineup-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 100%;
  margin: 0 0 60px;
  padding: 0 3%;
}

@media (max-width: 1024px) {
  .lineup-categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .lineup-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
}

.lineup-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

.lineup-category:hover {
  transform: translateY(-10px);
  opacity: 1;
}

  .lineup-category.active {
    opacity: 1;
    transform: scale(1.05);
  }

  .lineup-category img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
  }

.lineup-category span {
  display: none;
}

/* ========================================
   コレクション詳細セクション
======================================== */
.collection-detail {
  display: none;
  padding: 100px 5%;
  margin-bottom: 120px;
  background-image: url('Still 2025-09-09 113331_1.7.1 1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /* 全タブで完全に同じサイズにするため、固定高さを設定 */
  height: 800px;
  box-sizing: border-box;
}

.collection-detail.active {
  display: block;
}

/* GOODS タブだけテキストを下に配置 */
.collection-detail[data-content="goods"] .collection-text-wrapper {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* 右カラム内で要素を下に寄せるため高さを確保 */
  height: 100%;
}

/* GOODS タブ: 右側のタイトル/説明/ボタンだけを下に寄せる */
.collection-detail[data-content="goods"] .collection-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end; /* 右寄せのまま下に揃える */
  height: 100%;
}

/* モバイルでのレイアウト調整 */
@media (max-width: 1024px) {
  /* GOODS タブのモバイル表示を通常に戻す */
  .collection-detail[data-content="goods"] .collection-text-wrapper {
    align-self: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .collection-detail {
    padding: 40px 5%;
    margin-bottom: 60px;
    background-size: cover;
    background-position: center;
    /* モバイルでも固定高さで完全統一 */
    height: auto;
    min-height: 500px;
    box-sizing: border-box;
  }
}

.collection-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
  margin: 0 auto;
  /* 親要素の固定高さに合わせて100%にする */
  height: 100%;
  padding: 0 3%;
}

@media (max-width: 1024px) {
  .collection-content {
    /* min-heightを削除 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
  }
}

.collection-images {
  position: relative;
}

.collection-main-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.collection-text-wrapper {
  flex: 0 0 auto;
  align-self: flex-end;
}

.collection-text {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  text-align: center;
  align-self: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .collection-text-wrapper {
    align-self: center;
    width: 100%;
    margin-bottom: 40px;
  }
  
  .collection-text {
    max-width: 100%;
    align-self: center;
  }
}

.collection-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.collection-logo {
  width: clamp(200px, 40vw, 400px);
  height: auto;
}

@media (max-width: 1024px) {
  .collection-logo {
    margin: 0 auto;
  }
}

.collection-subtitle {
  font-family: "Noto Sans", Helvetica;
  font-weight: 900;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.5;
  margin: 0;
  text-align: center;
  text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor, 0 0.5px 0 currentColor, 0 -0.5px 0 currentColor;
}

.collection-subtitle strong {
  font-weight: 900;
}

.collection-subtitle strong {
  font-weight: 900;
}

@media (max-width: 1024px) {
  .collection-subtitle {
    text-align: center;
    font-size: clamp(16px, 4vw, 24px);
  }
}

@media (max-width: 768px) {
  .collection-subtitle {
    font-size: clamp(14px, 4.5vw, 20px);
    line-height: 1.4;
  }
}

.collection-description {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: clamp(13px, 2vw, 15px);
  line-height: 2;
  text-align: center;
}

.collection-description p {
  margin: 0 0 20px 0;
}

/* モバイルでの説明文調整 */
@media (max-width: 768px) {
  .collection-description {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.8;
    text-align: center;
  }
  
  .collection-description p {
    margin: 0 0 15px 0;
  }
  
  .collection-description br {
    display: none;
  }
}

.collection-more-btn {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans", Helvetica;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: nowrap;
  max-width: fit-content;
}

.collection-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.collection-more-btn span {
  white-space: nowrap;
}

/* モバイルでのボタン調整 */
@media (max-width: 768px) {
  .collection-more-btn {
    padding: 10px 30px;
    font-size: 12px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1024px) {
  .collection-description {
    text-align: center;
  }
}

/* ========================================
   NEWSセクション
======================================== */
.news-section {
  padding: 100px 5% 80px;
  background-color: #ff5a28;
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 5% 60px;
  }
}

.news-list {
  max-width: 800px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-item:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 0;
  }
}

.news-date {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: 14px;
  flex-shrink: 0;
  min-width: 120px;
}

.news-title {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: 16px;
  flex: 1;
}

@media (max-width: 768px) {
  .news-date {
    font-size: 12px;
    min-width: auto;
  }
  
  .news-title {
    font-size: 14px;
  }
}

.view-more-link {
  display: block;
  width: 280px;
  padding: 12px 60px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans", Helvetica;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  margin: 0 auto;
}

.view-more-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.view-more-link span {
  display: inline-block;
}

/* ========================================
   フッター
======================================== */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  background-color: #ff5a28;
  padding: 60px 0;
}

@media (max-width: 768px) {
  .footer-social {
    padding: 40px 0;
    gap: 14px;
  }
}

.footer-social .social-icon {
  display: block;
  width: 48px;
  height: 48px;
  transition: opacity 0.3s ease;
}

.footer-social .social-icon:hover {
  opacity: 0.7;
}

.footer-social .social-icon:nth-child(2) {
  width: 37px;
  height: 42px;
}

.footer-social .social-icon:nth-child(3) {
  width: 44px;
  height: 42px;
}

.footer-social .social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer-social .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-social .social-icon:nth-child(2) {
    width: 32px;
    height: 36px;
  }

  .footer-social .social-icon:nth-child(3) {
    width: 36px;
    height: 35px;
  }
}

.site-footer {
  width: 100%;
  background-color: #ffffff;
  padding: 60px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 30px;
    gap: 30px;
  }
}

.footer-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer-logo {
    width: 160px;
  }
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .footer-links {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
}

.footer-links a {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: 14px;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

.footer-links-secondary {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.footer-links-secondary a {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: 13px;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links-secondary a:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-links a {
    font-size: 12px;
  }
  
  .footer-links-secondary {
    gap: 15px;
    margin-top: 15px;
  }
  
  .footer-links-secondary a {
    font-size: 11px;
  }
}

.copyright {
  font-family: "Noto Sans", Helvetica;
  font-weight: 400;
  font-size: 12px;
  color: #999999;
  text-align: center;
  letter-spacing: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .copyright {
    font-size: 11px;
  }
}

/* NEWSとBLOGを一時的に非表示 */
.navbar .text-wrapper-16, /* NEWS */
.navbar .text-wrapper-17, /* BLOG */
.footer-links a[href="#news"],
.footer-links a[href="#blog"],
#news /* NEWSセクション全体を非表示 */ {
  display: none !important;
}

/* ========================================
   PRODUCT GRID セクション（新規）
   画像＋タイトル＋短い説明を4列グリッドで表示
======================================== */
.product-grid-section {
  padding: 0; /* パディングを削除 */
  background-color: transparent;
}
.product-grid-title {
  color: #ffffff;
  text-align: center;
  font-size: clamp(20px, 3vw, 28px);
  margin: 0 0 32px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; /* カード間隔を広げて見た目をゆったりさせる */
  max-width: 1400px; /* 横幅を広げてより多くの横スペースを使用 */
  margin: 0 auto;
  width: calc(100% - 80px); /* 余白を少なくして横幅を有効活用 */
}
.product-item {
  background: none; /* 背景を無効化 */
  padding: 0; /* パディングを削除 */
  border-radius: 0; /* 角丸を解除してフラットに */
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-item:hover {
  transform: none; /* ホバー時の移動を無効化 */
  box-shadow: none; /* ホバー時のシャドウを無効化 */
}
.product-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}
.product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none; /* 背景を削除 */
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 全面を表示（切り抜かない） */
  object-position: center;
  display: block;
}
.product-title {
  color: #ffffff;
  font-size: 16px;
  margin: 8px 0 6px 0;
  font-weight: 700;
  text-align: center;
}
.product-desc {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  font-weight: 700;
  text-align: center;
}

/* 価格表示の余白と強調 */
.product-price {
  display: inline-block;
  margin-left: 12px; /* 商品名と価格の間のスペースを確保 */
  font-weight: 700;
}

/* セクションタイトルも中央・太字に */
.product-grid-title {
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-grid-section { padding: 40px 5%; }
}

/* ========================================
   右寄せコレクションテキスト
======================================== */
.collection-text-right {
  text-align: right !important;
  align-items: flex-end !important;
}

.collection-text-right .collection-subtitle {
  text-align: right !important;
}

.collection-text-right .collection-description {
  text-align: right !important;
}

.collection-text-right .collection-description p {
  text-align: right !important;
}

.collection-text-right .collection-more-btn {
  margin-left: 0;
  margin-right: 0;
  align-self: flex-end;
}

@media (max-width: 1024px) {
  .collection-text-right {
    text-align: center !important;
    align-items: center !important;
  }
  
  .collection-text-right .collection-subtitle,
  .collection-text-right .collection-description,
  .collection-text-right .collection-description p {
    text-align: center !important;
  }
  
  .collection-text-right .collection-more-btn {
    align-self: center;
  }
}

/* ========================================
   左揃えテキスト（ABOUTセクション用）
======================================== */
.about-text-left {
  align-items: flex-end !important;
}

.about-text-left .about-subtitle {
  text-align: left !important;
  width: 100%;
}

.about-text-left .about-description {
  text-align: left !important;
  width: 100%;
}

.about-text-left .about-more-btn {
  align-self: flex-end;
  margin-left: auto !important;
  margin-right: 0 !important;
}

@media (max-width: 1024px) {
  .about-text-left {
    align-items: center !important;
  }
  
  .about-text-left .about-subtitle,
  .about-text-left .about-description {
    text-align: center !important;
  }
  
  .about-text-left .about-more-btn {
    align-self: center;
  }
}

/* ========================================
   商品詳細ページ（シリーズ別）
======================================== */
.product-page {
  padding: 0 5% 100px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: "Noto Sans", Helvetica;
  font-size: 12px;
  margin: 0 0 40px;
}
.product-breadcrumb a {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
}
.product-breadcrumb a:hover { opacity: 1; }
.product-breadcrumb .sep { opacity: 0.6; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 60px);
  /* 両カラムを同じ高さに揃える（画像の底に右カラムを合わせるため） */
  align-items: stretch;
}

/* ギャラリー */
.product-gallery { width: 100%; }
.product-gallery { width: 100%;
  /* 右カラムと同じ高さに揃えるために縦方向のflexにする */
  display: flex;
  flex-direction: column;
}
.gallery-viewport {
  overflow: hidden;
  border-radius: 0; /* 角丸を解除 */
  /* ギャラリー領域を右カラムの高さに合わせて伸ばす */
  flex: 1 1 auto;
  display: flex;
}
.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.gallery-slide {
  min-width: 100%;
  /* スライドを親の高さに合わせる */
  height: 100%;
  /* 画像をスライド内で上下左右中央に配置する */
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide img {
  display: block;
  /* スライドの領域に収まるよう最大値を指定し、縦横中央寄せを維持 */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* 画像のアスペクトを保ちながら収める */
}
.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.gallery-dots .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 0; padding: 0; cursor: pointer;
}
.gallery-dots .dot[aria-selected="true"] { background: #fff; }

/* 下部中央の「商品一覧へ」ボタン */
.to-lineup-btn {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-block;
  padding: 16px 40px; /* 大きめのタップ領域 */
  min-width: 180px; /* 最小幅を確保 */
  background: none; /* 背景なし */
  color: #ffffff; /* 文字は白 */
  border: 1px solid rgba(255,255,255,0.95); /* 白い枠 */
  border-radius: 0; /* 角ばった四角 */
  text-decoration: none;
  font-family: "Noto Sans", Helvetica;
  font-weight: 700;
  font-size: 17px; /* 読みやすい大きさに */
  letter-spacing: 0.2px;
  text-align: center;
  box-shadow: none; /* 影なしでフラットに */
  z-index: 1200;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}
.to-lineup-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  border-color: #fff;
}
.to-lineup-btn:active { transform: translateX(-50%) scale(0.99); }
.to-lineup-btn:focus { outline: 2px solid rgba(255,255,255,0.12); outline-offset: 2px; }

@media (max-width: 768px) {
  .to-lineup-btn { padding: 14px 28px; font-size: 15px; min-width: 150px; }
}

@media (min-width: 900px) {
  .to-lineup-btn { bottom: 28px; padding: 8px 16px; }
}

/* ---------- 下部 CTA セクション（商品一覧へ） ---------- */
.lineup-cta {
  padding: 56px 0; /* 上下の隙間をさらに増やす */
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* 必要なら色を変える */
}
.lineup-cta-inner { width: 100%; max-width: 980px; padding: 0 5%; display:flex; justify-content:center; }
.lineup-cta-btn {
  display: block; /* 幅を効かせるためブロックに */
  width: 100%; /* コンテナ幅いっぱい */
  max-width: 360px; /* 横幅をさらに縮小 */
  padding: 20px 28px; /* 上下のパディングを増やす（縦方向にゆとり） */
  background: none;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 0;
  text-decoration: none;
  font-family: "Noto Sans", Helvetica;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  transition: none; /* ホバーのアニメーションなし */
  margin: 0 auto; /* 中央寄せ */
}
.lineup-cta-btn:hover { border-color: #fff; }
.lineup-cta-btn:active { transform: translateY(0) scale(0.99); }

@media (max-width: 768px) {
  .lineup-cta { padding: 36px 0; }
  .lineup-cta-btn { padding: 16px 22px; min-width: 120px; font-size: 14px; }
}

/* 右カラム */
.product-info {
  color: #fff;
  font-family: "Noto Sans", Helvetica;
  /* 右カラムを縦方向のflexにして、下寄せできるようにする */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-series {
  font-family: "Tilt Warp", Helvetica;
  /* シリーズ名をやや強調して読みやすくする */
  font-size: clamp(20px, 3vw, 26px);
  /* 上下の余白を増やして行間を広げる */
  margin: 0 0 12px;
  line-height: 1.18;
}
.product-name {
  font-weight: 700;
  /* 商品名を大きく表示する（ブラインドボックス フィギュア等） */
  font-size: clamp(20px, 4vw, 28px);
  /* 商品名と価格の間の余白を広げる */
  margin: 0 0 16px;
  line-height: 1.2;
}
.product-price {
  font-weight: 700;
  /* 価格を少し大きくして視認性を上げる */
  font-size: clamp(18px, 3vw, 20px);
  /* 価格と商品説明の間隔を調整（やや控えめに） */
  margin: 0 0 32px;
}

/* アコーディオン */
.product-accordions { display: grid; gap: 14px; }
.product-accordions {
  /* 下寄せ：利用可能な余白を確保して最後のブロックを画像底に合わせる */
  margin-top: auto;
}
.product-accordions::before {
  /* 商品説明との間隔を確保（アコーディオン自体は下寄せされる） */
  content: '';
  display: block;
  height: 12px;
}
.accordion {
  /* アコーディオンの背景を無しにして、ページ背景と馴染ませる */
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}
.accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600;
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0.8;
}
.accordion[open] > summary::after {
  transform: rotate(-135deg);
}
.accordion-panel {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  line-height: 1.8;
}
.accordion-panel p { margin: 0.5em 0; }

@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  /* モバイル/タブレットでは縦積みになるためギャラリーのstretchは解除 */
  .product-gallery { display: block; }
  .gallery-viewport { display: block; flex: none; }
  .gallery-track { height: auto; }
  .gallery-slide { height: auto; }
}

@media (max-width: 1024px) {
  /* 縦レイアウトでは下寄せ不要なのでリセット */
  .product-accordions { margin-top: 24px; }
  .product-accordions::before { height: 0; }
  .product-info { height: auto; }
}

@media (max-width: 768px) {
  .product-breadcrumb { margin-bottom: 20px; }
}

/* 商品説明（非アコーディオン、背景なし） */
.product-description { background: none; padding: 0; margin-top: 24px; }

/* モバイルでは余白を控えめに */
@media (max-width: 768px) {
  .product-price { margin-bottom: 28px; }
  .product-description { margin-top: 12px; }
}
.product-section-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 18px);
}
.product-section-title {
  /* 見出しの文字間隔を少し広げて可読性を向上（日本語向け） */
  letter-spacing: 0.02em;
}
.product-series {
  /* シリーズ名はロゴ的扱いだが、少しトラッキングを詰めると収まりが良くなる */
  letter-spacing: -0.015em;
}
.product-name {
  /* 商品名は見出しの中核、軽く広げて余白感を出す */
  letter-spacing: 0.01em;
}
.product-price {
  /* 価格は数字中心なので視認性を優先して余白を小さめに */
  letter-spacing: 0.02em;
}
.product-description-body p {
  /* 本文の文字間と行間を調整して可読性を向上
     日本語本文は行間を広めに取り、段落間の余白も増やす */
  letter-spacing: 0.01em;
  margin: 0 0 1em 0;
  line-height: 2.0;
  font-size: 15px;
}