/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Inter", sans-serif;
  line-height: 1.8;
  color: #333;
  overflow-x: hidden;
  background: #fff;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: relative;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Manga-style Keyframe Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes flowRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes flowLeft {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes wiggle {
  0%, 7% { transform: rotateZ(0); }
  15% { transform: rotateZ(-15deg); }
  20% { transform: rotateZ(10deg); }
  25% { transform: rotateZ(-10deg); }
  30% { transform: rotateZ(6deg); }
  35% { transform: rotateZ(-4deg); }
  40%, 100% { transform: rotateZ(0); }
}

/* Manga-style animation classes */
.scale-effect {
  transform: scale(1.1) !important;
  transition: transform 0.3s ease !important;
}

.pulse-effect {
  animation: pulse 1s infinite !important;
}

.float-animation {
  animation: float 3s ease-in-out infinite !important;
}

.click-effect {
  animation: wiggle 0.5s ease-in-out !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url('public/hero-background-colorful.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  animation: fadeInScale 1.2s ease-out;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-title .logo-image {
  max-width: 100%;
  height: auto;
  width: clamp(260px, 25vw, 360px);
}

.hero-motto {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #222;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #555;
  line-height: 1.8;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.navbar.visible {
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #000;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* 動的ビューポート高さ */
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: left 0.3s ease;
  padding-top: 100px;
  padding-bottom: 50px;
  box-sizing: border-box;
  overflow-y: auto;
  display: none;
}

.mobile-nav-menu.active {
  left: 0;
}

.mobile-nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-menu li {
  width: 100%;
  text-align: center;
}

.mobile-nav-link {
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-link:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Content Sections */
.content-section {
  padding: 8rem 0;
  position: relative;
  background: #fff;
  z-index: 10;
  width: 100%;
  margin: 0;
}

.content-section:nth-child(even) {
  background: #fafafa;
  z-index: 10;
}

/* Concept Section with Collage Background */
.concept-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 !important;
  background: #000 !important;
}

.concept-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  padding: 20px;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #333;
}

.image-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.image-item:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.image-item:nth-child(3) {
  grid-column: 4 / 6;
  grid-row: 1 / 2;
}

.image-item:nth-child(4) {
  grid-column: 6 / 7;
  grid-row: 1 / 3;
}

.image-item:nth-child(5) {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
}

.image-item:nth-child(6) {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

.image-item:nth-child(7) {
  grid-column: 4 / 5;
  grid-row: 2 / 4;
}

.image-item:nth-child(8) {
  grid-column: 5 / 7;
  grid-row: 2 / 3;
}

.image-item:nth-child(9) {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.image-item:nth-child(10) {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.image-item:nth-child(11) {
  grid-column: 5 / 6;
  grid-row: 3 / 4;
}

.image-item:nth-child(12) {
  grid-column: 6 / 7;
  grid-row: 3 / 4;
}

.image-item:nth-child(13) {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
}

.image-item:nth-child(14) {
  grid-column: 3 / 5;
  grid-row: 4 / 5;
}

.image-item:nth-child(15) {
  grid-column: 5 / 7;
  grid-row: 4 / 5;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.concept-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
}

.concept-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
  border-radius: 0;
}

.concept-content .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.concept-content .section-header {
  margin-bottom: 3rem;
}

.concept-content .section-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  position: relative;
  transition: all 0.3s ease;
}

.concept-content .section-label:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.concept-content .section-label::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.concept-content .section-label:hover::after {
  width: 100%;
}

.concept-content .section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.concept-content .section-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.concept-content .section-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

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

.section-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.section-label:hover {
  color: #666;
  transform: translateY(-2px);
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.section-label:hover::after {
  width: 100%;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #333;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.section-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
  font-weight: 300;
}

.section-content br {
  margin-bottom: 0.5rem;
}



/* Section with Image Layout */
.section-content-with-image {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.section-text .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-text .section-content {
  text-align: left;
}

.section-image {
  position: relative;
}

.vision-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.vision-image:hover {
  transform: translateY(-5px);
}

.mission-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mission-image:hover {
  transform: translateY(-5px);
}

/* Values Section - Updated */
.values-section {
  background: #1a1a1a !important;
  color: #fff;
  padding: 8rem 0;
}



.values-section .section-label {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.values-section .section-title {
  color: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 769px) {
  .hamburger-menu {
    display: none !important;
  }
  
  .mobile-nav-menu {
    display: none !important;
  }
  
  .nav-menu {
    display: flex !important;
  }
}



.value-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.value-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  color: #2c2c2c;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.value-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.value-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
  font-weight: 400;
}

/* Products Section */
.products-section {
  background: #fff;
  color: #333;
  padding: 10rem 0;
}

.products-section .container {
  max-width: 600px;
}

.products-section .section-label {
  color: #999;
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.products-section .section-title {
  color: #333;
}

.products-section .section-subtitle {
  color: #666;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-top: 1rem;
  font-weight: 300;
}

.products-carousel {
  position: relative;
  margin-top: 5rem;
}

.past-series-carousel {
  position: relative;
  margin-top: 5rem;
}

.carousel-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 120px);
  left: -60px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 0;
}

.carousel-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #000;
}

.products-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2rem 2rem 2rem 0;
  margin: -2rem -2rem -2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  position: relative;
  flex: 0 0 calc((100% - 3rem) / 2.2);
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem 1.5rem 1.5rem;
  color: white;
  box-sizing: border-box;
}

.product-status {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.product-link:hover {
  border-bottom-color: white;
  color: white;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-card.featured {
  border: 2px solid #007bff;
  transform: scale(1.02);
}

.product-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.product-image {
  position: relative;
  /* height: 240px; */
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #007bff;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-badge.limited {
  background: #dc3545;
}

.product-badge.available {
  background: #28a745;
}

.product-badge.coming-soon {
  background: #ffc107;
  color: #333;
}

.product-badge.sold-out {
  background: #6c757d;
}

.product-content {
  padding: 2rem;
}



.product-author {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.product-price,
.product-stock {
  text-align: center;
}

.price-label,
.stock-label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #007bff;
}

.stock-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.product-cta {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.product-cta:hover::before {
  left: 100%;
}

.product-cta:hover {
  background: #000;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.product-cta.primary {
  background: #007bff;
}

.product-cta.primary:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

.products-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e9ecef;
}

.cta-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 4.5rem;
  background: linear-gradient(135deg, #1BBDDD, #1E5DF0);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(27, 189, 221, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #0EA5C7, #1A4AD9);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 189, 221, 0.4);
  text-decoration: none;
}

/* Past Series Section */
.past-series {
  margin-top: 6rem;
  text-align: center;
}

.past-series .section-label {
  font-size: 0.9rem;
  color: #aaa;
  background: #f5f5f5;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
}

.past-series .section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #666;
  font-weight: 700;
}

.past-series-carousel {
  position: relative;
  margin-top: 5rem;
}

.past-series-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 120px);
  left: -60px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 0;
}

