:root {
  --green: #10b954;
  --green-deep: #05a83f;
  --green-soft: #e8f7ef;
  --green-pale: #f2fbf6;
  --brown: #1e140f;
  --brown-soft: #423530;
  --gray: #8e8e93;
  --gray-warm: #f5f3f1;
  --line: #e9e4df;
  --white: #fff;
  --shadow: 0 24px 70px rgba(31, 20, 15, .1);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 20% 0%, rgba(16, 185, 84, .08), transparent 24rem),
    linear-gradient(180deg, #fbfaf9 0%, #f7f5f2 100%);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(100% - 24px, 1480px);
  margin: 14px auto;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(233, 228, 223, .9);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(31, 20, 15, .08);
  position: relative;
}

.site-shell::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -3rem;
  width: 72%;
  height: 12rem;
  background:
    radial-gradient(circle, rgba(16, 185, 84, .08) 1px, transparent 1.5px) 0 0 / 8px 8px,
    rgba(16, 185, 84, .05);
  border-radius: 58% 42% 0 0;
  transform: rotate(-8deg);
  pointer-events: none;
}

.section-pad {
  width: min(100% - 64px, var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, var(--content));
  min-height: 96px;
  margin-inline: auto;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 88px;
  height: auto;
}

.brand strong {
  display: block;
  color: #140d0a;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 900;
  line-height: .92;
}

.brand small {
  display: block;
  margin-top: 8px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  font-weight: 800;
}

.site-nav a {
  transition: color .2s ease;
}

.site-nav a:hover {
  color: var(--green);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  color: var(--green);
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--brown);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: minmax(560px, .92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 28px;
  padding: 72px 0 92px;
  position: relative;
}

.hero-bg-shape {
  position: absolute;
  left: -12%;
  top: 16%;
  width: 64%;
  height: 75%;
  background: linear-gradient(140deg, rgba(232, 247, 239, .92), rgba(232, 247, 239, .34));
  border-radius: 48% 52% 58% 42%;
  transform: rotate(18deg);
  z-index: 0;
}

.dot-pattern {
  position: absolute;
  right: 3%;
  top: 14%;
  width: 138px;
  height: 98px;
  background: radial-gradient(circle, rgba(16, 185, 84, .16) 3px, transparent 4px) 0 0 / 22px 22px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 0 0 52px;
  padding: 0 18px;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(31, 20, 15, .04);
}

.eyebrow span {
  width: 9px;
  height: 9px;
  background: #bdebd0;
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 32px;
  font-size: clamp(2.6rem, 4.25vw, 3.75rem);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: 0;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.headline-line > span {
  display: inline-block;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 44px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 58px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 216px;
  min-height: 68px;
  padding: 0 30px;
  font-weight: 900;
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 20px 36px rgba(16, 185, 84, .22);
}

.button-secondary {
  color: var(--green-deep);
  background: rgba(255, 255, 255, .78);
  border: 1.5px solid var(--green);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 12px;
  max-width: 620px;
}

.service-strip a,
.service-card,
.product-board article,
.process-grid article,
.dashboard-card,
.contact-form,
.recruit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(31, 20, 15, .06);
}

.service-strip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  gap: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
}

