:root {
  --ink: #1f2328;
  --ink-2: #32373d;
  --blue: #e8590c;
  --cyan: #f2711c;
  --paper: #f8f8f7;
  --muted: #6b7178;
  --line: #e7e9ec;
  --shadow: 0 22px 60px rgba(58, 47, 39, .09);
  --radius: 8px;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .025em;
}

.container { width: min(calc(100% - 64px), 1180px); }
.section { padding: 132px 0; }
.eyebrow { color: var(--blue); letter-spacing: .24em; }
.eyebrow::before { width: 36px; }
.section-head h2, .company-copy h2, .contact-copy h2 { font-weight: 500; letter-spacing: -.035em; }
.section-head > p { line-height: 2; }

header {
  height: 82px;
  background: rgba(255,255,255,.9);
  border-color: rgba(231,233,236,.8);
}
.brand-word {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
}
.brand-dot { color: var(--blue); }
.brand-mark { display: none; }
.brand-logo {
  display: block;
  width: 118px;
  height: auto;
}
.footer-brand .brand-logo { width: 236px; }
nav { gap: 32px; }
nav a { font-size: .8rem; letter-spacing: .08em; }
nav a:not(.nav-cta)::after { background: var(--blue); }
.nav-cta { color: #fff; background: var(--blue); border-radius: 4px; padding: 11px 20px; }

.hero {
  min-height: 850px;
  padding: 190px 0 100px;
  color: var(--ink);
  background: #fff;
}
.hero::before {
  width: 65vmax; height: 65vmax; right: -24vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(242,113,28,.2), rgba(242,113,28,.1) 36%, rgba(242,113,28,0) 70%);
  filter: blur(20px);
  opacity: .55;
}
.hero::after {
  width: 48vmax; height: 48vmax; left: -25vmax; bottom: -28vmax; top: auto; right: auto;
  opacity: .45; border-radius: 50%; mask-image: none;
  background: radial-gradient(circle, rgba(255,138,61,.16), rgba(255,138,61,.07) 40%, transparent 72%);
  filter: blur(20px);
}
.bnto-bgglow {
  --c1: rgba(232, 89, 12, .24);
  --c2: rgba(255, 138, 61, .16);
  --mx: 50%;
  --my: 50%;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .78;
  background:
    radial-gradient(circle 380px at var(--mx) var(--my), var(--c1), transparent 70%),
    radial-gradient(circle 340px at 85% 15%, var(--c2), transparent 70%);
  animation: bnto-glow-breathe 7.5s ease-in-out infinite;
}
@keyframes bnto-glow-breathe {
  0%, 100% { opacity: .48; }
  24% { opacity: .9; }
  47% { opacity: .62; }
  73% { opacity: 1; }
  88% { opacity: .7; }
}
.hero-inner { grid-template-columns: 1.05fr .95fr; gap: 30px; }
.hero-kicker { color: var(--blue); letter-spacing: .22em; }
.hero-kicker span { background: var(--blue); box-shadow: 0 0 0 7px rgba(232,89,12,.1); }
.hero h1 {
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.hero h1 em { display: inline; color: var(--blue); font-size: inherit; }
.hero-copy { color: var(--muted); line-height: 2; }
.btn { border-radius: 4px; }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(232,89,12,.18); }
.btn-outline { color: var(--ink); border-color: #cfd3d7; background: rgba(255,255,255,.65); }
.hero-visual { min-height: 410px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-wordmark {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-indent: .14em;
}
.hero-wordmark span { color: var(--blue); }
.hero-rule { width: 58px; height: 3px; margin: 34px auto 25px; border-radius: 2px; background: linear-gradient(90deg, #f2711c, #ff8a3d); }
.hero-visual p { margin: 0; color: var(--blue); font-size: .74rem; font-weight: 700; letter-spacing: .3em; text-indent: .3em; }
.hero-foot-inner { color: #9aa0a6; }

.intro { padding: 110px 0; background: var(--paper); }
.intro-reveal {
  transform: translateY(38px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}
.intro-grid { grid-template-columns: 1fr; gap: 34px; }
.intro h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.intro h2 span { color: var(--blue); }
.intro-copy { max-width: 760px; line-height: 2.15; }

.services-grid { gap: 18px; }
.service-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: none;
}
.service-card > * { position: relative; z-index: 2; transition: color .35s ease; }
.service-card h3 {
  display: table;
  margin: 24px 0 0;
  padding: 0;
  -webkit-text-stroke: 0 transparent;
  paint-order: stroke fill;
  text-shadow: none;
}
.service-card p { margin-top: auto; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.service-num { color: var(--blue); letter-spacing: .18em; }
.service-card:nth-child(1) { --service-accent: #c96424; --service-accent-deep: #a94d17; --service-outline: #a94d17; }
.service-card:nth-child(2) { --service-accent: #176b96; --service-accent-deep: #0b4c72; --service-outline: #0b4c72; }
.service-card:nth-child(3) { --service-accent: #0b5960; --service-accent-deep: #063a40; --service-outline: #063a40; }
.service-card .service-num { color: var(--service-accent); }
.service-illustration {
  position: absolute;
  z-index: 1;
  top: 80px;
  left: 0;
  width: 100%;
  height: 205px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: brightness(0) invert(1);
  pointer-events: none;
  transition: filter .38s ease, transform .48s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
}
.service-card::after {
  width: 110px;
  height: 110px;
  right: -50px;
  top: -50px;
  z-index: 0;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  transition: transform .58s cubic-bezier(.22, 1, .36, 1);
}
.service-card::after { background: linear-gradient(145deg, var(--service-accent), var(--service-accent-deep) 78%); }
.service-card:hover::after { transform: scale(9); }
.service-card:hover .service-num,
.service-card:hover p { color: #fff; }
.service-card:hover h3 {
  color: #fff;
  -webkit-text-stroke: 7px var(--service-outline);
  text-shadow: 0 3px 7px rgba(0, 0, 0, .24);
}
.service-card:hover .service-illustration {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .14));
  opacity: .9;
  transform: translateY(-3px) scale(1.02);
}

.strengths { color: var(--ink); background: var(--paper); }
.strengths .eyebrow { color: var(--blue); }
.strengths .section-head > p, .strength-item p { color: var(--muted); }
.strength-list { border-color: var(--line); }
.strength-item {
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  border-color: var(--line);
}
.strength-item .num { color: var(--blue); }
.strength-item h3 { font-size: clamp(1.25rem, 2.15vw, 1.6rem); font-weight: 500; }
.strength-title-line { display: block; white-space: nowrap; }

.works { background: #fff; }
.work-card {
  min-height: 440px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, #fff8f3 100%);
}
.work-card.secondary { background: linear-gradient(145deg, #fff 0%, #f7f7f5 100%); }
.work-card::before { border-color: rgba(232,89,12,.14); box-shadow: 0 0 0 52px rgba(232,89,12,.035), 0 0 0 104px rgba(232,89,12,.02); }
.work-label { color: var(--blue); border-color: #f0c8b3; }
.work-card p { color: var(--muted); }
.work-stat strong { color: var(--blue); }

.company-row { border-color: var(--line); }
.company-row dt { color: var(--blue); }
.company-copy .eyebrow,
.contact-copy .eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
}

.news-item:hover { background: #fff7f1; }
.news-tag { color: var(--blue); border-color: #efbea4; }
.news-arrow { color: var(--blue); }

.contact {
  color: var(--ink);
  background: #fff7f1;
  border-top: 1px solid #f5ded0;
}
.contact::after { border-color: rgba(232,89,12,.14); box-shadow: 0 0 0 70px rgba(232,89,12,.03), 0 0 0 140px rgba(232,89,12,.02); }
.contact-copy .eyebrow { color: var(--blue); }
.contact-copy p { color: var(--muted); }
.contact-box { border-color: #f0cbb7; border-radius: 8px; background: rgba(255,255,255,.7); }
.contact-box p { color: var(--muted); }
.contact-box .btn { color: #fff; background: var(--blue); }
.contact-note { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.contact-note:hover, .contact-note:focus-visible { color: #c94d09; }

footer { color: var(--ink); background: #fff; border-top: 1px solid var(--line); }
.footer-brand p, .footer-links { color: var(--muted); }
.footer-link-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.footer-bottom { color: #9aa0a6; border-color: var(--line); }
.to-top { color: var(--blue); }
.consent-modal[hidden] { display: none; }
.consent-modal {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: min(520px, calc(100% - 48px));
}
.consent-dialog {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fff;
  box-shadow: 0 18px 60px rgba(31, 35, 40, .18);
}
.consent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.consent-kicker {
  margin: 0 44px 8px 0;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.consent-dialog h2 {
  margin: 0 44px 12px 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.5;
}
.consent-dialog p { margin: 0; font-size: .88rem; line-height: 1.9; }
.consent-dialog a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions {
  display: grid;
  grid-template-columns: 1.1fr 1fr .75fr;
  gap: 8px;
  margin-top: 20px;
}
.consent-button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.consent-button--accept { border-color: var(--blue); color: #fff; background: var(--blue); }
.consent-button:hover { border-color: var(--blue); }
.consent-button--accept:hover { background: #cf4f0b; }
.consent-detail[hidden] { display: none; }
.consent-detail {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.consent-setting {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.consent-setting + .consent-setting { border-top: 1px solid var(--line); }
.consent-setting strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: .82rem; }
.consent-setting small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.6; }
.consent-setting input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--blue);
}
.consent-save { width: 100%; margin-top: 12px; }
.consent-button:focus-visible,
.consent-close:focus-visible,
.consent-dialog a:focus-visible { outline: 3px solid rgba(232, 89, 12, .3); outline-offset: 3px; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 40px), 1180px); }
  header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  nav {
    z-index: 1;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    opacity: 1;
    isolation: isolate;
  }
  nav.open { background: #fff; }
  .nav-cta { color: #fff; }
  .hero { min-height: auto; padding-top: 155px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: flex; min-height: 250px; align-items: start; }
  .hero-wordmark { text-indent: 0; }
  .hero-rule { margin-left: 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), 1180px); }
  .section { padding: 84px 0; }
  .hero { padding: 126px 0 72px; }
  .hero-inner {
    display: grid;
    gap: 0;
    align-items: start;
  }
  .hero-inner > div:first-child { display: contents; }
  .hero-kicker {
    order: 1;
    margin-bottom: 28px;
    font-size: .67rem;
    letter-spacing: .14em;
    white-space: nowrap;
  }
  .hero-visual {
    order: 2;
    min-height: auto;
    margin-bottom: 34px;
    align-items: start;
    justify-content: start;
  }
  .hero-wordmark {
    font-size: clamp(3.2rem, 17vw, 5rem);
    line-height: .9;
  }
  .hero-rule,
  .hero-visual p { display: none; }
  .hero h1 {
    order: 3;
    margin-bottom: 30px;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.5;
  }
  .hero-copy {
    display: block;
    order: 4;
    margin-bottom: 30px;
    font-size: .92rem;
    line-height: 1.9;
  }
  .hero-actions {
    order: 5;
    display: grid;
    gap: 10px;
  }
  .hero-actions .btn { width: 100%; }
  .hero-foot { display: none; }
  .hero h1, .intro h2 { white-space: normal; }
  .strengths .section-head { margin-bottom: 32px; }
  .strengths .section-head > p {
    margin-top: 16px;
    font-size: .92rem;
    line-height: 1.9;
  }
  .strength-list {
    display: grid;
    gap: 14px;
    border-top: 0;
  }
  .strength-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: start;
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }
  .strength-item .num {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(232, 89, 12, .3);
    border-radius: 50%;
    font-size: .72rem;
    line-height: 1;
  }
  .strength-item h3 {
    padding-top: 2px;
    font-size: 1.1rem;
    line-height: 1.65;
  }
  .strength-title-line { white-space: normal; }
  .strength-item p {
    grid-column: 1 / -1;
    margin-top: 2px;
    font-size: .9rem;
    line-height: 1.95;
  }
  .footer-links { display: none; }
  .consent-modal { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .consent-dialog {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 20px;
    border-radius: 8px;
  }
  .consent-actions { grid-template-columns: 1fr; }
  .consent-button--accept { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .bnto-bgglow { animation: none; opacity: .7; }
}
