

:root {
  --c-bg: #f8f9fa;
  --c-fg: #1a1a1a;
  --c-muted: #7a8a92;
  --c-accent: #2c5aa0;
  --c-accent-light: #4a9fb5;
  --c-accent-pale: #e8f1f7;
  --c-border: #d4dfe8;
  
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --font-display: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  
  --bp-tablet: 641px;
  --bp-desktop: 1025px;
  
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-mid: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

html {
  background: var(--c-bg);
  color: var(--c-fg);
  font: 1rem / 1.6 var(--font-body);
}

body {
  background: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.375rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-2);
  color: var(--c-fg);
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--c-accent-light);
}

header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-fg);
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (max-width: 640px) {
  .container {
    padding-inline: var(--space-3);
  }
}

section {
  padding: var(--space-6) var(--space-4);
}

@media (max-width: 640px) {
  section {
    padding: var(--space-5) var(--space-3);
  }
}

.section-light {
  background: var(--c-bg);
}

.section-dark {
  background: #d8c6fa;
}

.section-accent {
  background: var(--c-accent-pale);
}

.section-heading {
  text-align: center;
  margin-inline: auto;
  max-width: 800px;
  margin-bottom: var(--space-4);
}

.section-heading h2 {
  margin-bottom: var(--space-2);
}

.section-lead {
  color: var(--c-muted);
  font-size: 1.1rem;
  text-align: center;
}

.hero {
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

.hero h1 {
  margin-bottom: var(--space-3);
  color: var(--c-fg);
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--c-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--c-accent);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s;
}

.hero-cta:hover {
  background: var(--c-accent-light);
  color: white;
}

.hero-visual {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--c-accent-pale), #dde8f0);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 0.9rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}

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

.card-with-image {
  overflow: hidden;
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-accent-pale), #dde8f0);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
}
.card-image img { width:100%; height:100%; object-fit:cover; display:block; }

.card h3 {
  margin-bottom: var(--space-2);
  color: var(--c-fg);
}

.card p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.flex-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.flex-row.centered {
  align-items: center;
}

.icon-box {
  display: block;
  width: 3rem;
  height: 3rem;
  background: var(--c-accent-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--c-accent);
  font-size: 1.5rem;
}

.flex-row .icon-box {
  margin-right: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.split-visual {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--c-accent-pale), #dde8f0);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 0.9rem;
}

.split-content h3 {
  margin-bottom: var(--space-3);
}

.split-content p {
  margin-bottom: var(--space-2);
  color: var(--c-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.step {
  position: relative;
  padding-left: var(--space-4);
}

.step::before {
  content: attr(data-number);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--c-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.step h4 {
  margin-bottom: var(--space-1);
  color: var(--c-fg);
}

.step p {
  font-size: 0.95rem;
  color: var(--c-muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}

@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

.metric {
  padding: var(--space-3);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: var(--space-1);
}

.metric-label {
  font-size: 0.95rem;
  color: var(--c-muted);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 1024px) {
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

.testimonial {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--c-fg);
  margin-bottom: var(--space-2);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--c-accent);
  font-size: 0.9rem;
}

.faq-item {
  background: rgb(184, 142, 142);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3);
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--c-accent-pale);
}

.faq-toggle {
  color: var(--c-accent);
  font-weight: 700;
  width: 1.5rem;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--space-3);
}

.faq-answer.active {
  max-height: 500px;
  padding: var(--space-3);
}

.faq-answer p {
  color: var(--c-muted);
  margin-bottom: 0;
}

.contact-form {
  max-width: 600px;
  margin-inline: auto;
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--c-fg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

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

.form-submit {
  width: 100%;
  padding: var(--space-2);
  background: var(--c-accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--c-accent-light);
}

footer {
  background: #f0f4f8;
  border-top: 1px solid var(--c-border);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-4);
  text-align: left;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  color: var(--c-muted);
  display: block;
  margin-bottom: var(--space-1);
}

.footer-section a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f8f9fa;
  border-top: 3px solid var(--c-accent);
  padding: var(--space-4);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin-inline: auto;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

@media (max-width: 640px) {
  .cookie-header {
    flex-direction: column;
    gap: var(--space-2);
  }
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--c-fg);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--c-accent);
  font-weight: 600;
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cookie-actions {
    flex-direction: column;
  }
}

.cookie-btn {
  padding: var(--space-2) var(--space-3);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-accept {
  background: var(--c-accent);
  color: white;
}

.cookie-accept:hover {
  background: #1e7a8d;
}

.cookie-decline {
  background: white;
  color: var(--c-fg);
  border: 2px solid var(--c-border);
}

.cookie-decline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.cookie-customize {
  background: white;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}

.cookie-customize:hover {
  background: var(--c-accent);
  color: white;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.cookie-category {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--c-border);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.cookie-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--c-accent);
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-left: 28px;
  line-height: 1.4;
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.cookie-modal-actions button {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

.cookie-modal-save {
  background: var(--c-accent);
  color: white;
}

.cookie-modal-save:hover {
  background: #1e7a8d;
}

.cookie-modal-cancel {
  background: white;
  color: var(--c-fg);
  border: 2px solid var(--c-border);
}

.cookie-modal-cancel:hover {
  border-color: var(--c-accent);
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}

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

.product-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-accent-pale), #dde8f0);
  overflow: hidden;
  color: var(--c-muted);
  font-size: 0.9rem;
}
.product-image img { width:100%; height:100%; object-fit:cover; display:block; }

.product-info {
  padding: var(--space-3);
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--c-fg);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: var(--space-2);
}

.product-cta {
  display: block;
  width: 100%;
  padding: var(--space-2);
  background: var(--c-accent);
  color: white;
  text-align: center;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background 0.2s;
}

.product-cta:hover {
  background: var(--c-accent-light);
  color: white;
}

@media (max-width: 640px) {
  header {
    padding: var(--space-2) var(--space-3);
  }
  
  .logo-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  .hero {
    padding: var(--space-5) var(--space-3);
  }
}

.value-item { padding: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* wh-missing-cls */




/* wh-img-fill */
.product-image img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
