:root {
  --c-primary: #0a1a3a;
  --c-navy: var(--c-primary);
  --c-navy-2: #13244a;
  --c-navy-3: #1e3162;
  --c-accent: #ffffff;
  --c-accent-hover: rgba(255, 255, 255, 0.85);
  --c-accent-sub: #4da3c9;
  --c-accent-sub-hover: #5db8d9;
  --c-accent-sub-glow: rgba(77, 163, 201, 0.22);
  --c-text: #1a2035;
  --c-text-muted: #5c6279;
  --c-border: #e1e5ee;
  --c-bg-light: #f6f8fb;
  --c-white: #ffffff;
  --header-h: 64px;
  --container-max: 1120px;
  --container-narrow: 720px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(10, 26, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 26, 58, 0.1);
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--c-accent-sub);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
  .sp-only {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  min-width: 260px;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--c-accent-hover);
  color: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border);
  z-index: 100;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--c-navy);
}

.logo-img {
  display: block;
  height: 28px;
  width: auto;
}

.logo-footer .logo-img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

.global-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 20px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
}

.global-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.nav-list a {
  display: block;
  padding: 12px 8px;
  font-weight: 500;
  border-bottom: 1px solid var(--c-border);
}

.nav-cta {
  width: 100%;
  background: var(--c-accent-sub);
  color: var(--c-white);
}

.nav-cta:hover {
  background: var(--c-accent-sub-hover);
  color: var(--c-white);
}

.nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-navy);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
  .global-nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .nav-list {
    flex-direction: row;
    margin-bottom: 0;
    gap: 2px;
  }
  .nav-list a {
    border: none;
    padding: 8px 10px;
    font-size: 13px;
  }
  .nav-cta {
    width: auto;
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  padding: calc(var(--header-h) + 32px) 0 32px;
  background-image: url('/assets/img/prodig-biz-hero-02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--c-white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 26, 58, 0.82) 0%, rgba(10, 26, 58, 0.55) 60%, rgba(10, 26, 58, 0.4) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-title {
  font-size: 32px;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 15px;
  color: #cfd6e4;
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.hero-tel {
  display: flex;
  flex-direction: column;
}

.tel-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.tel-number::before {
  content: "\260E";
  margin-right: 6px;
  font-size: 0.85em;
  color: var(--c-white);
}

.tel-hours {
  font-size: 12px;
  color: #b4bccf;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 65vh;
    padding: calc(var(--header-h) + 56px) 0 56px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-lead {
    font-size: 17px;
    max-width: 680px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
}

/* ---------- Section base ---------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--c-bg-light);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-accent-sub);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--c-text-muted);
  font-size: 15px;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
  .section-title {
    font-size: 36px;
  }
}

/* ---------- Service ---------- */
.service-grid {
  display: grid;
  gap: 20px;
}

.service-card {
  background: var(--c-white);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent-sub);
}

.service-image {
  position: relative;
  background: #e8eff5;
  min-height: 200px;
  overflow: hidden;
}

.service-image::before {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 26, 58, 0.25);
  font-size: 14px;
  letter-spacing: 0.24em;
  font-weight: 600;
  z-index: 0;
}

.service-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 20px;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--c-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.service-desc strong {
  color: var(--c-primary);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(77, 163, 201, 0.22) 60%);
  padding: 0 2px;
}

.service-use {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-use li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--c-text);
}

.service-use li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--c-accent-sub);
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent-sub);
  padding-top: 16px;
  border-top: 1px dashed var(--c-border);
}

.service-link span {
  transition: transform var(--transition);
}

.service-link:hover {
  color: var(--c-accent-sub-hover);
}

.service-link:hover span {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .service-card {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-areas: "body image";
  }
  .service-body {
    grid-area: body;
    padding: 32px;
  }
  .service-image {
    grid-area: image;
    min-height: 100%;
  }
}

/* ---------- Strength ---------- */
.strength-grid {
  display: grid;
  gap: 16px;
}

.strength-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.strength-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--c-accent-sub);
}

.strength-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.strength-body {
  flex: 1;
  min-width: 0;
}

.strength-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--c-primary);
}

