:root {
  --ink: #101820;
  --muted: #52616d;
  --subtle: #778896;
  --line: #dfe7ed;
  --panel: #ffffff;
  --soft: #f5fbfe;
  --soft-2: #eef8fc;
  --blue: #1298e6;
  --blue-dark: #0877bd;
  --cyan: #18bfd3;
  --green: #0f9f6e;
  --amber: #b7791f;
  --navy: #17212b;
  --radius: 8px;
  --wrap: 1120px;
  --shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  padding: 4px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  flex: 0 0 auto;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 600;
}

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

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.nav-cta:hover {
  color: #fff;
  background: var(--blue-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 72svh, 720px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 46%, rgba(255, 255, 255, 0.76) 100%),
    url("logo-mark.png") right 6% center / min(660px, 54vw) auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 74px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(18, 152, 230, 0.24);
}

.btn:hover {
  color: #fff;
  text-decoration: none;
  filter: saturate(1.08);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.release-note {
  display: block;
  margin-top: 12px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

section {
  padding: 82px 0;
}

.section-alt {
  background: var(--soft);
}

.section-head {
  max-width: 710px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.section-head h2,
.page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 900;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card,
.plan-card,
.faq-item,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-card {
  padding: 24px;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

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

.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.product-points {
  display: grid;
  gap: 12px;
}

.point {
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.point strong {
  display: block;
  margin-bottom: 4px;
}

.point span {
  color: var(--muted);
  font-size: 14px;
}

.app-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.preview-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
}

.preview-title {
  font-weight: 900;
  line-height: 1.25;
}

.preview-title span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
}

.preview-tabs {
  display: flex;
  margin-left: auto;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.preview-tabs span {
  padding: 5px 9px;
  border-radius: var(--radius);
  background: var(--soft-2);
}

.preview-body {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(160deg, #f4fbfe, #e9f7fd);
}

.preview-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.preview-panel h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.segments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.segments span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  background: #fff;
}

.segments .active {
  color: var(--blue-dark);
  border-color: rgba(18, 152, 230, 0.2);
  background: #eaf7fe;
}

.fake-input,
.fake-textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.fake-input {
  padding: 9px 11px;
  margin-bottom: 10px;
}

.fake-textarea {
  min-height: 82px;
  padding: 11px;
}

.setting-row {
  display: grid;
  grid-template-columns: 112px 1fr 54px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.bar {
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue) 58%, #d8e6ef 58%);
}

.history-row {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.history-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
}

.history-text {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.history-text strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

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

.info-panel {
  padding: 24px;
}

.info-panel h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.info-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(18, 152, 230, 0.2), var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 0 9px;
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: #e8f6fd;
  font-size: 12px;
  font-weight: 900;
}

.plan-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.price {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quota {
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-weight: 900;
}

.plan-card ul,
.legal ul,
.legal ol {
  padding-left: 1.2em;
}

.plan-card li {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
}

.billing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.billing-scroll {
  width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border-radius: var(--radius);
}

.billing-table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
}

.billing-table th,
.billing-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.billing-table th {
  background: var(--soft);
  font-weight: 900;
}

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

.table-discount {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(15, 159, 110, 0.12);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.consulting {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(18, 152, 230, 0.28);
  border-radius: var(--radius);
  background: #dcecff;
}

.consulting h3 {
  margin: 10px 0 6px;
  font-size: 22px;
}

.consulting p {
  margin-bottom: 0;
  color: var(--muted);
}

.consulting h3 span {
  color: var(--muted);
  font-size: 14px;
}

.consulting-main {
  min-width: 0;
}

.consulting-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 18px;
}

.consulting-label {
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
}

.consulting ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consulting li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.consulting li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.consulting-note {
  margin-top: 16px !important;
  color: var(--subtle) !important;
  font-size: 12px;
}

.consulting .btn {
  min-width: 190px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  padding: 22px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.consult-form {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.consult-form h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.consult-form p {
  margin-bottom: 0;
  color: var(--muted);
}

.consult-form form {
  display: grid;
  gap: 12px;
}

.consult-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.consult-form textarea {
  resize: vertical;
}

.consult-form .btn {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.contact-box h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.contact-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.mail {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  word-break: break-all;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff9ec;
  color: #68460e;
  font-size: 14px;
}

.site-footer {
  padding: 46px 0 36px;
  color: #b9c4cb;
  background: var(--navy);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-brand {
  color: #fff;
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  color: #b9c4cb;
}

.footer-links a:hover {
  color: #fff;
}

.footer-note,
.copy {
  color: #8fa0ab;
  font-size: 12px;
}

.copy {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.page-hero {
  padding: 58px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.85)),
    url("logo-mark.png") right 9% center / 270px auto no-repeat,
    var(--soft);
}

.crumb {
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
}

.legal {
  padding: 54px 0 76px;
}

.legal h2 {
  margin: 34px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--soft-2);
  font-size: 20px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: #31414b;
}

.legal .policy-highlight {
  background: #fff3bf;
  border-left: 4px solid #f2b705;
  border-radius: 6px;
  padding: 8px 10px;
}

.legal li.policy-highlight {
  margin: 8px 0;
}

.meta {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.info-table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}

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

.info-table th {
  width: 230px;
  background: var(--soft);
  font-weight: 900;
}

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

@media (max-width: 960px) {
  .feature-grid,
  .plans,
  .safety-grid,
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 740px) {
  .wrap,
  .narrow {
    width: min(100% - 28px, var(--wrap));
  }

  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(4) {
    display: none;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.88)),
      url("logo-mark.png") center bottom 8% / min(430px, 94vw) auto no-repeat;
  }

  .hero-body {
    padding: 46px 0 170px;
  }

  .hero h1 {
    font-size: 48px;
  }

  section {
    padding: 58px 0;
  }

  .feature-grid,
  .plans,
  .safety-grid,
  .flow-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .preview-tabs {
    display: none;
  }

  .billing-table {
    min-width: 620px;
  }

  .consulting {
    padding: 20px;
  }

  .consulting-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .consulting .btn,
  .consult-form .btn {
    width: 100%;
  }

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

  .info-table th {
    border-bottom: 0;
    padding-bottom: 5px;
  }

  .info-table td {
    padding-top: 5px;
  }
}
