/* 雅釜 Miyabi-Gama - Premium Kettle - Japanese E-commerce */
:root {
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-text: #2c2c2c;
  --color-text-muted: #5a5a5a;
  --color-accent: #8b6914;
  --color-accent-light: #c9a227;
  --color-border: #e8e6e3;
  --color-trust: #1a5f2a;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 6px;
  --container: min(1120px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.logo span {
  color: var(--color-accent);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.nav-list a {
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.nav-list a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #f5f3ef 0%, var(--color-bg) 100%);
  padding: 3rem 4% 4rem;
  text-align: center;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-mincho);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.hero .lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-img-wrap {
  margin: 2rem auto;
  max-width: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-img-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-secondary {
  background: var(--color-text);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

/* Sections */
.section {
  padding: 3.5rem 4%;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.product-card .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: #f5f4f2;
  font-weight: 600;
  color: var(--color-text);
}

tr:last-child th, tr:last-child td {
  border-bottom: none;
}

/* Testimonials */
.testimonials {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.testimonial-card .stars {
  color: var(--color-accent-light);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.testimonial-card .author {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 3rem 4%;
  background: linear-gradient(165deg, #f0ede8 0%, #e8e5df 100%);
  border-top: 1px solid var(--color-border);
}

.cta-block h2 {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-block p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #c8c6c4;
  padding: 2.5rem 4% 1.5rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  color: #c8c6c4;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #9a9896;
  text-align: center;
}

/* Page header */
.page-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 4%;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-mincho);
  font-size: 1.75rem;
  font-weight: 600;
}

/* Content pages */
.content-page .section-inner {
  max-width: 720px;
}

.content-page .section-inner h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.content-page .section-inner p, .content-page .section-inner li {
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.content-page .section-inner ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  color: var(--color-trust);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.form-success.visible {
  display: block;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.75rem 4%;
  max-width: var(--container);
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

/* Spec list */
.spec-list {
  list-style: none;
}

.spec-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.spec-list li span:first-child {
  color: var(--color-text-muted);
}

.spec-list li span:last-child {
  font-weight: 500;
  text-align: right;
}

/* Product detail (two-column) */
.product-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .product-detail-row {
    grid-template-columns: 1fr;
  }
}

/* Cookie consent modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.cookie-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  width: 100%;
  position: relative;
  padding: 1.5rem 2rem 1.5rem 1.5rem;
}
.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.cookie-modal-close:hover {
  color: var(--color-text);
}
.cookie-modal-close::before {
  content: "×";
}
.cookie-modal h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}
.cookie-modal p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cookie-modal-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Utility */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-list {
    width: 100%;
  }
  .hero {
    padding: 2rem 4% 3rem;
  }
  .section {
    padding: 2.5rem 4%;
  }
}
