/*
 * 株式会社ブリッツ コーポレートサイト
 *
 * 速さが目的なので、外部フォント・外部スクリプト・フレームワークは使わない。
 * このファイル1枚（約6KB）と画像だけで完結する。
 */

:root {
  --blue: #005bac;
  --blue-dark: #00417a;
  --blue-soft: #eaf3fb;
  --yellow: #ffe100;
  --ink: #1a1d21;
  --ink-2: #4a5058;
  --ink-3: #7b828b;
  --line: #e2e6ea;
  --bg: #ffffff;
  --bg-2: #f6f8fa;
  --radius: 10px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- ヘッダー */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 104px; }
.logo span {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* メニューは JS なしで開閉する（チェックボックス方式） */
#nav-toggle { display: none; }
.nav-button { display: none; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:hover { background: var(--bg-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .cta a {
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
}
.site-nav .cta a:hover { background: var(--blue-dark); color: #fff; }

@media (max-width: 860px) {
  .nav-button {
    display: block;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    position: relative;
  }
  .nav-button::before,
  .nav-button::after,
  .nav-button i {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--ink);
    transition: 0.2s;
  }
  .nav-button::before { top: 15px; }
  .nav-button i { top: 21px; }
  .nav-button::after { top: 27px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 8px 24px 16px;
  }
  #nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .cta a {
    margin-top: 12px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 0;
  }
}

/* ---------------------------------------------------------------- ヒーロー */

.hero {
  position: relative;
  background: var(--blue-dark);
  color: #fff;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.hero .wrap {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.hero h1 .bolt { color: var(--yellow); }
.hero p {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 部品 */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.15s;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #ffea4d; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }

section { padding: 72px 0; }
section.tint { background: var(--bg-2); }

.section-head { margin-bottom: 40px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.4;
}
.section-head p { margin: 12px 0 0; color: var(--ink-2); max-width: 44em; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin: 0 0 10px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.card .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
}

/* 表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 168px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}
.spec-table td ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 620px) {
  .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table th { border-bottom: 0; padding-bottom: 0; }
}

/* 新サービスの帯 */
.promo {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: #fff;
  border-radius: 14px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.promo h2 { margin: 0 0 10px; font-size: clamp(20px, 3vw, 26px); }
.promo p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 15px; max-width: 40em; }
.promo .badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
@media (max-width: 780px) {
  .promo { grid-template-columns: 1fr; padding: 30px 24px; }
}

/* ページ見出し */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.page-head h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); }
.page-head .crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.page-head .crumbs a { color: var(--ink-3); }

.prose { max-width: 46em; }
.prose h2 { font-size: 21px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 1.4em; }
.prose li { margin-bottom: 6px; }

/* お問い合わせ */
.form-grid { display: grid; gap: 18px; max-width: 620px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.field .req { color: #c62828; font-size: 12px; margin-left: 4px; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.15);
}
.hp { position: absolute; left: -9999px; }

.note {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.alert-ok {
  background: #e8f5e9;
  border-left-color: #2e7d32;
  color: #1b5e20;
}
.alert-ng {
  background: #fdecea;
  border-left-color: #c62828;
  color: #8e1c1c;
}

/* 連絡先 */
.contact-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
}
.contact-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.contact-card .tel {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.contact-card address { font-style: normal; font-size: 15px; color: var(--ink-2); }

/* ---------------------------------------------------------------- フッター */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 28px;
  font-size: 14px;
}
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .logo img { width: 96px; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.copyright { padding-top: 22px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* 印刷時は背景を落として紙を節約する */
@media print {
  .site-header, .site-footer, .hero img.bg { display: none; }
  body { font-size: 12pt; }
}
