:root {
  --ink: #202724;
  --muted: #65716d;
  --line: #dce3dd;
  --line-strong: #b8c8bd;
  --paper: #fbfaf4;
  --paper-deep: #f3f0e7;
  --white: #ffffff;
  --sage: #5f806e;
  --sage-deep: #3f6b56;
  --blue: #71879b;
  --teal: #6f9690;
  --stone: #e8e5da;
  --shadow: 0 24px 70px rgba(56, 69, 63, 0.12);
  --max: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(32, 39, 36, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

h1,
h2,
.services-heading h2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(251, 250, 244, 0.86);
  border-bottom: 1px solid rgba(220, 227, 221, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 176px;
  height: auto;
  mix-blend-mode: multiply;
}

.footer-brand img {
  display: block;
  width: 206px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 136px) 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  white-space: nowrap;
}

h1 span {
  display: inline;
}

h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.4vw, 58px);
}

h3 {
  font-size: clamp(20px, 2vw, 28px);
}

.hero {
  width: 100%;
  height: calc(100svh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(470px, 0.9fr);
  align-items: stretch;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.94) 0%, rgba(255, 253, 247, 0.82) 42%, rgba(255, 253, 247, 0.48) 72%),
    url("assets/images/hero-background.png") center bottom / cover no-repeat,
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  height: 100%;
  width: min(820px, 64vw);
  padding: clamp(92px, 11vw, 154px) 0 clamp(76px, 9vw, 128px) clamp(20px, 3vw, 42px);
}

.hero-lead {
  max-width: 520px;
  margin-top: clamp(28px, 3vw, 42px);
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
  margin-left: clamp(-170px, -9vw, -80px);
  overflow: hidden;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: multiply;
}

.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(52px, 8vw, 112px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.vertical-heading {
  position: relative;
  padding-left: 28px;
}

.vertical-heading::before {
  position: absolute;
  top: 4px;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: var(--line-strong);
}

.about-body {
  display: grid;
  gap: 34px;
}

.large-copy {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.75;
}

.concept-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.concept-line span {
  min-height: 124px;
  display: grid;
  place-items: center;
  color: rgba(32, 39, 36, 0.48);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.concept-line span:last-child {
  border-right: 0;
}

.about-body > p:last-child {
  color: var(--muted);
}

.company {
  border-top: 1px solid var(--line);
}

.company-heading {
  text-align: center;
}

.side-heading p,
.wide-heading p {
  margin-top: 22px;
  color: var(--muted);
}

.services-showcase {
  border-top: 1px solid var(--line);
}

.services-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.services-heading h2 {
  margin-top: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 500;
  line-height: 1.15;
}

.services-heading p {
  margin-top: 18px;
  color: var(--muted);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 46px);
  margin-top: clamp(48px, 6vw, 76px);
}

.service-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  align-items: center;
  padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 42px) 38px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(251, 250, 244, 0.72)),
    rgba(255, 255, 255, 0.54);
  border: 1px solid currentColor;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card-startup {
  color: #5a854d;
}

.service-card-community {
  color: #40799f;
}

.service-card-counseling {
  color: #4a9497;
}

.service-icon {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.service-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.service-title {
  display: block;
  margin-top: 42px;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}

.service-summary {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-size: 16px;
  line-height: 2;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-link::after {
  content: "→";
  font-size: 24px;
  line-height: 1;
}

.services-note {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 34px;
  justify-content: center;
  margin: clamp(44px, 6vw, 70px) auto 0;
  color: var(--ink);
  font-size: 18px;
  text-align: center;
}

.services-note::before,
.services-note::after {
  width: 92px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: var(--line-strong);
}

.detail-section {
  position: relative;
  overflow: visible;
  border-top: 1px solid var(--line);
}

.detail-intro {
  max-width: 760px;
}

.startup-heading {
  margin: 0 auto;
  text-align: center;
}

.startup-heading::before {
  display: block;
  width: 52px;
  height: 2px;
  margin: 0 auto 26px;
  content: "";
  background: var(--sage);
}

.detail-intro p {
  margin-top: 22px;
  color: var(--muted);
}

.startup-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1.64fr);
  margin-top: clamp(48px, 7vw, 78px);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px rgba(56, 69, 63, 0.1);
}

.startup-visual {
  min-height: 430px;
  overflow: hidden;
}

.startup-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.support-flow {
  display: grid;
  margin: 0;
  background: rgba(255, 255, 255, 0.72);
}

.flow-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr) 56px;
  gap: clamp(36px, 4.2vw, 64px);
  align-items: center;
  min-height: 150px;
  padding: clamp(24px, 3vw, 34px) clamp(42px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.flow-item:last-child {
  border-bottom: 0;
}

.flow-item h3 {
  color: var(--sage-deep);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.flow-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.flow-icon {
  justify-self: end;
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
}

.startup-closing {
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 4vw, 38px);
  padding: clamp(18px, 3vw, 28px) 0 0;
  color: var(--sage-deep);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  text-align: center;
}

.startup-closing::before,
.startup-closing::after {
  width: clamp(58px, 10vw, 110px);
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.wide-heading {
  max-width: 920px;
}

.cases {
  border-top: 1px solid var(--line);
}

.community {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.community::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(251, 250, 244, 0.86), rgba(251, 250, 244, 0.96)),
    url("assets/images/community-background.png") center / cover no-repeat;
}

.community .wide-heading {
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(44px, 6vw, 72px);
  padding: 8px 0;
}

.process-rail::before {
  display: none;
}

.process-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  padding: 12px clamp(14px, 2vw, 24px);
  text-align: center;
}

