/* YBservice サイト(試作)
   色: ロゴのガラスの質感に合わせた、黒・白・氷のような青
   文字: 端末に入っている書体だけを使う(外部のフォントを読み込まない) */
:root {
  --ink: #0B0D10;
  --text: #1E232B;
  --muted: #5A6372;
  --line: #DDE2E8;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;
  --ice: #2F6F9F;        /* アクセント(本文の上で 4.5:1 以上) */
  --ice-dark: #245A82;
  --ice-soft: #E8F1F8;
  --hero-text: #E9EDF2;
  --hero-muted: #A9B2BE;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--ice); }
a:hover { color: var(--ice-dark); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--bg);
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand img { width: 52px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
}
.site-nav a:hover { color: var(--ice); }
.site-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.site-nav .nav-cta:hover {
  /* すりガラス(暗い色) */
  background: rgba(11, 13, 16, 0.6);
  color: #fff;
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(11, 13, 16, 0.25);
}
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: none; }
}

/* ---- ヒーロー(ロゴの黒い背景とつなげる) ---- */
.hero {
  /* ボタンのすりガラスが映えるよう、ロゴの色に合わせた淡い光を置く */
  background:
    radial-gradient(circle at 18% 85%, rgba(47, 111, 159, 0.28), transparent 42%),
    radial-gradient(circle at 45% 20%, rgba(255, 255, 255, 0.06), transparent 35%),
    #000;
  color: var(--hero-text);
  padding: 72px 0 80px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--hero-muted);
  font-size: 14px;
  letter-spacing: 0.16em;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fff;
}
.lead {
  margin: 0 0 28px;
  color: var(--hero-text);
  font-size: 16px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-visual img { width: 100%; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; }
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

/* カーソルを合わせると、ロゴのようなすりガラス(グラスモーフィズム)になる */
.btn,
.site-nav .nav-cta,
.menu-toggle {
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
              color 0.25s ease, transform 0.25s ease;
}
.btn:hover,
.btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 28px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(11, 13, 16, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 14px rgba(11, 13, 16, 0.12);
}
/* 動きを減らす設定の人には、浮き上がる動きを出さない */
@media (prefers-reduced-motion: reduce) {
  .btn, .site-nav .nav-cta, .menu-toggle { transition: none; }
  .btn:hover, .btn:focus-visible { transform: none; }
}

/* ---- セクション ---- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-label {
  margin: 0 0 8px;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.section h2 {
  margin: 0 0 32px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.5;
  color: var(--ink);
}
.section h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.section p { margin: 0 0 12px; }
.note, .small { color: var(--muted); font-size: 14px; }
.h-small { font-size: 18px !important; margin-bottom: 12px !important; }

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

/* ---- カード ---- */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card p { color: var(--muted); }
@media (max-width: 860px) {
  .cards.three, .cards.two { grid-template-columns: 1fr; }
}

/* ---- 3つのこと ---- */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.steps li {
  counter-increment: step;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.steps p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---- 自分のPCがサーバーに ---- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.compare-col p { color: var(--muted); }
.compare-col.highlight { border-color: var(--ice); background: var(--ice-soft); }
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px;
}
.node {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.arrow { color: var(--muted); font-weight: 700; }
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pros-cons ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
@media (max-width: 860px) {
  .compare, .pros-cons { grid-template-columns: 1fr; }
}

/* ---- ツール ---- */
.tool-tag {
  display: inline-block;
  margin-bottom: 12px !important;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ice-soft);
  color: var(--ice-dark) !important;
  font-size: 12px;
  font-weight: 700;
}
.check { list-style: none; margin: 16px 0 0; padding: 0; }
.tool-tag.tag-live { background: var(--ink); color: #fff !important; }
.tool .btn { margin-top: 16px; }
.tool .note { margin-top: 8px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn.btn-dark:hover,
.btn.btn-dark:focus-visible {
  /* 明るい背景の上では、暗い色のすりガラスにする */
  background: rgba(11, 13, 16, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ice);
  border-bottom: 2px solid var(--ice);
  transform: rotate(-45deg);
}

/* ---- オーダーメイド ---- */
.order-flow {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.order-flow li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.order-flow .step-no {
  display: block;
  margin-bottom: 6px;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.order-flow p { color: var(--muted); font-size: 15px; }
.badge-fast {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.examples { margin: 0 0 12px; padding-left: 1.2em; color: var(--muted); }
@media (max-width: 860px) {
  .order-flow { grid-template-columns: 1fr; }
}

/* ---- 登録 ---- */
.signup { background: var(--ink); color: var(--hero-text); }
.signup h2 { color: #fff; }
.signup .section-label { color: #9EC3E0; }
.signup-form {
  margin-top: 24px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}
.signup-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.signup-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.signup-form fieldset { margin: 20px 0 0; padding: 0; border: none; }
.signup-form legend { margin-bottom: 6px; font-weight: 700; }
.signup-form .choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-weight: 400;
}
.signup-form .choice input { width: 20px; height: 20px; }
.signup-form .agree { margin-top: 12px; }
.signup-form .agree a { color: #9EC3E0; }
.signup-form .btn { margin-top: 16px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 16px; min-height: 65px; }
.form-message {
  margin: 16px 0 0 !important;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

/* ---- よくある質問 ---- */
details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}
details p { color: var(--muted); }

/* ---- プライバシーポリシー ---- */
.policy h1 { margin: 0 0 24px; font-size: clamp(24px, 3.2vw, 32px); color: var(--ink); }
.policy h2 { margin: 36px 0 10px !important; font-size: 18px !important; }
.policy ul { margin: 0 0 12px; padding-left: 1.2em; }
.site-nav.open-always { display: flex !important; position: static; padding: 0; border: none; background: none; }
.site-nav.open-always a { border: none; }

/* ---- フッター ---- */
.site-footer { background: #000; color: var(--hero-muted); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { margin: 0; color: #fff; font-weight: 700; letter-spacing: 0.06em; }
.site-footer .small { margin: 0; color: var(--hero-muted); }
.site-footer a { color: var(--hero-text); }
