@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;900&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

:root {
  --indigo: #1b2a4a;
  --indigo-deep: #0e1728;
  --slate: #4d5b6b;
  --slate-light: #8492a1;
  --teal: #2f8f80;
  --teal-light: #5fb8a8;
  --bg: #f5f7f8;
  --bg-cool: #eef2f3;
  --white: #ffffff;
  --ink: #1a2233;
  --line: #dfe4e7;
  --shadow: 0 20px 50px -25px rgba(14, 23, 40, 0.28);
  --head: 'Zen Kaku Gothic New', sans-serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: baseline; gap: 10px; font-family: var(--head); }
.brand .mark { font-size: 22px; font-weight: 900; color: var(--indigo); letter-spacing: 0.02em; }
.brand .sub { font-size: 11px; color: var(--slate-light); font-family: var(--sans); letter-spacing: 0.1em; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; list-style: none; gap: 32px; }
.main-nav a { font-size: 14px; letter-spacing: 0.03em; color: var(--ink); position: relative; padding-bottom: 4px; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--teal); transition: width .3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--indigo); font-weight: 500; }
.nav-cta {
  background: var(--indigo); color: var(--white) !important; padding: 12px 26px;
  border-radius: 3px; font-size: 13px; letter-spacing: 0.05em; transition: background .3s ease, transform .3s ease;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--indigo); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 92vh; min-height: 620px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,23,40,0.55) 0%, rgba(14,23,40,0.35) 45%, rgba(14,23,40,0.90) 100%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: 90px; width: 100%; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--teal-light); margin-bottom: 22px; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.6; font-weight: 700; max-width: 820px; margin-bottom: 26px; }
.hero p { max-width: 520px; font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue { position: absolute; right: 40px; bottom: 40px; z-index: 1; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.15em; }
.scroll-cue .line { width: 1px; height: 50px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ''; position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: var(--teal-light); animation: cueMove 2.2s infinite ease-in-out; }
@keyframes cueMove { to { top: 100px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; font-size: 13px; letter-spacing: 0.05em; border-radius: 3px; transition: all .3s ease; border: 1px solid transparent; }
.btn-primary { background: var(--teal); color: var(--white); font-weight: 500; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--indigo); color: var(--white); }
.btn-dark:hover { background: var(--teal); }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
.section-alt { background: var(--white); }
.section-cool { background: var(--bg-cool); }
.section-indigo { background: var(--indigo); color: rgba(255,255,255,0.88); }
.section-indigo h2 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.25em; color: var(--teal); text-transform: uppercase; margin-bottom: 18px; display: block; font-weight: 500; }
.section-head h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.6; margin-bottom: 20px; }
.section-head p { color: var(--slate); font-size: 14.5px; }
.section-indigo .section-head p { color: rgba(255,255,255,0.7); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.value-card { background: var(--white); border: 1px solid var(--line); padding: 44px 34px; transition: transform .35s ease, box-shadow .35s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .num { font-family: var(--head); font-size: 13px; color: var(--teal); letter-spacing: 0.15em; margin-bottom: 22px; display: block; font-weight: 700; }
.value-card h3 { font-size: 19px; margin-bottom: 14px; color: var(--indigo); }
.value-card p { font-size: 13.5px; color: var(--slate); }

.service-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s ease, transform .35s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card img { height: 200px; width: 100%; object-fit: cover; }
.service-card .body { padding: 30px 28px; }
.service-card .num { font-family: var(--head); color: var(--teal); font-size: 13px; letter-spacing: 0.15em; margin-bottom: 12px; display: block; }
.service-card h3 { font-size: 18px; color: var(--indigo); margin-bottom: 12px; }
.service-card p { font-size: 13.5px; color: var(--slate); margin-bottom: 16px; }
.service-card a { font-size: 12.5px; color: var(--teal); letter-spacing: 0.05em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-media img { width: 100%; height: 460px; object-fit: cover; }
.split-copy .eyebrow { margin-bottom: 16px; }
.split-copy h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 22px; line-height: 1.7; }
.split-copy p { color: var(--slate); font-size: 14.5px; margin-bottom: 18px; }
.split-copy ul { margin-top: 24px; }
.split-copy li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink); display: flex; gap: 12px; }
.split-copy li span.tag { color: var(--teal); font-family: var(--head); flex-shrink: 0; font-weight: 700; }

