:root {
  --ink: #111827;
  --muted: #5b6575;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --cyan: #00a8c8;
  --red: #d94242;
  --gold: #c99a3a;
  --dark: #0b111c;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.inner-page .site-header,
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a[aria-current="page"] {
  color: var(--red);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 7px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 21, 0.92) 0%, rgba(7, 12, 21, 0.76) 38%, rgba(7, 12, 21, 0.18) 72%),
    linear-gradient(180deg, rgba(7, 12, 21, 0.46) 0%, rgba(7, 12, 21, 0.12) 45%, rgba(7, 12, 21, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 120px 0 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--cyan);
  box-shadow: 0 14px 30px rgba(0, 168, 200, 0.28);
}

.button:disabled,
.button:disabled:hover {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-band {
  background: var(--white);
}

.intro {
  padding: 76px 0;
}

.intro-grid,
.approach-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.intro p:last-child,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.services {
  padding: 92px 0;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.06);
}

.service-card:nth-child(2n) .service-icon {
  color: var(--red);
}

.service-card:nth-child(3n) .service-icon {
  color: var(--gold);
}

.service-icon {
  margin-bottom: 30px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.products-page {
  padding: 92px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}

.product-card-featured {
  border-color: rgba(0, 168, 200, 0.34);
  background:
    linear-gradient(145deg, rgba(0, 168, 200, 0.08), transparent 42%),
    var(--white);
}

.draft-banner {
  margin-top: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(217, 66, 66, 0.24);
  color: #812525;
  background: #fff4f4;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.sales-hero {
  padding-bottom: 86px;
}

.sales-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}

.sales-hero h1 {
  max-width: 820px;
}

.sales-hero-copy {
  max-width: 760px;
}

.price-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.price-card-label,
.price-card-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.price-card-value {
  margin: 8px 0 6px;
  color: var(--white);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
}

.price-card-value span {
  font-size: 16px;
}

.sales-section {
  padding: 88px 0;
}

.sales-section + .sales-section {
  border-top: 1px solid var(--line);
}

.sales-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.sales-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.benefit-grid,
.support-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.benefit-card,
.support-card,
.document-card,
.purchase-panel,
.legal-content {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-card-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #075f71;
  background: rgba(0, 168, 200, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.benefit-card h3,
.support-card h3,
.document-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.support-card .support-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-card-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.support-card-icon-included {
  color: #198754;
}

.support-card-icon-included::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(42deg);
}

.support-card-icon-excluded {
  color: #8b2424;
}

.support-card-icon-excluded::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
}

.benefit-card p,
.support-card p,
.document-card p {
  margin: 0;
  color: var(--muted);
}

.sales-table {
  min-width: 680px;
}

.sales-table tbody th {
  width: 26%;
}

.purchase-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.purchase-steps li {
  position: relative;
  min-height: 150px;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.purchase-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -27px;
  color: #075f71;
  font-size: 22px;
  font-weight: 700;
  transform: translateY(-50%);
}

.purchase-steps b {
  display: block;
  margin-bottom: 12px;
  color: #075f71;
  font-size: 12px;
}

.purchase-steps span {
  font-size: 14px;
  font-weight: 700;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  margin-top: 34px;
}

.purchase-panel h3 {
  margin: 0 0 14px;
  font-size: 23px;
}

.purchase-panel p,
.purchase-panel ul {
  color: var(--muted);
}

.purchase-panel ul {
  padding-left: 1.3em;
}

.purchase-order-panel {
  max-width: 680px;
  margin-top: 34px;
}

.placeholder-value {
  display: block;
  margin: 14px 0 20px;
  padding: 12px 14px;
  border: 1px dashed rgba(0, 168, 200, 0.5);
  border-radius: 8px;
  color: #075f71;
  background: rgba(0, 168, 200, 0.08);
  font-family: "Cascadia Code", Consolas, monospace;
  overflow-wrap: anywhere;
}

.support-list {
  margin: 16px 0 0;
  padding-left: 1.25em;
  color: var(--muted);
}

.support-list li + li {
  margin-top: 8px;
}

.support-card-excluded {
  background: #fbfcfe;
}

.draft-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--cyan);
  color: var(--muted);
  background: rgba(0, 168, 200, 0.08);
}

.document-card {
  display: flex;
  flex-direction: column;
}

