/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: #0a1e2e;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: scale(0.85);
  animation: loaderIn 0.8s ease 0.1s forwards;
}
@keyframes loaderIn {
  to { opacity: 1; transform: scale(1); }
}

/* Walk track */
.loader-walk-track {
  position: relative;
  width: 220px;
}
.loader-poodle-wrap {
  position: absolute;
  bottom: 1px;
  left: -76px;
  animation: poodleWalk 1.6s ease 0.2s forwards;
}
@keyframes poodleWalk {
  from { left: -76px; }
  to   { left: 144px; }
}
.poodle-svg {
  display: block;
  animation: poodleBob 0.22s ease-in-out infinite alternate;
}
@keyframes poodleBob {
  from { transform: translateY(0); }
  to   { transform: translateY(-3px); }
}

/* Leg animation */
.poodle-leg {
  transform-box: fill-box;
  transform-origin: top center;
}
.poodle-leg-fl, .poodle-leg-br {
  animation: legSwingA 0.22s ease-in-out infinite alternate;
}
.poodle-leg-fr, .poodle-leg-bl {
  animation: legSwingA 0.22s ease-in-out infinite alternate-reverse;
}
@keyframes legSwingA {
  from { transform: rotate(-20deg); }
  to   { transform: rotate(20deg); }
}

/* Animals walk together */
.loader-animals-wrap {
  position: absolute;
  bottom: 1px;
  left: -152px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: animalsWalk 1.6s ease 0.2s forwards;
}
@keyframes animalsWalk {
  from { left: -152px; }
  to   { left: 68px; }
}
.cat-svg {
  display: block;
  animation: poodleBob 0.24s ease-in-out infinite alternate;
}
.cat-leg {
  transform-box: fill-box;
  transform-origin: top center;
}
.cat-leg-fl, .cat-leg-br {
  animation: legSwingA 0.24s ease-in-out infinite alternate;
}
.cat-leg-fr, .cat-leg-bl {
  animation: legSwingA 0.24s ease-in-out infinite alternate-reverse;
}

/* Progress bar */
.loader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0;
  background: #70c8ec;
  border-radius: 3px;
  animation: loaderFill 1.6s ease 0.2s forwards;
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #70c8ec;
  --primary-dark: #4ab0d8;
  --accent: #5a9aaa;
  --accent-light: #7ab89a;
  --beige: #edf4f8;
  --beige-dark: #d5e5ef;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #cdd9e8;
  box-shadow: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  opacity: 0.9;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -1px;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 400;
  display: block;
  letter-spacing: 1px;
}

nav { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}
nav a:hover { color: var(--primary); background: var(--beige); }
nav a.active { color: var(--primary); }

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 180px;
  padding: 8px 0;
  z-index: 100;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--beige); color: var(--primary); }

.header-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 24px !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.header-cta:hover { background: var(--primary-dark) !important; color: white !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  height: calc(100vh - 80px);
  min-height: 0;
  background: linear-gradient(135deg, #0a3a5a 0%, #70c8ec 50%, #85d4f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before { display: none; }

/* SLIDER */
.hero-slider {
  background: #111;
  height: calc(100vh - 80px);
  min-height: 0;
}
.slider-track {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.slide.active { opacity: 1; }
.slider-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    170deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.30) 40%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.72) 100%
  );
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-slider { height: calc(100svh - 120px); min-height: 0; }
  .slide { object-position: center top; }
  .hero-content { padding: 40px 20px; }
}
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active { background: white; }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 60px 24px 100px;
  max-width: 840px;
  animation: heroContentIn 1s ease 1.9s both;
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}
.hero-eyebrow-line {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero-eyebrow-text {
  font-size: 11px;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

/* Title */
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 6px;
  overflow: hidden;
}
.hero-title-line {
  display: block;
  overflow: hidden;
  animation: titleReveal 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-title-line:nth-child(1) { animation-delay: 2.0s; }
.hero-title-line:nth-child(2) { animation-delay: 2.2s; }
@keyframes titleReveal {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.hero h1 span { color: #7ab89a; }
.hero h1 em   { color: #7ab89a; font-style: normal; }

/* Paragraph */
.hero p {
  font-size: clamp(14px, 1.6vw, 18px);
  opacity: 0;
  margin-bottom: 40px;
  line-height: 1.9;
  letter-spacing: 1px;
  animation: fadeUpIn 0.8s ease 2.5s forwards;
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 0.85; transform: translateY(0); }
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.28);
  border-radius: 3px;
  opacity: 0;
  animation: fadeUpIn 0.8s ease 2.8s forwards;
}
.hero-stat {
  flex: 1;
  padding: 18px 12px;
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: clamp(22px,3vw,30px);
  font-weight: 900;
  color: #70c8ec;
  line-height: 1;
  font-family: 'Noto Sans JP', sans-serif;
}
.hero-stat-num i { font-style: normal; font-size: 16px; }
.hero-stat-label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-top: 5px;
}
.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 0.8s ease 3.2s forwards;
}
.hero-scroll-label {
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.45);
}
.hero-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll-dot {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.65);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);    opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 6px 20px;
  border-radius: 24px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero emblem */