/* ---------- Stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.stat-item { padding: 40px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.15); }
.stat-item:first-child { border-left: none; }
.stat-num { font-family: var(--head); font-size: 38px; color: var(--teal-light); display: block; margin-bottom: 10px; font-weight: 700; }
.stat-label { font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,0.65); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card { background: var(--white); padding: 38px 32px; border: 1px solid var(--line); position: relative; }
.testi-card::before { content: '"'; font-family: var(--head); font-size: 60px; color: var(--line); position: absolute; top: 0px; right: 20px; line-height: 1; }
.testi-card p { font-size: 13.5px; color: var(--ink); margin-bottom: 22px; position: relative; z-index: 1; }
.testi-who { font-size: 12px; color: var(--slate-light); letter-spacing: 0.04em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--indigo); color: var(--white); padding: 90px 0; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 20px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-deep); color: rgba(255,255,255,0.6); padding: 80px 0 28px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .mark { font-family: var(--head); font-size: 20px; color: var(--white); margin-bottom: 14px; display:block; font-weight: 900; }
.footer-brand p { max-width: 280px; color: rgba(255,255,255,0.5); font-size: 12.5px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; color: var(--teal-light); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 11.5px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.footer-note { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 14px 20px; font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 30px; border-radius: 3px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; height: 320px; display: flex; align-items: center; color: var(--white); margin-top: 84px; overflow: hidden; }
.page-hero .hero-media::after { background: linear-gradient(120deg, rgba(14,23,40,0.78), rgba(14,23,40,0.55)); }
.page-hero h1 { font-size: clamp(24px, 3.2vw, 40px); }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 16px; letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--teal-light); }

/* ---------- Table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 22px 24px; font-size: 14px; vertical-align: top; }
.info-table th { width: 220px; color: var(--slate); font-weight: 500; font-family: var(--head); letter-spacing: 0.02em; background: var(--bg-cool); }
.info-table td { color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -40px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); border: 3px solid var(--bg); }
.timeline-year { font-family: var(--head); color: var(--indigo); font-size: 15px; margin-bottom: 6px; font-weight: 700; }
.timeline-item p { color: var(--slate); font-size: 13.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 32px 26px; border-left: 1px solid var(--line); position: relative; }
.step:first-child { border-left: none; }
.step .step-no { font-family: var(--head); font-size: 24px; color: var(--teal); margin-bottom: 14px; display: block; font-weight: 700; }
.step h4 { font-size: 15px; margin-bottom: 10px; color: var(--indigo); }
.step p { font-size: 12.5px; color: var(--slate); }
.section-indigo .step { border-left-color: rgba(255,255,255,0.15); }
.section-indigo .step h4 { color: var(--white); }
.section-indigo .step p { color: rgba(255,255,255,0.7); }

/* ---------- Case study cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s ease, transform .35s ease; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case-card img { height: 190px; width: 100%; object-fit: cover; }
.case-card .body { padding: 28px 26px; }
.case-tag { display: inline-block; font-size: 11px; letter-spacing: 0.05em; color: var(--teal); border: 1px solid var(--teal); padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.case-card h3 { font-size: 16.5px; color: var(--indigo); margin-bottom: 10px; line-height: 1.6; }
.case-card p { font-size: 13px; color: var(--slate); }
.case-result { display: flex; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-result .r-num { font-family: var(--head); font-size: 20px; color: var(--indigo); font-weight: 700; display: block; }
.case-result .r-label { font-size: 10.5px; color: var(--slate-light); }

/* ---------- News list ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: flex; align-items: baseline; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-item .date { font-family: var(--head); font-size: 13px; color: var(--slate-light); flex-shrink: 0; width: 100px; }
.news-tag { font-size: 10.5px; letter-spacing: 0.05em; color: var(--teal); border: 1px solid var(--teal); padding: 3px 10px; border-radius: 20px; flex-shrink: 0; }
.news-item .title { font-size: 14px; color: var(--ink); }
.news-item:hover .title { color: var(--teal); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 26px 0; font-size: 15px; font-family: var(--sans); color: var(--ink); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-q .icon { font-family: var(--head); font-size: 20px; color: var(--teal); transition: transform .3s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 26px; font-size: 13.5px; color: var(--slate); max-width: 620px; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact-side h3 { color: var(--indigo); font-size: 18px; margin-bottom: 20px; }
.contact-info-item { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: 1px solid var(--line); }
.contact-info-item .label { font-size: 11px; letter-spacing: 0.1em; color: var(--teal); text-transform: uppercase; margin-bottom: 8px; display: block; }
.contact-info-item .val { font-size: 15px; color: var(--ink); }
.contact-info-item .val.phone { font-family: var(--head); font-size: 22px; color: var(--indigo); font-weight: 700; }

.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.form-row label .req { color: #b3543f; margin-left: 6px; font-size: 11px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--sans); font-size: 14px; color: var(--ink); transition: border-color .3s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-row.full { grid-column: 1 / -1; }
.form-note { font-size: 11.5px; color: var(--slate-light); margin-top: -8px; margin-bottom: 22px; }
.form-submit { border: none; cursor: pointer; }
.form-success { display: none; background: var(--bg-cool); border: 1px solid var(--teal-light); padding: 30px; text-align: center; color: var(--indigo); font-size: 14px; }
.form-success.show { display: block; }
.contact-form.hidden { display: none; }

/* ---------- Policy text ---------- */
.policy-block { max-width: 780px; }
.policy-block h2 { font-size: 18px; color: var(--indigo); margin: 44px 0 16px; }
.policy-block h2:first-child { margin-top: 0; }
.policy-block p, .policy-block li { font-size: 13.5px; color: var(--slate); margin-bottom: 10px; }
.policy-block ul { padding-left: 20px; margin-bottom: 16px; }
.policy-block .updated { font-size: 12px; color: var(--slate-light); margin-bottom: 50px; display: block; }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; font-size: 12px; letter-spacing: 0.15em; color: var(--teal); }
.divider-label::after { content:''; flex:1; height:1px; background: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .testi-grid, .case-grid { grid-template-columns: 1fr; }
  .grid-2, .split, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media, .split.reverse .split-copy { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: none; }
  .step:nth-child(1), .step:nth-child(3){ margin-top:0;}
}
@media (max-width: 780px) {
  .main-nav ul, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: var(--white);
    display: flex; flex-direction: column; padding: 40px 32px; z-index: 199;
  }
  .main-nav.open ul { display: flex; flex-direction: column; gap: 26px; }
  .main-nav.open .nav-cta { display: inline-flex; margin-top: 30px; width: fit-content; }
  section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .step:first-child { border-top: none; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .news-item { flex-direction: column; gap: 8px; }
}
