@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
  /* Colors */
  --color-primary: #2f5233;
  --color-secondary: #d4af37;
  --color-accent: #f4d03f;
  --color-base: #f9f9f7;
  --color-surface: #ffffff;
  --color-text-main: #2c3e50;
  --color-text-muted: #7f8c8d;
  --color-border: #e2e8f0;

  /* Typography */
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;

  /* Spacing & Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --header-height: 80px;
}

/* Base Styles */
body {
  font-family: var(--font-jp);
  background-color: var(--color-base);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-en), var(--font-jp);
  font-weight: 700;
  line-height: 1.3;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-color: #264229;
}
.btn.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Card Style (Bento Grid Base) */
.bento-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
/* --- Extracted Styles --- */

/* From ./parts/common-header.html */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  box-shadow: var(--shadow-sm);
}

/* ロゴエリア */

header .logo-area {
  flex: 1;
  display: flex;
  align-items: center;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 40px;
  width: auto;
}

/* ナビゲーション共通 */

header .nav a {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 500;
  font-family: var(--font-en), var(--font-jp);
  transition: color 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

header .nav a:hover {
  color: var(--color-primary);
}

header .nav a.active {
  color: var(--color-primary);
  font-weight: 700;
}

header .nav a.cta-link {
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

header .nav a.cta-link:hover {
  background-color: #264229;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* デスクトップナビゲーション */

header .nav.desktop-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  header .nav.desktop-nav {
    display: flex;
  }
}

/* モバイルナビゲーション */

header .nav.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  z-index: 40;
  background-color: var(--color-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition:
    opacity 300ms ease-in-out,
    visibility 300ms;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 900px) {
  header .nav.mobile-nav {
    display: none;
  }
}

header .nav.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
}

header .nav.mobile-nav a.cta-link {
  font-size: 1.25rem;
  padding: 16px 48px;
}

/* メニューボタン */

header .menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  header .menu-btn {
    display: none;
  }
}

header .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-text-main);
}

/* スクロール時のスタイル */

header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

/* モバイルナビゲーションが開いているときのスタイル */

header.open .mobile-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* From ./parts/index-hero.html */

#hero {
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
}

#hero .hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  #hero .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    display: flex;
    flex-direction: column-reverse; /* スマホでは画像を上に */
  }
}

#hero .hero-text {
  /* max-width: 600px; */
}

@media (max-width: 900px) {
  #hero .hero-text {
    text-align: center;
    margin: 0 auto;
  }
}

#hero .hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  #hero .hero-text h1 {
    font-size: 2rem;
    line-height: 1.4;
  }
}

#hero .hero-text h1 .sub {
  display: block;
  font-size: 1.125rem;
  color: var(--color-secondary); /* ゴールド */
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

#hero .hero-text p.lead {
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0.9;
}

#hero .hero-text .cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 900px) {
  #hero .hero-text .cta-group {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
}

#hero .hero-text .btn-large {
  padding: 16px 40px;
  font-size: 1.125rem;
  border-radius: var(--radius-full);
  min-width: 200px;
}

@media (max-width: 900px) {
  #hero .hero-text .btn-large {
    width: 100%;
    max-width: 300px;
  }
}

#hero .hero-image {
  position: relative;
  padding: 20px;
}

/* 背景装飾のための余白 */

#hero .hero-image .image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3; /* 写真のアスペクト比 */
  position: relative;
  z-index: 2;
  background-color: var(--color-surface);
}

#hero .hero-image .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01); /* 隙間防止 */
}

/* 背景の装飾的な正方形（Bento Grid感） */

#hero .hero-image .deco-bg {
  position: absolute;
  z-index: 1;
  border-radius: var(--radius-lg);
}

#hero .hero-image .deco-bg.deco-1 {
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  background-color: #e8f5e9; /* 薄い緑 */
  transform: rotate(3deg);
}

#hero .hero-image .deco-bg.deco-2 {
  bottom: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background-color: #fffde7; /* 薄い黄色 */
  transform: rotate(-3deg);
}

/* キラカードのような光のエフェクト */

#hero .hero-image::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.2) 0%,
    transparent 70%
  );
  filter: blur(20px);
  z-index: 0;
}

/* From ./parts/index-concept.html */

#concept {
  background-color: var(--color-base);
  position: relative;
  overflow: hidden;
}

/* 背景アクセント */

#concept::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#concept .concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  #concept .concept-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

#concept .text-content h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  #concept .text-content h2 {
    font-size: 1.75rem;
  }
}

