:root {
  --blue: #5db7e7;
  --blue-strong: #25a4ff;
  --pink: #f36690;
  --pink-pale: #ffe2ec;
  --blue-pale: #d9eefb;
  --text: #333;
  --dark: #303030;
  --header-h: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  background: #fff;
  /* 全体に薄いドット柄が敷かれている */
  background-image: radial-gradient(#e9eef5 1px, transparent 1px);
  background-size: 28px 28px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: min(960px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, .96);
}

.logo { display: inline-block; line-height: 0; }
.logo img { height: 36px; width: auto; }
.footer .logo img { height: 44px; }

.gnav { display: flex; gap: 22px; font-size: 12px; font-weight: 500; }
.gnav a { text-decoration: none; }
.gnav a[aria-current="page"] { color: var(--blue-strong); }

/* ---------- hero ---------- */
.hero {
  margin-top: var(--header-h);
  background: #000 url("assets/hero.webp") center / cover no-repeat;
  color: #fff;
}
.hero-inner {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
  min-height: 320px;
  padding: 56px 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
}
.hero-sub { margin: 0; font-weight: 700; font-size: 14px; }
.hero-title { margin: 0 0 18px; font-size: 56px; line-height: 1.1; font-weight: 900; letter-spacing: .04em; }

.btn {
  display: inline-block;
  padding: 10px 44px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn-blue { background: var(--blue-strong); }

/* ---------- common ---------- */
.section { padding: 56px 0; }
.h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
}
.section-lead { margin: 0 0 40px; }

/* ---------- concept ---------- */
.lead { font-size: 16px; font-weight: 700; line-height: 1.8; margin: 0 0 14px; }
.concept p { margin: 0 0 12px; }

.diagram { margin: 28px 0 0; padding: 20px 20px 14px; border-radius: 6px; background: #d2f1fb; text-align: center; }
.diagram img { margin-inline: auto; }

/* ---------- twin ---------- */
.twin { background: var(--blue); color: #fff; padding: 44px 0; }
.twin-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.twin-text { flex: 1; }
.twin-text h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.6; font-weight: 700; }
.twin-text p { margin: 0; font-size: 13px; }
.twin-video { flex: 0 0 min(320px, 40%); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.twin-video iframe { width: 100%; height: 100%; border: 0; }
.video-link { position: relative; display: block; width: 100%; height: 100%; }
.video-link img { width: 100%; height: 100%; object-fit: cover; }
.video-link .play { position: absolute; inset: 50% auto auto 50%; width: 52px; height: 36px; margin: -18px 0 0 -26px; border-radius: 10px; background: #f00; }
.video-link .play::after { content: ""; position: absolute; left: 21px; top: 10px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

/* ---------- features ---------- */
.feature { display: flex; align-items: center; gap: 32px; margin-bottom: 36px; }
.feature-rev { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-img { flex: none; width: 400px; max-width: 42%; height: auto; border-radius: 4px; }
.feature h3 { margin: 6px 0 8px; font-size: 20px; line-height: 1.5; color: var(--pink); font-weight: 700; }
.feature p { margin: 0; font-size: 12px; }

.tag {
  display: inline-block;
  padding: 0 14px;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--pink), var(--blue-strong));
}

/* ---------- usecase ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case { padding: 28px 28px 24px; border-radius: 8px; }
.case-1 { background: var(--pink-pale); }
.case-2 { background: var(--blue-pale); }
.case-no { margin: 0 0 4px; font-size: 11px; font-weight: 700; }
.case-1 .case-no { color: var(--pink); }
.case-2 .case-no { color: var(--blue-strong); }
.case h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--dark); }
.case > p:not(.case-no) { margin: 0 0 14px; font-size: 12px; }
.case ul { margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; }
.case li { padding-left: 18px; position: relative; margin-bottom: 4px; }
.case li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; }
.case-1 li::before { background: var(--pink); }
.case-2 li::before { background: var(--blue-strong); }

/* ---------- cta ---------- */
.cta {
  width: min(1180px, 100% - 40px);
  margin: 24px auto 40px;
  border-radius: 12px;
  background: #0b0b14 url("assets/stock.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.cta-inner { padding: 44px 20px; border-radius: 12px; background: rgba(0, 0, 0, .35); }
.cta h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.cta p { margin: 0 0 16px; font-size: 12px; }

.policy { width: min(960px, 100% - 40px); margin: 0 auto 60px; font-size: 11px; text-align: center; }
.policy a { color: var(--blue-strong); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #fff; padding: 36px 24px 20px; font-size: 11px; }
.footer-inner { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; }
.footer a { text-decoration: none; }
.footer-brand { grid-row: span 3; }
.sns { display: flex; gap: 10px; margin: 14px 0 0; }
.sns a { width: 22px; height: 22px; display: grid; place-items: center; background: #fff; color: var(--dark); border-radius: 3px; font-size: 10px; font-weight: 900; }
.footer-nav, .footer-sub, .footer-policy { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.footer-sub, .footer-policy { color: #bbb; }
.copy { grid-column: 2; margin: 0; text-align: right; color: #8f8f8f; }

/* ---------- ポリシー系のページ（/privacy） ---------- */
.policy-page { padding: calc(var(--header-h) + 48px) 0 72px; background: #fff; }
.policy-container { width: min(960px, 100% - 40px); margin-inline: auto; }
.policy-en { margin: 0; color: #8f8f8f; font-size: 13px; font-weight: 500; }
.policy-title {
  margin: 0 0 32px;
  padding-bottom: 10px;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--blue-strong)) 1;
}
.policy-body { font-size: 13px; line-height: 2; }
.policy-body p { margin: 0 0 10px; }
.policy-body h2 { margin: 36px 0 10px; font-size: 14px; font-weight: 700; color: var(--dark); }
.policy-body .item { padding-left: 1.6em; text-indent: -1.6em; }
.policy-body .clause { margin-top: 12px; }
.policy-body .sub { padding-left: 1.6em; }
.policy-body .url-label { margin: 14px 0 0; }
.policy-body .url { word-break: break-all; }
.policy-body .url a, .policy-body .rev a { color: var(--blue-strong); }
.policy-body .addr { margin-bottom: 2px; }
.policy-body .rev { margin: 14px 0 0; }

/* ---------- スマートフォン ---------- */
@media (max-width: 767px) {
  body { font-size: 14px; }
  .header { padding: 0 16px; }
  .gnav { display: none; }

  .hero { background-image: url("assets/hero-sp.webp"); }
  .hero-inner { min-height: 300px; align-items: center; text-align: center; }
  .hero-title { font-size: 40px; }

  .twin-inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .twin-video { flex: none; }

  .feature, .feature-rev { flex-direction: column; align-items: stretch; gap: 14px; }
  .feature-img { width: 100%; max-width: 100%; }

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

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; }
  .footer-nav, .footer-sub, .footer-policy { justify-content: flex-start; }
  .copy { grid-column: 1; text-align: left; }
}
