/* ==========================================================================
   スター精機 コーポレートサイト / カスタマーサポートページ（/support/。2026-10-26）

   カスタマーサポート特設サイト（support.starseiki.biz）の公開が年明け以降になるため、
   それまでのつなぎに、旧サイトのサポート3ページ（窓口・動画・修理対応中止）を1ページに整えたもの。
   形は一般事業主行動計画（star-action.css）と同じ：導入＋ページ内リンク → 節（英字＋日本語の見出し）→ 下の導線の帯。
   ページのタイトル・パンくずは star-company.css のもの（HTML の一番外側に class="st-cmp st-sup"）。
   直交型メーカーなので角は丸めない。線より余白で仕切る
   ========================================================================== */


/* 写真の指定は star-images.css にまとめています（2026-10-02）。写真台帳.md も参照 */

/* タイトルの大きな英字（大きさ・位置は star-company.css の共通の指定） */
body:has(.st-sup) .page-header > *:first-child::before{
  content: "SUPPORT";
}

/* ページ内リンクで飛んだときに、ヘッダーの下へ隠れないように */
.st-sup [id]{ scroll-margin-top: 100px; }


/* ---- Lightning が見出し・表・一覧に付ける装飾を打ち消す ------------------ */
.st-sup h3, .st-sup ol, .st-sup ul, .st-sup li, .st-sup dl, .st-sup dt, .st-sup dd,
.st-sup table, .st-sup th, .st-sup td, .st-sup details, .st-sup summary{
  margin: 0;
  padding: 0;
  background: none !important;
  font-family: inherit;
}
.st-sup h3::before, .st-sup h3::after{ content: none !important; }
.st-sup h3{ border: 0 !important; }
.st-sup ol, .st-sup ul{ list-style: none; }

/* WordPress が差し込む余計な要素でレイアウトが崩れないように */
.st-sup .sup-jump > :not(.sup-jump__item),
.st-sup .sup-tel > :not(.sup-tel__item),
.st-sup .sup-tel__list > :not(.sup-tel__row),
.st-sup .sup-hol > :not(.sup-hol__row){ display: none !important; }


/* ---- 導入とページ内リンク（行動計画と同じ） ------------------------------ */
.st-sup .sup-intro{ padding: 64px 0 0; }
.st-sup .sup-intro__lead{
  font-size: 15px;
  line-height: 2.1;
  font-weight: 500;
  color: #2b2b2b;
  max-width: 46em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  word-break: auto-phrase;
  text-wrap: balance;
}
.st-sup .sup-jump{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.st-sup .sup-jump__item{
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .2s ease;
}
.st-sup .sup-jump__item:hover{ border-color: var(--ink); }


/* ---- 節 ------------------------------------------------------------------ */
.st-sup .sup-sec{ padding: 96px 0 0; }
.st-sup .sup-sec > .wrap{ max-width: 960px; }
.st-sup .sup-note{   /* 見出しのすぐ下の短い文（star-company.css の .sec-jp + p で中央） */
  font-size: 14.5px;
  line-height: 2;
  font-weight: 500;
  color: #2b2b2b;
  max-width: 46em;
  margin-top: -14px !important;
  margin-bottom: 36px !important;
}
.st-sup .sup-text{
  font-size: 15px;
  line-height: 2.05;
  font-weight: 500;
  color: #2b2b2b;
  margin-bottom: 16px !important;
}
.st-sup .sup-sub{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 36px 0 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--line) !important;
}
.st-sup .sup-aside{
  font-size: 12.5px;
  line-height: 1.9;
  font-weight: 500;
  color: #8a8a8a;
  margin-top: 14px !important;
}
.st-sup .sup-aside--center{ text-align: center; }

/* PDF のリンク（文字＋小さな PDF の札） */
.st-sup .sup-pdf{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--ink) !important;
  padding-bottom: 2px;
}
.st-sup .sup-pdf::after{
  content: "PDF" !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--red);
  padding: 1px 5px;
}
.st-sup .sup-pdf:hover{ color: var(--red); border-color: var(--red) !important; }

