/* ===== GLOBAL STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark: #0a2a5e;
  --blue-main: #1a4a9e;
  --blue-light: #3a6ec8;
  --blue-accent: #4a8ee8;
  --white: #ffffff;
  --off-white: #f5f7fc;
  --gray-light: #eef1f8;
  --gray-mid: #8a9ab8;
  --text-dark: #111827;
  --text-mid: #374151;
  --green-line: #06c755;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--blue-dark);
  letter-spacing: 0.5px;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--blue-main);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-shop {
  background: var(--blue-main);
  color: white;
}

.btn-shop:hover {
  background: var(--blue-dark);
}

.btn-line {
  background: var(--green-line);
  color: white;
}

.btn-line:hover {
  background: #05a847;
}

.btn-detail {
  padding: 12px 28px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
  background: transparent;
}

.btn-detail:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-cta-line {
  padding: 10px 24px;
  background: var(--green-line);
  color: white;
  white-space: nowrap;
}

.btn-cta-line:hover {
  background: #05a847;
}

.btn-cta-shop {
  padding: 10px 24px;
  background: var(--blue-main);
  color: white;
  white-space: nowrap;
}

.btn-cta-shop:hover {
  background: var(--blue-dark);
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 80px;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 468 / 324;
  background: url('images/back.png') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,0.5) 25%,
    #000 60%);
  mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,0.5) 25%,
    #000 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  flex: 1 1 0;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  gap: 24px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}

.badge-text { line-height: 1.4; }

.product-mock {
  width: 220px;
  height: 280px;
  background: linear-gradient(145deg, #1a4a9e 0%, #0a2a5e 60%, #081e45 100%);
  border-radius: 16px 16px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 20px 60px rgba(10,42,94,0.35);
  position: relative;
  overflow: hidden;
  margin-bottom: -2px;
}

.product-mock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a8ee8, #6ab0ff);
  border-radius: 16px 16px 0 0;
}

.product-mock::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(74,142,232,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.product-mock-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-mock-name {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-mock-sub {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.product-mock-size {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.product-beads {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  opacity: 0.4;
}

.bead {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}

/* ===== FEATURES STRIPE ===== */
.features-stripe {
  background: var(--blue-dark);
  padding: 48px 80px;
  text-align: center;
}

.features-stripe h2 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  padding: 0 40px;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  line-height: 1.8;
}

/* ===== SCENES ===== */
.section {
  padding: 64px 80px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 32px;
}

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.scene-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-light);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,74,158,0.15);
}

.scene-img {
  height: 140px;
  background: var(--gray-mid);
  position: relative;
  overflow: hidden;
}

.scene-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.scene-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-cam .scene-img-inner { background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%); }
.scene-cloth .scene-img-inner { background: linear-gradient(135deg, #e8e0d8 0%, #c9b8a0 100%); }
.scene-food .scene-img-inner { background: linear-gradient(135deg, #fef3e2 0%, #fde8b8 100%); }
.scene-book .scene-img-inner { background: linear-gradient(135deg, #e8f0f8 0%, #c8daf0 100%); }
.scene-smell .scene-img-inner { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); }

.scene-body {
  padding: 14px;
}

.scene-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.scene-desc {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ===== PRODUCTS ===== */
.products-section {
  background: var(--off-white);
  padding: 64px 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.product-card {
  background: white;
  border-radius: 12px;
  padding: 20px 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(26,74,158,0.12);
  transform: translateY(-2px);
}

.product-card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 50px;
}

.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.prod-silica .product-card-img { color: var(--blue-main); }
.prod-deo .product-card-img { color: #6b7280; }
.prod-hang .product-card-img { color: #9ca3af; }
.prod-charcoal .product-card-img { color: #1f2937; }
.prod-gel .product-card-img { color: #3b82f6; }

.product-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.product-card-desc {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--blue-main);
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
}

.btn-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 48px;
  border: 1.5px solid var(--blue-main);
  border-radius: 8px;
  background: transparent;
  color: var(--blue-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  margin: 0 auto;
}

.btn-all:hover {
  background: var(--blue-main);
  color: white;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--blue-dark);
  padding: 30px 80px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-content {
  flex: 1;
}

.about-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin-bottom: 24px;
}

.about-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 420px;
}

.about-products {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-shrink: 0;
}

.about-product-mock {
  width: 90px;
  height: 120px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.about-product-mock.blue { background: linear-gradient(145deg, #1a4a9e, #0a2a5e); }
.about-product-mock.light-blue { background: linear-gradient(145deg, #3a6ec8, #1a4a9e); }
.about-product-mock.dark { background: linear-gradient(145deg, #2d2d2d, #111); }
.about-product-mock.gray { background: linear-gradient(145deg, #6b7280, #374151); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--off-white);
  padding: 40px 80px;
  display: flex;
  gap: 24px;
}

.cta-card {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cta-icon.green { background: #dcfce7; }
.cta-icon.blue { background: #dbeafe; }

.cta-text { flex: 1; }

.cta-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.cta-desc {
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  /* padding: 32px 80px; */
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: white;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  text-decoration: none;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 { animation: fadeUp 0.7s ease both; }
.hero-content p { animation: fadeUp 0.7s 0.1s ease both; }
.hero-badges { animation: fadeUp 0.7s 0.2s ease both; }
.product-mock { animation: fadeUp 0.8s 0.15s ease both; }

/* ===== RESPONSIVE ===== */
/* タブレット向け (900px以下) */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  nav { display: none; } /* ※スマホメニュー実装までは非表示 */
  .hero {
    padding: 40px 24px;
    min-height: 0;
    background: var(--white);
    padding-bottom: 40px;
  }
  .hero::after { display: none; }
  .hero-content { max-width: none; }
  .hero-content h1 { font-size: 30px; }
  .hero-badges { flex-wrap: wrap; gap: 16px; }
  .section, .products-section, .about-section, .cta-strip { padding: 48px 24px; }
  .scenes-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item::after { display: none; }
  .about-section { flex-direction: column; }
  .cta-strip { flex-direction: column; }
  .footer-top { flex-direction: column; gap: 20px; }
}

/* スマートフォン向け (600px以下) */
@media (max-width: 600px) {
  header { height: 56px; }
  .logo { font-size: 20px; }
  
  .hero {
    background: var(--white);
    padding: 32px 16px;
    min-height: 0;
  }
  .hero::after { display: none; }
  
  .hero-content h1 { font-size: 24px; line-height: 1.4; margin-bottom: 16px; }
  .hero-content p { font-size: 14px; margin-bottom: 24px; }
  .hero-badges { display: none; }
  
  .section, .products-section, .about-section, .cta-strip { padding:16px 16px; }
  
  .scenes-grid,
  .products-grid { 
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    ms-overflow-style: none; /* IE, Edge用スクロールバー非表示 */
    scrollbar-width: none; /* Firefox用スクロールバー非表示 */
  }
  
  .scenes-grid::-webkit-scrollbar,
  .products-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari用スクロールバー非表示 */
  }
  
  .scenes-grid .scene-card,
  .products-grid .product-card {
    flex: 0 0 85%; /* カードの幅を画面の85%にして次をチラ見せ */
    scroll-snap-align: center;
  }
}
