/* ============================================================
   無塩ドットコム 本店フッター（PC版） 本番用CSS
   生成日：2026-07-28 ／ 元データ：footer_preview.html
   ------------------------------------------------------------
   ・全セレクタを .site-footer 配下へスコープ済み（本番の既存CSSに影響しません）
   ・CSS変数は --sf- 接頭辞へ改名済み（本番変数との衝突回避）
   ・プレビュー用の * / html / body / .dummy-content は除去済み
   ※ このファイルを gigaplus へアップし、<link rel="stylesheet"> で読み込んでください
   ============================================================ */

/* ボックスモデルの基準（.site-footer 自身にも適用） */
.site-footer { box-sizing: border-box; }

.site-footer {
  --sf-accent: #8b1010;
  --sf-accent-dark: #6e0d0d;
  --sf-ink: #1c1c1c;
  --sf-dark: #3a3a3a;
  --sf-mid: #7a7a7a;
  --sf-muted: #b0b0b0;
  --sf-border: #e4e4e0;
  --sf-bg: #f8f7f4;
  --sf-surface: #ffffff;
  --sf-footer-bg: #f3f1ec;
  --sf-footer-bottom-bg: #ecebe6;
  --sf-serif: 'Noto Sans JP', sans-serif; /* allsans variant: serif overridden */
  --sf-sans: 'Noto Sans JP', sans-serif;
  --sf-en: 'Inter', sans-serif;
}

.site-footer * {
  box-sizing: border-box; margin: 0; padding: 0;
}

.site-footer {
  font-family: var(--sf-sans);
  font-weight: 300;
  color: var(--sf-ink);
  background: var(--sf-surface);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ダミー本文 */

/* ============ フッター ============ */

.site-footer {
  background: var(--sf-footer-bg);
  color: #5a5a5a;
  font-family: var(--sf-sans);
  font-size: 14px;
  border-top: 1px solid var(--sf-border);
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 24px;
}

/* Section heading style with accent bar */

.site-footer .footer-section-title {
  font-family: var(--sf-serif);
  font-weight: 500;
  font-size: 18px;
  color: #5a5a5a;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sf-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;         /* 長い見出し＋英字ラベルを折り返す（狭幅対策） */
  gap: 4px 12px;
}

.site-footer .footer-section-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 18px;
  background: var(--sf-accent);
  border-radius: 1px;
}

.site-footer .footer-section-title .en-sub {
  flex-shrink: 0;          /* 320px幅で英字ラベルが圧縮・欠落するのを防ぐ */
  font-family: var(--sf-en);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #5a5a5a;
  text-transform: uppercase;
  margin-left: 8px;
}

.site-footer .footer-section-title a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  transition: color 0.2s ease-out;
}

.site-footer .footer-section-title a:hover .ja-label,
.site-footer .footer-section-title a:focus-visible .ja-label {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .footer-section-title a:hover .en-sub,
.site-footer .footer-section-title a:focus-visible .en-sub {
  color: var(--sf-accent);
}

.site-footer .footer-section-title .arrow {
  font-size: 14px;
  color: #5a5a5a;
  margin-left: 4px;
  transition: transform 0.2s ease-out, color 0.2s ease-out;
}

.site-footer .footer-section-title a:hover .arrow {
  color: var(--sf-accent);
  transform: translateX(3px);
}

/* Section 1: 減塩コラム — 4 columns */

.site-footer .footer-column-hub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.site-footer .footer-column-hub--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 32px;
  max-width: 600px;
}

/* ▼ アコーディオン用：全ブレイクポイントで適用（B案・PC含む） */

.site-footer .col-block h4 {
  font-family: var(--sf-serif);
  font-weight: 500;
  font-size: 15px;
  color: #5a5a5a;
  margin-bottom: 0;
  margin-top: 0;
  padding: 12px 4px 12px 10px;
  border-left: 2px solid var(--sf-accent);
  border-bottom: 1px solid var(--sf-border);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  min-height: 48px;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}

.site-footer .col-block h4:hover {
  background: rgba(139,16,16,0.03);
}

