/* 株式会社アドバンス
   配色：ロゴの実測色（インディゴ #34244C／赤 #E43028・#B03030）から作成。2026-10-29
   赤はアクセント専用（ヒーローの中央の矢印・お問い合わせのボタン・CTA面の矢印のみ）。
   コントラストは白地基準。数値はコメントに併記。 */

:root{
  color-scheme: light;

  --ind-950:#221833;   /* 反転面の地：白文字 16.85:1 */
  --ind-900:#34244C;   /* ロゴ本体。本文・見出し・太い罫線：白地 13.97:1 */
  --ind-700:#4B3D66;   /* 本文（やや淡く）：白地 9.73:1 */
  --ind-500:#64578A;   /* アクセント（リンク・番号・焦点リング）：白地 6.42:1 */
  --ind-300:#B6ADCB;   /* 装飾の罫線（太） */
  --ind-200:#D9D3E5;   /* 装飾の罫線（細）※UI部品の枠には使わない */
  --ind-100:#EEEBF4;   /* 面 */
  --ind-050:#F7F5FA;   /* 淡い面 */
  --sub-600:#5A5070;   /* 補助テキスト：白地 7.46:1 */
  --sub-500:#685E7E;   /* ラベル：白地 6.02:1／#F7F5FA 上 5.56:1 */
  --border-ui:#8C83A1; /* UI部品の枠：白地 3.57:1 */
  --red-500:#E43028;   /* ロゴの矢印。図形のみ（白地 4.42:1 ＝ 文字には使わない） */
  --red-700:#B03030;   /* ロゴの「a」。ボタン地：白文字 6.34:1 */

  --bg:#FFFFFF;
  --text:var(--ind-900);
  --rule-fine:var(--ind-200);
  --rule:var(--ind-300);
  --rule-hard:var(--ind-900);

  --grid-min: rgba(52,36,76,.05);
  --grid-maj: rgba(52,36,76,.09);

  --pad: clamp(20px, 4.4vw, 68px);
  --max: 1200px;
  --hd-h: 60px;
}

*{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--hd-h) + 12px) }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto } }

body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:"Inter","Noto Sans JP",system-ui,sans-serif;
  font-weight:400; line-height:1.8;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img,svg{ max-width:100% }
:focus-visible{ outline:2px solid var(--ind-500); outline-offset:3px }

.wrap{ padding-inline:var(--pad); max-width:var(--max); margin:0 auto }

.skip{ position:absolute; left:8px; top:-60px; z-index:100; background:var(--ind-900); color:#fff;
       padding:11px 14px; font-size:13px; text-decoration:none }
.skip:focus{ top:8px }

/* ── ラベル（短い進行線＋矢じり） ── */
.lab{
  display:flex; align-items:center; gap:12px; margin:0;
  font-size:11px; font-weight:600; letter-spacing:.24em; text-transform:uppercase;
  color:var(--sub-500); font-variant-numeric:tabular-nums;
}
.lab i{ position:relative; display:block; flex:none; height:1.5px; width:30px; background:var(--ind-500) }
.lab i::after{ content:""; position:absolute; right:-1px; top:50%; width:6px; height:6px;
               border-top:1.5px solid var(--ind-500); border-right:1.5px solid var(--ind-500);
               transform:translateY(-50%) rotate(45deg) }