#concept .text-content p {
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: justify;
}

#concept .text-content p:last-child {
  margin-bottom: 0;
}

#concept .text-content .catch-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#concept .image-content {
  position: relative;
}

#concept .image-content .main-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
  border: 8px solid var(--color-surface);
}

#concept .image-content .main-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

#concept .image-content .main-card:hover {
  transform: rotate(0) scale(1.02);
}

#concept .image-content .decoration-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(5deg);
  border: 4px solid var(--color-surface);
}

#concept .image-content .decoration-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

/* 装飾的な円 */

#concept .image-content::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232F5233' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  border-radius: 50%;
  opacity: 0.6;
}

/* From ./parts/index-intro.html */

.intro-section {
  background-color: var(--color-base);
  position: relative;
  overflow: hidden;
}

/* 背景装飾 */

.intro-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(244, 208, 63, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}

.intro-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.intro-section .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .intro-section .section-header h2 {
    font-size: 1.8rem;
  }
}

.intro-section .section-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.intro-section .features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(280px, auto));
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .intro-section .features-grid {
    grid-template-rows: auto;
    grid-auto-rows: minmax(280px, auto);
  }
}

.intro-section .feature-item {
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.intro-section .feature-item.large-photo {
  grid-column: span 7;
  grid-row: span 2;
  background-color: #000; /* 画像読み込み前用 */
  color: white;
}

@media (max-width: 900px) {
  .intro-section .feature-item.large-photo {
    grid-column: span 12;
    grid-row: span 1;
    height: 400px;
  }
}

.intro-section .feature-item.large-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: 1;
}

.intro-section .feature-item.large-photo .content {
  position: relative;
  z-index: 2;
}

.intro-section .feature-item.large-photo .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.intro-section .feature-item.large-photo:hover .bg-img {
  transform: scale(1.05);
}

.intro-section .feature-item.specs {
  grid-column: span 5;
  background-color: white;
  border: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .intro-section .feature-item.specs {
    grid-column: span 12; /* スマホなら全幅 */
  }
  @media (min-width: 600px) {
    .intro-section .feature-item.specs {
      grid-column: span 6; /* タブレットなら半分 */
    }
  }
}

.intro-section .feature-item.specs .icon-box {
  width: 48px;
  height: 48px;
  background-color: rgba(47, 82, 51, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  color: var(--color-primary);
}

.intro-section .feature-item.play {
  grid-column: span 5;
  background-color: var(--color-primary);
  color: white;
  overflow: hidden;
}

@media (max-width: 900px) {
  .intro-section .feature-item.play {
    grid-column: span 12;
  }
  @media (min-width: 600px) {
    .intro-section .feature-item.play {
      grid-column: span 6;
    }
  }
}

.intro-section .feature-item.play .circle-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.intro-section .feature-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.intro-section .feature-item p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* From ./parts/index-rarity.html */

/* Section specific styles */
#rarity {
  background-color: var(--color-base);
  position: relative;
  overflow: hidden;
}
/* 背景装飾 */
#rarity::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}

.rarity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .rarity-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: 48px;
  }
}

.rarity-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card Design */
.rarity-card {
  width: 100%;
  /* トレーディングカード比率 63:88 */
  aspect-ratio: 63/88;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: white;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  margin-bottom: 24px;

  /* 境界線 */
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.rarity-card .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Rarity Labels & Info */
.rarity-info {
  text-align: center;
  width: 100%;
}

.rarity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

/* NORMAL Styles */
.badge-normal {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* KIRA Styles */
.badge-kira {
  background: linear-gradient(135deg, #fff0f5 0%, #e6e6fa 100%);
  color: #c71585;
  border: 1px solid rgba(199, 21, 133, 0.2);
}

/* 疑似的なホログラム効果 */
.kira-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 255, 255, 0.2) 45%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent 75%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.8;
}

/* SECRET Styles */
.badge-secret {
  background: linear-gradient(to right, #2c3e50, #000000);
  color: #f4d03f;
  border: 1px solid #f4d03f;
}

.secret-border-glow {
  position: absolute;
  inset: 0;
  border: 4px solid #d4af37;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Typography */
.rarity-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.rarity-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* From ./parts/index-lineup.html */

#lineup {
  background-color: var(--color-base);
  position: relative;
  overflow: hidden;
}

#lineup .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

#lineup .section-title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  #lineup .section-title {
    font-size: 2.5rem;
  }
}

#lineup .section-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Tabs */