.site-footer .col-block h4:focus-visible {
  outline: 2px solid rgba(139,16,16,0.4);
  outline-offset: -2px;
  border-radius: 2px;
}

.site-footer .col-block h4 + h4 {
  margin-top: 8px;
}

.site-footer .col-block h4 .chevron {
  display: inline-block;
  color: #5a5a5a;
  font-size: 16px;
  transition: transform 0.25s ease-out, color 0.2s ease-out;
  margin-right: 2px;
}

.site-footer .col-block h4[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
  color: var(--sf-accent);
}

.site-footer .col-block ul {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-left: 10px;
  padding-top: 0;
  padding-bottom: 0;
}

.site-footer .col-block h4[aria-expanded="true"] + ul {
  max-height: 2400px;
  padding-top: 12px;
  padding-bottom: 16px;
}

/* Single-link heading (no accordion, direct link) */

.site-footer .col-block h4.single-link {
  cursor: default;
  padding: 0;
  margin: 0;
  min-height: 0;
  border-bottom: 1px solid var(--sf-border);
}

.site-footer .col-block h4.single-link:hover {
  background: transparent;
}

.site-footer .col-block h4.single-link a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: inherit;
  text-decoration: none;
  padding: 12px 4px 12px 10px;
  min-height: 48px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: inherit;
  line-height: inherit;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}

.site-footer .col-block h4.single-link a:hover {
  color: var(--sf-accent);
  background: rgba(139,16,16,0.03);
}

.site-footer .col-block h4.single-link a:focus-visible {
  outline: 2px solid rgba(139,16,16,0.4);
  outline-offset: -2px;
  border-radius: 2px;
}

.site-footer .col-block h4.single-link .chevron-right {
  font-size: 16px;
  color: var(--sf-mid);
  transition: transform 0.2s ease-out, color 0.2s ease-out;
  margin-right: 2px;
  line-height: 1;
}

.site-footer .col-block h4.single-link a:hover .chevron-right {
  color: var(--sf-accent);
  transform: translateX(3px);
}

.site-footer .col-block li {
  margin-bottom: 4px;
}

.site-footer .col-block a {
  display: inline-block;
  color: #2a2a2a;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  padding: 4px 0;
  transition: color 0.2s ease-out;
  letter-spacing: 0.02em;
}

.site-footer .col-block a:hover,
.site-footer .col-block a:focus-visible {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.site-footer .col-block a:focus-visible {
  outline: 2px solid rgba(139, 16, 16, 0.3);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer .see-all {
  margin-top: 12px;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  color: var(--sf-accent) !important;
  font-weight: 400 !important;
  font-size: 12.5px !important;
}

.site-footer .see-all::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease-out;
}

.site-footer .see-all:hover::after {
  transform: translateX(3px);
}

/* Section 2: 商品カテゴリー & レシピ */

.site-footer .footer-shop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 56px;
  margin-bottom: 64px;
  border-top: 1px solid var(--sf-border);
}

/* 推奨医師・推奨医療機関／2026-07-19 */

.site-footer .med-sv {
  padding-top: 56px; border-top: 1px solid var(--sf-border); margin-bottom: 64px;
}

.site-footer .med-sv-card {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px 40px;
  align-items: start;   /* 左カラムが伸びてもバナーは上端で揃える */
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 24px; /* DESIGN.md カード規定 */
}

.site-footer .med-sv-main {
  min-width: 0;
}

.site-footer .med-sv-quote {
  font-size: 14px;
  color: var(--sf-ink);
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin-top: 16px;      /* 肩書との間をあける（引用をリンク直上へ移動したため） */
  margin-bottom: 8px;
  padding-left: 16px;
  border-left: 2px solid var(--sf-accent);
}

.site-footer .med-sv-quote strong {
  font-weight: 500;
}

