.hero {
  min-height: 760px;
  padding: 150px 0 94px;
  background:
    radial-gradient(circle at 92% 16%, rgba(201, 0, 0, .08), transparent 24%),
    linear-gradient(100deg, #ffffff 0%, #ffffff 52%, #f8f8f8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.vertical-note {
  position: absolute;
  left: max(18px, calc((100vw - var(--container)) / 2 - 58px));
  top: 246px;
  writing-mode: vertical-rl;
  color: #999999;
  font-size: 11px;
  letter-spacing: .18em;
}

.vertical-note::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 48px;
  margin-bottom: 12px;
  background: var(--red);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.24;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 34px;
  color: #444444;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.hero-actions a:hover {
  opacity: 1;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-arc {
  position: absolute;
  top: -8px;
  right: 24px;
  width: 430px;
  height: 430px;
  border: 64px solid var(--red);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-14deg);
  z-index: 0;
}

.hero-photo-frame {
  position: absolute;
  display: block;
  inset: 18px -44px 0 -24px;
  z-index: 1;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 68%;
}

.floating-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 136px;
  padding: 12px 15px;
  border: 1px solid rgba(201, 0, 0, .18);
  border-radius: var(--radius);
  color: #333333;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 700;
}

.floating-label .icon-img {
  --icon-size: 21px;
}

.label-1 { left: 14px; top: 76px; }
.label-2 { left: -28px; top: 226px; }
.label-3 { left: 24px; bottom: 48px; }

.stats-band {
  position: relative;
  z-index: 4;
  margin-top: -56px;
  padding-bottom: 24px;
}

.stats-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(232, 232, 232, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stats-overview,
.service-tile {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.service-tile:last-child { border-right: 0; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-row strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.metric-row small {
  font-size: 15px;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: #666666;
  font-size: 11px;
  font-weight: 700;
}

.service-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #222222;
  text-align: center;
}

.service-tile .icon-img {
  --icon-size: 32px;
  margin: 0 auto 10px;
}

.service-tile strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.service-tile small {
  display: block;
  color: #666666;
  font-size: 11px;
  line-height: 1.55;
  margin-top: 6px;
}

.strength {
  background:
    radial-gradient(circle at 96% 36%, rgba(201, 0, 0, .06), transparent 26%),
    #ffffff;
}

.strength-layout {
  display: grid;
  grid-template-columns: 1fr 270px 1fr;
  align-items: center;
  gap: 26px;
  margin-top: 44px;
}

.strength-col {
  display: grid;
  gap: 18px;
}

.strength-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.strength-card .icon-img {
  --icon-size: 36px;
}

.strength-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.45;
}

.strength-card p {
  margin: 0;
  color: #666666;
  font-size: 13px;
}

.strength-core {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 0, 0, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 42%, transparent 43%),
    repeating-conic-gradient(from 0deg, rgba(201, 0, 0, .35) 0 2deg, transparent 2deg 30deg);
}

.strength-core::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 0, 0, .2);
  border-radius: 50%;
}

.core-logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  color: var(--red);
  text-align: center;
}

.core-logo svg,
.core-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.core-logo span {
  color: #222222;
  font-size: 11px;
  font-weight: 700;
}

.tech-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  margin-top: 56px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
}

