:root {
  --site-red: #e60012;
  --site-ink: #121826;
  --max: 1024px;
  --site-fv-height: 590px;
  --site-page-background:
    radial-gradient(ellipse 38% 72% at 0% 24%, rgba(230, 0, 18, .055), transparent 72%),
    radial-gradient(ellipse 40% 74% at 100% 30%, rgba(17, 70, 200, .045), transparent 72%),
    linear-gradient(180deg, #fff 0%, #fbfcfe 48%, #fff 100%);
}

body {
  background-color: #fff;
  background-image: var(--site-page-background);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% 900px, 100% 900px, 100% 100%;
  background-attachment: scroll;
}

body.home-page {
  --site-page-background:
    radial-gradient(ellipse 42% 78% at 0% 22%, rgba(230, 0, 18, .085), transparent 70%),
    radial-gradient(ellipse 44% 76% at 100% 28%, rgba(17, 70, 200, .075), transparent 71%),
    linear-gradient(145deg, #fff9fa 0%, #fff 43%, #f7faff 100%);
}

body.service-index-page {
  --site-page-background:
    radial-gradient(ellipse 42% 78% at 0% 20%, rgba(230, 0, 18, .08), transparent 70%),
    radial-gradient(ellipse 46% 76% at 100% 26%, rgba(122, 62, 232, .07), transparent 72%),
    linear-gradient(145deg, #fff9fa 0%, #fff 42%, #f8f6ff 100%);
}

body.company-page {
  --site-page-background:
    radial-gradient(ellipse 40% 76% at 0% 20%, rgba(230, 0, 18, .07), transparent 72%),
    radial-gradient(ellipse 44% 78% at 100% 28%, rgba(70, 95, 132, .075), transparent 72%),
    linear-gradient(145deg, #fffafa 0%, #fff 46%, #f5f8fc 100%);
}

body.contact-page {
  --site-page-background:
    radial-gradient(ellipse 42% 78% at 0% 22%, rgba(230, 0, 18, .085), transparent 70%),
    radial-gradient(ellipse 44% 76% at 100% 27%, rgba(239, 109, 43, .065), transparent 72%),
    linear-gradient(145deg, #fff8f9 0%, #fff 44%, #fff9f4 100%);
}

body.service-ma-page {
  --site-page-background:
    radial-gradient(ellipse 44% 80% at 0% 22%, rgba(230, 0, 18, .095), transparent 70%),
    radial-gradient(ellipse 46% 78% at 100% 30%, rgba(255, 112, 32, .08), transparent 72%),
    linear-gradient(145deg, #fff7f8 0%, #fff 43%, #fff8f2 100%);
}

body.service-vc-cvc-page {
  --site-page-background:
    radial-gradient(ellipse 44% 80% at 0% 22%, rgba(17, 70, 200, .09), transparent 70%),
    radial-gradient(ellipse 46% 78% at 100% 30%, rgba(34, 164, 255, .09), transparent 72%),
    linear-gradient(145deg, #f6f9ff 0%, #fff 43%, #f2fbff 100%);
}

body.beaulab-page {
  --site-page-background:
    radial-gradient(ellipse 44% 80% at 0% 22%, rgba(255, 62, 181, .09), transparent 70%),
    radial-gradient(ellipse 46% 80% at 100% 28%, rgba(122, 62, 232, .1), transparent 72%),
    linear-gradient(145deg, #fff7fc 0%, #fff 43%, #f8f4ff 100%);
}

.hero.container {
  margin-right: auto;
  margin-left: auto;
}

.hero > .container {
  width: 100%;
  padding-right: clamp(28px, 3.4vw, 48px);
  padding-left: clamp(28px, 3.4vw, 48px);
}

@media (min-width: 981px) {
  .hero {
    display: flex;
    align-items: center;
    height: var(--site-fv-height);
    min-height: var(--site-fv-height);
  }

  .hero-content,
  .hero-grid {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-grid {
    align-items: center;
  }

  .hero .form-card {
    align-self: center;
  }

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

  .logo {
    font-size: 26px;
  }

  .logo::after {
    font-size: 7.5px;
  }

  .header .nav {
    gap: 34px;
    font-size: 14px;
  }

  .header .contact-btn {
    padding: 13px 23px;
  }

  .breadcrumb {
    font-size: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .eyebrow,
  .kicker {
    font-size: 13px;
  }

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

  .footer p,
  .footer a {
    font-size: 12px;
  }
}

*:focus-visible {
  outline: 3px solid #ff9eaa;
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #fff;
  color: var(--site-ink);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.logo {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  line-height: 1;
  white-space: nowrap;
}

.logo-image {
  width: 180px;
  padding-bottom: 0;
  line-height: 0;
}

.logo-image::after {
  display: none;
}

.logo-image img {
  width: 100%;
  height: auto;
}

.logo-image--light img {
  filter: brightness(0) invert(1);
}

.logo::after {
  content: "INVESTMENT & M&A PLATFORM";
  position: absolute;
  bottom: 0;
  left: 0;
  color: currentColor;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .025em;
  opacity: .78;
}

.header .nav .contact-btn,
.header .nav .contact-btn.active {
  color: #fff;
}

.header .nav .contact-btn::after,
.header .nav .contact-btn.active::after {
  content: none;
  display: none;
}

.form-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #f2c7cc;
  border-radius: 6px;
  background: #fff8f8;
  color: #8f1d28;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .62;
}

@media (hover: hover) {
  .nav a:not(.contact-btn):hover,
  .footer a:hover,
  .detail:hover,
  .more:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header-inner {
    position: relative;
  }

  .header .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none !important;
    margin: 0;
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #eceef1;
    border-top: 0;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .12);
  }

  .header .nav.is-open {
    display: flex !important;
  }

  .header .nav a {
    display: block;
    padding: 12px 8px;
  }

  .header .nav a.active::after {
    display: none;
  }

  .header .nav .contact-btn {
    margin-top: 8px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 70px;
    height: 70px;
  }

  .logo {
    font-size: 21px;
  }

  .logo-image {
    width: 150px;
  }

  .logo::after {
    font-size: 6px;
  }
}

/* Shared visual system */
:root {
  --site-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --site-text: #151a24;
  --site-muted: #596273;
  --site-border: rgba(18, 24, 38, .09);
  --site-surface: rgba(255, 255, 255, .96);
  --site-radius-sm: 9px;
  --site-radius-md: 14px;
  --site-radius-lg: 20px;
  --site-shadow-sm: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --site-shadow-md: 0 8px 24px rgba(16, 24, 40, .075), 0 2px 6px rgba(16, 24, 40, .035);
  --site-shadow-lg: 0 18px 46px rgba(16, 24, 40, .11), 0 4px 12px rgba(16, 24, 40, .045);
}

html {
  color: var(--site-text);
}

body {
  color: var(--site-text);
  font-family: var(--site-font-sans);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .018em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(230, 0, 18, .14);
  color: var(--site-text);
}

h1,
h2,
h3,
h4,
strong,
b {
  font-weight: 700;
  letter-spacing: -.025em;
}

p {
  line-height: 1.9;
}

.header {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(18, 24, 38, .065);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 8px 28px rgba(16, 24, 40, .045);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.header .nav a {
  position: relative;
  font-weight: 600;
  letter-spacing: .035em;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.header .nav a:not(.contact-btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.header .nav a.active:not(.contact-btn)::after {
  transform: scaleX(1);
}

.header .nav-group {
  position: relative;
}

.header .nav-main {
  display: inline-flex;
  align-items: center;
}

.header .nav-service-row {
  display: flex;
  align-items: center;
}

.header .nav-submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.header .nav-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}

.header .nav-submenu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 24px);
  left: 50%;
  min-width: 224px;
  padding: 9px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(16, 24, 40, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.header .nav-submenu::before {
  content: "";
  position: absolute;
  top: -28px;
  right: 0;
  left: 0;
  height: 28px;
}

.header .nav-submenu a,
.header .nav-submenu a.active {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--site-ink);
  font-size: 13px;
  letter-spacing: .01em;
  white-space: nowrap;
}

.header .nav-submenu a::after,
.header .nav-submenu a.active::after {
  display: none !important;
}

.header .nav-group:hover .nav-submenu,
.header .nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header .nav-group:hover .nav-chevron,
.header .nav-group:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.header .contact-btn {
  border-radius: var(--site-radius-sm);
  box-shadow: 0 8px 20px rgba(16, 24, 40, .14);
}

.breadcrumb {
  color: #737c8c;
  font-weight: 500;
  letter-spacing: .025em;
}

.eyebrow,
.kicker {
  font-weight: 800;
  letter-spacing: .1em;
}

.hero h1 {
  max-width: 18ch;
  font-weight: 700;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero h2 {
  font-weight: 700;
  letter-spacing: -.02em;
}

.hero p,
.hero .lead {
  color: #3f4754;
  line-height: 1.9;
  text-wrap: pretty;
}

.section,
.services,
.company-section,
.form-section {
  padding-top: 64px;
  padding-bottom: 72px;
}

.section h2,
.section-title h2,
.section-title-row h2 {
  font-size: clamp(25px, 2.35vw, 32px);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.section-title p {
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.85;
}

.section-title-row {
  margin-bottom: 32px;
}

.section-title {
  margin-bottom: 28px;
}

.service-grid,
.value-grid,
.feature-grid,
.problem-grid,
.cases-grid {
  gap: 18px;
}

.service-card,
.company-card,
.form-card,
.thanks-card,
.value-card,
.about-point,
.feature,
.problem,
.case,
.stats,
.audience-cta {
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-md);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-md);
}

.service-card,
.form-card,
.case,
.company-card,
.audience-cta {
  overflow: hidden;
}

.service-card .thumb,
.service-card > img,
.case .thumb {
  overflow: hidden;
}

.service-card .thumb,
.service-card > img {
  height: 168px;
}

.service-card .body,
.service-body {
  padding: 24px;
}

.service-card h2,
.service-card h3,
.service-body h2 {
  font-size: 20px;
  line-height: 1.45;
}

.service-card p,
.service-body p {
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.85;
}

.value-card,
.feature,
.problem {
  padding: 22px 18px;
}

.value-card h3,
.feature h3,
.problem h3,
.reason h3 {
  font-size: 15px;
  line-height: 1.5;
}

.value-card p,
.feature p,
.problem p,
.reason p {
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.75;
}

.reason-grid {
  margin-top: 28px;
  gap: 14px;
  border-top: 0;
  border-bottom: 0;
}

.cases-grid,
.section > .container > .flow {
  margin-top: 28px;
}

.reason {
  padding: 24px 18px;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-md);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-sm);
}

.reason + .reason {
  border-left: 1px solid var(--site-border);
}

.case .thumb {
  height: 120px;
}

.case .body {
  padding: 16px;
}

.case {
  position: relative;
}

.case .body a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.case h3 {
  font-size: 14px;
  line-height: 1.55;
}

.case p,
.case a {
  font-size: 12px;
  line-height: 1.7;
}

.stats {
  border-radius: var(--site-radius-md);
}

.stat {
  padding: 24px 26px;
  font-size: 13px;
}

.stat strong {
  font-size: 34px;
  letter-spacing: -.04em;
}

.flow-icon,
.quick-icon,
.about-icon,
.feature-icon,
.problem-icon,
.audience-icon {
  box-shadow: var(--site-shadow-sm);
}

.flow-step h3 {
  font-size: 12px;
  line-height: 1.55;
}

.flow-step p,
.flow-label {
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.65;
}

.quick strong,
.about-point b {
  font-size: 12px;
  line-height: 1.55;
}

.about-point span {
  font-size: 11px;
}

.company-card .row {
  min-height: 90px;
}

.company-card .label {
  background: linear-gradient(135deg, #f7f8fa, #fff);
}

.company-card .value {
  color: #343c49;
}

.form-card {
  box-shadow: var(--site-shadow-lg);
}

.form-field input,
.form-field select,
.form-field textarea,
.form input,
.form select,
.form textarea {
  border-color: rgba(18, 24, 38, .13);
  background: rgba(255, 255, 255, .98);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .035);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(230, 0, 18, .42);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(230, 0, 18, .075);
  outline: 0;
}

.cta {
  margin-top: 48px;
  margin-bottom: 64px;
  border-radius: var(--site-radius-md);
  box-shadow: var(--site-shadow-lg);
}

.cta h2,
.cta h3 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.45;
}

.cta p {
  font-size: 13px;
  line-height: 1.8;
}

.contact-btn,
.btn-black,
.outline-btn,
.cta-primary,
.cta-secondary,
.submit,
.submit-btn,
.audience-link {
  border-radius: var(--site-radius-sm);
  font-weight: 700;
  letter-spacing: .015em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}

.btn-black,
.cta-primary,
.submit,
.submit-btn {
  box-shadow: 0 9px 22px rgba(16, 24, 40, .16);
}

.outline-btn,
.cta-secondary,
.audience-link {
  box-shadow: var(--site-shadow-sm);
}

.service-link,
.detail,
.more {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.service-card:focus-visible {
  outline: 3px solid rgba(230, 0, 18, .28);
  outline-offset: 4px;
}

.case:focus-within {
  outline: 3px solid rgba(230, 0, 18, .2);
  outline-offset: 4px;
}

.footer {
  margin-top: 20px;
  padding: 24px 0 28px;
  background: #202126;
  color: #fff;
  border-top: 1px solid rgba(18, 24, 38, .08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.footer::after {
  display: none;
}

.footer-grid {
  grid-template-columns: 1.15fr .8fr 1fr;
  align-items: start;
  gap: 40px;
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
}

.footer p,
.footer a {
  color: #ddd;
  font-size: 12px;
  line-height: 1.9;
}

.footer-links {
  gap: 5px;
}

.footer--light {
  background: #fff;
  color: var(--site-ink);
  border-top-color: rgba(18, 24, 38, .08);
  box-shadow: none;
}

.footer--light p,
.footer--light a {
  color: #353b47;
}

@media (min-width: 981px) {
  .hero .form-head b {
    font-size: 16px;
  }

  .hero .form-head span,
  .hero .form label,
  .hero .check {
    font-size: 10px;
  }

  .hero .form input,
  .hero .form select,
  .hero .form textarea {
    font-size: 11px;
  }
}

@media (hover: hover) {
  .header .nav a:not(.contact-btn):hover {
    text-decoration: none;
  }

  .header .nav a:not(.contact-btn):hover::after {
    transform: scaleX(1);
  }

  .header .nav-submenu a:hover {
    background: #f5f7fa;
    color: var(--site-red);
  }

  .contact-btn:hover,
  .btn-black:hover,
  .outline-btn:hover,
  .cta-primary:hover,
  .cta-secondary:hover,
  .submit:not(:disabled):hover,
  .submit-btn:not(:disabled):hover,
  .audience-link:hover {
    filter: brightness(.98);
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(16, 24, 40, .18);
  }

  .service-card .thumb img,
  .service-card > img,
  .case .thumb img {
    transition: transform .45s ease;
  }

  .service-card:hover .thumb img,
  .service-card:hover > img,
  .case:hover .thumb img {
    transform: scale(1.04);
  }
}

html.scroll-reveal-ready .text-reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity .62s cubic-bezier(.22, 1, .36, 1),
    transform .62s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.scroll-reveal-ready .text-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

br.sp-only {
  display: none;
}

br.narrow-only {
  display: none;
}

.service-index-page .service-card:nth-child(2) > img,
.service-index-page .service-card:nth-child(3) > img {
  object-position: left center;
}

@media (prefers-reduced-motion: reduce) {
  html.scroll-reveal-ready .text-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .header .nav-group {
    display: block;
  }

  .header .nav-service-row {
    justify-content: space-between;
  }

  .header .nav-main {
    flex: 1;
  }

  .header .nav-submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: 10px;
  }

  .header .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px 14px;
    padding: 2px 0 2px 12px;
    border: 0;
    border-left: 2px solid rgba(230, 0, 18, .16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: none;
  }

  .header .nav-submenu::before {
    display: none;
  }

  .header .nav-submenu a,
  .header .nav-submenu a.active {
    padding: 8px 10px;
    color: #59616d;
    font-size: 13px;
  }

  .header .nav-group:hover .nav-submenu,
  .header .nav-group:focus-within .nav-submenu {
    transform: none;
  }

  .header .nav-group.is-submenu-open .nav-submenu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .header .nav-group:not(.is-submenu-open) .nav-chevron {
    transform: none;
  }

  .header .nav-group.is-submenu-open .nav-chevron {
    transform: rotate(180deg);
  }

  .hero-grid > .form-card {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .section,
  .services,
  .company-section,
  .form-section {
    padding-top: 56px;
    padding-bottom: 64px;
  }

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

@media (max-width: 640px) {
  .hero > .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  br.sp-only {
    display: initial;
  }

  .stats .stat {
    padding: 12px 18px;
  }

  .stats .stat + .stat {
    border-top: 1px solid var(--site-border);
    border-left: 0;
  }

  .stats .stat strong {
    font-size: 30px;
  }

  body {
    font-size: 14px;
    letter-spacing: .012em;
  }

  .section,
  .services,
  .company-section,
  .form-section {
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .section h2,
  .section-title h2,
  .section-title-row h2 {
    font-size: 27px;
  }

  .section-title-row,
  .section-title {
    margin-bottom: 22px;
  }

  .reason-grid,
  .cases-grid,
  .section > .container > .flow {
    margin-top: 24px;
  }

  .cta {
    margin-top: 36px;
    margin-bottom: 48px;
  }

  .service-card .thumb,
  .service-card > img {
    height: 190px;
  }

  .service-card .body,
  .service-body {
    padding: 22px;
  }

  .value-card,
  .about-point,
  .feature,
  .problem,
  .reason {
    padding: 24px 20px;
  }

  .footer {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .footer p,
  .footer a {
    font-size: 12px;
  }
}

@media (max-width: 455px) {
  br.narrow-only {
    display: initial;
  }
}
