/* ---------  2023 12/9 変更CSS   -------- */
#in2cart_price_table thead tr:first-child th.quantity:first-child {
    font-size: 0;
}
#in2cart_price_table thead tr:first-child th.quantity:first-child:before {
    content: "数量";
    font-size: 16px;
}

/* ---------  2024 9/11 変更CSS   -------- */
section.page h2.sub_title {
    background: #FF7F00;
}

/* ---------  2026 10/2 変更CSS   -------- */
/* ==========================================================================
   出荷予定日案内モジュール 共通CSS（トグル有り・無し兼用）
   ========================================================================== */

/* 全体コンテナ */
.schedule-guide {
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.schedule-guide *,
.schedule-guide *::before,
.schedule-guide *::after {
  box-sizing: border-box;
}

/* ヘッダーエリア */
.schedule-guide .schedule-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.schedule-guide .schedule-badge {
  display: inline-block;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.schedule-guide .schedule-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

/* 基本ルール（重要なお知らせボックス） */
.schedule-guide .schedule-box-primary {
  background-color: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
}

.schedule-guide .schedule-box-primary p {
  margin: 0 0 10px 0;
}

.schedule-guide .schedule-box-primary p:last-of-type {
  margin-bottom: 0;
}

.schedule-guide .schedule-highlight {
  font-weight: 700;
  color: #1e3a8a;
  background: linear-gradient(transparent 65%, #bfdbfe 65%);
}

.schedule-guide .schedule-note {
  font-size: 14px;
  color: #64748b;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.schedule-guide .schedule-note-strong {
  color: #dc2626;
  font-weight: 700;
}

/* 順延セクション */
.schedule-guide .schedule-section {
  margin-top: 28px;
}

.schedule-guide .schedule-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-guide .schedule-section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background-color: #2563eb;
  border-radius: 3px;
  flex-shrink: 0;
}

/* 順延事由リスト */
.schedule-guide ul.schedule-list {
  list-style: none;
  list-style-type: none;
  padding: 16px 20px;
  margin: 0;
  background-color: #fffaf0;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.schedule-guide ul.schedule-list > li {
  position: relative;
  list-style: none;
  padding: 0 0 0 24px;
  margin: 0 0 10px 0;
  color: #7c2d12;
  line-height: 1.8;
}

.schedule-guide ul.schedule-list > li:last-child {
  margin-bottom: 0;
}

.schedule-guide ul.schedule-list > li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-color: #ea580c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 免責事項ボックス */
.schedule-guide .schedule-disclaimer {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 24px;
}

.schedule-guide .schedule-disclaimer-title {
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 8px;
}

.schedule-guide .schedule-disclaimer p {
  margin: 0;
  font-size: 14px;
  color: #7f1d1d;
  line-height: 1.8;
}

/* 納品日指定・相談セクション */
.schedule-guide .schedule-request-block {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 24px;
}

.schedule-guide .schedule-request-title {
  font-weight: 700;
  color: #166534;
  margin-bottom: 12px;
}

.schedule-guide .schedule-dl {
  margin: 0 0 12px 0;
}

.schedule-guide .schedule-dt {
  font-weight: 700;
  color: #14532d;
  margin-top: 8px;
}

.schedule-guide .schedule-dt:first-child {
  margin-top: 0;
}

.schedule-guide .schedule-dd {
  margin: 4px 0 0 0;
  padding-left: 12px;
  font-size: 14px;
  color: #1f2937;
  line-height: 1.8;
}

.schedule-guide .schedule-warning-text {
  font-size: 13px;
  color: #dc2626;
  margin-top: 8px;
  margin-bottom: 0;
}

/* モバイル表示 */
@media (max-width: 600px) {
  .schedule-guide {
    padding: 16px;
    margin: 12px 0;
  }
  .schedule-guide .schedule-title {
    font-size: 18px;
  }
}


/* ---------  2026 10/8　変更CSS   -------- */
/* ===================================================
   ご注文の流れ 専用スタイル
   =================================================== */

/* ---------------------------------------------------
   1. ローカル変数 & セクション基本設定
   --------------------------------------------------- */
#flow-guide {
  /* このコンポーネント内のみで有効なカラー変数（グローバルを汚染しない） */
  --flow-c-main: #FF7F00;
  --flow-c-accent: #fbb03b;
  --flow-c-green: #8cc63f;
  --flow-c-cream: #fffbd0;
  --flow-c-text-main: #2b2b2b; 
  --flow-c-text-sub: #383838;
  --flow-c-text-note: #555555;
  --flow-c-border: #fae8cc;

  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333333;
  width: 100%;
  max-width: 100%;   /* WordPressの親枠に自然追従 */
  margin: 0 auto;
  padding: 20px 0;
}

/* ページ大見出し */
#flow-guide h3.title {
  position: relative;
  padding-left: 20px;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--flow-c-text-main);
  margin-bottom: 36px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--flow-c-main);
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* 大見出し左のアクセントバー */
#flow-guide h3.title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--flow-c-main) 0%, var(--flow-c-accent) 100%);
  border-radius: 3px;
}

