/* =============================================================
   名古屋広告 — グローバルスタイル
   アイボリー × 朱赤 × 紺 / フラット & ハードシャドウ
   PC(1320) / タブレット(768-1024) / スマホ(-767) の3段対応
   ============================================================= */

:root {
  --bg: #f5efe3;
  --bg-2: #ebe3d2;
  --surface: #ffffff;
  --border: #1a1f3a;
  --border-soft: #d4c9b3;
  --fg: #1a1f3a;
  --fg-strong: #0d1228;
  --fg-muted: #5a6280;
  --accent: #e8401e;
  --accent-2: #ffc23c;
  --accent-fg: #ffffff;
  --shadow: 6px 6px 0 #1a1f3a;
  --shadow-sm: 4px 4px 0 #1a1f3a;

  --font-display: "Anton", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  --font-mono: "JetBrains Mono", "Noto Sans Mono", monospace;
  --font-brand: "RocknRoll One", "Noto Sans JP", sans-serif;

  --header-h: 92px;
  --wrap: 1320px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--fg); color: #fff; padding: 12px 20px;
  z-index: 300; font-weight: 700; border: 3px solid #fff;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ===== Layout ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sec { padding: 112px 0; position: relative; }
.sec-tight { padding: 80px 0; }

.sec-num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--accent); letter-spacing: .2em; margin-bottom: 18px; display: block;
}

/* ===== Type ===== */
h1, h2, h3, h4 { line-height: 1.35; text-wrap: balance; }
p { text-wrap: pretty; }

.h-display {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: .01em; line-height: 1.02;
}
.accent { color: var(--accent); }

.sec-head { margin-bottom: 56px; }
.sec-head h2 {
  font-size: clamp(30px, 4vw, 52px); font-weight: 900; letter-spacing: -.015em; line-height: 1.28;
}
.sec-head .lead {
  margin-top: 18px; max-width: 640px; color: var(--fg-muted); font-size: 16px; line-height: 2;
}
.sec-head-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.sec-head-split .lead { margin-top: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 16px 30px;
  font-weight: 700; font-size: 15px; letter-spacing: .03em;
  border: 3px solid var(--border); transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--border); }
.btn-ghost { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--border); }
.btn-arrow { width: 22px; height: 2px; background: currentColor; position: relative; flex: none; }
.btn-arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px; border-top: 2px solid currentColor;
  border-right: 2px solid currentColor; transform: rotate(45deg);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.tlink:hover { color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg); border-bottom: 3px solid var(--fg);
}
.header-in {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-logo { height: 52px; width: auto; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-brand); font-size: 24px; color: var(--fg-strong); letter-spacing: .04em; }
.brand-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: var(--fg-muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 10px 14px; font-size: 14px; font-weight: 700; position: relative;
  transition: color .18s; white-space: nowrap;
}
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px;
  height: 3px; background: var(--accent);
}
.nav-cta {
  margin-left: 14px; padding: 12px 22px; min-height: 46px;
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 700; font-size: 14px; border: 3px solid var(--fg);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; white-space: nowrap;
}
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--fg); }

.menu-btn {
  display: none; width: 48px; height: 48px; flex: none;
  border: 3px solid var(--fg); background: var(--surface);
  place-items: center;
}
.menu-btn i {
  display: block; width: 22px; height: 3px; background: var(--fg); position: relative;
}
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 3px; background: var(--fg);
  transition: transform .2s, top .2s;
}
.menu-btn i::before { top: -7px; }
.menu-btn i::after { top: 7px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

/* ===== Hero (home) ===== */
.hero { padding: 72px 0 88px; border-bottom: 3px solid var(--fg); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: var(--fg-muted); margin-bottom: 26px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 18px; }
.hero-meta span + span::before { content: "—"; color: var(--border-soft); }
.hero h1 { font-size: clamp(38px, 5.6vw, 74px); font-weight: 900; letter-spacing: -.02em; line-height: 1.18; }
.hero-sub { margin-top: 26px; font-size: 16px; line-height: 2.05; color: var(--fg-muted); max-width: 560px; }
.hero-sub strong { color: var(--fg); font-weight: 700; }
.hero-cta { margin-top: 34px; }
.hero-note {
  margin-top: 22px; font-size: 13px; color: var(--fg-muted);
  display: flex; align-items: center; gap: 10px;
}
.hero-note::before {
  content: ""; width: 8px; height: 8px; background: var(--accent); flex: none;
}
.hero-fig { position: relative; }
.hero-fig img {
  width: 100%; border: 3px solid var(--fg); box-shadow: var(--shadow); background: var(--surface);
}
.hero-tag {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  background: var(--fg); color: #fff; font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: .18em; padding: 8px 14px;
}

/* ===== Ticker ===== */
.ticker {
  border-top: 3px solid var(--fg); border-bottom: 3px solid var(--fg);
  background: var(--fg); color: var(--bg); overflow: hidden;
  padding: 12px 0; margin-top: 24px;
}
.ticker-track {
  display: flex; white-space: nowrap; width: max-content;
  animation: tick 42s linear infinite;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .16em;
}
.ticker-track > span { display: inline-flex; align-items: center; }
.ticker-star { color: var(--accent); margin: 0 20px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ===== Service grid ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--surface); border: 3px solid var(--fg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--fg); }
.svc-card figure { border-bottom: 3px solid var(--fg); overflow: hidden; aspect-ratio: 4/3; }
.svc-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover figure img { transform: scale(1.035); }
.svc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 10px;
}
.svc-body h3 { font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.svc-en {
  display: block; font-family: var(--font-mono); font-size: 10px;
  font-weight: 700; letter-spacing: .12em; color: var(--fg-muted); margin-top: 5px;
}
.svc-body p { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: var(--fg-muted); }
.svc-more {
  margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 700;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
}
.svc-card:hover .svc-more { text-decoration: underline; }

/* ===== Strengths ===== */
.why { background: var(--bg-2); border-top: 3px solid var(--fg); border-bottom: 3px solid var(--fg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { background: var(--surface); border: 3px solid var(--fg); padding: 32px 28px 34px; }
.why-num {
  font-family: var(--font-display); font-size: 46px; line-height: 1;
  color: var(--accent); margin-bottom: 14px;
}
.why-card h3 { font-size: 20px; font-weight: 900; }
.why-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--fg-muted); }

/* ===== Process ===== */
.steps { display: grid; gap: 0; border-top: 3px solid var(--fg); }
.step {
  display: grid; grid-template-columns: 84px 1fr 130px; gap: 28px;
  align-items: start; padding: 30px 8px; border-bottom: 3px solid var(--fg);
}
.step-num {
  font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--accent);
}
.step h3 { font-size: 19px; font-weight: 900; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.95; color: var(--fg-muted); max-width: 720px; }
.step-meta {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; color: var(--fg-muted); text-align: right; padding-top: 8px;
}

