:root{
  --red:#d40000;
  --dark:#2f2f2f;
  --black:#0b0b0b;
  --shadow:0 4px 0 rgba(0,0,0,.15);
  --shadow2:0 8px 18px rgba(0,0,0,.18);
  --wrap: 980px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN","Meiryo",system-ui,-apple-system,sans-serif;
  color:#111;
  background:#fff;
}
a{color:inherit}
.wrap{width:min(var(--wrap), 92%);margin:0 auto}

/* ===== TOP BAR ===== */
.topbar{
  background:var(--black);
  color:#fff;
  padding:12px 0;
}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.topbar__left{display:flex;align-items:center;gap:12px}
.topbar__logo{width:98px;height:auto;display:block}
.topbar__small{font-size:12px;opacity:.9; line-height:1.2;} /* ← 追記 */
.topbar__tel{display:flex;align-items:center;gap:10px}
.tel__label{font-size:12px;opacity:.85}
.tel__num{font-weight:900;font-size:22px;text-decoration:none}
.tel__time{font-size:12px;opacity:.85}

/* ===== HERO ===== */
.hero{
  position:relative;
  background:#fff;
  padding:22px 0 18px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;inset:0;
  background:
    linear-gradient(120deg, rgba(120,200,255,.25) 0 18%, transparent 18% 60%),
    linear-gradient(240deg, rgba(120,200,255,.25) 0 18%, transparent 18% 60%),
    radial-gradient(circle at 50% 0%, rgba(0,0,0,.06), transparent 60%);
  pointer-events:none;
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:center;
}
.hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:14px;
  background:#fff;
  padding:6px 10px;
  border:2px solid #000;
  border-radius:6px;
}
.kicker__icon{font-size:16px}
.hero__h1{
  margin:12px 0 10px;
  line-height:1.1;
  font-weight:900;
  font-size:40px;
}
.hero__red{
  color:var(--red);
  font-size:52px;
  letter-spacing:.02em;
  text-shadow: 0 2px 0 rgba(0,0,0,.18);
}
.hero__badges{display:flex;gap:10px;margin:10px 0}
.badge{
  width:74px;height:74px;border-radius:50%;
  display:grid;place-items:center;
  border:3px solid #d3a400;
  background: radial-gradient(circle at 35% 35%, #fff6b7, #d7a400);
  box-shadow: var(--shadow2);
  text-align:center;
  font-weight:900;
}
.badge__top{font-size:12px}
.badge__mid{font-size:18px;line-height:1}
.hero__bullets{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px}
.pill{
  background:#333;color:#fff;
  padding:8px 10px;border-radius:6px;
  font-weight:900;font-size:13px;
  box-shadow: var(--shadow);
}
.hero__cta{display:flex;gap:10px;flex-wrap:wrap}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;
  padding:12px 18px;
  font-weight:900;
  border-radius:999px;
  border:2px solid #000;
  box-shadow: var(--shadow);
}
.btn--red{background:var(--red);color:#fff;border-color:#7a0000}
.btn--dark{background:#111;color:#fff;border-color:#000}

.hero__truck{
  background:#fff;
  border:6px solid #fff;
  box-shadow: var(--shadow2);
  border-radius:6px;
  overflow:hidden;
  position:relative;
  min-height:280px;
}
.hero__truck img{width:100%;height:100%;object-fit:cover;display:block}
.hero__truck__placeholder{
  position:absolute;inset:0;
  display:grid;place-items:center;
  font-weight:900;
  color:#555;
  background: repeating-linear-gradient(45deg,#eee,#eee 10px,#f6f6f6 10px,#f6f6f6 20px);
}

/* ===== SECTION ===== */
.section{padding:26px 0 34px}
.section--dark{background:#3a3a3a;color:#fff}
.section--pattern{
  background:repeating-linear-gradient(135deg,#f3f3f3 0 6px,#fff 6px 12px);
}

/* ===== RIBBON ===== */
.ribbon{
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0)),
    repeating-linear-gradient(135deg, #b00000 0 16px, #d40000 16px 32px);
  transform:skewX(-12deg);
  margin:0 auto 18px;
  width:min(1080px, 100%);
}
.ribbon__inner{transform:skewX(12deg); padding:16px 0}
.ribbon__title{
  margin:0;
  text-align:center;
  color:#fff;
  font-weight:900;
  font-size:34px;
  letter-spacing:.06em;
  text-shadow:0 2px 0 rgba(0,0,0,.35);
}
.ribbon--dark{
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0)),
    repeating-linear-gradient(135deg, #8e0000 0 16px, #b80000 16px 32px);
}
.ribbon--small{width:min(900px,100%)}
.ribbon--small .ribbon__title{font-size:30px}

/* ===== FORM ===== */
.stepbar{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin:0 auto 12px;
  width:min(720px, 100%);
}
.step{
  background:#6a6a6a;color:#fff;
  padding:8px 10px;
  font-weight:900;
  font-size:13px;
  text-align:center;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 6% 50%);
}
.step--active{background:var(--red)}
.formbox{
  width:min(720px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:220px 1fr;
}
.formbox__left{
  background:#5d5d5d;
  padding:14px 12px;
  display:grid;
  gap:16px;
}
.formlabel{display:flex;align-items:center;justify-content:space-between;color:#fff;font-weight:900;font-size:13px}
.formlabel em{
  font-style:normal;background:var(--red);padding:4px 8px;border-radius:3px;font-size:12px
}
.formbox__right{
  background:#fff;padding:14px 12px;display:grid;gap:12px;border:1px solid #ddd
}
.input{width:100%;padding:10px 12px;border:1px solid #bbb;font:inherit}
.btn-next{
  width:180px;margin:8px auto 0;padding:10px 14px;
  background:linear-gradient(#d40000,#a80000);
  color:#fff;border:none;border-radius:999px;
  font-weight:900;cursor:pointer;box-shadow: var(--shadow2);
}
.hint{margin:0;font-size:12px;color:#666}

/* ===== REASONS ===== */
.reason-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  width:min(780px, 100%);
  margin:0 auto;
}
.reason-card{
  background:#fff;border:1px solid #cfcfcf;padding:14px;
  box-shadow: var(--shadow2);color:#111;
}
.reason-card__icon{font-size:28px;margin-bottom:6px}
.reason-card h3{margin:0 0 6px;font-size:18px}
.reason-card p{margin:0;font-size:13px;color:#333}

/* ===== CTA STRIP ===== */
.cta-strip{
  width:min(780px, 100%);
  margin:18px auto 0;
  background:#2b2b2b;
  border-top:6px solid #111;
  padding:10px 12px;
  display:grid;
  gap:6px;
  justify-items:center;
}
.cta-strip__btn{
  display:inline-block;
  background:linear-gradient(#d40000,#a80000);
  color:#fff;font-weight:900;text-decoration:none;
  padding:12px 32px;border-radius:6px;
  box-shadow: var(--shadow2);
  border:1px solid #7a0000;
}
.cta-strip__sub{color:#fff;font-size:12px;opacity:.9}
.cta-strip--dark{background:#1f1f1f;border-top-color:#000}

/* ===== RESULTS ===== */
.result-grid{
  width:min(820px,100%);
  margin:14px auto 0;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.result-card{background:#fff;color:#111;border:1px solid #ddd;box-shadow: var(--shadow2)}
.result-card__img{height:140px;background:#f2f2f2;display:grid;place-items:center;font-weight:900;color:#666;overflow:hidden;}
.result-card__img img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.result-card__meta{padding:10px 10px 0;font-size:12px;display:grid;gap:6px}
.result-card__meta span{display:inline-block;min-width:52px;font-weight:900}
.result-card__price{
  margin-top:10px;background:var(--red);color:#fff;
  display:flex;align-items:baseline;justify-content:center;gap:8px;
  padding:12px 8px;font-weight:900;
}
.result-card__price .label{font-size:12px;opacity:.95}
.result-card__price .num{font-size:26px}
.result-card__price .yen{font-size:12px}

/* ===== FLOW ===== */
.flowbg{background:linear-gradient(180deg,#6b7a93,#6b7a93);color:#fff}
.flow-grid{
  width:min(820px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.flow-card{background:#fff;color:#111;border:1px solid #d8d8d8;box-shadow: var(--shadow2);padding:12px}
.flow-step{display:inline-block;background:var(--red);color:#fff;font-weight:900;padding:6px 10px;margin:-18px 0 8px;box-shadow: var(--shadow)}
.flow-card h3{margin:0 0 6px}
.flow-card p{margin:0;font-size:13px;color:#333}

/* ===== FAQ ===== */
.faq-list{width:min(820px,100%);margin:0 auto;display:grid;gap:14px}
.faq-item{display:grid;grid-template-columns:1fr 220px;gap:12px;padding:14px;border-bottom:1px dashed #cfcfcf}
.faq-qa .q,.faq-qa .a{display:flex;gap:10px;align-items:flex-start}
.faq-qa .q{font-weight:900;margin-bottom:8px}
.faq-qa .a{color:#333}
.faq-qa span{
  width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;color:#fff;font-weight:900;background:var(--red);
  flex:0 0 24px;
}
.faq-img{height:120px;background:#f2f2f2;display:grid;place-items:center;font-weight:900;color:#666}


.cta-dock{
  height:0 !important;
}







/* ===== COMPANY ===== */
.companybox{
  width:min(860px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 280px;
  gap:14px;
}
.companybox__main,.companybox__person{
  background:#fff;color:#111;border:1px solid #ddd;box-shadow: var(--shadow2);padding:14px
}

/* ===== FOOTER ===== */
.footer{background:#4a4a4a;color:#fff;padding:10px 0 70px}
.footer__inner{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center}
.footer__center{text-align:center;font-size:12px}

/* ===== FIXED CTA ===== */
.fixed-cta{
  position:fixed;left:0;right:0;bottom:0;
  background:#2b2b2b;border-top:6px solid #111;
  padding:10px 12px;display:grid;gap:6px;justify-items:center;z-index:999;
}
.fixed-cta__btn{
  background:linear-gradient(#d40000,#a80000);
  color:#fff;text-decoration:none;font-weight:900;
  padding:14px 36px;border-radius:6px;box-shadow: var(--shadow2);border:1px solid #7a0000;
}
.fixed-cta__sub{font-size:12px;color:#fff;opacity:.92}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr}
  .hero__h1{font-size:32px}
  .hero__red{font-size:40px}
  .formbox{grid-template-columns: 1fr}
  .reason-grid{grid-template-columns: 1fr}
  .result-grid{grid-template-columns: 1fr}
  .flow-grid{grid-template-columns: 1fr}
  .faq-item{grid-template-columns: 1fr}
  .companybox{grid-template-columns: 1fr}
  .topbar__small{display:none}
}






/* ===== Company Page ===== */
.page-company .page-hero{ background:#f4f6f8; padding:28px 0 18px; }
.page-company .page-hero__ribbon{
  max-width:720px;
  margin:0 auto;
  padding:18px 16px;
  color:#fff;
  font-weight:900;
  text-align:center;
  background: linear-gradient(135deg,#b10000,#ff2b2b);
  border-radius:10px;
  letter-spacing:.06em;
}
.page-company .page-hero__lead{
  margin:14px auto 0;
  max-width:720px;
  text-align:center;
  color:#333;
}

.company{ padding:26px 0 60px; }
.company__card{
  max-width:900px;
  margin:0 auto 18px;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:12px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  padding:18px;
}
.company__title{ margin:0 0 12px; font-size:20px; font-weight:900; }
.company__text{ margin:0; line-height:1.9; }

.company__dl{ margin:0; }
.company__row{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap:12px;
  padding:10px 0;
  border-top:1px dashed #ddd;
}
.company__row:first-child{ border-top:none; }
.company__row dt{ font-weight:800; color:#222; }
.company__row dd{ margin:0; color:#333; }

.company__list, .company__bullets{
  margin:0;
  padding-left:18px;
  line-height:1.9;
}
.company__cta{
  max-width:900px;
  margin:18px auto 0;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* スマホ */
@media (max-width: 640px){
  .company__row{ grid-template-columns: 1fr; }
}

/* ===== Scroll CTA (hidden at top, appears after scroll) ===== */
.fixed-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  /* 見た目は今のままでOKならここは触らない */
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;

  transition: transform .25s ease, opacity .25s ease;
}

.fixed-cta.is-show{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* CTAが出てる時だけ、本文の下が隠れないようにする */
body.has-cta{
  padding-bottom: 140px;  /* CTAの高さ分。必要なら 160 に */
}

/* これ入れとくと“フッターが見えない問題”がまず解消しやすい */
.footer{
  position: relative;
  z-index: 1;
}
/* ===== Scroll CTA: appear after scroll, DO NOT cover footer ===== */
.fixed-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

/* スクロールしたら表示 */
.fixed-cta.is-show{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* CTAは固定のまま。JSで bottom を動かしてフッターにかぶらないようにする */
.fixed-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;              /* ← JSが上書きする */
  z-index: 9999;

  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

.fixed-cta.is-show{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* CTAが出てる時だけ、ページ最下部が隠れないよう余白 */
body.has-cta{
  padding-bottom: 140px;
}

/* CTAが出てる間だけ、本文の一番下が隠れないように余白確保 */
body.has-cta{
  padding-bottom: 140px;  /* CTA高さに合わせて調整（必要なら160） */
}
html, body { margin: 0; padding: 0; }


/* =========================
   HOWAっぽい見た目：タイポ/色/帯/影/背景
   ========================= */

/* 1) まずベース（文字が弱い・色が薄い問題を解決） */
:root{
  --brand-red:#c40000;
  --brand-red2:#e60000;
  --ink:#111;
  --muted:#666;
  --line:#d9d9d9;
  --panel:#f6f6f6;
  --dark:#2b2b2b;
}

body{
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Meiryo",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  line-height: 1.65;
  background:#fff;
  letter-spacing: .02em;
}

.container{
  width:min(1020px, calc(100% - 40px));
  margin:0 auto;
}

/* 2) セクション全体の背景（薄い斜めパターン） */
.section{
  background:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,.035) 0 2px,
      rgba(0,0,0,0) 2px 10px);
  padding: 34px 0 40px;
}

/* 3) 赤い斜め帯見出し（画像に見えるあの感じ） */
.section-title{
  position: relative;
  margin: 0 auto 26px;
  padding: 22px 18px;
  text-align: center;
  color:#fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  background:
    linear-gradient(135deg, rgba(255,255,255,.10) 0 20%, rgba(255,255,255,0) 20% 100%),
    linear-gradient(135deg, var(--brand-red) 0%, #a70000 55%, #d10000 100%);
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
  transform: skewX(-10deg);
  border-radius: 2px;
}
.section-title > span{
  display:inline-block;
  transform: skewX(10deg);
}

/* 4) ボタン（赤ボタンの質感/影） */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration:none;
  border: 2px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btn:active{ transform: translateY(0px); }

.btn--red{
  color:#fff;
  background: linear-gradient(#ff2b2b, #b60000);
  border-color: rgba(0,0,0,.18);
}
.btn--dark{
  color:#fff;
  background: linear-gradient(#4b4b4b, #1f1f1f);
}

/* 5) カード（実績カード/STEPカードの影と境界） */
.card{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}
.card--soft{
  background: var(--panel);
  border:1px solid rgba(0,0,0,.10);
}

/* 6) 「選ばれる理由」の箱（白箱＋影の感じ） */
.reason-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px 26px;
}
.reason-item{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 12px 22px rgba(0,0,0,.18);
  padding: 18px 18px 16px;
}
.reason-item h3{
  margin:0 0 8px;
  font-size: 22px;
  font-weight: 900;
}
.reason-item p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

/* 7) FAQ（Q/Aの赤丸＋罫線） */
.faq{
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
}
.faq-item{
  display:grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px dashed var(--line);
}
.faq-item:last-child{ border-bottom: 1px dashed var(--line); }

.qa{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.qa-badge{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-red);
  color:#fff;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.qa-text h4{
  margin:0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-red);
}
.qa-text p{
  margin:0;
  font-size: 14px;
  color: var(--ink);
}

.faq-ph{
  background: #f1f1f1;
  border: 1px solid rgba(0,0,0,.10);
  height: 110px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#666;
  font-weight:700;
}

/* 8) フッター（今の灰色がダサいので、締まる感じに） */
.footer{
  background: #3a3a3a;
  color: rgba(255,255,255,.92);
  padding: 16px 0;
}
.footer a{ color: rgba(255,255,255,.92); text-decoration:none; }
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}
.footer__left{
  font-weight: 800;
  letter-spacing: .02em;
}
.footer__copy{
  font-weight: 800;
  opacity: .95;
}

/* SP調整 */
@media (max-width: 860px){
  .section-title{ font-size: 26px; padding: 18px 14px; }
  .reason-grid{ grid-template-columns: 1fr; }
  .faq-item{ grid-template-columns: 1fr; }
  .faq-ph{ height: 90px; }
}
/* ヘッダーロゴ（翔 [mark] 誠 + 運輸） */
.topbar__brand{ display:flex; align-items:center; }

.brand{
  display:flex;
  align-items:flex-end;
  gap:8px;
  text-decoration:none;
  color:#fff;
}

.brand__kanji{
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .02em;
}

.brand__mark{
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: 0 2px 2px;
}

.brand__sub{
  font-weight: 900;
  font-size: 16px;
  line-height: 1.1;
  margin-left: 2px;
  opacity: .95;
}

/* 既存のデカロゴ指定があったら無効化 */
.topbar__logo{
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}


/* ヘッダー左全体 */
.topbar__left{
  display:flex;
  align-items:center;
  gap:20px;
}

/* 説明文 */
.topbar__catch{
  font-size:12px;
  color:#fff;
  opacity:.9;
  white-space:nowrap;
}

/* ロゴサイズ微調整 */
.brand__mark{
  width:20px;
  height:20px;
  object-fit:contain;
  transform:translateY(1px);
}

.brand__kanji{
  font-size:24px;
  font-weight:900;
}

.brand__sub{
  font-size:14px;
  margin-left:4px;
  transform:translateY(2px);
}
