@charset "UTF-8";

/* ===== 基本設定 ===== */
:root {
  --navy: #0e2a47;
  --navy-dark: #081c30;
  --red: #c8102e;
  --red-dark: #a00d25;
  --gray-bg: #f4f6f8;
  --text: #1c2530;
  --text-light: #5a6673;
  --border: #dfe4e9;
  --max: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, table { margin: 0; }
ul { list-style: none; padding: 0; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { display: flex; color: var(--navy); }
.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--navy);
  line-height: 1.15;
}
.logo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #7c8794;
  margin-top: 3px;
}

.global-nav ul { display: flex; align-items: center; gap: 28px; }
.global-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: color .2s;
}
.global-nav a:hover { color: var(--red); }

.nav-contact {
  background: var(--red);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  transition: background .2s;
}
.nav-contact:hover { background: var(--red-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== ヒーロー ===== */
.hero {
  background:
    linear-gradient(rgba(8, 28, 48, .82), rgba(8, 28, 48, .88)),
    linear-gradient(135deg, #17456f 0%, #0e2a47 60%, #081c30 100%);
  color: #fff;
  padding: 108px 24px 116px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }

.hero-catch {
  font-size: clamp(32px, 5.6vw, 56px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero-lead { font-size: 17px; line-height: 2; color: rgba(255,255,255,.9); margin-bottom: 40px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-block;
  padding: 17px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: background .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== お知らせバー ===== */
.notice-bar {
  max-width: var(--max);
  margin: -34px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--red);
  border-radius: 4px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(14, 42, 71, .1);
  position: relative;
  z-index: 2;
}
.notice-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .1em;
}
.notice-bar p { font-size: 15px; }

/* ===== セクション共通 ===== */
.section { padding: 96px 24px; }
.section-alt { background: var(--gray-bg); }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-title {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: .04em;
}
.section-title .en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .22em;
  margin-bottom: 10px;
}

/* ===== カード（事業内容） ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 28px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 10px 30px rgba(14,42,71,.1); transform: translateY(-4px); }
.card-icon { color: var(--red); margin-bottom: 18px; }
.card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.card p { font-size: 14.5px; color: var(--text-light); line-height: 1.95; }

/* ===== 選ばれる理由 ===== */
.reason-list { display: grid; gap: 24px; }
.reason {
  background: #fff;
  border-radius: 6px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px 24px;
  align-items: start;
}
.reason-num {
  grid-row: span 2;
  font-size: 42px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.02em;
}
.reason h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.reason p { font-size: 15px; color: var(--text-light); }

/* ===== 施工実績 ===== */
.work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.work-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.95);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
}
.work-thumb-1 { background: linear-gradient(135deg, #17456f, #0e2a47); }
.work-thumb-2 { background: linear-gradient(135deg, #2a5f8f, #17456f); }
.work-thumb-3 { background: linear-gradient(135deg, #3d7099, #234f76); }
.work-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); padding: 22px 24px 10px; }
.work-card p { font-size: 14px; color: var(--text-light); padding: 0 24px 26px; line-height: 1.9; }

.works-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* ===== 会社概要 ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.company-table th,
.company-table td {
  padding: 20px 28px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 190px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
}
.company-table td a { color: var(--red); text-decoration: underline; }
.company-table td a:hover { text-decoration: none; }

/* ===== お問い合わせ ===== */
.contact-lead { text-align: center; font-size: 16px; margin-bottom: 44px; line-height: 2; }

.contact-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.contact-tel,
.contact-mail { background: #fff; padding: 44px 32px; text-align: center; }

.contact-tel-label,
.contact-mail-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.contact-tel-number {
  display: block;
  font-size: clamp(30px, 4.4vw, 40px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: .02em;
  line-height: 1.3;
}
.contact-tel-hours,
.contact-mail-note { font-size: 13px; color: var(--text-light); margin-top: 12px; }
.contact-mail .btn { margin-top: 4px; }

/* ===== フッター ===== */
.site-footer { background: var(--navy-dark); color: #fff; padding: 56px 24px 36px; }
.footer-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 32px;
}
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.82); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-address {
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  margin-bottom: 18px;
  line-height: 1.9;
}
.copyright { font-size: 12.5px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

/* ===== レスポンシブ ===== */
.sp-only { display: none; }

@media (max-width: 900px) {
  .sp-only { display: inline; }

  .menu-toggle { display: flex; }

  .global-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .global-nav.is-open { max-height: 460px; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .global-nav li { border-bottom: 1px solid var(--border); }
  .global-nav li:last-child { border-bottom: none; }
  .global-nav a { display: block; padding: 16px 24px; }
  .nav-contact { margin: 12px 24px; text-align: center; }

  .hero { padding: 72px 24px 84px; }
  .hero-buttons .btn { flex: 1 1 100%; }

  .notice-bar { flex-direction: column; align-items: flex-start; gap: 8px; margin-inline: 16px; }

  .section { padding: 68px 24px; }
  .section-title { margin-bottom: 40px; }

  .reason { padding: 28px 24px; grid-template-columns: 1fr; gap: 10px; }
  .reason-num { grid-row: auto; font-size: 34px; }

  .company-table th,
  .company-table td { display: block; width: 100%; padding: 14px 20px; }
  .company-table th { border-bottom: none; }
}
