:root {
  --navy: #0c2340;
  --navy-2: #13325a;
  --blue: #1d6fb8;
  --accent: #e8a317;
  --accent-dark: #c98a0a;
  --text: #1f2530;
  --muted: #5d6675;
  --line: #dde1e7;
  --gray: #f3f4f6;
  --white: #fff;
  --radius: 6px;
  --en: "Oswald", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.sp { display: none; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  width: min(1200px, 100% - 32px); margin-inline: auto;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.logo__img { width: 46px; height: auto; }
.logo__text { font-size: 19px; letter-spacing: .08em; line-height: 1.2; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--en); font-size: 10px; letter-spacing: .3em; color: var(--blue); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:not(.nav__cta):hover { color: var(--blue); }
.nav__cta {
  background: var(--navy); color: var(--white); font-weight: 700;
  padding: 9px 20px; border-radius: 999px; transition: background .2s;
}
.nav__cta:hover { background: var(--blue); }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--navy); box-shadow: 0 8px 24px rgba(232,163,23,.35); }
.btn--primary:hover { background: #f4b834; }
.btn--ghost { border: 2px solid rgba(255,255,255,.7); color: var(--white); font-family: var(--en); letter-spacing: .06em; font-size: 18px; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 880px); display: flex; align-items: center;
  color: var(--white); overflow: hidden; padding: 120px 0 80px;
  background: var(--navy);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(12,35,64,.94) 30%, rgba(12,35,64,.55) 65%, rgba(12,35,64,.2));
}
.hero__inner { position: relative; z-index: 2; width: min(1120px, 100% - 40px); margin-inline: auto; }
.hero__en { font-family: var(--en); letter-spacing: .3em; color: var(--accent); font-size: 14px; margin-bottom: 18px; }
.hero__title { font-size: clamp(40px, 7vw, 76px); font-weight: 900; line-height: 1.25; letter-spacing: .04em; }
.hero__lead { margin-top: 28px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.hero__badges li {
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  padding: 10px 18px; font-size: 13px; color: rgba(255,255,255,.8);
}
.hero__badges strong { color: var(--accent); font-size: 17px; margin-right: 6px; }

/* ---------- Section common ---------- */
.section { padding: 110px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--navy); color: var(--white); }
.section-en {
  font-family: var(--en); letter-spacing: .25em; color: var(--accent-dark);
  font-size: 14px; display: flex; align-items: center; gap: 12px;
}
.section-en::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .section-en { color: var(--accent); }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.45; margin: 10px 0 48px; letter-spacing: .03em; }
.section-lead { margin: -28px 0 40px; color: var(--muted); }

/* ---------- Partner ---------- */
.partner { background: var(--accent); padding: 100px 0; color: var(--navy); }
.partner .section-en { color: var(--navy); }
.partner__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.partner .section-title { margin-bottom: 24px; }
.partner__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 16px 16px 0 var(--navy); }
.partner__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner__text p + p { margin-top: 16px; }
.partner__text { font-weight: 500; }

