/* フルカレ 公式サイト 共通スタイル */
:root {
  --ink: #0f1220;
  --ink2: #3b4160;
  --muted: #6b7290;
  --bg: #f6f8ff;
  --card: #ffffff;
  --line: #e3e8f7;
  --blue: #2f7bff;
  --blue-dark: #1d5fd6;
  --yellow: #ffe14a;
  --pink: #ff5c8a;
  --teal: #12b8c8;
  --orange: #ff8a3d;
  --radius: 22px;
  --display: "Dela Gothic One", "M PLUS Rounded 1c", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(15,18,32,.92); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a { color: #c9cfe6; text-decoration: none; font-size: .9rem; font-weight: 700; }
.header-nav a:hover { color: #fff; }
.header-nav .cta-mini { background: var(--blue); color: #fff; padding: 7px 16px; border-radius: 999px; }
@media (max-width: 760px) { .header-nav a:not(.cta-mini):not(.lang) { display: none; } }

/* ヒーロー */
.hero {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-kicker { font-weight: 800; color: #c9cfe6; margin: 0 0 6px; font-size: 1rem; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.25; margin: 0; letter-spacing: .01em; }
.hero h1 .band {
  display: inline-block; background: var(--yellow); color: var(--ink);
  padding: .02em .35em .08em; margin: .12em 0 .1em -.1em;
  transform: rotate(-3deg); box-shadow: 8px 8px 0 var(--blue);
}
.hero .pill {
  display: inline-block; margin-top: 22px; background: var(--blue); color: #fff;
  font-weight: 800; font-size: clamp(1.15rem, 2.6vw, 1.6rem); padding: 12px 28px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(47,123,255,.45);
}
.hero-lead { color: #c9cfe6; margin: 22px 0 0; max-width: 34em; }
.hero-phones { position: relative; height: 520px; }
.hero-phones .phone { position: absolute; width: 230px; }
.hero-phones .phone:first-child { left: 4%; top: 30px; transform: rotate(-5deg); z-index: 2; }
.hero-phones .phone:last-child { right: 2%; top: 0; transform: rotate(4deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-phones { height: 420px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-phones .phone { width: 190px; }
}

/* ダウンロードボタン */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 20px 10px 16px;
  font-weight: 800; line-height: 1.2; border: 2px solid #fff; transition: transform .15s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); }
.store-btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.store-btn.dark small { color: #aab1cc; }
.price-note { font-size: .85rem; color: #aab1cc; margin-top: 12px; }

/* スマホ枠 */
.phone {
  border-radius: 34px; padding: 9px; background: #1b1f2e;
  box-shadow: 0 30px 60px rgba(15,18,32,.35), inset 0 0 0 2px #3a4058;
}
.phone img { border-radius: 26px; width: 100%; }
.plain-shot { border-radius: 26px; overflow: hidden; box-shadow: 0 24px 50px rgba(15,18,32,.25); }

/* セクション共通 */
section { padding: 84px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.35; margin: 0 0 12px; }
.sec-head p { color: var(--ink2); margin: 0 auto; max-width: 40em; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; color: var(--blue); letter-spacing: .08em; margin-bottom: 8px; }

/* 悩み一覧 */
.pains { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.pain {
  position: relative; background: var(--bg); border-radius: var(--radius); padding: 22px 22px 20px;
  border: 2px solid var(--line);
}
.pain .q { font-weight: 800; font-size: 1.08rem; margin: 0 0 8px; }
.pain .q::before { content: "😩 "; }
.pain .a { margin: 0; color: var(--ink2); font-size: .95rem; }
.pain .a strong { color: var(--blue); }

/* 機能ブロック（悩み → 解決） */
.feature { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.rev { grid-template-columns: 300px 1fr; }
.feature.rev .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
.feature-media .phone, .feature-media .plain-shot { width: 270px; }
.pain-tag {
  display: inline-block; background: var(--ink); color: #fff; font-weight: 800; font-size: .95rem;
  padding: 6px 14px; border-radius: 10px; margin-bottom: 14px; transform: rotate(-1.5deg);
}
.feature h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.4; margin: 0 0 14px; }
.feature h3 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.feature p { color: var(--ink2); margin: 0 0 12px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { position: relative; padding-left: 30px; margin: 8px 0; color: var(--ink2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.more-link { display: inline-block; margin-top: 14px; font-weight: 800; text-decoration: none; }
.more-link::after { content: " →"; }
@media (max-width: 820px) {
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 28px; }
  .feature.rev .feature-media { order: 0; }
  .feature-media .phone, .feature-media .plain-shot { width: 240px; }
}

/* 話し方の例 */
.say-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.say {
  background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: .95rem;
}
.say b { display: block; font-size: 1.02rem; }
.say b::before { content: "🎙 "; }
.say span { color: var(--muted); font-size: .88rem; }

/* その他機能のタイル */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tile { background: #fff; border-radius: 18px; padding: 20px; border: 2px solid var(--line); }
.tile .ico { font-size: 1.6rem; }
.tile h4 { margin: 6px 0 4px; font-size: 1.05rem; }
.tile p { margin: 0; color: var(--ink2); font-size: .92rem; }
.tile a { text-decoration: none; color: inherit; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { background: #fff; border-radius: var(--radius); padding: 28px; border: 2px solid var(--line); }
.plan.pro { border-color: var(--blue); box-shadow: 0 16px 40px rgba(47,123,255,.15); }
.plan h3 { margin: 0; font-size: 1.2rem; }
.plan .price { font-family: var(--display); font-size: 2.2rem; margin: 6px 0 12px; }
.plan .price small { font-family: inherit; font-size: .9rem; color: var(--muted); }
.plan ul { padding-left: 1.2em; margin: 0; color: var(--ink2); }
.plan li { margin: 4px 0; }
.fine { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 18px; }

/* FAQ */
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--blue); }
.faq details p { margin: 0 0 16px; color: var(--ink2); }

/* 最後のCTA */
.final-cta { background: var(--ink); color: #fff; text-align: center; }
.final-cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.35; margin: 0 0 10px; }
.final-cta p { color: #c9cfe6; margin: 0; }
.final-cta .stores { justify-content: center; }

/* 記事ページ */
.page-hero { background: var(--ink); color: #fff; padding: 52px 0 46px; }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.4; margin: 0 0 12px; }
.page-hero p { color: #c9cfe6; margin: 0; max-width: 40em; }
.crumbs { font-size: .82rem; color: #8c93b0; margin-bottom: 14px; }
.crumbs a { color: #aab1cc; text-decoration: none; }
.article { padding: 56px 0 72px; }
.article h2 { font-size: 1.45rem; line-height: 1.5; margin: 48px 0 14px; padding-left: 14px; border-left: 6px solid var(--blue); }
.article h3 { font-size: 1.15rem; margin: 30px 0 8px; }
.article p, .article li { color: var(--ink2); }
.article .figure { display: flex; justify-content: center; margin: 28px 0; }
.article .figure .phone { width: 250px; }
.box { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 20px 24px; margin: 22px 0; }
.box.blue { border-color: rgba(47,123,255,.35); background: #eef4ff; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; font-size: .93rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: #eef2fd; white-space: nowrap; }
.inline-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; margin: 40px 0; text-align: center; }
.inline-cta p { color: #c9cfe6; margin: 0; }
.inline-cta .stores { justify-content: center; margin-top: 18px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding-left: 0; list-style: none; }
.related a { display: block; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; font-weight: 800; color: var(--ink); }
.related a:hover { border-color: var(--blue); }

/* 家計簿のイメージ図 */
.mock-budget { width: 270px; background: #fff; border-radius: 26px; padding: 22px 18px; box-shadow: 0 24px 50px rgba(15,18,32,.18); border: 1px solid var(--line); font-size: .85rem; }
.mock-budget .ttl { font-weight: 800; text-align: center; margin-bottom: 10px; }
.mock-budget .row3 { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; background: var(--bg); border-radius: 12px; padding: 8px 4px; margin-bottom: 12px; }
.mock-budget .row3 small { display: block; color: var(--muted); font-size: .72rem; }
.mock-budget .row3 b { font-size: .88rem; }
.mock-budget .ent { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.mock-budget .ent:last-child { border-bottom: 0; }
.mock-budget .cat { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-weight: 800; font-size: .75rem; margin-right: 8px; }
.mock-budget .neg { color: #e5484d; font-weight: 800; }
.mock-budget .pos { color: #1aa36f; font-weight: 800; }
.mock-budget .voice { margin-top: 12px; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: .8rem; }
.mock-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 8px; }

/* フッター */
.site-footer { background: #0a0c16; color: #8c93b0; padding: 44px 0 36px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.site-footer h5 { color: #fff; font-size: .92rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: #aab1cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copy { margin-top: 28px; border-top: 1px solid #1d2135; padding-top: 18px; }