/* ===== Area strip ===== */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card {
  background: var(--surface); border: 3px solid var(--fg); padding: 24px 26px;
}
.area-card h3 { font-size: 17px; font-weight: 900; }
.area-card p { margin-top: 6px; font-size: 13.5px; color: var(--fg-muted); line-height: 1.8; }
.area-wide {
  margin-top: 20px; background: var(--fg); color: var(--bg);
  border: 3px solid var(--fg); padding: 28px 32px;
  display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; justify-content: space-between;
}
.area-wide b { font-size: 20px; font-weight: 900; color: #fff; }
.area-wide span { font-size: 14px; color: #c9cfe4; }

/* ===== News / column list ===== */
.cl-list { border-top: 3px solid var(--fg); }
.cl-item {
  display: grid; grid-template-columns: 150px 1fr 40px; gap: 26px;
  align-items: start; padding: 26px 8px; border-bottom: 3px solid var(--fg);
  transition: background .18s;
}
.cl-item:hover { background: var(--surface); }
.cl-meta { display: flex; flex-direction: column; gap: 8px; }
.cl-date { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.cl-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  border: 2px solid var(--fg); padding: 3px 9px; align-self: flex-start; background: var(--bg-2);
}
.cl-item h3 { font-size: 18px; font-weight: 900; line-height: 1.6; }
.cl-item .sm { margin-top: 8px; font-size: 14px; color: var(--fg-muted); line-height: 1.9; }
.cl-arrow { font-size: 20px; color: var(--accent); text-align: right; padding-top: 4px; }

/* ===== FAQ ===== */
.faq { border-top: 3px solid var(--fg); }
.faq-item { border-bottom: 3px solid var(--fg); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 8px; font-size: 17px; font-weight: 700; line-height: 1.7;
}
.faq-q-mark {
  font-family: var(--font-display); color: var(--accent); font-size: 20px; flex: none; line-height: 1.5;
}
.faq-toggle {
  margin-left: auto; flex: none; width: 30px; height: 30px; border: 3px solid var(--fg);
  display: grid; place-items: center; font-size: 18px; font-weight: 700; line-height: 1;
  background: var(--surface); transition: background .18s, color .18s;
}
.faq-item.open .faq-toggle { background: var(--accent); color: #fff; border-color: var(--fg); }
.faq-a { display: none; padding: 0 8px 26px 46px; font-size: 15px; line-height: 2; color: var(--fg-muted); }
.faq-item.open .faq-a { display: block; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--accent); color: #fff;
  border-top: 3px solid var(--fg); border-bottom: 3px solid var(--fg);
  padding: 72px 0;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; color: #fff; line-height: 1.35; }
.cta-band p { margin-top: 16px; font-size: 15.5px; color: #ffe6df; max-width: 620px; }
.cta-band .btn { background: #fff; color: var(--fg); border-color: var(--fg); box-shadow: var(--shadow-sm); }
.cta-band .btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--fg); }
.cta-mail {
  margin-top: 26px; font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  color: #fff; border-bottom: 2px solid rgba(255,255,255,.6); display: inline-block;
}

/* ===== Footer ===== */
.site-footer { background: var(--fg); color: #c9cfe4; padding: 72px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.foot-brand img { height: 54px; width: auto; background: #fff; padding: 8px; margin-bottom: 18px; }
.foot-brand p { font-size: 13.5px; line-height: 1.95; color: #9aa3c0; max-width: 340px; }
.foot-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: var(--accent-2); margin-bottom: 18px;
}
.foot-col li { margin-bottom: 11px; }
.foot-col a { font-size: 13.5px; color: #c9cfe4; transition: color .18s; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-info { font-size: 13px; line-height: 1.9; color: #9aa3c0; margin-top: 12px; }
.foot-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid #333a5c;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #7d87a8;
}

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   Responsive — タブレット
   ============================================================= */
@media (max-width: 1100px) {
  .wrap { padding: 0 26px; }
  .header-in { padding: 12px 26px; }
  .nav-link { padding: 10px 10px; font-size: 13.5px; }
  .brand-name { font-size: 21px; }
  .brand-logo { height: 46px; }
  .hero-grid { gap: 38px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 18px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 940px) {
  :root { --header-h: 78px; }
  .nav {
    display: none;
  }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); border-top: 3px solid var(--fg);
    padding: 12px 26px 40px; overflow-y: auto; z-index: 99;
  }
  .nav.open .nav-link {
    padding: 20px 0; font-size: 19px; border-bottom: 2px solid var(--border-soft);
  }
  .nav.open .nav-link[aria-current="page"]::after { left: 0; right: auto; width: 56px; bottom: 12px; }
  .nav.open .nav-cta { margin: 26px 0 0; padding: 20px; justify-content: center; font-size: 16px; }
  .menu-btn { display: grid; }
  .hero { padding: 52px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-sub { max-width: none; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head-split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .step { grid-template-columns: 62px 1fr; gap: 18px; }
  .step-meta { grid-column: 2; text-align: left; padding-top: 0; }
  .step-num { font-size: 32px; }
  .cl-item { grid-template-columns: 1fr; gap: 12px; }
  .cl-meta { flex-direction: row; align-items: center; gap: 12px; }
  .cl-arrow { display: none; }
}

/* =============================================================
   Responsive — スマホ
   ============================================================= */
@media (max-width: 767px) {
  body { font-size: 15.5px; line-height: 1.9; }
  .wrap { padding: 0 20px; }
  .header-in { padding: 10px 20px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .brand-logo { height: 40px; }
  .nav.open { padding: 10px 20px 34px; }

  .sec { padding: 64px 0; }
  .sec-tight { padding: 52px 0; }
  .sec-head h2 { font-size: 27px; }
  .sec-head .lead { font-size: 15px; }

  .hero { padding: 40px 0 34px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; margin-top: 20px; line-height: 1.95; }
  .hero-tag { top: -12px; right: 0; font-size: 9px; padding: 6px 10px; }
  .btn-row { gap: 12px; }
  .btn { width: 100%; min-height: 54px; }

  .ticker { padding: 10px 0; }
  .ticker-track { font-size: 11.5px; }

  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-body { padding: 20px 20px 22px; }
  .svc-body h3 { font-size: 19px; }

  .why-card { padding: 24px 20px 26px; }
  .why-num { font-size: 38px; }

  .step { padding: 24px 4px; grid-template-columns: 46px 1fr; gap: 14px; }
  .step-num { font-size: 26px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 14px; }

  .area-grid { grid-template-columns: 1fr; gap: 14px; }
  .area-wide { padding: 22px 20px; flex-direction: column; align-items: flex-start; }

  .cl-item { padding: 22px 4px; }
  .cl-item h3 { font-size: 16.5px; }
  .cl-item .sm { font-size: 13.5px; }

  .faq-q { font-size: 15.5px; padding: 20px 4px; gap: 12px; }
  .faq-a { padding: 0 4px 22px 34px; font-size: 14.5px; }

  .cta-band { padding: 52px 0; }
  .cta-band p { font-size: 14.5px; }
  .cta-mail { font-size: 13px; word-break: break-all; }

  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding: 54px 0 26px; }
  .foot-bottom { margin-top: 36px; font-size: 10px; }
}

/* ===== メニュー開時のスクロールロック ===== */
html.menu-open body { overflow: hidden; }

/* ===== スマホ用 固定CTAバー ===== */
.sp-cta { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .sp-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 2fr; gap: 0;
    background: var(--fg); border-top: 3px solid var(--fg);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .sp-cta a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; font-weight: 700; font-size: 14px; letter-spacing: .02em;
    border: 3px solid var(--fg);
  }
  .sp-cta-mail { background: var(--surface); color: var(--fg); border-right-width: 0 !important; }
  .sp-cta-main { background: var(--accent); color: #fff; }
  .sp-cta-ic { font-size: 15px; }
  .sp-cta .btn-arrow { width: 18px; }
  html.menu-open .sp-cta { display: none; }
  .svc-aside { position: static; }
}