.site-footer .med-sv-more {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  color: var(--sf-accent);
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-footer .med-sv-more::after {
  content: "›"; font-size: 16px; line-height: 1; margin-left: 4px;
}

.site-footer .med-sv-more:hover,
.site-footer .med-sv-more:focus-visible {
  text-decoration: underline; text-underline-offset: 3px;
}

.site-footer .med-sv-more:focus-visible {
  outline: 2px solid rgba(139,16,16,0.3); outline-offset: 2px; border-radius: 2px;
}

.site-footer .med-sv-name {
  font-family: var(--sf-serif);
  font-size: 18px; /* DESIGN.md H3規定・SP版と統一 */
  font-weight: 500;
  color: var(--sf-ink);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.site-footer .med-sv-name .yomi {
  font-size: 13px; font-weight: 400; color: #5a5a5a; letter-spacing: 0.02em; white-space: nowrap;
}

.site-footer .med-sv-name .hon {
  font-size: 14px; font-weight: 400; margin-left: 4px; white-space: nowrap;
}

.site-footer .med-sv-title {
  font-size: 13px; color: #5a5a5a; line-height: 1.8; margin-top: 4px; letter-spacing: 0.02em;
}

.site-footer .med-sv-side {
  min-width: 0; justify-self: end;
}

.site-footer .med-sv-clinic {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
}

.site-footer .med-sv-clinic:hover {
  opacity: 0.85;
}

.site-footer .med-sv-clinic img {
  width: 191px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--sf-border);
  border-radius: 4px;
  background: var(--sf-surface);
}

.site-footer .med-sv-note {
  font-size: 12px; color: var(--sf-accent); letter-spacing: 0.02em; line-height: 1.5;
}

.site-footer .med-sv-note .ext {
  margin-left: 4px;
}

.site-footer .med-sv-clinic:focus-visible {
  outline: 2px solid rgba(139,16,16,0.4); outline-offset: 2px; border-radius: 4px;
}

.site-footer .med-sv-articles {
  list-style: none;   /* 区切り線は .med-sv-acc の border-top で1本のみ引く */
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
}

.site-footer .med-sv-articles a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 13.5px;
  font-weight: 300;
  color: #2a2a2a;
  line-height: 1.7;
  padding: 4px 0;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease-out;
}

.site-footer .med-sv-articles a:hover,
.site-footer .med-sv-articles a:focus-visible {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .med-sv-articles a:focus-visible {
  outline: 2px solid rgba(139,16,16,0.3); outline-offset: 2px; border-radius: 2px;
}

/* Section 3: ご利用案内・連絡先・会社情報 */

.site-footer .footer-info {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 8px;
  border-top: 1px solid var(--sf-border);
}

.site-footer .footer-info .info-block .footer-section-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
}

.site-footer .footer-info .info-block .brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-footer .footer-info .info-block .brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-footer .footer-info .info-block .brand-text {
  font-family: var(--sf-serif);
  font-weight: 500;
  font-size: 14px;
  color: var(--sf-ink);
  line-height: 1.5;
  margin: 0;
}

.site-footer .footer-info .info-block .info-line {
  color: #5a5a5a;
  font-size: 13px;
  line-height: 1.9;
}

.site-footer .footer-info .info-block .info-line strong {
  color: #5a5a5a;
  font-weight: 400;
}