#lineup .tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 1rem;

  /* Mobile Scroll */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; /* Scrollbar space */

  /* Hide Scrollbar */
  scrollbar-width: none;
}

#lineup .tabs-container::-webkit-scrollbar {
  display: none;
}

#lineup .tabs-wrapper {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.5);
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

#lineup .tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

#lineup .tab-btn.active {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

#lineup .tab-btn:hover:not(.active) {
  color: var(--color-primary);
  background-color: rgba(47, 82, 51, 0.1);
}

/* Grid */

#lineup .lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  #lineup .lineup-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  #lineup .lineup-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */

#lineup .beetle-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

#lineup .beetle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Rarity Styles */

#lineup .beetle-card.rarity-kira {
  border: 2px solid var(--color-secondary);
}

#lineup .beetle-card.rarity-kira::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(212, 175, 55, 0.2) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: 10;
  pointer-events: none;
}

#lineup .beetle-card.rarity-secret {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: white;
  border: 1px solid #4a5568;
}

#lineup .beetle-card.rarity-secret .card-name {
  color: white;
}

#lineup .beetle-card.rarity-secret .card-sci-name {
  color: #a0aec0;
}

#lineup .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #f1f5f9;
}

#lineup .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#lineup .card-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

#lineup .badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#lineup .badge.bg-normal {
  background-color: #e2e8f0;
  color: #64748b;
}

#lineup .badge.bg-kira {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: 0 2px 4px rgba(212, 175, 55, 0.4);
}

#lineup .badge.bg-secret {
  background-color: #805ad5;
  color: white;
  box-shadow: 0 2px 4px rgba(128, 90, 213, 0.4);
}

#lineup .card-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-text-main);
  line-height: 1.4;
}

#lineup .card-sci-name {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
  font-family: var(--font-en);
}

/* Animation */

#lineup .fade-enter-active,
#lineup .fade-leave-active {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#lineup .fade-enter-start,
#lineup .fade-leave-end {
  opacity: 0;
  transform: translateY(10px);
}

/* From ./parts/index-structure.html */

/* Section Specific Styles */
#structure {
  background-color: var(--color-base);
  /* 背景にうっすらグリッドパターンを入れる */
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
}

.structure-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0; /* 線のためにgapは0にし、marginで調整 */
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Box Styles */
.diagram-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  border: 1px solid var(--color-border);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}
.diagram-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  z-index: 10;
}
@media (max-width: 640px) {
  .diagram-box {
    min-height: auto;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 1.25rem;
  }
}

.diagram-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .diagram-title {
    margin-bottom: 0;
    font-size: 0.9rem;
  }
}

.diagram-count {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  font-family: var(--font-en);
}

.diagram-count span {
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 2px;
  font-family: var(--font-jp);
}

@media (max-width: 640px) {
  .diagram-count {
    font-size: 1.5rem;
  }
}

.diagram-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .diagram-desc {
    display: none;
  }
}

/* Connecting Lines */
.tree-lines {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 40px;
  position: relative;
}
/* 縦線（上） */
.tree-lines::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 20px;
  background-color: var(--color-border);
  transform: translateX(-50%);
}
/* 横線 */
.tree-lines::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(33.33% + 1rem); /* 左カラムの中心付近 */
  right: calc(16.66% + 1rem); /* 右カラムの中心付近 */
  height: 2px;
  background-color: var(--color-border);
}
/* 縦線（下への分岐） */
.tree-lines .line-drop-left,
.tree-lines .line-drop-right {
  position: absolute;
  top: 20px;
  height: 20px;
  width: 2px;
  background-color: var(--color-border);
}
.tree-lines .line-drop-left {
  left: calc(33.33% + 1rem);
}
.tree-lines .line-drop-right {
  right: calc(16.66% + 1rem);
}

.branch-lines {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 30px;
  position: relative;
}

.branch-lines::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 15px;
  background-color: var(--color-border);
  transform: translateX(-50%);
}

.branch-lines::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 25%;
  right: 25%;
  height: 2px;
  background-color: var(--color-border);
  border-left: 2px solid var(--color-border);
  border-right: 2px solid var(--color-border);
}

/* 分岐後の短い縦線 */

.branch-lines .branch-end {
  content: "";
  position: absolute;
  bottom: 0;
  height: 15px;
  width: 2px;
  background-color: var(--color-border);
}