/* ══ ヘッダー ═══════════════════════════════════════════ */
.hd{
  position:sticky; top:0; z-index:50; background:var(--bg);
  border-bottom:2px solid var(--ind-900);
}
.hd__in{
  display:flex; align-items:center; gap:clamp(12px,3vw,40px);
  height:var(--hd-h);
}
.hd__logo{ height:52px; width:auto; flex:none }
.hd__txt{ display:flex; flex-direction:column; justify-content:center }
.hd__name{
  display:flex; flex-direction:row; align-items:center; gap:12px; flex:none;
  color:var(--ind-900); text-decoration:none; line-height:1.25; min-height:44px;
}
.hd__name b{ font-family:"Noto Sans JP",sans-serif; font-weight:700; font-size:16px; letter-spacing:.08em }
.hd__name small{ font-size:10px; font-weight:600; letter-spacing:.24em; color:var(--sub-500) }
.hd nav{ display:flex; align-items:center; gap:clamp(14px,2.4vw,30px); margin-left:auto }
.hd nav a{
  display:flex; align-items:center; justify-content:center; min-height:44px; min-width:44px;
  color:var(--sub-600); text-decoration:none; white-space:nowrap;
  font-family:"Noto Sans JP",sans-serif; font-size:13px; font-weight:500; letter-spacing:.08em;
  border-bottom:1px solid transparent;
}
.hd nav a:hover{ color:var(--ind-900); border-bottom-color:var(--ind-900) }
.hd nav a.hd__cta{
  min-height:44px; padding:0 14px; border:1px solid var(--ind-900); color:var(--ind-900);
}
.hd nav a.hd__cta:hover{ background:var(--ind-900); color:#fff }
@media (max-width:720px){ .hd nav a.hide-sp{ display:none } }
@media (max-width:480px){ .hd nav a.hide-xs{ display:none } }
@media (max-width:360px){ .hd nav a.hd__cta{ padding:0 10px } .hd__in{ gap:10px } }

/* ══ ヒーロー（右上へ伸びる3本の矢印＋控えめな方眼） ═══════════ */
.hero{
  position:relative; overflow:hidden; border-bottom:1px solid var(--rule);
  background-image:
    linear-gradient(to right,  var(--grid-min) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-min) 1px, transparent 1px),
    linear-gradient(to right,  var(--grid-maj) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-maj) 1px, transparent 1px);
  background-size:32px 32px,32px 32px,160px 160px,160px 160px;
}
.hero__mark{
  position:absolute; pointer-events:none;
  width:clamp(300px,38vw,500px); height:auto;
  right:max(-40px, calc((100vw - var(--max)) / 2 - 40px)); top:clamp(24px,5vh,56px);
}
.hero__in{ position:relative; padding-block:clamp(56px,11vh,128px) clamp(36px,6vh,64px) }
.hero__in > :not(.route){ max-width:min(100%, 40em) }
@media (max-width:900px){
  /* 狭い画面では本文と重なるので、右上に小さく退かせる */
  .hero__mark{ width:clamp(120px,30vw,220px); right:-14px; top:14px; opacity:.9 }
  .hero h1{ padding-right:clamp(0px, 18vw, 150px) }
}
@media (max-width:480px){ .hero__mark{ width:104px; right:-18px; top:10px } .hero h1{ padding-right:0 } .hero .lab{ padding-right:70px } }

.hero h1{
  margin:clamp(22px,4vh,40px) 0 0;
  font-family:"Noto Sans JP",sans-serif; font-weight:700; color:var(--ind-900);
  font-size:clamp(30px,5.6vw,72px); line-height:1.32; letter-spacing:.04em;
  word-break:keep-all; overflow-wrap:anywhere;
}
.hero h1 .ln{ display:block }
.hero__sub{
  display:flex; align-items:center; gap:clamp(12px,1.6vw,22px); margin:clamp(16px,2.6vh,26px) 0 0;
  font-family:"Syncopate",sans-serif; font-weight:700; text-transform:uppercase;
  font-size:clamp(10px,1.1vw,14px); letter-spacing:.3em; line-height:1.7; color:var(--ind-500);
}
.hero__sub i{ flex:none; width:clamp(28px,5vw,64px); height:1.5px; background:var(--ind-500) }
.lede{
  font-family:"Noto Sans JP",sans-serif; font-weight:400;
  font-size:clamp(15px,1.3vw,17.5px); line-height:2.05; color:var(--ind-700);
  max-width:34em; margin:clamp(20px,3vh,32px) 0 0;
}