.document-card .button {
  align-self: flex-start;
  margin-top: 22px;
}

.legal-page {
  padding: 72px 0 92px;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 46px 0 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
}

.legal-content th,
.legal-content td {
  padding: 15px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  width: 28%;
  color: var(--ink);
  background: #f5f7fb;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 13px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.legal-links a {
  color: #075f71;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .legal-links a {
  color: var(--white);
}

.product-label {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.product-lead {
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.product-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.product-link {
  align-self: flex-start;
  margin-top: auto;
  color: #075f71;
  background: rgba(0, 168, 200, 0.16);
}

.product-link:hover {
  background: rgba(0, 168, 200, 0.24);
}

.product-detail {
  padding: 92px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.product-detail-body {
  display: grid;
  gap: 24px;
}

.product-detail-body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.product-feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-feature-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-external-link {
  color: #075f71;
  background: rgba(0, 168, 200, 0.16);
}

.product-external-link:hover {
  background: rgba(0, 168, 200, 0.24);
}

.license-section {
  padding: 0 0 92px;
  background: var(--white);
}

.oss-section {
  padding: 0 0 92px;
  background: var(--white);
}

.pro-section {
  padding: 0 0 92px;
  background: var(--white);
}

.license-section h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.license-lead,
.license-note,
.oss-lead,
.pro-lead {
  max-width: 840px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.oss-actions {
  margin-top: 22px;
}

.license-table-wrap {
  overflow-x: auto;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.license-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

.license-table th,
.license-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.license-table thead th {
  color: #075f71;
  background: rgba(0, 168, 200, 0.08);
  font-weight: 700;
}

.license-table tbody th {
  width: 18%;
  color: var(--ink);
  font-weight: 700;
}

.license-table tr:last-child th,
.license-table tr:last-child td {
  border-bottom: 0;
}

.plan-feature-heading {
  margin: 36px 0 0;
  font-size: 22px;
  line-height: 1.35;
}

.plan-feature-table td {
  text-align: center;
}

.plan-feature-table thead th {
  text-align: center;
}

.plan-feature-table tbody th {
  text-align: left;
}

.plan-feature-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.plan-feature-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plan-feature-legend .plan-icon {
  width: 18px;
  height: 18px;
}

.plan-feature-legend .plan-icon-yes::after {
  top: 3px;
  left: 5px;
  width: 5px;
  height: 8px;
}

.plan-feature-legend .plan-icon-no::before,
.plan-feature-legend .plan-icon-no::after {
  top: 8px;
  left: 2px;
  width: 14px;
}

.plan-feature-legend .plan-icon-limited::before {
  left: 1px;
  top: 2px;
  border-right-width: 8px;
  border-bottom-width: 15px;
  border-left-width: 8px;
}

.plan-feature-legend .plan-icon-limited::after {
  left: 8px;
  top: 7px;
  height: 5px;
  box-shadow: 0 7px 0 var(--white);
}

.plan-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.plan-icon-yes {
  border: 2px solid #198754;
  border-radius: 50%;
}

.plan-icon-yes::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #198754;
  border-bottom: 2px solid #198754;
  content: "";
  transform: rotate(42deg);
}

.plan-icon-no::before,
.plan-icon-no::after {
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #8b2424;
  content: "";
}

.plan-icon-no::before {
  transform: rotate(45deg);
}

.plan-icon-no::after {
  transform: rotate(-45deg);
}

.plan-icon-limited::before {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #c99a3a;
  border-left: 10px solid transparent;
  content: "";
}

.plan-icon-limited::after {
  position: absolute;
  left: 11px;
  top: 9px;
  width: 2px;
  height: 7px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 9px 0 var(--white);
  content: "";
}

.consultation-section {
  padding: 0 0 92px;
  background: var(--white);
}

.consultation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.consultation-layout h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.consultation-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.consultation-button {
  margin-top: 26px;
}

.consultation-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.consultation-case {
  min-height: 156px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfc;
}

.consultation-case h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
}

.consultation-case p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-sample-page {
  padding: 0 0 92px;
}

.kelpiepro-product-sample {
  padding-top: clamp(96px, 8vw, 112px);
}

.product-sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.product-sample-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.product-sample-grid h2 {
  font-size: 32px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
}

.screen-sample {
  overflow: hidden;
  margin: 0;
  min-height: 360px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-sample {
  display: grid;
  min-height: auto;
  background: #f4f6f8;
}

.image-sample img {
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}

.image-sample img:focus-visible {
  outline: 3px solid rgba(0, 168, 200, 0.36);
  outline-offset: 4px;
}

.image-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: clamp(16px, 3vw, 34px);
  background: rgba(8, 13, 22, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-close {
  justify-self: end;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 168, 200, 0.72);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: rgba(0, 168, 200, 0.92);
}

.image-lightbox img {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.image-lightbox-caption {
  justify-self: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-align: center;
}

.mail-sample {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.sample-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 18px;
  color: rgba(255, 255, 255, 0.72);
  background: #101827;
  font-size: 13px;
}

.sample-brand-dot {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a8c8, #63d9b6);
}

.sample-main {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #f3f7fb;
}

.sample-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 13px;
}

.sample-toolbar span {
  color: #087f5b;
  font-size: 12px;
  white-space: nowrap;
}

.mail-row {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
}

.mail-row b {
  font-weight: 700;
}

.mail-row span,
.sample-compose p,
.sample-policy-grid span {
  color: var(--muted);
  font-size: 12px;
}

.mail-row.is-active {
  border-color: rgba(0, 168, 200, 0.36);
  background: rgba(0, 168, 200, 0.08);
}

.sample-compose {
  padding: 16px;
  border: 1px solid rgba(0, 168, 200, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.sample-compose span {
  color: #075f71;
  font-size: 12px;
  font-weight: 700;
}

.sample-compose p {
  margin: 8px 0 0;
}

.ssh-sample {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(0, 168, 200, 0.12), transparent 36%),
    #0e1726;
}

.ssh-sample .sample-toolbar {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.terminal-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.78);
  color: #d9f99d;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

.terminal-panel p {
  margin: 0;
}

.terminal-panel span {
  display: inline-block;
  min-width: 58px;
  color: #67e8f9;
}

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

.sample-policy-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.sample-policy-grid b {
  color: var(--white);
  font-size: 13px;
}

.sample-policy-grid span {
  color: rgba(255, 255, 255, 0.68);
}

.approach {
  padding: 92px 0;
}

.approach-list {
  display: grid;
  gap: 16px;
}

.approach-list div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.approach-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.approach-list span {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.approach-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact {
  padding: 92px 0;
  color: var(--white);
  background: var(--dark);
}

.contact-panel {
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 168, 200, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(217, 66, 66, 0.24), transparent 36%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel .button {
  justify-self: end;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.68);
  background: #060a12;
  font-size: 13px;
}

.site-footer a {
  color: var(--white);
}

.page-hero {
  padding: 150px 0 76px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 168, 200, 0.2), transparent 38%),
    linear-gradient(315deg, rgba(217, 66, 66, 0.24), transparent 34%),
    var(--dark);
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-page {
  padding: 92px 0;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.form-note {
  position: sticky;
  top: 104px;
}

.form-note h2 {
  font-size: clamp(21px, 2.2vw, 30px);
  white-space: nowrap;
}

.form-note p {
  margin: 20px 0 0;
  color: var(--muted);
}

.form-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}

.contact-form {
  display: grid;
  gap: 22px;
  font-size: 13px;
}

.form-guidance {
  margin: 0 0 2px;
  font-size: 13px;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 400;
}

.contact-form label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form label .field-heading {
  gap: 0;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form label .field-required {
  color: var(--red);
  font-weight: 700;
}

.contact-form label .field-optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.contact-form label .field-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.contact-form strong {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 9px 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 168, 200, 0.16);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: var(--red);
  background: #fff1f4;
}

.contact-form input.is-invalid:focus,
.contact-form select.is-invalid:focus,
.contact-form textarea.is-invalid:focus {
  border-color: var(--red);
  outline: 3px solid rgba(217, 66, 66, 0.18);
}

.field-error {
  display: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.field-error:not(:empty) {
  display: block;
}

.order-section {
  padding: 64px 0 88px;
}

.order-shell {
  max-width: 940px;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 255, 0.24);
  border-radius: 14px;
  background: rgba(7, 22, 38, 0.72);
}

.order-progress span,
.order-progress strong {
  padding: 12px 10px;
  color: #b8cedb;
  text-align: center;
  font-size: 0.86rem;
}

.order-progress strong {
  color: #04111c;
  background: linear-gradient(135deg, #73e5ff, #66f2bd);
}

.order-form,
.order-confirmation,
.order-receipt {
  border: 1px solid rgba(20, 55, 79, 0.12);
  border-radius: 24px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.order-form,
.order-confirmation,
.order-receipt {
  padding: clamp(24px, 5vw, 48px);
}

.order-form .button.secondary,
.order-confirmation .button.secondary {
  border-color: rgba(20, 55, 79, 0.24);
  color: var(--navy);
  background: rgba(20, 55, 79, 0.06);
}

.order-form-intro {
  margin-bottom: 28px;
}

.order-form-intro h2,
.order-confirmation h2,
.order-receipt h2 {
  margin: 0 0 8px;
}

.order-form .full-width {
  grid-column: 1 / -1;
}

.order-form-notes {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.order-form-notes summary {
  width: fit-content;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.order-form-notes ul {
  margin: 8px 0 0;
  padding-left: 1.4em;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-running-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid rgba(22, 143, 111, 0.28);
  border-radius: 16px;
  background: rgba(102, 242, 189, 0.13);
}

.order-running-total strong {
  color: #08785c;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.order-running-total small {
  grid-column: 1 / -1;
  color: #547084;
}

.order-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.button.secondary {
  border-color: rgba(168, 199, 221, 0.35);
  color: #d8edf9;
  background: rgba(168, 199, 221, 0.08);
}

.receipt-warning {
  margin: 20px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid #65d9ff;
  border-radius: 8px;
  background: rgba(101, 217, 255, 0.13);
}

.confirmation-parts {
  display: grid;
  gap: 24px;
}

.confirmation-part {
  padding: 24px;
  border: 1px solid rgba(20, 55, 79, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 55, 79, 0.07);
}

.confirmation-part-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-size: 1.2rem;
}

.confirmation-part-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #075f71;
  background: rgba(0, 168, 200, 0.16);
  font-size: 0.9rem;
  font-weight: 900;
}

.confirmation-part-copy {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-summary {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(20, 55, 79, 0.17);
  border-radius: 16px;
  overflow: hidden;
}

.order-summary div {
  display: grid;
  grid-template-columns: minmax(150px, 28%) 1fr;
  border-bottom: 1px solid rgba(20, 55, 79, 0.12);
}

.order-summary div:last-child {
  border-bottom: 0;
}

.order-summary dt,
.order-summary dd {
  margin: 0;
  padding: 13px 16px;
}

.order-summary dt {
  color: #244b64;
  background: rgba(20, 55, 79, 0.06);
  font-weight: 700;
}

.summary-total {
  color: #08785c;
  font-size: 1.25rem;
  font-weight: 900;
}

.refund-conditions {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(20, 55, 79, 0.16);
  border-radius: 16px;
  background: #f5f9fb;
}

.refund-conditions h3,
.refund-conditions h4 {
  margin-top: 0;
}

.refund-conditions li + li {
  margin-top: 10px;
}

.order-agreement-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.agreement-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(20, 120, 151, 0.2);
  border-radius: 12px;
  background: rgba(110, 231, 255, 0.07);
}

.agreement-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #42d9b0;
}

.agreement-check a {
  color: #087a9c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-status {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #03150f;
  background: #75f0c4;
  font-weight: 800;
}

.mail-status {
  margin: 24px 0;
  padding: 14px 16px;
  border-radius: 12px;
}

.mail-status.success {
  color: #075c46;
  background: rgba(102, 242, 189, 0.16);
}

.mail-status.failure {
  color: #8b2424;
  background: rgba(255, 98, 98, 0.12);
}

@media (max-width: 680px) {
  .order-section {
    padding: 40px 0 64px;
  }

  .order-progress span,
  .order-progress strong {
    padding-inline: 4px;
    font-size: 0.75rem;
  }

  .order-summary div {
    grid-template-columns: 1fr;
  }

  .confirmation-part {
    padding: 18px 16px;
  }

  .order-summary dt {
    padding-bottom: 5px;
  }

  .order-summary dd {
    padding-top: 5px;
  }

  .order-actions {
    flex-direction: column-reverse;
  }

  .order-actions .button,
  .order-actions button {
    width: 100%;
    justify-content: center;
  }

  .order-running-total {
    grid-template-columns: 1fr;
  }
}

.check-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.check-field input {
  order: 1;
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.check-field span:not(.field-error) {
  order: 2;
}

.check-field .field-error {
  order: 3;
  grid-column: 2;
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.form-confirm-button {
  color: #075f71;
  background: rgba(0, 168, 200, 0.16);
}

.form-confirm-button:hover {
  background: rgba(0, 168, 200, 0.24);
}

.confirm-send-button {
  color: #196235;
  background: rgba(61, 180, 104, 0.18);
}

.confirm-send-button:hover {
  background: rgba(61, 180, 104, 0.28);
}

.form-status {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.form-status p,
.form-status ul {
  margin: 0;
}

.form-status ul {
  padding-left: 1.4em;
}

.form-status.success {
  border: 1px solid rgba(0, 168, 200, 0.28);
  color: #075f71;
  background: rgba(0, 168, 200, 0.1);
}

.form-status.error {
  border: 1px solid rgba(217, 66, 66, 0.28);
  color: #8b2424;
  background: rgba(217, 66, 66, 0.1);
}

.confirm-list {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  overflow: hidden;
}

.confirm-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) 1fr;
  border-bottom: 1px solid var(--line);
}

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

.confirm-list dt,
.confirm-list dd {
  margin: 0;
  padding: 14px 16px;
}

.confirm-list dt {
  color: var(--ink);
  background: #f5f7fb;
  font-weight: 800;
}

.confirm-list dd {
  color: var(--muted);
  overflow-wrap: anywhere;
  white-space: normal;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.confirm-actions form {
  margin: 0;
}

.confirm-actions button {
  border: 0;
  cursor: pointer;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  .draft-banner {
    margin-top: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

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

  .hero {
    min-height: 88vh;
  }

  .hero-inner {
    min-height: 88vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 12, 21, 0.94) 0%, rgba(7, 12, 21, 0.68) 60%, rgba(7, 12, 21, 0.32) 100%),
      linear-gradient(180deg, rgba(7, 12, 21, 0.32) 0%, rgba(7, 12, 21, 0.82) 100%);
  }

  .intro-grid,
  .approach-grid,
  .contact-panel,
  .form-layout {
    grid-template-columns: 1fr;
  }

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

  .sales-hero-layout,
  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .support-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .purchase-steps {
    display: flex;
    gap: 34px;
    padding-bottom: 12px;
    overflow-x: auto;
  }

  .purchase-steps li {
    flex: 0 0 190px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-sample-grid {
    grid-template-columns: 1fr;
  }

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

  .form-note {
    position: static;
  }

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

  .contact-panel .button {
    justify-self: start;
  }
}

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

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding-top: 100px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .intro,
  .services,
  .approach,
  .contact,
  .contact-page,
  .products-page,
  .product-detail {
    padding: 64px 0;
  }

  .product-sample-page {
    padding-bottom: 64px;
  }

  .sales-section,
  .legal-page {
    padding: 64px 0;
  }

  .purchase-steps li {
    min-height: 150px;
  }

  .legal-content {
    padding: 20px;
  }

  .legal-content table,
  .legal-content tbody,
  .legal-content tr,
  .legal-content th,
  .legal-content td {
    display: block;
    width: 100%;
  }

  .oss-section,
  .pro-section,
  .license-section {
    padding-bottom: 64px;
  }

  .consultation-section {
    padding-bottom: 64px;
  }

  .consultation-case-grid {
    grid-template-columns: 1fr;
  }

  .license-table {
    min-width: 680px;
  }

  .license-table th,
  .license-table td {
    padding: 14px;
  }

  .product-sample-grid h2 {
    font-size: 24px;
  }

  .mail-sample {
    grid-template-columns: 1fr;
  }

  .sample-sidebar {
    display: flex;
    align-items: center;
    overflow-x: auto;
  }

  .sample-brand-dot {
    flex: 0 0 auto;
    margin: 0;
  }

  .sample-toolbar,
  .sample-policy-grid {
    grid-template-columns: 1fr;
  }

  .sample-toolbar {
    display: grid;
  }

  .page-hero {
    padding: 118px 0 58px;
  }

  .section-heading {
    display: block;
  }

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

  .confirm-list div {
    grid-template-columns: 1fr;
  }

  .confirm-list dt,
  .confirm-list dd {
    padding: 12px 14px;
  }

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

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

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