:root {
  --ink: #222737;
  --ink-2: #2f3747;
  --muted: #6f7784;
  --blue: #556e89;
  --blue-2: #425a75;
  --cyan: #d9e8f3;
  --green: #55c85a;
  --yellow: #d9d44d;
  --paper: #ffffff;
  --base-white: #f5f5f5;
  --soft: #f5f5f5;
  --soft-2: #d9e8f3;
  --middle-gray: #555556;
  --sub-gray: #929aa6;
  --line: #d8dee5;
  --container: 1120px;
  --shadow: 0 22px 60px rgba(34, 39, 55, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(23, 37, 52, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 37, 52, .03) 1px, transparent 1px);
  background-size: 72px 72px;
}

a {
  color: inherit;
}

img,
iframe {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.nowrap {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 14px max(24px, calc((100% - var(--container)) / 2 + 24px));
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(23, 37, 52, .11);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--paper);
  background: var(--blue-2);
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.site-nav a:not(.nav-button):hover::after {
  transform: scaleX(1);
}

.nav-button {
  padding: 9px 15px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: min(740px, calc(100vh - 32px));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(217, 232, 243, .86) 0%, rgba(217, 232, 243, .60) 34%, rgba(217, 232, 243, .18) 58%, rgba(85, 110, 137, .04) 100%),
    url("assets/hero-team-meeting.png") center center / cover no-repeat,
    var(--soft-2);
  isolation: isolate;
}

.hero::before {
  content: "AI OPERATION PACKAGE";
  position: absolute;
  left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  bottom: 82px;
  z-index: 0;
  color: rgba(35, 111, 186, .13);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(56px, 11vw, 148px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: .015em;
  white-space: nowrap;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -80px;
  z-index: 0;
  width: 52vw;
  height: 260px;
  background: rgba(35, 111, 186, .84);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-bg::before {
  content: "WELFARE DX";
  position: absolute;
  right: 22px;
  top: 112px;
  z-index: 1;
  writing-mode: vertical-rl;
  color: rgba(23, 37, 52, .42);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

.hero-bg::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(240px, 1fr);
  align-items: center;
  gap: 36px;
  max-width: var(--container);
  min-height: inherit;
  margin: 0 auto;
  padding: 86px 24px 110px;
}

.hero-copy {
  position: relative;
  max-width: 700px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mini-proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(23, 37, 52, .14);
  border-left: 5px solid var(--green);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(23, 37, 52, .08);
}

.mini-proof::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
}

.hero h1 {
  max-width: 700px;
  margin: 0 0 22px;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(245, 245, 245, .24);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--ink-2);
  text-shadow: 0 1px 0 rgba(245, 245, 245, .22);
  font-size: 17px;
  font-weight: 650;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper);
  background: var(--blue-2);
  border-color: var(--blue-2);
  box-shadow: 0 14px 30px rgba(12, 79, 145, .22);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  border-color: rgba(23, 37, 52, .22);
}

.button.white {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.micro-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.requirements-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff8dd;
  border-left: 5px solid var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  display: none;
}

.visual-card,
.floating-card,
.problem-grid article,
.value-card,
.price-card,
.page-card,
.legal-card,
.trial-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(23, 37, 52, .12);
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(23, 37, 52, .09);
}

.main-card {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(330px, 100%);
  padding: 18px;
  background: rgba(255, 255, 255, .86);
  border-left: 6px solid var(--blue);
  backdrop-filter: blur(18px);
}

.card-header {
  display: none;
}