.site-footer .footer-info .tel-block {
  margin-top: 8px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.site-footer .footer-info .tel-label {
  font-size: 10px;
  color: #5a5a5a;
  letter-spacing: 0.08em;
}

.site-footer .footer-info .tel-num {
  font-family: var(--sf-en);
  font-weight: 500;
  font-size: 16px;
  color: var(--sf-ink);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.2;
}

.site-footer .footer-info .tel-num:hover {
  color: var(--sf-accent);
}

.site-footer .footer-info ul.info-list {
  list-style: none;
}

.site-footer .footer-info ul.info-list li {
  margin-bottom: 4px;
}

.site-footer .footer-info ul.info-list a,
.site-footer .footer-info ul.info-list button {
  display: inline-block;
  color: #5a5a5a;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  padding: 6px 0;
  transition: color 0.2s ease-out;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.site-footer .footer-info ul.info-list a:hover,
.site-footer .footer-info ul.info-list button:hover {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* SNS icons */

.site-footer .sns-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.site-footer .sns-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sf-border);
  border-radius: 50%;
  color: #5a5a5a;
  background: transparent;
  transition: color 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
  text-decoration: none;
}

.site-footer .sns-list a:hover,
.site-footer .sns-list a:focus-visible {
  color: var(--sf-accent);
  border-color: var(--sf-accent);
  transform: translateY(-2px);
}

.site-footer .sns-list a:focus-visible {
  outline: 2px solid rgba(139,16,16,0.3);
  outline-offset: 2px;
}

.site-footer .sns-list svg {
  width: 18px; height: 18px;
}

.site-footer .sns-caption {
  font-size: 11.5px;
  color: #5a5a5a;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* Contact list under TEL */

.site-footer .contact-list {
  list-style: none;
  margin-top: 6px;
}

.site-footer .contact-list li {
  margin-bottom: 0;
}

.site-footer .contact-list a,
.site-footer .contact-list button {
  display: inline-block;
  color: var(--sf-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  padding: 0;
  transition: color 0.2s ease-out;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sf-sans);
  text-align: left;
}

.site-footer .contact-list a:hover,
.site-footer .contact-list button:hover {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bottom bar */

.site-footer .footer-bottom {
  background: var(--sf-footer-bottom-bg);
  border-top: 1px solid var(--sf-border);
  padding: 24px 0;
}

.site-footer .footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .footer-bottom .copyright {
  font-size: 11.5px;
  color: #5a5a5a;
  letter-spacing: 0.02em;
}

.site-footer .footer-bottom .legal-links {
  display: flex;
  gap: 24px;
}

.site-footer .footer-bottom .legal-links a,
.site-footer .footer-bottom .legal-links button {
  color: #5a5a5a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  transition: color 0.2s ease-out;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sf-sans);
  padding: 0;
}

.site-footer .footer-bottom .legal-links a:hover,
.site-footer .footer-bottom .legal-links button:hover {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ページトップへ戻る */

.site-footer .back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--sf-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transition: background 0.2s ease-out, transform 0.2s ease-out;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-footer .back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-footer .back-to-top:hover {
  background: var(--sf-accent-dark);
  transform: translateY(-2px);
}

.site-footer .back-to-top:focus-visible {
  outline: 3px solid rgba(139, 16, 16, 0.4);
  outline-offset: 2px;
}

.site-footer .back-to-top svg {
  width: 18px; height: 18px;
}

/* Responsive */

@media (max-width: 1023px) {
  .site-footer .med-sv-card {
    grid-template-columns: 1fr;
  }

  .site-footer .med-sv-side {
    justify-self: start;
  }

  .site-footer .footer-column-hub {
    grid-template-columns: repeat(2, 1fr); gap: 40px 24px;
  }

  .site-footer .footer-shop {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-info {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-info .info-block:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer .med-sv {
    padding-top: 40px; margin-bottom: 40px;
  }

  .site-footer .med-sv-articles {
    flex-direction: column; gap: 0;
  }

  .site-footer .footer-inner {
    padding: 48px 20px 32px;
  }

  .site-footer .footer-column-hub {
    grid-template-columns: 1fr; gap: 16px;
  }

  .site-footer .footer-shop {
    grid-template-columns: 1fr; padding-top: 40px;
  }

  .site-footer .footer-info {
    grid-template-columns: 1fr; padding-top: 40px;
  }

  .site-footer .footer-bottom-inner {
    flex-direction: column; align-items: flex-start; padding: 0 20px;
  }

  .site-footer .back-to-top {
    bottom: 20px; right: 20px;
  }
}

/* 監修記事：アコーディオン（2026-07-19 シュウ指示） */

.site-footer .med-sv-acc {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--sf-border);
}

.site-footer .med-sv-acc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 8px 0;
  background: none;
  border: none;
  font-family: var(--sf-sans);
  font-size: 13.5px;
  font-weight: 400;
  color: #5a5a5a;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(139,16,16,0.06);
}

.site-footer .med-sv-acc-toggle .chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 16px;
  transition: transform 0.25s ease-out, color 0.2s ease-out;
}

.site-footer .med-sv-acc-toggle[aria-expanded="true"] {
  color: var(--sf-accent);
}

.site-footer .med-sv-acc-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg); color: var(--sf-accent);
}

.site-footer .med-sv-acc-toggle:focus-visible {
  outline: 2px solid rgba(139,16,16,0.4); outline-offset: -2px; border-radius: 2px;
}

.site-footer .med-sv-articles {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease-out, visibility 0s linear 0.3s;
}

.site-footer .med-sv-articles.is-open {
  max-height: 600px;
  visibility: visible;
  transition: max-height 0.3s ease-out, visibility 0s;
}

/* 推奨医師セクション：見出しごとアコーディオン（2026-07-19 シュウ指示） */

.site-footer .footer-section-title.medsv-title {
  margin-bottom: 0; padding-bottom: 0; border-bottom: none; gap: 0;
}

.site-footer .footer-section-title.medsv-title::before {
  display: none;
}

/* 縦バーはトグル側のborder-leftで表現 */

.site-footer .medsv-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 6px 12px 12px;
  background: none;
  border: none;
  border-left: 3px solid var(--sf-accent);
  border-bottom: 1px solid var(--sf-border);
  font-family: var(--sf-serif);
  font-size: 18px;
  font-weight: 500;
  color: #5a5a5a;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(139,16,16,0.06);
}

