@charset "UTF-8";

/* ==========================================================
   カラー変数
========================================================== */
:root {
  --blue-fill: #0033FF;      /* 元ページの青ボタン色 */
  --blue-hover: #00CCFF;     /* ホバー時の青ボタン色 */
  --pink-fill: #FF1493;      /* 元ページのピンクボタン色 */
  --pink-hover: #FF83FA;     /* ホバー時のピンクボタン色 */
  --gray-bg: #f8f8f8;
  --border-gray: #e0e0e0;
  --white: #ffffff;
  --text: #000;
}

/* ==========================================================
   全体設定
========================================================== */
body {
  margin: 0;
  padding: 0;
  font-family: "メイリオ", sans-serif;
  color: var(--text);
  background-color: #fefefe;
  box-sizing: border-box;
}

/* ==========================================================
   ヘッダー（中央揃え・背景透明・下線だけ残す）
========================================================== */
.header {
  width: 1100px;
  height: 28px;
  background-color: transparent;
  border-bottom: 2px solid #E0E0E0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.header span {
  font-size: 14px;
  position: relative;
  top: -1px; /* ← ここがポイント！微調整 */
  white-space: nowrap;
}

/* ==========================================================
   トップメニュー（中央揃え・下線表示）
========================================================== */
.topmenu {
  width: 1100px;             
  display: flex;
  justify-content: center;       
  flex-wrap: wrap;
  gap: 10px;
  background-color: transparent;  /* 背景なし */
  padding: 12px 0;
  border-bottom: 2px solid #E0E0E0; /* 下線を表示 */
  box-sizing: border-box;
  margin: 0;                 
}

/* トップメニューボタン統一 */
.topmenu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;             
  height: 36px;             
  font-size: 13px;           
  line-height: 1;           
  padding: 0 8px;           
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  background-color: var(--blue-fill); 
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;       
  overflow: hidden;          
  text-overflow: ellipsis;   
  box-sizing: border-box;
}

.topmenu a:hover,
.topmenu a:focus {
  background-color: var(--blue-hover);
  transform: translateY(-2px);
}

/* 「お問い合わせ」ボタンだけピンク */
.topmenu a.contact {
  background-color: var(--pink-fill);
  border-color: var(--pink-fill);
}

.topmenu a.contact:hover,
.topmenu a.contact:focus {
  background-color: var(--pink-hover);
  transform: translateY(-2px);
}

/* ==========================================================
   3カラム全体（左端固定・線・色なし）
========================================================== */
.wrapper {
  display: flex;
  justify-content: flex-start; 
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  width: 1100px;             
  box-sizing: border-box;
}

/* ==========================================================
   左メニュー（背景色・線なし）
========================================================== */
.sidemenu_L {
  flex: 0 0 200px;
  background-color: transparent; /* 背景色なし */
  border: none;                  /* 線なし */
  border-radius: 0;
  padding: 10px;
  box-sizing: border-box;
}

.sidemenu_L a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 13px;            
  padding: 0 10px;
  width: 100%;
  height: 30px;               
  line-height: 30px;          
  border-radius: 6px;
  background-color: var(--blue-fill);
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;         
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.sidemenu_L a:hover,
.sidemenu_L a:focus {
  background-color: var(--blue-hover);
  transform: translateY(-1px);
}

.social-follow .note {
  font-size: 12px;         /* 通常より少し小さく */
  color: #666;             /* 補助情報っぽく淡い色に */
  display: block;
  line-height: 1.4;
}

.cart-button-wrapper {
	margin-top: 20px; /* 左メニューの下とカートボタンの間の空白 */
    text-align: center; /* 親で中央揃え */
}

/* カートボタンだけ青ボタンスタイルを完全無効化 */
a.cart-only {
    all: unset;               /* 既存のスタイルをリセット */
    display: inline-block;    /* 画像に合わせる */
    text-align: center;       /* 中央揃えは親で調整 */
    cursor: pointer;          /* ホバー時に手のカーソル */
}

a.cart-only img {
    display: inline-block;    /* 画像をそのまま表示 */
    width: auto;              /* 元画像の幅そのまま */
    height: auto;             /* 元画像の高さそのまま */
    border-radius: 0;         /* 丸みをリセット */
}

/* ==========================================================
   メイン（背景色・線なし）
========================================================== */
.main {
  flex: 1;
  background-color: transparent; /* 背景色なし */
  border: none;                  /* 線なし */
  border-radius: 0;
  padding: 15px 15px 10px 15px;
  box-sizing: border-box;
}

/* ==========================================================
   テーブル（価格表）
========================================================== */
.table-01 {
    padding: 0;
    border: 1px solid #E3E3E3; 
    background: #6495ED;
    text-align: center;
    border-collapse: collapse; 
}

.table-01 th {
    padding: 1px;
    border: 1px solid #98DCDC; 
    background: #FF6699;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    line-height: 120%;
    text-align: center;
}

.table-01 td {
    padding: 0;
    border: 1px solid #8ED9D9; 
    background: #F8FBFF;
    color: #1A4444;
    text-align: right;
}

/* 価格表の体裁（.cart-table 用） */
.cart-table:not(.has-drawing) td:nth-child(1) { width: 240px; text-align:left; padding-left: 5px; padding-right: 5px; }
.cart-table:not(.has-drawing) td:nth-child(2) { width: 60px; text-align:right; padding-left: 5px; padding-right: 5px; }
.cart-table:not(.has-drawing) td:nth-child(3) { width: 50px; text-align:left; }
.cart-table:not(.has-drawing) td:nth-child(4) { width: 25px; text-align:center; }