.card-label {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.35;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 16px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline div {
  padding: 13px 12px;
  background: var(--paper);
}

.timeline strong {
  display: block;
  color: var(--blue-2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.timeline span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.fake-document {
  display: grid;
  gap: 9px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.fake-document span {
  height: 9px;
  background: linear-gradient(90deg, rgba(35, 111, 186, .42), rgba(103, 189, 212, .18));
}

.fake-document span:nth-child(2) {
  width: 78%;
}

.fake-document span:nth-child(3) {
  width: 92%;
}

.fake-document span:nth-child(4) {
  width: 66%;
}

.floating-card {
  display: none;
}

.floating-card span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
}

.floating-card strong {
  display: block;
  font-size: 17px;
}

.floating-card.training {
  left: 24px;
  top: 136px;
  border-top: 4px solid var(--green);
}

.floating-card.proof {
  right: 88px;
  bottom: 242px;
  border-top: 4px solid var(--yellow);
}

.blue-band {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--container);
  margin: -44px auto 0;
  padding: 18px 24px;
  color: var(--paper);
  background: var(--ink);
  border-left: 8px solid var(--blue);
  box-shadow: var(--shadow);
}

.blue-band a {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 2px;
  font-weight: 900;
  text-decoration: none;
}

.band-badge {
  display: inline-block;
  margin-right: 12px;
  padding: 4px 8px;
  color: var(--paper);
  background: var(--blue);
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.requirements-band {
  padding: 28px 24px 8px;
  background: var(--base-white);
}

.requirements-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(161, 113, 6, .28);
  border-left: 7px solid var(--yellow);
  background: #fff8dd;
}

.requirements-inner .section-kicker {
  margin-bottom: 8px;
  color: var(--ink);
}

.requirements-inner h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.35;
}

.requirements-inner p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
}

.requirements-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-list li {
  padding: 11px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(23, 37, 52, .12);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 900;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
}

.section h2 {
  margin: 0 0 28px;
  font-size: clamp(29px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0;
}

.intro {
  position: relative;
  max-width: none;
  padding: 112px max(24px, calc((100% - var(--container)) / 2 + 24px)) 96px;
  background: var(--base-white);
  text-align: left;
}

.intro::before {
  content: "WE HARMONIZE WITH OPERATIONS";
  position: absolute;
  left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  top: 70px;
  color: rgba(85, 110, 137, .15);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 5.8vw, 78px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: .02em;
  pointer-events: none;
}

.intro-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(480px, .95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto 56px;
}

.intro-copy {
  max-width: 540px;
}

.intro-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.intro-subtitle::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--green);
}

.intro-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3.1vw, 38px);
}

.intro-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.intro-collage {
  position: relative;
  min-height: 430px;
}

.collage-slab {
  position: absolute;
  left: 4%;
  bottom: 18px;
  width: 58%;
  height: 210px;
  background: var(--soft-2);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.collage-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(34, 39, 55, .12);
}

.collage-photo img,
.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-main {
  right: 0;
  top: 34px;
  width: 68%;
  height: 252px;
}

.collage-main img {
  object-position: 72% center;
}

.collage-sub {
  width: 42%;
  height: 156px;
}

.collage-sub.top {
  left: 0;
  top: 0;
}

.collage-sub.top img {
  object-position: 40% center;
}

.collage-sub.bottom {
  left: 16%;
  bottom: 0;
}

.collage-sub.bottom img {
  object-position: 82% center;
}

.vertical-note {
  position: absolute;
  right: -28px;
  top: 102px;
  writing-mode: vertical-rl;
  color: var(--sub-gray);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.intro .problem-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--line);
  text-align: left;
}

.intro .problem-grid article {
  position: relative;
  min-height: 230px;
  padding: 30px 26px;
  background: var(--paper);
  border: 0;
  box-shadow: none;
}

.intro .problem-grid article::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--green);
}

.intro .problem-grid span {
  display: block;
  color: var(--sub-gray);
  background: transparent;
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.intro .problem-grid h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.45;
}

.trial-page .problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trial-page .problem-grid article {
  padding: 24px;
}

.trial-page .problem-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
  font-size: 12px;
}

.trial-page .problem-grid h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.problem-grid p,
.value-card li,
.split-heading p,
.trial-copy p,
.price-card li,
.apply-band p,
.page-card p,
.legal-card p,
.agree-note {
  color: var(--muted);
}

.value-section {
  max-width: none;
  padding: 82px max(24px, calc((100% - var(--container)) / 2 + 24px)) 96px;
  color: var(--paper);
  background: var(--middle-gray);
}

