:root{
  --navy:#0b2f4f;
  --navy-2:#123f68;
  --dark:#0f172a;
  --ink:#111827;
  --text:#334155;
  --muted:#64748b;
  --line:#e2e8f0;
  --soft:#f8fafc;
  --white:#ffffff;
  --accent:#eaf2f8;
  --radius:24px;
  --shadow:0 18px 50px rgba(15,23,42,.08);
  --shadow-strong:0 24px 70px rgba(15,23,42,.14);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  color:var(--ink);
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 24%,#ffffff 100%);
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;
  font-weight:400;
  line-height:1.75;
  letter-spacing:.02em;
}

img{
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea{
  font:inherit;
}

.wrap{
  width:min(1120px,100%);
  margin:0 auto;
  padding:0 18px;
}

/* =========================
   TOP BAR
========================= */

.topbar{
  border-bottom:1px solid #e5e7eb;
  background:#f8fafc;
}

.topbar-inner{
  width:min(1120px,100%);
  margin:0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  padding:10px 20px;
  color:#475569;
  font-size:12px;
  flex-wrap:wrap;
}

.topbar-inner::-webkit-scrollbar{
  display:none;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  border:1px solid #dbe2ea;
  border-radius:999px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
  font-weight:500;
  white-space:nowrap;
}

.pill b{
  color:#0f172a;
  font-weight:600;
}

/* =========================
   HEADER
========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  border-bottom:1px solid #e5e7eb;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(18px);
  box-shadow:0 2px 10px rgba(15,23,42,.03);
}

.header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex-shrink:0;
}

.brand-mark{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  overflow:hidden;
  border-radius:50%;
  background:transparent;
}

.brand-mark img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:50% 50%;
  border-radius:50%;
  padding:0;
  margin:0;
}

.brand-copy{
  display:grid;
  gap:3px;
  min-width:0;
}

.brand-name{
  color:#0f172a;
  font-size:18px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}

.brand-sub{
  color:#94a3b8;
  font-size:12px;
  line-height:1.2;
  white-space:nowrap;
}

.global-nav{
  display:flex;
  align-items:center;
  gap:22px;
  margin-left:auto;
  font-size:14px;
}

.global-nav a{
  color:#334155;
  font-weight:500;
  white-space:nowrap;
  transition:.25s;
}

.global-nav a:hover{
  color:var(--navy);
  opacity:.82;
}

.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 22px;
  border-radius:999px;
  background:var(--dark);
  color:#fff;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(15,23,42,.12);
  transition:.25s;
  flex-shrink:0;
}

.header-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(15,23,42,.18);
}

/* =========================
   COMMON
========================= */

section{
  scroll-margin-top:92px;
}

.section{
  padding:72px 0;
}

.section.gray{
  background:#f8fafc;
}

.section.dark{
  background:#0f172a;
  color:#fff;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}

.section-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  padding:6px 12px;
  border:1px solid #dbeafe;
  border-radius:999px;
  background:#eff6ff;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
}

.light-label{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#dbeafe;
}

h1,
h2,
h3,
p{
  overflow-wrap:anywhere;
}

h1{
  margin:0;
  color:#0f172a;
  font-size:clamp(38px,5.5vw,62px);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:700;
}

h2{
  margin:0;
  color:#0f172a;
  font-size:clamp(26px,3.4vw,40px);
  line-height:1.3;
  letter-spacing:-.02em;
  font-weight:650;
}

h3{
  margin:0;
  color:#111827;
  font-size:20px;
  line-height:1.5;
  font-weight:600;
}

.section-lead{
  max-width:850px;
  margin:14px 0 0;
  color:#64748b;
  font-size:15px;
  line-height:1.9;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#fff;
  padding:24px;
  box-shadow:0 1px 2px rgba(15,23,42,.02);
}

.card p{
  margin:10px 0 0;
  color:#475569;
  font-size:14px;
  line-height:1.8;
}

.icon-box{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  border-radius:14px;
  background:#eff6ff;
  color:var(--navy);
  font-size:17px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  white-space:nowrap;
  transition:.25s;
}

.btn.primary{
  background:var(--dark);
  color:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.14);
}

.btn.secondary{
  border-color:#cbd5e1;
  background:#fff;
  color:#1e293b;
}

.btn.light{
  background:#fff;
  color:#0f172a;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(15,23,42,.16);
}

/* =========================
   HERO
========================= */