/* Layout Grid */
.row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}
@media (max-width: 640px) {
  .row {
    flex-direction: column;
    gap: 1rem;

    /* モバイル時は線を消す */
  }
  .row .branch-lines,
  .row .tree-lines {
    display: none;
  }
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Variant Styles */
.box-total {
  background: linear-gradient(135deg, #ffffff, #f1f8e9);
  border-color: var(--color-primary);
  max-width: 300px;
}

.box-insects {
  background: #ffffff;
}

.box-secret {
  background: linear-gradient(135deg, #fffbeb, #ffffff);
  border-color: var(--color-secondary);
}

.box-secret .diagram-count {
  color: var(--color-secondary);
}

.box-normal {
  background: #f8fafc;
  transform: scale(0.95);
}

.box-normal:hover {
  transform: scale(0.95) translateY(-4px);
}

.box-normal .diagram-count {
  color: var(--color-text-muted);
}

.box-kira {
  background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
  border: 2px solid var(--color-accent);
  transform: scale(0.95);
}

.box-kira:hover {
  transform: scale(0.95) translateY(-4px);
}

.box-kira .diagram-count {
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.note-text {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  border: 1px solid var(--color-border);
}

/* From ./parts/index-pricing.html */

#pricing {
  background-color: var(--color-base);
  position: relative;
  overflow: hidden;
}

/* 背景装飾 */

#pricing::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#pricing .section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

#pricing .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  #pricing .section-header h2 {
    font-size: 1.5rem;
  }
}

#pricing .section-header p {
  color: var(--color-text-muted);
}

#pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  #pricing .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

#pricing .pricing-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#pricing .pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

#pricing .pricing-card.recommended {
  border-color: var(--color-secondary);
  background: linear-gradient(to bottom, #fffefa, #ffffff);
}

#pricing .pricing-card.recommended .badge {
  background-color: var(--color-secondary);
  color: white;
}

#pricing .pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-text-muted);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

#pricing .pricing-card .pack-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

#pricing .pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

#pricing .pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-en);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

#pricing .pricing-card .price .unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

#pricing .pricing-card .desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

#pricing .options-area {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  #pricing .options-area {
    flex-direction: column;
    text-align: center;
  }
}

#pricing .options-area .option-info {
  flex: 1;
}

#pricing .options-area .option-info h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

#pricing .options-area .option-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

#pricing .options-area .option-price {
  font-weight: 700;
  font-family: var(--font-en);
  font-size: 1.25rem;
}

/* From ./parts/index-fullset.html */

#fullset {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3c20 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* 背景装飾 */

#fullset::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(212, 175, 55, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 40%
    );
  pointer-events: none;
}

#fullset .fullset-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  #fullset .fullset-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

#fullset .image-area {
  position: relative;
}

#fullset .image-area .main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(212, 175, 55, 0.3); /* ゴールドのボーダー */
}

/* キラキラ演出 */

#fullset .image-area::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 60%
  );
  opacity: 0;
  transform: scale(0.5);
  animation: sparkle 3s infinite ease-in-out;
  pointer-events: none;
}

#fullset .content-area .badge {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#fullset .content-area h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(to right, #fff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  #fullset .content-area h2 {
    font-size: 1.75rem;
  }
}

#fullset .content-area .price-block {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

@media (max-width: 900px) {
  #fullset .content-area .price-block {
    justify-content: center;
  }
}

#fullset .content-area .price-block .price {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#fullset .content-area .price-block .tax {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

#fullset .content-area .description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

#fullset .content-area .set-details {
  margin-bottom: 40px;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#fullset .content-area .set-details ul {
  list-style: none;
}

#fullset .content-area .set-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: white;
  font-weight: 500;
}

#fullset .content-area .set-details ul li:last-child {
  margin-bottom: 0;
}

#fullset .content-area .set-details ul li .material-symbols-outlined {
  color: var(--color-secondary);
}

#fullset .content-area .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary), #f4d03f);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 18px 48px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

#fullset .content-area .cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}

#fullset .content-area .cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

#fullset .content-area .cta-btn:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  #fullset .content-area .cta-btn {
    width: 100%;
    padding: 16px 24px;
  }
}

#fullset .content-area .limited-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (min-width: 900px) {
  #fullset .content-area .limited-note {
    justify-content: flex-start;
    padding-left: 16px;
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* From ./parts/index-story.html */

.story-section {
  background-color: var(--color-surface);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* 背景の装飾的あしらわい */

.story-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(40px);
  z-index: 0;
  border-radius: 50%;
}

.story-section .container {
  position: relative;
  z-index: 1;
}