.about-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 44px;
  max-width: var(--container);
  margin: 0 auto 34px;
}

.about-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.about-side p {
  margin: 0 0 14px;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .08em;
}

.about-side a {
  min-width: 118px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.about-side a:first-of-type {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.about-main {
  display: grid;
  grid-template-columns: minmax(500px, 1fr) minmax(360px, .82fr);
  gap: 34px;
  align-items: end;
}

.about-photo {
  position: relative;
  height: 390px;
  overflow: hidden;
  background: #555556;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(85, 85, 86, 0) 58%, rgba(85, 85, 86, .18) 100%),
    linear-gradient(90deg, rgba(85, 85, 86, .04), rgba(85, 85, 86, .14));
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.about-word {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: rgba(0, 0, 0, .82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: .01em;
  max-width: calc(100% - 44px);
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(255, 255, 255, .38);
}

.about-copy {
  padding-bottom: 20px;
}

.about-copy .section-kicker {
  color: var(--green);
}

.about-copy h2 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(26px, 2.45vw, 32px);
}

.about-copy p {
  color: rgba(255, 255, 255, .78);
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}

.value-card {
  padding: 28px;
  color: var(--ink);
  background: var(--base-white);
  border: 0;
  border-top: 4px solid var(--green);
  box-shadow: none;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.value-icon.teal {
  background: var(--green);
}

.value-card h3 {
  margin: 18px 0 14px;
  font-size: 24px;
  line-height: 1.45;
}

.notebook-panel {
  max-width: var(--container);
  margin: 18px auto 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
  border-left: 7px solid var(--green);
}

.notebook-panel .section-kicker {
  margin-bottom: 8px;
  color: var(--cyan);
}

.notebook-panel h3 {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
}

.notebook-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 700;
}

.notebook-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.value-card ul,
.price-card ul {
  padding-left: 1.2em;
}

.value-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
}

.trial-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr) auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 78px max(24px, calc((100% - var(--container)) / 2 + 24px));
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(12, 79, 145, .94) 0%, rgba(23, 37, 52, .96) 70%),
    url("assets/hero-support-office.png") center / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(23, 37, 52, .28);
}

.trial-panel h2 {
  margin-bottom: 12px;
  color: var(--paper);
}

.trial-panel .section-kicker {
  color: var(--cyan);
}

.trial-copy p {
  color: rgba(255, 255, 255, .82);
}

.trial-steps {
  display: grid;
  gap: 10px;
}

.trial-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .24);
  font-weight: 800;
}

.trial-steps span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
}

.trial-panel .button.primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
  white-space: nowrap;
}

.recipe-section {
  text-align: center;
}

.recipe-section h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.recipe-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.recipe-list span {
  padding: 10px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-weight: 900;
}

.price-section {
  padding-top: 20px;
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1fr);
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
  padding: 36px;
  border-top: 6px solid var(--yellow);
  background:
    linear-gradient(90deg, rgba(242, 201, 76, .18), transparent 40%),
    var(--paper);
}

.price-card h2 {
  margin-bottom: 12px;
}

.price-copy {
  align-self: start;
}

.price {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.price-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(34, 39, 55, .08);
}

.price-form .field {
  margin-top: 0;
}

.price-form .agree-note {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.price-form .submit {
  width: 100%;
  cursor: pointer;
}

.placeholder {
  display: inline-block;
  padding: 0 .28em;
  color: #8b4d00;
  background: #fff2cc;
  border-radius: 2px;
  font-weight: 900;
}

.apply-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  margin: 22px auto 86px;
  padding: 34px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(23, 37, 52, .96), rgba(12, 79, 145, .94)),
    url("assets/hero-support-office.png") center / cover no-repeat;
  border-left: 8px solid var(--green);
  box-shadow: var(--shadow);
}

.apply-band .section-kicker,
.apply-band p {
  color: rgba(255, 255, 255, .86);
}

.apply-band h2 {
  margin: 0 0 8px;
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.35;
}

