/* 
* 琥珀水 - コットンキャンディ・トイレボウルクリーナー
* スタイルシート
* 2024
*/

/* ベースとリセット */
:root {
  /* カラーパレット */
  --color-primary: #1a7372;
  --color-primary-light: #69a3a2;
  --color-primary-dark: #0a514f;
  --color-secondary: #e8d0b9;
  --color-secondary-light: #f5ebe0;
  --color-secondary-dark: #d4a76a;
  --color-accent: #c4514d;
  --color-accent-light: #e07270;
  --color-accent-dark: #a13330;
  
  /* テキストカラー */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-text-white: #ffffff;
  
  /* 背景色 */
  --color-background: #ffffff;
  --color-background-light: #f8f8f8;
  --color-background-dark: #e0e0e0;
  
  /* ボーダー */
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;
  --color-border-dark: #cccccc;
  
  /* ステータスカラー */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-error: #dc3545;
  
  /* フォント */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  
  /* スペーシング */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* ボーダーラディウス */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* アニメーション */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* コンテンツ幅 */
  --container-max-width: 1280px;
  --container-narrow-max-width: 960px;
}

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

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

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

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

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

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

/* コンテナ */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

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

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

.btn.secondary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  border-color: var(--color-primary-light);
}

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

.btn.tertiary:hover {
  background-color: var(--color-background-light);
  border-color: var(--color-text-light);
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.logo {
  max-width: 150px;
}

.logo img {
  width: 100%;
  height: auto;
}

nav ul {
  display: flex;
  gap: var(--space-lg);
}

nav a {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

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

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

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}

#cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ヒーロー */
.hero {
  background-color: var(--color-secondary-light);
  background-image: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.3)), url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* 特徴セクション */
.features {
  padding: var(--space-xxl) 0;
  background-color: var(--color-background);
}

.features h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.feature-item h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

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

/* 統計 */
.stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: var(--color-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: var(--space-md);
  color: var(--color-text-white);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

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

.cta {
  text-align: center;
}

/* 商品説明セクション */
.about-products {
  padding: var(--space-xxl) 0;
  background-color: var(--color-background-light);
}

.about-products h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h3 {
  margin-top: var(--space-lg);
  color: var(--color-primary-dark);
}

.about-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* 商品リスト */
.products {
  padding: var(--space-xxl) 0;
  background-color: var(--color-background);
}

.products h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.product-letter {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-background);
  font-family: var(--font-serif);
  line-height: 1.8;
}

