@charset "UTF-8";

/* ========================================
   カートバッジ（ヘッダー）
   ======================================== */
.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.8rem;
  padding: 4px 8px;
}
.cart-icon-wrap:hover { opacity: 0.7; }
#cart-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e74c3c;
  color: #fff;
  font-size: 1.0rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ========================================
   商品ページ「カートに追加」ボックス
   ======================================== */
.atc-box {
  margin-top: 16px;
  text-align: left;
}
.atc-label {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: #ccc;
}
.atc-color-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.atc-color-input::placeholder { color: #777; }
.atc-options { margin-bottom: 14px; }
.atc-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  margin-bottom: 6px;
  cursor: pointer;
}
.atc-option-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.atc-btn {
  display: block;
  width: 100%;
  max-width: 220px;
  background: #27ae60;
  color: #fff;
  border: none;
  border-bottom: 4px solid #1e8449;
  border-radius: 4px;
  padding: 0.8em;
  font-size: 1.5rem;
  cursor: pointer;
  text-align: center;
  margin-bottom: 10px;
  font-family: inherit;
}
.atc-btn:hover { opacity: 0.85; }
.cart-view-link {
  display: inline-block;
  font-size: 1.3rem;
  color: #aaa;
  text-decoration: underline;
}
.cart-view-link:hover { color: #fff; }

/* ========================================
   カートページ
   ======================================== */
.cart-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}
.cart-page h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
}
.cart-page h2 {
  font-size: 1.8rem;
  margin: 32px 0 16px;
  color: #ddd;
}

/* カートアイテム */
.cart-item {
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 12px;
  position: relative;
}
.cart-item-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 4px;
}
.cart-item-detail {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 1.5rem;
  color: #4fc3f7;
}
.cart-item-remove {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #888;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.cart-item-remove:hover { color: #e74c3c; }

/* 合計 */
.cart-total {
  background: #0a0a0a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 16px;
  text-align: right;
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.cart-total span { color: #4fc3f7; font-weight: bold; }

/* カート空 */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.6rem;
}
.cart-empty a {
  color: #4fc3f7;
  text-decoration: underline;
}

/* 注文フォーム */
.order-form label {
  display: block;
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 4px;
}
.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form textarea {
  width: 100%;
  padding: 10px 12px;
  background: #1a1a1a;
  border: 1px solid #555;
  border-radius: 4px;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-sizing: border-box;
  font-family: inherit;
}
.order-form textarea { height: 100px; resize: vertical; }
.order-form input::placeholder,
.order-form textarea::placeholder { color: #666; }
.required-mark { color: #e74c3c; margin-left: 4px; }
.submit-btn {
  display: block;
  width: 100%;
  background: #0c88ca;
  color: #fff;
  border: none;
  border-bottom: 4px solid #005691;
  border-radius: 4px;
  padding: 1em;
  font-size: 1.7rem;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}
.submit-btn:hover { opacity: 0.85; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note {
  font-size: 1.2rem;
  color: #888;
  margin-top: 12px;
  line-height: 1.8;
}

/* ========================================
   サンキューページ
   ======================================== */
.thankyou-page {
  max-width: 620px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}
.thankyou-page h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.thankyou-page .sub {
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 32px;
  line-height: 2;
}
.bank-box {
  background: #111;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 24px;
  text-align: left;
  margin-bottom: 28px;
}
.bank-box h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #4fc3f7;
  text-align: center;
}
.bank-row {
  display: flex;
  border-bottom: 1px solid #2a2a2a;
  padding: 8px 0;
  font-size: 1.4rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-label { width: 100px; color: #aaa; flex-shrink: 0; }
.bank-value { color: #fff; font-weight: bold; }
.thankyou-note {
  font-size: 1.3rem;
  color: #888;
  line-height: 2;
  margin-bottom: 24px;
}
.back-btn {
  display: inline-block;
  background: #0c88ca;
  color: #fff;
  border-radius: 4px;
  border-bottom: 4px solid #005691;
  padding: 0.8em 2em;
  font-size: 1.5rem;
}

/* モバイル */
@media screen and (max-width: 599px) {
  .cart-page { padding: 30px 16px; }
  .atc-btn { max-width: 100%; }
}