.site-footer {
  padding: 34px 24px;
  color: #dce7f0;
  background: var(--ink);
  text-align: center;
}

.footer-links {
  justify-content: center;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

/* Shared document and form pages */
.legal-page,
.trial-page {
  background:
    linear-gradient(180deg, #f8fafc 0, #eef3f6 100%);
}

.page-shell,
.legal-container,
.trial-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 86px;
}

.page-card,
.legal-card,
.trial-card {
  padding: 30px;
}

.page-card + .page-card,
.page-card + .notice,
.notice + .page-card {
  margin-top: 22px;
}

.notice,
.draft-notice {
  padding: 13px 16px;
  margin-bottom: 20px;
  color: #7a4b00;
  background: #fff5d8;
  border: 1px solid #f4cf78;
  border-left: 5px solid var(--yellow);
  border-radius: 2px;
  font-weight: 800;
}

.legal-card h1,
.page-card h1 {
  margin-top: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
}

.legal-card h2,
.page-card h2 {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 23px;
  line-height: 1.45;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  background: var(--paper);
}

.legal-table th,
.legal-table td {
  padding: 14px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 32%;
  color: var(--ink);
  background: var(--soft);
}

.order-summary {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.lbl {
  color: var(--ink);
  font-weight: 900;
}

.req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  color: var(--paper);
  background: var(--blue-2);
  border-radius: 2px;
  font-size: 11px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #bfcbd6;
  border-radius: 2px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(35, 111, 186, .16);
  border-color: var(--blue);
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.radios input {
  width: auto;
  min-height: 0;
}

.price-line {
  margin: 4px 0 0;
  color: var(--blue-2);
  font-size: 22px;
  font-weight: 900;
}

.agree-note {
  margin: 20px 0;
}

.trial-shell {
  max-width: 1040px;
}

.trial-hero-card {
  border-top: 6px solid var(--blue);
}

.trial-hero-card h1 {
  max-width: 760px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-strip div {
  padding: 18px;
  background: var(--base-white);
}

.metric-strip span {
  display: block;
  color: var(--sub-gray);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  color: var(--blue-2);
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.metric-strip small {
  color: var(--muted);
  font-weight: 800;
}

.sample-input {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--base-white);
}

.sample-input dl {
  display: grid;
  margin: 0;
}

.sample-input div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.sample-input div:last-child {
  border-bottom: 0;
}

.sample-input dt,
.sample-input dd {
  margin: 0;
  padding: 13px 16px;
}

.sample-input dt {
  color: var(--blue-2);
  font-weight: 900;
  background: rgba(217, 232, 243, .72);
}

.sample-input dd {
  color: var(--ink-2);
  background: var(--paper);
}

.prompt-demo,
.support-plan {
  margin-top: 20px;
  padding: 22px;
  background: rgba(217, 232, 243, .44);
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
}

.prompt-demo p,
.support-plan h3 {
  margin-top: 0;
}

.prompt-demo ul,
.support-plan ul {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.output-grid {
  margin-top: 24px;
}

.drill-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
}

.drill-flow div {
  min-height: 190px;
  padding: 20px 16px;
  background: var(--paper);
}

.drill-flow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.drill-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.45;
}

.drill-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-teaser-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.faq-teaser {
  margin: 0 auto;
  border-left: 7px solid var(--yellow);
}

.faq-teaser a {
  color: var(--ink);
  background: var(--yellow);
}

/* FAQ page */
.faq-shell {
  max-width: 920px;
}

.faq-hero-card {
  border-top: 6px solid var(--blue);
}

.faq-hero-card h1 {
  margin-bottom: 14px;
}

.faq-section {
  max-width: none;
  padding: 30px;
}

.faq-section > .section-kicker {
  margin-bottom: 8px;
}

.faq-section h2 {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  font-size: clamp(22px, 2.6vw, 30px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  background: var(--base-white);
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 16px 52px 16px 18px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(217, 232, 243, .42);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(35, 111, 186, .28);
  outline-offset: -3px;
}

.faq-item summary::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: -6px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue-2);
  border-bottom: 2px solid var(--blue-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-body {
  padding: 4px 18px 18px;
  border-top: 1px solid var(--line);
}

.faq-body p,
.faq-body li {
  color: var(--ink-2);
}

.faq-body p:first-child {
  margin-top: 14px;
}

.faq-body p:last-child,
.faq-body ul:last-child,
.faq-body ol:last-child {
  margin-bottom: 0;
}

.faq-body ul,
.faq-body ol {
  padding-left: 1.3em;
}

.faq-body a {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(217, 232, 243, .50) 0%, rgba(217, 232, 243, .20) 42%, rgba(217, 232, 243, .78) 100%),
      url("assets/hero-team-meeting.png") 58% top / cover no-repeat,
      var(--soft-2);
  }

  .hero::before {
    bottom: 48px;
    font-size: clamp(52px, 18vw, 112px);
  }

  .hero::after {
    width: 86vw;
    height: 170px;
    opacity: .42;
  }

  .hero-content,
  .split-heading,
  .intro-layout,
  .about-layout,
  .about-main,
  .notebook-panel,
  .requirements-inner,
  .price-card,
  .trial-panel,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 0;
    padding: 76px 20px 78px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .main-card {
    right: 0;
    left: 0;
    margin: 0 auto;
  }

  .intro .problem-grid,
  .trial-page .problem-grid,
  .drill-flow,
  .value-cards {
    grid-template-columns: 1fr;
  }

  .intro {
    padding-top: 82px;
    padding-bottom: 72px;
  }

  .intro::before {
    top: 42px;
  }

  .intro-layout {
    gap: 34px;
  }

  .intro-collage {
    min-height: 370px;
  }

  .about-layout {
    gap: 28px;
  }

  .about-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .about-side p {
    width: 100%;
  }

  .about-photo {
    min-height: 330px;
  }

  .blue-band {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
    margin-right: 20px;
  }

  .trial-panel {
    padding: 64px 20px;
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    font-size: 13px;
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(217, 232, 243, .44) 0%, rgba(217, 232, 243, .20) 34%, rgba(217, 232, 243, .82) 72%, rgba(217, 232, 243, .92) 100%),
      url("assets/hero-team-meeting.png") 58% top / auto 460px no-repeat,
      var(--soft-2);
  }

  .hero-bg::before {
    display: none;
  }

  .hero-content,
  .section,
  .intro,
  .value-section,
  .page-shell,
  .legal-container,
  .trial-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    padding-top: 45px;
    padding-bottom: 58px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    width: min(100%, 350px);
    font-size: 31px;
    line-height: 1.27;
    max-width: 100%;
    word-break: normal;
  }

  .lead {
    width: min(100%, 350px);
    font-size: 16px;
  }

  .hero-actions .button,
  .apply-band .button,
  .price-form .submit,
  .trial-panel .button.primary {
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 30px;
  }

  .main-card {
    position: static;
    width: 100%;
    padding: 18px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .intro {
    padding-top: 66px;
    padding-bottom: 58px;
  }

  .intro::before {
    font-size: 39px;
  }

  .intro-copy h2 {
    font-size: 27px;
  }

  .intro-collage {
    min-height: 300px;
  }

  .collage-main {
    width: 78%;
    height: 178px;
  }

  .collage-sub {
    width: 45%;
    height: 116px;
  }

  .collage-sub.bottom {
    left: 8%;
  }

  .vertical-note {
    right: -18px;
  }

  .value-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .about-side a {
    min-width: 0;
  }

  .about-photo {
    min-height: 260px;
  }

  .about-word {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 24px;
    max-width: calc(100% - 32px);
  }

  .nowrap {
    white-space: normal;
  }

  .trial-panel,
  .apply-band,
  .price-card,
  .page-card,
  .legal-card {
    padding: 24px;
  }

  .metric-strip,
  .sample-input div {
    grid-template-columns: 1fr;
  }

  .trial-panel {
    padding: 54px 16px;
  }
}
