:root {
  --primary-color: #2c7873;
  --secondary-color: #6fb98f;
  --accent-color: #4d7298;
  --light-color: #f7f9f9;
  --dark-color: #2e3532;
  --gray-light: #e8ecee;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-align: center;
}

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

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

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

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

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

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo img {
  height: 50px;
  margin-right: 10px;
}

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

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

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

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

.cart-icon {
  margin-left: 1.5rem;
  position: relative;
  cursor: pointer;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  background-color: white;
  padding: 5rem 0;
  text-align: center;
  background-image: linear-gradient(135deg, rgba(44, 120, 115, 0.1) 0%, rgba(247, 249, 249, 0.1) 100%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

.features-title {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 2rem;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
}

/* Product Section */
.products {
  padding: 5rem 0;
  background-color: white;
}

.products-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-buttons {
  display: flex;
  gap: 1rem;
}

/* Product Detail */
.product-detail {
  padding: 5rem 0;
  background-color: white;
}

.product-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail-img img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.product-detail-info h1 {
  margin-bottom: 1rem;
}

.product-detail-price {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.product-detail-desc {
  margin-bottom: 2rem;
}

.product-detail-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-quantity {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  background-color: var(--gray-light);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quantity-input {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid var(--gray-light);
  margin: 0 0.5rem;
}

.product-features {
  margin-top: 2rem;
}

.product-features h3 {
  margin-bottom: 1rem;
}

.product-features ul {
  list-style-type: none;
}

.product-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Custom List Markers */
.custom-list {
  list-style-type: none;
  padding-left: 1.5rem;
}

.custom-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.custom-list.check li::before {
  content: '✓';
  background-color: transparent;
  color: var(--secondary-color);
  font-weight: bold;
  top: 0;
}

.custom-list.arrow li::before {
  content: '→';
  background-color: transparent;
  color: var(--secondary-color);
  font-weight: bold;
  top: 0;
}

.custom-list.star li::before {
  content: '★';
  background-color: transparent;
  color: var(--secondary-color);
  font-weight: bold;
  top: 0;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: rgba(44, 120, 115, 0.05);
}

.comparison-table tr:hover {
  background-color: rgba(44, 120, 115, 0.1);
}

/* Cart Page */
.cart {
  padding: 5rem 0;
  background-color: white;
}

.cart-title {
  margin-bottom: 2rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

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

.cart-table th,
.cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

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

.cart-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

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

.cart-remove {
  color: #e74c3c;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.cart-total h3 {
  margin-right: 1rem;
}

.cart-total-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Checkout Page */
.checkout {
  padding: 5rem 0;
  background-color: white;
}

.checkout-title {
  margin-bottom: 2rem;
}

.checkout-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.checkout-form {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.checkout-summary {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  position: sticky;
  top: 100px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-light);
  font-weight: 700;
}

/* Contact Page */
.contact {
  padding: 5rem 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}

/* About Page */
.about-page {
  padding: 5rem 0;
  background-color: white;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.team-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Success Page */
.success {
  padding: 5rem 0;
  background-color: white;
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.success-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  transform: translateY(100%);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 1rem;
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    margin: 0.5rem 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 0;
  }

  .about-content,
  .contact-content,
  .checkout-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav.show {
    display: flex;
    flex-direction: column;
  }

  .features-grid,
  .products-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cart-table {
    display: block;
    overflow-x: auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    flex-direction: column;
  }

  .cookie-buttons {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
  }

  .product-buttons,
  .cart-buttons,
  .success-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
}