/* 行程表（From → To ＋ 会社の要点） */
.route{ margin-top:clamp(28px,5vh,52px); background:var(--bg); border:2px solid var(--ind-900) }
.route__leg{
  display:grid; grid-template-columns:auto minmax(48px,1fr) auto; align-items:center;
  gap:clamp(12px,2vw,24px); padding:clamp(14px,2vh,20px) clamp(14px,2vw,24px);
  border-bottom:1px solid var(--rule);
}
.route__pt b, .route__meta b{ display:block; font-size:10px; font-weight:600; letter-spacing:.22em;
        text-transform:uppercase; color:var(--sub-500); margin-bottom:4px }
.route__pt span{ display:block; font-family:"Noto Sans JP",sans-serif; font-weight:700;
           font-size:clamp(14px,1.4vw,18px); color:var(--ind-900); letter-spacing:.04em; line-height:1.5 }
.route__line{ position:relative; height:12px; color:var(--ind-900) }
.route__line::before{ content:""; position:absolute; left:0; right:20px; top:50%; height:0;
                      border-top:1.5px dashed var(--ind-500) }
.route__line::after{ content:""; position:absolute; left:0; top:50%; width:8px; height:8px; margin-top:-4px;
                     border-radius:50%; background:var(--ind-900) }
.route__line svg{ position:absolute; right:0; top:50%; width:26px; height:10px; transform:translateY(-50%);
                  clip-path:inset(0 0 0 60%) }
.route__meta{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) }
.route__meta div{ padding:11px clamp(14px,2vw,24px); border-left:1px solid var(--rule-fine); min-width:0 }
.route__meta div:first-child{ border-left:0 }
.route__meta span{ display:block; font-family:"Noto Sans JP",sans-serif; font-weight:500;
           font-size:13px; color:var(--ind-900); letter-spacing:.04em; line-height:1.5; overflow-wrap:anywhere }
@media (max-width:600px){
  /* 縦に並べ、進行線も縦向きにする */
  .route__leg{ grid-template-columns:minmax(0,1fr); gap:8px }
  .route__line{ width:12px; height:28px; margin-left:2px }
  .route__line::before{ left:50%; right:auto; top:0; bottom:8px; height:auto; width:0;
                        border-top:0; border-left:1.5px dashed var(--ind-500) }
  .route__line::after{ left:50%; top:0; margin:0 0 0 -4px }
  .route__line svg{ right:auto; left:50%; top:auto; bottom:-2px; transform:translateX(-50%) rotate(90deg) }
  .route__meta{ grid-template-columns:minmax(0,1fr) }
  .route__meta div{ border-left:0; padding-block:9px }
  .route__meta div + div{ border-top:1px solid var(--rule-fine) }
}

/* ══ セクション共通：見出しの罫線＝起点（●）から終点（›）への行程 ══ */
.sec{ padding-block:clamp(64px,11vh,120px) 0 }
.sec__head{ position:relative; border-top:2px solid var(--rule-hard); padding-top:clamp(16px,2.4vh,22px) }
.sec__head::before{ content:""; position:absolute; left:0; top:-6px; width:10px; height:10px;
                    border-radius:50%; background:var(--ind-900) }
.sec__head::after{ content:""; position:absolute; right:1px; top:-7px; width:10px; height:10px;
                   border-top:2px solid var(--ind-900); border-right:2px solid var(--ind-900); transform:rotate(45deg) }
.sec__head .lab{ padding-left:2px }
.sec h2{
  margin:clamp(14px,2.4vh,22px) 0 0;
  font-family:"Noto Sans JP",sans-serif; font-weight:700; color:var(--ind-900);
  font-size:clamp(23px,3vw,36px); line-height:1.45; letter-spacing:.05em;
  word-break:keep-all; overflow-wrap:anywhere;
}

