/* VibeXceed
   白に近い紙と墨色の文字で、きっぱり。ブランドのライムは、ボタン・蛍光ペン・墨色の帯の中だけに使う。
   丸い書体（Kiwi Maru）はキャラクター「めぶ」の吹き出し専用。 */
:root {
  --paper: #f7f8f3;
  --card: #ffffff;
  --ink: #1d231a;
  --ink-soft: #545c4f;
  --lime: #c9fa39;
  --line: #d9ddd0;
  --night: #1d231a;      /* 墨色の帯 */
  --night-text: #eef1e6;
  --night-soft: #b3bba9;
  --blush: #ffb8a8;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --round: "Kiwi Maru", "Hiragino Maru Gothic ProN", sans-serif;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #3f6b1a; outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { font-weight: 900; line-height: 1.4; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
.nw { display: inline-block; }

/* 蛍光ペン */
mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 94%, transparent 94%);
  color: inherit;
  padding: 0 .08em;
}

.skip { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ボタン：ライム×墨の枠。押すと影の分だけ沈む */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px;
  background: var(--lime); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: var(--card); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.btn-big { min-height: 64px; padding: 0 40px; font-size: 19px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px max(20px, calc((100% - var(--wrap)) / 2));
  background: rgb(247 248 243 / .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 34px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 900; font-size: 21px; letter-spacing: -.01em; }
.brand-sub { font-size: 12px; color: var(--ink-soft); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: 5px; }

/* 最初の画面 */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 64px 20px 80px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 50px; letter-spacing: 0; }
.hero-lead { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: inline-grid; grid-template-columns: repeat(3, auto); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.facts li { padding: 12px 22px; display: grid; line-height: 1.35; }
.facts li + li { border-left: 2px solid var(--ink); }
.facts small { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.facts b { font-size: 24px; font-weight: 900; }
.facts b span { font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.hero-stage { position: relative; min-height: 520px; }

/* 見本スマホ */
.phone {
  position: absolute; right: 8%; top: 0;
  width: 236px; padding: 12px;
  background: var(--ink); border-radius: 34px;
  transform: rotate(4deg);
  box-shadow: 0 24px 50px -20px rgb(29 35 26 / .5);
}
.phone-screen { background: #fffdf8; border-radius: 24px; overflow: hidden; height: 430px; font-size: 12px; line-height: 1.5; }
.mock-bar { display: flex; justify-content: space-between; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.mock-menu { color: var(--ink-soft); }
.mock-photo {
  height: 170px; margin: 0 10px; border-radius: 14px;
  background:
    radial-gradient(circle at 26% 26%, #ffe7b8 0 14%, transparent 15%),
    radial-gradient(circle at 76% 30%, #f5c98e 0 17%, transparent 18%),
    linear-gradient(160deg, #e9b77c, #b9794a);
  display: flex; align-items: flex-end; padding: 12px;
  color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 6px rgb(0 0 0 / .35);
}
.mock-row { display: flex; gap: 6px; padding: 12px 10px 6px; }
.mock-btn { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; background: #eef1e6; font-weight: 700; }
.mock-btn-main { flex: 1.6; background: #3f6b1a; color: #fff; }
.mock-lines { padding: 8px 12px; display: grid; gap: 7px; }
.mock-lines i, .mock-cards i { display: block; height: 8px; border-radius: 4px; background: #e6e9dc; }
.mock-lines .short { width: 60%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 10px; }
.mock-cards i { height: 52px; border-radius: 10px; background: #f3e4cc; }
.phone-label { position: absolute; bottom: -34px; right: 6px; font-size: 13px; color: var(--ink-soft); transform: rotate(-4deg); }

/* 「公開まで約2週間」のシール */
.sticker {
  position: absolute; left: 4%; top: 36px; z-index: 3;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--lime); border: 2px solid var(--ink);
  display: grid; place-content: center; text-align: center;
  font-weight: 700; font-size: 14px; line-height: 1.3;
  transform: rotate(-10deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.sticker b { display: block; font-size: 30px; font-weight: 900; line-height: 1.2; }
.sticker small { display: block; font-size: 11px; font-weight: 500; line-height: 1.35; margin-top: 2px; }

/* AIが書いている画面（トップ） */
.editor {
  position: absolute; right: 0; top: 10px; width: 100%; max-width: 440px;
  background: var(--night); color: var(--night-text);
  border-radius: 16px; border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--lime);
  overflow: hidden;
}
.editor-bar { display: flex; gap: 6px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #3a4235; font-size: 13px; color: var(--night-soft); }
.editor-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4235; }
.editor-bar span { margin-left: 8px; }
.editor-body { padding: 18px 18px 22px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 2; letter-spacing: 0; }
.editor-body p { white-space: nowrap; overflow: hidden; }
.editor-body .c { color: var(--night-soft); }
.editor-body .k { color: var(--lime); }
.editor-body .done { color: var(--lime); font-weight: 700; }
.editor-body .ln { display: inline-block; width: 1.8em; color: #59624f; }

.mebu { display: block; overflow: visible; }
.mebu-hero { position: absolute; left: 0; bottom: 0; width: 140px; height: 154px; z-index: 2; }
.bubble {
  position: relative; display: inline-block;
  background: var(--card); border: 2px solid var(--ink);
  border-radius: 16px; padding: 8px 14px;
  font-family: var(--round); font-size: 15px; line-height: 1.6;
}
.bubble-hero { position: absolute; left: 110px; bottom: 120px; transform: rotate(-3deg); z-index: 2; white-space: nowrap; }
.bubble-hero::after, .contact-mebu .bubble::after {
  content: ""; position: absolute; left: 16px; bottom: -10px;
  width: 14px; height: 14px; background: var(--card);
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

/* セクション共通 */
.section { max-width: var(--wrap); margin: 0 auto; padding: 80px 20px; }
.section h2 { font-size: 34px; margin-bottom: 30px; }
.section-lead { margin: -14px 0 30px; color: var(--ink-soft); }
.section-lead mark { color: var(--ink); font-weight: 700; }

/* 墨色の帯：速さと安さのわけ */
.band { background: var(--night); color: var(--night-text); }
.band .section { padding-top: 88px; padding-bottom: 88px; }
.band h2 { color: #fff; }
.band h2 mark { background: linear-gradient(transparent 62%, #56701c 62%, #56701c 94%, transparent 94%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.why h3 { font-size: 22px; color: #fff; margin-bottom: 12px; }
.why h3::before { content: ""; display: block; width: 36px; height: 6px; background: var(--lime); border-radius: 3px; margin-bottom: 18px; }
.why p { color: var(--night-soft); }

/* カード（安心・大切にしていること） */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason { background: var(--card); border-radius: var(--radius); padding: 28px 26px; border: 2px solid var(--line); }
.reason h3 { font-size: 21px; margin-bottom: 10px; }
.reason p { color: var(--ink-soft); }

/* していること（トップ） */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 34px 32px; display: grid; gap: 12px; align-content: start; justify-items: start; box-shadow: 6px 6px 0 var(--lime); }
.work-card h3 { font-size: 26px; }
.work-card p { color: var(--ink-soft); }
.work-card .btn { margin-top: 10px; }
.work-card-soon { border: 2px dashed var(--line); box-shadow: none; }
.work-tag { font-size: 13px; font-weight: 700; padding: 1px 12px; border-radius: 999px; background: var(--lime); color: var(--ink) !important; border: 2px solid var(--ink); }
.work-tag-soon { background: #eef1e6; border-color: var(--line); }
.work-facts { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 700; color: var(--ink) !important; }

/* できること */
.can-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.can-list li { padding: 20px 0; border-top: 2px solid var(--line); display: grid; gap: 4px; }
.can-list b { font-size: 19px; }
.can-list span { color: var(--ink-soft); }

/* 料金 */
.price { background: var(--card); border: 2px solid var(--ink); border-radius: 24px; max-width: calc(var(--wrap) + 40px); padding: 64px 48px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { border: 2px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.plan-pick { border-color: var(--ink); }
.plan-name { font-weight: 900; font-size: 24px; }
.plan-what { color: var(--ink-soft); }
.plan-price { margin-top: 14px; font-weight: 700; font-size: 18px; }
.plan-price .yen { font-size: 40px; font-weight: 900; letter-spacing: 0; }
.plan-price small { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.plan-monthly { display: inline-block; margin-top: 6px; padding: 1px 14px; border-radius: 999px; background: var(--lime); font-weight: 700; }
.plan ul { margin: 18px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.plan li + li { margin-top: 4px; }
.plan-more { margin-top: 24px; font-weight: 700; }
.plan-note { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* 流れ */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--card); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; display: grid; gap: 2px; border: 2px solid var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); border: 2px solid var(--ink); font-weight: 900; font-size: 17px;
  display: grid; place-items: center; line-height: 1;
}
.steps b { font-size: 18px; }
.steps span { color: var(--ink-soft); font-size: 15px; }

/* よくある質問 */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border-radius: 12px; border: 2px solid var(--line); }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
.faq details[open] summary::after { content: "－"; }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); }

/* お問い合わせ */
.contact-card {
  display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 24px;
  background: var(--card); border: 2px solid var(--ink); border-radius: 24px; padding: 52px 48px;
  box-shadow: 8px 8px 0 var(--lime);
}
.contact-card h2 { margin-bottom: 12px; }
.contact-card .btn { margin-top: 24px; }
.contact-addr { margin-top: 14px; font-size: 15px; font-weight: 500; }
.contact-mebu { display: flex; flex-direction: column; align-items: center; }
.contact-mebu .mebu { width: 120px; height: 132px; }
.contact-mebu .bubble { order: -1; margin-bottom: 16px; }

/* フッター */
.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 48px 20px 56px; font-size: 14px; color: var(--ink-soft); display: grid; gap: 4px; }
.footer-brand { font-weight: 900; font-size: 20px; color: var(--ink); }
.footer-brand span { font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.copy { margin-top: 8px; }

/* 動き：めぶのまばたき・葉のゆれ、AIが書く画面の行が順に出る */
@media (prefers-reduced-motion: no-preference) {
  .m-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
  .m-leaf { transform-box: fill-box; transform-origin: bottom center; animation: sway 3.6s ease-in-out infinite; }
  .editor-body p { animation: type .5s steps(20, end) both; }
  .editor-body p:nth-child(2) { animation-delay: .4s; }
  .editor-body p:nth-child(3) { animation-delay: .8s; }
  .editor-body p:nth-child(4) { animation-delay: 1.2s; }
  .editor-body p:nth-child(5) { animation-delay: 1.6s; }
  .editor-body p:nth-child(6) { animation-delay: 2s; }
  .editor-body p:nth-child(7) { animation-delay: 2.4s; }
  .editor-body p:nth-child(8) { animation-delay: 2.8s; }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
  .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes type { from { max-width: 0; } to { max-width: 100%; } }

/* タブレット */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .hero-stage { min-height: 460px; }
  .hero-stage-editor { min-height: 0; }
  .reason-grid, .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .editor { position: relative; top: 0; }
}

/* スマホ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav, .brand-sub { display: none; }
  .hero h1 { font-size: 34px; }
  .eyebrow { font-size: 13px; }
  .hero-lead { font-size: 16px; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .facts li { padding: 10px; }
  .facts b { font-size: 18px; }
  .facts b span { font-size: 12px; }
  .facts small { font-size: 11px; }
  .hero-actions .btn { width: 100%; }
  .hero-stage { min-height: 380px; }
  .phone { width: 172px; right: 2%; padding: 9px; border-radius: 28px; }
  .phone-screen { height: 310px; border-radius: 20px; font-size: 10px; }
  .mock-photo { height: 108px; font-size: 12px; }
  .sticker { width: 118px; height: 118px; font-size: 12px; left: 0; top: 14px; }
  .sticker b { font-size: 23px; }
  .sticker small { font-size: 9.5px; }
  .mebu-hero { width: 100px; height: 110px; }
  .bubble-hero { left: 78px; bottom: 90px; font-size: 13px; }
  .editor { box-shadow: 5px 5px 0 var(--lime); }
  .editor-body { font-size: 11px; padding: 14px; }
  .section { padding: 60px 16px; }
  .section h2 { font-size: 27px; }
  .band .section { padding-top: 64px; padding-bottom: 64px; }
  .reason-grid, .steps, .plans, .can-list { grid-template-columns: 1fr; }
  .price { border-radius: 18px; padding: 44px 20px; margin: 0 8px; }
  .work-card { padding: 26px 22px; }
  .work-card .btn { width: 100%; }
  .contact-card { padding: 36px 22px; border-radius: 18px; margin-right: 8px; }
  .contact-card .btn { width: 100%; }
  .contact-mebu .mebu { width: 90px; height: 99px; }
}
