/* =========================================================
   デザイントークン (全ページ共通)
   ========================================================= */
:root{
  --ink:        #111111;
  --ink-soft:   #4a4a4a;
  --ink-mute:   #8a8a8a;
  --paper:      #f5f3ee;
  --paper-2:    #ecebe5;
  --line:       #d8d5cd;
  --accent:     #c94e00;
  --accent-deep:#7a2e00;
  --serif: 'Shippori Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --sans:  'Noto Sans JP', 'Inter', -apple-system, system-ui, sans-serif;
  --ease:  cubic-bezier(.2,.7,.2,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body{
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-thumb{ background:#bbb; border-radius:4px; }
::-webkit-scrollbar-thumb:hover{ background:#888; }

.wrap{ width:min(1180px, 92vw); margin-inline:auto; }

/* =========================================================
   ヘッダー (Sticky Shrink)
   ========================================================= */
header.nav{
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .35s var(--ease),
              background .35s var(--ease),
              backdrop-filter .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
header.nav.scrolled,
header.nav.solid{
  padding: 12px 0;
  background: rgba(245,243,238,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
header.nav .row{
  display:flex; align-items:center; justify-content:space-between;
}
.brand{
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
}
.brand small{
  display:block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: .15em;
  margin-top: 2px;
}
nav ul{ list-style:none; display:flex; gap:32px; }
nav a{
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  position: relative; padding: 4px 0;
}
nav a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:100%; height:1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
nav a:hover::after,
nav a.active::after{ transform: scaleX(1); transform-origin: left; }

/* ハンバーガーボタン (スマホのみ表示) */
.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 110;
  padding: 0;
}
.nav-toggle span{
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.nav-toggle span:nth-child(1){ top: 13px; }
.nav-toggle span:nth-child(2){ top: 19px; }
.nav-toggle span:nth-child(3){ top: 25px; }
body.nav-open .nav-toggle span:nth-child(1){ top: 19px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){ top: 19px; transform: rotate(-45deg); }

/* =========================================================
   ヒーロー (TOP用)
   ========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: center; /* flex-columnで子の.wrapがフル幅にストレッチするのを防ぎ、左インセットを維持 */
  padding: 120px 0 0;
  overflow: hidden;
}
/* 写真なし: 和紙ベージュのグラデ + ほのかなオレンジの光。off-brandなAI画像(旧 img3.png)は撤去 */
.hero-bg{
  position: absolute; inset: -10% 0;
  background:
    radial-gradient(1100px 620px at 74% 26%, rgba(201,78,0,.12), transparent 60%),
    radial-gradient(820px 520px at 8% 96%, rgba(122,46,0,.06), transparent 55%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 52%, var(--paper-2) 100%);
  will-change: transform;
  z-index: 0;
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .25;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  z-index: 0;
}
.hero-inner{ position:relative; z-index:2; } /* width:100%は外す → .wrap(1180px・中央寄せ)を活かして左インセットを揃える */

/* ヒーロー下端 ファクトバー (写真なしHeroに「数字の信頼感」を与える) */
.hero-facts{
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, auto);
  justify-content: start; align-items: end;
  column-gap: 64px; row-gap: 24px;
  margin-top: 56px; padding: 30px 0 40px;
  border-top: 1px solid var(--line);
}
.hf{ display: flex; flex-direction: column; gap: 8px; }
.hf-num{
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 3vw, 40px); line-height: 1;
  color: var(--ink); letter-spacing: .01em;
}
.hf-num small{ font-size: 14px; font-weight: 600; color: var(--accent-deep); margin-left: 3px; letter-spacing: 0; }
.hf-label{ font-size: 11px; letter-spacing: .12em; color: var(--ink-mute); }
@media(max-width: 760px){
  .hero-facts{ grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 22px; margin-top: 40px; padding-bottom: 36px; }
}

/* =========================================================
   サブページ用 コンパクトヒーロー
   ========================================================= */
.subhero{
  position: relative;
  padding: 150px 0 70px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.subhero .eyebrow{ margin-bottom: 20px; }
.subhero h1{
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.subhero p{
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}
.crumbs{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .2em; color: var(--ink-mute);
  margin-top: 40px;
}
.crumbs a{ color: var(--ink-mute); }
.crumbs a:hover{ color: var(--ink); }
.crumbs .sep{ opacity: .5; }

/* =========================================================
   ヒーロー要素
   ========================================================= */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 11px; letter-spacing: .25em;
  color: var(--accent);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.eyebrow::before{
  content:""; width:28px; height:1px; background: var(--accent);
}

h1.headline{
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: 32px;
}
.headline .word{
  display:inline-block; overflow:hidden; vertical-align: top;
}
.headline .word > span{
  display:inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.headline.in .word > span{ transform: translateY(0); }
.headline.in .word:nth-child(1) > span{ transition-delay:.05s; }
.headline.in .word:nth-child(2) > span{ transition-delay:.15s; }
.headline.in .word:nth-child(3) > span{ transition-delay:.25s; }
.headline.in .word:nth-child(4) > span{ transition-delay:.35s; }
.headline.in .word:nth-child(5) > span{ transition-delay:.45s; }

.lede{
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 48px;
}

.cta{
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px; letter-spacing: .12em;
  border-radius: 999px;
  overflow: hidden; position: relative;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.cta:hover{ background: var(--accent-deep); transform: translateY(-2px); }
.cta .arrow{
  display:inline-block; width: 18px; height: 1px; background: currentColor;
  position: relative; transition: width .4s var(--ease);
}
.cta .arrow::after{
  content:""; position:absolute; right:-1px; top:-3px;
  width:7px; height:7px;
  border-top:1px solid currentColor; border-right:1px solid currentColor;
  transform: rotate(45deg);
}
.cta:hover .arrow{ width: 32px; }

/* =========================================================
   セクション共通
   ========================================================= */
section{ padding: 90px 0; position: relative; }
.section-head{ margin-bottom: 48px; }
.section-num{
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .3em; color: var(--accent);
  margin-bottom: 16px;
}
.section-title{
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3; font-weight: 700;
  max-width: 720px;
}
.section-sub{
  margin-top: 20px; color: var(--ink-soft); max-width: 620px;
}

.reveal{
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{ opacity:0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.18s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.31s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.44s; }

/* =========================================================
   事業 (SERVICE 01-04 縦並び)
   ========================================================= */
.pillars{ background: var(--paper); }
.service-list{
  border-top: 1px solid var(--line);
}
.service-item{
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 36px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.service-item:hover{ padding-left: 16px; }
.service-item .snum{
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .25em;
  color: var(--accent);
  padding-top: 8px;
}
.service-item .snum::after{
  content: ""; display: inline-block;
  width: 60px; height: 1px; background: var(--accent);
  vertical-align: middle; margin-left: 12px;
}
.service-item h3{
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}
.service-item p{
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
  max-width: 560px;
}
.service-item .more{
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 24px;
  font-size: 12px; letter-spacing: .15em;
  color: var(--ink);
}
.service-item .more .arr{
  width: 22px; height: 1px; background: var(--ink);
  transition: width .4s var(--ease);
}
.service-item:hover .more .arr{ width: 40px; }
.service-item .stag{
  font-size: 10px; letter-spacing: .3em;
  color: var(--ink-mute);
  padding-top: 12px;
  text-align: right;
}
@media(max-width: 760px){
  .service-item{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }
  .service-item .stag{ text-align: left; padding-top: 0; }
}

/* =========================================================
   FEATURES (フーの強み)
   ========================================================= */
.features{ background: var(--paper-2); }
.features-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 40px;
}
.feature-card{
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 28px 36px;
  position: relative;
  transition: background .4s var(--ease);
}
.feature-card:hover{ background: #fff; }
.feature-card .fnum{
  font-family: var(--serif);
  font-size: 12px; letter-spacing: .25em;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-card h4{
  font-family: var(--serif);
  font-size: 20px; font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}
.feature-card p{
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}
@media(max-width: 860px){
  .features-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Clip-path Reveal
   ========================================================= */
/* 理念バンド (旧 大判ビジュアル・写真なし)。off-brandなAI画像(旧 img2.png)とPHOTO PLACEHOLDERを撤去 */
.creed{
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.creed-inner{ max-width: 840px; margin-inline: auto; }
.creed-eyebrow{
  font-size: 11px; letter-spacing: .3em; color: var(--accent);
  margin-bottom: 28px; text-transform: uppercase;
}
.creed-text{
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 52px); line-height: 1.45; letter-spacing: .02em;
  color: var(--ink);
}
.creed-sub{
  margin-top: 30px; color: var(--ink-soft);
  font-size: 15px; line-height: 1.95;
}

/* =========================================================
   実績 (Count-up)
   ========================================================= */
.stats{
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}
.stats .section-title{ color: var(--paper); }
.stats .section-num{ color: #f5a05a; }
.stats-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 40px;
  margin-top: 40px;
}
.stat{ border-top: 1px solid #333; padding-top: 28px; }
.stat .num{
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat .num .unit{
  font-size: .35em; color: #999; margin-left: 6px;
  letter-spacing: .1em;
}
.stat .label{
  margin-top: 16px;
  font-size: 12px; letter-spacing: .2em; color: #aaa;
}

/* =========================================================
   メーカー (Marquee)
   ========================================================= */
.makers{ background: var(--paper-2); padding: 60px 0; overflow:hidden; }
.marquee{
  display: flex; gap: 0;   /* 間隔は各ロゴの右の余白で取る(gapだと -50% が間隔の半分ずれて切れ目で跳ねる) */
  width: max-content;
  animation: marquee 50s linear infinite;   /* ロゴ4組(2026/10/2)。流れる速さは前とほぼ同じ */
  margin-top: 40px;
}
.marquee:hover{ animation-play-state: paused; }
@keyframes marquee{
  to{ transform: translateX(-50%); }
}
.maker{
  display: flex; align-items: center; justify-content: center;
  height: 48px;
  white-space: nowrap;
}
.maker img{
  height: 100%; width: auto; max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%) brightness(.3);
  opacity: .55;
  transition: opacity .3s, filter .3s;
}
.maker:hover img{
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* =========================================================
   拠点
   ========================================================= */
.locations-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
.loc{
  border: 1px solid var(--line);
  padding: 32px 28px;
  background: var(--paper);
  transition: transform .5s var(--ease), border-color .5s var(--ease);
  position: relative; overflow: hidden;
  color: #fff;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 12px;
}
.loc::before{
  content:""; position:absolute; inset:0;
  background-size: cover; background-position: center;
  z-index: 0;
  transition: transform 1.2s var(--ease);
}
.loc::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.92) 70%);
  z-index: 1;
}
.loc:hover{ transform: translateY(-6px); border-color: var(--ink); }
.loc:hover::before{ transform: scale(1.06); }
.loc > *{ position: relative; z-index: 2; }
/* CORE24のAI写真(旧 img6/7/8)を撤去し、ブランドの暖かいダークグラデに。白文字前提のダークカードは維持し、カードごとに光の位置を変える */
.loc-1::before{ background: radial-gradient(110% 90% at 18% 0%, rgba(201,78,0,.16), transparent 55%), linear-gradient(155deg, #241d19 0%, #130e0b 62%, #0b0807 100%); }
.loc-2::before{ background: radial-gradient(110% 90% at 82% 6%, rgba(201,78,0,.13), transparent 55%), linear-gradient(155deg, #201c1f 0%, #120f12 62%, #0a0809 100%); }
.loc-3::before{ background: radial-gradient(110% 90% at 50% 0%, rgba(201,78,0,.15), transparent 58%), linear-gradient(155deg, #251d18 0%, #140f0b 62%, #0b0806 100%); }
.loc .badge{
  font-size: 10px; letter-spacing: .3em;
  color: #f5cca0; margin-bottom: 16px;
}
.loc h4{
  font-family: var(--serif);
  font-size: 24px; margin-bottom: 12px;
  color: #fff;
}
.loc p{ font-size: 13px; color: #ddd; }
.loc .loc-map{ color: #ffd9a0; border-color: #ffd9a0; }
.loc .loc-map:hover{ color: #fff; border-color: #fff; }

/* =========================================================
   代表メッセージ
   ========================================================= */
.message{ background: var(--paper); }
.message-inner{
  max-width: 760px;
  margin-inline: auto;
}
.message-lead{
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.45;
  font-weight: 700;
  margin: 24px 0 32px;
}
.message-lead em{
  font-style: normal;
  color: var(--accent);
}
.message-sign{
  font-size: 13px; letter-spacing: .15em;
  color: var(--ink-soft);
  text-align: right;
  padding-right: 8px;
}
.message-sign strong{ font-weight: 500; color: var(--ink); }
.message-block{
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.message-block:last-child{ border-bottom: 1px solid var(--line); }
.message-block h4{
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.message-block p{
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 18px;
}
.message-block p:last-child{ margin-bottom: 0; }
.message-block .small{
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.loc-map{
  display:inline-block; margin-top:20px;
  font-size: 11px; letter-spacing:.15em;
  color: var(--accent); border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.loc-map:hover{ color: var(--ink); border-color: var(--ink); }

/* =========================================================
   お知らせ最新3件 (TOP)
   ========================================================= */
.news-preview{ background: var(--paper); }
.news-preview-list{
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.news-preview-row{
  display: grid;
  grid-template-columns: 120px 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), background .4s var(--ease);
}
.news-preview-row:hover{ padding-left: 12px; background: rgba(201,78,0,.03); }
.news-preview-row .date{
  font-family: var(--serif); font-size: 13px;
  letter-spacing: .1em; color: var(--ink-soft);
}
.news-preview-row .cat{
  font-size: 10px; letter-spacing: .2em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px; border-radius: 3px;
  text-align: center;
}
.news-preview-row h3{
  font-family: var(--serif);
  font-size: 16px; font-weight: 500;
  line-height: 1.5;
}
.news-preview-row .arr{
  font-family: var(--serif);
  color: var(--ink-mute);
  transition: color .3s, transform .3s var(--ease);
}
.news-preview-row:hover .arr{ color: var(--accent); transform: translateX(4px); }
.news-preview-more{
  margin-top: 32px; text-align: right;
}
.news-preview-more a{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .15em;
}
.news-preview-more a::after{
  content: ""; width: 22px; height: 1px; background: var(--ink);
  transition: width .4s var(--ease);
}
.news-preview-more a:hover::after{ width: 40px; }
.news-preview-empty{ padding: 60px 0; text-align: center; color: var(--ink-mute); font-size: 13px; }
@media(max-width:760px){
  .news-preview-row{ grid-template-columns: 80px 1fr; gap: 12px; row-gap: 6px; }
  .news-preview-row .cat{ grid-column: 2; justify-self: start; padding: 2px 8px; font-size: 9px; }
  .news-preview-row h3{ grid-column: 1/-1; font-size: 14px; }
  .news-preview-row .arr{ display: none; }
}

/* =========================================================
   中古タイヤ (ヤフオク連動)
   ========================================================= */
.used-tire{ background: var(--paper); }
.used-tire-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media(max-width: 1024px){ .used-tire-grid{ grid-template-columns: repeat(3, 1fr); } }
/* スマホは常に2列 (1列だと縦に長くなりすぎる) */
@media(max-width: 760px){ .used-tire-grid{ grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.used-card{
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.used-card:hover{
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.used-card .thumb{
  width: 100%; aspect-ratio: 1/1;
  background: #fff;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.used-card .thumb img{
  width: 100%; height: 100%;
  object-fit: contain;  /* 画像内ラベルを切らずに全体表示 */
  display: block;
}
.used-card .thumb.empty{
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-size: 11px; letter-spacing: .15em;
}
.used-card .info{ padding: 14px 16px 16px; }
.used-card .maker{
  /* display:flex/height:48px は汎用 .maker(ロゴ流し用)からの継承。block/autoで打ち消す */
  display: block; height: auto; white-space: normal;
  font-size: 13px; line-height: 1.35; font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-soft); margin-bottom: 6px;
}
.used-card h4{
  font-family: var(--serif);
  font-size: 15px; line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.used-card .meta{
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  font-size: 11px; color: var(--ink-soft);
  margin-bottom: 10px;
}
.used-card .meta span{ display: inline-flex; align-items: center; gap: 4px; }
.used-card .price{
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: var(--accent);
  letter-spacing: .02em;
}
.used-card .price small{
  font-size: 10px; font-weight: 400; color: var(--ink-mute);
  letter-spacing: .1em; margin-left: 4px;
}
.used-tire-more{
  margin-top: 32px; text-align: center;
}
.used-tire-more a{
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  font-size: 13px; letter-spacing: .12em;
  transition: background .3s, color .3s;
}
.used-tire-more a:hover{ background: var(--ink); color: var(--paper); }
.used-tire-more a::after{ content: ""; display: inline-block; width: .9em; height: .9em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; }  /* 文字の矢印は iPhone で絵文字に化ける（2026/10/8）→ 線の矢印 */
.used-tire-empty{ padding: 60px 0; text-align: center; color: var(--ink-mute); font-size: 13px; }
@media(max-width: 760px){
  .used-card .info{ padding: 10px 12px 12px; }
  .used-card h4{ font-size: 13px; }
  .used-card .meta{ font-size: 10px; gap: 4px 8px; margin-bottom: 8px; }
  .used-card .price{ font-size: 16px; }
  .used-card .maker{ font-size: 12px; margin-bottom: 5px; }
}

/* =========================================================
   FAQ アコーディオン
   ========================================================= */
.faq{ background: var(--paper); }
.faq-list{
  border-top: 1px solid var(--line);
  margin-top: 40px;
  max-width: 920px; margin-inline: auto;
}
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-q{
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 8px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  transition: padding .3s var(--ease);
  list-style: none;
}
.faq-q::-webkit-details-marker{ display: none; }
.faq-q::before{
  content: "Q.";
  color: var(--accent); font-weight: 700; flex-shrink: 0;
}
.faq-q .icon{
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform .35s var(--ease);
}
.faq-q .icon::before, .faq-q .icon::after{
  content: ""; position: absolute;
  left: 0; top: 50%; width: 100%; height: 1px;
  background: var(--ink); transform-origin: center;
}
.faq-q .icon::after{ transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-item[open] .faq-q .icon::after{ transform: rotate(0); }
.faq-a{
  padding: 0 8px 28px 36px;
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.9;
}
.faq-a p{ margin-bottom: 12px; }
.faq-a p:last-child{ margin-bottom: 0; }
.faq-a a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }   /* 答えの中のリンク（2026/10/31 f.o.oパックのページへ） */
.faq-item:hover .faq-q{ padding-left: 16px; }
.faq-item:hover .faq-q::before{ color: var(--accent-deep); }

/* =========================================================
   サービスエリア (地図)
   ========================================================= */
.servicearea{ background: var(--paper-2); }
.servicearea-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 40px; align-items: center;
}
@media(max-width: 860px){
  .servicearea-grid{ grid-template-columns: 1fr; gap: 24px; }
}
.servicearea-img{
  width: 100%; aspect-ratio: 1448/1086;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background-image: url('/img/service-area.png');
  background-image: image-set(url('/img/service-area.webp') type('image/webp'), url('/img/service-area.png') type('image/png'));   /* 2026/10/14 軽い WebP。地図を描き直したら WebP も作り直す（ffmpeg -i service-area.png -c:v libwebp -quality 85 service-area.webp） */
  background-size: cover; background-position: center;
}
/* 地図上のピン (CSSで正確な位置に配置) */
.map-pin{
  position: absolute;
  /* (left, top) はピンの先端 (location point) の位置 */
  width: 0; height: 0;
  z-index: 2;
}
.map-pin svg{
  position: absolute;
  width: 26px; height: 32px;
  left: -13px; bottom: 0;
  color: var(--accent);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.map-pin .pin-label{
  position: absolute;
  bottom: 4px;
  left: 18px;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  line-height: 1.3;
}
.map-pin .pin-label small{
  display: block;
  font-size: 8px;
  font-weight: 400;
  color: #888;
  letter-spacing: .05em;
  margin-top: 1px;
}
/* 位置調整 */
/* 地図を実際の境界線で描き直した（2026/10/3・_dev/service-area-map/render.mjs）。位置は住所の緯度経度から計算した値 */
.map-pin.pin-honsha{ left: 33.5%; top: 56.6%; }   /* 本社 佐伯区千同 */
.map-pin.pin-shiwa{ left: 48.7%; top: 49.8%; }    /* 志和倉庫 東広島市志和町 */
/* ラベル: 両方ともピンの上 (呉市を避ける、上側=県境/島根の空きエリア) */
.map-pin.pin-honsha .pin-label{ bottom: 38px; right: 18px; left: auto; }  /* 本社=上左 (廿日市方面でなく海) */
.map-pin.pin-shiwa .pin-label{ bottom: 38px; left: 18px; }                /* 志和=上右 (県境方面) */

@media (max-width: 760px){
  .map-pin svg{ width: 20px; height: 26px; left: -10px; }
  .map-pin .pin-label{ font-size: 9px; padding: 3px 7px; }
  .map-pin .pin-label small{ display: none; }   /* 英語の行を省く（本社の札が地図の左端で切れていた・2026/10/3） */
}
.servicearea-text h3{
  font-family: var(--serif);
  font-size: 22px; font-weight: 700;
  margin-bottom: 16px;
}
.servicearea-text p{
  color: var(--ink-soft);
  font-size: 14px; line-height: 1.85;
  margin-bottom: 14px;
}
.servicearea-list{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px;
  margin-top: 20px;
}
.servicearea-list span{
  font-size: 13px; color: var(--ink-soft);
  padding-left: 14px; position: relative;
}
.servicearea-list span::before{
  content: ""; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  transform: translateY(-50%);
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contact-form{
  margin-top: 64px;
  max-width: 720px; margin-inline: auto;
  background: rgba(255,255,255,.05);
  padding: 36px 32px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
}
.contact-form h3{
  font-family: var(--serif);
  font-size: 20px; font-weight: 700;
  color: var(--paper); margin-bottom: 24px;
  text-align: center;
}
.contact-form .form-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-form .form-grid .full{ grid-column: 1/-1; }
@media(max-width: 600px){
  .contact-form .form-grid{ grid-template-columns: 1fr; }
}
.contact-form label{
  display: block; font-size: 13px; letter-spacing: .06em; font-weight: 700;
  color: #aaa; margin-bottom: 6px;
}
.contact-form label .req{ color: #ff8a3a; margin-left: 4px; }
.contact-form input, .contact-form textarea, .contact-form select{
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid #333;
  border-radius: 6px;
  color: var(--paper);
  font-family: inherit; font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none; border-color: var(--accent); background: rgba(255,255,255,.08);
}
.contact-form textarea{ min-height: 140px; resize: vertical; }
.contact-form .submit-row{
  margin-top: 24px; text-align: center;
}
.contact-form button[type=submit]{
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  letter-spacing: .1em; cursor: pointer;
  transition: background .3s, transform .3s var(--ease);
}
.contact-form button[type=submit]:hover{
  background: var(--accent-deep); transform: translateY(-2px);
}
.contact-form button[type=submit]:disabled{
  opacity: .5; cursor: wait;
}
.contact-form .form-status{
  margin-top: 16px; padding: 12px; text-align: center;
  border-radius: 6px; font-size: 13px;
  display: none;
}
.contact-form .form-status.success{
  display: block; background: rgba(76,175,80,.15); color: #a8e0ab; border: 1px solid #4caf50;
}
.contact-form .form-status.error{
  display: block; background: rgba(244,67,54,.15); color: #ffaeae; border: 1px solid #f44336;
}

/* =========================================================
   メッセージ抜粋 (TOPに置く短縮版)
   ========================================================= */
.message-excerpt{
  background: var(--paper);
}
.message-excerpt .inner{
  max-width: 760px; margin-inline: auto;
  text-align: center;
}
.message-excerpt .lead{
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 32px;
}
.message-excerpt .lead em{
  font-style: normal; color: var(--accent);
}
.message-excerpt .sign{
  font-size: 13px; letter-spacing: .15em; color: var(--ink-soft);
  margin-bottom: 48px;
}
.message-excerpt .sign strong{ font-weight: 500; color: var(--ink); }
.message-excerpt .more-link{
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  font-size: 13px; letter-spacing: .12em;
  transition: background .35s, color .35s;
}
.message-excerpt .more-link:hover{ background: var(--ink); color: var(--paper); }

/* =========================================================
   沿革 (History Timeline)
   ========================================================= */
.history-list{
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.history-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.history-row .year{
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
}
.history-row .year small{
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: .15em;
  margin-top: 3px;
  font-weight: 400;
}
.history-row h4{
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.history-row p{
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
@media(max-width: 760px){
  .history-row{
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
  .history-row .year{
    font-size: 16px;
    display: flex; align-items: baseline; gap: 8px;
  }
  .history-row .year small{ margin-top: 0; }
  .history-row h4{ font-size: 15px; }
  .history-row p{ font-size: 12.5px; }
}

/* =========================================================
   会社情報 テーブル
   ========================================================= */
.company{ background: var(--paper); }
.company-table{
  width: 100%; border-collapse: collapse; margin-top: 40px;
  border-top: 1px solid var(--line);
}
.company-table tr{ border-bottom: 1px solid var(--line); }
.company-table th{
  text-align: left; padding: 14px 20px 14px 0;
  font-weight: 500; font-size: 11px; letter-spacing: .15em;
  color: var(--ink-mute); width: 180px; vertical-align: top;
}
.company-table td{
  padding: 14px 0; font-size: 14px; line-height: 1.6;
}
@media(max-width: 760px){
  .company-table th{
    display: block; padding: 12px 0 4px;
    width: auto; font-size: 10px;
  }
  .company-table td{
    display: block; padding: 0 0 12px; font-size: 13px;
  }
  .company-table tr{ display: block; padding: 4px 0; }
}

/* =========================================================
   採用
   ========================================================= */
.recruit{
  /* 旧 img4.png(ほぼ不可視のAI画像)を撤去。和紙ベージュ+ほのかなアクセント光のみ */
  background:
    radial-gradient(1000px 520px at 50% 0%, rgba(201,78,0,.06), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  text-align: center;
  position: relative;
}
.recruit .section-title{ margin-inline: auto; }
.recruit .external{
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 40px;
  border: 1px solid var(--ink);
  padding: 18px 32px;
  font-size: 13px; letter-spacing: .12em;
  transition: background .35s, color .35s;
}
.recruit .external:hover{ background: var(--ink); color: var(--paper); }
.recruit .external::after{
  content: ""; display: inline-block; width: .9em; height: .9em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;  /* 文字の矢印は iPhone で絵文字に化ける（2026/10/8） */
}

/* =========================================================
   問い合わせ
   ========================================================= */
.contact{
  /* 旧 img5.png(ほぼ不可視のAI画像)を撤去。ダーク+ほのかなアクセント光でbrandの締め */
  background:
    radial-gradient(900px 520px at 80% 0%, rgba(201,78,0,.14), transparent 55%),
    linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  color: var(--paper);
}
.contact .section-title{ color: var(--paper); }
.contact .section-num{ color: #f5a05a; }
.contact-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  margin-top: 40px;
}
@media(min-width: 1100px){
  .contact-grid{ grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.contact-card{
  border-top: 1px solid #333;
  padding-top: 28px;
}
.contact-card h5{
  font-size: 11px; letter-spacing: .3em; color: #888; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.contact-card h5 svg{ flex-shrink: 0; }
.contact-card .big{
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px);
  word-break: break-all;
}
.contact-card a:hover{ color: #ffa550; }
.contact-card .cta-line{
  display: inline-flex; align-items: center; gap: 10px;
  background: #06c755;
  color: #fff; padding: 12px 22px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
  margin-top: 4px; transition: background .3s, transform .3s;
}
.contact-card .cta-line:hover{ background: #04a847; transform: translateY(-2px); color: #fff; }
.contact-card .cta-insta{
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff; padding: 12px 22px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
  margin-top: 4px; transition: transform .3s, filter .3s;
}
.contact-card .cta-insta:hover{ transform: translateY(-2px); filter: brightness(1.1); color: #fff; }

/* =========================================================
   フッター
   ========================================================= */
footer{
  background: #0a0a0a; color: #888;
  padding: 60px 0 40px; font-size: 12px;
}
footer .row{ display:flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .brand-f{ color: var(--paper); font-family: var(--serif); font-size: 16px; }
footer .sns-link{
  display: inline-flex; align-items: center;
  color: #aaa;
  transition: color .3s;
}
footer .sns-link:hover{ color: var(--paper); }

/* =========================================================
   レスポンシブ
   ========================================================= */
/* タブレット (769px - 1024px) — ノートPC・iPad 横向き等 */
@media (max-width: 1024px){
  section{ padding: 80px 0; }
  .section-head{ margin-bottom: 40px; }
  .wrap{ width: 94vw; }
}

/* スマホ・小型タブレット (〜860px) */
@media (max-width: 860px){
  section{ padding: 64px 0; }
  .section-head{ margin-bottom: 32px; }
  .subhero{ padding: 110px 0 50px; }
  .nav-toggle{ display: block; }
  nav ul{
    position: fixed; inset: 0;
    /* 完全不透明 (透過させない) */
    background-color: #f5f3ee !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    justify-content: flex-start;   /* 上から表示 (中央寄せだと見切れる) */
    align-items: center;
    gap: 28px;
    padding: 100px 24px 60px;       /* 上は閉じるボタン分、下は余白 */
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
    z-index: 105;
    /* メニュー多い時はスクロールできるように */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* 上に薄いボーダーで境界を明確に */
    border-top: 1px solid var(--line);
  }
  nav ul li{ font-size: 20px; width: 100%; max-width: 320px; text-align: center; }
  nav ul a{
    display: block;
    font-size: 20px; letter-spacing: .08em;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  nav ul a::after{ display: none; }  /* スマホでは下線アニメ非表示 (項目下の罫線で代用) */
  body.nav-open nav ul{ opacity: 1; visibility: visible; }
  body.nav-open{ overflow: hidden; }
  /* ハンバーガーボタンが背景と重なっても見えるよう、開いてる時は z-index 上げる */
  body.nav-open .nav-toggle{ z-index: 120; }
  /* メニューを開いている間は上の帯のぼかし(backdrop-filter)を外す。外さないと、画面いっぱいのはずのメニューが
     帯の高さの中に閉じ込められ、項目が1つしか見えない（下層ページ＝帯が solid のとき・トップでもスクロール後。2026/10/3 f.o.oパックのページで発見） */
  body.nav-open header.nav{ backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

  .locations-grid, .stats-grid, .contact-grid{ grid-template-columns: 1fr; }
  section{ padding: 90px 0; }
  .subhero{ padding: 140px 0 80px; }
}

/* =========================================================
   グリッド段階レスポンシブ (タブレット最適化 2026/6/2)
   PC=多列 → タブレット横=2〜3列 → タブレット縦/大型スマホ横=2列 → スマホ=1列
   以前は 860px で 4列/3列 → 1列に急落し、iPad縦で「引き伸ばした
   スマホ表示」になって崩れて見えていた。中間に2列ティアを足して滑らかに。
   ※ ソース順で上の各@mediaを上書きするため、必ずこのブロックを後に置く。
   ========================================================= */
/* タブレット横〜小型ノート (〜1200px): 4列は窮屈なので stats を2列に */
@media (max-width: 1200px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
}
/* 〜1099px: 問い合わせカードを2列に (1100px以上は4列のまま) */
@media (max-width: 1099px){
  .contact-grid{ grid-template-columns: repeat(2, 1fr); }
}
/* タブレット縦・大型スマホ横 (〜960px): 強み/拠点を2列に */
@media (max-width: 960px){
  .features-grid{ grid-template-columns: repeat(2, 1fr); }
  .locations-grid{ grid-template-columns: repeat(2, 1fr); }
  /* 拠点は3枚 → 2列だと3枚目が1枚余るので全幅バナーにして収まりを良くする */
  .locations-grid .loc:last-child:nth-child(odd){ grid-column: 1 / -1; min-height: 240px; }
}
/* スマホ (〜600px): すべて1列 (従来の見え方を維持) */
@media (max-width: 600px){
  .features-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr; gap: 28px; }
  .locations-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .locations-grid .loc:last-child:nth-child(odd){ min-height: 340px; }
}

/* =========================================================
   prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html{ scroll-behavior: auto; }
}

/* =========================================================
   写真（2026/10/2 サンプル画像を仮置き。撮影したら img/sample/ を差し替える）
   ========================================================= */
/* 現場の様子 */
.genba{ background: var(--paper-2); }
.genba-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.genba-item{ margin: 0; }
.genba-item img{ display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.genba-item figcaption{ margin-top: 12px; font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }
/* 代表メッセージ（トップ）: 写真＋言葉の2列 */
.msg-grid{ display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 56px; align-items: center; max-width: 980px; margin-inline: auto; }
.msg-grid .inner{ text-align: left; margin: 0; }
.msg-photo{ margin: 0; }
.msg-photo img{ display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; background: var(--line); }
/* 代表メッセージ（会社情報ページ）: 署名の下に1枚 */
.message-photo{ margin: 8px auto 56px; max-width: 360px; }
.message-photo img{ display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; background: var(--line); }
@media (max-width: 760px){
  /* スマホは横にスライドして見る */
  .genba-grid{ grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .genba-item{ scroll-snap-align: start; }
  .msg-grid{ grid-template-columns: 1fr; gap: 32px; }
  .msg-photo{ max-width: 260px; margin-inline: auto; }
  .msg-grid .inner{ text-align: center; }
  .message-photo{ max-width: 260px; margin-bottom: 40px; }
}

/* =========================================================
   2026/10/2 追加: 拠点のイメージ線画／メーカーロゴを常にカラー／強みカードの詳しい説明
   ========================================================= */
/* 拠点: 建物のイメージ線画（サンプル。建物の写真を撮ったら差し替える） */
/* 文字に重ならないよう、カードの中で文字の上に順に並べる(カードは下寄せの縦並び。margin-bottom:auto で線画だけ上へ) */
.loc .loc-illust{ position: relative; z-index: 2; display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto auto; color: rgba(255,255,255,.62); pointer-events: none; }
.loc .loc-illust + .badge{ margin-top: 20px; }
/* メーカーロゴは常にカラー（向畑指示 2026/10/2） */
.maker img{ filter: none; opacity: 1; }
.maker:hover img{ filter: none; opacity: 1; }
/* 強みカード: 押すと詳しい説明が開く */
.feature-card[role="button"]{ cursor: pointer; }
.feature-card[role="button"]:focus-visible{ outline: 2px solid var(--accent); outline-offset: -2px; background: #fff; }
.feature-card .fmore{ display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: .12em; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.feature-dialog{ margin: auto; border: none; padding: 0; width: min(640px, 92vw); max-height: 86vh; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.feature-dialog::backdrop{ background: rgba(17,17,17,.55); }
.feature-dialog .fd-inner{ position: relative; padding: 40px 36px 36px; max-height: 86vh; overflow-y: auto; }
.feature-dialog .fd-close{ position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 16px; cursor: pointer; }
.feature-dialog .fd-close:hover{ border-color: var(--ink); }
.feature-dialog .fd-num{ font-family: var(--serif); font-size: 12px; letter-spacing: .25em; color: var(--accent); margin-bottom: 14px; }
.feature-dialog .fd-title{ font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.5; margin-bottom: 20px; padding-right: 40px; }
.feature-dialog .fd-body p{ font-size: 15px; line-height: 1.9; color: var(--ink-soft); margin-bottom: 14px; }
.feature-dialog .fd-cta{ display: inline-block; margin-top: 10px; padding: 14px 26px; background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: .12em; }
.feature-dialog .fd-cta:hover{ background: var(--accent-deep); }
@media (max-width: 600px){
  .feature-dialog .fd-inner{ padding: 36px 22px 28px; }
  .feature-dialog .fd-title{ font-size: 20px; }
}

/* 強みの説明の窓: 内容を図で見せる線画（2026/10/2） */
.fd-figure{ margin: 0 0 22px; padding: 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.fd-figure svg{ display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto; }
.fd-figure .l{ fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fd-figure .a{ fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fd-figure .g{ fill: none; stroke: #b9b5ab; stroke-width: 1.4; stroke-linecap: round; }
.fd-figure .pf{ fill: #fff; }
.fd-figure .dash{ stroke-dasharray: 4 6; }
.fd-figure .dash2{ stroke-dasharray: 3 5; }
.fd-figure text{ font-family: 'Noto Sans JP', sans-serif; font-size: 13px; fill: var(--ink-soft); }
.fd-figure text.s11{ font-size: 12px; }
.fd-figure text.s10{ font-size: 11px; }
.fd-figure text.s9{ font-size: 9px; }
.fd-figure text.tb{ fill: var(--ink); font-weight: 700; }
.fd-figure text.ta{ fill: var(--accent); font-weight: 700; }
.fd-figure .fd-logos{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fd-figure .fd-logos img{ height: 20px; width: auto; }
@media (max-width: 600px){
  /* スマホは窓が細いので、図の外の余白を詰めて図をできるだけ大きく見せる */
  .feature-dialog .fd-inner{ padding-left: 14px; padding-right: 14px; }
  .fd-figure{ margin-left: -6px; margin-right: -6px; padding: 10px 2px; }
}

/* メーカーロゴの大きさを揃える（向畑指示 2026/10/2）
   ロゴの横÷縦が TOYO 9.3／BRIDGESTONE 8.1／DUNLOP 4.5／PIRELLI 3.8／MICHELIN 2.2 と違うので、
   高さを揃えると横長のロゴだけ大きく見える。「見た目の面積」が揃うよう 高さ = √(面積 ÷ 横縦比) で決めた。
   PIRELLI は黄色い塗りの箱で重く見えるので 0.88 倍、DUNLOP は文字が細く小さく見えるので 1.1 倍。ロゴを差し替えたら比を測り直す */
.fd-figure .fd-logos{ gap: 12px 22px; }
.fd-figure .fd-logos img{ width: auto; }
.fd-figure .fd-logos img[src*="toyo"]{ height: 13px; }
.fd-figure .fd-logos img[src*="bridgestone"]{ height: 14px; }
.fd-figure .fd-logos img[src*="dunlop"]{ height: 21px; }
.fd-figure .fd-logos img[src*="pirelli"]{ height: 18px; }
.fd-figure .fd-logos img[src*="michelin"]{ height: 27px; }
/* トップで流れるロゴも同じ考え方で */
.makers .maker{ height: 60px; }
.makers .maker img{ max-height: none; }
.makers .maker img[src*="toyo"]{ height: 27px; }
.makers .maker img[src*="bridgestone"]{ height: 29px; }
.makers .maker img[src*="dunlop"]{ height: 43px; }
.makers .maker img[src*="pirelli"]{ height: 38px; }
.makers .maker img[src*="michelin"]{ height: 56px; }
.marquee .maker{ padding-right: 80px; }