.product-letter p {
  margin-bottom: var(--space-md);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.products-grid.small {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.product-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background-color: var(--color-background);
}

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

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

.products-grid.small .product-card img {
  height: 200px;
}

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

.product-card h3 {
  padding: var(--space-md) var(--space-md) var(--space-xs);
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.product-card .price {
  padding: 0 var(--space-md) var(--space-md);
  font-weight: 600;
  color: var(--color-accent-dark);
}

.product-card .description {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.product-card .btn {
  margin: 0 var(--space-md) var(--space-md);
  width: calc(100% - var(--space-md) * 2);
}

/* 製品詳細ページ */
.product-detail {
  padding: var(--space-xl) 0;
}

.breadcrumb {
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

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

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

.product-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.product-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

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

.product-info {
  flex: 1;
  min-width: 300px;
}

.product-info h1 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

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

.product-rating {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.stars {
  color: var(--color-secondary-dark);
  margin-right: var(--space-sm);
}

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

.stock {
  margin-bottom: var(--space-md);
  font-weight: 500;
  color: var(--color-success);
}

.product-description {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.product-description p {
  margin-bottom: var(--space-md);
}

.product-description ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style: disc;
}

.product-description li {
  margin-bottom: var(--space-xs);
}

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

.quantity-selector label {
  margin-right: var(--space-md);
}

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

.quantity-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background-light);
  font-size: 1.25rem;
  transition: background-color var(--transition-fast);
}

.quantity-btn:hover {
  background-color: var(--color-background-dark);
}

input[type="number"] {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

.product-actions .btn {
  flex: 1;
}

/* 製品詳細タブ */
.product-details-tabs {
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  background-color: var(--color-background-light);
  border-bottom: 1px solid var(--color-border);
}

.tab-btn {
  padding: var(--space-md) var(--space-lg);
  font-weight: 500;
  transition: background-color var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

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

.tab-content {
  padding: var(--space-lg);
  display: none;
}

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

.tab-content h3 {
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.tab-content h4 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.tab-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.tab-content ul, .tab-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

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

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

.tab-content li {
  margin-bottom: var(--space-xs);
}

/* レビューセクション */
.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.average-rating {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.big-star {
  font-size: 2rem;
  color: var(--color-secondary-dark);
  margin-bottom: var(--space-sm);
  display: block;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  display: block;
}

.review-count {
  color: var(--color-text-light);
}

.rating-bars {
  flex: 2;
  min-width: 300px;
}

.rating-bar {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.rating-level {
  width: 40px;
  text-align: right;
  margin-right: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.bar-container {
  flex: 1;
  height: 8px;
  background-color: var(--color-background-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-right: var(--space-md);
}

.bar {
  height: 100%;
  background-color: var(--color-secondary-dark);
}

.rating-percent {
  width: 40px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.review-list {
  margin-bottom: var(--space-lg);
}

.review {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.review:last-of-type {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.reviewer-name {
  font-weight: 600;
}

.review-stars {
  color: var(--color-secondary-dark);
}

.review-date {
  color: var(--color-text-lighter);
  font-size: 0.9rem;
}

.review-content {
  line-height: 1.8;
  color: var(--color-text);
}

/* 関連商品 */
.related-products {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.related-products h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* カートページ */
.cart-section {
  padding: var(--space-xl) 0;
}

.cart-section h1 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.cart-message {
  text-align: center;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-background-light);
}

.cart-message svg {
  color: var(--color-text-light);
  margin: 0 auto var(--space-md);
}

.cart-message p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.cart-container {
  margin-bottom: var(--space-xl);
}

.cart-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  padding: var(--space-md);
  background-color: var(--color-background-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

.cart-items {
  border-bottom: 1px solid var(--color-border);
}

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

.cart-item:last-child {
  border-bottom: none;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

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

.cart-product-details h3 {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--color-text);
}

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

.cart-quantity-input {
  width: 40px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: var(--space-xs);
}

.cart-remove {
  cursor: pointer;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.cart-remove:hover {
  color: var(--color-accent);
}

.cart-summary {
  display: flex;
  justify-content: flex-end;
  padding: var(--space-lg);
  background-color: var(--color-background-light);
}

.cart-totals {
  width: 300px;
}

.cart-subtotal, .cart-shipping, .cart-tax {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}

.recommended-products {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.recommended-products h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* チェックアウトページ */
.checkout-section {
  padding: var(--space-xl) 0;
}

.checkout-section h1 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.checkout-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  color: var(--color-text-light);
}

.step.active {
  color: var(--color-primary);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background-light);
  border: 2px solid var(--color-border);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

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

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

.checkout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.checkout-form-container {
  flex: 2;
  min-width: 300px;
}

.form-section {
  margin-bottom: var(--space-xl);
}

.form-section h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: var(--space-md);
}

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

.form-group small {
  display: block;
  margin-top: var(--space-xs);
  color: var(--color-text-light);
  font-size: 0.85rem;
}

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

input, select, textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
  background-color: var(--color-background);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.checkbox input[type="checkbox"] {
  width: auto;
}

.checkbox label {
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.order-summary {
  flex: 1;
  min-width: 300px;
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  align-self: flex-start;
}

.order-summary h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.checkout-items {
  margin-bottom: var(--space-lg);
}

.checkout-item {
  display: flex;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-sm);
}

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

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

.checkout-item-details {
  flex: 1;
}

.checkout-item-details h4 {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--color-text);
}

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

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

.order-totals {
  margin-bottom: var(--space-lg);
}

.order-subtotal, .order-shipping, .order-tax {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

/* 注文完了ページ */
.success-section {
  padding: var(--space-xxl) 0;
}

.success-content {
  max-width: 600px;
  margin: 0 auto var(--space-xxl);
  text-align: center;
}

.success-icon {
  margin-bottom: var(--space-lg);
  color: var(--color-success);
}

.success-message {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
}

.order-confirmation {
  background-color: var(--color-background-light);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  text-align: left;
  margin-bottom: var(--space-xl);
}

.order-confirmation h2 {
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* お問い合わせページ */
.contact-hero {
  background-color: var(--color-secondary-light);
  padding: var(--space-xl) 0;
  text-align: center;
}

.contact-hero h1 {
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.contact-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.contact-section {
  padding: var(--space-xl) 0;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  padding: var(--space-lg);
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.contact-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.contact-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.contact-card p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.contact-card a {
  display: block;
  font-weight: 600;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
}

.contact-form-container h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

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

.form-success {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-md);
}

.form-success .success-icon {
  color: var(--color-success);
  margin-bottom: var(--space-md);
}

/* FAQ */
.faq-section {
  margin-top: var(--space-xl);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

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

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

.faq-question {
  padding: var(--space-md) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--color-text);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer p {
  padding: 0 0 var(--space-md);
  color: var(--color-text-light);
}

/* 会社概要ページ */
.about-hero {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  padding: var(--space-xxl) 0;
  text-align: center;
}

.about-hero h1 {
  color: var(--color-text-white);
  margin-bottom: var(--space-md);
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-story {
  padding: var(--space-xxl) 0;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.about-content {
  flex: 2;
  min-width: 300px;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.about-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-image {
  flex: 1;
  min-width: 300px;
  align-self: center;
}

.about-values h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-primary-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-item {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal);
}

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

.value-icon {
  margin: 0 auto var(--space-md);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.value-item h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

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

/* タイムライン */
.about-milestones {
  padding: var(--space-xxl) 0;
  background-color: var(--color-background-light);
}

.about-milestones h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-primary-dark);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100px;
  width: 2px;
  background-color: var(--color-primary-light);
}

.timeline-item {
  position: relative;
  padding-left: 120px;
  margin-bottom: var(--space-lg);
}

.timeline-year {
  position: absolute;
  left: 0;
  width: 80px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  text-align: right;
}

.timeline-content {
  position: relative;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-background);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-content:before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-background);
  box-shadow: 0 0 0 2px var(--color-primary-light);
}

.timeline-content h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-primary-dark);
}

.timeline-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* チームセクション */
.team-section {
  padding: var(--space-xxl) 0;
}

.team-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  color: var(--color-text-light);
  font-size: 1.1rem;
}

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

.team-member {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.team-member h3 {
  padding: var(--space-md) var(--space-md) var(--space-xs);
  margin-bottom: 0;
  color: var(--color-primary-dark);
}

.team-member p {
  padding: 0 var(--space-md);
  margin-bottom: var(--space-xs);
}

.team-member p:nth-of-type(1) {
  font-weight: 600;
  color: var(--color-primary);
}

.team-member .social-links {
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

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

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

/* ビジョンセクション */
.vision-section {
  padding: var(--space-xxl) 0;
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-content h2 {
  color: var(--color-text-white);
  margin-bottom: var(--space-lg);
}

.vision-content p {
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.vision-content .btn {
  margin-top: var(--space-lg);
  background-color: var(--color-text-white);
  color: var(--color-primary);
  border-color: var(--color-text-white);
}

.vision-content .btn:hover {
  background-color: transparent;
  color: var(--color-text-white);
}

/* フッター */
footer {
  background-color: var(--color-background-dark);
  padding: var(--space-xl) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  width: 100px;
  height: auto;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: var(--space-lg);
}

.footer-column h4 {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-column a {
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-column address {
  color: var(--color-text-light);
  font-style: normal;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-text-light);
  color: var(--color-background);
  transition: background-color var(--transition-fast);
}

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

/* クッキー通知 */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-background);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}

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

.cookie-content {
  padding: var(--space-lg);
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-md) 0;
  flex-wrap: wrap;
}

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

/* 通知 */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--color-background);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 1000;
  display: none;
  max-width: 400px;
}

.notification.show {
  display: block;
  animation: slideIn 0.3s forwards;
}

.notification-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notification-content svg {
  color: var(--color-success);
  margin-bottom: var(--space-sm);
}

.notification-content p {
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.notification-buttons {
  display: flex;
  gap: var(--space-sm);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .header-inner {
    flex-direction: column;
    padding: var(--space-sm);
  }
  
  .logo {
    margin-bottom: var(--space-md);
  }
  
  nav ul {
    gap: var(--space-md);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .features-grid, .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
  }
  
  .stat-item {
    margin-bottom: var(--space-md);
  }
  
  .product-showcase {
    flex-direction: column;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .cart-header, .cart-item {
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
  }
  
  .cart-price-header, .cart-price {
    display: none;
  }
  
  .cart-summary {
    flex-direction: column;
  }
  
  .cart-totals {
    width: 100%;
    margin-bottom: var(--space-lg);
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .timeline:before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-year {
    width: 40px;
    font-size: 1rem;
  }
  
  .timeline-content:before {
    left: -25px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-header, .cart-item {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .cart-total-header, .cart-total-price {
    display: none;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
}