/* ══ 事業内容：本文＋図版 ═══════════════════════════════ */
.biz{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(28px,5vw,72px); align-items:start; margin-top:clamp(28px,5vh,48px);
}
@media (max-width:900px){ .biz{ grid-template-columns:minmax(0,1fr) } }
.biz__t h3{
  margin:0; font-family:"Noto Sans JP",sans-serif; font-weight:700;
  font-size:clamp(19px,1.8vw,23px); letter-spacing:.06em; line-height:1.5;
}
.biz__t h3 small{ display:block; margin-top:6px; font-family:"Syncopate",sans-serif; font-weight:700;
                  font-size:10.5px; letter-spacing:.26em; color:var(--ind-500); text-transform:uppercase }
.biz__t p{ font-family:"Noto Sans JP",sans-serif; font-size:15px; line-height:2.05; color:var(--ind-700); margin:16px 0 0 }

/* 流れ（配車 → 陸送 → ご請求）：停車点を縦の線でつなぐ */
.flow{ list-style:none; margin:clamp(24px,3.6vh,34px) 0 0; padding:0; display:grid; grid-template-columns:minmax(0,1fr) }
.flow li{ position:relative; display:grid; grid-template-columns:36px minmax(0,1fr); gap:16px; padding:0 0 20px }
.flow li:last-child{ padding-bottom:0 }
.flow li:not(:last-child)::before{ content:""; position:absolute; left:17px; top:36px; bottom:0; width:0;
                                   border-left:1.5px dashed var(--ind-300) }
.flow .n{ display:flex; align-items:center; justify-content:center; width:36px; height:36px;
          border:1.5px solid var(--ind-900); border-radius:50%; background:var(--bg);
          font-family:"Inter",sans-serif; font-weight:600; font-size:11.5px; letter-spacing:.06em;
          color:var(--ind-900); font-variant-numeric:tabular-nums }