.hero{
  position:relative;
  overflow:hidden;
  padding:78px 0 74px;
  border-bottom:1px solid #eef2f7;
  background:
    radial-gradient(circle at 14% 0%,rgba(11,47,79,.13),transparent 34%),
    radial-gradient(circle at 88% 20%,rgba(30,64,175,.07),transparent 28%),
    linear-gradient(180deg,#f8fafc 0%,#fff 86%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:54px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  padding:6px 12px;
  border:1px solid #dbeafe;
  border-radius:999px;
  background:#eff6ff;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
}

.hero-lead{
  margin:20px 0 0;
  color:#475569;
  font-size:clamp(16px,2vw,18px);
  line-height:1.95;
  font-weight:500;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.hero-note{
  display:grid;
  gap:8px;
  margin-top:26px;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
}

.hero-note span{
  display:flex;
  gap:8px;
  align-items:flex-start;
}

.hero-note i{
  color:var(--navy);
  margin-top:5px;
}

.hero-panel{
  border:1px solid #dbe2ea;
  border-radius:30px;
  background:rgba(255,255,255,.9);
  padding:28px;
  box-shadow:var(--shadow-strong);
  backdrop-filter:blur(12px);
}

.panel-label{
  margin-bottom:16px;
  color:#64748b;
  font-size:14px;
  font-weight:700;
}

.problem-list{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.problem-list li{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:13px 15px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#fff;
  color:#334155;
  font-size:14px;
  font-weight:500;
}

.problem-list i{
  width:20px;
  flex:0 0 auto;
  color:var(--navy);
  text-align:center;
}

/* =========================
   SERVICES
========================= */

.feature-card,
.service-card{
  min-height:100%;
}

.service-grid{
  align-items:stretch;
}

.service-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  margin-bottom:14px;
  border-radius:12px;
  background:var(--dark);
  color:#fff;
  font-size:13px;
  font-weight:700;
}

/* =========================
   JOB CATEGORIES
========================= */

.job-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.job-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-height:142px;
  padding:24px;
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.02);
}

.job-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:15px;
  background:#eff6ff;
  color:var(--navy);
  font-size:18px;
}

.job-card h3{
  font-size:19px;
}

.job-card p{
  margin:8px 0 0;
  color:#475569;
  font-size:14px;
  line-height:1.75;
}

.consultation-card{
  border-style:dashed;
  background:#fbfdff;
}

/* =========================
   FLOW
========================= */

.flow-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.flow-card{
  min-height:178px;
  padding:24px;
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#fff;
}

.flow-number{
  margin-bottom:10px;
  color:var(--navy);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

.flow-card p{
  margin:10px 0 0;
  color:#475569;
  font-size:14px;
  line-height:1.75;
}

/* =========================
   STRENGTHS
========================= */

.strength-panel{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:32px;
  align-items:center;
  padding:34px;
  border:1px solid #dbe2ea;
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 0%,rgba(11,47,79,.10),transparent 35%),
    #fff;
  box-shadow:var(--shadow);
}

.strength-copy h3{
  font-size:clamp(22px,2.8vw,32px);
  line-height:1.5;
}

.strength-copy p{
  margin:14px 0 0;
  color:#475569;
  font-size:15px;
  line-height:1.9;
}

.strength-list{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.strength-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#334155;
  font-size:15px;
  line-height:1.7;
}

.check{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  margin-top:2px;
  border-radius:50%;
  background:#eff6ff;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
}

/* =========================
   CTA
========================= */

.cta-section{
  padding-top:20px;
}

.cta-box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:28px;
  align-items:center;
  padding:40px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:32px;
  background:
    radial-gradient(circle at 12% 0%,rgba(255,255,255,.12),transparent 34%),
    linear-gradient(135deg,#0f172a 0%,#102c49 100%);
  color:#fff;
  box-shadow:0 24px 70px rgba(15,23,42,.24);
}

.cta-box h2{
  color:#fff;
}

.cta-box p{
  margin:12px 0 0;
  color:#cbd5e1;
}

.cta-label{
  margin-bottom:10px;
  color:#dbeafe;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
}

/* =========================
   CONTACT
========================= */

.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:36px;
  align-items:center;
}

.section.dark h2{
  color:#fff;
}

.contact-copy p{
  margin:14px 0 0;
  color:#cbd5e1;
  line-height:1.9;
}

.contact-list{
  display:grid;
  gap:11px;
  margin-top:24px;
  color:#e2e8f0;
  font-size:14px;
}

