:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #ffd60a;
  --dark: #1d1d1d;
  --gray: #6b6b6b;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

/* ── Header ── */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

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

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-contact-header {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600;
}

.btn-contact-header:hover {
  background: var(--primary-dark) !important;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1d1d1d 0%, #2d2d2d 50%, #1a1a2e 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(230,57,70,0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255,214,10,0.10) 0%, transparent 60%);
}

.hero-inner { position: relative; max-width: 700px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero h1 span { color: var(--secondary); }

.hero p {
  font-size: 16px;
  color: #bbb;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Notice Banner ── */
.notice-banner {
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  color: #7b5e00;
}

.notice-banner strong { font-weight: 700; }

/* ── Section ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-header p { font-size: 15px; color: var(--gray); }

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.product-img {
  aspect-ratio: 3/2;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.06));
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  z-index: 1;
}

.badge-new { background: var(--primary); color: white; }
.badge-hot { background: #ff6b35; color: white; }
.badge-popular { background: #7c3aed; color: white; }

.product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--dark);
}

.product-desc {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 14px;
  flex: 1;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.product-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
}

.btn-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-inquiry:hover { background: var(--primary-dark); transform: scale(1.04); }

/* ── How to Order ── */
.howto-section {
  background: var(--light-gray);
  padding: 64px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-icon { font-size: 28px; margin-bottom: 12px; }

.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ── Contact Section ── */
.contact-section {
  background: linear-gradient(135deg, var(--dark), #2d1b1b);
  color: white;
  text-align: center;
  padding: 64px 24px;
}

.contact-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.contact-section p { color: #bbb; margin-bottom: 32px; font-size: 15px; }

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px 40px;
  backdrop-filter: blur(10px);
}

.contact-email {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.contact-email:hover { text-decoration: underline; }

.contact-note { font-size: 13px; color: #888; }

/* ── Footer ── */
footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
}

footer p + p { margin-top: 4px; }

/* ── Contact Page ── */
.page-hero {
  background: linear-gradient(135deg, #1d1d1d, #2d2d2d);
  color: white;
  padding: 48px 24px;
  text-align: center;
}

.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: #aaa; font-size: 15px; }

.contact-page-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
}

.contact-info-card {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 14px;
  color: #7b5e00;
  line-height: 1.7;
}

.contact-info-card strong { color: #5d4200; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group label .required {
  color: var(--primary);
  margin-left: 4px;
  font-size: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint { font-size: 12px; color: var(--gray); margin-top: 4px; }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}

.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

.success-message {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  color: #2e7d32;
  margin-top: 24px;
}

.success-message h3 { font-size: 18px; margin-bottom: 8px; }
.success-message p { font-size: 14px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  nav a:not(.btn-contact-header) { display: none; }
  .steps { grid-template-columns: 1fr; }
}
