:root {
  --navy: #0f2744;
  --blue: #1d67a8;
  --sky: #e8f3fb;
  --line: #dbe5ee;
  --light: #f5f8fb;
  --text: #203040;
  --muted: #64748b;
  --white: #fff;
  --accent: #f4b63f;
  --shadow: 0 16px 40px rgba(15, 39, 68, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  position: relative;
  flex: 0 0 auto;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 3px solid var(--accent);
  border-left: 0;
  border-bottom: 0;
  right: 8px;
  top: 8px;
}
.brand-text { display: grid; line-height: 1.25; font-size: 15px; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; color: var(--navy); }
.nav a { padding: 8px 2px; }
.nav a.active { color: var(--blue); }
.nav-cta {
  padding: 9px 16px !important;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white) !important;
}
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--navy); transition: .2s; }
.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - 74px);
  color: var(--white);
  background: var(--navy);
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hero-copy-panel {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0b223d 0%, #123f6e 58%, #1d67a8 100%);
}
.hero-body {
  width: min(560px, calc(100% - 56px));
  margin-left: max(28px, calc((100vw - 1120px) / 2));
  padding: 11vh 0;
}
.hero-photo-panel { min-height: calc(100vh - 74px); }
.hero-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 74px);
  object-fit: cover;
  object-position: center center;
}
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero .eyebrow { color: #bfe0f5; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; color: inherit; font-size: clamp(34px, 5vw, 58px); line-height: 1.28; letter-spacing: 0; }
.hero-copy { margin: 22px 0 0; font-size: 17px; max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  border: 1px solid var(--blue);
}
.btn.secondary { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn.outline { background: transparent; color: var(--blue); border-color: var(--blue); }

.section { padding: 82px 0; }
.section-soft { background: var(--light); }
.section-blue { background: var(--navy); color: var(--white); }
.section-blue .eyebrow { color: #9ed4f4; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.section-head > div { max-width: 720px; }
.heading { margin: 0; color: var(--navy); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; }
.section-blue .heading { color: var(--white); }
.lead { color: var(--muted); font-size: 16px; margin: 16px 0 0; }
.section-blue .lead { color: #d8e6f2; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(15, 39, 68, .05);
}
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); }
.number { color: var(--blue); font-weight: 900; font-size: 13px; margin-bottom: 10px; }
.service-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.service-chip { display: flex; align-items: center; gap: 12px; border-left: 4px solid var(--blue); background: var(--white); padding: 15px 18px; border-radius: 6px; font-weight: 800; color: var(--navy); box-shadow: 0 6px 20px rgba(15,39,68,.06); }
.service-chip::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--blue); flex: 0 0 auto; box-shadow: 0 0 0 4px var(--sky); }
.image-panel { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.image-panel img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.work-card { overflow: hidden; padding: 0; }
.work-card img { height: 210px; width: 100%; object-fit: cover; object-position: center center; }
.work-card img.work-store-ac-img { object-position: center top; }
.work-card .body { padding: 24px; }
.meta { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--blue); font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.link-arrow { display: inline-flex; margin-top: 18px; color: var(--blue); font-weight: 800; }

.page-hero { background: var(--light); padding: 72px 0; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 44px; align-items: center; }
.page-hero img { border-radius: 8px; height: 340px; width: 100%; object-fit: cover; object-position: center center; box-shadow: var(--shadow); }

.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: table; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 16px 18px; text-align: left; vertical-align: top; }
.table th { width: 190px; background: var(--light); color: var(--navy); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

.timeline { display: grid; gap: 12px; }
.timeline-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.timeline-row strong { color: var(--blue); }
.flow { counter-reset: step; display: grid; gap: 14px; }
.flow li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px 18px 58px; position: relative; }
.flow li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--blue); color: var(--white); border-radius: 50%; font-weight: 800; font-size: 13px; }
.work-style-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; }
.work-style-list li { list-style: none; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; padding: 16px 18px; color: var(--text); }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd8e4;
  border-radius: 6px;
  padding: 12px 13px;
  min-height: 46px;
  font: inherit;
  background: var(--white);
}
textarea { min-height: 160px; resize: vertical; }
.note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 800; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta-band { background: var(--navy); color: var(--white); padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.5; }
.cta-inner p { margin: 8px 0 0; color: #d8e6f2; }
.footer { background: #071827; color: #d6e2ed; padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer .brand { color: var(--white); }
.footer h4 { color: var(--white); margin: 0 0 12px; }
.footer p { margin: 6px 0; color: #b9c8d6; }
.footer-links { display: grid; gap: 7px; }
.fiction { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; color: #9fb0bf; font-size: 12px; }

@media (max-width: 900px) {
  .container { width: min(100% - 28px, 1120px); }
  .menu-button { display: block; }
  .nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; border-radius: 6px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero { min-height: auto; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo-panel { order: 1; min-height: 310px; }
  .hero-photo-panel img { min-height: 310px; height: 48vh; object-position: center center; }
  .hero-copy-panel { order: 2; }
  .hero-body { width: min(100% - 28px, 720px); margin: 0 auto; padding: 58px 0 62px; }
  .section { padding: 58px 0; }
  .section-head, .cta-inner { display: grid; align-items: start; }
  .grid-3, .grid-2, .split, .page-hero-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0; }
  .page-hero img { height: 250px; }
}

@media (max-width: 560px) {
  .brand-text { font-size: 13px; }
  .brand-mark { width: 34px; height: 34px; }
  .actions, .btn { width: 100%; }
  .service-list, .form-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 4px; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding-bottom: 6px; }
  .table td { padding-top: 6px; }
}
