/* 全体リセットと基本設定 */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* ヘッダー全体 */
  .header {
    background-color: #fedc5e; /* ヘッダー全体白背景 */
  }
  
  /* ロゴエリア */
  .header .container {
    padding: 20px 0 10px;
  }
  
  .logo {
    display: block;
    margin-bottom: 10px;
  }
  
  .logo-image {
    height: 40px;
  }
  
  /* メニューエリア */
  .menu-area {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0; /* 下ライン（薄グレー） */
    padding: 18px 0;
  }
  
  .header-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .header-nav li a {
    color: #ecc656; /* ハニーカラー */
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
  }
  
  .header-nav li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ecc656;
    transition: width 0.3s ease;
  }
  
  .header-nav li a:hover::after {
    width: 100%;
  }
  
  /* その他のスタイル（バナー、商品一覧、フッターなど） */
  
  /* バナー */
  .banner {
    background-image: url('/images/bg/AdobeStock_400317166.jpeg'); /* ここに画像パスを書く */
    background-size: cover;
    background-position: center; /* 真ん中に寄せる */
    background-repeat: no-repeat; /* 繰り返さない */
    padding: 30px 20px; /* 必要に応じて調整！ */
    text-align: center;
    font-family: "tot-shizukasmudgego-stdn", sans-serif;
    color: #777; /* 文字色（画像の上に乗るから白が基本） */
  }
  
  .banner h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* ほんのり黒シャドウ */
  }
  
  .banner p {
    margin-top: 10px;
    font-size: 1.2em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* ほんのり黒シャドウ */
  }
  
  /* 商品リスト */
  .products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 0;
  }
  
  .product {
    text-align: center;
    width: 250px;
  }
  
  .product img {
    width: 100%;
    border-radius: 8px;
  }
  
  .product h3 {
    margin: 10px 0 5px;
    font-size: 1.1em;
  }
  
  .price {
    color: #777;
  }
  
  /* 商品詳細 */
  .product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0;
  }
  
  .product-image img {
    width: 100%;
    max-width: 400px;
  }
  
  .product-info {
    max-width: 600px;
    align-items: left;
  }

/* 金額・数量・カートを中央揃えに */
.price-and-controls {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* 横並び（価格・数量・カート） */
.price-and-quantity {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 商品説明は左揃え */
.product-description {
  text-align: left;
  margin-top: 30px;
}

/* 数量ボタン部分 */
.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* カートボタンと下との間に余白 */
.add-to-cart {
  margin-top: 10px;
}


  
  /* 数量変更エリア */
  .quantity {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .quantity button {
    padding: 5px 15px;
  }
  
  .quantity input {
    width: 50px;
    text-align: center;
  }
  
  /* カートボタン */
  .add-to-cart {
    background-color: #fedc5e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
  }
  
  /* カートエリア */
  .cart-summary {
    margin-top: 30px;
    text-align: center;
  }
  
  .cart-summary p {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  
  
  /* 問い合わせフォーム */
  form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left; /* ← これが左揃えにする本体 */
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  button[type="submit"] {
    background-color: #fedc5e;
    color: white;
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* フッター */
  .footer {
    background-color: #fedc5e;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .company-name {
    margin-top: 10px;
    font-size: 1em;
  }
  
  /* カート商品エリア */
  .cart-item-content {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
  }
  
  .cart-item-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    justify-content: flex-start;
    flex: 1;
  }  

  .cart-item-info p {
    margin: 0;
    min-width: 120px;
    white-space: nowrap;
  }  
    
  .remove-item {
    background: none;
    border: none;
    cursor: pointer;
  }

  .delete-btn {
    background: transparent !important;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  
  .trash-icon {
    width: 24px;
    height: 24px;
    display: block;
  }
  
  .cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    flex-wrap: wrap;
  }
  
  .cart-item-cell {
    display: flex;
    align-items: center;
  }
  
  .cart-item-cell.image {
    width: 80px;
  }
  
  .cart-item-cell.name {
    flex: 2;
    font-weight: bold;
  }
  
  .cart-item-cell.quantity,
  .cart-item-cell.subtotal {
    flex: 1;
    justify-content: center;
  }
  
  .cart-item-cell.remove {
    width: 50px;
    justify-content: flex-end;
  }
  
  .cart-total-row {
    border-top: 2px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    background-color: #fdfdfd;
    font-weight: bold;
  }

  
  /* カートテーブル */
  .cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
  }

  .cart-table th {
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
    background-color: #f8f8f8;
  }

  .cart-table td {
    padding: 15px 10px;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }

  /* 画像と名前のセル */
  .cart-image {
    width: 100px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
  }

  /*.cart-table td:first-child {
    display: flex;
    align-items: center;
    gap: 16px;
  }*

  /* 合計表示 */
  .total-area {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
  }

  /* チェックアウトボタン */
  .checkout-container {
    text-align: center;
  }

  #checkoutBtn {
    background-color: #facc15;
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  #checkoutBtn:hover {
    background-color: #eab308;
  }

  /* success.css */

.success-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
}

.success-icon {
  margin-bottom: 20px;
}

.success-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.order-info {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.order-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.order-detail:last-child {
  margin-bottom: 0;
}

.order-detail .label {
  font-weight: bold;
  color: #555;
}

.section-heading {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.payment-status {
  background-color: #fff8e1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
  border-left: 4px solid #fedc5e;
}

.payment-status.completed {
  background-color: #e8f5e9;
  border-left-color: #4caf50;
}

.shipping-info {
  margin-bottom: 30px;
  text-align: left;
}

.shipping-info p {
  margin: 10px 0;
  color: #555;
}

.next-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.button.primary {
  background-color: #fedc5e;
  color: white;
}

.button.primary:hover {
  background-color: #ecc656;
}

.button.secondary {
  background-color: #f5f5f5;
  color: #333;
}

.button.secondary:hover {
  background-color: #e9e9e9;
}

.bank-account-info {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 15px;
  margin-top: 15px;
  text-align: left;
}

.bank-account-detail {
  margin: 8px 0;
}

.bank-account-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}