:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --copper: #d9772b;
  --copper-soft: #fbeee3;
  --ink: #1c2530;
  --muted: #5b6774;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }


/* ヘッダー */
header.site {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
header.site .inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { font-weight: 900; font-size: 20px; letter-spacing: .04em; color: var(--navy); }
.logo small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .1em; }
header.site nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
header.site nav a:hover { color: var(--copper); }
.btn-contact-sm {
  background: var(--copper); color: #fff; padding: 8px 16px; border-radius: 6px; font-weight: 700; font-size: 14px;
}

/* メインビジュアル */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(217,119,43,.10), transparent 40%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
}
.hero .inner {
  max-width: 1160px; margin: 0 auto; padding: 72px 20px 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: clamp(16px, 1.8vw, 20px); font-weight: 900; color: var(--copper);
  background: var(--copper-soft); padding: 6px 18px; border-radius: 999px; margin-bottom: 22px; letter-spacing: .04em;
}
.hero h1 {
  margin: 0 0 24px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; font-weight: 900; color: var(--navy);
  letter-spacing: .02em;
}
.hero h1 .em { color: var(--copper); }
.hero h1 .line { display: inline-block; }
.hero p.lead { margin: 0 0 32px; font-size: 16px; color: var(--muted); max-width: 34em; }
.hero p.lead strong { color: var(--ink); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 4px 14px rgba(217,119,43,.3); }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.note .mail { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* 右側：4サービス＋ひとつの窓口 */
.hub {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px;
  box-shadow: 0 2px 10px rgba(15,42,68,.05);
}
.svc .tag { font-size: 11px; font-weight: 700; color: var(--copper); letter-spacing: .05em; }
.svc .name { font-size: 18px; font-weight: 900; color: var(--navy); margin: 2px 0 4px; }
.svc .desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.svc { display: flex; flex-direction: column; }
.svc .desc { flex: 1; }
.svc .verb {
  align-self: flex-start; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 900; color: #fff;
}
.svc .verb small { font-size: 10px; font-weight: 500; margin-left: 6px; opacity: .9; }
/* トップイメージの電線の色とそろえる（買う=赤・売る=緑・借りる=黄・依頼する=青） */
.svc .verbs { display: flex; gap: 6px; }
.verb-buy { background: #e5484d; }
.verb-sell { background: #3fb26f; }
.verb-rent { background: #f2c230; color: var(--navy) !important; }
.verb-ask { background: #4c8fe0; }
.svc .go { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--copper); }
.svc:hover .go { text-decoration: underline; }
.svc.minor { background: transparent; box-shadow: none; border-style: dashed; }
.svc.minor .name { font-size: 15px; color: var(--muted); }
.center {
  grid-column: 1 / -1; order: 0;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.center .t { font-weight: 900; font-size: 17px; }
.center .s { font-size: 12px; color: #c9d6e3; }
.center .badge {
  flex-shrink: 0; background: var(--copper); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700;
}

/* トップイメージ（写真コラージュ） */
.visual {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 200px; gap: 12px;
}
.ph { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #e9edf2; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-main { grid-column: 1 / -1; }
.ph-main img { object-position: 50% 40%; }
.ph figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(15,42,68,.85); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .05em;
}
.choice {
  border-radius: 14px; background: var(--navy); color: #fff; padding: 16px 16px 12px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.choice-t { font-weight: 900; font-size: 15px; line-height: 1.5; }
.choice svg { width: 100%; height: auto; max-height: 130px; }

/* 4つのサービス（メインビジュアルの下） */
.services .inner { max-width: 1160px; margin: 0 auto; padding: 48px 20px 64px; }
.services .hub { grid-template-columns: repeat(4, 1fr); }

html { scroll-behavior: smooth; }
section .inner { max-width: 1160px; margin: 0 auto; padding: 72px 20px; }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-en { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--copper); }
.sec-en.light { color: #f0b383; }
h2 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: var(--navy); line-height: 1.45; }
.sec-head p:not(.sec-en) { margin: 0; color: var(--muted); }
.verb {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 900; color: #fff;
}

/* 状況から選ぶ */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-col { display: flex; flex-direction: column; gap: 10px; }
.g-verb { text-align: center; font-size: 18px; font-weight: 900; color: #fff; border-radius: 10px; padding: 10px; }
.g-item {
  display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; transition: border-color .15s;
}
.g-item:hover { border-color: var(--copper); }
.g-item .q { font-weight: 700; font-size: 14px; line-height: 1.5; }
.g-item .to { font-size: 12px; color: var(--copper); font-weight: 700; }
.g-item .to::before { content: "→ "; }
.guide-more { margin-top: 32px; }
.gm-head { margin: 0 0 12px; font-weight: 900; color: var(--navy); font-size: 17px; }
.gm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gm-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.gm-q { margin: 0 0 10px; font-weight: 900; font-size: 16px; color: var(--ink); }
.gm-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.gm-card li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gm-card li .verb { font-size: 12px; padding: 2px 10px; min-width: 4.2em; text-align: center; }
.gm-card a { color: var(--copper); font-weight: 700; text-decoration: underline; }
.gm-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.guide-sub { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.g-sub-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.g-sub-item b { display: inline-block; min-width: 4.5em; color: var(--navy); }
.g-sub-item a { color: var(--copper); font-weight: 700; text-decoration: underline; }
.g-unsure { border-color: var(--navy); }

/* つながり */
.flow-steps {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  counter-reset: step;
}
.flow-steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted);
}
.flow-steps li .verb { align-self: flex-start; }
.flow-steps li b { font-size: 17px; color: var(--navy); }
.flow-steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
  color: var(--copper); font-weight: 900; font-size: 18px;
}
.flow-loop {
  margin: 20px 0 0; text-align: center; font-weight: 700; color: var(--navy);
  background: var(--copper-soft); border-radius: 999px; padding: 10px 16px;
}

/* 運営元はひとつ */
.team-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.team p { color: var(--muted); }
.team .small { font-size: 13px; }
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cases li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
  display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: center; font-size: 14px;
}
.cases .from { font-size: 12px; color: var(--muted); }
.cases .arrow { color: var(--copper); font-weight: 900; }
.cases .next { font-weight: 700; color: var(--navy); }

/* お問い合わせ */
.contact-box {
  background: var(--navy); color: #fff; border-radius: 16px; padding: 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.contact-box h2 { color: #fff; }
.contact-box p { color: #c9d6e3; }
.topics { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.contact-ways { display: grid; gap: 12px; }
.way { display: grid; background: #fff; color: var(--ink); border-radius: 10px; padding: 14px 18px; }
.way .lbl { font-size: 12px; color: var(--muted); }
.way .val { font-size: 22px; font-weight: 900; color: var(--navy); }
.way .sub { font-size: 12px; color: var(--muted); }
.way-btn { justify-content: center; }

/* 会社概要 */
.company-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.company .creed { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.7; }
.company .more { color: var(--copper); font-weight: 700; font-size: 14px; }
.company table { width: 100%; border-collapse: collapse; font-size: 14px; }
.company th, .company td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.company th { width: 8em; color: var(--muted); font-weight: 500; }

/* フッター */
.site-foot { background: var(--navy); color: #c9d6e3; font-size: 13px; }
.site-foot .inner {
  max-width: 1160px; margin: 0 auto; padding: 40px 20px 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.logo.light { color: #fff; }
.logo.light small { color: #8fa6bd; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links .h { margin: 0 0 4px; color: #fff; font-weight: 700; }
.foot-links a:hover { color: #fff; }
.copy { margin: 0; text-align: center; padding: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: #8fa6bd; }

@media (max-width: 860px) {
  section .inner { padding: 48px 16px; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .gm-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps li:nth-child(2)::after { content: none; }
  .team-inner, .company-inner, .contact-box { grid-template-columns: 1fr; gap: 28px; }
  .contact-box { padding: 28px 20px; }
  .site-foot .inner { grid-template-columns: 1fr 1fr; padding: 32px 16px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .visual { grid-template-rows: 200px 180px; }
  .services .hub { grid-template-columns: 1fr 1fr; }
  .services .inner { padding: 36px 16px 48px; }
  header.site nav { display: none; }
  .hero .inner { grid-template-columns: 1fr; padding: 48px 16px 56px; gap: 36px; }
  header.site .inner { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 420px) {
  .hub, .services .hub { grid-template-columns: 1fr; }
  .visual { grid-template-columns: 1fr; grid-template-rows: 200px 180px auto; }
  .ph-main { grid-column: auto; }
  .guide-grid, .flow-steps { grid-template-columns: 1fr; }
  .flow-steps li::after { content: none !important; }
  .cases li { grid-template-columns: 1fr; gap: 2px; }
  .cases .arrow { display: none; }
  .center { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
}

/* ===== 下層ページ共通 ===== */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .inner { max-width: 1160px; margin: 0 auto; padding: 36px 20px 32px; }
.crumb { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.crumb a { color: var(--copper); }
.page-head h1 { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--navy); line-height: 1.45; }
.page-head .lead { margin: 10px 0 0; color: var(--muted); }
.page-body .inner { max-width: 880px; }
.page-body.wide .inner { max-width: 1160px; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { margin: 2em 0 .6em; padding-left: 12px; border-left: 4px solid var(--copper); font-size: 22px; }
.prose h3 { margin: 1.6em 0 .4em; font-size: 17px; color: var(--navy); }
.prose ul { padding-left: 1.4em; }
.prose a { color: var(--copper); text-decoration: underline; }
.sign { text-align: right; margin-top: 2em; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 11em; color: var(--muted); font-weight: 500; }
.info-table td a { color: var(--copper); text-decoration: underline; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.link-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .15s; }
.link-card:hover { border-color: var(--copper); }
.link-card .t { font-weight: 900; font-size: 17px; color: var(--navy); }
.link-card .d { margin-top: 4px; font-size: 14px; color: var(--muted); }
.link-card .go { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--copper); }
.svc-block { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc-block .name { font-size: 22px; font-weight: 900; color: var(--navy); }
.svc-block .verbs { display: flex; gap: 6px; margin-bottom: 8px; }
.svc-block p { margin: 0 0 12px; }
.svc-block .btn { padding: 10px 20px; font-size: 14px; }
.note-box { background: var(--copper-soft); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.note-box b { color: var(--navy); }
.note-box a { color: var(--copper); font-weight: 700; text-decoration: underline; }
/* 設備販売 */
.goods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.goods-grid a { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.goods-grid a:hover { border-color: var(--copper); }
.goods-grid img { width: 100%; height: 170px; object-fit: contain; background: #fff; padding: 10px; }
.goods-grid .t { padding: 0 16px; font-weight: 700; font-size: 14px; color: var(--navy); line-height: 1.5; }
.goods-grid .d { padding: 6px 16px 16px; font-size: 13px; color: var(--muted); }
.cat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.cat-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-weight: 700; font-size: 14px; }
.cat-list a:hover { border-color: var(--copper); color: var(--copper); }
.use-row { display: grid; grid-template-columns: 16em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.use-row b { color: var(--navy); }
.use-row a { color: var(--copper); text-decoration: underline; margin-right: 14px; }
.demo-cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 48px; }
.demo-cta h2 { color: #fff; margin: 0 0 6px; }
.demo-cta p { margin: 0; color: #c9d6e3; }
/* お問い合わせフォーム */
.form-table { width: 100%; border-collapse: collapse; }
.form-table th, .form-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.form-table th { width: 12em; font-weight: 700; font-size: 14px; }
.form-table th .req { display: inline-block; margin-left: 6px; font-size: 11px; color: #fff; background: #e5484d; border-radius: 4px; padding: 0 6px; }
.form-table input[type=text], .form-table input[type=email], .form-table input[type=tel], .form-table select, .form-table textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c5ccd5; border-radius: 8px; background: #fff;
}
.form-table textarea { min-height: 160px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.form-actions { text-align: center; margin-top: 28px; }
.form-actions .btn { border: 0; cursor: pointer; font-family: inherit; }
.small-note { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .card-grid.three, .goods-grid, .cat-list { grid-template-columns: 1fr 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: 8px; }
  .demo-cta { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid.three, .goods-grid, .cat-list { grid-template-columns: 1fr; }
  .info-table th, .form-table th { display: block; width: auto; border-bottom: 0; padding-bottom: 0; }
  .info-table td, .form-table td { display: block; padding-top: 6px; }
  .use-row { grid-template-columns: 1fr; gap: 4px; }
}
.goods-grid .t, .goods-grid .d { display: block; }
.sec-title { margin: 48px 0 16px; font-size: 22px; font-weight: 900; color: var(--navy); padding-left: 12px; border-left: 4px solid var(--copper); }
.creed-big { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--navy); line-height: 1.6; margin: 0 0 1.4em; }
.greet-photo { float: right; width: 240px; max-width: 40%; margin: 0 0 16px 24px; border-radius: 12px; }
@media (max-width: 560px) { .greet-photo { float: none; display: block; width: 100%; max-width: 320px; margin: 0 auto 20px; } }
.sitemap ul { padding-left: 1.2em; line-height: 2.1; margin: 0; }
.sitemap a { color: var(--copper); }
.sitemap .sec-title { margin-top: 0; }
section.page-body .inner { padding-top: 40px; }
.page-body .note-box:first-child { margin-top: 0; }
.page-body .sec-title:first-child { margin-top: 0; }
.greet-photo { float: none !important; display: block; width: 100% !important; max-width: 720px !important; margin: 0 0 28px !important; border-radius: 12px; }
.prose a.link-card { color: inherit; text-decoration: none; }
.confirm-table td { white-space: pre-wrap; word-break: break-all; }
.form-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-box { background: #fdecec; }
.error-list { margin-top: 10px; color: #c62828; }
.error-list p { margin: 4px 0; }
.logo img { display: block; height: 36px; width: auto; }
.logo.light img { height: 32px; margin-bottom: 6px; }
@media (max-width: 560px) { header.site .logo img { height: 28px; } }
header.site .logo img { height: 46px; }
@media (max-width: 560px) { header.site .logo img { height: 34px; } }
