*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2d4d;
  --cyan: #2caadb;
  --white: #ffffff;
  --gray: #f5f7fa;
  --border: #e2e8f0;
  --text: #2d3748;
  --muted: #718096;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ========== HEADER ========== */
header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); height: 68px; }
.header-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo a { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
nav ul { display: flex; gap: 36px; list-style: none; align-items: center; }
nav ul li a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
nav ul li a:hover { color: var(--cyan); }
nav ul li.cta a { background: var(--cyan); color: var(--navy); padding: 9px 22px; border-radius: 4px; font-weight: 700; font-size: 13px; transition: opacity .2s; }
nav ul li.cta a:hover { opacity: .85; }

/* ========== HERO ========== */
.hero { padding: 96px 60px 80px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 520px; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.hero-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--cyan); }
.hero h1 { font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 20px; letter-spacing: -.02em; }
.hero h1 span { color: var(--cyan); }
.hero p { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; align-items: center; }
.btn-navy { background: var(--navy); color: var(--white); padding: 14px 30px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity .2s; display: inline-block; }
.btn-navy:hover { opacity: .85; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; transition: gap .2s; }
.btn-text:hover { gap: 10px; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-logo-wrap { width: 300px; height: 300px; background: var(--gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-logo-wrap img { width: 200px; height: auto; }
.hero-logo-wrap::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed var(--border); }
.hero-logo-wrap::after { content: ''; position: absolute; inset: -28px; border-radius: 50%; border: 1px dashed #dde5f0; }

/* ========== SECTIONS ========== */
.section { padding: 88px 40px; }
.section.gray { background: var(--gray); }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--cyan); text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.section-sub { font-size: 14px; color: var(--muted); margin-bottom: 52px; }

/* ========== SERVICE CARDS ========== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 36px 28px; position: relative; overflow: hidden; transition: box-shadow .25s, transform .25s; text-decoration: none; color: inherit; display: block; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(26,45,77,.1); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-size: 11px; font-weight: 700; color: var(--cyan); letter-spacing: .1em; margin-bottom: 14px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ========== BLOG / INSIGHTS ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow .25s; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(26,45,77,.1); }
.blog-thumb { height: 160px; background: var(--gray); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--border); }
.blog-body { padding: 20px; }
.blog-tag { display: inline-block; font-size: 10px; background: #e8f5fd; color: var(--cyan); padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; font-weight: 600; }
.blog-body h4 { font-size: 13px; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.blog-date { font-size: 11px; color: var(--muted); }
.center { text-align: center; margin-top: 40px; }

/* ========== COMPANY ========== */
.company-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th { text-align: left; padding: 14px 0; color: var(--navy); font-size: 13px; font-weight: 600; width: 130px; }
.info-table td { padding: 14px 0; font-size: 13px; color: var(--text); }
.map-box { border-radius: 8px; overflow: hidden; height: 320px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ========== CTA ========== */
.cta-section { background: var(--navy); padding: 88px 40px; text-align: center; }
.cta-section h2 { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 36px; line-height: 1.8; }
.btn-cyan { background: var(--cyan); color: var(--navy); padding: 16px 40px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; display: inline-block; transition: opacity .2s; }
.btn-cyan:hover { opacity: .85; }

/* ========== FOOTER ========== */
footer { background: #0f1e35; padding: 36px 40px; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.4); font-size: 12px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { color: rgba(255,255,255,.25); font-size: 11px; }

/* ========== PAGE HERO ========== */
.page-hero { background: var(--navy); padding: 72px 40px; text-align: center; }
.page-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; }
.page-hero h1 { font-size: 36px; font-weight: 700; color: var(--white); margin: 0 0 12px; letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 14px; }

/* ========== SERVICES PAGE ========== */
.page-hero-services { background: var(--navy); padding: 88px 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero-services::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(44,170,219,.12); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.page-hero-services::after { content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 1px solid rgba(44,170,219,.06); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.page-hero-services h1 { font-size: 44px; font-weight: 700; color: var(--white); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 20px; position: relative; }
.page-hero-services h1 span { color: var(--cyan); }
.page-hero-services p { color: rgba(255,255,255,.55); font-size: 15px; line-height: 1.9; position: relative; }
.sf-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--cyan); text-transform: uppercase; margin-bottom: 16px; }
.sf-badge::before { content: ''; display: block; width: 28px; height: 2px; background: var(--cyan); }
.sf-title { font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.sf-lead { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 28px; }
.sf-points { list-style: none; margin-bottom: 32px; }
.sf-points li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.sf-points li:first-child { border-top: 1px solid var(--border); }
.sf-points li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 7px; flex-shrink: 0; }
.sf-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--white); background: var(--cyan); padding: 4px 10px; border-radius: 3px; margin-right: 6px; margin-bottom: 6px; }
.sf-visual { background: var(--gray); border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); position: relative; overflow: hidden; }
.sf-visual-icon { font-size: 72px; line-height: 1; }
.service-feature { padding: 80px 40px; border-bottom: 1px solid var(--border); }
.service-feature.gray { background: var(--gray); }
.service-feature-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service-feature-inner.reverse { direction: rtl; }
.service-feature-inner.reverse > * { direction: ltr; }
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.strength-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 32px 24px; position: relative; overflow: hidden; }
.strength-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), #1a6fa0); }
.strength-num { font-size: 36px; font-weight: 700; color: rgba(44,170,219,.2); margin-bottom: 12px; line-height: 1; }
.strength-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.strength-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.flow-steps::before { content: ''; position: absolute; top: 32px; left: calc(12.5%); right: calc(12.5%); height: 1px; background: var(--border); }
.flow-step { text-align: center; padding: 0 16px; }
.flow-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 18px; font-weight: 700; color: var(--cyan); position: relative; z-index: 1; }
.flow-step h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.flow-step p { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ========== CONTACT FORM ========== */
.contact-wrap { max-width: 720px; margin: 0 auto; padding: 80px 40px; }
.contact-form .form-row { margin-bottom: 28px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.contact-form label .required { color: var(--cyan); font-size: 11px; font-weight: 700; margin-left: 6px; }
.contact-form label .optional { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: 6px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-family: inherit; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; appearance: none; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(44,170,219,.15); }
.contact-form textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.char-count { text-align: right; font-size: 11px; color: var(--muted); margin-top: 5px; }
.char-count.over { color: #e53e3e; }
.btn-submit { width: 100%; padding: 16px; background: var(--navy); color: var(--white); border: none; border-radius: 4px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: opacity .2s; margin-top: 8px; }
.btn-submit:hover { opacity: .85; }
.alert { padding: 16px 20px; border-radius: 6px; margin-bottom: 28px; font-size: 14px; }
.alert-error { background: #fff5f5; border: 1px solid #fed7d7; color: #c53030; }
.alert-error ul { margin: 8px 0 0 16px; }
.alert-error li { margin-bottom: 4px; }
.alert-success { background: #f0fff4; border: 1px solid #9ae6b4; color: #276749; text-align: center; padding: 40px; }
.alert-success h3 { font-size: 20px; margin-bottom: 10px; }
.alert-success p { font-size: 14px; line-height: 1.8; }

/* ========== HAMBURGER ========== */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1160px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 240px; height: 240px; }
  .hero-logo-wrap img { width: 160px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 48px; gap: 48px; min-height: auto; }
  .hero h1 { font-size: 32px; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 200px; height: 200px; }
  .hero-logo-wrap img { width: 130px; }
  .service-grid, .blog-grid, .strengths-grid { grid-template-columns: 1fr; }
  .company-layout { grid-template-columns: 1fr; }
  .service-feature-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-feature-inner.reverse { direction: ltr; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .flow-steps::before { display: none; }
  .section { padding: 56px 24px; }
  .service-feature { padding: 56px 24px; }
  .header-inner { padding: 0 24px; position: relative; }
  .nav-toggle { display: flex; }
  #global-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 0; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  #global-nav.open { display: block; }
  #global-nav ul { flex-direction: column; gap: 0; }
  #global-nav ul li a { display: block; padding: 14px 24px; font-size: 15px; border-bottom: 1px solid var(--border); }
  #global-nav ul li.cta a { background: none; color: var(--cyan); border-radius: 0; font-weight: 700; padding: 14px 24px; }
  .contact-wrap { padding: 48px 24px; }
  .page-hero-services h1 { font-size: 30px; }
  .footer-inner { flex-direction: column; text-align: center; }
}