
/* 一番上は決め台詞だけ。説明は下へ行くほど具体的に。白地に黒、差し色は鮮やかな赤をごく一部だけ */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-sub: #5a5a5a;
  --ink-faint: #9a9a9a;
  --line: #e6e6e6;
  --tint: #f5f5f5;
  --red: #e60012;
  --red-dark: #c4000f;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --latin: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --w: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.95; letter-spacing: .02em; margin: 0; padding-inline: 24px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { max-width: var(--w); margin-inline: auto; }
.note-draft { max-width: var(--w); margin: 10px auto 0; font-size: 12px; color: var(--ink-faint); }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; }
header.site img { height: 30px; width: auto; display: block; }
nav.main { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; font-size: 14px; }
nav.main a { text-decoration: none; }
nav.main a:hover { text-decoration: underline; text-underline-offset: 5px; }
nav.main .cta { background: var(--red); color: #fff; padding: 7px 18px; border-radius: 999px; font-weight: 700; }
nav.main .cta:hover { background: var(--red-dark); text-decoration: none; }
a:hover { text-decoration-color: var(--red); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand small { font-size: 12px; color: var(--ink-sub); border-left: 1px solid var(--line); padding-left: 14px; }

/* 決め台詞 */
.hero { min-height: min(78vh, 760px); display: grid; align-content: center; padding-block: 64px 96px; }
.hero .kw { font-size: 14px; font-weight: 500; color: var(--ink-sub); margin: 0 0 22px; }
.hero .tagline { font-weight: 900; font-size: clamp(40px, 11vw, 150px); line-height: 1.18; letter-spacing: -.01em; margin: 0; }
.hero .tagline .ph { display: inline-block; }
.hero .tagline .dot { color: var(--red); }
.hero .en { font-family: var(--latin); font-weight: 500; font-size: clamp(15px, 1.6vw, 19px); color: var(--ink-sub); margin: 28px 0 0; letter-spacing: .01em; }

/* 共通の見出し */
.label { font-family: var(--latin); font-weight: 600; font-size: 13px; letter-spacing: .08em; margin: 0 0 18px; }
section.sec { padding-block: 120px 0; }
section.sec.first { padding-top: 0; }
.more { font-size: 14px; font-weight: 700; text-underline-offset: 6px; }

/* 私たちについて */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; border-top: 1px solid var(--ink); padding-top: 40px; }
.about .lede { font-weight: 900; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.6; margin: 0; }
.about .lede .ph { display: inline-block; }
.about p { margin: 0 0 1.2em; max-width: 34em; }

/* 事業：1行ずつ */
.biz { border-top: 1px solid var(--ink); }
.biz a.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 40px; align-items: baseline; padding-block: 30px; border-bottom: 1px solid var(--line); text-decoration: none; }
.biz a.row:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.biz h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.biz p { margin: 0; color: var(--ink-sub); }
.biz .arrow { font-family: var(--latin); font-size: 20px; }