.cart-table:not(.has-drawing) td:nth-child(3) input[type="number"] {
  width: 100%;           
  box-sizing: border-box;
  text-align: center;
}

/* 価格表の体裁図面付き（.cart-table 用） */
.cart-table.has-drawing td:nth-child(1) { width: 50px; text-align:center; }
.cart-table.has-drawing td:nth-child(2) { width: 50px; text-align:center; }
.cart-table.has-drawing td:nth-child(3) { width: 240px; text-align:left; padding-left: 5px; padding-right: 5px; }
.cart-table.has-drawing td:nth-child(4) { width: 60px; text-align:right; padding-left: 5px; padding-right: 5px; }
.cart-table.has-drawing td:nth-child(5) { width: 50px; text-align:left; }
.cart-table.has-drawing td:nth-child(6) { width: 25px; text-align:center; }

.cart-table.has-drawing td:nth-child(5) input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* 価格表の体裁統一・中央寄せ */
.cart-table-wrapper {
    text-align: center; 
    margin: 20px 0;     
}

.cart-table-wrapper table.cart-table {
    display: inline-block; 
    margin: 0 auto;
    border: 1px solid #E3E3E3;
    border-collapse: collapse; 
    background: #6495ED;
    text-align: center;
}

.table-01.cart-table {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

/* 特定商取引法表記テーブル（2列専用） */
#tokutei-table {
    width: 600px;      /* テーブル全体の幅 */
    margin: 20px auto; /* 中央寄せ＋余白 */
}

#tokutei-table th {
    width: 200px;      /* 左列 */
    font-size: 16px;   /* 必要なら変更 */
    text-align: left;  /* 左寄せにしたい場合 */
}

#tokutei-table td {
    width: 400px;      /* 右列 */
    text-align: left;  /* 特商法表記は左寄せが多い */
    padding: 5px 10px; /* 余白調整 */
}

/* ==========================================================
   右広告（背景色・線なし）
========================================================== */
.sidemenu_R {
  flex: 0 0 200px;
  background-color: transparent; 
  border: none;                 
  border-radius: 0;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}

/* ==========================================================
   フッター（シングル線）
========================================================== */
.footer {
    width: 1100px;
    background-color: transparent;  /* 背景色を消す */
    border-top: 1px solid var(--border-gray);
    text-align: center;
    padding: 5px 0;      
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* ==========================================================
   スマホ対応（画面幅600px以下）
========================================================== */
@media screen and (max-width: 600px) {

  /* ヘッダー */
  .header {
    width: 100%;            /* 画面幅いっぱい */
    height: auto;
    padding: 5px 10px;
  }

  .header span {
    font-size: 10px;        /* 少し小さめに */
    position: relative;
    top: 0;
    left: 0;
    transform: none;        /* PC用の絶対位置は解除 */
    white-space: normal;    /* 複数行でも折り返す */
    display: block;
    text-align: center;
  }

  /* トップメニュー */
  .topmenu {
    width: 100%;
    flex-wrap: wrap;         /* 折り返し */
    padding: 8px 5px;
    gap: 5px;
    border-bottom: 2px solid #E0E0E0;
  }

  .topmenu a {
    width: calc(50% - 5px); /* 2列表示、余白考慮 */
    font-size: 12px;
    height: 32px;
  }

  /* 3カラム→縦並び */
  .wrapper {
    flex-direction: column;
    width: 100%;
  }

  .sidemenu_L,
  .main,
  .sidemenu_R {
    width: 100%;
    flex: none;
    padding: 5px;
    margin-bottom: 8px; /* 下に少し間隔 */
  }

  /* 左メニューのボタン幅調整 */
  .sidemenu_L a {
    width: 100%;
    box-sizing: border-box;
  }

  /* フッター */
  .footer {
    width: 100%;
    padding: 5px 0;
    text-align: center;
    border-top: 1px solid var(--border-gray);
  }

  /* ★ここに追加するのが最適★ */
  .header,
  .topmenu,
  .wrapper,
  .footer,
  #tokutei-table,
  .title-line {
    width: 100%;
    max-width: 100%;
  }

}

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

/* ==========================================================
   商品写真と説明の横並び
========================================================== */
.product-figure {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* 写真と説明文の間隔 */
    margin: 20px 0;
}

.product-figure img {
    max-width: 300px; /* 写真の最大幅 */
    height: auto;
}

.product-figure figcaption {
    display: flex;
    flex-direction: column;
}

.product-figure h1 {
    font-size: 24px;
    margin: 0 0 5px 0;
}

.product-figure .red {
    color: red;
    font-size: 12px;
    margin-bottom: 5px;
}

.product-figure p {
    margin: 0;
}

/* ==========================================================
   見出し（h2サイズ調整）
========================================================== */

.title-line {
    width: 240px + 60px + 50px + 25px + 20px; /* tdのwidth合計 + paddingの目安 */
    /* 200 + 60 + 50 + 25 = 335, padding左右5pxずつ x3? → 335 + 30 ? 365px */
    width: 405px;
    margin: 0 auto;      /* テーブルと同じ中央寄せ */
    text-align: left;    /* テキストは左揃え */
	display: flex;
	align-items: baseline; /* h2と文字の高さをそろえる */
	gap: 10px; /* 間の余白 */
}

.title-line h2 {
  margin: 0;
}
.title-line span {
  font-size: 14px;
  color: #555;
}