/* ---------------------------------------------------
   2. ご注文フロー リスト全体
   --------------------------------------------------- */
#flow-guide ol.mt60 {
  margin-top: 40px;
  margin-bottom: 50px;
  padding-left: 0;
  list-style: none;
  counter-reset: flow-counter;
}

/* ---------------------------------------------------
   3. 各ステップカード（li）
   --------------------------------------------------- */
#flow-guide ol.mt60 > li {
  position: relative;
  counter-increment: flow-counter;
  background-color: #ffffff;
  border: 1px solid var(--flow-c-border);
  border-left: 6px solid var(--flow-c-main);
  border-radius: 8px;
  padding: 28px 30px 26px 30px;
  box-shadow: 0 4px 16px rgba(251, 176, 59, 0.08);
  box-sizing: border-box;
  margin-bottom: 28px; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#flow-guide ol.mt60 > li:last-child {
  margin-bottom: 0;
}

#flow-guide ol.mt60 > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 127, 0, 0.12);
}

/* ---------------------------------------------------
   4. 番号バッジ（STEP番号 + CSSアクセントドット装飾）
   --------------------------------------------------- */
#flow-guide ol.mt60 > li::before {
  content: "STEP " counter(flow-counter);
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d86900;
  background-color: var(--flow-c-cream);
  border: 1px solid var(--flow-c-accent);
  border-radius: 20px;
  padding: 4px 16px 4px 26px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(251, 176, 59, 0.15);
  
  background-image: radial-gradient(circle, var(--flow-c-main) 40%, transparent 45%);
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 10px 10px;
}

/* ---------------------------------------------------
   5. STEP 4 統合デザイン（縦型タイムライン方式）
   --------------------------------------------------- */
#flow-guide .step-subflow {
  position: relative;
  margin-top: 4px;
}

#flow-guide .step-subflow-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

#flow-guide .step-subflow-item:last-child {
  margin-bottom: 0;
}

/* 1と2を繋ぐ縦のガイドライン */
#flow-guide .step-subflow-item:first-child::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 13px;
  bottom: -18px;
  width: 2px;
  background-color: var(--flow-c-accent);
}

/* サブステップ番号の丸バッジ */
#flow-guide .step-subflow-num {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  background-color: var(--flow-c-cream);
  border: 1.5px solid var(--flow-c-main);
  border-radius: 50%;
  color: #d86900;
  font-weight: 800;
  font-size: 14px;
  line-height: 25px;
  text-align: center;
  flex-shrink: 0;
  margin-right: 14px;
  z-index: 1;
}

#flow-guide .step-subflow-text {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--flow-c-text-main);
  line-height: 1.6;
  letter-spacing: 0.02em;
  padding-top: 2px;
}

/* ---------------------------------------------------
   6. ステップ間の矢印コネクタ
   --------------------------------------------------- */
#flow-guide ol.mt60 > li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 44px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--flow-c-accent);
  z-index: 2;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.05));
}

/* ---------------------------------------------------
   7. ステップ見出し
   --------------------------------------------------- */
#flow-guide ol.mt60 > li .step-title {
  margin: 0 0 12px 0;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--flow-c-text-main);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