.story-section .story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .story-section .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.story-section .image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-section .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  min-height: 400px;
}

.story-section .image-wrapper:hover img {
  transform: scale(1.05);
}

.story-section .text-wrapper .label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.story-section .text-wrapper .label::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-primary);
}

.story-section .text-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-text-main);
  font-feature-settings: "palt";
}

@media (max-width: 768px) {
  .story-section .text-wrapper h2 {
    font-size: 1.5rem;
  }
}

.story-section .text-wrapper p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1rem;
  text-align: justify;
}

.story-section .text-wrapper .signature {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-section .text-wrapper .signature img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.story-section .text-wrapper .signature .name {
  font-family: var(--font-en);
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* From ./parts/index-faq.html */

/* FAQ Section Styles */
#faq {
  background-color: var(--color-base);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Accordion Styles */
.accordion-item {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border: 1px solid transparent;
}
.accordion-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text-main);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .accordion-header {
    padding: 1.25rem;
    font-size: 1rem;
  }
}

.accordion-header .q-mark {
  color: var(--color-secondary);
  margin-right: 0.75rem;
  font-weight: 900;
}

.accordion-header.active {
  color: var(--color-primary);
}

.accordion-header .icon {
  transition: transform 0.3s ease;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-header[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* Smooth Height Transition with Grid Trick */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  background-color: #fafafa;
}

.accordion-content.open {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.answer-box {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-main);
  line-height: 1.8;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .answer-box {
    padding: 0 1.25rem 1.25rem;
  }
}

.answer-box .a-mark {
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 0.5rem;
}

/* From ./parts/index-shop.html */

#shop {
  padding: 80px 0;
  background-color: var(--color-surface);
  position: relative;
  overflow: hidden;

  /* 背景にうっすらと葉のシルエットなどを入れても良いが今回はシンプルに */
}

#shop .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#shop .section-header h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  #shop .section-header h2 {
    font-size: 2rem;
  }
}

#shop .section-header p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

#shop .shop-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  #shop .shop-container {
    grid-template-columns: 1fr;
  }
}

#shop .shop-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

#shop .shop-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#shop .shop-visual:hover img {
  transform: scale(1.05);
}

#shop .shop-details {
  padding: 20px;
}

#shop .shop-details h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 8px;
}

#shop .shop-details dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 24px;
  margin-bottom: 32px;
}

#shop .shop-details dl dt {
  font-weight: 700;
  color: var(--color-primary);
  min-width: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#shop .shop-details dl dt span {
  font-size: 1.2rem;
}

#shop .shop-details dl dd {
  color: var(--color-text-main);
}

#shop .shop-details .shop-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* From ./parts/index-wholesale.html */

#wholesale {
  background-color: var(--color-base);
}

.wholesale-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wholesale-card:hover {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .wholesale-card {
    grid-template-columns: 1fr;
  }
}

.wholesale-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .wholesale-content {
    padding: 30px;
  }
}

.wholesale-content .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.wholesale-content h2 {
  font-size: 2rem;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  font-family: var(--font-jp);
}

@media (max-width: 768px) {
  .wholesale-content h2 {
    font-size: 1.5rem;
  }
}

.wholesale-content p {
  color: var(--color-text-main);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.target-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.target-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--color-primary);
}

.target-list li .icon {
  color: var(--color-secondary);
  font-size: 20px;
}

.wholesale-image {
  position: relative;
  min-height: 300px;
  background-color: #f0f0f0;
}

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

.wholesale-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
  pointer-events: none;
}

/* From ./parts/common-footer.html */

footer {
  background-color: white;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 1px solid var(--color-border);
}

footer .footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

footer .footer-brand h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer .footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

footer .footer-brand .social-links {
  display: flex;
  gap: 16px;
}

footer .footer-brand .social-links a {
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

footer .footer-brand .social-links a:hover {
  opacity: 1;
}

footer .footer-brand .social-links a img {
  width: 100%;
  height: 100%;
}

footer .footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-left: auto;
  min-width: 350px;
}
@media (max-width: 840px) {
  footer .footer-links-group {
    margin-left: 40px;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  footer .footer-links-group {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-left: 0;
    min-width: auto;
  }
}

footer .footer-links-group .group-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

footer .footer-links-group ul {
  list-style: none;
  padding: 0;
}

footer .footer-links-group ul li {
  margin-bottom: 0.8rem;
}

footer .footer-links-group ul li a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

footer .footer-links-group ul li a:hover {
  color: var(--color-primary);
}

footer .footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
