/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #0d2c5b;
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }

:root {
  --navy: #0d2c5b;
  --navy-deep: #07193a;
  --navy-light: #1a3a76;
  --accent: #4a86e8;
  --bg-soft: #f4f5f8;
  --line: rgba(255,255,255,0.18);
}

.container {
  width: min(92%, 1180px);
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 18px 0;
}
.header-inner {
  width: min(96%, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-ja { font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.logo-en { font-family: "Montserrat", sans-serif; font-size: 10px; letter-spacing: .25em; opacity: .85; margin-top: 3px; }

.global-nav { flex: 1; }
.global-nav ul {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.global-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: opacity .2s;
}
.global-nav a:hover { opacity: .65; }

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform .25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 70px;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .65;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,25,58,.85) 0%, rgba(7,25,58,.55) 45%, rgba(7,25,58,.15) 80%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(92%, 1180px);
  margin-inline: auto;
}
.hero-lead {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: .04em;
}
.hero-lead .accent { color: var(--accent); font-weight: 700; }
.hero-title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .03em;
  margin-bottom: 60px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-features {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feat-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-ttl {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feat-sub {
  font-size: 12px;
  opacity: .8;
  line-height: 1.55;
}

/* ===== Section common ===== */
.section-en {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-jp {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.section-bar {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 28px;
}
.section-en.light { color: var(--accent); }
.section-jp.light { color: #fff; }
.section-bar.light { background: var(--accent); }

/* ===== Service ===== */
.service {
  padding: 110px 0;
  background: #fff;
}
.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.service-head .section-desc {
  font-size: 15px;
  line-height: 1.95;
  color: #2a3b5e;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  outline: none;
}
.svc-card:hover, .svc-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13,44,91,.18);
}
.svc-card:focus-visible {
  box-shadow: 0 0 0 3px var(--accent), 0 14px 30px rgba(13,44,91,.18);
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  transition: gap .2s;
}
.svc-card:hover .svc-more { gap: 10px; }
.svc-img { aspect-ratio: 4 / 3; background: #d6dae3; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 28px 24px 32px; position: relative; }
.svc-icon {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.svc-body h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 18px 0 12px;
  letter-spacing: .03em;
}
.svc-body p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #3a4a6b;
}

/* ===== Strengths ===== */
.strengths {
  background: var(--navy);
  color: #fff;
  padding: 100px 0;
}
.strengths-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
}
.strength-list {
  margin-top: 18px;
}
.strength-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  letter-spacing: .03em;
}
.check {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sg-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a3a76;
  border-radius: 2px;
}
.sg-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Contact ===== */
.contact {
  padding: 70px 0;
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card {
  background: #f6f8fb;
  border-radius: 6px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.ct-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-icon-blue { background: var(--navy); }
.ct-icon-outline { background: #fff; border: 1.5px solid var(--navy); }
.ct-label {
  font-size: 13px;
  color: #4a5876;
  margin-bottom: 4px;
}
.ct-tel {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--navy);
  display: block;
}
.ct-sub {
  font-size: 11.5px;
  color: #4a5876;
  margin-top: 2px;
}
.ct-sub-em {
  font-size: 12px;
  color: #4a5876;
  margin-bottom: 8px;
}
.ct-mail-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
  transition: opacity .2s;
}
.ct-mail-btn:hover { opacity: .85; }
.ct-ig-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.ct-ig-btn:hover { background: var(--navy); color: #fff; }

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr .9fr 1fr;
  gap: 36px;
  align-items: start;
}
.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.ft-address {
  font-style: normal;
  font-size: 12.5px;
  line-height: 2;
  opacity: .85;
}
.ft-col .ft-ttl {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.ft-col ul li {
  font-size: 13px;
  padding: 5px 0;
  opacity: .9;
}
.ft-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.copy {
  text-align: center;
  font-size: 11.5px;
  margin-top: 50px;
  opacity: .7;
  letter-spacing: .05em;
}

/* ===== Modal ===== */
body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 25, 58, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-inner {
  background: #fff;
  border-radius: 8px;
  width: min(100%, 920px);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.modal.open .modal-inner { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

.modal-img {
  background: #d6dae3;
  overflow: hidden;
  min-height: 100%;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.modal-body {
  padding: 40px 38px;
}
.modal-cat {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.modal-ttl {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.modal-lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: #3a4a6b;
  margin-bottom: 24px;
}
.modal-list {
  margin-bottom: 28px;
}
.modal-list li {
  padding: 12px 0 12px 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #3a4a6b;
  border-bottom: 1px solid #e6e9ef;
  position: relative;
}
.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.modal-list li strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
}
.modal-cta {
  background: #f6f8fb;
  padding: 18px 20px;
  border-radius: 6px;
  text-align: center;
}
.modal-cta p {
  font-size: 13px;
  color: #3a4a6b;
  margin-bottom: 10px;
}
.modal-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity .2s;
}
.modal-btn:hover { opacity: .85; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .global-nav ul { gap: 18px; }
  .global-nav a { font-size: 13px; }
  .service-layout { grid-template-columns: 1fr; gap: 36px; }
  .strengths-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ft-photo { grid-column: 1 / -1; max-width: 320px; }
}

@media (max-width: 768px) {
  .header-inner { gap: 12px; }
  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(7,25,58,.97);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 25;
  }
  .global-nav ul { flex-direction: column; gap: 22px; text-align: center; }
  .global-nav a { font-size: 18px; }
  body.nav-open .global-nav { transform: translateX(0); }
  .menu-toggle { display: block; margin-left: auto; z-index: 30; position: relative; }
  .contact-btn { display: none; }

  .logo-ja { font-size: 15px; }
  .logo-en { font-size: 9px; }

  .hero { min-height: 600px; padding: 130px 0 50px; }
  .hero-title { margin-bottom: 40px; }
  .hero-features { gap: 24px; flex-direction: column; }
  .hero-features li { width: 100%; }

  .service { padding: 70px 0; }
  .service-cards { grid-template-columns: 1fr; }

  .strengths { padding: 70px 0; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }

  .contact { padding: 50px 0; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer { padding: 50px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ft-photo { max-width: 100%; }

  .modal { padding: 12px; }
  .modal-inner { grid-template-columns: 1fr; max-height: 92vh; }
  .modal-img img { min-height: 200px; max-height: 240px; }
  .modal-body { padding: 28px 24px; }
  .modal-ttl { font-size: 22px; }
}
