/* =============================================================
   名古屋広告 — 下層ページスタイル
   （パンくず / 事業詳細 / コラム / エリア / 会社概要 / お問い合わせ）
   ============================================================= */

/* ===== Page head (下層ヒーロー) ===== */
.page-head {
  background: var(--bg-2);
  border-bottom: 3px solid var(--fg);
  padding: 44px 0 56px;
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; color: var(--fg-muted); margin-bottom: 28px;
}
.crumbs a { color: var(--fg-muted); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs .sep { color: var(--border-soft); }
.crumbs [aria-current="page"] { color: var(--fg); font-weight: 700; }

.page-head h1 {
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 900; letter-spacing: -.02em; line-height: 1.28;
}
.page-head .kicker {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 16px; display: block;
}
.page-head .sub {
  margin-top: 20px; font-size: 16px; line-height: 2.05; color: var(--fg-muted); max-width: 780px;
}

/* ===== 事業詳細 ===== */
.svc-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.svc-hero figure { border: 3px solid var(--fg); box-shadow: var(--shadow); background: var(--surface); }
.svc-hero figure img { width: 100%; }
.svc-hero-txt h2 { font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.02em; }
.svc-hero-txt .lead { margin-top: 20px; font-size: 16px; line-height: 2.1; color: var(--fg-muted); }

.svc-body-wrap { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.svc-article h2 {
  font-size: 24px; font-weight: 900; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 3px solid var(--fg);
}
.svc-article h3 { font-size: 18px; font-weight: 900; margin: 36px 0 14px; }
.svc-article p { font-size: 15.5px; line-height: 2.15; color: #3b4162; margin-bottom: 18px; }
.svc-article p:last-child { margin-bottom: 0; }

.point-list { display: grid; gap: 14px; margin: 26px 0; }
.point-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  background: var(--surface); border: 3px solid var(--fg); padding: 18px 20px;
  font-size: 15px; line-height: 1.9;
}
.point-list li::before {
  content: "✓"; font-weight: 900; color: var(--accent); font-size: 16px; line-height: 1.9;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag {
  font-size: 12px; font-weight: 700; padding: 7px 14px;
  border: 2px solid var(--fg); background: var(--surface);
}
.tag-row .tag-label {
  border: none; background: none; padding-left: 0; color: var(--fg-muted);
  font-family: var(--font-mono); letter-spacing: .1em; font-size: 11px;
  display: inline-flex; align-items: center;
}

.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--surface); border: 3px solid var(--fg); padding: 26px 24px; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: var(--accent); margin-bottom: 16px;
}
.aside-card ul { display: grid; gap: 2px; }
.aside-card li a {
  display: flex; align-items: center; gap: 10px; padding: 11px 4px;
  font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--border-soft);
}
.aside-card li:last-child a { border-bottom: none; }
.aside-card li a:hover { color: var(--accent); }
.aside-card li a .n {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent); flex: none;
}
.aside-card li a[aria-current="page"] { color: var(--accent); }

/* ===== コラム ===== */
.cl-filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.cl-filter {
  padding: 9px 16px; font-size: 13px; font-weight: 700;
  border: 3px solid var(--fg); background: var(--surface);
  transition: background .16s, color .16s;
}
.cl-filter:hover { background: var(--bg-2); }
.cl-filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.cl-count {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted);
  letter-spacing: .1em; margin-bottom: 18px;
}
.cl-empty { padding: 60px 0; text-align: center; color: var(--fg-muted); }

/* コラム記事 */
.post { max-width: 860px; }
.post-head { padding-bottom: 30px; border-bottom: 3px solid var(--fg); margin-bottom: 40px; }
.post-head h1 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; line-height: 1.45; letter-spacing: -.015em; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--fg-muted);
}
.post-meta .cl-cat { font-family: var(--font-body); }
.post-body p { font-size: 16px; line-height: 2.25; color: #333a58; margin-bottom: 26px; }
.post-body p:first-of-type::first-letter { font-size: 1.05em; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.post-nav {
  margin-top: 44px; padding-top: 30px; border-top: 3px solid var(--fg);
  display: grid; gap: 14px;
}
.post-nav a {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
  padding: 16px 18px; border: 3px solid var(--fg); background: var(--surface);
  font-size: 14.5px; font-weight: 700;
}
.post-nav a:hover { background: var(--bg-2); }
.post-nav .dir {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--accent); flex: none;
}

/* ===== エリア ===== */
.pref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pref-card { background: var(--surface); border: 3px solid var(--fg); padding: 28px 26px; }
.pref-card h3 { font-size: 19px; font-weight: 900; display: flex; align-items: baseline; gap: 10px; }
.pref-card h3 .en {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-muted); font-weight: 700;
}
.pref-card p { margin-top: 12px; font-size: 14px; line-height: 1.95; color: var(--fg-muted); }

.city-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.city-row .tag { background: var(--bg-2); }