/* 枠線のボタン（下の導線と同じ。乗せると薄いグレーの面＋矢印が右へ） */
.st-sup .sup-btn,
.st-sup .sup-links__btn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 250px;
  padding: 17px 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: background .22s ease;
}
.st-sup .sup-btn:hover,
.st-sup .sup-links__btn:hover{ background: #f1f2f3; }
.st-sup .ar{ color: var(--red); font-size: 16px; transition: transform .22s ease; }
.st-sup .sup-btn:hover .ar,
.st-sup .sup-links__btn:hover .ar{ transform: translateX(4px); }
.st-sup .sup-btns{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }


/* ---- お電話・お問合せ ----------------------------------------------------
   事前の準備（2つ）→ 電話3つを横並び（PC）→ フォームのボタン */
.st-sup .sup-prep{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  padding: 22px 24px;
  background: #f6f7f7;
  margin-bottom: 48px;
}
.st-sup .sup-prep__head{ font-size: 14px; font-weight: 700; color: var(--ink); }
.st-sup .sup-prep__list{ display: flex; flex-wrap: wrap; gap: 8px 28px; }
.st-sup .sup-prep__list li{ display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.st-sup .sup-prep__no{ font-size: 12px; font-weight: 700; color: var(--red); }

.st-sup .sup-tel{
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  border-top: 1px solid var(--ink);
}
.st-sup .sup-tel__item{
  padding: 30px 28px 32px;
  border-bottom: 1px solid var(--line);
}
.st-sup .sup-tel__item + .sup-tel__item{ border-left: 1px solid var(--line); }
.st-sup .sup-tel__name{ font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 14px !important; }
.st-sup .sup-tel__no{
  display: block;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.st-sup .sup-tel__item--main .sup-tel__no{ color: var(--red); }
.st-sup .sup-tel__time{ font-size: 13px; font-weight: 500; color: var(--ink-soft); margin: 8px 0 0 !important; }
.st-sup .sup-tel__item .sup-pdf{ margin-top: 18px; }
.st-sup .sup-tel__row{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 3px 0; }
.st-sup .sup-tel__row dt{ font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.st-sup .sup-tel__row dd a{ font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.st-sup a[href^="tel:"]:hover{ color: var(--red); }
.st-sup .sup-form{ text-align: center; margin-top: 40px; }


/* ---- 健康診断 ------------------------------------------------------------ */
.st-sup .sup-items{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.st-sup .sup-items li{
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid #ededed;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: #2b2b2b;
}
.st-sup .sup-items li::before{   /* 四角い小さな印（丸は使わない） */
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 7px;
  height: 7px;
  background: var(--red);
}


/* ---- 休業日（営業カレンダー。2026-10-27、v1.21.0） ------------------------
   表・今日の案内・凡例は js/star-support.js が作る（日本時間の今日で決める）。JS が無いときは会社休日の文字の一覧だけ。
   色をつけるのは営業日（薄い緑の面。札の点と同じ緑）。休業日は白のまま数字を薄く（2026-10-27 わただ：お客様が見たいのは「営業しているか」）。
   赤は使わない（赤はサイトで一点だけ）。土日の数字も色を変えない */
.st-sup .sup-cal{ max-width: 960px; margin: 0 auto; }
.st-sup .sup-cal > :not(.sup-cal__now):not(.sup-cal__months):not(.sup-cal__legend):not(.sup-cal__head):not(.sup-hol){ display: none !important; }

.st-sup .sup-cal__now{
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  max-width: 640px; margin: 0 auto 40px !important; padding: 18px 22px; background: #f6f7f7;
}
.st-sup .sup-cal__now[hidden]{ display: none; }
.st-sup .sup-cal__now::before{ content: ""; grid-row: 1 / span 3; width: 10px; height: 10px; background: #1fa868; }
.st-sup .sup-cal__now.is-off::before{ background: #e08a1e; }
.st-sup .sup-cal__now b, .st-sup .sup-cal__now span{ grid-column: 2; display: block; }
.st-sup .sup-cal__now b{ font-size: 17px; font-weight: 700; color: var(--ink); word-break: auto-phrase; }
.st-sup .sup-cal__now span{ font-size: 14px; color: var(--ink-soft, #4a4a4a); }
.st-sup .sup-cal__now a{ font-weight: 700; color: var(--ink); }

.st-sup .sup-cal__months{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 36px; }
.st-sup .sup-cal__m{ width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; border: 0; }
.st-sup .sup-cal__m caption{ caption-side: top; text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); padding: 0 2px 8px; }
.st-sup .sup-cal__m th, .st-sup .sup-cal__m td{ border: 0 !important; padding: 0 !important; text-align: center; }
.st-sup .sup-cal__m th{ font-size: 12px; font-weight: 500; color: #8a8f96; line-height: 2.2; }
.st-sup .sup-cal__m td span{ display: block; font-size: 13.5px; line-height: 2.3; color: var(--ink); font-variant-numeric: tabular-nums; }
.st-sup .sup-cal__m td.is-open span{ background: #e3f3ea; }
.st-sup .sup-cal__m td.is-off span{ color: #a3a8ae; }
.st-sup .sup-cal__m td.is-past span{ opacity: .4; }
.st-sup .sup-cal__m td.is-today span{ box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; color: var(--ink); }

.st-sup .sup-cal__legend{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft, #4a4a4a); margin: 24px 0 0 !important; }
.st-sup .sup-cal__legend[hidden]{ display: none; }
.st-sup .sup-cal__key{ display: inline-block; width: 14px; height: 14px; }
.st-sup .sup-cal__key + .sup-cal__key, .st-sup .sup-cal__legend .sup-cal__key:not(:first-child){ margin-left: 16px; }
.st-sup .sup-cal__key.is-open{ background: #e3f3ea; }
.st-sup .sup-cal__key.is-today{ box-shadow: inset 0 0 0 2px var(--ink); }

.st-sup .sup-cal__head{ max-width: 640px; margin: 48px auto 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.st-sup .sup-hol{ max-width: 640px; margin: 0 auto; border-top: 1px solid var(--line); }
.st-sup .sup-hol__row{ display: grid; grid-template-columns: 8em 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.st-sup .sup-hol__row dt{ font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.st-sup .sup-hol__row dd{ font-size: 15.5px; font-weight: 700; color: var(--ink); }

/* 「本日は営業日／休業日です」の札（/support/ のパンくずの行の右。JS が足す。押すと休業日の節へ） */
body.has-sup-today .breadcrumb > .container{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.has-sup-today .breadcrumb ol{ min-width: 0; }
/* パソコンは1行：「本日 10月27日（火） 営業日です｜カスタマーサポート 7:30〜19:30」。
   2行・右寄せも試したが、パンくずの細い帯が太くなる（約 35→50px）ので1行に（2026-10-27 わただ） */
.sup-today{
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid #e2e2e2; background: #fff;
  font-size: 13px; line-height: 1.4; color: #0d0d0d !important; text-decoration: none !important;
  transition: background-color .2s;
}
.sup-today:hover{ background: #f1f2f3; }
.sup-today::before{ content: ""; flex: none; width: 8px; height: 8px; background: #1fa868; box-shadow: 0 0 0 3px rgba(31,168,104,.18); }
.sup-today.is-off::before{ background: #e08a1e; box-shadow: 0 0 0 3px rgba(224,138,30,.2); }
.sup-today__date{ color: #4a4a4a; margin-right: .6em; }
.sup-today__state{ font-weight: 700; }
.sup-today__note{ padding-left: 10px; border-left: 1px solid #e2e2e2; color: #4a4a4a; font-size: 12px; }


/* ---- メンテナンス動画（サムネイル＋No.＋タイトル。押すと YouTube を別タブで） ---- */
.st-sup .sup-mvs{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.st-sup .sup-mv a{ display: block; color: var(--ink); }
.st-sup .sup-mv__thumb{ display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9ebeb; }
.st-sup .sup-mv__thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.st-sup .sup-mv a:hover .sup-mv__thumb img{ transform: scale(1.04); }
.st-sup .sup-mv__no{ display: block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--red); }
.st-sup .sup-mv__title{ display: block; margin-top: 2px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.st-sup .sup-mv a:hover .sup-mv__title{ text-decoration: underline; }

/* 開閉（JS を使わない details。動画の残り・修理対応中止の表） */
.st-sup .sup-more{ margin-top: 32px; }
.st-sup .sup-more > .sup-mvs{ margin-top: 32px; }
.st-sup .sup-more__btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background .22s ease;
}
.st-sup .sup-more__btn::-webkit-details-marker{ display: none; }
.st-sup .sup-more__btn::after{ content: "+"; color: var(--red); font-size: 18px; font-weight: 400; line-height: 1; }
.st-sup .sup-more[open] > .sup-more__btn::after{ content: "−"; }
.st-sup .sup-more__btn:hover{ background: #f1f2f3; }


/* ---- 修理対応中止の表（旧サイトの表のまま。せまい画面では横にスクロール） ---- */
.st-sup .sup-table{ overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 32px; }
.st-sup .sup-tbl{ width: 100%; min-width: 640px; border-collapse: collapse; }
.st-sup .sup-tbl th,
.st-sup .sup-tbl td{
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #ededed !important;
  font-size: 13.5px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
  color: #2b2b2b;
}
.st-sup .sup-tbl thead th{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  background: #f6f7f7 !important;
  border-bottom: 1px solid #e2e4e5 !important;
  white-space: nowrap;
}
.st-sup .sup-tbl td[rowspan]{ border-right: 1px solid #ededed !important; }


/* ---- 下部の導線（行動計画と同じ、画面いっぱいの薄い帯） ---------------- */
.st-sup .sup-links{
  --st-wrap: 1180px;
  background: #f6f7f7;
  margin-top: 110px;
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 54px max(24px, calc((100vw - var(--st-wrap)) / 2)) 58px;
}
.st-sup .sup-links__inner{
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px 56px;
  flex-wrap: wrap;
}
.st-sup .sup-links__lead{ font-size: 15px; line-height: 2; font-weight: 600; color: var(--ink); }


/* ---- タブレット ---------------------------------------------------------- */
@media (max-width: 900px){
  .st-sup .sup-tel{ grid-template-columns: 1fr 1fr; }
  .st-sup .sup-tel__item--main{ grid-column: 1 / -1; }
  .st-sup .sup-tel__item + .sup-tel__item{ border-left: 0; }
  .st-sup .sup-tel__item:nth-child(3){ border-left: 1px solid var(--line); }
  .st-sup .sup-mvs{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-sup .sup-cal__months{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 28px; }
  .sup-today__note{ display: none; }
}

/* ---- スマホ -------------------------------------------------------------- */
@media (max-width: 620px){
  .st-sup .sup-intro{ padding: 36px 0 0; }
  .st-sup .sup-intro__lead{ font-size: 14px; line-height: 2; }
  .st-sup .sup-jump{ gap: 8px; margin-top: 22px; }
  .st-sup .sup-jump__item{ width: 100%; padding: 12px 16px; }

  .st-sup .sup-sec{ padding: 64px 0 0; }
  .st-sup .sup-note{ font-size: 14px; margin-bottom: 28px !important; }
  .st-sup .sup-text{ font-size: 14.5px; }

  .st-sup .sup-prep{ flex-direction: column; align-items: flex-start; padding: 18px 18px; margin-bottom: 36px; }
  .st-sup .sup-tel{ grid-template-columns: 1fr; }
  .st-sup .sup-tel__item{ padding: 24px 4px 26px; }
  .st-sup .sup-tel__item:nth-child(3){ border-left: 0; }

  .st-sup .sup-items{ grid-template-columns: 1fr; }
  .st-sup .sup-btn{ width: 100%; }
  .st-sup .sup-hol__row{ grid-template-columns: 1fr; gap: 4px; }
  .st-sup .sup-cal__now{ padding: 16px 16px; margin-bottom: 32px !important; }
  .st-sup .sup-cal__now b{ font-size: 16px; }
  .st-sup .sup-cal__months{ gap: 24px 14px; }
  .st-sup .sup-cal__m td span{ font-size: 12.5px; line-height: 2.1; }
  .st-sup .sup-cal__head{ margin-top: 40px !important; }
  /* スマホは札を短く（「本日は」と状態だけ）。パンくずと並べると入らない（375px でパンくず 231px＋札 134px）ので、
     パンくずは1行のまま、札は次の行の右へ */
  body.has-sup-today .breadcrumb > .container{ flex-wrap: wrap; gap: 8px 10px; }
  body.has-sup-today .breadcrumb ol{ flex-wrap: nowrap; white-space: nowrap; }
  .sup-today{ margin-left: auto; padding: 5px 10px; gap: 8px; font-size: 12px; }
  .sup-today__date{ display: none; }
  .sup-today__state::before{ content: "本日は"; font-weight: 400; color: #4a4a4a; }

  .st-sup .sup-mvs{ grid-template-columns: 1fr; gap: 24px; }
  .st-sup .sup-more__btn{ max-width: none; }

  .st-sup .sup-links{
    margin-top: 72px;
    padding: 40px max(16px, calc((100vw - var(--st-wrap)) / 2)) 44px;
  }
  .st-sup .sup-links__inner{ flex-direction: column; align-items: stretch; gap: 22px; }
  .st-sup .sup-links__lead{ text-align: center; }
  .st-sup .sup-links__btn{ width: 100%; }
}