/* 自社でつくったもの */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; border-top: 1px solid var(--ink); padding-top: 36px; }
.works .fig { aspect-ratio: 4 / 3; background: var(--tint); display: grid; place-items: center; margin-bottom: 18px; color: var(--red); font-family: var(--latin); font-weight: 600; font-size: clamp(44px, 5.4vw, 72px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.works .fig small { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-sub); text-align: center; margin-top: 4px; letter-spacing: .02em; }
.works h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.works p { margin: 0; color: var(--ink-sub); font-size: 15px; }
.works-foot { margin-top: 36px; }
.sec-h { font-weight: 900; font-size: clamp(32px, 5vw, 64px); line-height: 1.3; margin: 0 0 22px; }
.sec-h .ph { display: inline-block; }
.sec-sub { margin: 0 0 48px; max-width: 34em; color: var(--ink-sub); }
.works .fig div { text-align: center; line-height: 1.1; }
.works .fig .u { font-size: .6em; margin-left: 2px; }
.also { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.also li { padding-block: 16px; font-size: 14px; font-weight: 500; }
.also li::before { content: "＋ "; color: var(--red); font-weight: 700; }
@media (max-width: 860px) { .also { grid-template-columns: minmax(0, 1fr); } }

/* お知らせ */
.news { border-top: 1px solid var(--ink); }
.news li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.news ul { margin: 0; padding: 0; list-style: none; }
.news time { font-family: var(--latin); color: var(--ink-sub); font-variant-numeric: tabular-nums; }

/* お問い合わせの帯 */
.contact { margin: 140px -24px 0; background: var(--ink); color: var(--bg); padding: 96px 24px; }
.contact-in { max-width: var(--w); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.contact h2 { margin: 0; font-weight: 900; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.35; }
.contact h2 .ph { display: inline-block; }
.contact p { margin: 18px 0 0; color: #c9c9c9; }
.contact a.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 16px 34px; border-radius: 999px; white-space: nowrap; }
.contact a.btn:hover { background: var(--red-dark); }
.contact a:focus-visible { outline-color: var(--bg); }

.serp { max-width: var(--w); margin: 14px auto 0; padding: 14px 18px; border: 1px dashed #c9c9c9; border-radius: 8px; font-family: Arial, sans-serif; line-height: 1.5; }
.serp p { margin: 0; }
.serp-cap { font-size: 11px; color: var(--ink-faint); margin-bottom: 6px !important; }
.serp-t { color: #1a0dab; font-size: 18px; }
.serp-u { color: #006621; font-size: 13px; }
.serp-d { color: #4d5156; font-size: 13px; max-width: 46em; }

/* 料金 */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; border-top: 1px solid var(--ink); padding-top: 40px; }
.price-big { margin: 0; font-weight: 900; line-height: 1; }
.price-big .num { font-family: var(--latin); font-weight: 600; font-size: clamp(120px, 17vw, 220px); letter-spacing: -.04em; color: var(--red); }
.price-big .unit { font-size: clamp(32px, 4.4vw, 56px); margin-left: 8px; }
.price-lead .ph { display: inline-block; }
.price-lead { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.8; margin: 28px 0 0; max-width: 24em; }
.price .note { margin: 20px 0 0; font-size: 12px; color: var(--ink-faint); line-height: 1.8; max-width: 40em; }
.why { list-style: none; margin: 0; padding: 0; counter-reset: why; align-self: end; }
.why li { counter-increment: why; padding: 22px 0 22px 3.2em; border-top: 1px solid var(--line); position: relative; }
.why li:last-child { border-bottom: 1px solid var(--line); }
.why li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: var(--latin); font-weight: 600; font-size: 14px; color: var(--red); }
.why h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; }
.why p { margin: 0; color: var(--ink-sub); font-size: 15px; }

/* 比較 */
.cmp-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; color: var(--ink-sub); font-weight: 500; }
.cmp tbody th { font-weight: 700; width: 9em; padding-left: 0; }
.cmp td { color: var(--ink-sub); }
.cmp .us { color: var(--ink); font-weight: 700; background: #fff5f5; }
.cmp thead .us { color: var(--red); font-weight: 900; font-size: 15px; }

.assure { margin: 14px 0 0; font-size: 13px; color: #c9c9c9; }
.assure::before { content: "✓ "; color: var(--red); font-weight: 700; }
.addr { font-style: normal; }
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* 社名はロゴの字で。日本語は文節で折り返す */
.wm { height: .9em; width: auto; display: inline-block; vertical-align: -0.06em; margin: 0 .12em; }
body, p, li, td, th, h1, h2, h3, dd, address { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
.cmp .wm-th { height: 20px; }
.f-co { display: grid; gap: 4px; }
.f-name { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; }
.f-name img { height: 22px; width: auto; }
.f-copy { margin: 0; width: 100%; font-size: 12px; }
footer.site { padding-block: 40px 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-sub); }
footer.site img { height: 22px; width: auto; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .hero { min-height: 0; padding-block: 56px 72px; }
  .about, .contact-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .biz a.row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; }
  .biz a.row p { grid-column: 1 / -1; grid-row: 2; }
  .works { grid-template-columns: minmax(0, 1fr); }
  section.sec { padding-block: 88px 0; }
  .news li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  nav.main { gap: 18px; }
}

/* ===== 使いやすさ（全ページ共通） ===== */
html { scroll-padding-top: 96px; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
header.site::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #fff; z-index: -1; border-bottom: 1px solid transparent; }
header.site.scrolled::before { border-bottom-color: var(--line); }
.h-right { display: flex; align-items: center; gap: 26px; }
header.site .cta { background: var(--red); color: #fff; padding: 7px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
header.site .cta:hover { background: var(--red-dark); }
nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; font: inherit; font-size: 14px; font-weight: 700; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 16px; cursor: pointer; color: var(--ink); }
.menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
a.card-link:hover .fig { background: #efefef; }
.price-cta { margin-top: 28px; }
.price-cta a { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 28px; border-radius: 999px; }
.price-cta a:hover { background: var(--red-dark); }
.ext::after { content: "↗"; font-size: .85em; margin-left: 3px; }
@media (max-width: 860px) {
  header.site { flex-wrap: nowrap; padding-block: 14px; }
  .brand small { display: none; }
  .menu-btn { display: inline-block; }
  .h-right { gap: 10px; }
  nav.main { display: none; position: absolute; left: -24px; right: -24px; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 16px; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
  nav.main a[aria-current="page"] { text-decoration: none; color: var(--red); font-weight: 700; }
}
@media (max-width: 420px) {
  header.site .brand img { height: 24px; }
  header.site .cta { padding: 6px 12px; font-size: 13px; }
  .menu-btn { padding: 6px 12px; font-size: 13px; }
  .h-right { gap: 8px; }
}
@media (max-width: 600px) { .ph { display: inline !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
