/* ベースの設定 */
:root {
  --primary-color: #4A6F8F;
  --primary-light: #7895B2;
  --secondary-color: #E1D4BB;
  --accent-color: #8B7E74;
  --text-color: #333333;
  --light-text: #666666;
  --background-color: #FFFFFF;
  --light-background: #F9F9F9;
  --border-color: #E5E5E5;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --warning-color: #FFC107;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --radius: 4px;
  --font-family: 'Noto Sans JP', sans-serif, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
}

/* ヘッダー */
header {
  background-color: var(--background-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

#cart-count {
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: absolute;
  top: -10px;
  right: -10px;
}

/* ヒーローセクション */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(74, 111, 143, 0.7), rgba(139, 126, 116, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary-color);
}

.cta-button:hover {
  background-color: transparent;
  color: white;
}

.view-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* 特徴セクション */
.benefits {
  padding: 5rem 1rem;
  background-color: var(--light-background);
  text-align: center;
}

.benefits h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item svg {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.benefit-item p {
  color: var(--light-text);
}

.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 4rem auto;
  max-width: 1200px;
}

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

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--light-text);
  font-size: 1.1rem;
}

.cta-container {
  margin-top: 3rem;
}

.cta-button-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 1px;
}

.cta-button-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 製品説明セクション */
.product-description {
  padding: 5rem 1rem;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/logo.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

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

.product-description h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.product-description p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.quality-guarantee {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
  box-shadow: var(--shadow);
}

.quality-guarantee h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.quality-guarantee ul {
  list-style: disc;
  padding-left: 2rem;
}

.quality-guarantee li {
  margin-bottom: 0.5rem;
}

.brand-story {
  margin-top: 3rem;
}

.brand-story h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* 商品一覧セクション */
.products {
  padding: 5rem 1rem;
  background-color: var(--background-color);
}

.products h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-card a {
  display: block;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

.product-card .description {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.add-to-cart {
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0;
  width: 100%;
  font-weight: 600;
  transition: var(--transition);
  border-top: 1px solid var(--border-color);
}

.add-to-cart:hover {
  background-color: var(--primary-light);
}

.view-details {
  display: block;
  text-align: center;
  padding: 0.8rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.view-details:hover {
  background-color: var(--accent-color);
  color: white;
}

/* フッター */
footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 2fr 1fr;
  }
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-logo p {
  opacity: 0.8;
}

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

.footer-links-column h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.footer-links-column ul li {
  margin-bottom: 0.5rem;
}

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

.footer-links-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-social h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

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

.social-icons svg {
  color: white;
}

address {
  font-style: normal;
}

address p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie通知 */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none; /* 初期状態では非表示 */
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1rem;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

#accept-cookies {
  background-color: var(--success-color);
  color: white;
}

#customize-cookies {
  background-color: var(--warning-color);
  color: var(--text-color);
}

#reject-cookies {
  background-color: var(--error-color);
  color: white;
}

.cookie-content a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.cookie-content a:hover {
  color: white;
}

/* 追加カート通知 */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--success-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1000;
  transform: translateX(200%);
  transition: transform 0.3s ease;
}

.notification.show {
  transform: translateX(0);
}

/* 商品詳細ページ */
.breadcrumb {
  background-color: var(--light-background);
  padding: 1rem 0;
}

.breadcrumb .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--light-text);
}

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

.product-detail {
  padding: 4rem 1rem;
}

.product-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr 1fr;
  }
}

.product-image {
  background-color: var(--light-background);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.stars {
  display: flex;
  color: #FFD700;
}

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

.product-description {
  margin-bottom: 2rem;
}

.product-description p {
  line-height: 1.8;
}

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

.product-features h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.product-features ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.product-features li {
  margin-bottom: 0.5rem;
}

.product-quantity {
  margin-bottom: 2rem;
}

.product-quantity label {
  display: block;
  margin-bottom: 0.5rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-controls button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-background);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
}

.quantity-controls input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

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

.add-to-cart-btn, .buy-now-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  flex: 1;
}

.add-to-cart-btn {
  background-color: var(--primary-color);
  color: white;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-light);
}

.buy-now-btn {
  background-color: var(--accent-color);
  color: white;
}

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

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--light-text);
}