.process-card:not(:last-child)::after {
  position: absolute;
  top: 52px;
  right: calc(clamp(18px, 3vw, 38px) / -2 - 8px);
  width: 16px;
  height: 16px;
  content: "";
  border-top: 2px solid var(--sage-deep);
  border-right: 2px solid var(--sage-deep);
  transform: rotate(45deg);
}

.process-icon {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(95, 128, 110, 0.38);
  border-radius: 50%;
}

.process-icon img,
.summary-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.process-icon-blue {
  color: #40799f;
  border-color: rgba(64, 121, 159, 0.38);
}

.process-icon svg,
.summary-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.process-card span {
  color: var(--sage-deep);
  font-size: 18px;
  font-weight: 800;
}

.process-card > div:last-child {
  width: 100%;
}

.process-card h3 {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.35;
}

.process-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.community-message {
  max-width: 920px;
  margin: clamp(46px, 6vw, 68px) auto 0;
  padding: 0;
  text-align: center;
}

.community-message img {
  display: none;
}

.community-message p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2;
}

.community-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 1040px;
  margin: clamp(34px, 5vw, 56px) auto 0;
  padding: clamp(28px, 3.5vw, 38px) clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 54px rgba(56, 69, 63, 0.08);
}

.community-summary article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
  min-width: 0;
}

.community-summary article + article {
  padding-left: clamp(30px, 4vw, 54px);
  border-left: 1px solid var(--line-strong);
}

.summary-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--sage-deep);
  background: rgba(95, 128, 110, 0.12);
  border-radius: 50%;
}

.summary-icon-blue {
  color: #40799f;
  background: rgba(64, 121, 159, 0.1);
}

.community-summary h3 {
  color: var(--sage-deep);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.4;
}

.community-summary p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.9;
}

.case-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: 48px;
}

.case-feature {
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.placeholder-block {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: rgba(32, 39, 36, 0.36);
  background:
    linear-gradient(135deg, rgba(95, 128, 110, 0.11), rgba(113, 135, 155, 0.13)),
    var(--paper-deep);
  border: 1px dashed var(--line-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-logo {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.case-logo img {
  display: block;
  width: min(100%, 280px);
  max-height: 120px;
  object-fit: contain;
}

.case-logo-orion img {
  width: min(100%, 320px);
  mix-blend-mode: multiply;
}

.case-feature h3 {
  margin-top: 28px;
}

.case-feature p {
  margin-top: 12px;
  color: var(--muted);
}

.case-feature a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--sage-deep);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}


.company-list {
  border-top: 1px solid var(--line-strong);
  width: min(860px, 100%);
  margin: clamp(34px, 5vw, 58px) auto 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.company-list dd {
  font-weight: 700;
}

.officer-list {
  display: grid;
  gap: 8px;
}

.officer-list > span {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.officer-list span span {
  font-weight: 500;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.copyright {
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .section-shell,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .about,
  .detail-section,
  .community-summary,
  .case-archive,
  .company {
    grid-template-columns: 1fr;
  }

  .detail-intro {
    position: static;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    padding: 0 16px;
  }

  .hero-copy {
    min-height: auto;
    width: auto;
    padding: 86px 20px 48px 48px;
  }

  .hero-lead {
    max-width: 420px;
  }

  .hero-visual {
    margin: 0 -16px;
    min-height: 420px;
  }

  .startup-layout {
    grid-template-columns: 1fr;
  }

  .startup-visual {
    min-height: 360px;
  }

  .flow-item {
    grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr) 44px;
    gap: 28px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .flow-icon {
    width: 38px;
    height: 38px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px;
  }

  .process-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    padding: 26px 8px;
    text-align: center;
  }

  .process-card:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .process-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 25px;
    transform: rotate(135deg);
    background: rgba(255, 255, 255, 0.86);
  }

  .process-icon {
    width: 60px;
    height: 60px;
  }

  .process-icon svg {
    width: 28px;
    height: 28px;
  }

  .process-icon img {
    width: 28px;
    height: 28px;
  }

  .community-message,
  .community-summary article {
    grid-template-columns: 1fr;
  }

  .community-message {
    gap: 18px;
    text-align: center;
  }

  .community-summary article + article {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .summary-icon {
    justify-self: center;
  }

  .community-summary article {
    text-align: center;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .process-rail::before {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand img {
    width: 142px;
  }

  .section-shell {
    padding: 72px 0;
  }

  h1 {
    font-size: 64px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    white-space: nowrap;
  }

  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy {
    padding: 72px 0 38px 30px;
  }

  .hero-lead {
    max-width: 280px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-visual img {
    object-position: center top;
  }

  .concept-line span {
    min-height: 96px;
  }

  .services-note {
    align-items: center;
    gap: 16px;
    font-size: 15px;
  }

  .services-note::before,
  .services-note::after {
    width: 36px;
  }

  .flow-item {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding-right: 24px;
    padding-left: 24px;
  }

  .flow-item h3 {
    white-space: normal;
  }

  .flow-icon {
    justify-self: start;
    display: none;
  }

  .startup-visual {
    min-height: 280px;
  }

  .community-summary,
  .case-feature {
    padding: 24px;
  }

}
