:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #f0f4f7;
  --text: #17232d;
  --muted: #5f7282;
  --line: #d7e0e7;
  --accent: #1c4e80;
  --accent-2: #0d2f4f;
  --accent-soft: #eaf2f8;
  --success: #2f7d5b;
  --max: 1180px;
  --shadow: 0 16px 40px rgba(15, 35, 52, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700;
}
.section-title {
  margin: 14px 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2;
}
.section-lead { color: var(--muted); font-size: 16px; max-width: 760px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.header {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.86); border-bottom: 1px solid rgba(215,224,231,0.9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; flex-direction: column; }
.brand strong { font-size: 20px; letter-spacing: .04em; }
.brand span { color: var(--muted); font-size: 12px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--accent-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700;
  transition: .2s ease; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.02); }
.btn-secondary { border-color: var(--line); background: #fff; color: var(--accent-2); }
.btn-secondary:hover { background: #f7fbff; transform: translateY(-1px); }
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d2f4f 0%, #1c4e80 52%, #2a6ca6 100%); color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 28%),
              radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 35%);
}
.hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px;
  align-items: center; min-height: 78vh; padding: 72px 0;
}
.hero h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.08; margin: 16px 0 18px; letter-spacing: .02em; }
.hero p { font-size: 17px; color: rgba(255,255,255,.84); max-width: 640px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.hero-points span {
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(255,255,255,.08); font-size: 13px;
}
.hero-panel {
  padding: 26px; border-radius: 28px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
}
.hero-panel h2 { margin: 0 0 12px; font-size: 18px; }
.hero-panel ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.86); }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.kpi div {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 18px;
}
.kpi strong { display: block; font-size: 28px; line-height: 1; margin-bottom: 8px; }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.media-card { overflow: hidden; }
.media-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pad { padding: 28px; }
.list-check { margin: 18px 0 0; padding: 0; list-style: none; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--muted); }
.list-check li::before {
  content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--success);
}
.service-card { overflow: hidden; }
.service-card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dbe7f0, #f7fbff); }
.service-card .badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.service-card h3, .work-card h3 { margin: 14px 0 10px; font-size: 23px; }
.service-card p, .work-card p, .muted { color: var(--muted); }
.work-card { overflow: hidden; }
.work-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.work-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.work-meta span {
  font-size: 12px; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 6px 10px; font-weight: 700;
}
.notice {
  border-left: 4px solid var(--accent); background: #fff; border-radius: 18px; padding: 18px 20px; color: var(--muted);
}
.table-wrap { overflow: auto; }
.table {
  width: 100%; border-collapse: collapse; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.table th, .table td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { width: 180px; color: var(--muted); font-weight: 700; background: #f8fbfd; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 700; font-size: 14px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; background: #fff;
}
textarea { min-height: 180px; resize: vertical; }
.footer {
  background: #0f1f2d; color: rgba(255,255,255,.82); padding: 48px 0 28px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.footer a { color: rgba(255,255,255,.76); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }
.cta-band {
  padding: 28px; background: linear-gradient(135deg, #eff6fb, #fff); border: 1px solid var(--line); border-radius: 28px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.page-hero { padding: 72px 0 44px; background: linear-gradient(180deg, #eef5fa 0%, rgba(238,245,250,0) 100%); }
.page-hero h1 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 54px); }
.breadcrumb { color: var(--muted); font-size: 14px; }
.two-col-list { columns: 2; gap: 24px; padding-left: 18px; }
.gallery-note { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) {
  .hero-inner, .split, .grid-3, .grid-2, .footer-grid, .form-grid, .kpi { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-inner { min-height: 70px; }
  .hero-inner { min-height: auto; padding: 56px 0; }
  .section { padding: 68px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .two-col-list { columns: 1; }
}


.btn-secondary-solid {
  background: #ffffff;
  color: var(--accent-2) !important;
  border-color: rgba(255,255,255,0.65);
  box-shadow: 0 10px 24px rgba(13,47,79,0.18);
}
.btn-secondary-solid:hover {
  background: #f4f8fc;
}
.hero-home {
  background: linear-gradient(135deg, #174a7c 0%, #235d94 48%, #2f6aa3 100%);
}
.hero-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  min-height: 78vh;
  padding: 72px 0;
}
.hero-eyebrow {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.hero-media-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(11,34,57,0.22);
}
.hero-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}
.hero-cta-row {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.service-card-photo { overflow: hidden; }
.service-card-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (max-width: 980px) {
  .hero-home-grid { grid-template-columns: 1fr; min-height: auto; padding: 56px 0; }
}


.portrait-card {
  overflow: hidden;
  padding: 18px;
  background: #eef2f5;
}
.portrait-card img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: center top;
  border-radius: 20px;
  background: #eef2f5;
}