.tech-row span {
  color: #555555;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.works {
  background:
    linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head-row .section-lead { margin-bottom: 0; }

.works-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.summary-pill {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 6px 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.summary-pill .icon-img {
  --icon-size: 30px;
  grid-row: span 2;
}

.summary-pill strong {
  font-size: 15px;
  line-height: 1.2;
}

.summary-pill small {
  color: #666666;
  font-size: 11px;
  font-weight: 700;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.work-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eeeeee;
}

.work-body { padding: 17px; }

.work-no {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.work-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

.work-card p {
  margin: 0 0 14px;
  color: #666666;
  font-size: 12px;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #666666;
  background: #f6f6f6;
  font-size: 10px;
  font-weight: 700;
}

.works-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.works-contact .icon-img {
  --icon-size: 34px;
}

.works-contact p {
  flex: 1;
  margin: 0;
  font-weight: 700;
}

.process {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin: 34px 0 42px;
}

.process-card {
  min-height: 180px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.process-card .num {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-card .icon-img {
  --icon-size: 34px;
  margin-bottom: 14px;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

.process-card p {
  margin: 0;
  color: #666666;
  font-size: 12px;
  line-height: 1.65;
}

.ai-flow {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
}

.ai-message,
.flow-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ai-message h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.35;
}

.ai-message p {
  margin: 0;
  color: #555555;
  font-size: 14px;
}

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

.flow-step {
  position: relative;
  display: grid;
  gap: 8px;
  text-align: center;
  color: #555555;
  font-size: 12px;
}

.flow-step .icon-img {
  --icon-size: 44px;
  margin: 0 auto;
}

.flow-step strong {
  color: #222222;
  font-size: 13px;
}

.flow-step small { font-weight: 700; }

.insights { background: #ffffff; }

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

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eaeaea;
}

.article-body { padding: 16px; }

.article-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--red);
  background: #fff1f1;
  font-size: 10px;
  font-weight: 700;
}

.article-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
}

.article-card p {
  margin: 0 0 12px;
  color: #666666;
  font-size: 12px;
  line-height: 1.6;
}

.article-meta {
  color: #999999;
  font-size: 11px;
}

.contact {
  background:
    radial-gradient(circle at 0% 38%, rgba(201, 0, 0, .06), transparent 26%),
    #fafafa;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: start;
  gap: 34px;
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.contact-points div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.contact-points .icon-img {
  --icon-size: 26px;
  display: block;
  margin-bottom: 8px;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin: 0 0 22px;
  font-size: 22px;
}

.form-row { margin-bottom: 16px; }

.form-row label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.required {
  color: var(--red);
  font-size: 11px;
  margin-left: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  border-radius: var(--radius);
  background: #ffffff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(201, 0, 0, .55);
  box-shadow: 0 0 0 4px rgba(201, 0, 0, .08);
}

.privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #666666;
  font-size: 12px;
  margin: 18px 0;
}

.form-card .btn { width: 100%; }

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 981px) {
  .hero {
    min-height: 850px;
    padding: 154px 0 112px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    align-items: start;
    gap: 20px;
  }
  .hero-copy { padding-top: 60px; }
  .hero-copy > .section-kicker { display: none; }
  .hero h1 { font-size: 52px; }
  .hero h1 .pc-copy { white-space: nowrap; }
  .hero-text { max-width: 610px; line-height: 2; }
  .hero-visual { min-height: 610px; }

  .hero-photo-frame {
    inset: -28px calc((100vw - var(--container)) / -2) -42px -44px;
  }

  .hero-arc {
    top: -42px;
    right: -24px;
    width: 520px;
    height: 520px;
    border-width: 76px;
  }

  .stats-band {
    margin-top: -96px;
    padding-bottom: 42px;
  }

  .stats-card {
    grid-template-columns: 1.68fr repeat(4, 1fr);
    padding-left: 58px;
    border-radius: 28px;
  }

  .stats-card::before {
    content: "OUR VALUE";
    position: absolute;
    left: 19px;
    top: 50%;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
  }

  .stats-overview,
  .service-tile {
    min-height: 184px;
    padding: 28px 22px;
  }

  .stats-overview { position: relative; }

  .stats-overview::after {
    content: "※ 2006年以降の開発実績を基にしています。";
    position: absolute;
    left: 22px;
    bottom: 15px;
    color: #888888;
    font-size: 8px;
  }

  .metric-row strong { font-size: 30px; white-space: nowrap; }
  .service-tile strong { font-size: 15px; }
}
