/* =========================================================
   会社の色・書体・トップの作り (2026/10/8 向畑決定「B 紺×オレンジを土台に、C の専用ページの画面を足す」)
   - style.css の後に読む。トップ・会社情報・お知らせ・規約類・404 が読む
   - f.o.oパックのページ (/foopack/) は読まない＝前に了承をもらった見た目のまま
   - 紺 #172231 とオレンジ #fe9802 は f.o.oパックのアイコンと同じ色（2026/10/11 から HP の紺は採用ページと同じ #0d1f3c・オレンジ #f77a10＝f.o.oパックのアイコンも同じ色に描き直した）
   - オレンジは白の上の文字には薄すぎる (白地で 2.7:1)。白地の文字のアクセントは --accent (#b75a0b・4.7:1)、
     オレンジ #f77a10 は塗り・帯・紺地の上の文字だけに使う
   ========================================================= */
:root{
  --navy:       #0d1f3c;   /* 2026/10/11 向畑「採用ページとHPの紺の色が違うね。採用ページに合わせましょう」で採用ページ（recruit. の --navy）と同じ色に。前は #16306a（10/10 に見比べて選んだ色）・その前は #1c2d4a・#172231。オレンジの上の紺の文字は 6.1:1 */
  --navy-2:     #1a3560;   /* 採用ページの --navy-mid と同じ */
  --mincho: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;   /* トップの最初の画面の大きな文字だけ */
  --orange:     #f77a10;   /* 2026/10/10 向畑「もう少しオレンジに寄せて。少し黄色っぽく見える」→ 見比べて「右の色にして」で #fe9802 から赤みを足した */
  --ink:        #172231;
  --ink-soft:   #4a5160;
  --ink-mute:   #646b78;
  --paper:      #ffffff;
  --paper-2:    #f2f3f5;
  --line:       #e3e5ea;
  --accent:     #b75a0b;   /* 白地の文字用の濃いオレンジ（白地で 4.7:1）。2026/10/10 オレンジに合わせて赤みを足した（前は #b45f00） */
  --accent-deep:#8c4306;
  --on-navy:    #c9d1dd;
  --serif: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --sans:  'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --num:   'Archivo', 'Zen Kaku Gothic New', sans-serif;
}
body{ background: var(--paper); line-height: 1.8; }
.wrap{ width: min(1200px, 92vw); }

