:root {
  --navy: #1e3a5f;
  --navy-dark: #142942;
  --orange: #e8722c;
  --orange-dark: #d1611f;
  --bg: #ffffff;
  --bg-alt: #f6f4f0;
  --text: #26282b;
  --muted: #6b6f76;
  --border: #e6e3dd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { padding-left: 1.2em; }

.sample-ribbon {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 8px;
  letter-spacing: 0.03em;
}

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.logo-sample {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 4px;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  opacity: 0.9;
}
.nav a:hover { opacity: 1; text-decoration: underline; }

.btn-call {
  background: var(--orange);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.btn-call:hover { background: var(--orange-dark); }

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 96px 20px;
  text-align: center;
}

.hero-inner { max-width: 720px; margin: 0 auto; }

.hero h1 {
  font-size: 36px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-secondary:hover { background: #eee; }

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px;
}

.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }

.section-title {
  font-size: 26px;
  text-align: center;
  margin: 0 0 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 14px auto 0;
}

.cards {
  display: grid;
  gap: 24px;
}

.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.card-icon { font-size: 32px; margin-bottom: 12px; }
.card h3 { font-size: 16px; margin: 0 0 10px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

.work-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.work-photo {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #d9d4c9, #d9d4c9 10px, #ece8df 10px, #ece8df 20px);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.work-card figcaption {
  padding: 12px 16px;
  font-size: 14px;
}

.hint-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}

.service-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.voice-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.voice-card p { font-size: 14px; margin: 0 0 14px; }
.voice-author { font-size: 13px; color: var(--muted); text-align: right; }

.company-table {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th, .company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.company-table th {
  width: 140px;
  color: var(--muted);
  font-weight: 600;
}

.map-wrap {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-section { text-align: center; }
.contact-section p { color: var(--muted); margin-bottom: 28px; }

.site-footer {
  background: var(--navy-dark);
  color: #cfd6de;
  text-align: center;
  font-size: 12px;
  padding: 24px 20px;
}

.sp-only { display: none; }

@media (max-width: 860px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 64px 20px; }
  .hero h1 { font-size: 28px; }
  .sp-only { display: inline; }
}

@media (max-width: 480px) {
  .cards-4 { grid-template-columns: 1fr; }
  .header-inner { justify-content: space-between; }
  .logo { font-size: 16px; }
}