.hero-emblem {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 20, 40, 0.65);
  border: 2px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0;
  padding: 18px;
}
.hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Hero bottom bar */
.hero-bottom-bar {
  background: #0a1e2e;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-bottom-text {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.hero-bottom-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-btn-shop {
  background: var(--accent);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.hero-btn-shop:hover { background: var(--accent-light); }
.hero-btn-line {
  background: #06C755;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.hero-btn-line:hover { background: #05a847; }
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 16px 36px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(90,154,170,0.4);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: white;
  padding: 16px 36px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 2px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scroll-line 1.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
}

/* ===== CONCEPT SECTION ===== */
.concept-section { background: var(--beige); }
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}
.concept-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.concept-image img { width: 100%; height: 400px; object-fit: cover; }
.concept-text h3 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.concept-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 20px; }
.concept-points { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.concept-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.concept-point-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5efe8;
}
.concept-point-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-point-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.concept-point-text p { font-size: 14px; color: var(--text-light); }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: white; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  background: white;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.product-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 1px;
}
.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.product-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: gap 0.2s;
  margin-bottom: 12px;
  align-self: flex-start;
}
.product-card-link:hover { gap: 10px; }
.product-card--coming-soon {
  border: 2px dashed #a8d8c0;
}
.product-card--coming-soon:hover { transform: none; box-shadow: var(--shadow); cursor: default; }
.product-coming-soon-label {
  display: inline-block;
  background: linear-gradient(90deg, #c89e50, #e0bb70);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-top: 8px;
}
.product-card-body .btn-primary {
  margin-top: 0 !important;
  padding: 14px 20px;
  border-radius: 10px;
  width: 100%;
}

/* ===== STATS / FEATURES ===== */
.features-section {
  background: var(--primary);
  color: white;
  padding: 80px 24px;
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-item h3 { font-size: 42px; font-weight: 900; color: #111; margin-bottom: 8px; }
.feature-item p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* ===== ZEROJAPAN SECTION ===== */
.zerojapan-section { background: var(--beige); }
.zerojapan-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
}
.zerojapan-img { background: linear-gradient(135deg, #5a9aaa, #5ac4e4); position: relative; min-height: 360px; overflow: hidden; }
.zerojapan-img img { width: 100%; height: 100%; object-fit: cover; }
.zerojapan-body { padding: 48px; }
.zerojapan-body h3 { font-size: 26px; font-weight: 800; margin-bottom: 16px; color: var(--primary); }
.zerojapan-body p { color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.zerojapan-points { display: flex; flex-direction: column; gap: 12px; }
.zerojapan-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.zerojapan-point::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: white; }
.contact-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  color: white;
  margin-top: 40px;
}
.contact-card h3 { font-size: 32px; font-weight: 900; margin-bottom: 16px; }
.contact-card p { opacity: 0.85; font-size: 16px; margin-bottom: 36px; line-height: 1.8; }
.contact-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-line {
  background: #06C755;
  color: white;
  padding: 16px 36px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-line:hover { background: #05a847; transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer {
  background: #111827;
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 13px; opacity: 0.6; line-height: 1.8; margin-top: 16px; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 20px; letter-spacing: 1px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; opacity: 0.65; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, #4ab0d8, #70c8ec);
  color: white;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; margin-bottom: 16px; }
.page-hero p { font-size: 18px; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 20px;
}
.breadcrumb a { opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { opacity: 0.4; }

/* ===== PRODUCT DETAIL PAGES ===== */
.product-detail { padding: 80px 24px; }
.product-detail .section-inner { max-width: 1100px; margin: 0 auto; }

.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.product-overview-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-overview-img img { width: 100%; height: 400px; object-fit: cover; }

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.product-spec-table tr { border-bottom: 1px solid var(--beige-dark); }
.product-spec-table th {
  width: 140px;
  padding: 14px 16px;
  background: var(--beige);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  color: var(--primary);
}
.product-spec-table td {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.features-list { margin: 32px 0; }
.features-list h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.feature-row {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--beige);
  margin-bottom: 16px;
}
.feature-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.feature-row-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-row-text p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== NMN PAGE ===== */
.nmn-hero {
  background: linear-gradient(135deg, #0a3a5a, #1a6090, #70c8ec);
  color: white;
  padding: 140px 24px 80px;
  text-align: center;
}
.nmn-hero h1 { font-size: clamp(40px, 8vw, 88px); font-weight: 900; letter-spacing: -2px; }
.nmn-hero h1 span { color: #7ab89a; }
.nmn-hero .subtitle { font-size: 20px; opacity: 0.7; margin-top: 8px; letter-spacing: 4px; }

.nmn-research {
  background: var(--beige);
  padding: 80px 24px;
}
.nmn-research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.research-box {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.research-box h3 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.research-box p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

.nmn-effects {
  padding: 80px 24px;
  background: white;
}
.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.effect-tag {
  background: var(--beige);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
}

.nmn-cert {
  background: #0a3a5a;
  color: white;
  padding: 80px 24px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.cert-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.cert-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  margin: 0 auto 12px;
  color: white;
}
.cert-item p { font-size: 12px; opacity: 0.75; line-height: 1.6; }

.nmn-price-card {
  background: linear-gradient(135deg, #70c8ec, #4ab0d8);
  border-radius: 20px;
  padding: 48px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 60px;
}
.nmn-price-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.price-display { font-size: 42px; font-weight: 900; color: #7ab89a; }
.price-display small { font-size: 18px; }
.nmn-price-card ul { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.nmn-price-card ul li { font-size: 14px; opacity: 0.85; display: flex; gap: 8px; align-items: center; }
.nmn-price-card ul li::before { content: '✓'; color: #7ab89a; font-weight: 700; }

/* ===== PET FOOD PAGE ===== */
.food-tabs {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.food-tab {
  padding: 10px 22px;
  border-radius: 24px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}
.food-tab.active, .food-tab:hover {
  background: var(--primary);
  color: white;
}

.food-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.food-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 200px 1fr;
}
.food-card-img {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 180px;
}
.food-card-img .food-emoji { font-size: 60px; }
.food-card-body { padding: 24px; }
.food-card-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; color: var(--primary); }
.food-card-body .food-sub { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.food-tag {
  display: inline-block;
  background: var(--beige);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin: 2px;
}
.food-ingredients { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px; }

/* ===== ZEROJAPAN PAGE ===== */
.zerojapan-hero {
  position: relative;
  line-height: 0;
  overflow: hidden;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zerojapan-hero-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}
.zerojapan-hero-breadcrumb {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  line-height: 1.5;
  z-index: 1;
}
.membership-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.membership-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.membership-icon { font-size: 48px; margin-bottom: 16px; }
.membership-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--primary); }
.membership-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== COMPANY PAGE ===== */
.company-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

/* ===== CONTACT PAGE ===== */
.contact-form {
  background: white;
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 48px auto 0;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group label .required {
  color: var(--accent);
  font-size: 11px;
  margin-left: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--beige-dark);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--beige);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}
.form-group textarea { height: 150px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  font-family: inherit;
}
.form-submit:hover { background: var(--primary-dark); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.btn-sm {
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: white;
  transition: background 0.2s;
  display: inline-block;
}
.btn-sm:hover { background: var(--primary-dark); }

/* ===== RESPONSIVE GRID UTILITIES ===== */
.r-grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.r-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.r-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
/* food card: package photo + content side-by-side (keeps 2col even on mobile) */
.food-img-split { display: grid; grid-template-columns: 1fr 1fr; height: 200px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) and (min-width: 641px) {
  /* Nav: keep items on one horizontal line at medium widths */
  nav a {
    padding: 6px 8px;
    font-size: 12px;
  }
  .header-cta {
    padding: 8px 12px !important;
    font-size: 11px !important;
  }
  .header-inner {
    padding: 0 12px;
  }
}

@media (max-width: 900px) {
  /* CSS class grids */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .concept-grid,
  .zerojapan-card,
  .product-overview,
  .nmn-research-grid,
  .company-info-grid { grid-template-columns: 1fr; }
  .zerojapan-card .zerojapan-img { min-height: 240px; }
  .food-card { grid-template-columns: 1fr; }
  .food-card-img { min-height: 120px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .nmn-price-card { grid-template-columns: 1fr; }
  .membership-cards { grid-template-columns: repeat(2, 1fr); }
  .food-products-grid { grid-template-columns: 1fr; }
  .effects-grid { grid-template-columns: repeat(2, 1fr); }

  /* Utility grid classes */
  .r-grid-2 { grid-template-columns: 1fr; }
  .r-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .r-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Layout adjustments */
  .page-hero { padding: 110px 20px 60px; }
  .zerojapan-hero-breadcrumb { top: 60px; }
  .nmn-hero { padding: 110px 20px 60px; }
  .contact-card { padding: 48px 32px; }
  .nmn-price-card { padding: 36px; }
  .zerojapan-body { padding: 32px; }
  .product-overview-img img { height: 280px; }
  section { padding: 72px 20px; }
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: white;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  overflow: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
  border-bottom: 1px solid var(--beige-dark);
  flex-shrink: 0;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
}
.mobile-menu-logo img {
  height: 40px;
  width: auto;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--beige);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.mobile-menu-close:hover { background: var(--beige-dark); }
.mobile-menu-close::before,
.mobile-menu-close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.mobile-menu-close::before { transform: rotate(45deg); }
.mobile-menu-close::after  { transform: rotate(-45deg); }

.mobile-menu-nav {
  flex: 1;
  min-height: 0;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: var(--primary);
  background: var(--beige);
  border-left-color: var(--primary);
}
.mobile-menu-nav .menu-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-light);
  padding: 16px 24px 6px;
  text-transform: uppercase;
}
.mobile-menu-nav .menu-divider {
  height: 1px;
  background: var(--beige-dark);
  margin: 8px 24px;
}
.mobile-menu-nav .sub-item {
  padding-left: 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}
.mobile-menu-nav .sub-item:hover { color: var(--primary); }

.mobile-menu-nav .mobile-menu-cta {
  margin: 16px 24px 8px;
  padding: 14px;
  background: var(--primary);
  color: white !important;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  justify-content: center;
  border-left: none !important;
}
.mobile-menu-nav .mobile-menu-cta:hover {
  background: var(--primary-dark);
  border-left-color: transparent !important;
}

.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--beige-dark);
  flex-shrink: 0;
}
.mobile-menu-footer a {
  display: block;
  text-align: center;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  transition: background 0.2s;
}
.mobile-menu-footer a:hover { background: var(--primary-dark); }

/* Hamburger → X animation */
.hamburger span {
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 640px) {
  /* Hero fits in one screen on mobile */
  .hero, .hero-slider {
    height: calc(100svh - 110px);
    height: calc(100dvh - 110px);
    min-height: 0;
  }

  /* Navigation — hide desktop nav, use mobile-menu instead */
  header nav { display: none !important; }
  .hamburger { display: flex; }

  /* Grids → single column */
  .products-grid,
  .membership-cards,
  .r-grid-2,
  .r-grid-3,
  .r-grid-4 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .effects-grid { grid-template-columns: 1fr; }

  /* Wet food card image — keep side-by-side on mobile but smaller */
  .food-card-img-split { grid-template-columns: 1fr 1fr; }

  /* Spacing */
  section { padding: 56px 16px; }
  .page-hero { padding: 90px 16px 50px; }
  .zerojapan-hero-breadcrumb { top: 56px; }
  .nmn-hero { padding: 90px 16px 50px; }
  .section-inner { padding: 0; }

  /* Typography */
  .section-title { font-size: clamp(22px, 5vw, 36px); }
  .contact-card h3 { font-size: 22px; }
  .page-hero h1 { font-size: clamp(28px, 7vw, 48px); }
  .page-hero p { font-size: 15px; }
  .hero h1 { font-size: clamp(26px, 6.4vw, 48px); letter-spacing: 1px; margin-bottom: 14px; }
  .hero p { margin-bottom: 0; }

  /* Cards & boxes */
  .contact-card { padding: 36px 20px; }
  .contact-form { padding: 28px 20px; }
  .nmn-price-card { padding: 28px 20px; }
  .zerojapan-body { padding: 24px 20px; }
  .contact-buttons { flex-direction: column; align-items: stretch; }
  .contact-buttons a {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Tables — allow horizontal scroll */
  .product-spec-table { display: block; overflow-x: auto; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }

  /* NMN cert grid */
  .cert-grid { grid-template-columns: 1fr 1fr; }

  /* Food card full-width on mobile */
  .food-card { grid-template-columns: 1fr; }
  .food-card-img { min-height: 160px; }

  /* Section padding for specific inline-padded sections */
  .features-section { padding: 56px 16px; }

  /* ---- Override inline padding on sections ---- */
  section[style*="padding"] { padding-left: 16px !important; padding-right: 16px !important; }
  section[style*="padding:80px"],
  section[style*="padding: 80px"],
  section[style*="padding:100px"],
  section[style*="padding: 100px"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* ---- Concept section ---- */
  .concept-image img { height: 260px; }
  .concept-text h3 { font-size: 20px; }

  /* ---- Hero buttons ---- */
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons a { width: 100%; max-width: 280px; text-align: center; }
  .btn-primary, .btn-outline { padding: 14px 24px; font-size: 15px; }
  .product-card-body .btn-primary { display: flex !important; width: 100% !important; }

  /* ---- Hero bottom bar (mobile) ---- */
  .hero-bottom-bar { padding: 16px 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-bottom-text { text-align: center; font-size: 14px; }
  .hero-bottom-btns { justify-content: center; flex-wrap: nowrap; gap: 10px; }
  .hero-btn-shop, .hero-btn-line {
    flex: 1 1 50%;
    width: 50%;
    padding: 16px 10px;
    font-size: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.3;
  }

  /* ---- Hero content (mobile, keep hero + CTA bar within one screen) ---- */
  .hero-content { padding: 20px 20px 12px; }

  /* ---- Hero emblem (mobile) ---- */
  .hero-emblem { width: 90px; height: 90px; padding: 14px; margin-top: 24px; }

  /* ---- Products grid ---- */
  .products-grid { grid-template-columns: 1fr !important; }
  .product-card-img { height: 220px; }

  /* ---- Features numbers ---- */
  .feature-item h3 { font-size: 36px; }

  /* ---- PURENINE page ---- */
  .product-block { grid-template-columns: 1fr !important; gap: 24px !important; direction: ltr !important; }
  .product-block-img { aspect-ratio: 16/9; }
  .point-list { grid-template-columns: 1fr !important; }
  .size-table { font-size: 12px; }
  .size-table th, .size-table td { padding: 8px 10px; }

  /* ---- ANASTASIA page ---- */
  .ana-hero-content { padding: 100px 16px 60px; }
  .ana-hero h1 { font-size: clamp(28px, 8vw, 48px); }
  .ana-about-grid,
  .ana-product-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .ana-about-img { aspect-ratio: 16/9; }
  .ana-product-img img { max-height: 320px; }
  .ana-support-grid { grid-template-columns: 1fr !important; }
  .ana-support-items { grid-template-columns: 1fr !important; }
  .ana-mission-grid { grid-template-columns: repeat(2,1fr); }
  .ana-price-box { flex-direction: column; gap: 16px; }
  .ana-price { font-size: 28px; }
  .ana-stat-num { font-size: 40px; }
  .ana-cta h2 { font-size: clamp(24px, 7vw, 40px); }

  /* ---- Reviews section ---- */
  .reviews-grid { grid-template-columns: 1fr !important; }

  /* ---- Page hero ---- */
  .page-hero h1 { font-size: clamp(28px, 8vw, 44px); }

  /* ---- ZeroJapan card ---- */
  .zerojapan-section .section-inner { padding: 0; }

  /* ---- Footer logo ---- */
  .footer-brand img { height: 36px !important; }

  /* ---- Header logo: cropped full logo on mobile ---- */
  .logo img {
    content: url('../images/logo-aiken-crop.png');
    height: 50px !important;
    width: auto !important;
  }
  .header-inner { height: 70px; }

  /* ---- Section padding overrides (60px variants) ---- */
  section[style*="padding:60px"],
  section[style*="padding: 60px"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  section[style*="padding:100px"],
  section[style*="padding: 100px"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* ---- Inline grid divs → single column ---- */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:auto 1fr"] { grid-template-columns: 1fr !important; }

  /* ---- Flex rows → wrap on mobile ---- */
  div[style*="display:flex"][style*="gap"],
  div[style*="display: flex"][style*="gap"] { flex-wrap: wrap; }

  /* ---- Button groups ---- */
  .contact-buttons,
  div[style*="display:flex;flex-wrap:wrap;gap"] { flex-direction: column; align-items: stretch; }
  .btn-sm, .btn-white, .btn-line { text-align: center; }

  /* ---- Images: prevent overflow ---- */
  img { max-width: 100%; height: auto; }
  .logo img { max-width: none; }

}
