:root {
  --bg-main: #e8ecf0;
  --bg-soft: #ffffff80;
  --bg-card: #ffffff;
  --text-main: #1f2a37;
  --text-sub: #5b6473;
  --blue: #1d3b9e;
  --blue-soft: #e8eef9;
  --border: #dfe5ee;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

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

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

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

.narrow {
  width: min(980px, calc(100% - 40px));
}

.section {
  padding: 80px 0;
}

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

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3;
}

.section-heading p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--text-sub);
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: var(--blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  color: #fff !important;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.site-header .brand:link,
.site-header .brand:visited,
.site-header .brand:hover,
.site-header .brand:active {
  color: #fff !important;
}

.brand img {
  height: 30px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 4px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.lang-btn.is-active {
  color: var(--blue);
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-white {
  background: #fff;
  color: var(--blue);
}

.button-muted {
  background: #eef2f7;
  color: #334155;
}

.button-large {
  font-size: 17px;
  padding: 14px 28px;
}

.hero {
  padding-top: 132px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-copy .accent {
  color: var(--blue);
}

.hero-copy .lead {
  margin: 24px 0 0;
  font-size: clamp(17px, 2.3vw, 22px);
  color: var(--text-sub);
}

.hero-text {
  margin-top: 20px;
  color: #505a6a;
}

.hero-text p {
  margin: 0;
}

.hero-cta {
  margin-top: 32px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-screen {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 52px rgba(2, 6, 23, 0.25);
  transform: rotateY(-8deg) rotateX(2deg);
}

.section-video .video-frame {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.section-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 14px 0 8px;
}

.card p {
  margin: 0;
  color: var(--text-sub);
}

.card-accent {
  border-color: #c4d3f6;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f0f4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-blue {
  background: var(--blue-soft);
}

.feature-stack {
  display: grid;
  gap: 56px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-row.reverse .feature-copy {
  order: 1;
}

.feature-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-copy h3 {
  margin: 16px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.feature-copy p {
  margin: 0;
  color: var(--text-sub);
}

.tab-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
}

.tab-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-btn {
  border: 0;
  border-radius: 12px;
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #57606e;
  background: #ffffff88;
}

.tab-btn.is-active {
  background: var(--blue);
  color: #fff;
}

.tab-panel-wrap {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.tab-panel.is-active {
  display: grid;
}

.tab-panel-copy h3 {
  margin: 10px 0 10px;
}

.tab-panel-copy p {
  margin: 0;
  color: var(--text-sub);
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 8px 0;
  padding-left: 22px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
}

.tab-panel-media img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
}

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

.reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reason-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reason-body {
  padding: 20px;
}

.reason-meta {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.reason-body h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.reason-body p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.tag-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
  padding: 5px 10px;
  border-radius: 999px;
}

.plan-badge {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
}

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

.pricing-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  border-color: var(--blue);
  box-shadow: 0 14px 32px rgba(29, 59, 158, 0.2);
}

.pricing-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.price {
  margin: 10px 0 0;
}

.price strong {
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1;
}

.price span {
  color: #6b7280;
  font-size: 16px;
  margin-left: 4px;
}

.recommended {
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 10px;
}

.pricing-text {
  color: var(--text-sub);
  margin: 14px 0;
}

.pricing-table-card {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.pricing-table-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.pricing-table-head h3 {
  margin: 0;
  font-size: 28px;
}

.pricing-table-head p {
  margin: 8px 0 0;
  color: var(--text-sub);
}

.pricing-table-head span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid #e8edf4;
}

thead th {
  font-size: 14px;
}

thead th:nth-child(2),
tbody td:nth-child(2) {
  background: #f5fbf6;
  color: #2f5b38;
}

.pricing-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #64748b;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #64748b;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-sub);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.section-cta {
  background: var(--blue);
}

.cta-box {
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 50px);
}

.cta-box p {
  margin: 18px 0 30px;
  color: #cfe0ff;
  font-size: 20px;
}

.site-footer {
  padding: 30px 0;
  background: var(--bg-main);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: #69707c;
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-brand img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1);
}

.footer-links {
  display: flex;
  gap: 18px;
}

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

@media (max-width: 1100px) {
  .reasons-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 108px;
  }

  .hero-grid,
  .feature-row,
  .tab-layout,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy {
    order: initial;
  }

  .tab-buttons {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tab-btn {
    white-space: nowrap;
  }

  .pricing-table-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    font-size: 15px;
    font-weight: 700;
  }

  .lang-switcher {
    display: none;
  }

  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
    padding: 10px 14px;
  }

  .card-grid.two,
  .reasons-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}