#flow-guide ol.mt60 > li .step-title:not(:last-child) {
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(251, 176, 59, 0.45);
}

/* STEP 6以降：【】フェーズ見出し */
#flow-guide ol.mt60 > li .step-title-phase {
  display: inline-block;
  background-color: #fffdf0;
  border: 1px solid #f7dfbe;
  border-left: 5px solid var(--flow-c-main);
  border-radius: 4px;
  padding: 6px 16px;
  margin: 2px 0 14px 0;
  color: var(--flow-c-text-main);
  box-shadow: 0 1px 3px rgba(251, 176, 59, 0.08);
  border-bottom: 1px solid #f7dfbe;
}

/* ---------------------------------------------------
   8. 中の説明文レイアウト & フォントサイズ設計
   --------------------------------------------------- */
#flow-guide .step-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--flow-c-text-sub);
  letter-spacing: 0.025em;
  margin-top: 10px;
}

/* 注記（※）ボックス */
#flow-guide .step-note {
  margin-top: 12px;
  padding: 12px 18px;
  background-color: #fffdf2;
  border-left: 4px solid var(--flow-c-accent);
  border-radius: 0 6px 6px 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--flow-c-text-note);
  letter-spacing: 0.02em;
}

/* 重要テキスト強調装飾（補色ブルーのマーカー風） */
#flow-guide .marker-attention {
  font-weight: 700;
  color: #1e3a8a;
  background: linear-gradient(transparent 65%, #bfdbfe 65%);
  padding: 0 4px;
  border-radius: 2px;
}

/* 領収書の複数区分ブロック */
#flow-guide .step-subblock {
  margin-top: 14px;
}

#flow-guide .step-subitem {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background-color: #faf8f5;
  border: 1px solid #eddcc6;
  border-radius: 6px;
  margin-bottom: 10px;
}

#flow-guide .step-subitem:last-child {
  margin-bottom: 0;
}

#flow-guide .step-subtitle {
  font-size: 14.5px;
  font-weight: 700;
  color: #d86900;
  margin-bottom: 4px;
}

#flow-guide .step-subdesc {
  font-size: 14px;
  line-height: 1.75;
  color: #3d3d3d;
}

#flow-guide .step-subnote {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #666666;
  background-color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px dashed #e5d2b8;
  display: inline-block;
}

/* ---------------------------------------------------
   9. リンクデザイン
   --------------------------------------------------- */
#flow-guide ol.mt60 a {
  color: var(--flow-c-main);
  background-color: rgba(255, 127, 0, 0.08);
  padding: 2px 7px;
  border-radius: 3px;
  text-decoration: none;
  border-bottom: 1.5px solid var(--flow-c-main);
  font-weight: 700;
  margin: 0 2px;
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.3;
}

#flow-guide ol.mt60 a:hover {
  background-color: var(--flow-c-green);
  border-bottom-color: var(--flow-c-green);
  color: #ffffff;
}

/* ---------------------------------------------------
   10. レスポンシブ対応（スマホ表示）
   --------------------------------------------------- */
@media screen and (max-width: 768px) {
  #flow-guide h3.title {
    font-size: 1.35rem;
    margin-bottom: 24px;
    padding-left: 16px;
  }

  #flow-guide ol.mt60 {
    margin-top: 28px;
  }

  #flow-guide ol.mt60 > li {
    padding: 20px 16px 18px 16px;
    margin-bottom: 22px;
  }

  #flow-guide ol.mt60 > li .step-title {
    font-size: 16px;
  }

  #flow-guide .step-subflow-text {
    font-size: 15px;
  }

  #flow-guide ol.mt60 > li .step-title-phase {
    display: block;
    padding: 6px 12px;
  }

  #flow-guide .step-desc {
    font-size: 14.5px;
    line-height: 1.8;
  }

  #flow-guide .step-note {
    font-size: 13px;
    padding: 10px 12px;
  }

  #flow-guide ol.mt60 > li:not(:last-child)::after {
    bottom: -16px;
    left: 28px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid var(--flow-c-accent);
  }
}