:root {
  color-scheme: light;
  --ink: #17201d;
  --ink-soft: #4b5652;
  --paper: #f7f8f5;
  --white: #ffffff;
  --mist: #e8f0ec;
  --green: #245f4c;
  --green-deep: #123f34;
  --red: #bb4b38;
  --blue: #314d6a;
  --line: rgba(23, 32, 29, 0.14);
  --shadow: 0 22px 55px rgba(23, 32, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(14, 22, 19, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  font-family: Georgia, "Times New Roman", serif;
}

.brand-text {
  font-size: 0.98rem;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 17, 15, 0.88) 0%, rgba(11, 17, 15, 0.62) 43%, rgba(11, 17, 15, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 132px clamp(18px, 5vw, 72px) 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6c07f;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 9vw, 6.7rem);
  font-weight: 900;
}

h2 {
  max-width: 13em;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.lead {
  max-width: 35em;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 154px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 32px rgba(12, 65, 50, 0.28);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.button.ghost.dark {
  color: var(--ink);
  border-color: var(--line);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-band div {
  display: grid;
  gap: 4px;
  min-height: 106px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: var(--white);
}

.signal-band strong {
  color: var(--green);
  font-size: 1.18rem;
}

.signal-band span {
  color: var(--ink-soft);
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 1040px;
  margin: 0 auto 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 43em;
  color: var(--ink-soft);
}

.section-head.compact {
  margin: 0;
}

.feature-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}

.feature-card,
.price-card,
.sample-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 248px;
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.feature-card p,
.sample-preview p,
.price-card li,
.note {
  color: var(--ink-soft);
}

.section-ink {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 95, 76, 0.32), rgba(187, 75, 56, 0.08)),
    var(--ink);
}

.section-ink .eyebrow {
  color: #e6c07f;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1040px;
  margin: 0 auto;
}

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

.check-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.section-muted {
  background: var(--mist);
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.works-layout .button {
  margin-top: 18px;
}

.sample-preview {
  min-height: 320px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(49, 77, 106, 0.08), rgba(36, 95, 76, 0.1)),
    var(--white);
}

.sample-tag,
.plan-name {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.flow-list li {
  min-height: 232px;
  padding: 24px;
  background: var(--white);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
}

.flow-list p {
  color: var(--ink-soft);
}

.section-price {
  background:
    linear-gradient(180deg, rgba(232, 240, 236, 0.8), rgba(247, 248, 245, 1));
}

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

.price-card {
  min-height: 410px;
  padding: 28px;
}

.price-card.accent {
  border-color: rgba(187, 75, 56, 0.36);
}

.price-card h3 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

.monthly {
  margin: 12px 0 26px;
  color: var(--green);
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.note {
  max-width: 1040px;
  margin: 18px auto 0;
  font-size: 0.92rem;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 95, 76, 0.94), rgba(18, 63, 52, 0.98)),
    var(--green-deep);
}

.contact-panel .eyebrow {
  color: #e6c07f;
}

.contact-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #0f1714;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.7);
}

.client-page {
  background: var(--paper);
}

.client-hero {
  display: grid;
  align-items: end;
  min-height: 58svh;
  padding: 132px clamp(18px, 5vw, 72px) 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 63, 52, 0.96), rgba(49, 77, 106, 0.9)),
    var(--green-deep);
}

.client-hero-inner {
  max-width: 900px;
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.support-panel,
.client-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.support-panel {
  padding: 28px;
}

.support-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding-top: 10px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.client-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

.client-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.client-form span {
  font-size: 0.9rem;
}

.client-form input,
.client-form select,
.client-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 32, 29, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

.client-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 62px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 80svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 17, 15, 0.28) 0%, rgba(11, 17, 15, 0.7) 48%, rgba(11, 17, 15, 0.92) 100%);
  }

  .hero-image {
    object-position: center top;
  }

  .hero-inner {
    padding-top: 108px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .signal-band,
  .feature-grid,
  .split,
  .works-layout,
  .flow-list,
  .price-grid,
  .contact-panel,
  .client-layout,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .flow-list li,
  .feature-card,
  .price-card {
    min-height: auto;
  }

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

  .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: auto;
  }

  .brand-text {
    max-width: 8.5em;
    line-height: 1.25;
  }

  .header-action {
    min-width: 82px;
    padding: 8px 10px;
  }

  .hero {
    min-height: 78svh;
  }
}