.note-box {
  margin-top: 34px; background: var(--surface); border-left: 8px solid var(--accent);
  border-top: 3px solid var(--fg); border-right: 3px solid var(--fg); border-bottom: 3px solid var(--fg);
  padding: 24px 28px;
}
.note-box h3 { font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.note-box p { font-size: 14.5px; line-height: 2; color: var(--fg-muted); }

/* ===== 会社概要 table ===== */
.info-tbl { width: 100%; border: 3px solid var(--fg); background: var(--surface); }
.info-tbl th, .info-tbl td {
  border-bottom: 2px solid var(--border); padding: 18px 22px;
  font-size: 15px; text-align: left; vertical-align: top; line-height: 1.9;
}
.info-tbl tr:last-child th, .info-tbl tr:last-child td { border-bottom: none; }
.info-tbl th {
  width: 200px; background: var(--bg-2); font-weight: 700; white-space: nowrap;
}

/* ===== お問い合わせ ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 52px; align-items: start; }
.contact-info h2 { font-size: 24px; font-weight: 900; }
.ci-block { margin-top: 26px; padding-top: 22px; border-top: 3px solid var(--fg); }
.ci-block:first-of-type { border-top: none; padding-top: 0; }
.ci-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: var(--accent); margin-bottom: 8px;
}
.ci-val { font-size: 17px; font-weight: 700; line-height: 1.8; }
.ci-val a { border-bottom: 2px solid var(--accent); }
.ci-note { margin-top: 8px; font-size: 13.5px; color: var(--fg-muted); }

.form { background: var(--surface); border: 3px solid var(--fg); padding: 34px 30px 36px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--bg); border: 3px solid var(--fg);
  padding: 14px 16px; min-height: 54px; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 8px 8px, 8px 8px; background-repeat: no-repeat; padding-right: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.form-note { font-size: 13px; color: var(--fg-muted); line-height: 1.9; margin-bottom: 22px; }
.btn-submit {
  width: 100%; min-height: 60px; padding: 18px;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 900;
  border: 3px solid var(--fg); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: transform .18s, box-shadow .18s;
}
.btn-submit:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--fg); }
.form-ok {
  background: var(--surface); border: 3px solid var(--fg);
  border-left: 8px solid var(--accent); padding: 30px;
}
.form-ok h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.form-ok p { font-size: 15px; line-height: 2; color: var(--fg-muted); }

/* ===== 関連導線 ===== */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card {
  background: var(--surface); border: 3px solid var(--fg); padding: 26px 24px;
  transition: transform .2s, box-shadow .2s;
}
.rel-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--fg); }
.rel-card .n { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .18em; }
.rel-card h3 { font-size: 17px; font-weight: 900; margin-top: 8px; }
.rel-card p { margin-top: 10px; font-size: 13.5px; color: var(--fg-muted); line-height: 1.9; }

/* ===== 2カラム共通 ===== */
.col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.col2 figure { border: 3px solid var(--fg); background: var(--surface); }
.col2 .txt h2 { font-size: 26px; font-weight: 900; margin-bottom: 20px; }
.col2 .txt p { font-size: 15.5px; line-height: 2.1; color: #3b4162; margin-bottom: 18px; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1100px) {
  .svc-body-wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .pref-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-hero { gap: 36px; }
}

@media (max-width: 940px) {
  .page-head { padding: 34px 0 44px; }
  .svc-hero { grid-template-columns: 1fr; gap: 28px; }
  .col2 { grid-template-columns: 1fr; gap: 30px; }
  .info-tbl th { width: 150px; padding: 15px 16px; font-size: 14px; }
  .info-tbl td { padding: 15px 16px; font-size: 14px; }
}

@media (max-width: 767px) {
  .page-head { padding: 26px 0 34px; }
  .page-head .sub { font-size: 15px; }
  .crumbs { font-size: 11px; margin-bottom: 20px; }

  .svc-article p { font-size: 15px; line-height: 2.05; }
  .point-list li { grid-template-columns: 24px 1fr; gap: 10px; padding: 15px 16px; font-size: 14px; }

  .cl-filter { padding: 8px 13px; font-size: 12.5px; }
  .post-body p { font-size: 15.5px; line-height: 2.15; margin-bottom: 22px; }
  .post-head { padding-bottom: 22px; margin-bottom: 30px; }

  .pref-grid { grid-template-columns: 1fr; gap: 16px; }
  .pref-card { padding: 22px 20px; }
  .rel-grid { grid-template-columns: 1fr; gap: 16px; }

  .info-tbl th, .info-tbl td { display: block; width: 100%; padding: 12px 16px; }
  .info-tbl th { border-bottom: none; font-size: 13px; }
  .info-tbl td { padding-top: 0; padding-bottom: 16px; border-bottom: 2px solid var(--border); }

  .form { padding: 24px 18px 26px; }
  .ci-val { font-size: 15.5px; }
  .ci-val a { word-break: break-all; }
}

/* ===== フォーム: エラー / ハニーポット ===== */
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .is-invalid { border-color: var(--accent); background: #fff1ed; }
.form-err {
  margin: -6px 0 18px; padding: 12px 14px; font-size: 14px; font-weight: 700;
  color: var(--accent); background: #fff1ed; border: 2px solid var(--accent);
}
.btn-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-ok:focus { outline: 3px solid var(--accent); outline-offset: 4px; }
