/* ===============
  Base styles
=============== */
:root{
  --navy: #0c2d57;
  --navy-600: #113a6e;
  --white: #ffffff;
  --gray-50:#f7f8fa;
  --gray-100:#f1f3f6;
  --gray-200:#eceff3;
  --gray-400:#9aa3af;
  --gray-600:#6b7280;
  --text:#111827;
  --max: 1080px;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(12,45,87,0.08);
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container{
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

h1,h2,h3{
  line-height: 1.35;
  margin: 0 0 12px;
}
h1{ font-family: "Montserrat", "Noto Sans JP", sans-serif; font-weight: 700; font-size: clamp(28px, 4.8vw, 44px); color: var(--navy); letter-spacing: .02em; }
h2{ font-family: "Montserrat", "Noto Sans JP", sans-serif; font-weight: 700; font-size: clamp(22px, 3.4vw, 30px); color: var(--navy); }
h3{ font-weight: 700; font-size: 18px; color: var(--navy); }

p{ margin: 0 0 14px; font-size: 16px; }

a{ color: var(--navy-600); text-decoration: none; }
a.link{ border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .05s ease, box-shadow .2s ease;
  will-change: transform;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(12,45,87,0.18);
}
.btn-primary:hover{ box-shadow: 0 10px 28px rgba(12,45,87,0.24); }
.btn-full{ width: 100%; }

.btn-block{ display:block; width: 100%; }

/* Skip link */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; background: var(--navy); color:#fff; padding:8px 12px; z-index: 9999; border-radius: 8px;
}

/* Header */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 12px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.02em; }
.brand-mark{ width:28px; height:28px; display:inline-grid; place-items:center; background:var(--navy); color:#fff; border-radius:8px; font-family:"Montserrat"; }
.brand-text{ font-family:"Montserrat"; color: var(--navy); font-size: 18px; }

.site-nav{ display:flex; gap:16px; align-items:center; }
.site-nav a{ padding:8px 10px; border-radius: 8px; font-weight:600; color:#0f2647; }
.site-nav a:hover{ background: var(--gray-100); }
.site-nav .nav-cta{ background: var(--navy); color:#fff; }
.site-nav .nav-cta:hover{ background: var(--navy-600); }

/* Sections */
.section{ padding-block: clamp(48px, 8vw, 88px); }
.hero{ background: var(--white); text-align: center; }
.hero-sub{ color: var(--gray-600); font-size: clamp(15px, 2.6vw, 18px); max-width: 840px; margin: 10px auto 20px; }
.divider{ width: 120px; height: 0; border: none; border-top: 2px solid var(--navy); margin: 20px auto; opacity: 0.5; }
.hero-actions{ margin-top: 10px; }

.services .lead{ font-size: clamp(18px, 2.9vw, 22px); color: var(--text); }
.services .lead strong{ color: var(--navy); }
.services .lead-sub{ color: var(--gray-600); margin-top: 8px; }

.cards{
  margin-top: 28px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  height: 100%;
}
.card .icon{ color: var(--navy); margin-bottom: 8px; }
.card p{ color: #1f2937; }

.promise{ margin-top: 18px; }
.promise-line{ margin: 0 0 6px; font-size: 16px; }
.note{ color: var(--gray-600); font-size: 14px; }

/* Profile */
.profile-inner{ display:grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.profile-photo{
  width: 160px; height: 160px; border-radius: 50%;
  display:grid; place-items:center;
  background: var(--gray-100);
  color: var(--navy);
  font-family:"Montserrat"; font-weight:700; font-size: 36px;
  border: 2px solid var(--navy);
}
.profile-name{ font-size: 22px; margin-bottom: 6px; }

/* Company */
.kv{ margin-top: 12px; }
.kv-row{ display:grid; grid-template-columns: 140px 1fr; padding: 10px 0; border-bottom: 1px solid var(--gray-200); gap: 12px; }
.kv-row dt{ color: var(--gray-600); }
.kv-row dd{ margin: 0; }

/* Contact */
.contact-sub{ color: var(--gray-600); max-width: 760px; }
.contact-grid{ display:grid; grid-template-columns: 1.3fr .7fr; gap: 16px; margin-top: 18px; }
.contact-card{ background: var(--white); border:1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.contact-title{ margin-bottom: 12px; }

.form{ display:grid; gap: 14px; }
.field{ display:grid; gap: 8px; }
.field > span{ font-weight: 600; }
.field input, .field textarea{
  width:100%; padding: 12px 14px; border-radius: 12px; border:1px solid var(--gray-200);
  outline: none; font-size: 16px; background: #fff;
}
.field input:focus, .field textarea:focus{ border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,45,87,.14); }
.req{ color: #b42318; font-weight: 700; font-size: 12px; border: 1px solid #b42318; padding: 1px 6px; border-radius: 999px; margin-left: 6px; }
.opt{ color: var(--gray-600); }

.fine-print{ color: var(--gray-600); font-size: 13px; margin-top: 8px; }

/* Footer */
.site-footer{
  background: var(--navy);
  color: #fff;
  margin-top: 40px;
  padding-block: 28px;
  text-align: center;
}
.site-footer .container{ width: min(100% - 48px, var(--max)); }
.site-footer a{ color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }
.footer-rule{ border: none; border-top: 1px solid rgba(255,255,255,.22); margin: 14px auto; width: 160px; }
.copyright{ color: rgba(255,255,255,.82); font-size: 13px; }

/* Sticky CTA (mobile) */
.sticky-cta{
  position: fixed; left:0; right:0; bottom: 10px; z-index: 40; pointer-events: none;
  display: none;
}
.sticky-cta .btn{ pointer-events: auto; width: calc(100% - 24px); margin-inline: auto; }

/* Utilities */
.hidden{ position: absolute !important; left: -9999px !important; }
.br-md{ display: none; }

/* Responsive */
@media (max-width: 960px){
  .cards{ grid-template-columns: 1fr; }
  .profile-inner{ grid-template-columns: 120px 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .site-nav{ display:none; }
}

@media (max-width: 720px){
  .sticky-cta{ display:block; }
  .br-md{ display: inline; }
  .kv-row{ grid-template-columns: 100px 1fr; }
  .header-inner{ padding-block: 10px; }
}