.site-footer .medsv-toggle .en-sub {
  flex-shrink: 0;
  font-family: var(--sf-en);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 6px;
}

.site-footer .medsv-toggle .chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 16px;
  transition: transform 0.25s ease-out, color 0.2s ease-out;
}

.site-footer .medsv-toggle[aria-expanded="true"] {
  color: var(--sf-accent); background: rgba(139,16,16,0.03);
}

.site-footer .medsv-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg); color: var(--sf-accent);
}

.site-footer .medsv-toggle:focus-visible {
  outline: 2px solid rgba(139,16,16,0.4); outline-offset: -2px;
}

.site-footer .medsv-body {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.35s ease-out, visibility 0s linear 0.35s;
}

.site-footer .medsv-body.is-open {
  max-height: 1200px;
  visibility: visible;
  padding-top: 16px;
  transition: max-height 0.35s ease-out, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
.site-footer *::before,
.site-footer *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   【本番カスケード対策】2026-07-28
   本番CSSを実機取得して突合した結果、フッター配下に効いてしまう
   ルールが見つかったため、ここで打ち消す。
   ・pc-common.css L3-4  ... `*{ box-sizing: content-box!important; }`
     → `!important` 付きの全称セレクタのため、詳細度では勝てない。
        こちらも !important ＋ 高い詳細度で上書きする（ここだけの例外）
   ・本番の祖先要素が text-align:center を持つ（継承でフッターが中央寄せになる）
   ・m_sys_common.css  ... `h1〜h6 { display:table-cell; vertical-align:middle }`
   ・m_sys_common.css  ... `a:link/a:visited { color:#1049A0; text-decoration:underline }`
   ============================================================ */
.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box !important;
}

.site-footer {
  text-align: left;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  display: block;
  vertical-align: baseline;
  text-align: left;
}


/* ============================================================
   ご利用案内（旧 #footguide をフッターへ統合・2026-07-28）
   ・id は使わない（本番CSSが #footleft{width:457px;float:left} 等を
     詳細度1,0,0で押さえているため、クラスでは勝てない）
   ・行間・文字サイズ・小見出しの強さを読みやすさ優先で設計
   ============================================================ */
.site-footer .sf-guide-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.site-footer .sf-guide-col {
  min-width: 0;            /* グリッドの子が内容の最小幅で押し広げられるのを防ぐ（検品前セルフチェック3点目） */
}
.site-footer .sf-guide-col > *:first-child {
  margin-top: 0;
}

/* strong はブラウザ既定で Bold(700) になる。DESIGN.md §3「最も太くても500まで」に合わせる
   （元デザインでも .med-sv-quote strong / .info-line strong で同じ手当てをしている。
     2026-07-30 デザイン検品の指摘①） */