.flow li:last-child .n{ background:var(--ind-900); color:#fff }
.flow b{ display:block; font-family:"Noto Sans JP",sans-serif; font-weight:700; font-size:15px; letter-spacing:.06em; padding-top:5px }
.flow span{ display:block; font-family:"Noto Sans JP",sans-serif; font-size:14px; line-height:1.9; color:var(--sub-600); margin-top:2px }

/* グループ内のサポート（2事業部） */
.sup{ margin-top:clamp(26px,4vh,36px); padding:18px clamp(16px,2vw,22px) 20px;
      background:var(--ind-050); border-top:2px solid var(--ind-900) }
.sup__h{ margin:0 !important; font-family:"Noto Sans JP",sans-serif; font-weight:700; font-size:14px !important;
         letter-spacing:.08em; line-height:1.6 !important; color:var(--ind-900) !important }
.sup p{ font-size:14px; line-height:1.95; margin-top:8px }
.sup ul{ list-style:none; margin:12px 0 0; padding:0; display:grid; grid-template-columns:minmax(0,1fr); gap:8px }
.sup li{ display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; align-items:baseline }
.sup li svg{ width:20px; height:8px; color:var(--ind-500); align-self:center }
.sup li span{ font-family:"Noto Sans JP",sans-serif; font-size:13.5px; line-height:1.7; color:var(--sub-600) }
.sup li b{ font-weight:700; color:var(--ind-900); margin-right:.8em; letter-spacing:.04em }

/* 図版（中の svg.draw は差し替え予定。枠は svg の縦横比に追従する） */
.fig{ margin:0; min-width:0 }
.fig__frame{ position:relative; border:1px solid var(--ind-700); background:var(--ind-050) }
.fig__frame > svg.draw{ display:block; width:100%; height:auto }
.draw path, .draw circle, .draw rect{ vector-effect:non-scaling-stroke }
.fig__reg{ position:absolute; width:11px; height:11px; color:var(--ind-500) }
.fig__reg.tl{ top:-5.5px; left:-5.5px }  .fig__reg.tr{ top:-5.5px; right:-5.5px }
.fig__reg.bl{ bottom:-5.5px; left:-5.5px } .fig__reg.br{ bottom:-5.5px; right:-5.5px }
.fig figcaption{ margin-top:14px; letter-spacing:.16em; text-transform:none; line-height:1.6 }

/* ══ 特徴（3項目・罫線で区切った表組み。カードにしない） ══════ */
.feat{
  list-style:none; margin:clamp(28px,5vh,48px) 0 0; padding:0;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
}
.feat li{ padding:clamp(22px,3vh,32px) clamp(18px,2.2vw,30px) clamp(26px,3.6vh,36px);
          border-left:1px solid var(--rule-fine); min-width:0 }
.feat li:first-child{ border-left:0; padding-left:0 }
@media (max-width:900px){
  .feat{ grid-template-columns:minmax(0,1fr) }
  .feat li{ border-left:0; padding-inline:0 }
  .feat li + li{ border-top:1px solid var(--rule-fine) }
}
.feat__top{ display:flex; align-items:center; justify-content:space-between; gap:12px }
.feat__n{ font-family:"Inter",sans-serif; font-weight:600; font-size:12px; letter-spacing:.16em;
          color:var(--ind-500); font-variant-numeric:tabular-nums }
.ic{ width:30px; height:30px; display:block; flex:none;
     fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;
     color:var(--ind-700); overflow:visible }
.feat h3{ margin:18px 0 0; font-family:"Noto Sans JP",sans-serif; font-weight:700;
          font-size:clamp(17px,1.5vw,19px); line-height:1.6; letter-spacing:.05em;
          word-break:keep-all; overflow-wrap:anywhere }
.feat p{ margin:10px 0 0; font-family:"Noto Sans JP",sans-serif; font-size:14.5px; line-height:2; color:var(--ind-700) }

/* ══ 会社概要（表） ═══════════════════════════════════════ */
.co{ margin:clamp(28px,5vh,44px) 0 0; border-top:2px solid var(--ind-900); border-bottom:1px solid var(--rule);
     display:grid; grid-template-columns:clamp(6em,16vw,11em) minmax(0,1fr) }
.co dt, .co dd{ margin:0; padding:16px 0; border-top:1px solid var(--rule-fine);
                font-family:"Noto Sans JP",sans-serif; font-size:15px; line-height:1.85 }
.co dt:first-of-type, .co dd:first-of-type{ border-top:0 }
.co dt{ font-weight:500; color:var(--sub-600); padding-right:16px; font-size:14px }
.co dd{ color:var(--ind-900); overflow-wrap:anywhere }
.co dd small{ font-size:12.5px; color:var(--sub-600); margin-right:.6em }
.co a{ color:var(--ind-500); text-underline-offset:3px }
.co a:hover{ color:var(--ind-900) }
.co .ext{ display:inline-block; padding-block:10px; margin-block:-6px -10px }

/* ══ お問い合わせ導線（反転面＋右上へ抜ける矢印） ═══════════════ */
.cta{ position:relative; margin-top:clamp(72px,12vh,128px); background:var(--ind-950); color:#fff; overflow:hidden }
.cta__mark{ position:absolute; pointer-events:none; width:clamp(240px,34vw,460px); height:auto;
            right:max(-60px, calc((100vw - var(--max)) / 2 - 60px)); bottom:-70px }
@media (max-width:600px){ .cta__mark{ width:200px; right:-50px; bottom:-60px; opacity:.6 } }
.cta__in{ position:relative; padding-block:clamp(56px,10vh,112px) }
.cta .lab{ color:var(--ind-300) }                       /* 7.89:1 */
.cta .lab i, .cta .lab i::after{ background:var(--ind-300); border-color:var(--ind-300) }
.cta .lab i::after{ background:transparent }
/* 暗い面の焦点リング：#B6ADCB on #221833 = 7.89:1 */
.cta :focus-visible{ outline-color:var(--ind-300) }
.cta h2{ margin:clamp(16px,3vh,26px) 0 0; font-family:"Noto Sans JP",sans-serif; font-weight:700;
         font-size:clamp(23px,3vw,36px); line-height:1.5; letter-spacing:.05em; color:#fff;
         word-break:keep-all; overflow-wrap:anywhere }
.cta p{ font-family:"Noto Sans JP",sans-serif; font-size:clamp(14.5px,1.2vw,16.5px); line-height:2.05;
        color:var(--ind-200); max-width:32em; margin:clamp(16px,3vh,24px) 0 0 }   /* 11.55:1 */
.cta__acts{ display:flex; flex-wrap:wrap; gap:14px 18px; margin-top:clamp(24px,4vh,36px) }
/* ボタン：地 #B03030 に白文字 6.34:1。枠 #E43028 は暗い面に対し 3.81:1 */
.btn{
  display:inline-flex; align-items:center; justify-content:space-between; gap:18px; min-height:52px;
  padding:0 24px; background:var(--red-700); border:2px solid var(--red-500); color:#fff; text-decoration:none;
  font-family:"Noto Sans JP",sans-serif; font-size:14px; font-weight:500; letter-spacing:.1em;
}
.btn svg{ width:26px; height:10px; display:block; flex:none }
/* ホバー：白地に #B03030 の文字 6.34:1 */
.btn:hover{ background:#fff; color:var(--red-700); border-color:#fff }
@media (max-width:480px){ .btn{ width:100% } }

/* ══ フッター（親サイトに合わせた表題欄） ═════════════════════ */
.ft{ padding-block:clamp(36px,6vh,60px) }
.ft__name{ margin:0; font-family:"Noto Sans JP",sans-serif; font-weight:700; font-size:17px; letter-spacing:.08em; color:var(--ind-900) }
.ft__block{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--rule); margin-top:20px }
.ft__block div{ padding:12px 14px; border-left:1px solid var(--rule-fine); min-width:0 }
.ft__block div:first-child{ border-left:0 }
.ft__block b{ display:block; font-size:10px; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
              color:var(--sub-500); margin-bottom:6px }
.ft__block span{ display:block; font-family:"Noto Sans JP",sans-serif; font-size:12.5px; color:var(--ind-900);
                 letter-spacing:.04em; line-height:1.6; overflow-wrap:anywhere }
.ft__block a{ color:var(--ind-500); display:inline-block; padding-block:13px; margin-block:-13px }
@media (max-width:760px){
  .ft__block{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .ft__block div:nth-child(3){ border-left:0 }
  .ft__block div:nth-child(-n+2){ border-bottom:1px solid var(--rule-fine) }
}
@media (max-width:400px){
  .ft__block{ grid-template-columns:minmax(0,1fr) }
  .ft__block div{ border-left:0 }
  .ft__block div + div{ border-top:1px solid var(--rule-fine) }
  .ft__block div:nth-child(-n+2){ border-bottom:0 }
}
.ft__cr{ margin-top:18px; font-family:"Noto Sans JP",sans-serif; font-size:11.5px; letter-spacing:.1em; color:var(--sub-500) }
@media (max-width:480px){ .hd__logo{ height:44px } .hd__name{ gap:8px } .hd__name b{ font-size:14px; letter-spacing:.04em } }
@media (max-width:360px){ .hd__logo{ height:40px } .hd__name{ gap:6px } .hd__name b{ font-size:12px; letter-spacing:0 } .hd__name small{ letter-spacing:.12em } }

@media (max-width:520px){
  .draw .mp-o{ font-size:32px }
  .draw .mp-t{ font-size:27px }
  .draw .mp-s, .draw .mp-e, .draw .mp-c{ font-size:25px }
  .draw .mp-n{ display:none }
}

/* 和文を文節で折り返す（語の途中で改行しない。未対応ブラウザは従来どおり） */
body{ word-break:auto-phrase }
