/* ===================================================================
   RESET（リセット系）
=================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================================================================
   BASE（全体の共通設定）
=================================================================== */
body {
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
}

/* ===================================================================
   HEADER（ヘッダー）
=================================================================== */
.site-header {
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-pc { height: 60px; width: auto; display: block; }
.logo-sp { height: 50px; width: auto; display: none; }
.shipping-pc { height: 50px; width: auto; display: block; position: relative; top: 4px; }
.shipping-sp { height: 40px; width: auto; display: none; position: relative; top: 2px; }

@media (max-width: 768px) {
  .logo-pc { display: none; }
  .logo-sp { display: block; }
  .shipping-pc { display: none; }
  .shipping-sp { display: block; }
}

.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(to right, #b8860b, #ffd700);
  margin-top: 10px;
}

/* ===================================================================
   PRODUCT PAGE — HERO（ギャラリー＋右テキスト＋価格＆赤ボタン）
=================================================================== */
.product-hero {
  background: #000;
  padding: 40px 20px;
}
.product-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 500px 1fr; /* ← 左カラムを500px固定 */
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px) {
  .product-hero__container { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- ギャラリー ---------- */
.gallery { width: 100%; text-align: center; }
.gallery__main {
  width: 100%;
  max-width: 500px;   /* ← 左画像はPCで500pxまで */
  margin: 0 auto;
  height: auto;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  background: #111;
}
.gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery__thumb {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gallery__thumb img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 2px solid #fff;
  opacity: .75;
  transition: transform .15s ease, opacity .15s ease;
}
.gallery__thumb:hover img { opacity: 1; transform: translateY(-2px); }
.gallery__thumb.is-active img {
  opacity: 1;
  filter: saturate(1.15) brightness(1.05);
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .gallery__main { max-width: 100%; }
  .gallery__thumb img { width: 64px; height: 64px; }
}

/* ---------- 右テキスト ---------- */
.product-hero__right { color: #fff; }
.product-hero__brand { font-size: .95rem; color: #ccc; margin: 0 0 8px; }
.product-hero__title {
  font-size: 2.2rem;
  line-height: 1.4;
  margin: 0 0 10px;
  font-weight: 700;
}
@media (max-width: 980px) { .product-hero__title { font-size: 1.6rem; } }
@media (max-width: 600px) { .product-hero__title { font-size: 1.4rem; } }

.product-hero__price {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: .6em;
  white-space: nowrap;
  flex-wrap: wrap;
}
.product-hero__price .price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.product-hero__price .price-sub { font-size: 1.35rem; font-weight: 600; color: #ddd; }
.product-hero__price .price-sub .price-discount { color: #e60012; font-weight: 800; }
@media (max-width: 600px) {
  .product-hero__price .price-amount { font-size: 1.6rem; }
  .product-hero__price .price-sub { font-size: 1.1rem; }
}
.nowrap { white-space: nowrap; }

/* ---------- CTAボタン ---------- */
.product-hero__cta { margin: 0 0 3em; }
.cta-red {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  background: #c40000;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(196,0,0,.35);
  transition: filter .2s ease, transform .02s ease;
}
.cta-red:hover  { filter: brightness(1.06); }
.cta-red:active { transform: translateY(1px); }
.cta-red:focus  { outline: 3px solid #ffd700; outline-offset: 2px; }

/* ===================================================================
   CLOSING（最後のテキストセクション）
=================================================================== */
.closing-section {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  font-size: 2.8rem;
  line-height: 4.4rem;
  font-weight: 500;
  border-top: 2px solid #b8860b;
}
@media (max-width: 768px) {
  .closing-section {
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 30px 15px;
  }
}

/* ===================================================================
   FOOTER（フッター）
=================================================================== */
.site-footer {
  background: #000;
  padding: 48px 20px 32px;
  text-align: center;
}
.footer-logo {
  display: block;
  margin: 0 auto 12px;
  width: 100%;
  max-width: 740px;
  height: auto;
}
.footer-links {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.95rem;
}
.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.footer-links .divider { color: #666; user-select: none; }
@media (max-width: 768px) {
  .site-footer { padding: 36px 16px 28px; }
  .footer-logo { max-width: 320px; }
  .footer-links { font-size: 0.9rem; gap: 10px; }
}

/* ===================================================================
   LEGAL：特定商取引法ページ（tokusyo.html）
=================================================================== */
.legal {
  background: #000;
  color: #fff;
  padding: 48px 20px 72px;
}
.legal__container {
  max-width: 1000px;
  margin: 0 auto;
}
.legal__title {
  margin: 0 0 20px;
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 700;
  border-left: 6px solid #ffd700; /* 金色ラインで見出し感 */
  padding-left: 12px;
}

/* 表（2カラム） */
.legal__table {
  width: 100%;
  border-collapse: collapse;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;                 /* 角丸を効かせる */
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.legal__table th,
.legal__table td {
  padding: 14px 18px;
  border-bottom: 1px solid #2a2a2a;
  vertical-align: top;
}
.legal__table tr:last-child th,
.legal__table tr:last-child td {
  border-bottom: none;
}
.legal__table th {
  width: 260px;
  text-align: left;
  font-weight: 700;
  color: #ddd;
  letter-spacing: .02em;
  background: linear-gradient(90deg, rgba(255,215,0,.08), transparent 40%);
}
.legal__table td {
  color: #fff;
  line-height: 1.8;
}
.legal__table a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 注釈 */
.legal__notes {
  margin-top: 16px;
  color: #aaa;
  font-size: .95rem;
}

/* --- スマホ最適化（1行を縦積みカード風） --- */
@media (max-width: 640px) {
  .legal { padding: 28px 14px 52px; }
  .legal__title {
    font-size: 1.4rem;
    border-left-width: 4px;
    padding-left: 10px;
  }
  .legal__table tr { display: block; }
  .legal__table th {
    display: block;
    width: auto;
    border-bottom: 1px dashed #2a2a2a;
    background: rgba(255,215,0,.08);
  }
  .legal__table td {
    display: block;
    padding-top: 10px;
  }
  .legal__table {
    border-radius: 10px;
  }
}

/* --- 印刷用（白背景で省インク） --- */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer { display: none !important; }
  .legal { padding: 0; }
  .legal__title { color: #000; border-left-color: #000; }
  .legal__table {
    background: #fff;
    border: 1px solid #999;
    box-shadow: none;
  }
  .legal__table th {
    background: #f5f5f5;
    color: #000;
  }
  .legal__table td { color: #000; }
  .legal__table a { color: #000; text-decoration: underline; }
}

/* =========================================================
   POLICY：プライバシーポリシー（privacy.html）
========================================================= */
.policy {
  background: #000;
  color: #fff;
  padding: 48px 20px 72px;
}
.policy__container {
  max-width: 1000px;
  margin: 0 auto;
}
.policy__title {
  margin: 0 0 24px;
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 700;
  border-left: 6px solid #ffd700;   /* 金ラインで見出し */
  padding-left: 12px;
}

/* セクション */
.policy__section {
  margin: 26px 0;
}
.policy__section h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2a2a;
  background: linear-gradient(90deg, rgba(255,215,0,.1), transparent 45%);
}
.policy__section p {
  margin: 0;
  line-height: 1.9;
  color: #fff;
}

/* リスト */
.policy__list {
  margin: 6px 0 0;
  padding-left: 1.3em;
}
.policy__list li {
  margin: .25em 0;
  line-height: 1.9;
}
.policy__list li::marker {
  color: #ffd700;                   /* 箇条書きの点を金色に */
}

/* 住所表記 */
.policy__address {
  margin: 4px 0 0;
  font-style: normal;               /* address既定の斜体を解除 */
  line-height: 1.9;
}

/* リンク */
.policy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy a:hover { opacity: .9; }

/* --- スマホ最適化 --- */
@media (max-width: 640px) {
  .policy { padding: 28px 14px 52px; }
  .policy__title {
    font-size: 1.5rem;
    border-left-width: 4px;
    padding-left: 10px;
  }
  .policy__section h2 {
    font-size: 1.15rem;
    padding-bottom: 6px;
  }
}

/* --- 印刷用（白背景・省インク） --- */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer { display: none !important; }
  .policy { padding: 0; }
  .policy__title { color: #000; border-left-color: #000; }
  .policy__section h2 {
    background: none;
    border-bottom: 1px solid #999;
    color: #000;
  }
  .policy__section p,
  .policy__list li,
  .policy__address { color: #000; }
  .policy a { color: #000; text-decoration: underline; }
}

/* =========================================================
   確認画面（confirm.php）
========================================================= */
.form-confirm {
  background: #000;
  color: #fff;
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 20px;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.15);
}

.form-confirm h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(90deg, #FFD700, #FFB700);
  background-clip: text;              /* 標準仕様 */
  -webkit-background-clip: text;      /* Safari / Chrome 用 */
  color: transparent;                 /* 標準ブラウザ用 */
  -webkit-text-fill-color: transparent; /* Safari / Chrome 用 */
}

.form-confirm p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
  color: #ddd;
}

/* 入力確認リスト */
.form-confirm dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 20px;
  margin-bottom: 30px;
}

.form-confirm dt {
  font-weight: 700;
  color: #ffd700;
  text-align: right;
}

.form-confirm dd {
  color: #fff;
  line-height: 1.6;
}

/* ボタンエリア */
.form-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.form-buttons button {
  background: #c40000;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.1s ease;
}

.form-buttons button:hover {
  filter: brightness(1.15);
}

.form-buttons button:active {
  transform: translateY(1px);
}

/* 戻るボタンはセカンダリ色 */
.form-buttons button[type="button"] {
  background: #444;
}
.form-buttons button[type="button"]:hover {
  filter: brightness(1.2);
}

/* =========================================================
   お申し込みフォーム（order.html）
========================================================= */
.form-section {
  background: #000;
  color: #fff;
  padding: 60px 20px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.15);
}

.form-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  background: linear-gradient(90deg, #FFD700, #FFB700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffd700;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #666;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffd700;
  outline: none;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.form-note {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 6px;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit .cta-red {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 14px 18px;
  background: #c40000;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(196, 0, 0, 0.35);
  transition: filter 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}

.form-submit .cta-red:hover {
  filter: brightness(1.1);
}

.form-submit .cta-red:active {
  transform: translateY(1px);
}

/* =========================================================
   サンクスページ（thanks.html）
========================================================= */
.thanks-section {
  background: #000;
  color: #fff;
  max-width: 900px;
  margin: 80px auto;
  padding: 50px 30px;
  text-align: center;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.15);
}

.thanks-section h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #FFD700, #FFB700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.thanks-section .lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.thanks-section p {
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.7;
  color: #ddd;
}

.thanks-section .highlight {
  color: #FFD700;
  font-weight: 700;
}

.thanks-actions {
  margin-top: 40px;
}

.thanks-actions .btn-home {
  display: inline-block;
  background: #c40000;
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.1s ease;
}

.thanks-actions .btn-home:hover {
  filter: brightness(1.15);
}

.thanks-actions .btn-home:active {
  transform: translateY(1px);
}