.service-strip svg,
.service-card svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.phone-rail {
  position: absolute;
  left: 3%;
  top: 21%;
  width: 118px;
  height: 282px;
  padding: 22px 0;
  background: linear-gradient(180deg, #160f0b, #2c1e17);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.phone-rail span:not(.rail-logo) {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 3px;
}

.rail-logo {
  width: 22px;
  height: 14px;
  border: 5px solid var(--green);
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 999px 999px;
}

.dashboard-card {
  position: absolute;
  padding: 22px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 900;
}

.panel-title span {
  padding: 8px 14px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: .72rem;
}

.top-card {
  top: 9%;
  right: 2%;
  width: min(92%, 620px);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.kpi {
  min-height: 112px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kpi span {
  display: block;
  color: var(--brown-soft);
  font-size: .72rem;
  font-weight: 800;
}

.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  line-height: 1.1;
}

.kpi em {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: .78rem;
  font-style: normal;
  font-weight: 900;
}

.kpi svg,
.mini-dashboard svg,
.mini-stats svg {
  width: 100%;
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donut-card {
  left: 8%;
  top: 50%;
  width: 235px;
}

.donut-wrap {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
}

.donut {
  width: 96px;
  height: 96px;
  background: conic-gradient(#3478f6 0 40%, #10b954 40% 68%, #ffd400 68% 86%, #ff4e45 86% 95%, #8f45ff 95% 100%);
  border-radius: 50%;
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 26px;
  background: #fff;
  border-radius: 50%;
}

.donut-wrap ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .62rem;
  line-height: 1.4;
}

.donut-wrap li span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  background: var(--c);
  border-radius: 50%;
}

.donut-wrap b {
  display: block;
  color: var(--gray);
  font-size: .58rem;
}

.table-card {
  right: 0;
  top: 43%;
  width: min(84%, 470px);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .76rem;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0ece8;
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--gray);
  font-size: .68rem;
}

mark {
  padding: 3px 8px;
  color: var(--green-deep);
  background: #dff8e9;
  border-radius: 999px;
  font-weight: 900;
}

.keyword-card {
  right: 12%;
  bottom: 3%;
  width: min(74%, 430px);
}

.search-field {
  height: 38px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  color: var(--gray);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.chips span {
  padding: 6px 12px;
  color: var(--brown-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
}

.chips span:first-child {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.keyword-card i {
  display: block;
  width: 70px;
  height: 18px;
  background:
    linear-gradient(135deg, transparent 44%, var(--green) 45% 56%, transparent 57%) 0 0 / 18px 18px,
    linear-gradient(180deg, transparent 46%, rgba(16, 185, 84, .12) 47%);
}

.hero-bean {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 240px;
  filter: drop-shadow(0 20px 28px rgba(16, 185, 84, .16));
}

.trusted {
  display: grid;
  grid-template-columns: 220px 1px 1fr;
  align-items: center;
  gap: 42px;
  width: min(100% - 64px, var(--content));
  margin: 0 auto;
  padding: 38px 0 96px;
  border-top: 1px solid var(--line);
}

.trusted p {
  margin: 0;
  color: var(--green);
  font-weight: 900;
  line-height: 1.5;
}

.divider {
  width: 1px;
  height: 48px;
  background: #c9c2bd;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #27201d;
  font-size: clamp(.8rem, 1.5vw, 1.08rem);
  font-weight: 900;
}

.logos small {
  color: var(--gray);
  font-weight: 700;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: .96rem;
  font-weight: 900;
}

.section-kicker::before {
  content: "";
  width: 5px;
  height: 24px;
  background: var(--green);
  border-radius: 999px;
}

.intro,
.services,
.product,
.process,
.contact,
.recruit {
  padding-block: 96px;
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.24;
}

.intro-grid p,
.section-heading p,
.recruit p {
  color: var(--brown-soft);
  font-size: 1.06rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading p {
  max-width: 380px;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 250px;
  padding: 26px;
}

.service-card h3,
.process-grid h3 {
  margin: 22px 0 10px;
  font-size: 1.18rem;
  font-weight: 900;
}

.service-card p,
.process-grid p {
  margin-bottom: 0;
  color: var(--brown-soft);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.8;
}

.product-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-board article {
  min-height: 250px;
  padding: 18px;
}

.product-board article > span {
  display: block;
  margin-bottom: 14px;
  font-size: .86rem;
  font-weight: 900;
}

.mini-dashboard,
.mini-table,
.mini-stats,
.task-list {
  height: 184px;
  padding: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.mini-kpis b,
.mini-stats div {
  padding: 10px;
  background: var(--green-pale);
  border-radius: var(--radius);
  font-size: .9rem;
}

.mini-table,
.task-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mini-table p,
.task-list p {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0ece8;
  font-size: .75rem;
}

.mini-table small,
.task-list small,
.mini-stats small {
  color: var(--gray);
  font-weight: 800;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-stats svg {
  grid-column: 1 / -1;
}

.mini-stats b,
.mini-stats small {
  display: block;
}

.task-list p {
  grid-template-columns: 16px 1fr auto;
}

.task-list i {
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  padding: 28px;
}

.process-grid span {
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
}

.recruit {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) auto;
  align-items: center;
  gap: 36px;
  padding: 42px;
}

.recruit .button {
  min-width: 190px;
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 112px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brown-soft);
  font-size: .88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--brown);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 84, .12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100% - 64px, var(--content));
  margin-inline: auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer .brand-mark {
  width: 50px;
}

.site-footer .brand strong {
  font-size: 1.1rem;
}

.site-footer .brand small {
  margin-top: 3px;
  font-size: .7rem;
}

.site-footer p {
  margin: 0;
  color: var(--brown-soft);
  font-size: .86rem;
  font-weight: 800;
}

.site-footer > small {
  margin-left: auto;
  color: var(--gray);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .product-board,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trusted {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .divider {
    display: none;
  }

  .logos {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .recruit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 12px, 1480px);
    margin: 6px auto;
  }

  .section-pad,
  .site-header,
  .trusted,
  .site-footer {
    width: min(100% - 32px, var(--content));
  }

  .site-header {
    min-height: 78px;
  }

  .brand-mark {
    width: 62px;
  }

  .brand strong {
    font-size: 1.55rem;
  }

  .brand small {
    margin-top: 4px;
    font-size: .78rem;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 30;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(84vw, 360px);
    height: 100svh;
    padding: 96px 28px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, .96);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(31, 20, 15, .08);
    transform: translateX(105%);
    transition: transform .24s ease;
  }

  .menu-open .site-nav {
    transform: translateX(0);
  }

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

  .nav-contact {
    margin-top: 24px;
    border-bottom: 1.5px solid currentColor;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 48px 0 72px;
  }

  .eyebrow {
    margin-bottom: 32px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .headline-line {
    white-space: normal;
  }

  .headline-line > span {
    white-space: nowrap;
  }

  .hero-actions {
    gap: 14px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .phone-rail {
    left: 0;
    width: 74px;
    height: 236px;
  }

  .top-card,
  .table-card,
  .keyword-card {
    width: calc(100% - 54px);
    right: 0;
  }

  .donut-card {
    left: 34px;
    top: 43%;
    width: 250px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-card {
    top: 54%;
  }

  .keyword-card {
    bottom: 0;
  }

  .hero-bean {
    width: 170px;
  }

  .intro,
  .services,
  .product,
  .process,
  .contact,
  .recruit {
    padding-block: 64px;
  }

  .intro-grid,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
    display: grid;
    gap: 28px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading p {
    max-width: none;
  }

  .service-grid,
  .product-board,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer > small {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .hero-lead {
    line-height: 1.85;
  }

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

  .service-strip a {
    min-height: 96px;
  }

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

  .dashboard-card {
    padding: 16px;
  }

  .top-card {
    top: 4%;
  }

  .donut-card {
    top: 36%;
  }

  .table-card {
    top: 55%;
    overflow: auto;
  }

  .keyword-card {
    width: 100%;
    right: 0;
  }

  .phone-rail {
    display: none;
  }

  th,
  td {
    padding: 8px 6px;
  }

  .trusted {
    padding-bottom: 64px;
  }
}
