/* ==========================================================
   NetRunners — calm / trustworthy corporate design
   ========================================================== */
:root {
  --navy: #1D3F60;
  --navy-deep: #14304A;
  --navy-soft: #E7EDF3;
  --sage: #6E9E88;
  --sage-soft: #EDF3EF;
  --cream: #F8F6F1;
  --white: #FFFFFF;
  --ink: #26303A;
  --text: #4A555F;
  --muted: #7B858E;
  --line: #E3E1DA;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 2px 4px rgba(29,63,96,.04), 0 12px 28px rgba(29,63,96,.06);
  --shadow-sm: 0 1px 2px rgba(29,63,96,.05), 0 6px 16px rgba(29,63,96,.05);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(29,63,96,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
/* the owl mark is portrait (452×792); size by height and let width follow */
.logo-mark { width: auto; height: 40px; }
.logo-footer .logo-mark { height: 52px; }
.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  letter-spacing: .04em;
}

.gnav { display: flex; gap: 26px; margin-left: auto; }
.gnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.gnav a:hover { color: var(--navy); border-bottom-color: var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 17px 34px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29,63,96,.18);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29,63,96,.24);
}
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: #C9D4DE;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy-soft); }
.btn-sm { padding: 13px 24px; font-size: 14px; }
.btn-lg { padding: 19px 40px; font-size: 16px; }
.header-btn { flex: none; }

/* ---------- hamburger ---------- */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle span {
  width: 22px; height: 1.5px;
  background: var(--navy);
  transition: transform .3s, opacity .3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding: calc(var(--header-h) + 88px) 0 100px;
  background:
    radial-gradient(1000px 460px at 82% 4%, var(--sage-soft) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 78%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 56px;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #D3DDE6;
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.9vw, 46px);
  font-weight: 600;
  line-height: 1.66;
  letter-spacing: .04em;
  color: var(--navy);
}
.hero-lead { margin-top: 26px; font-size: 16px; color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-art { justify-self: center; width: 100%; max-width: 400px; }

/* trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 76px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.trust-bar li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
}
.trust-bar li + li { box-shadow: -1px 0 0 var(--line); }
.trust-bar svg { width: 20px; height: 20px; color: var(--sage); flex: none; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-cream { background: var(--cream); }

.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sage);
  padding-bottom: 12px;
  margin-bottom: 6px;
  position: relative;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 26px; height: 1px;
  background: var(--sage);
  transform: translateX(-50%);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.9vw, 34px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--navy);
}
.section-lead { margin-top: 16px; font-size: 15px; color: var(--muted); }

.sub-head { margin: 80px 0 28px; text-align: center; }
.sub-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy);
}

/* ---------- promise ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promise-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.promise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  margin-bottom: 22px;
}
.promise-icon svg { width: 28px; height: 28px; }
.promise-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
  margin-bottom: 14px;
}
.promise-card p { font-size: 14.5px; text-align: left; }

/* ---------- services ---------- */
.service-list { display: grid; gap: 24px; }
.service-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.section-cream .service-card { background: var(--white); }
.service-no {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--sage);
  margin-bottom: 8px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.service-desc { font-size: 15px; margin-bottom: 26px; }
.service-points {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.service-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: .88em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.chip-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  background: var(--navy-soft);
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- flow ---------- */
.flow-list {
  display: grid;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
}
.flow-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.flow-item + .flow-item { margin-top: 34px; }
.flow-item + .flow-item::before {
  content: "";
  position: absolute;
  left: 50%; top: -26px;
  width: 1px; height: 18px;
  background: #CBD5DD;
}
.flow-no {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--sage);
  line-height: 1.3;
  letter-spacing: .04em;
}
.flow-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow-free {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--sage);
  background: var(--sage-soft);
  border-radius: 999px;
  padding: 4px 12px;
  line-height: 1.5;
}
.flow-body p { font-size: 14.5px; }

/* ---------- about ---------- */
.about-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.about-catch {
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 22px;
}
.about-card p + p { margin-top: 18px; }
.about-card p { font-size: 15px; }

.timeline {
  max-width: 840px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  padding-left: 34px;
  display: grid;
  gap: 34px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 12px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sage);
}
.timeline-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--sage);
}
.timeline-body h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
  margin: 4px 0 6px;
}
.timeline-body p { font-size: 14.5px; color: var(--muted); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.tech-cat {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 16px;
}

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  line-height: 1.8;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--serif);
  font-weight: 600;
  color: var(--sage);
  flex: none;
  line-height: 1.8;
}
.faq-item summary::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  margin-top: 10px;
  flex: none;
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 14px; }
.faq-item p {
  padding: 0 28px 26px 62px;
  font-size: 14.5px;
  color: var(--text);
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.info-card-quiet { background: var(--navy); color: #fff; }
.info-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.info-card-quiet .info-label { color: rgba(255,255,255,.62); }
.info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
  line-height: 1.8;
}
a.info-value:hover { color: var(--sage); }
.info-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.info-list { display: grid; gap: 10px; margin-top: 4px; }
.info-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  line-height: 1.8;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  transform: rotate(-45deg);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 46px;
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow-sm);
}
.form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}
.form-row em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--sage);
  border-radius: 3px;
  padding: 3px 8px;
  line-height: 1.5;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: #FBFAF8;
  border: 1px solid #DCD9D2;
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-row textarea { resize: vertical; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: #AEB5BB; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(110,158,136,.16);
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.btn-submit { justify-self: start; margin-top: 4px; }
.form-status { font-size: 13.5px; color: var(--sage); min-height: 1em; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 60px;
}
.footer .logo-text { color: #fff; }
.footer-desc { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.footer-mail {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
}
.footer-mail:hover { border-bottom-color: #fff; }
.footer-head {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.72); width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 24px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
}

/* ---------- scroll animation ---------- */
.js .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.js .fade-up.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gnav { gap: 18px; }
  .gnav a { font-size: 13px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin-top: 8px; }
  .promise-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
  .tech-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar li { justify-content: flex-start; text-align: left; }
  .trust-bar li + li { box-shadow: 0 -1px 0 var(--line); }
}

@media (max-width: 820px) {
  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 8px 24px 24px;
    box-shadow: 0 18px 28px rgba(29,63,96,.10);
    border-bottom: 1px solid var(--line);
  }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .header-btn { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-inner { gap: 0; }
  .hero { padding-top: calc(var(--header-h) + 52px); padding-bottom: 72px; }
  .section { padding: 76px 0; }
  .about-card { padding: 34px 26px; }
  .contact-form { padding: 30px 24px; }
  .flow-item { grid-template-columns: 1fr; gap: 8px; padding: 26px 24px; }
  .flow-no { font-size: 24px; }
  .faq-item summary { padding: 20px 22px; font-size: 15px; }
  .faq-item p { padding: 0 22px 22px 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