/* ---------- 上の帯 (どのページも紺) ---------- */
header.nav,
header.nav.scrolled,
header.nav.solid{
  background: var(--navy);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: #fff;
}
header.nav{ padding: 14px 0; }
header.nav.scrolled, header.nav.solid{ padding: 10px 0; }
header.nav .row{ gap: 16px; }
.brand{ color: #fff; font-weight: 900; font-size: 19px; letter-spacing: .05em; }
.brand small{ color: var(--orange); font-family: var(--num); font-stretch: 85%; font-weight: 700; font-size: 11px; letter-spacing: .18em; }
nav{ margin-left: auto; }
nav ul{ gap: 26px; align-items: center; }
nav a{ font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #fff; }
nav a::after{ background: var(--orange); height: 2px; }
.nav-tel{
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 6px;
  background: var(--orange); color: var(--navy);
  font-family: var(--num); font-stretch: 85%; font-weight: 800; font-size: 17px; letter-spacing: .02em;
  white-space: nowrap; transition: filter .2s;
}
.nav-tel:hover{ filter: brightness(1.06); }
.nav-tel svg{ flex-shrink: 0; }
.nav-toggle span{ background: #fff; }

/* ---------- 共通の見出し ---------- */
section{ padding: 104px 0; }
.section-num{
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 900; letter-spacing: .12em; color: var(--ink);
  margin-bottom: 14px;
}
.section-num::before{ content: ""; width: 28px; height: 4px; background: var(--orange); flex-shrink: 0; }
.section-title{ font-weight: 900; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.35; letter-spacing: .01em; max-width: 820px; }
.section-sub{ color: var(--ink-soft); font-size: 16px; max-width: 640px; }
.eyebrow{ color: var(--accent); font-weight: 700; }
.eyebrow::before{ background: var(--orange); height: 3px; }
.subhero{ background: var(--paper-2); padding-top: 140px; }
.subhero h1{ font-weight: 900; }

/* ---------- ボタン ---------- */
.b-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 30px; border-radius: 6px;
  font-size: 16px; font-weight: 900; letter-spacing: .03em;
  transition: transform .25s var(--ease), filter .25s, background .25s, color .25s;
}
.b-btn:hover{ transform: translateY(-2px); }
.b-btn-primary{ background: var(--orange); color: var(--navy); }
.b-btn-primary:hover{ filter: brightness(1.06); }
.b-btn-ghost{ border: 2px solid #fff; color: #fff; }
.b-btn-ghost:hover{ background: #fff; color: var(--navy); }
.b-btn-navy{ background: var(--navy); color: #fff; }
.b-btn-line{ border: 2px solid var(--navy); color: var(--navy); }
.b-btn-line:hover{ background: var(--navy); color: #fff; }

/* ---------- 最初の画面 ---------- */
.b-hero{ background: var(--navy); color: #fff; padding: 72px 0 0; overflow: hidden; }
.b-hero-row{ display: flex; flex-wrap: wrap; align-items: stretch; width: min(1440px, 100%); margin-inline: auto; }
.b-hero-text{
  flex: 1 1 540px; min-width: 0;
  padding: clamp(48px, 7vw, 104px) clamp(16px, 4vw, 56px) clamp(48px, 7vw, 104px) max(4vw, calc((100vw - 1200px) / 2));
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.b-tag{
  align-self: flex-start; padding: 6px 14px; border: 1px solid var(--orange); border-radius: 4px;
  color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.b-hero h1.headline{ font-family: var(--sans); font-weight: 900; font-size: clamp(42px, 6vw, 88px); line-height: 1.22; margin: 0; letter-spacing: .01em; }
.b-hero .headline .word{ display: block; }
.b-hero .headline .b-em{ color: var(--orange); }
.b-hero .lede{ color: var(--on-navy); font-size: 17px; line-height: 2; margin: 0; max-width: 31em; }
.b-hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; }
.b-hero-photo{ flex: 1 1 440px; min-width: 0; min-height: 560px; position: relative; }
.b-hero-photo img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 58%; }  /* サービスカー（2026/10/9）。運転席の前から荷台の機械まで入る位置 */

/* ---------- 数字の帯 ---------- */
.b-band{ background: var(--orange); color: var(--navy); padding: 40px 0; }
.b-band-row{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; }
.b-fact{ flex: 1 1 200px; display: flex; flex-direction: column; }
.b-fact-num{ font-family: var(--num); font-stretch: 75%; font-weight: 900; font-size: clamp(48px, 5vw, 66px); line-height: 1; }
.b-fact-num small{ font-family: var(--sans); font-size: 18px; font-weight: 900; margin-left: 4px; }
.b-fact-label{ font-size: 14px; font-weight: 700; margin-top: 6px; }

/* ---------- 事業 ---------- */
/* f.o.oパックを横いっぱいに1枚、その下にほかの3つを横並び（左右に分けると、右の3枚の文が長くて左の枠の上下が空いた） */
.b-biz{ display: flex; flex-direction: column; gap: 20px; }
.b-biz-main{
  min-width: 0; background: var(--navy); color: #fff; border-radius: 12px; padding: 36px 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; transition: transform .3s var(--ease);
}
.b-biz-main .b-biz-head{ flex: 0 0 auto; }
.b-biz-main p{ flex: 1 1 380px; min-width: 0; }
.b-biz-main:hover{ transform: translateY(-4px); }
.b-biz-head{ display: flex; align-items: center; gap: 20px; }
.b-biz-head img{ width: 84px; height: 84px; border-radius: 18px; }
.b-biz-kicker{ display: block; font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }
.b-biz-name{ display: block; font-weight: 900; font-size: 34px; line-height: 1.3; }
.b-biz-main p{ color: var(--on-navy); font-size: 16px; margin: 0; }
.b-biz-main .b-btn{ flex: 0 0 auto; min-height: 50px; font-size: 15px; }
.b-biz-side{ display: flex; flex-wrap: wrap; gap: 20px; }
.b-biz-card{ flex: 1 1 280px; min-width: 0; background: var(--paper-2); border-radius: 12px; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; transition: background .25s; }
.b-biz-card:hover{ background: #e8eaee; }
.b-biz-card h3{ font-weight: 900; font-size: 20px; line-height: 1.4; }
.b-biz-card p{ font-size: 14px; color: var(--ink-soft); }
.b-biz-card .b-more{ font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- 貴社専用ページ (C 案から) ---------- */
.b-share{ background: var(--paper-2); }
.b-share-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.b-share-text{ flex: 1 1 440px; min-width: 0; }
.b-share-list{ list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.b-share-list li{ display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 14px 18px; }
.b-share-list li::before{ content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 9px; border-radius: 2px; background: var(--orange); }
.b-share-list strong{ display: block; font-size: 16px; font-weight: 900; }
.b-share-list span{ display: block; font-size: 14px; color: var(--ink-soft); }
.b-share-shots{ flex: 1 1 500px; min-width: 0; margin: 0; }
.b-shots{ display: grid; }
.b-shot-pc{
  grid-area: 1 / 1; justify-self: end; align-self: start; width: 86%;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(23, 34, 49, .12);
}
.b-shot-bar{ padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.b-shot-pc img{ width: 100%; height: auto; }
.b-shot-phone{
  grid-area: 1 / 1; justify-self: start; align-self: start; margin-top: 30%; width: 34%;
  border: 8px solid var(--navy); border-radius: 28px; overflow: hidden; background: var(--navy);
  box-shadow: 0 18px 38px rgba(23, 34, 49, .25);
}
.b-shot-phone img{ width: 100%; height: auto; border-radius: 20px; }
.b-share-shots figcaption{ margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

/* ---------- サービスカー (2026/10/8 向畑さんの写真) ---------- */
.b-car{ background: var(--paper-2); }
.b-share{ background: var(--paper); }   /* サービスカーの欄が灰色なので、続く専用ページの欄は白に */
.b-car-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.b-car-text{ flex: 1 1 400px; min-width: 0; }
.b-car-points{ list-style: none; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.b-car-points li{ display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.b-car-points li::before{ content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 2px; background: var(--orange); flex-shrink: 0; }
.b-car-photos{ flex: 1.3 1 520px; min-width: 0; position: relative; padding-bottom: 28px; }
.b-car-photos figure{ margin: 0; border-radius: 12px; overflow: hidden; }
.b-car-photos img{ width: 100%; height: auto; display: block; }
.b-car-main img{ aspect-ratio: 4 / 3; object-fit: cover; }
.b-car-sub{ position: absolute; left: -28px; bottom: 0; width: 44%; border: 6px solid var(--paper-2); box-shadow: 0 12px 30px rgba(23, 34, 49, .18); }

/* ---------- 現場の様子 (紺) ---------- */
.genba{ background: var(--navy); color: #fff; }
.genba .section-num{ color: #fff; }
.genba .section-sub{ color: var(--on-navy); }
.genba-grid{ gap: 16px; }
.genba-item{ position: relative; border-radius: 12px; overflow: hidden; }
/* img の height 属性 (1283 など) が aspect-ratio より強く効き、写真が縦に伸びていた → height:auto で 4:5 に */
.genba-item img{ aspect-ratio: 4 / 5; height: auto; }
.genba-item figcaption{
  position: absolute; left: 0; bottom: 0; margin: 0; padding: 10px 16px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border-top-right-radius: 8px;
}

.b-insta-feed{ margin-top: 44px; }
.b-insta-head{ display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 900; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.b-insta-head::before{ content: ""; width: 28px; height: 4px; background: var(--orange); }
.b-insta-grid{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.b-insta-item{ display: block; border-radius: 10px; overflow: hidden; background: var(--navy-2); }
.b-insta-item img{ width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .35s var(--ease); }
.b-insta-item:hover img{ transform: scale(1.04); }
.b-insta{
  display: inline-flex; align-items: center; gap: 14px; margin-top: 32px;
  min-height: 60px; padding: 10px 26px; border: 2px solid #fff; border-radius: 6px;
  color: #fff; font-weight: 900; font-size: 16px; transition: background .25s, color .25s;
}
.b-insta:hover{ background: #fff; color: var(--navy); }
.b-insta small{ display: block; font-family: var(--num); font-stretch: 90%; font-weight: 700; font-size: 13px; color: var(--orange); letter-spacing: .02em; }
.b-insta:hover small{ color: var(--accent); }

/* ---------- 強み ---------- */
.features{ background: var(--paper); }
.features-grid{ border: 0; gap: 20px; margin-top: 0; }
.feature-card{ background: var(--paper-2); border: 0; border-radius: 12px; padding: 30px 28px; cursor: pointer; }
.feature-card:hover{ background: #e8eaee; }
.feature-card .fnum{ font-family: var(--num); font-stretch: 75%; font-weight: 900; font-size: 40px; letter-spacing: 0; line-height: 1; color: var(--ink); margin-bottom: 14px; }
.feature-card h4{ font-weight: 900; font-size: 19px; margin-bottom: 10px; }
.feature-card .fmore{ display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.feature-dialog .fd-num{ color: var(--accent); }
.feature-dialog .fd-cta{ background: var(--orange); color: var(--navy); font-weight: 900; }

/* ---------- 理念 ---------- */
.creed{ background: var(--paper); border-color: var(--line); padding: 88px 0; }
.creed-eyebrow{ color: var(--accent); font-weight: 700; }
.creed-text{ font-weight: 900; }

/* ---------- メーカー ---------- */
.makers{ background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }

/* ---------- 拠点とエリア ---------- */
.b-locs{ display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.b-locs .servicearea-img{ flex: 1.3 1 480px; min-width: 0; border-radius: 12px; }
.b-loc-row{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.b-loc{ background: var(--paper-2); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; }
.b-loc-kicker{ font-family: var(--num); font-stretch: 85%; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.b-loc h3{ font-weight: 900; font-size: 19px; line-height: 1.4; }
.b-loc p{ font-size: 14px; color: var(--ink-soft); }
.b-loc .loc-map{ align-self: flex-start; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange); }
.b-areas{ flex: 1 1 340px; min-width: 0; }
.b-areas h4{ font-size: 14px; font-weight: 900; margin: 16px 0 8px; }
.b-areas h4:first-child{ margin-top: 0; }
.servicearea-list span::before{ background: var(--orange); }

/* ---------- 中古タイヤ・お知らせ・FAQ ---------- */
.used-card{ border-radius: 12px; }
.used-card .price{ color: var(--accent); }
.used-tire-more a, .news-preview-more a{ font-weight: 700; }
.news-preview-row .cat{ color: var(--accent); border-color: var(--accent); }
.news-preview-row h3{ font-weight: 700; }
.faq{ background: var(--paper-2); }
.faq-q{ font-weight: 700; }
.faq-q::before{ color: var(--accent); }

/* ---------- 代表メッセージ (紺) ---------- */
.message-excerpt{ background: var(--navy); color: #fff; }
.message-excerpt .section-num{ color: #fff; }
.message-excerpt .section-title{ display: none; }
.message-excerpt .lead{ font-weight: 900; }
.message-excerpt .lead em{ color: var(--orange); }
.message-excerpt .sign, .message-excerpt .sign strong{ color: var(--on-navy); }
.message-excerpt .more-link{ border: 2px solid #fff; border-radius: 6px; color: #fff; font-weight: 700; }
.message-excerpt .more-link:hover{ background: #fff; color: var(--navy); }
.msg-photo img, .message-photo img{ height: auto; border-radius: 12px; object-position: 50% 72%; }

/* ---------- 採用 ---------- */
.recruit{ background: var(--paper); }
.recruit .section-num{ justify-content: center; }
.recruit .external{ border-radius: 6px; font-weight: 700; }

/* ---------- お問い合わせ (オレンジ) ---------- */
.contact{ background: var(--orange); color: var(--navy); }
.contact .section-title{ color: var(--navy); }
.contact .section-num{ color: var(--navy); }
.contact .section-num::before{ background: var(--navy); }
.contact .section-sub{ color: var(--navy) !important; font-weight: 500; }
.contact-card{ background: #fff; border: 0; border-radius: 12px; padding: 24px 24px 22px; }
.contact-card h5{ color: var(--ink-soft); font-weight: 700; letter-spacing: .14em; }
.contact-card .big{ font-family: var(--num); font-stretch: 80%; font-weight: 900; color: var(--navy); font-size: clamp(26px, 2.4vw, 32px); }
.contact-card .big a[href^="mailto:"]{ font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.contact-form h3{ color: var(--ink); font-weight: 900; }
.contact-card p{ color: var(--ink-soft) !important; }
.contact-card a:hover{ color: var(--accent); }
.contact-form{ background: #fff; color: var(--ink); border: 0; border-radius: 16px; }
.contact-form label{ color: var(--ink); }
.contact-form label .req{ color: var(--accent); }
.contact-form .form-privacy{ margin-top: 20px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); text-align: center; }
.contact-form .form-privacy a{ color: var(--navy); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }   /* 幅320pxで「プライバシー／ポリシー」と折れていた */
.contact-form input, .contact-form textarea, .contact-form select{ background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.contact-form button[type=submit]{ background: var(--navy); color: #fff; border-radius: 6px; font-weight: 900; }
.contact-form button[type=submit]:hover{ background: var(--navy-2); }

/* ---------- 下の帯 ---------- */
footer{ background: var(--navy); color: var(--on-navy); }
footer .brand-f{ color: #fff; font-weight: 900; }
footer a{ color: #fff; }

/* ---------- スマホ ---------- */
/* メニューの文字を途中で折らない（2026/10/9 施工事例を足して8項目に。前は 960px 以下で「お問い合わせ」等が2行に折れていた） */
nav a{ white-space: nowrap; }
@media (max-width: 1100px){
  nav ul{ gap: 14px; }
  nav a{ font-size: 13px; letter-spacing: 0; }
}
.brand{ white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1024px){
  .brand{ font-size: 16px; }
  .brand small{ font-size: 10px; }
  .nav-tel{ padding: 0 12px; font-size: 15px; }
}
@media (min-width: 861px) and (max-width: 960px){
  nav ul{ gap: 10px; }
  nav a{ font-size: 12px; }
  .nav-tel{ padding: 0 10px; font-size: 14px; gap: 6px; }
}
@media (max-width: 860px){
  .nav-tel{ min-height: 40px; padding: 0 12px; font-size: 15px; }
  nav ul{ background-color: #fff !important; }
  nav ul a{ color: var(--navy); }
  body.nav-open .nav-toggle span{ background: var(--navy); }
  section{ padding: 72px 0; }
  .b-hero{ padding-top: 64px; }
  /* スマホは写真を一番上に（向畑 2026/10/8「上部にボタンが大きくあるから、ここは画像を置いておいた方が」）。ボタンは写真と見出しの下 */
  .b-hero-text{ padding: 28px 4vw 40px; gap: 20px; }
  .b-hero-photo{ order: -1; flex-basis: 100%; min-height: 0; height: 72vw; max-height: 460px; }
  .b-hero-photo img{ object-position: 50% 60%; }  /* サービスカー全体が入る位置（2026/10/9） */
  .b-hero .lede{ font-size: 16px; line-height: 1.9; }
  .b-hero-cta .b-btn{ min-height: 52px; font-size: 15px; }
  .b-biz-main{ padding: 28px; }
  .b-biz-name{ font-size: 28px; }
  .b-band{ padding: 32px 0; }
  .b-fact{ flex: 1 1 40%; }
  .b-insta-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .b-car-photos{ padding-bottom: 0; display: grid; gap: 10px; }
  .b-car-sub{ position: static; width: 100%; border: 0; box-shadow: none; }
}
@media (max-width: 520px){
  .nav-tel span{ display: none; }
  .nav-tel{ padding: 0 11px; }
  .b-hero h1.headline{ font-size: 44px; }
  .b-hero-cta .b-btn{ width: 100%; }
}

/* =========================================================
   お知らせのカード（写真つき）— トップの最新3件・お知らせ一覧・記事の「ほかのお知らせ」で共通
   2026/10/8 向畑「質素な感じだったね」「関係する画像などを貼ったほうがいいかも」
   写真が無い記事は script.js の FooNews.thumbs が会社の写真を言葉に合わせて当てる（同じ写真が並ばないようにずらす）
   ========================================================= */
.nw-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.nw-card{
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.nw-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 34px rgba(23,34,49,.13); border-color: transparent; }
.nw-thumb{ position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); flex-shrink: 0; }
.nw-thumb img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .6s var(--ease); }
.nw-card:hover .nw-thumb img{ transform: scale(1.05); }
.nw-new{
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font-family: var(--num); font-stretch: 90%; font-weight: 800; font-size: 12px; letter-spacing: .08em;
  background: var(--orange); color: var(--navy); padding: 3px 9px; border-radius: 6px;
}
.nw-body{ display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; flex: 1; min-width: 0; }
.nw-meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--num); font-stretch: 95%; font-weight: 700; font-size: 13px; color: var(--ink-mute); letter-spacing: .03em; }
.nw-cat{
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px; background: #ffebd9; color: var(--accent-deep);
}
.nw-cat[data-cat="プレスリリース"]{ background: #e7ebf2; color: var(--navy); }
.nw-cat[data-cat="業界情報"]{ background: #e3f2ee; color: #0f5a4e; }
.nw-cat[data-cat="イベント"]{ background: #e9f3e1; color: #36610f; }
.nw-imp{ font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #b42318; color: #fff; }
.nw-title{ font-size: 17px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.nw-go{ margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--accent); }
.nw-go::after{ content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.nw-card:hover .nw-go::after{ transform: translateX(4px); }
/* 一覧の一番新しい記事は横長の大きなカード */
.nw-card.nw-feature{ grid-column: 1 / -1; flex-direction: row; }
.nw-feature .nw-thumb{ width: 58%; aspect-ratio: 16 / 10; }
.nw-feature .nw-body{ padding: 36px 40px; justify-content: center; gap: 14px; }
.nw-feature .nw-title{ font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; }
.nw-feature .nw-go{ margin-top: 8px; }  /* 大きなカードは題名のすぐ下に（下に寄せると間が空きすぎる） */
.nw-empty{ grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--ink-mute); font-size: 14px; }
@media (max-width: 960px){
  .nw-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .nw-feature .nw-body{ padding: 28px; }
}
/* スマホ: 大きなカードは写真が上、ほかは左に写真の横並び（縦に長くならないように） */
@media (max-width: 640px){
  .nw-grid{ grid-template-columns: 1fr; gap: 12px; }
  .nw-card.nw-feature{ flex-direction: column; }
  .nw-feature .nw-thumb{ width: 100%; }
  .nw-feature .nw-body{ padding: 18px 18px 20px; }
  .nw-feature .nw-title{ font-size: 20px; }
  .nw-card:not(.nw-feature){ flex-direction: row; border-radius: 12px; }
  .nw-card:not(.nw-feature) .nw-thumb{ width: 34%; aspect-ratio: auto; min-height: 96px; }
  .nw-card:not(.nw-feature) .nw-body{ padding: 12px 14px; gap: 6px; }
  .nw-card:not(.nw-feature) .nw-title{ font-size: 15px; line-height: 1.55; }
  .nw-card:not(.nw-feature) .nw-go{ display: none; }
  .nw-card:not(.nw-feature) .nw-new{ left: 6px; top: 6px; font-size: 10px; padding: 2px 6px; }
}
/* トップの最新3件 */
.news-preview .nw-grid{ margin-top: 8px; }

/* 施工事例（2026/10/9）: カードの説明文・確認用の住所で見える下書きの印・トップの「現場の様子」の欄の最新3件 */
.nw-cat[data-cat="施工事例"]{ background: var(--navy); color: #fff; }
.nw-excerpt{ font-size: 14px; line-height: 1.75; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-new.nw-draft{ background: #5b6472; color: #fff; font-family: var(--sans); }
.b-jirei{ margin-top: 44px; }
.b-jirei-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.b-jirei-head .b-insta-head{ margin-bottom: 0; }
.b-jirei-more{ color: #fff; font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.b-jirei-more::after{ content: " →"; }
.b-jirei-more:hover{ color: var(--orange); border-color: var(--orange); }
.b-jirei .nw-card{ border-color: transparent; }
/* 2026/10/13 「毎日の現場から。」の写真から施工事例へ。リンクの ::after を写真全体（説明の帯も）に広げる */
.genba-link{ display: block; }
.genba-link::after{ content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.genba-link:focus-visible{ outline: none; }
.genba-link:focus-visible::after{ box-shadow: inset 0 0 0 3px var(--orange); }
.genba-link img{ transition: transform .5s var(--ease); }
.genba-item:hover .genba-link img{ transform: scale(1.04); }
.genba-more{ display: block; margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--orange); }
.genba-more::after{ content: " →"; }
.genba-all{ margin-top: 18px; text-align: right; }
@media (min-width: 761px) and (max-width: 960px){ .genba-more{ font-size: 11px; } }
@media(max-width:640px){ .nw-card:not(.nw-feature) .nw-excerpt{ display: none; } }

/* =========================================================
   インスタの最新の投稿を左へ流す帯（現場の様子の欄）2026/10/8 向畑「左に流れるようにしたい」
   12本を2回並べて -50% まで動かす＝切れ目なく回る。指を乗せると止まる。動きを減らす設定の人には横スクロールで出す
   ========================================================= */
.b-insta-marquee{
  position: relative; overflow: hidden; margin: 0 -3vw; padding: 4px 0;  /* .wrap の外の余白（PC 4vw・スマホ 3vw）の内側まで広げる＝横にはみ出さない */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.b-insta-track{ display: flex; gap: 14px; width: max-content; animation: b-insta-flow var(--flow-sec, 60s) linear infinite; }
.b-insta-marquee:hover .b-insta-track, .b-insta-marquee:focus-within .b-insta-track{ animation-play-state: paused; }
.b-insta-track .b-insta-item{ width: 168px; flex-shrink: 0; position: relative; }
@keyframes b-insta-flow{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (max-width: 860px){
  .b-insta-track{ gap: 10px; }
  .b-insta-track .b-insta-item{ width: 128px; }
}
@media (prefers-reduced-motion: reduce){
  .b-insta-marquee{ overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .b-insta-track{ animation: none; }
  .b-insta-track [aria-hidden="true"]{ display: none; }
}

/* 外へ出るリンクの矢印（2026/10/8）。文字の矢印は iPhone で青い四角の絵文字に化けるので、線で描く */
.ext-ico{ display: inline-block; width: .72em; height: .72em; vertical-align: -.02em; margin-left: .3em; flex-shrink: 0; }  /* 文字の大きさに合わせて伸び縮み */

/* 現場の様子は4枚（2026/10/9） */
@media (min-width: 761px){ .genba-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =========================================================
   最初の画面（2026/10/10 パンフレット風の左右2色・向畑「現場と管理はいいね」「左右の区切りの方がよかった」）
   - 左の紺＝サービスカーの写真に紺を重ねて透かす「現場」、右のオレンジ＝「管理」。「と」の白い丸を境目の真ん中に
   - 大きな2文字は画面が広ければ横に2つ、狭ければ（スマホ）縦に積む（.ph-col が折り返す）
   - 境目をまたぐ一言（.ph-tagline・.ph-tag）は、要素を画面の幅いっぱいにして、文字の色を 50% で白→紺に切り替える
     ＝境目と文字の色の切り替わりがそろう。左右に余白を付けるときは左右同じにする（ずれると色の境目がずれる）
   - 前の最初の画面（.b-hero）の決まりは上に残してある（使っていない）
   ========================================================= */
.ph-hero{
  position: relative; overflow: hidden; padding: 72px 0 0; min-height: 772px;
  display: flex; flex-direction: column; color: #fff;
}
.ph-bg{ position: absolute; top: 0; bottom: 0; width: 50%; }
.ph-bg-l{ left: 0; background: var(--navy); overflow: hidden; }
.ph-bg-l img{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 22% 62%; }
.ph-bg-l::after{ content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .7; }   /* 紺の重ね具合（小さいほど写真が透ける） */
.ph-bg-r{ right: 0; background: var(--orange); }

.ph-inner{ position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: 28px; padding: clamp(40px, 5.5vw, 88px) 0 clamp(24px, 3vw, 44px); }
.ph-main{ flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 2.4vw, 36px); }
.ph-title{ margin: 0; display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 36px); font-family: var(--mincho); font-weight: 900; }
.ph-chars{ position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: clamp(104px, 15vw, 228px); line-height: 1.04; letter-spacing: 0; }
.ph-col{ display: flex; flex-wrap: wrap; }
.ph-col-l{ justify-content: flex-end; padding-right: clamp(44px, 5.4vw, 80px); text-shadow: 0 4px 28px rgba(8, 14, 28, .45); }
.ph-col-r{ justify-content: flex-start; padding-left: clamp(44px, 5.4vw, 80px); }
.ph-c-w{ color: #fff; }
.ph-c-o{ color: var(--orange); }
.ph-c-n{ color: var(--navy); }
.ph-to{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(60px, 6.6vw, 100px); height: clamp(60px, 6.6vw, 100px); border-radius: 50%;
  background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: clamp(30px, 3.4vw, 52px); line-height: 1; box-shadow: 0 6px 20px rgba(23, 34, 49, .18);
}
.ph-tagline{ display: block; padding: 0 12px; text-align: center; font-weight: 700; font-size: clamp(22px, 2.9vw, 42px); line-height: 1.4; letter-spacing: .04em; color: #fff; }
.ph-arrow{ display: inline-block; width: 1.1em; height: .7em; margin-right: .35em; vertical-align: .02em; }
.ph-tag{ margin: -6px 0 0; padding: 0 12px; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: #dfe4eb; }
.ph-sep{ margin: 0 1em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .ph-tagline{ background-image: linear-gradient(90deg, #fff 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .ph-tag{ background-image: linear-gradient(90deg, #dfe4eb 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

.ph-cta{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.ph-cta-l{ display: flex; justify-content: flex-end; padding: 0 clamp(10px, 1.6vw, 24px) 0 16px; }
.ph-cta-r{ display: flex; justify-content: flex-start; padding: 0 16px 0 clamp(10px, 1.6vw, 24px); }
.ph-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 clamp(16px, 2vw, 30px); border-radius: 6px; text-align: center;
  font-family: var(--sans); font-weight: 900; font-size: clamp(14px, 1.15vw, 16px); letter-spacing: .03em;
  transition: transform .25s var(--ease), filter .25s;
}
.ph-btn:hover{ transform: translateY(-2px); filter: brightness(1.08); }
.ph-btn-o{ background: var(--orange); color: var(--navy); }
.ph-btn-n{ background: var(--navy); color: #fff; }

.ph-foot{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: end; padding: 0 clamp(16px, 4vw, 120px); }
.ph-foot p{ margin: 0; font-size: 13px; font-weight: 700; line-height: 1.7; }
.ph-foot-l{ color: #dfe4eb; letter-spacing: .06em; }
.ph-foot-r{ text-align: right; color: var(--navy); letter-spacing: .04em; }
.ph-mark{ display: block; font-family: var(--num); font-stretch: 85%; font-weight: 900; font-size: 22px; line-height: 1.3; letter-spacing: .14em; }

/* 数字の帯はオレンジだと最初の画面の右半分とつながるので薄い灰色に */
.b-band{ background: var(--paper-2); color: var(--navy); }
.b-fact-label{ color: var(--ink-soft); }

@media (max-width: 860px){
  .ph-hero{ padding-top: 64px; min-height: 0; }
}
/* スマホ: 左右のまま、2文字ずつ縦に積む（デザインの画面の「案A スマホ 左右に区切る」） */
@media (max-width: 600px){
  .ph-bg-l img{ object-position: 45% 62%; }
  .ph-inner{ gap: 22px; padding: 36px 0 22px; }
  .ph-main, .ph-title{ gap: 22px; }
  .ph-chars{ font-size: clamp(96px, 33vw, 128px); }
  .ph-col{ flex-direction: column; flex-wrap: nowrap; }
  .ph-col-l{ align-items: flex-end; padding-right: 32px; }
  .ph-col-r{ align-items: flex-start; padding-left: 32px; }
  .ph-to{ width: 54px; height: 54px; font-size: 28px; }
  .ph-tagline{ font-size: 21px; line-height: 1.45; letter-spacing: .03em; }
  .ph-tag{ margin-top: -14px; font-size: 12px; letter-spacing: .08em; }
  .ph-sep{ margin: 0 .6em; }
  .ph-cta-l{ padding: 0 10px 0 16px; }
  .ph-cta-r{ padding: 0 16px 0 10px; }
  .ph-btn{ flex: 1 1 auto; min-height: 52px; padding: 0 10px; font-size: 14px; }
  .ph-btn svg, .ph-long{ display: none; }
  .ph-foot{ gap: 12px; padding: 6px 16px 0; }
  .ph-foot p{ font-size: 11px; }
  .ph-mark{ font-size: 15px; line-height: 1.25; letter-spacing: .12em; }
}

/* =========================================================
   スマホ・タブレットでの崩れ直し（2026/10/10 向畑「スマホ・タブレットでの見方もちゃんと確認している？」）
   幅 320〜1180px・9ページを実際に開いて数えた崩れを直した。点検の道具は _dev/mobile-check/
   ========================================================= */
/* iPhone を横向きにしたとき、文字が勝手に大きくなるのを止める */
html{ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 見出しの中で途中で折りたくない言葉のかたまり。入りきらない幅では、かたまりの前で折れる（「預か／る。」のような1文字だけの行を防ぐ） */
.keep{ display: inline-block; }
/* 最後の行が1文字だけにならないように（お知らせの題名など、かたまりを指定できない文。対応しているブラウザだけ効く） */
h1, h2, h3, h4, .nw-title, .faq-q{ text-wrap: pretty; }
/* よくある質問: 1行の質問は真ん中・2行に折れた質問は左寄せ、とそろっていなかった → 折れても真ん中に */
.faq-q{ text-align: center; }

/* 小さいスマホ（iPhone SE など 〜400px）: 社名が「タイヤマネージャ／ー フー」と折れて上の帯が太くなっていた */
@media (max-width: 400px){
  header.nav .row{ gap: 10px; }
  .brand{ font-size: 16px; letter-spacing: .02em; }
  .brand small{ font-size: 10px; letter-spacing: .14em; }
  /* f.o.oパックの「詳しく見る・かんたん見積もり」が紺の枠から右へ飛び出していた（幅 320px） */
  .b-biz-main{ padding: 24px 20px; }
  .b-biz-main .b-btn{ flex: 1 1 100%; padding: 0 14px; }
}
/* 入力欄の文字が 16px より小さいと、iPhone は押した瞬間に画面を拡大して戻さない */
@media (max-width: 860px){
  .contact-form input, .contact-form select, .contact-form textarea, input.fp-text{ font-size: 16px; }  /* input.fp-text: f.o.oパックのページの中の書き方（15px）より強くする */
}
/* 画面の高さが低いと、メニューの下の方が画面の外に出ていた（iPhone SE で「お問い合わせ」、スマホ横向きでは7つのうち下の4つ） */
@media (max-width: 860px) and (max-height: 740px){
  nav ul{ padding-top: 80px; gap: 6px; }
  nav ul a{ padding: 9px 0; }
}
/* 横向きは横幅があるので2列に並べる */
@media (max-width: 860px) and (max-height: 500px){
  nav ul{ display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; justify-content: center; align-content: start; column-gap: 40px; row-gap: 4px; padding: 56px 24px 16px; }
  nav ul li{ max-width: none; }
  nav ul li, nav ul a{ font-size: 17px; }
  nav ul a{ padding: 8px 0; }
}
/* タブレット縦（761〜960px）: 現場の様子の写真が4列で細く、説明が「組み替／え」と折れていた */
@media (min-width: 761px) and (max-width: 960px){
  .genba-item figcaption{ font-size: 12px; padding: 8px 10px; letter-spacing: 0; }
}
/* 小さいスマホ（〜374px）: 最初の画面（パンフレット風）の文字が折れていた（「預けられる会／社へ。」「TIRE MANAGER／F.O.O」「f.o.oパックを見／る」）
   一言は境目で色が切り替わる作りなので、折らずに1行のまま小さくする */
@media (max-width: 374px){
  .ph-tagline{ font-size: clamp(16px, 5.4vw, 21px); letter-spacing: .01em; }
  .ph-tag{ font-size: 11px; letter-spacing: .03em; }
  .ph-sep{ margin: 0 .35em; }
  .ph-cta-l{ padding: 0 6px 0 12px; }
  .ph-cta-r{ padding: 0 12px 0 6px; }
  .ph-btn{ font-size: 13px; padding: 0 6px; letter-spacing: 0; }
  .ph-foot p.ph-foot-l{ font-size: 10px; letter-spacing: 0; }  /* f.o.oパックのページの「タイヤ代・履き替え・出張・」が 320px で4行に折れていた（〜600px の .ph-foot p より強く） */
}
/* 数字の帯（〜374px）: 単位（本＋・台＋）が数字の下に落ち、「サービスカー出動体／制」と折れていた */
@media (max-width: 374px){
  .b-band-row{ gap: 22px 16px; }
  .b-fact-num{ font-size: 40px; }
  .b-fact-num small{ font-size: 15px; margin-left: 2px; }
  .b-fact-label{ font-size: 12px; letter-spacing: 0; }
}

/* =========================================================
   最初の画面の上の白い札（ページの名前）・会社情報のページの最初の画面
   2026/10/10 向畑「会社情報のページの最初の画面も同じデザインにして」
   - .ph-name は f.o.oパックのページの .fp-name（foopack/index.html の中）と同じ見た目
   ========================================================= */
.ph-name{
  align-self: center; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 20px 6px 6px; border-radius: 999px; background: #fff; color: var(--navy);
  font-family: var(--sans); font-weight: 900; font-size: clamp(16px, 1.5vw, 20px); line-height: 1; letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(23, 34, 49, .18);
}
.ph-name img{ width: 40px; height: 40px; border-radius: 10px; }
.co-hero .ph-bg-l img{ object-position: 40% 35%; }   /* 重機タイヤの組み替え（人とタイヤが入る位置） */
/* 最初の画面の下の説明（前の最初の画面の文） */
.co-intro{ background: var(--paper-2); padding: 48px 0 40px; }
.co-intro p{ max-width: 46em; margin: 0; font-size: 16px; line-height: 2; color: var(--ink); }
.co-intro .crumbs{ margin-top: 20px; }
@media (max-width: 600px){
  .co-hero .ph-bg-l img{ object-position: 45% 35%; }
  .co-hero .ph-tagline{ font-size: clamp(15px, 4.9vw, 19px); }   /* トップより1字長いので少し小さく（1行に収める） */
  .ph-name{ font-size: 15px; padding: 5px 16px 5px 5px; }
  .ph-name img{ width: 32px; height: 32px; border-radius: 8px; }
  .co-intro{ padding: 32px 0 28px; }
  .co-intro p{ font-size: 15px; line-height: 1.9; }
}

/* =========================================================
   規約類（プライバシーポリシー・利用規約）の最初の画面＝低い帯
   2026/10/10 向畑「プライバシーポリシーと利用規約も同じデザインにして」→ 3案から「案Cで本番に出して」
   - 写真なし。紺とオレンジの帯の上に、ページの名前を境目をまたいで置く（読みに来る人がすぐ本文に入れるように低く）
   - 文字は要素を画面の幅いっぱいにして 50% で白→紺に切り替える（.ph-tagline と同じやり方）
   ========================================================= */
.lg-hero{ position: relative; overflow: hidden; padding: 72px 0 0; }
.lg-inner{ position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(36px, 4vw, 56px) 12px clamp(32px, 4vw, 52px); text-align: center; }
.lg-en{ margin: 0; font-family: var(--num); font-stretch: 85%; font-weight: 800; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #dfe4eb; }
.lg-title{ margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(28px, 8.4vw, 64px); line-height: 1.3; letter-spacing: .04em; color: #fff; }
.lg-desc{ margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #dfe4eb; }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .lg-title{ background-image: linear-gradient(90deg, #fff 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .lg-en, .lg-desc{ background-image: linear-gradient(90deg, #dfe4eb 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.lg-crumbs{ background: var(--paper-2); padding: 16px 0; }
.lg-crumbs .crumbs{ margin: 0; }
@media (max-width: 860px){ .lg-hero{ padding-top: 64px; } }

/* =========================================================
   お知らせのページの最初の画面（2026/10/10 向畑「お知らせのページも同じデザインにして」）
   - 部品はトップ・f.o.oパック・会社情報と同じ .ph-*・.ph-name。下のパンくずは規約類の .lg-crumbs
   - 左の写真はサービスカーの中（img/car-inside.jpg・1600×1200）
   - お知らせを読みに来る人がすぐ一覧に入れるよう低くした（向畑「2で低くして見せて」）＝ボタンと下の小さな文を外し、
     大きな文字を小さく・スマホでも2文字を縦に積まず横に並べる。スマホ 390px で最初の画面に一覧の1件目が入る高さ
   ========================================================= */
.nw-hero{ min-height: 0; }
.nw-hero .ph-bg-l img{ object-position: 35% 50%; }
.nw-hero .ph-inner{ gap: 0; padding: clamp(28px, 3.2vw, 48px) 0; }
.nw-hero .ph-main, .nw-hero .ph-title{ gap: clamp(12px, 1.4vw, 20px); }
.nw-hero .ph-chars{ font-size: clamp(72px, 8.4vw, 132px); }
.nw-hero .ph-col-l{ padding-right: clamp(40px, 4.4vw, 64px); }
.nw-hero .ph-col-r{ padding-left: clamp(40px, 4.4vw, 64px); }
.nw-hero .ph-to{ width: clamp(48px, 4.6vw, 72px); height: clamp(48px, 4.6vw, 72px); font-size: clamp(24px, 2.4vw, 36px); }
.nw-hero .ph-tagline{ font-size: clamp(18px, 2.2vw, 32px); }
@media (max-width: 600px){
  .nw-hero .ph-bg-l img{ object-position: 28% 50%; }
  .nw-hero .ph-inner{ padding: 24px 0; }
  .nw-hero .ph-main, .nw-hero .ph-title{ gap: 14px; }
  .nw-hero .ph-col{ flex-direction: row; }
  .nw-hero .ph-chars{ font-size: clamp(50px, 16vw, 76px); }
  .nw-hero .ph-col-l{ padding-right: 30px; }
  .nw-hero .ph-col-r{ padding-left: 30px; }
  .nw-hero .ph-to{ width: 42px; height: 42px; font-size: 21px; }
}

/* =========================================================
   トップの「拠点とエリア」欄の見出し＝紺とオレンジの低い帯
   2026/10/11 向畑「拠点のところも今の2色で統一してみたい」→ 3案から「スマホ案1・パソコン案1」
   - 規約類の最初の画面（.lg-*）と同じ作り。文字は要素を画面の幅いっぱいにして 50% で白→紺に切り替える
   - 欄の上の余白は帯が受け持つ（#locations の上の余白は 0）。地図とカードは前のまま
   ========================================================= */
#locations{ padding-top: 0; scroll-margin-top: 64px; }
.ky-band{ position: relative; overflow: hidden; margin-bottom: 56px; }
.ky-band-in{ position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(40px, 5vw, 64px) 12px; text-align: center; }
.ky-en{ margin: 0; font-size: 14px; font-weight: 900; letter-spacing: .2em; color: #dfe4eb; }
.ky-title{ margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(20px, 6.2vw, 52px); line-height: 1.35; color: #fff; }
.ky-sub{ margin: 0; font-size: clamp(12px, 1.2vw, 15px); font-weight: 700; line-height: 1.8; color: #dfe4eb; }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .ky-title{ background-image: linear-gradient(90deg, #fff 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .ky-en, .ky-sub{ background-image: linear-gradient(90deg, #dfe4eb 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (max-width: 860px){ .ky-band{ margin-bottom: 40px; } }

/* =========================================================
   自動ダークで色を塗り替えさせない（2026/10/11 向畑「ダークライトモードでも問題なく見れているかも確認しておいてね」）
   - このHPはダークモード用の色を持っていない。iPhone の Safari はダークモードでもそのまま出すが、
     Android の Chrome など（自動ダーク）は色を勝手に暗くし、紺の上の白い文字（最初の画面の一言・題名の左半分）が暗い字に変わって読めず、
     上の帯の三本線も見えなくなっていた → 各ページの頭の <meta name="color-scheme" content="only light"> と、この決まりで止める
   - ダークモード用の色を作るときは、ここと各ページの meta を外してから作る
   ========================================================= */
:root{ color-scheme: only light; }

/* =========================================================
   統一の続き（2026/10/12 向畑「1〜5はお願いします」）
   ① 各欄の大きな見出しを明朝に ② お問い合わせの欄を左右2色に ③ 理念の欄を2色の帯に ④ 代表メッセージの一言を明朝に
   （⑤ 404 は 404.html の中と .lg-*）
   ========================================================= */
/* ① 見出し（最初の画面と同じ明朝） */
.section-title{ font-family: var(--mincho); font-weight: 900; letter-spacing: .02em; }
/* ④ 代表メッセージの一言（トップの抜粋と会社情報） */
.message-excerpt .lead, .message-lead{ font-family: var(--mincho); font-weight: 900; }
/* ③ 理念＝紺とオレンジの帯。文字は境目で白→紺（.creed-inner は真ん中寄せなので、要素の真ん中＝画面の真ん中） */
.creed{ position: relative; overflow: hidden; background: var(--navy); border: 0; }
.creed-inner{ position: relative; }
.creed-eyebrow{ color: #dfe4eb; }
.creed-text{ font-family: var(--mincho); font-weight: 900; color: #fff; }
.creed-sub{ color: #dfe4eb; }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .creed-text{ background-image: linear-gradient(90deg, #fff 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .creed-eyebrow, .creed-sub{ background-image: linear-gradient(90deg, #dfe4eb 50%, var(--navy) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
/* ② お問い合わせ＝左の紺に見出しとカード・右のオレンジにフォーム */
.contact{ position: relative; overflow: hidden; background: var(--navy); }
.contact > .wrap{ position: relative; }
.contact .section-title{ color: #fff; }
.contact .section-num{ color: #fff; }
.contact .section-num::before{ background: var(--orange); }
.contact .section-sub{ color: var(--on-navy) !important; }
.ct-bg{ display: none; }
@media (min-width: 1100px){
  .ct-bg{ display: block; }
  .contact > .wrap{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; align-items: start; grid-template-areas: "head form" "cards form"; }
  .contact .section-head{ grid-area: head; }
  .contact .contact-grid{ grid-area: cards; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
  .contact .contact-form{ grid-area: form; margin: 0; max-width: none; }
}
@media (max-width: 1099px){
  /* 狭い画面: フォームのまわりだけオレンジ（白いフォームの外側をオレンジで画面の端と欄の下まで塗る） */
  .contact .contact-form{ box-shadow: 0 0 0 100vmax var(--orange); clip-path: inset(-36px -100vmax -100vmax -100vmax); }
}

/* 写真を WebP で出すために <img> を <picture> で包んだ（2026/10/14）。包みが無いときと並びを1pxも変えない */
picture{ display: contents; }

/* ---------- スマホの下の問い合わせの帯（2026/10/14・動きは script.js の最後） ----------
   スマホの縦向きだけ。電話＝オレンジ（いちばん目立たせる）・フォームと LINE＝白い線。紺の帯の上 */
.sp-cta{ display: none; }
@media (max-width: 900px) and (min-height: 500px){
  .sp-cta{
    display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--navy); box-shadow: 0 -6px 20px rgba(13,31,60,.25);
    transform: translateY(110%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .sp-cta.show{ transform: none; visibility: visible; transition: transform .25s ease; }
  .sp-cta a{
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 48px; padding: 0 6px; border-radius: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap;
    color: #fff; border: 1.5px solid rgba(255,255,255,.7); text-decoration: none;
  }
  .sp-cta a svg{ flex-shrink: 0; }
  .sp-cta .sp-cta-tel{ background: var(--orange); border-color: var(--orange); color: var(--navy); font-weight: 900; }
  .sp-cta a:active{ filter: brightness(.92); }
}
@media (max-width: 900px) and (min-height: 500px) and (prefers-reduced-motion: reduce){
  .sp-cta, .sp-cta.show{ transition: none; }
}

/* ---------- スマホの読みやすさ・押しやすさ（2026/10/14 向畑「全部お願い」） ----------
   ① 12px 未満だった「読む文字」を 12px 以上に（飾りの英字・グラフの目盛り・SAMPLE/NEW の札はそのまま）
   ② 押す所を高さ 44px 以上に。見た目と位置は変えない＝リンクの裏に見えない押し板（::before）を敷く
   ③ 灰色の地のオレンジの文字を #a95309 に（--accent #b75a0b は灰色の地 #f2f3f5 で 4.2:1 → 4.8:1。白地でも 5.4:1） */
:root{ --accent-on-gray: #a95309; }
/* ① */
.company-table th{ font-size: 12px; letter-spacing: .08em; }
.message-block h4{ font-size: 13px; letter-spacing: .2em; }
.history-row .year small{ font-size: 11px; }
.used-card .meta{ font-size: 12px; }
.used-card .price small{ font-size: 11px; }
.crumbs{ font-size: 12px; letter-spacing: .12em; }
.nw-cat{ font-size: 12px; }
.contact-card h5{ font-size: 12px; }
footer a[href="/privacy/"], footer a[href="/terms/"]{ font-size: 12px; }
.map-pin .pin-label{ font-size: 12px; }
@media (max-width: 760px){
  .company-table th{ font-size: 12px; }
  .used-card .meta{ font-size: 12px; gap: 4px 10px; }
  .map-pin .pin-label{ font-size: 11px; padding: 3px 8px; }
  /* 本社の札は、ピンの左に出すと狭い画面で地図の左端で切れる（10/3 に 9px にした理由）→ ピンの真上に出す */
  .map-pin.pin-honsha .pin-label{ right: auto; left: 50%; transform: translateX(-50%); }
}
/* ② */
.loc-map, .news-preview-more a, .contact-card .big a, footer a[href="/privacy/"], footer a[href="/terms/"], footer .sns-link, .crumbs a, .back-link, .nw-others-head a{ position: relative; }
.loc-map::before, .news-preview-more a::before, .contact-card .big a::before, footer a[href="/privacy/"]::before, footer a[href="/terms/"]::before, footer .sns-link::before, .crumbs a::before, .back-link::before, .nw-others-head a::before{
  content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%);
}
/* フッター: プライバシーポリシーの押し板が、すぐ下の Instagram の押し板と重なっていた → Instagram を10px下げる */
footer .sns-link{ margin-top: 10px; }
/* ③ */
.b-loc-kicker, .used-card .price, .history-row .year{ color: var(--accent-on-gray); }
