:root {
  --primary: #f9c7e2;
  --primary-light: #ffeaf6;
  --primary-dark: #e897c4;
  --secondary: #85d6ff;
  --secondary-light: #c1e8ff;
  --secondary-dark: #4ab3ef;
  --accent: #ffca85;
  --text: #333333;
  --text-light: #666666;
  --background: #ffffff;
  --background-alt: #f7f9fc;
  --border: #e0e0e0;
  --success: #6fcf97;
  --error: #eb5757;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--secondary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
}

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

button, .btn {
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text);
}

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

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text);
}

.btn-accent:hover {
  background-color: #e5b06d;
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-lg);
}

/* Header & Navigation */
.header {
  height: var(--header-height);
  background-color: var(--background);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: var(--spacing-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: var(--spacing-xl);
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding: var(--spacing-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.cart-icon {
  position: relative;
  margin-left: var(--spacing-xl);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Section */
.hero {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.4)" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,176C960,171,1056,213,1152,218.7C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100px;
  opacity: 0.6;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xl);
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
}

/* Features Section */
.features {
  padding: var(--spacing-xxl) 0;
  background-color: var(--background-alt);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.feature-card {
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary-dark);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Product Description */
.product-description {
  padding: var(--spacing-xxl) 0;
}

.description-container {
  max-width: 800px;
  margin: 0 auto;
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Product Section */
.products {
  padding: var(--spacing-xxl) 0;
}

.product-grid {
  gap: var(--spacing-xl);
}

.product-card {
  background-color: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
}

.product-description {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.product-actions {
  display: flex;
  gap: var(--spacing-sm);
}

/* Quote Section */
.quote-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--primary-light);
  text-align: center;
}

.quote-text {
  font-style: italic;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-text::before, .quote-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  line-height: 0;
  position: relative;
}

/* Beginner Section */
.beginner-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--background-alt);
}

.beginner-card {
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.beginner-title {
  display: inline-block;
  background-color: var(--primary-light);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.beginner-steps {
  margin-top: var(--spacing-lg);
}

.step {
  display: flex;
  margin-bottom: var(--spacing-lg);
  align-items: flex-start;
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

/* Footer */
.footer {
  background-color: #f7f7f7;
  padding-top: var(--spacing-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-about {
  max-width: 300px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: var(--spacing-sm);
}

.footer-contact {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: flex-start;
}

.footer-contact-icon {
  margin-right: var(--spacing-sm);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: var(--spacing-md) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Product Page */
.product-detail {
  padding: var(--spacing-xxl) 0;
}

.product-detail-grid {
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-info-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.product-info-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-lg);
}

.product-info-description {
  margin-bottom: var(--spacing-lg);
}

.product-features {
  margin-bottom: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.feature-item-icon {
  color: var(--success);
  margin-right: var(--spacing-sm);
  flex-shrink: 0;
}

.product-quantity {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.quantity-label {
  margin-right: var(--spacing-md);
  font-weight: 500;
}

.quantity-input {
  width: 100px;
  padding: var(--spacing-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.product-actions-detail {
  display: flex;
  gap: var(--spacing-md);
}

/* Cart Page */
.cart {
  padding: var(--spacing-xxl) 0;
}

.cart-empty {
  text-align: center;
  padding: var(--spacing-xxl) 0;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.cart-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border);
}

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-right: var(--spacing-md);
}

.cart-quantity {
  width: 80px;
  padding: var(--spacing-xs);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.cart-remove {
  color: var(--error);
  cursor: pointer;
}

.cart-summary {
  margin-top: var(--spacing-xl);
  background-color: var(--background-alt);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
}

/* Checkout Page */
.checkout {
  padding: var(--spacing-xxl) 0;
}

.checkout-grid {
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
}

.checkout-form {
  background-color: var(--background);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.checkout-summary {
  background-color: var(--background-alt);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-md));
}

.summary-title {
  margin-bottom: var(--spacing-lg);
  font-size: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border);
}

/* Success Page */
.success {
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--spacing-lg);
}

.success-icon svg {
  width: 50px;
  height: 50px;
}

.success-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

.success-message {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

/* About Page */
.about {
  padding: var(--spacing-xxl) 0;
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xxl);
}

.team-grid {
  margin-top: var(--spacing-xl);
}

.team-member {
  text-align: center;
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-md);
}

.team-name {
  margin-bottom: var(--spacing-xs);
}

.team-position {
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.team-bio {
  color: var(--text-light);
}

/* Contact Page */
.contact {
  padding: var(--spacing-xxl) 0;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-info {
  background-color: var(--primary-light);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  background-color: var(--background);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.contact-icon {
  margin-right: var(--spacing-md);
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  flex-shrink: 0;
}

.contact-form-title {
  margin-bottom: var(--spacing-lg);
}

.form-textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  min-height: 150px;
  resize: vertical;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cookie-text {
  margin-bottom: var(--spacing-md);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.cookie-button {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.9rem;
  flex: 1;
  min-width: 100px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
  
  .grid-4, .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .grid-3, .grid-4, .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail-grid, .checkout-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .product-gallery {
    margin-bottom: var(--spacing-lg);
  }
  
  .contact-info {
    margin-bottom: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .product-actions, .product-actions-detail {
    flex-direction: column;
  }
  
  .cart-table {
    display: block;
    overflow-x: auto;
  }
}
