/* ============================================================
   協和梱包運輸有限会社 提案デモサイト
   BtoB向け・信頼感重視のインダストリアルデザイン
   ============================================================ */

:root {
  --navy: #12293f;
  --navy-2: #1b3a58;
  --navy-3: #24486b;
  --steel: #5b7286;
  --orange: #e07a2a;
  --orange-dark: #c4661d;
  --bg: #f5f7f9;
  --white: #ffffff;
  --line: #dde4ea;
  --text: #24313c;
  --text-weak: #5f6e7b;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(18, 41, 63, .10);
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Barlow Condensed", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 上部インフォバー ---------- */
.topbar {
  background: var(--navy);
  color: #c9d6e2;
  font-size: 12.5px;
  padding: 6px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar .hours { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .permit { white-space: nowrap; opacity: .85; }

/* ---------- ヘッダー ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 20px;
  letter-spacing: .5px;
}
.brand-text { line-height: 1.3; }
.brand-text .name { font-weight: 900; font-size: 17px; color: var(--navy); letter-spacing: .02em; }
.brand-text .tagline { font-size: 10.5px; color: var(--text-weak); letter-spacing: .12em; }

.gnav ul { display: flex; gap: 4px; }
.gnav a {
  display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 500;
  border-radius: 6px; transition: background .2s, color .2s;
}
.gnav a:hover { background: #eef3f7; color: var(--navy); }
.gnav a.current { color: var(--orange-dark); font-weight: 700; }

.header-cta {
  display: flex; align-items: center; gap: 14px;
}
.header-tel { text-align: right; line-height: 1.25; }
.header-tel .num {
  font-family: var(--font-en); font-weight: 700; font-size: 22px; color: var(--navy);
  letter-spacing: .02em;
}
.header-tel .note { font-size: 10.5px; color: var(--text-weak); }
.btn-contact {
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 6px; transition: background .2s;
  white-space: nowrap;
}
.btn-contact:hover { background: var(--orange-dark); }

/* モバイルメニュー */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 1px solid var(--line);
  border-radius: 6px; cursor: pointer; padding: 0 10px;
}
.menu-toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー(トップ) ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/hero.jpg") center 60% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 32, 50, .88) 0%, rgba(14, 32, 50, .62) 45%, rgba(14, 32, 50, .25) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero-en {
  font-family: var(--font-en); font-weight: 600; letter-spacing: .28em;
  color: #f0b078; font-size: 14px; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; line-height: 1.45;
  letter-spacing: .04em; margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero p.lead {
  font-size: clamp(15px, 1.6vw, 17.5px); max-width: 560px; line-height: 2.05;
  margin-bottom: 32px; color: #e8eef4;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; border-radius: 6px; font-weight: 700; font-size: 15.5px;
  transition: .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }

/* ヒーロー下 実務バー */
.factbar { background: var(--navy); color: #fff; }
.factbar .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.factbar .item {
  padding: 20px 18px; text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.factbar .item:first-child { border-left: none; }
.factbar .label { font-size: 11.5px; letter-spacing: .12em; color: #9fb4c6; margin-bottom: 4px; }
.factbar .value { font-weight: 700; font-size: 15.5px; line-height: 1.5; }
.factbar .value .big { font-family: var(--font-en); font-size: 24px; font-weight: 700; color: #f0b078; }

/* ---------- セクション共通 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-en {
  font-family: var(--font-en); font-weight: 600; font-size: 13.5px;
  letter-spacing: .3em; color: var(--orange-dark); display: block; margin-bottom: 8px;
}
.sec-head h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--navy);
  letter-spacing: .04em; line-height: 1.5;
}
.sec-head .sub { margin-top: 12px; color: var(--text-weak); font-size: 15px; max-width: 720px; }
.sec-head.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- カード ---------- */
.cards { display: grid; gap: 26px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 18.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-weak); line-height: 1.9; flex: 1; }
.card .more {
  margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--orange-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }

/* 番号付き強みカード */
.reason { position: relative; padding: 30px 28px; }
.reason .num {
  font-family: var(--font-en); font-weight: 700; font-size: 44px;
  color: #e5ebf1; line-height: 1; margin-bottom: 10px;
}
.reason h3 { font-size: 18px; }

/* ---------- 帯CTA ---------- */
.cta-band {
  position: relative; color: #fff; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/workers.jpg") center / cover no-repeat;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; background: rgba(16, 35, 54, .82);
}
.cta-band .container {
  position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 12px; letter-spacing: .04em; }
.cta-band p { color: #d5dfe8; margin-bottom: 28px; font-size: 15px; }
.cta-band .tel {
  font-family: var(--font-en); font-size: clamp(30px, 4.4vw, 42px); font-weight: 700;
  color: #fff; letter-spacing: .03em; display: block; margin-bottom: 4px;
}
.cta-band .tel-note { font-size: 13px; color: #b7c6d4; margin-bottom: 24px; }

/* ---------- テーブル ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 28%; background: #eef3f7; color: var(--navy); font-weight: 700; white-space: nowrap; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }
.note { font-size: 12.5px; color: var(--text-weak); margin-top: 12px; }
.note.demo { color: #a05c1d; }

/* プレースホルダ表記 */
.ph { color: #a05c1d; background: #fdf3e7; border-radius: 4px; padding: 1px 7px; font-size: .92em; }

/* ---------- 事業内容ページ ---------- */
.svc-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 40px;
}
.svc-block .photo { min-height: 300px; }
.svc-block .photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-block .text { padding: 40px 42px; }
.svc-block.rev .photo { order: 2; }
.svc-block h3 {
  font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 6px;
}
.svc-block .en {
  font-family: var(--font-en); font-size: 12.5px; letter-spacing: .25em;
  color: var(--orange-dark); font-weight: 600; display: block; margin-bottom: 14px;
}
.svc-block p { font-size: 15px; color: var(--text); margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  background: #eef3f7; color: var(--navy-2); font-size: 13px; font-weight: 500;
  padding: 5px 13px; border-radius: 100px; border: 1px solid #dbe5ed;
}

/* フロー */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; box-shadow: var(--shadow); counter-increment: step;
}
.flow li::before {
  content: "0" counter(step);
  font-family: var(--font-en); font-weight: 700; font-size: 30px; color: var(--orange);
  display: block; margin-bottom: 8px; line-height: 1;
}
.flow li:not(:last-child)::after {
  content: "▶"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
  color: #c3cfd9; font-size: 12px; z-index: 2;
}
.flow h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 6px; }
.flow p { font-size: 13.5px; color: var(--text-weak); line-height: 1.8; }

/* ---------- 拠点 ---------- */
.bases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.base {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 28px;
}
.base .kind {
  display: inline-block; background: var(--navy); color: #fff; font-size: 12px;
  font-weight: 700; padding: 3px 12px; border-radius: 100px; margin-bottom: 12px;
  letter-spacing: .08em;
}
.base h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.base p { font-size: 14px; color: var(--text-weak); line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  padding: 20px 24px; font-weight: 700; font-size: 15.5px; color: var(--navy);
  cursor: pointer; list-style: none; position: relative; padding-left: 58px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; background: var(--navy); color: #fff; border-radius: 6px;
  display: grid; place-items: center; font-family: var(--font-en); font-size: 15px;
}
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 22px; font-weight: 400; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 24px 22px 58px; font-size: 14.5px; color: var(--text-weak); }

/* ---------- ページヘッダー(下層) ---------- */
.page-head {
  position: relative; color: #fff; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ph-img, url("img/containers.jpg")) center 35% / cover no-repeat;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 32, 50, .9) 0%, rgba(14, 32, 50, .55) 100%);
}
.page-head .container { position: relative; z-index: 2; padding-top: 74px; padding-bottom: 74px; }
.page-head .en {
  font-family: var(--font-en); letter-spacing: .3em; font-weight: 600;
  color: #f0b078; font-size: 13.5px; display: block; margin-bottom: 8px;
}
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; letter-spacing: .05em; }
.breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-weak);
}
.breadcrumb .container { padding-top: 10px; padding-bottom: 10px; }
.breadcrumb a { color: var(--navy-3); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: "›"; margin: 0 8px; color: #b6c2cd; }

/* ---------- フォーム ---------- */
.form-wrap {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 44px 46px;
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 8px; }
.req {
  background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700;
  border-radius: 4px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px;
}
.opt { background: #8ba0b1; }
.form-row input[type="text"], .form-row input[type="tel"], .form-row input[type="email"],
.form-row select, .form-row textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #c8d3dc; border-radius: 6px;
  font-family: inherit; font-size: 15px; background: #fbfcfd; transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-submit { text-align: center; margin-top: 30px; }
.form-submit .btn { min-width: 260px; }

.contact-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.channel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; padding: 30px 22px;
}
.channel .icon { font-size: 30px; margin-bottom: 8px; }
.channel h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.channel .big {
  font-family: var(--font-en); font-size: 25px; font-weight: 700; color: var(--navy);
  line-height: 1.3;
}
.channel p { font-size: 12.5px; color: var(--text-weak); margin-top: 6px; }

/* ---------- 沿革 ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: #cdd8e1;
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 8px; width: 12px; height: 12px;
  background: var(--orange); border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline .year { font-family: var(--font-en); font-weight: 700; font-size: 19px; color: var(--navy); }
.timeline p { font-size: 14.5px; color: var(--text-weak); }

/* ---------- フッター ---------- */
.footer { background: var(--navy); color: #b9c7d4; margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
  padding: 60px 0 44px;
}
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer .brand-f { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .brand-f .brand-mark { width: 36px; height: 36px; font-size: 17px; }
.footer .brand-f .name { color: #fff; font-weight: 700; font-size: 16.5px; }
.footer p, .footer li { font-size: 13.5px; line-height: 2; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .permit-f { margin-top: 14px; font-size: 12.5px; color: #8aa3b5; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 12px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8aa3b5;
}

/* デモ注記バー */
.demo-note {
  background: #fff8ee; border-top: 1px solid #f0ddc2;
  color: #8a6222; font-size: 12px; text-align: center; padding: 8px 16px;
}

/* ---------- スクロールリビール ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .gnav {
    position: fixed; inset: 72px 0 auto 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(18, 41, 63, .12);
    display: none; z-index: 99;
  }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; padding: 12px 20px 20px; gap: 0; }
  .gnav a { padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-toggle { display: flex; }
  .header-tel { display: none; }
  .factbar .container { grid-template-columns: repeat(2, 1fr); }
  .factbar .item { border-left: none; border-top: 1px solid rgba(255, 255, 255, .12); }
  .factbar .item:nth-child(-n+2) { border-top: none; }
  .factbar .item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .12); }
  .cards.c3, .cards.c2 { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block.rev .photo { order: 0; }
  .svc-block .photo { min-height: 220px; aspect-ratio: 16 / 9; }
  .svc-block .text { padding: 30px 26px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:not(:last-child)::after { display: none; }
  .bases { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .topbar .permit { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { min-height: 480px; }
  .flow { grid-template-columns: 1fr; }
  .form-wrap { padding: 30px 22px; }
  .spec-table th { width: 34%; white-space: normal; }
  .btn-contact { padding: 10px 14px; font-size: 13px; }
}