.contact-list div{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.contact-list i{
  width:18px;
  margin-top:5px;
  color:#93c5fd;
  text-align:center;
}

.form-card{
  padding:24px;
  border-radius:26px;
  background:#fff;
  color:#111827;
  box-shadow:0 18px 50px rgba(0,0,0,.16);
}

form{
  display:grid;
  gap:14px;
}

label{
  display:grid;
  gap:6px;
  color:#334155;
  font-size:13px;
  font-weight:500;
}

input,
textarea{
  width:100%;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#fff;
  color:#111827;
  outline:none;
  transition:border-color .2s,box-shadow .2s;
}

input:focus,
textarea:focus{
  border-color:#7aa5c7;
  box-shadow:0 0 0 4px rgba(11,47,79,.08);
}

textarea{
  min-height:126px;
  resize:vertical;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.honeypot{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.agree{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#64748b;
  font-size:12px;
  line-height:1.6;
  font-weight:400;
}

.agree input{
  width:auto;
  min-height:auto;
  margin-top:4px;
}

.agree a{
  color:var(--navy);
  text-decoration:underline;
}

.submit{
  width:100%;
  min-height:50px;
  border:0;
  border-radius:16px;
  background:var(--dark);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.25s;
}

.submit:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(15,23,42,.18);
}

.form-note{
  margin:0;
  color:#64748b;
  font-size:12px;
  line-height:1.6;
}

/* =========================
   FOOTER
========================= */

.site-footer{
  border-top:1px solid #e2e8f0;
  background:#fff;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:24px;
  padding:42px 0 22px;
}

.footer-title{
  margin-bottom:8px;
  font-weight:600;
}

.footer-text,
.footer-list{
  color:#64748b;
  font-size:13px;
  line-height:1.8;
}

.footer-list{
  margin:0;
  padding:0;
  list-style:none;
}

.footer-list a:hover{
  color:var(--navy);
}

.footer-sns{
  display:flex;
  gap:14px;
  margin-top:18px;
}

.footer-sns a{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:#0f172a;
  color:#fff;
  font-size:20px;
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease;
}

.footer-sns a:hover{
  transform:translateY(-3px);
  background:#16304d;
  box-shadow:0 10px 25px rgba(15,23,42,.25);
}

.copyright{
  padding:16px 0 36px;
  color:#94a3b8;
  font-size:12px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1080px){
  .global-nav{
    gap:15px;
    font-size:13px;
  }

  .header-inner{
    gap:18px;
  }

  .brand-name{
    font-size:16px;
  }
}

@media (max-width:900px){
  .global-nav,
  .header-cta{
    display:none;
  }

  .topbar-inner{
    justify-content:flex-start;
    overflow-x:auto;
    white-space:nowrap;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
  }

  .hero{
    padding:54px 0 58px;
  }

  .hero-grid,
  .strength-panel,
  .contact-grid,
  .cta-box{
    grid-template-columns:1fr;
  }

  .hero-panel{
    order:-1;
  }

  .grid-3,
  .flow-grid{
    grid-template-columns:1fr;
  }

  .job-grid{
    grid-template-columns:1fr;
  }

  .cta-box{
    align-items:flex-start;
  }

  .cta-box .btn{
    justify-self:start;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:560px){
  body{
    line-height:1.72;
  }

  .wrap{
    padding:0 16px;
  }

  .topbar-inner{
    gap:8px;
    padding:9px 16px;
  }

  .pill{
    padding:5px 10px;
    font-size:11px;
  }

  .header-inner{
    min-height:70px;
  }

  .brand{
    gap:10px;
  }

  .brand-mark{
    width:46px;
    height:46px;
  }

  .brand-name{
    font-size:15px;
  }

  .brand-sub{
    font-size:10px;
  }

  .hero{
    padding:38px 0 42px;
  }

  .hero-grid{
    gap:26px;
  }

  h1{
    font-size:34px;
  }

  h2{
    font-size:28px;
  }

  .hero-lead{
    font-size:15px;
  }

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

  .hero-panel,
  .strength-panel,
  .cta-box{
    padding:24px;
    border-radius:24px;
  }

  .section{
    padding:52px 0;
  }

  .section-head{
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:22px;
  }

  .card,
  .job-card,
  .flow-card{
    padding:20px;
    border-radius:20px;
  }

  .job-card{
    min-height:auto;
  }

  .form-row{
    grid-template-columns:1fr;
  }

  .form-card{
    padding:20px;
    border-radius:22px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-sns{
    gap:12px;
  }

  .footer-sns a{
    width:42px;
    height:42px;
    font-size:18px;
  }

  .copyright{
    padding-bottom:28px;
  }
}