.past-series-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2rem 2rem 2rem 0;
  margin: -2rem -2rem -2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.past-series-grid::-webkit-scrollbar {
  display: none;
}

.past-series-card {
  position: relative;
  flex: 0 0 calc((100% - 3rem) / 2.2);
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.past-series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.past-series-card:hover .past-series-image {
  transform: scale(1.1);
}

.past-series-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.past-series-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.past-series-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem 1.5rem 1.5rem;
  color: white;
  text-align: left;
  box-sizing: border-box;
}

.past-series-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
  line-height: 1;
}

/* デフォルトバッジスタイル */
.past-series-status {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 電子漫画出版決定バッジ（赤紫系） */
.past-series-status.digital-manga {
  background: linear-gradient(135deg, #c471ed 0%, #8e44ad 100%);
  border: 2px solid rgba(196, 113, 237, 0.4);
}

/* NFT漫画出版決定バッジ（黄色系） */
.past-series-status.nft-manga {
  background: linear-gradient(135deg, #f7dc6f 0%, #f39c12 100%);
  border: 2px solid rgba(247, 220, 111, 0.4);
  color: #2c3e50;
}

/* 青色バッジ */
.past-series-status.blue {
  background: linear-gradient(135deg, #1BBDDD 0%, #1E5DF0 100%);
  border: 2px solid rgba(27, 189, 221, 0.4);
}

/* バッジのホバー効果 */
.past-series-status:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* 電子漫画バッジのホバー効果（赤紫系） */
.past-series-status.digital-manga:hover {
  box-shadow: 0 6px 20px rgba(196, 113, 237, 0.7);
}

/* NFTバッジのホバー効果（黄色系） */
.past-series-status.nft-manga:hover {
  box-shadow: 0 6px 20px rgba(247, 220, 111, 0.8);
}

/* バッジの光沢効果 */
.past-series-status::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.past-series-status:hover::before {
  left: 100%;
}

.past-series-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: white;
  text-align: left;
}

.past-series-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-align: left;
}

.past-series-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-align: left;
}

.past-series-link:hover {
  border-bottom-color: white;
  color: white;
}







.series-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.series-type {
  font-size: 0.8rem;
  color: #007bff;
  font-weight: 600;
  background: rgba(0, 123, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

.series-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.series-status.completed {
  background: #e9f7ef;
  color: #27ae60;
}

.series-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.series-link:hover {
  background: #007bff;
  color: white;
  text-decoration: none;
}

.series-success-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid #28a745;
}

.series-success-note p {
  margin: 0;
  color: #155724;
  font-weight: 500;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-text {
  color: #666;
  font-size: 0.9rem;
  font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    padding: 2rem 1.5rem 2rem 0;
    margin: -2rem -1.5rem -2rem 0;
  }
  
  .product-card {
    flex: 0 0 calc((100% - 2rem) / 2.1);
  }
  
  .past-series-grid {
    padding: 2rem 1.5rem 2rem 0;
    margin: -2rem -1.5rem -2rem 0;
  }
  
  .past-series-card {
    flex: 0 0 calc((100% - 2rem) / 2.1);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .nav-container {
    padding: 1.5rem 20px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .mobile-nav-menu {
    display: block;
  }
  
  .content-section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .hero-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-bottom: 2rem;
    font-weight: 500;
  }
  
  .hero-title .logo-image {
    width: clamp(220px, 70vw, 300px);
    max-width: calc(100vw - 40px);
  }
  
  .hero-motto {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .concept-background {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 4px;
    padding: 10px;
  }
  
  .image-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .image-item:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 3; }
  .image-item:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
  .image-item:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 4; }
  .image-item:nth-child(5) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .image-item:nth-child(6) { grid-column: 4 / 5; grid-row: 2 / 3; }
  .image-item:nth-child(7) { grid-column: 2 / 4; grid-row: 3 / 4; }
  .image-item:nth-child(8) { grid-column: 4 / 5; grid-row: 3 / 5; }
  .image-item:nth-child(9) { grid-column: 1 / 2; grid-row: 4 / 5; }
  .image-item:nth-child(10) { grid-column: 2 / 3; grid-row: 4 / 5; }
  .image-item:nth-child(11) { grid-column: 3 / 4; grid-row: 4 / 5; }
  .image-item:nth-child(12) { grid-column: 1 / 3; grid-row: 5 / 6; }
  .image-item:nth-child(13) { grid-column: 3 / 4; grid-row: 5 / 6; }
  .image-item:nth-child(14) { grid-column: 4 / 5; grid-row: 5 / 6; }
  .image-item:nth-child(15) { grid-column: 1 / 5; grid-row: 6 / 7; }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .section-content-with-image {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .section-text .section-header {
    text-align: center;
  }
  
  .section-text .section-content {
    text-align: center;
  }
  
  .hero-overlay {
    background: rgba(255, 255, 255, 0.9);
  }
  
  .hero-section {
    background-attachment: scroll;
    background-position: left center;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-card.featured {
    transform: none;
  }
  
  .product-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .products-section {
    padding: 6rem 0;
  }
  
  .products-section .section-header,
  .past-series .section-header {
    margin-bottom: 0.25rem;
  }
  
  .products-carousel,
  .past-series-carousel {
    margin-top: 1rem;
  }
  
  .products-section .section-header::after,
  .past-series .section-header::after {
    content: "← スワイプ →";
    display: block;
    font-size: 0.8rem;
    color: #999;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: 0.1em;
  }
  
  .products-grid {
    padding: 2rem 20px 2rem 20px;
    margin: -2rem -20px -2rem -20px;
    gap: 1.5rem;
    position: relative;
  }
  
  .products-grid::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 5;
  }
  
  .product-card {
    flex: 0 0 calc((100vw - 100px) / 1.6);
    min-width: 0;
  }
  
  .past-series-card {
    flex: 0 0 calc((100vw - 100px) / 1.6);
    min-width: 0;
  }
  
  .carousel-navigation {
    display: none;
  }
  
  .past-series-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
  }
  
  .past-series-grid::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 5;
  }
  
  .product-title,
  .past-series-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  .product-subtitle,
  .past-series-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .product-overlay,
  .past-series-overlay {
    padding: 2rem 1rem 1rem;
  }
  
  .series-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .content-section {
    padding: 4rem 0;
  }
  
  .product-content {
    padding: 1.5rem;
  }
  
  .product-details {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading and entrance animations */
.content-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation for hero */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}