.strength-desc {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .strength-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
  .strength-card {
    grid-column: span 2;
    padding: 28px;
  }
  .strength-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .strength-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ---------- Case ---------- */
.case-grid {
  display: grid;
  gap: 20px;
}

.case-card {
  background: var(--c-white);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-image {
  position: relative;
  background: #e8eff5;
  aspect-ratio: 4 / 1;
  overflow: hidden;
}

.case-image::before {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 26, 58, 0.25);
  font-size: 14px;
  letter-spacing: 0.24em;
  font-weight: 600;
  z-index: 0;
}

.case-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-accent-sub);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.case-title {
  font-size: 18px;
  color: var(--c-primary);
  margin: 0;
}

.case-title-suffix {
  font-size: 0.72em;
  font-weight: 500;
  margin-left: 2px;
  color: var(--c-text-muted);
}

.case-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.8;
}

.case-number {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--c-border);
  font-size: 14px;
  color: var(--c-primary);
  font-weight: 500;
}

.case-number strong {
  color: var(--c-accent-sub);
  font-size: 26px;
  font-weight: 700;
  margin: 0 4px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .case-body {
    padding: 28px;
  }
}

/* ---------- Company info ---------- */
.company-info {
  margin: 0 auto 56px;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e5e5e5;
}

.company-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
}

.company-label {
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.company-value {
  font-size: 15px;
  color: var(--c-primary);
  margin: 0;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .company-row {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
    padding: 18px 8px;
  }
  .company-label {
    flex: 0 0 160px;
    font-size: 13px;
  }
  .company-value {
    flex: 1;
  }
}

/* ---------- Initiative ---------- */
.initiative-list {
  display: flex;
  flex-direction: column;
}

.initiative-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid #e5e5e5;
}

.initiative-item:first-child {
  padding-top: 0;
}

.initiative-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.initiative-title {
  font-size: 18px;
  color: var(--c-primary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.initiative-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.9;
}

.initiative-logo {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.initiative-logo::before {
  content: "LOGO";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 26, 58, 0.2);
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 600;
  z-index: 0;
}

.initiative-logo img {
  position: relative;
  z-index: 1;
  max-width: 100px;
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .initiative-item {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 32px 0;
  }
  .initiative-body {
    flex: 1;
  }
  .initiative-logo {
    flex: 0 0 160px;
    min-height: 72px;
  }
  .initiative-logo img {
    max-width: 120px;
    max-height: 72px;
  }
  .initiative-title {
    font-size: 20px;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--c-accent-sub);
  color: var(--c-white);
  padding: 48px 0;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.cta-band-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.cta-band-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.cta-band .tel-hours {
  color: rgba(255, 255, 255, 0.85);
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.cta-band-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-band-tel .tel-hours {
  text-align: center;
}

@media (min-width: 900px) {
  .cta-band-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .cta-band-actions {
    flex-direction: row;
    width: auto;
    gap: 24px;
  }
  .cta-band-title {
    font-size: 24px;
  }
}

/* ---------- Page head (sub pages) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-3) 100%);
  color: var(--c-white);
  padding: calc(var(--header-h) + 48px) 0 48px;
  text-align: center;
}

.page-head .section-eyebrow {
  color: var(--c-accent-sub);
}

.page-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 14px;
  color: #cfd6e4;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-head {
    padding: calc(var(--header-h) + 72px) 0 72px;
  }
  .page-title {
    font-size: 40px;
  }
  .page-lead {
    font-size: 16px;
  }
}

/* ---------- Form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--c-white);
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.required {
  display: inline-block;
  background: var(--c-accent-sub);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-accent-sub);
  box-shadow: 0 0 0 3px var(--c-accent-sub-glow);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #d63c3c;
  box-shadow: 0 0 0 3px rgba(214, 60, 60, 0.12);
}

.form-actions {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.form-actions .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form {
    padding: 40px 40px;
  }
  .form-actions .btn {
    width: auto;
    min-width: 280px;
  }
}

/* ---------- Thanks ---------- */
.thanks-section {
  padding-top: calc(var(--header-h) + 72px);
}

.thanks-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.thanks-title {
  font-size: 24px;
  color: var(--c-navy);
  margin-bottom: 16px;
}

.thanks-message {
  color: var(--c-text-muted);
  margin-bottom: 32px;
  line-height: 1.9;
}

.thanks-actions {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .thanks-card {
    padding: 64px 40px;
  }
  .thanks-title {
    font-size: 28px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy);
  color: #cfd6e4;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.logo-footer {
  color: var(--c-white);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-cols {
  display: grid;
  gap: 28px;
}

.footer-heading {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-white);
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  color: #cfd6e4;
}

.footer-col a:hover {
  color: var(--c-accent-sub);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 12px;
  color: #7b839a;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 56px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
