/* ヨビダス サイト共通スタイル
   明るくモダンなトーン（白基調・角丸・やわらかい影）。
   配色はアプリアイコン（濃紺＋金の星）から取っている。 */

:root {
    --bg: #ffffff;
    --bg-soft: #f5f8ff;
    --bg-tint: #eef3ff;
    --card: #ffffff;
    --border: #e3e9f5;
    --text: #16203a;
    --muted: #6b7794;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-soft: #e8f0ff;
    --gold: #f5a524;
    --gold-soft: #fff4dd;
    --green: #06c755;
    --green-soft: #e6f9ee;
    --shadow: 0 10px 30px rgba(22, 40, 90, .08);
    --shadow-lg: 0 18px 46px rgba(22, 40, 90, .14);
    --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-size: 15.5px;
    overflow-x: hidden; /* 横スクロールは出さない（狭い端末での保険） */
}

a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 10px; padding: 11px 0; }
.topbar .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.topbar .logo img { width: 30px; height: 30px; border-radius: 8px; }
.topbar .name { font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.topbar nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.topbar nav a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--accent); }

/* ---------- ヒーロー ---------- */
.hero {
    padding: 64px 0 56px; text-align: center;
    background:
        radial-gradient(720px 320px at 82% -6%, #fff0d0 0%, rgba(255, 240, 208, 0) 62%),
        radial-gradient(680px 340px at 10% 0%, #dfe9ff 0%, rgba(223, 233, 255, 0) 60%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.hero .appicon { width: 104px; height: 104px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero h1 { font-size: 15px; color: var(--muted); font-weight: 700; margin-top: 20px; letter-spacing: .06em; }
.hero .catch { font-size: clamp(25px, 7vw, 40px); font-weight: 800; line-height: 1.35; margin: 10px 0 14px; letter-spacing: .01em; }
.hero .catch em { font-style: normal; color: var(--accent); }
.hero .lead { color: var(--muted); max-width: 620px; margin: 0 auto 26px; font-size: 15.5px; }

.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.badge {
    font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px;
    background: var(--green-soft); color: #04914a;
}
.badge.blue { background: var(--accent-soft); color: var(--accent-dark); }
.badge.gold { background: var(--gold-soft); color: #a96a00; }

/* ---------- ストアボタン ---------- */
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
    background: var(--text); color: #fff; padding: 13px 24px; border-radius: 14px;
    font-weight: 700; font-size: 15px; box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-btn .sub { display: block; font-size: 10.5px; font-weight: 500; opacity: .78; line-height: 1.3; }
.store-btn .main { display: block; font-size: 15px; line-height: 1.25; }
.store-btn svg { flex: none; }
.store-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- セクション ---------- */
section { padding: 58px 0; }
section.alt { background: var(--bg-soft); }
h2 { font-size: clamp(20px, 4.2vw, 26px); text-align: center; letter-spacing: .01em; }
.h2-lead { text-align: center; color: var(--muted); font-size: 14px; margin: 8px auto 34px; max-width: 640px; }

/* ---------- 特長カード ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 22px; box-shadow: var(--shadow);
}
.feature .ico {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    font-size: 22px; background: var(--accent-soft); margin-bottom: 14px;
}
.feature .ico.gold { background: var(--gold-soft); }
.feature .ico.green { background: var(--green-soft); }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 22px 22px; position: relative; box-shadow: var(--shadow);
}
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    font-size: 13px; font-weight: 800; color: var(--accent);
    background: var(--accent-soft); border-radius: 999px; padding: 3px 12px;
}
.step h3 { font-size: 16px; margin: 12px 0 6px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- 画面イメージ ---------- */
.shots { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.shots figure { width: 340px; max-width: 100%; }
.shots .frame {
    position: relative; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #0f1115;
}
.shots .frame img { width: 100%; height: auto; display: block; }
/* 画面の続きがあることを示す下端のフェード（切り口を目立たせない） */
.shots .frame::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 86px;
    background: linear-gradient(180deg, rgba(15,17,21,0) 0%, rgba(15,17,21,.96) 92%);
    pointer-events: none;
}
.shots figcaption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- 料金 ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
.plan {
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
}
.plan.pro { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, var(--shadow-lg); }
.plan .tag {
    display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 13px;
    border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark);
}
.plan.pro .tag { background: var(--gold-soft); color: #a96a00; }
.plan .price { font-size: 38px; font-weight: 800; margin: 12px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; text-align: left; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.plan li { padding: 5px 0 5px 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.plan li.no::before { content: "—"; color: #c3cada; }

/* ---------- プライバシー訴求 ---------- */
.privacy-card {
    max-width: 760px; margin: 0 auto; background: var(--card);
    border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow);
}
.privacy-card ul { list-style: none; margin-top: 8px; }
.privacy-card li { padding: 8px 0 8px 30px; position: relative; font-size: 14.5px; }
.privacy-card li::before {
    content: "🔒"; position: absolute; left: 0; font-size: 15px;
}
.privacy-card li b { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
    background: var(--card); border: 1px solid var(--border); border-radius: 14px;
    margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; color: var(--accent); margin-right: 8px; font-weight: 800; }
.faq-item .a { padding: 0 20px 18px; font-size: 14px; color: var(--muted); }

/* ---------- 記事ページ（規約・ポリシー） ---------- */
.page-head { padding: 46px 0 10px; background: linear-gradient(180deg, var(--bg-tint), #fff); }
.page-head h1 { font-size: clamp(21px, 5vw, 28px); }
.page-head .date { color: var(--muted); font-size: 13px; margin-top: 8px; }
.doc { padding: 30px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h2 {
    font-size: 19px; text-align: left; margin: 34px 0 10px; padding-left: 13px;
    border-left: 4px solid var(--accent); line-height: 1.5;
}
.doc h3 { font-size: 16px; margin: 22px 0 8px; color: var(--accent-dark); }
.doc p { margin-bottom: 12px; font-size: 14.5px; }
.doc ul, .doc ol { margin: 0 0 14px 22px; font-size: 14.5px; }
.doc li { margin-bottom: 6px; }
.doc .note {
    background: var(--accent-soft); border-radius: 14px; padding: 18px 20px;
    font-size: 14px; margin: 16px 0;
}
.doc .note.gold { background: var(--gold-soft); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 18px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); width: 34%; white-space: nowrap; }

/* ---------- 問い合わせ ---------- */
.contact-card {
    max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow); text-align: center;
}
.contact-mail {
    display: inline-block; margin: 10px 0 4px; font-size: 20px; font-weight: 800;
    color: var(--accent); text-decoration: none; word-break: break-all;
}
.btn-line {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
    padding: 13px 26px; border-radius: 13px; box-shadow: var(--shadow);
}
.btn-line:hover { background: var(--accent-dark); }

/* ---------- フッター ---------- */
footer {
    border-top: 1px solid var(--border); background: var(--bg-soft);
    padding: 36px 0 44px; text-align: center; font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
footer p { margin: 3px 0; }

@media (max-width: 760px) {
    body { font-size: 15px; }
    .hero { padding: 46px 0 44px; }
    .features, .steps { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .topbar nav { gap: 12px; }
    .topbar nav a { font-size: 12.5px; }
    .doc th { width: auto; white-space: normal; }
}

/* ---------- 規約・ポリシー（カルテナの体裁に合わせる） ---------- */
.content-section { padding: 30px 0 64px; }
.content-section .wrap { max-width: 820px; }
.date-info { color: var(--muted); font-size: 13px; margin-top: 8px; }

.article-title {
    font-size: 19px; font-weight: 800; margin: 34px 0 12px;
    padding-left: 13px; border-left: 4px solid var(--accent); line-height: 1.55;
}
.sub-title {
    font-size: 16px; font-weight: 700; color: var(--accent-dark); margin: 22px 0 8px;
}
.highlight-box {
    background: var(--accent-soft); border-radius: 14px; padding: 18px 20px; margin: 14px 0;
    font-size: 14.5px;
}
.highlight-box p { margin: 4px 0; }
.warning-box {
    background: var(--gold-soft); border: 1px solid #f3d9a4; border-radius: 14px;
    padding: 18px 20px; margin: 16px 0; font-size: 14.5px;
}
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 20px; }
.info-table th, .info-table td {
    border: 1px solid var(--border); padding: 13px 15px; text-align: left; vertical-align: top;
}
.info-table th { background: var(--bg-soft); width: 32%; white-space: nowrap; font-weight: 700; }

@media (max-width: 760px) {
    .article-title { font-size: 17px; }
    .info-table th { width: auto; white-space: normal; }
}