/* ---------- Service ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden;
  display: grid; grid-template-columns: 42% 1fr;
  transition: box-shadow .25s, transform .25s;
}
.service__img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }
.service__body { padding: 30px 28px; border-top: 4px solid var(--navy); }
.service:hover { box-shadow: 0 14px 40px rgba(15,30,51,.1); transform: translateY(-4px); }
.service__num { font-family: var(--en); font-size: 40px; color: var(--accent); line-height: 1; }
.service h3 { font-size: 21px; margin: 14px 0 12px; }
.service p { color: var(--muted); font-size: 15px; }

.targets {
  margin-top: 48px; background: var(--gray); border-radius: var(--radius);
  padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
}
.targets__label { font-weight: 700; }
.targets ul { display: flex; flex-wrap: wrap; gap: 10px; }
.targets li { background: var(--navy); color: var(--white); padding: 6px 18px; border-radius: 999px; font-size: 14px; }
.targets__note { width: 100%; font-size: 14px; color: var(--muted); }

/* ---------- Strength ---------- */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength {
  background: var(--navy-2); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.strength__img { aspect-ratio: 16 / 10; overflow: hidden; }
.strength__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strength__body { padding: 32px 30px 36px; }
.strength__no { font-family: var(--en); letter-spacing: .15em; color: var(--accent); font-size: 14px; }
.strength h3 { font-size: 22px; line-height: 1.5; margin: 12px 0 18px; }
.strength p { color: rgba(255,255,255,.75); font-size: 15px; }

/* ---------- Works ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.work[hidden] { display: none; }
.work__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--gray); }
.work__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.work:hover .work__img img { transform: scale(1.05); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text);
}
.filters button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.work figcaption { margin-top: 12px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.work small { width: 100%; color: var(--muted); font-weight: 400; font-size: 13px; }
.tag { background: var(--accent); color: var(--navy); font-size: 12px; padding: 2px 10px; border-radius: 3px; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow li {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 28px 22px; border: 1px solid var(--line);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; z-index: 1;
  border: 8px solid transparent; border-left: 10px solid var(--accent); transform: translateY(-50%);
}
.flow span { font-family: var(--en); color: var(--accent-dark); letter-spacing: .1em; font-size: 13px; }
.flow h3 { font-size: 18px; margin: 6px 0 10px; }
.flow p { font-size: 14px; color: var(--muted); }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area .section-title { margin-bottom: 20px; }
.area__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area__list li {
  text-align: center; padding: 22px 8px; border-radius: var(--radius);
  border: 1px solid var(--line); font-weight: 700;
}
.area__list .is-main { background: var(--navy); color: var(--white); border-color: var(--navy); position: relative; }
.area__list .is-main::before {
  content: "拠点エリア"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--navy); font-size: 11px; padding: 0 8px; border-radius: 3px; white-space: nowrap;
}

/* ---------- Company ---------- */
.company { background: var(--white); border-radius: var(--radius); padding: 16px 40px; max-width: 860px; }
.company div { display: grid; grid-template-columns: 160px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.company div:last-child { border-bottom: 0; }
.company dt { font-weight: 700; }

/* ---------- Contact ---------- */
.contact {
  padding: 110px 0; color: var(--white); text-align: center;
  background: linear-gradient(135deg, var(--navy), #1d3a63);
}
.contact .section-en { color: var(--accent); justify-content: center; }
.contact .section-title { margin-bottom: 16px; }
.contact__lead { color: rgba(255,255,255,.85); }
.contact__lead strong { color: var(--accent); }
.contact__boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.contact__box {
  background: var(--white); color: var(--navy); border-radius: 10px; padding: 32px 20px;
  display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s;
}
.contact__box:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.contact__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.contact__tel { font-family: var(--en); font-size: 30px; letter-spacing: .04em; line-height: 1.3; }
.contact__sub { font-size: 13px; color: var(--muted); }
.contact__box--line { background: #06c755; color: var(--white); }
.contact__box--line .contact__label,
.contact__box--line .contact__sub { color: rgba(255,255,255,.9); }
.contact__box--line .contact__tel { font-family: inherit; font-size: 22px; font-weight: 900; }
.contact__mail { margin-top: 28px; color: rgba(255,255,255,.85); font-size: 15px; }
.contact__mail a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.logo--footer .logo__text small { color: rgba(255,255,255,.6); }

/* ---------- Footer ---------- */
.footer { background: #0a1424; color: rgba(255,255,255,.7); padding: 48px 0 90px; font-size: 13px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.logo--footer { color: var(--white); }

.float-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; width: 26px; height: 2px; background: var(--navy); margin-inline: auto; transition: .3s; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); padding: 12px 20px 28px; font-size: 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; }

  .partner__inner, .area { grid-template-columns: 1fr; gap: 28px; }
  .services, .strengths { grid-template-columns: 1fr; }
  .partner__img { aspect-ratio: 16 / 10; box-shadow: 10px 10px 0 var(--navy); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { right: 50%; top: auto; bottom: -15px; transform: translateX(50%) rotate(90deg); }
  .contact__boxes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sp { display: inline; }
  .section, .contact { padding: 80px 0; }
  .logo__text { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .work figcaption { font-size: 13px; }
  .service { grid-template-columns: 1fr; }
  .service__img img { min-height: 0; aspect-ratio: 16 / 10; }
  .hero::before { background: linear-gradient(180deg, rgba(12,35,64,.75), rgba(12,35,64,.92)); }
  .company { padding: 8px 20px; }
  .company div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .company dt { font-size: 13px; color: var(--muted); }
  .float-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    background: var(--accent); color: var(--navy); font-weight: 900; text-align: center;
    padding: 15px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
}
