/* ===========================================================
   POCOHEART site
   - グラデーションは使わない（すべてベタ塗り）
   - 全幅バンド（.band）で画面を区切る構成
   =========================================================== */

:root {
  --pink: #e8a0b4;
  --pink-deep: #d4708a;
  --pink-pale: #fce4ec;
  --pink-tint: #fdf3f6;
  --bg: #fff8f9;
  --dark: #4a2b34;
  --dark-text: #5d2e3a;
  --body-text: #444;
  --muted: #888;
  --line: #e6dcdf;
  --card: #fff;
  --radius: 14px;
  --inner: 1080px;
  --inner-narrow: 820px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* iPhone/iPadのオーバースクロール（ページ端で引っ張った時）に
     見える地の色。白のままだとフッター下が白く見えるため、
     ヘッダー・フッターと同じ色にする */
  background: var(--dark);
}

body {
  margin: 0;
  background: #fff;
  color: var(--body-text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Yu Gothic",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.95;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--pink-deep); }

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

/* ===========================================================
   ヘッダー
   =========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: #fff;
}

.header-inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: 6px;
  padding: 6px 13px;
  font-size: 14px;
  cursor: pointer;
}

.site-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 4px;
  white-space: nowrap;
}

.site-nav a:hover { background: rgba(255, 255, 255, 0.14); }

.site-nav a[aria-current="page"] {
  color: var(--pink);
  font-weight: bold;
}

/* 「使い方」のプルダウン */
.site-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.sub-toggle {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 7px 4px;
  font-size: 10px;
  line-height: 1;
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border-radius: 0 0 10px 10px;
  min-width: 190px;
  padding: 6px 0 10px;
  z-index: 60;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.site-nav .nav-item:hover .sub-nav,
.site-nav .nav-item.open .sub-nav { display: block; }

.sub-nav a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-nav .nav-item { flex-wrap: wrap; }
  .sub-toggle {
    margin-left: auto;
    padding: 11px 16px;
    font-size: 13px;
  }
  .sub-nav {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: none;
    padding: 4px 0;
  }
  /* スマホではホバーで開かない（タップのみ） */
  .site-nav .nav-item:hover .sub-nav { display: none; }
  .site-nav .nav-item.open .sub-nav { display: block; }
  .sub-nav a { padding: 10px 22px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 10px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 4px; }
  .header-inner { flex-wrap: wrap; }
}

/* ===========================================================
   全幅バンド
   =========================================================== */

.band { width: 100%; }

.band-inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 60px 24px;
}

.band-inner.narrow { max-width: var(--inner-narrow); }
.band-inner.tight { padding-top: 40px; padding-bottom: 40px; }

.band-white { background: #fff; }
.band-tint  { background: var(--pink-tint); }
.band-pale  { background: var(--pink-pale); }
.band-dark  { background: var(--dark); color: #fff; }
.band-pink  { background: var(--pink); color: #fff; }

.band-dark a, .band-pink a { color: #fff; }

/* 特徴キーワードの帯 */
.keyline {
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 2.2;
  margin: 0;
}

.keyline span { white-space: nowrap; }

.keyline .sep {
  color: var(--pink);
  margin: 0 14px;
}

/* ===========================================================
   見出し・本文
   =========================================================== */

.page-title {
  font-size: 30px;
  color: var(--dark-text);
  margin: 0 0 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.band-dark .page-title, .band-pink .page-title { color: #fff; }

.page-lead {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.band-dark .page-lead { color: rgba(255, 255, 255, 0.75); }

.section-title {
  font-size: 22px;
  color: var(--dark-text);
  margin: 0 0 8px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.section-lead {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 26px;
}

.chapter-no {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.updated {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 22px;
}

h3.sub {
  font-size: 17px;
  color: var(--dark-text);
  margin: 30px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--pink);
  line-height: 1.6;
}

/* ===========================================================
   画像スロット（番号つきプレースホルダ）
   =========================================================== */

.imgslot {
  position: relative;
  border: 2px dashed var(--pink);
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 18px;
  color: var(--pink-deep);
  margin: 0 auto;
}

.imgslot .no {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.2;
  color: #00c853; /* 明るいグリーン：画像未配置の目印 */
}

.imgslot .what {
  font-size: 13.5px;
  font-weight: bold;
  margin-top: 6px;
  line-height: 1.7;
  color: #00c853;
}

.imgslot .size {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.7;
}

/* 比率のバリエーション */
.imgslot.wide  { aspect-ratio: 16 / 9;  width: 100%; }
.imgslot.hero  { aspect-ratio: 16 / 8;  width: 100%; }
.imgslot.phone { aspect-ratio: 9 / 19.5; max-width: 260px; width: 100%; }

/* ===========================================================
   実画像（ユーザー作成のモックアップ画像）
   - 画像自体に白背景・余白が含まれるため、白カードとして見せる
   =========================================================== */

.appshot {
  display: block;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* ホームトップの全幅ヒーロー（home_hero.png 1920x1080）
   常に画面幅いっぱいに表示（1920px超のモニタのみ左右に白が出る） */
.hero-band { background: #fff; }
.hero-band .hero-top {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

.appshot.hero-img {
  max-width: 800px;
  width: 100%;
  border: none;      /* 白バンド上ではフチなしでなじませる */
  border-radius: 0;
}

.card .appshot {
  width: 100%;
  margin-top: 14px;
  border: none;      /* カード自体が白いのでフチ不要 */
}

/* 無料の案内ピル（ヒーロー画像の直下） */
.free-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pink-pale);
  border: 1px solid rgba(232, 160, 180, 0.6);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14.5px;
  color: var(--dark-text);
  font-weight: bold;
}

.free-pill a {
  color: var(--pink-deep);
  text-decoration: underline;
  white-space: nowrap;
}

/* 特徴バッジ */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  background: #fff;
  border: 1px solid rgba(232, 160, 180, 0.7);
  color: var(--pink-deep);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: bold;
}

/* 使い方ページのアプリ画面（スマホで見たままの縦型モックアップ）
   PCでは小さめ・スマホではほぼ画面幅いっぱいに表示する */
.guideshot {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (max-width: 640px) {
  .guideshot { max-width: 88%; }
}

.guideshot-wrap {
  margin: 26px 0 6px;
  text-align: center;
}

/* スマホ画面を横に並べる */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  align-items: start;
}

.shot { text-align: center; }

.shot .caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.75;
}

/* ===========================================================
   カード
   =========================================================== */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}

.band-white .card { background: #fffdfd; }

.card h3 {
  font-size: 16px;
  color: var(--dark-text);
  margin: 0 0 10px;
  line-height: 1.6;
}

.card p { margin: 0 0 12px; font-size: 14.5px; }
.card p:last-child { margin-bottom: 0; }

.card ul, .card ol { margin: 8px 0 12px; padding-left: 1.4em; font-size: 14.5px; }
.card li { margin-bottom: 5px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.feature-grid .card { margin-bottom: 0; }

/* 画像＋テキストの2カラム */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.split.reverse .split-img { order: 2; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-img { order: 0; }
}

/* ===========================================================
   注意ボックス
   =========================================================== */

.callout {
  background: var(--pink-pale);
  border: 1px solid rgba(232, 160, 180, 0.6);
  border-radius: 16px;
  padding: 22px 24px;
  color: var(--dark-text);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.callout strong { color: var(--pink-deep); }
.callout ol, .callout ul { margin: 10px 0 0; padding-left: 1.4em; }
.callout li { margin-bottom: 6px; }

.note {
  background: #f7f5f5;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: #666;
}

.warn {
  color: var(--pink-deep);
  font-weight: bold;
}

.warnbox {
  background: #fff3e0;
  border: 1px solid #ffb74d;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  color: #5d4037;
  font-size: 14px;
}

.warnbox h4 { margin: 0 0 8px; font-size: 15px; color: #e65100; }
.warnbox p { margin: 0 0 10px; }
.warnbox p:last-child { margin-bottom: 0; }

.okbox {
  background: #e8f5e9;
  border: 1px solid #81c784;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  color: #1b5e20;
  font-size: 14px;
}

.okbox h4 { margin: 0 0 8px; font-size: 15px; color: #2e7d32; }
.okbox p { margin: 0 0 10px; }
.okbox p:last-child { margin-bottom: 0; }

/* ===========================================================
   ステップ
   =========================================================== */

ol.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

ol.steps > li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 18px 58px;
  margin-bottom: 14px;
  position: relative;
  font-size: 14.5px;
}

ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 17px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol.steps > li strong {
  display: block;
  color: var(--dark-text);
  margin-bottom: 5px;
  font-size: 15px;
}

/* ===========================================================
   目次
   =========================================================== */

.toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--dark-text);
  font-size: 14.5px;
}

.toc a:hover { border-color: var(--pink); }

.toc .n {
  color: var(--pink-deep);
  font-weight: bold;
  margin-right: 8px;
}

/* ===========================================================
   FAQ
   =========================================================== */

details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

details.faq > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: bold;
  color: var(--dark-text);
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

details.faq > summary::-webkit-details-marker { display: none; }

details.faq > summary::before {
  content: "Q";
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

details.faq[open] > summary { border-bottom: 1px solid #f0eaec; }

details.faq .answer { padding: 16px 20px 20px; font-size: 14.5px; }
details.faq .answer p { margin: 0 0 11px; }
details.faq .answer p:last-child { margin-bottom: 0; }
details.faq .answer ul { margin: 8px 0 11px; padding-left: 1.4em; }

/* ===========================================================
   表
   =========================================================== */

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

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  background: #fff;
  min-width: 460px;
}

th, td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}

th { background: var(--pink-pale); color: var(--dark-text); white-space: nowrap; }

/* ===========================================================
   フッター
   =========================================================== */

.site-footer { background: var(--dark); color: #fff; }

.footer-inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 36px 24px 30px;
  text-align: center;
  font-size: 13.5px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

.footer-meta { color: rgba(255, 255, 255, 0.8); line-height: 2; }
.footer-meta a { color: var(--pink); }

.copyright {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
