:root {
  --blue: #004eb7;
  --blue-dark: #003b95;
  --navy: #06142a;
  --text: #071126;
  --muted: #4b5563;
  --line: #d9dfe8;
  --white: #ffffff;
  --black: #020306;
  --brand-ai-red: #dc2626;
  --brand-blue: #153c70;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #f5f5f5;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.65;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

.page-shell {
  width: min(1228px, calc(100% - 36px));
  margin: 18px auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfe5ee;
  box-shadow: 0 12px 34px rgba(7, 17, 38, 0.13);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 50px;
  color: var(--white);
  background: #030303;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 4px 7px 4px 3px;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 38px;
  flex: 0 0 46px;
  filter: brightness(2.15) saturate(1.12);
}

.brand-divider {
  width: 1px;
  height: 36px;
  flex: 0 0 1px;
  background: #8fc7ff;
}

.brand-name {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #eff8ff 34%, #8fc7ff 72%, #3f86f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.brand-ai {
  color: var(--brand-ai-red);
  -webkit-text-fill-color: var(--brand-ai-red);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.global-nav a:not(.nav-cta):hover {
  color: #87b8ff;
}

.nav-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 210px;
  height: 40px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(180deg, #0a64e6, #004ab7);
  border: 1px solid #0b4ca5;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 78, 183, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.line-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 15px;
  flex: 0 0 18px;
  background: var(--white);
  border-radius: 999px;
}

.line-icon::before,
.line-icon::after {
  position: absolute;
  content: "";
}

.line-icon::before {
  right: 3px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.line-icon::after {
  top: 6px;
  left: 5px;
  width: 8px;
  height: 2px;
  background: #0757cf;
  border-radius: 999px;
  box-shadow: 0 -4px 0 #0757cf;
}

.nav-cta {
  min-width: 158px;
  height: 34px;
  padding: 0 18px;
  font-size: 12px;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.86) 38%, rgba(0, 0, 0, 0.26) 72%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 65% 42%, rgba(255, 255, 255, 0.12), transparent 32%);
  content: "";
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.25) brightness(0.58) contrast(1.12);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 55%;
  min-height: 320px;
  padding: 48px 54px 42px 116px;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.48;
}

.hero p {
  margin: 14px 0 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 3px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  line-height: 1;
}

.section {
  padding: 21px 48px 0;
}

.section h2,
.contact h2 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 13px;
  color: #071126;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.section h2::before,
.contact h2::before {
  position: absolute;
  top: 0.08em;
  bottom: 0.08em;
  left: 0;
  width: 4px;
  background: var(--blue);
  content: "";
}

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