.availability, .shipping-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.availability svg {
  color: var(--success-color);
}

/* 商品詳細タブ */
.product-details-tabs {
  padding: 4rem 1rem;
  background-color: var(--light-background);
}

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

.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-button {
  padding: 1rem 2rem;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-weight: 600;
  color: var(--light-text);
  transition: var(--transition);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.tab-content p, .tab-content ul, .tab-content ol {
  margin-bottom: 1rem;
}

.tab-content ul, .tab-content ol {
  padding-left: 1.5rem;
}

.tab-content ul {
  list-style: disc;
}

.tab-content ol {
  list-style: decimal;
}

/* 関連商品 */
.related-products {
  padding: 4rem 1rem;
}

.related-products h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

.related-products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.related-product-card:hover {
  transform: translateY(-5px);
}

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

.related-product-card a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.related-product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.related-product-card .price {
  font-weight: 700;
  font-size: 1.1rem;
}

/* カートページ */
.cart-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.cart-hero h1 {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
}

.cart-section {
  padding: 4rem 1rem;
}

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

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

.cart-empty svg {
  color: var(--light-text);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-empty h2 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.cart-empty p {
  margin-bottom: 2rem;
  color: var(--light-text);
}

.continue-shopping-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.continue-shopping-btn:hover {
  background-color: var(--primary-light);
  color: white;
}

.cart-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
  padding: 1rem 0;
  border-bottom: 2px solid var(--border-color);
  font-weight: 600;
  color: var(--primary-color);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
  padding: 1rem 0;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.cart-item-price, .cart-item-total {
  font-weight: 600;
}

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

.cart-quantity-controls {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-quantity-controls button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-background);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
}

.cart-quantity-controls input {
  width: 40px;
  height: 30px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.cart-item-remove button {
  background-color: transparent;
  border: none;
  color: var(--error-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.clear-cart-btn {
  padding: 0.8rem 1.5rem;
  background-color: transparent;
  border: 1px solid var(--error-color);
  color: var(--error-color);
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.clear-cart-btn:hover {
  background-color: var(--error-color);
  color: white;
}

.cart-summary {
  background-color: var(--light-background);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.cart-grand-total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  border-top: 2px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

.checkout-btn {
  display: block;
  padding: 1rem;
  background-color: var(--success-color);
  color: white;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 2rem;
  transition: var(--transition);
}

.checkout-btn:hover {
  background-color: #3d8b40;
  color: white;
}

/* おすすめ商品 */
.recommended-products {
  padding: 4rem 1rem;
  background-color: var(--light-background);
}

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

.recommended-products h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

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

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

.recommended-product:hover {
  transform: translateY(-5px);
}

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

.recommended-product a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.recommended-product h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.recommended-product .price {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* チェックアウトページ */
.checkout-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.checkout-hero h1 {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
}

.checkout-section {
  padding: 4rem 1rem;
}

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

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
}

.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-background);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.checkout-step.active .step-number {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.checkout-step.completed .step-number {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

.step-connector {
  width: 100px;
  height: 2px;
  background-color: var(--border-color);
}

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

.checkout-step.active .step-name {
  color: var(--primary-color);
  font-weight: 600;
}

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

@media (min-width: 992px) {
  .checkout-content {
    grid-template-columns: 2fr 1fr;
  }
}

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

.checkout-form-container h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

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

.required {
  color: var(--error-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 111, 143, 0.2);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--light-text);
  margin-top: 0.3rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
}

.submit-order-btn {
  padding: 1rem;
  background-color: var(--success-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  grid-column: span 2;
  margin-top: 1rem;
  transition: var(--transition);
}

.submit-order-btn:hover {
  background-color: #3d8b40;
}

.order-summary {
  background-color: var(--light-background);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: start;
}

.order-summary h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.checkout-item-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkout-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
}

.checkout-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-info h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

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

.checkout-item-quantity {
  background-color: var(--background-color);
  padding: 0.2rem 0.5rem;
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--light-text);
}

.checkout-item-total {
  font-weight: 600;
}

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

.checkout-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.checkout-grand-total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  border-top: 2px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

.back-to-cart-btn {
  display: block;
  text-align: center;
  padding: 0.8rem;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.back-to-cart-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 注文完了ページ */
.success-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.success-hero h1 {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
}

.success-section {
  padding: 4rem 1rem;
}

.success-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-color);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-icon {
  margin-bottom: 2rem;
}

.success-icon svg {
  color: var(--success-color);
}

.success-container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--success-color);
}

.success-message {
  margin-bottom: 2rem;
}

.success-message p {
  margin-bottom: 1rem;
}

.next-steps, .customer-support {
  text-align: left;
  margin-bottom: 2rem;
  background-color: var(--light-background);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.next-steps h3, .customer-support h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.next-steps ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.next-steps li {
  margin-bottom: 0.5rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.view-products-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.view-products-btn:hover {
  background-color: var(--primary-light);
  color: white;
}

.recommend-after-purchase {
  padding: 4rem 1rem;
  background-color: var(--light-background);
}

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

.recommend-after-purchase h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

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

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

.recommend-product:hover {
  transform: translateY(-5px);
}

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

.recommend-product a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.recommend-product h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.recommend-product .price {
  font-weight: 700;
}

/* 私たちについてページ */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

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

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

.about-story {
  padding: 5rem 1rem;
}

.about-story h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
}

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

@media (min-width: 992px) {
  .about-story-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-story-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-story-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
}

.parallax-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.about-philosophy {
  padding: 5rem 1rem;
  background-color: var(--light-background);
}

.about-philosophy h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
}

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

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

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-item svg {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.philosophy-item h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.about-team {
  padding: 5rem 1rem;
}

.about-team h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary-color);
}

.team-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.team-member:hover {
  transform: translateY(-5px);
}

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

.team-member h3 {
  margin: 1rem 0 0.5rem;
  padding: 0 1.5rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.team-member p:nth-child(3) {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-social {
  display: flex;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

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

.team-social a:hover {
  background-color: var(--primary-color);
}

.team-social a:hover svg {
  color: white;
}

.team-social svg {
  color: var(--primary-color);
}

.about-eco {
  padding: 5rem 1rem;
  background-color: var(--light-background);
}

.about-eco h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
}

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

@media (min-width: 992px) {
  .eco-content {
    grid-template-columns: 2fr 1fr;
  }
}

.eco-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.eco-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.eco-text li {
  margin-bottom: 0.5rem;
}

.eco-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.eco-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.eco-badge svg {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.eco-badge span {
  font-weight: 600;
  color: var(--primary-color);
}

.about-cta {
  padding: 5rem 1rem;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/logo.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.about-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-cta p {
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* お問い合わせページ */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

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

.contact-section {
  padding: 5rem 1rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr 2fr;
  }
}

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

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-method {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(74, 111, 143, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon svg {
  color: var(--primary-color);
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.contact-details p {
  color: var(--light-text);
}

.contact-details .subtext {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-top: 0.3rem;
}

address {
  font-style: normal;
}

.social-contact {
  margin-top: 3rem;
}

.social-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.contact-form-container h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.submit-button {
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  grid-column: span 2;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: var(--primary-light);
}

.faq-section {
  padding: 5rem 1rem;
  background-color: var(--light-background);
}

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

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
}

.faq-item {
  background-color: var(--background-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.faq-question svg {
  transition: var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.2rem;
  }
  
  .products-container,
  .benefits-container,
  .related-products-container,
  .recommended-products-grid,
  .philosophy-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-header, .cart-item {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .cart-header-quantity, .cart-header-remove, .cart-item-quantity, .cart-item-remove {
    display: none;
  }
  
  .checkout-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .submit-order-btn {
    grid-column: auto;
  }
  
  .checkout-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-connector {
    width: 2px;
    height: 30px;
  }
}

/* パララックス効果 */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease;
}

/* プレースホルダーの修正 */
::placeholder {
  color: #BBBBBB;
  opacity: 1;
}

/* 横スクロール防止 */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* フォーカス状態のスタイル */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 111, 143, 0.5);
}

/* アクセシビリティのための非表示 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 印刷用スタイル */
@media print {
  header, footer, .cookie-notice, .notification, .add-to-cart, .buy-now-btn, .view-details {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .product-card, .product-detail-container, .product-image, .product-info {
    break-inside: avoid;
  }
}