.site-footer .sf-guide strong {
  font-weight: 500;
}

/* 大見出し（ご注文案内・送料について 等） */
.site-footer .sf-guide-h {
  position: relative;
  margin: 32px 0 12px;
  padding: 0 0 8px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #2a2a2a;
  border-bottom: 1px solid var(--sf-border);
}
.site-footer .sf-guide-h::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 18px;
  background: var(--sf-accent);
  border-radius: 1px;
}

/* 小見出し（代金引換・銀行振り込み 等） */
.site-footer .sf-guide-sub {
  margin: 24px 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--sf-accent);
}

.site-footer .sf-guide p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.9;
  color: #3a3a3a;
}
.site-footer .sf-guide-note {
  font-weight: 500;
  color: #2a2a2a;
}
.site-footer .sf-guide a {
  color: var(--sf-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer .sf-guide a:hover {
  text-decoration: none;
}
.site-footer .sf-em {
  color: var(--sf-accent);
  font-weight: 500;
}

/* 料金の行（条件と金額を左右に振り分けて読みやすくする） */
.site-footer .sf-fee {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  border-top: 1px solid var(--sf-border);
}
.site-footer .sf-fee li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sf-border);
  font-size: 14px;
  line-height: 1.7;
}
.site-footer .sf-fee-cond {
  color: #3a3a3a;
  min-width: 0;            /* 狭幅で条件文が縮まず金額がはみ出すのを防ぐ（375pxで実測11件のはみ出しを確認→是正） */
  overflow-wrap: anywhere;
}
.site-footer .sf-fee-amt {
  flex-shrink: 0;
  font-weight: 500;
  color: #2a2a2a;
  white-space: nowrap;
}
.site-footer .sf-fee-amt.is-free {
  color: var(--sf-accent);
}

/* 振込先 */
.site-footer .sf-bank {
  margin: 12px 0 8px;
  padding: 16px;
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.8;
}
.site-footer .sf-bank > div {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}
.site-footer .sf-bank dt {
  flex-shrink: 0;
  width: 5.5em;
  font-weight: 500;
  color: #5a5a5a;
}
.site-footer .sf-bank dd {
  margin: 0;
  color: #2a2a2a;
}

/* 重要なお知らせ */
.site-footer .sf-guide-alert {
  margin: 12px 0 0;
  padding: 16px;
  background: var(--sf-surface);
  border-left: 3px solid var(--sf-accent);
  border-radius: 0 4px 4px 0;
}
.site-footer .sf-guide-alert p:last-child {
  margin-bottom: 0;
}

.site-footer .sf-guide-img {
  margin: 12px 0;
}
.site-footer .sf-guide-img img {
  max-width: 100%;
  height: auto;
  /* 2026-07-28：B案（透過PNGへの差し替え）を採用したため、
     A案の mix-blend-mode: multiply は不要になり削除。
     画像は gigaplus 上の透過版を参照する（下記 GUIDE_HTML の src 参照） */
}

.site-footer .sf-guide-more {
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .site-footer .sf-guide-cols {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  /* 料金行は縦積みにして、条件文が折り返しても金額が読めるようにする */
  .site-footer .sf-fee li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .site-footer .sf-fee-amt {
    align-self: flex-end;
  }
  .site-footer .sf-bank > div {
    flex-direction: column;
    gap: 0;
  }
  .site-footer .sf-bank dt {
    width: auto;
    font-size: 13px;
  }
}


/* ============================================================
   【背景の統一】2026-07-28 新本さん指示
   対象は「ご利用案内セクションだけ」。白背景をやめてフッターの地と同じ
   #f3f1ec（--sf-footer-bg）に揃える。
   ⚠️ 推奨医師カード（.med-sv-card）とクリニックのロゴ枠は、元デザインで
      意図的に白にして地から浮かせている箇所のため**変更しない**
      （2026-07-28 新本さん指示「他のセクションは勝手に変更しないでください」）
   ============================================================ */
.site-footer .sf-bank,
.site-footer .sf-guide-alert {
  background: var(--sf-footer-bg);
}