.service-card,
.flow-card {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.service-card {
  min-height: 146px;
  padding: 15px 12px 13px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card {
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .service-card:hover {
    background-color: #f4f8ff;
    border-color: #b9d4f2;
    box-shadow: 0 8px 20px rgba(0, 78, 183, 0.1);
    transform: translateY(-2px);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }
}

.icon,
.flow-icon {
  display: grid;
  place-items: center;
  color: var(--blue);
}

.icon {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
}

.icon svg,
.flow-icon svg,
.mail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.icon-fill svg {
  fill: currentColor;
  stroke: none;
}

.service-card h3,
.flow-card h3 {
  margin: 4px 0 5px;
  color: #071126;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.service-card p,
.flow-card p {
  margin: 0;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.7;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.flow-card {
  position: relative;
  min-height: 142px;
  padding: 13px 14px 12px;
}

.flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 10px solid var(--blue);
  content: "";
  transform: translateY(-50%);
}

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

.step {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
  padding-bottom: 22px;
}

.section-split > * {
  min-width: 0;
}

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

.work-grid figure {
  margin: 0;
  min-width: 0;
}

.work-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.75 / 1;
  object-fit: cover;
  border-radius: 3px;
}

.work-grid figcaption {
  margin-top: 6px;
  color: #071126;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.price-panel {
  align-self: end;
  padding-top: 2px;
}

.note {
  margin: 7px 0 0;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
}

.price-list {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.price-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 33px;
  padding: 5px 16px;
  border-bottom: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list dt,
.price-list dd {
  margin: 0;
  color: #071126;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.price-list dd {
  white-space: nowrap;
}

.cost-section {
  padding-top: 0;
  padding-bottom: 24px;
}

.cost-inner {
  padding: 18px 20px;
  background: #f4f8ff;
  border: 1px solid #d7e5f8;
  border-radius: 3px;
}

.cost-copy h2 {
  margin-bottom: 8px;
}

.cost-copy p {
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.85;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 34px;
  min-height: 132px;
  padding: 20px 60px;
  color: var(--white);
  background: linear-gradient(100deg, #06192f, #001226 72%, #02050b);
}

.contact-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mail-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--white);
}

.contact h2 {
  margin-bottom: 4px;
  padding-left: 0;
  color: var(--white);
}

.contact h2::before {
  display: none;
}

.contact p {
  margin: 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  justify-items: center;
}

.contact-actions span {
  grid-column: 1 / -1;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.mail-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-footer {
  display: grid;
  place-items: center;
  min-height: 42px;
  color: var(--white);
  background: #030303;
}

.site-footer small {
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 28px;
  }

  .global-nav {
    gap: 18px;
    font-size: 11px;
  }

  .section {
    padding-right: 28px;
    padding-left: 28px;
  }

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

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-card:not(:last-child)::after {
    display: none;
  }

  .section-split {
    grid-template-columns: 1fr;
  }

  .price-panel {
    width: min(420px, 100%);
    justify-self: end;
  }
}

@media (max-width: 820px) {
  body {
    background: var(--white);
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .site-header {
    position: relative;
    height: 70px;
    padding: 0 18px;
    background: #030303;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 36px;
    height: 30px;
    flex-basis: 36px;
  }

  .brand-divider {
    height: 28px;
  }

  .brand-name {
    font-size: 21px;
  }

  .nav-button {
    display: grid;
    gap: 5px;
    width: 28px;
    cursor: pointer;
  }

  .nav-button span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .global-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .global-nav a {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-cta {
    width: auto;
    margin: 10px 18px 14px;
  }

  .nav-toggle:checked ~ .global-nav {
    display: flex;
  }

  .hero {
    min-height: 260px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 68%, rgba(0, 0, 0, 0.42) 100%);
  }

  .hero-bg {
    width: 100%;
    object-position: center bottom;
  }

  .hero-copy {
    width: 100%;
    min-height: 260px;
    padding: 24px 20px 18px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.45;
  }

  .hero p {
    max-width: 310px;
    margin-top: 10px;
    font-size: 12px;
  }

  .check-list {
    gap: 2px;
    font-size: 11px;
  }

  .check-list li {
    padding-left: 23px;
  }

  .check-list li::before {
    width: 15px;
    height: 15px;
    font-size: 10px;
  }

  .primary-button {
    width: 190px;
    min-width: 0;
    height: 36px;
    font-size: 12px;
  }

  .section {
    padding: 15px 12px 0;
  }

  .section h2 {
    font-size: 14px;
  }

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

  .service-card {
    grid-template-columns: 34px 1fr;
    align-items: center;
    justify-items: start;
    min-height: 58px;
    padding: 8px 10px;
    text-align: left;
  }

  .icon {
    width: 26px;
    height: 26px;
    margin: 0;
  }

  .service-card h3 {
    margin: 0;
    font-size: 10px;
  }

  .service-card p {
    display: none;
  }

  .flow-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .flow-card {
    grid-template-columns: 20px 26px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    justify-items: start;
    column-gap: 8px;
    min-height: 64px;
    padding: 8px 10px;
    text-align: left;
  }

  .flow-icon {
    width: 24px;
    height: 24px;
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
  }

  .step {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 10px;
  }

  .flow-card h3 {
    display: block;
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    font-size: 11px;
  }

  .flow-card p {
    display: block;
    grid-column: 3;
    grid-row: 2;
    font-size: 10px;
    line-height: 1.4;
  }

  .flow-card:not(:last-child)::after {
    display: none;
  }

  .section-split {
    gap: 14px;
    padding-bottom: 16px;
  }

  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .work-grid img {
    aspect-ratio: 1.35 / 1;
  }

  .work-grid figcaption {
    margin-top: 4px;
    font-size: 8px;
    line-height: 1.3;
  }

  .price-panel {
    width: 100%;
  }

  .price-list div {
    min-height: 28px;
    padding: 5px 12px;
  }

  .price-list dt,
  .price-list dd {
    font-size: 11px;
  }

  .cost-section {
    padding-bottom: 16px;
  }

  .cost-inner {
    padding: 14px;
  }

  .cost-copy p {
    font-size: 11px;
    line-height: 1.75;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 128px;
    padding: 18px 16px;
  }

  .contact-copy {
    gap: 12px;
  }

  .mail-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .contact h2 {
    font-size: 15px;
  }

  .contact p {
    font-size: 11px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    justify-items: start;
    width: 100%;
  }

  .contact-actions span {
    grid-column: 1;
    font-size: 12px;
  }

  .contact-actions .primary-button,
  .contact-actions .mail-button {
    width: min(100%, 230px);
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 19px;
  }
}

@media (max-width: 330px) {
  .brand-name {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 21px;
  }

  .work-grid figcaption {
    font-size: 7px;
  }
}
