/* 解説記事（/guide/）共通のスタイル */
:root{
  --brand:#2F6EA5;
  --brand-dark:#245a8a;
  --brand-light:#8EC5E8;
  --ink:#333;
  --muted:#666;
  --faint:#999;
  --bg:#fafafa;
  --card:#fff;
  --line:#e8e8e8;
  --del:#BA1A1A;
  --del-bg:#FFF1EF;
  --new-bg:#eaf3fa;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
section[id],h3[id]{scroll-margin-top:64px}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}
.nw{white-space:nowrap}

/* ---- Header ---- */
header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:1080px;margin:0 auto;padding:10px 20px;
  display:flex;align-items:center;justify-content:space-between;
}
.header-logo{
  font-size:1rem;font-weight:700;color:var(--ink);
  display:flex;align-items:center;gap:8px;white-space:nowrap;
}
.header-logo img{width:26px;height:26px;border-radius:6px}
.header-logo .old-name{font-size:.75rem;font-weight:500;color:#888}
.header-logo:hover{text-decoration:none}
.header-nav a{margin-left:18px;font-size:.875rem;color:#555}
.header-nav a:hover{color:var(--brand);text-decoration:none}

/* ---- Hero ---- */
.guide-hero{
  padding:112px 20px 48px;
  background:linear-gradient(135deg,#2F6EA5 0%,#5890c0 55%,#8EC5E8 100%);
  color:#fff;
}
.guide-hero-inner{max-width:760px;margin:0 auto}
.guide-hero h1{font-size:2rem;font-weight:800;letter-spacing:.01em;line-height:1.35;text-wrap:balance}
.guide-hero .lead{margin-top:14px;font-size:.95rem;opacity:.92}
.guide-hero .article-date{margin-top:12px;font-size:.85rem;opacity:.88}
.guide-hero-inner.has-visual{max-width:960px;display:grid;grid-template-columns:1fr 340px;align-items:center;gap:32px}
.hero-visual{display:block;width:100%;height:auto}

/* ---- Breadcrumb ---- */
.breadcrumb{font-size:.8rem;margin-bottom:14px}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px}
.breadcrumb li+li::before{content:"›";margin-right:4px;opacity:.7}
.breadcrumb a{color:#fff;opacity:.9}
.breadcrumb [aria-current]{opacity:.75}

/* ---- Section common ---- */
section{padding:56px 20px}
.section-inner{max-width:760px;margin:0 auto}
.section-title{font-size:1.5rem;font-weight:800;margin-bottom:24px;color:var(--ink);line-height:1.4}
.sub-title{font-size:1.15rem;font-weight:800;color:var(--ink);margin:36px 0 12px}
.sub-title:first-of-type{margin-top:8px}
.prose p{font-size:.95rem;color:#444;margin-bottom:14px}
.prose p:last-child{margin-bottom:0}
.prose + .card,.card + .prose,.bullets + .prose{margin-top:16px}
.bullets{list-style:none;margin:0}
.bullets li{position:relative;padding-left:1.4em;font-size:.95rem;color:#444;margin-bottom:10px}
.bullets li:last-child{margin-bottom:0}
.bullets li::before{
  content:"";position:absolute;left:.3em;top:.72em;width:7px;height:7px;border-radius:50%;
  background:var(--brand);
}
.sec-white{background:#fff}
.sec-gray{background:#f5f7fa}
.note{font-size:.8rem;color:var(--muted);margin-top:12px}

/* ---- Cards ---- */
.card{
  padding:24px;background:var(--card);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 2px 12px rgba(0,0,0,.04);
}
.sec-white .card{background:var(--bg);border-color:#eee;box-shadow:none}
.card + .card{margin-top:16px}
.card h3{margin:0 0 12px;color:var(--brand);font-size:1.05rem}
.card.summary{border-left:4px solid var(--brand)}

/* ---- Table of contents ---- */
.toc{margin-top:20px}
.toc h2{font-size:.95rem;font-weight:800;margin-bottom:8px}
.toc ol{padding-left:1.4em;font-size:.9rem}
.toc li{margin-bottom:4px}

/* ---- Tables ---- */
.table-wrap{overflow-x:auto;margin-top:16px}
.cmp-table{width:100%;border-collapse:collapse;font-size:.875rem;background:#fff}
.cmp-table th,.cmp-table td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.cmp-table thead th{background:var(--new-bg);color:var(--brand-dark);font-weight:700;white-space:nowrap}
.cmp-table tbody th{font-weight:700;min-width:6.5em}

/* ---- Screenshots ---- */
.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}
.shots figure{display:flex;flex-direction:column;align-items:center}
.shot{
  width:100%;max-width:240px;border:8px solid #22262b;border-radius:28px;overflow:hidden;
  background:#F9F9FF;box-shadow:0 10px 28px rgba(0,0,0,.14);
}
.shot img{display:block;width:100%;height:auto}
.shots figcaption{font-size:.8rem;color:var(--muted);margin-top:12px;text-align:center}

/* ---- FAQ ---- */
.faq-list{max-width:760px;margin:0 auto}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;overflow:hidden}
.faq-item summary{
  cursor:pointer;padding:16px 20px;font-size:.95rem;font-weight:700;color:var(--ink);
  list-style:none;position:relative;padding-right:44px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:'＋';position:absolute;right:18px;top:50%;transform:translateY(-50%);
  color:var(--brand);font-weight:400;font-size:1.1rem;
}
.faq-item[open] summary::after{content:'－'}
.faq-item .faq-a{padding:0 20px 16px;font-size:.9rem;color:var(--muted)}

/* ---- App download ---- */
.cta{text-align:center}
.cta .prose{text-align:left}
.store-badges{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.store-badges .badge-google{height:60px;width:auto}
.store-badges .badge-apple{height:44px;width:auto}
.links{margin-top:28px;display:flex;justify-content:center;gap:12px 24px;flex-wrap:wrap;font-size:.9rem}

/* ---- Guide index ---- */
.guide-list{list-style:none;display:grid;gap:16px}
.guide-list a{display:block;color:inherit}
.guide-list a:hover{text-decoration:none}
.guide-list a:hover .card{border-color:var(--brand-light)}
.guide-list h3{margin-bottom:6px}
.guide-list p{font-size:.9rem;color:var(--muted)}
.guide-list p.guide-date{margin-bottom:4px;font-size:.78rem;color:var(--faint)}

/* ---- Footer ---- */
footer{background:#333;color:#aaa;text-align:center;padding:32px 20px;font-size:.8rem}
footer p{margin-bottom:6px}
footer .disclaimer-footer{font-size:.75rem;color:#888}
footer a{color:#ccc}

/* ---- Responsive ---- */
@media(max-width:840px){
  .header-nav a.optional{display:none}
}
@media(max-width:760px){
  .guide-hero-inner.has-visual{grid-template-columns:1fr;gap:16px}
  .hero-visual{max-width:300px;margin:0 auto}
}
@media(max-width:600px){
  .header-logo .old-name{display:none}
  .header-inner{padding:10px 16px}
  .header-nav a{margin-left:12px;font-size:.8rem}
  .guide-hero{padding:92px 16px 36px}
  .guide-hero h1{font-size:1.45rem}
  section{padding:44px 16px}
  .section-title{font-size:1.3rem;margin-bottom:20px}
  .card{padding:20px 18px}
  .shots{grid-template-columns:1fr;gap:28px}
  .shot{max-width:280px}
}
