/* =========================================================================
   サービスLP 共通（手描き風・ステッカー調）。SNS運用代行LPがベース、AI内製化支援LPは ai.css で色と固有パーツを上書き
   ストーリー：曇り空の下であたふたしている店主が、読み進めるほど晴れていく。
   背景色もセクションごとに「曇り → 晴れ → 夕日色」へ移っていく。
   ========================================================================= */
:root {
  --paper: #fff8ee;
  --ink: #3b2f2a;
  --ink-soft: #6f5f56;
  --coral: #ff7b5c;
  --coral-d: #e8603f;
  --sun: #ffd25a;
  --mint: #9adbc0;
  --sky: #b9def5;
  --lilac: #cfc7ea;
  --pink: #ffb9c7;
  --cloud: #e7e5ef;
  --line-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C40 2 70 11 104 6s70-4 94 0' fill='none' stroke='%23ff7b5c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  --f-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --f-hand: "Yomogi", "Zen Maru Gothic", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-round); font-weight: 500; font-size: 16px; line-height: 1.95; -webkit-font-smoothing: antialiased; padding-bottom: 104px; overflow-x: clip; word-break: auto-phrase; }
h1, h2, h3, .punch, .you__big { text-wrap: balance; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ol, ul { list-style: none; padding: 0; }
b, strong { font-weight: 900; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.hand { font-family: var(--f-hand); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: #fff8eeeb; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; }
.hd__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hd__brand img { width: 84px; height: 36px; object-fit: contain; }
.hd__brand span { font-size: 12px; font-weight: 700; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); white-space: nowrap; }
.hd .btn { display: none; }

/* ---------- button ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 12px 34px; border: 3px solid var(--ink); border-radius: 999px; background: var(--coral); color: #fff; font-family: var(--f-round); font-size: 18px; font-weight: 900; letter-spacing: .06em; text-decoration: none; box-shadow: 0 5px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s; }
.btn:hover { background: var(--coral-d); transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.btn__arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--coral); font-size: 14px; }
.btn--sm { min-height: 40px; padding: 4px 18px; font-size: 14px; border-width: 2px; box-shadow: 0 3px 0 var(--ink); }
.cta { margin-top: 48px; text-align: center; }
.cta .btn { width: 100%; max-width: 400px; }
.cta__note { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.cta__bubble { display: inline-block; margin-bottom: 14px; padding: 2px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-family: var(--f-hand); font-size: 15px; position: relative; }
.cta__bubble::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; background: #fff; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateX(-50%) rotate(45deg); }

/* ---------- 共通の見出し ---------- */
.sec { position: relative; padding: 80px 0; overflow: hidden; }
.label { display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.label i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.h2 { margin-top: 18px; font-size: clamp(27px, 7vw, 44px); line-height: 1.5; font-weight: 900; letter-spacing: .02em; }
.h2 .mk { background: var(--line-url) left 100% / 100% 12px no-repeat; padding-bottom: 6px; }
.lead { margin-top: 18px; color: var(--ink-soft); font-size: 16px; }
.small { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.asof { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 2px 12px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }

/* ステッカー調カード */
.card { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 26px 22px; }
.card--tilt-l { transform: rotate(-1.2deg); }
.card--tilt-r { transform: rotate(1.2deg); }

/* 吹き出し */
.bubble { position: relative; display: inline-block; padding: 8px 16px; border: 2.5px solid var(--ink); border-radius: 18px; background: #fff; font-family: var(--f-hand); font-size: 17px; line-height: 1.5; white-space: nowrap; }
.bubble::after { content: ''; position: absolute; width: 14px; height: 14px; background: inherit; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.bubble--bl::after { left: 22px; bottom: -9px; transform: rotate(45deg); }
.bubble--br::after { right: 22px; bottom: -9px; transform: rotate(45deg); }
.bubble--l::after { left: -9px; top: 50%; margin-top: -7px; transform: rotate(135deg); }

/* キャラクター */
[data-chara] svg { width: 100%; height: auto; overflow: visible; }
[data-chara] .m { opacity: 0; transition: opacity .45s ease; }
[data-chara][data-mood="0"] .m0, [data-chara][data-mood="1"] .m1, [data-chara][data-mood="2"] .m2, [data-chara][data-mood="3"] .m3, [data-chara][data-mood="4"] .m4 { opacity: 1; }
[data-chara][data-mood="0"] .chara__phone { animation: shake .35s ease-in-out infinite; transform-origin: 110px 224px; }
[data-chara] .chara__sweat { animation: drip 1.6s ease-in-out infinite; }
[data-chara] .chara__twinkle { animation: twinkle 1.8s ease-in-out infinite; transform-origin: 180px 80px; }
[data-chara][data-mood="4"] svg { animation: hop 1.4s ease-in-out infinite; }
@keyframes shake { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes drip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.75); opacity: .7; } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes wobble { 0%, 100% { transform: rotate(calc(var(--r, 0deg) - 4deg)); } 50% { transform: rotate(calc(var(--r, 0deg) + 4deg)); } }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

/* ---------- 1. HERO（くもり空・あたふた） ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #dcd9e8 0%, var(--cloud) 60%, #f1ece6 100%); padding: 40px 0 70px; border-bottom: 3px solid var(--ink); }
.hero__clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; width: 150px; height: 50px; background: #fff; border: 2.5px solid #b9b4cc; border-radius: 50px; opacity: .85; animation: drift 9s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border: 2.5px solid #b9b4cc; border-bottom: 0; border-radius: 50% 50% 0 0; }
.cloud::before { width: 64px; height: 50px; left: 24px; top: -30px; }
.cloud::after { width: 46px; height: 36px; left: 74px; top: -18px; }
.cloud--1 { top: 4%; left: -30px; }
.cloud--2 { top: 12%; right: -40px; transform: scale(.8); animation-duration: 12s; }
.cloud--3 { bottom: 12%; left: 55%; transform: scale(.6); opacity: .6; animation-duration: 14s; }
.hero__in { position: relative; display: grid; gap: 24px; }
.hero__kicker { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.hero__title { margin-top: 18px; font-size: clamp(30px, 10vw, 72px); line-height: 1.32; font-weight: 900; letter-spacing: .01em; }
.hero__title .nb { display: inline-block; white-space: nowrap; }
.hero__title .mk { background: var(--line-url) left 96% / 100% 14px no-repeat; }
.hero__sub { margin-top: 18px; font-size: 16px; line-height: 2; color: var(--ink-soft); }
.hero__sub b { color: var(--ink); background: linear-gradient(transparent 60%, var(--sun) 60%); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__badges li { padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.hero__badges li:first-child { background: var(--sun); }
.hero .cta { text-align: left; margin-top: 30px; }

/* 価格を大きく見せる */
.price-hero { display: flex; align-items: flex-end; gap: 8px; margin-top: 22px; line-height: 1; }
.price-hero__label { writing-mode: vertical-rl; padding: 6px 4px; border: 2.5px solid var(--ink); border-radius: 8px; background: var(--sun); font-size: 15px; font-weight: 900; letter-spacing: .1em; margin-bottom: 6px; }
.price-hero__num { font-size: clamp(84px, 26vw, 136px); font-weight: 900; color: var(--coral); letter-spacing: -.02em; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.price-hero__unit { font-size: .36em; margin-left: 4px; color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; letter-spacing: 0; }
.price-hero__tax { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.gap { display: grid; gap: 8px; margin-top: 18px; padding: 14px 16px; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); max-width: 520px; }
.gap__row { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.gap__row--us { color: var(--ink); }
.gap__track { position: relative; height: 14px; border-radius: 999px; background: #f1ede6; }
.gap__bar { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
/* 0〜50万円のスケール：相場 20〜50万円 / 当社 3万円 */
.gap__bar--them { left: 40%; right: 0; background: repeating-linear-gradient(45deg, #b9b0a8 0 6px, #cfc7bf 6px 12px); }
.gap__bar--us { left: 0; width: 6%; min-width: 12px; background: var(--coral); border: 2px solid var(--ink); }
.gap__val { white-space: nowrap; }
.gap__row--us .gap__val { color: var(--coral-d); font-size: 16px; font-weight: 900; }
.hd__price { margin-left: auto; margin-right: 10px; padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hd__price b { font-size: 20px; color: var(--coral); margin: 0 1px; }

/* わちゃわちゃシーン */
.scene { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; margin: 0 auto; }
.scene__ground { position: absolute; left: 12%; right: 12%; bottom: 4%; height: 12%; border-radius: 50%; background: #c9c3dc; opacity: .6; }
.scene__chara { position: absolute; left: 25%; right: 25%; bottom: 4%; }
.tile { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); font-size: 13px; font-weight: 900; color: #fff; animation: floaty 2.6s ease-in-out infinite; }
.tile svg { width: 26px; height: 26px; }
.tile--ig { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); }
.tile--tt { background: #222; }
.tile--yt { background: #ff2d2d; }
.tile--fb { background: #1877f2; }
.tile--th { background: #fff; color: var(--ink); }
.tile--x { background: #111; }
.scene .tile--ig { top: 6%; left: 4%; --r: -12deg; }
.scene .tile--tt { top: 0; left: 40%; --r: 8deg; animation-delay: -.6s; }
.scene .tile--yt { top: 8%; right: 4%; --r: 14deg; animation-delay: -1.2s; }
.scene .tile--fb { top: 40%; left: 0; --r: -6deg; animation-delay: -.3s; }
.scene .tile--th { top: 42%; right: 0; --r: 10deg; animation-delay: -1.8s; }
.scene .tile--x { bottom: 28%; right: 8%; --r: -10deg; animation-delay: -.9s; }
.scene .bubble { position: absolute; font-size: 15px; animation: wobble 3s ease-in-out infinite; }
.scene .b1 { top: 17%; left: 2%; --r: -4deg; }
.scene .b2 { top: 25%; right: -2%; --r: 3deg; animation-delay: -1s; }
.scene .b3 { bottom: 26%; left: -4%; --r: -2deg; animation-delay: -2s; background: #ffe0e0; }
.paper { position: absolute; width: 38px; height: 48px; background: #fff; border: 2px solid var(--ink); border-radius: 4px; animation: floaty 3.2s ease-in-out infinite; }
.paper::before { content: ''; position: absolute; left: 7px; right: 7px; top: 10px; height: 18px; background: repeating-linear-gradient(#cfc8c0 0 2px, transparent 2px 7px); }
.paper--1 { top: 58%; left: 14%; --r: -22deg; }
.paper--2 { top: 16%; left: 26%; --r: 18deg; animation-delay: -1.4s; width: 30px; height: 38px; }
.clock { position: absolute; bottom: 6%; left: 10%; width: 50px; height: 50px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; animation: wobble .6s ease-in-out infinite; }
.clock::before, .clock::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3px; background: var(--ink); border-radius: 2px; transform-origin: 50% 100%; }
.clock::before { height: 15px; margin: -15px 0 0 -1.5px; transform: rotate(40deg); }
.clock::after { height: 11px; margin: -11px 0 0 -1.5px; transform: rotate(160deg); }

/* ---------- 2. お悩み（どんより） ---------- */
.sec--worry { background: #eceaf1; background-image: radial-gradient(#d4d0e2 1.5px, transparent 1.5px); background-size: 22px 22px; }
.worry__head { display: grid; gap: 10px; align-items: end; }
.worry__chara { width: 150px; justify-self: end; margin-top: -10px; position: relative; }
.worry__chara .bubble { position: absolute; top: -6px; right: 120px; }
.worries { display: grid; gap: 22px; margin-top: 30px; }
.worry { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.worry__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 3px solid var(--ink); border-radius: 50%; background: var(--lilac); }
.worry__icon svg { width: 34px; height: 34px; }
.worry__no { font-family: var(--f-hand); font-size: 15px; color: var(--ink-soft); }
.worry__title { font-size: 21px; font-weight: 900; line-height: 1.5; }
.worry__text { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.worry__num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #f4f2f8; border: 2px dashed #b6b0cb; }
.worry__num b { font-size: 28px; line-height: 1.2; color: #6a5fc0; }
.worry__num span { font-size: 13px; color: var(--ink-soft); }

/* ---------- 3. サービス内容（雲が切れて光が差す） ---------- */
.sec--service { background: linear-gradient(180deg, #e9eef6 0%, #f3f6f2 100%); }
.service__layout { display: grid; gap: 34px; }
.service__chara { position: relative; width: 190px; margin: 0 auto; }
.service__chara .bubble { position: absolute; top: -18px; left: 150px; background: #fff7d1; }
.flow { display: grid; gap: 12px; margin-top: 30px; counter-reset: f; }
.flow li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; font-size: 17px; font-weight: 700; }
.flow li::before { counter-increment: f; content: counter(f); display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); border: 2.5px solid var(--ink); font-size: 15px; font-weight: 900; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 33px; bottom: -14px; width: 2.5px; height: 14px; background: var(--ink); }
.flow small { margin-left: auto; padding: 0 10px; border-radius: 999px; background: #f1ede6; font-size: 12px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.flow li.is-you { background: #fff6d6; }
.flow li.is-you::before { background: var(--sun); }
.you { display: grid; gap: 14px; margin-top: 30px; }
.you__card { text-align: center; }
.you__card .hand { font-size: 17px; color: var(--ink-soft); }
.you__big { margin-top: 6px; font-size: clamp(22px, 6vw, 30px); font-weight: 900; line-height: 1.5; }
.you__big em { font-style: normal; background: linear-gradient(transparent 58%, var(--sun) 58%); }
.you__note { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 4. 6媒体（晴れ間） ---------- */
.sec--media { background: #e8f5fc; }
.sun-deco { position: absolute; width: 140px; height: 140px; top: -40px; right: -30px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); }
.sun-deco::before { content: ''; position: absolute; inset: -26px; border-radius: 50%; background: repeating-conic-gradient(var(--ink) 0 3deg, transparent 3deg 30deg); -webkit-mask: radial-gradient(circle, transparent 82px, #000 83px, #000 96px, transparent 97px); mask: radial-gradient(circle, transparent 82px, #000 83px, #000 96px, transparent 97px); opacity: .5; }
.media__layout { display: grid; gap: 30px; align-items: center; }
.media__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.media__tiles li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.media__tiles .tile { position: static; width: 64px; height: 64px; border-radius: 20px; }
.media__tiles .tile svg { width: 30px; height: 30px; }
.media__tiles li:nth-child(odd) .tile { --r: -6deg; }
.media__tiles li:nth-child(even) .tile { --r: 6deg; animation-delay: -1s; }
.free-stamp { display: inline-grid; place-items: center; width: 118px; height: 118px; border: 3px solid var(--coral); border-radius: 50%; color: var(--coral); transform: rotate(-12deg); text-align: center; font-weight: 900; line-height: 1.3; font-size: 15px; background: #fff; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7px var(--coral); }
.free-stamp b { display: block; font-size: 24px; }
.media__chara { position: relative; width: 170px; margin: 0 auto; }
.media__chara .bubble { position: absolute; top: -8px; right: 140px; }

/* ---------- 5. 価格の理由 ---------- */
.sec--why { background: var(--paper); }
.vs { display: grid; gap: 16px; margin-top: 34px; align-items: stretch; }
.vs__col { padding: 24px 22px; }
.vs__col--them { background: #f1eee9; box-shadow: 6px 6px 0 #a59a92; border-color: #8b7f77; color: var(--ink-soft); }
.vs__col--us { background: #fff; }
.vs__tag { display: inline-block; padding: 1px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #ddd6cf; }
.vs__col--us .vs__tag { background: var(--mint); border: 2px solid var(--ink); }
.vs__title { margin-top: 12px; font-size: 19px; font-weight: 900; line-height: 1.55; color: var(--ink); }
.vs__chain { margin-top: 14px; display: grid; gap: 6px; font-size: 15px; }
.vs__chain li { display: flex; gap: 8px; align-items: baseline; }
.vs__chain li::before { content: '↓'; color: var(--ink-soft); font-weight: 900; }
.vs__chain li:first-child::before { content: '・'; }
.vs__price { margin-top: 14px; font-size: 26px; font-weight: 900; line-height: 1.4; }
.vs__col--us .vs__price { color: var(--coral); }
.vs__vs { display: grid; place-items: center; font-family: var(--f-hand); font-size: 28px; color: var(--ink-soft); }
.punch { margin-top: 36px; text-align: center; font-size: clamp(22px, 6vw, 32px); font-weight: 900; line-height: 1.6; }
.punch em { font-style: normal; background: linear-gradient(transparent 58%, var(--mint) 58%); }

/* ---------- 6. 自社の実績 ---------- */
.sec--self { background: #fff5d8; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.stat { padding: 20px 10px; text-align: center; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--ink-soft); line-height: 1.6; }
.stat__num { margin-top: 6px; font-size: clamp(28px, 8vw, 48px); font-weight: 900; line-height: 1.15; white-space: nowrap; }
.stat__num small { font-size: .42em; margin-left: 2px; }
.stat__sub { margin-top: 6px; font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.stat--wide { grid-column: 1 / -1; }
.views { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.views li { padding: 6px 16px; border-radius: 12px; background: #fff6d6; border: 2px solid var(--ink); font-size: 22px; font-weight: 900; }
.views li small { font-size: 13px; }

/* ---------- 7. 提携パートナー ---------- */
.sec--partner { background: #fdeee4; }
.partner-flag { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 18px; border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 900; }
.partner-flag::before { content: '!'; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 14px; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pstat { padding: 16px 8px; text-align: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; }
.pstat b { display: block; font-size: clamp(20px, 5.6vw, 34px); line-height: 1.25; }
.pstat span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.genres li { padding: 2px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font-size: 14px; font-weight: 700; }
.case { margin-top: 26px; }
.case__no { font-family: var(--f-hand); font-size: 16px; color: var(--coral-d); }
.case__title { font-size: 21px; font-weight: 900; line-height: 1.5; }
.case__text { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.case__stats li { padding: 12px; border-radius: 14px; background: #fff3ec; }
.case__stats b { display: block; font-size: 24px; line-height: 1.3; }
.case__stats span { font-size: 12px; color: var(--ink-soft); line-height: 1.5; display: block; }
.case__media { margin-top: 14px; padding-top: 14px; border-top: 2px dashed #e3cfc2; font-size: 13px; color: var(--ink-soft); }
.case__credit { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.accounts { display: grid; gap: 10px; margin-top: 22px; }
.accounts a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; text-decoration: none; font-weight: 700; transition: transform .15s; }
.accounts a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.accounts a span { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.honest { display: flex; gap: 14px; align-items: center; margin-top: 30px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 2.5px dashed var(--ink); }
.honest__face { flex-shrink: 0; width: 64px; }
.honest p { font-size: 15px; line-height: 1.8; }

/* ---------- 8. 料金（快晴） ---------- */
.sec--price { background: linear-gradient(180deg, #d9f0fb 0%, #fff8ee 100%); }
.plans { display: grid; gap: 22px; margin-top: 40px; }
.plan { padding: 30px 22px 24px; }
.plan--rec { background: #fffbe9; box-shadow: 8px 8px 0 var(--coral); }
.plan__rec { position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 2px 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--coral); color: #fff; font-size: 15px; font-weight: 900; white-space: nowrap; }
.plan__name { font-size: 24px; font-weight: 900; text-align: center; }
.plan__count { text-align: center; font-size: 14px; color: var(--ink-soft); }
.plan__rows { margin-top: 18px; display: grid; gap: 10px; }
.plan__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f7f3ec; }
.plan--rec .plan__row { background: #fff; border: 2px solid #f2e2b0; }
.plan__row dt { font-size: 14px; font-weight: 700; }
.plan__row dd { font-size: 26px; font-weight: 900; line-height: 1.2; white-space: nowrap; }
.plan__row dd small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.price-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.price-meta li { padding: 3px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font-size: 14px; font-weight: 700; }

/* ---------- 9. ご契約後の流れ（にっこり） ---------- */
.sec--start { background: #eaf7ef; }
.start__layout { display: grid; gap: 30px; align-items: center; }
.start__chara { position: relative; width: 190px; margin: 0 auto; }
.start__chara .bubble { position: absolute; top: -14px; right: 150px; background: #e5fff1; }
.steps { display: grid; gap: 18px; margin-top: 30px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.step__no { display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid var(--ink); border-radius: 50%; background: var(--mint); font-size: 12px; font-weight: 900; line-height: 1.1; text-align: center; }
.step__no b { display: block; font-size: 20px; }
.step__title { font-size: 19px; font-weight: 900; line-height: 1.5; padding-top: 4px; }
.step__text { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* ---------- 10. FAQ ---------- */
.sec--faq { background: var(--paper); }
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details { background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.faq summary { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 18px 50px 18px 18px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 900; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 14px; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 24px; width: 10px; height: 10px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq__a { display: flex; gap: 12px; padding: 0 18px 20px; font-size: 15px; color: var(--ink-soft); }
.faq__a::before { content: 'A'; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 14px; font-weight: 900; }

/* ---------- 11. お問い合わせ（夕焼けのように温かく） ---------- */
.sec--contact { background: linear-gradient(180deg, #ffe1c7 0%, #ffcfb8 100%); border-top: 3px solid var(--ink); text-align: center; }
.contact__chara { position: relative; width: 210px; margin: 0 auto 10px; }
.contact__chara .bubble { position: absolute; top: 0; left: 170px; background: #fff; }
.contact__list { display: grid; gap: 14px; margin-top: 34px; text-align: left; }
.contact__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.contact__item:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.contact__icon { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--sun); }
.contact__icon svg { width: 24px; height: 24px; }
.contact__item--line .contact__icon { background: #06c755; color: #fff; }
.contact__item--mail .contact__icon { background: var(--sky); }
.contact__title { display: block; font-size: 18px; font-weight: 900; line-height: 1.4; }
.contact__text { display: block; font-size: 13px; color: var(--ink-soft); word-break: break-all; }
.contact__item--main { background: var(--coral); color: #fff; }
.contact__item--main .contact__text { color: #fff; opacity: .9; }

/* ---------- カッテニの紹介（両LPの最後） ---------- */
.sec--katteni { background: #fff; border-top: 3px solid var(--ink); }
.kt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.kt__brand { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.kt__icon { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border: 3px solid var(--ink); border-radius: 18px; background: linear-gradient(#fff 0 62%, #f39a3a 62%); box-shadow: 3px 3px 0 var(--ink); font-size: 15px; font-weight: 900; line-height: 1.05; color: #2b8f9a; text-align: center; }
.kt__name { font-size: clamp(30px, 8vw, 46px); font-weight: 900; line-height: 1.2; }
.kt__name small { display: block; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.kt__catch { margin-top: 18px; font-size: clamp(18px, 4.8vw, 22px); font-weight: 900; line-height: 1.6; }
.kt__text { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.kt__points { display: grid; gap: 8px; margin-top: 18px; }
.kt__points li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 700; }
.kt__points li::before { content: '✓'; flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; background: var(--mint); font-size: 12px; }
.kt__note { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: var(--paper); border: 2px dashed var(--ink); font-size: 14px; font-weight: 700; }
.kt__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--sun); }
.btn--ghost .btn__arrow { background: var(--ink); color: #fff; }
.kt__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.kt__sun { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); opacity: .9; }
.kt__phone { position: relative; width: 200px; padding: 8px; border: 3px solid var(--ink); border-radius: 32px; background: #2d3540; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-6deg); }
.kt__phone img { width: 100%; border-radius: 24px; }
.kt__video { position: relative; width: 100%; max-width: 560px; border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: #000; aspect-ratio: 16 / 9; }
.kt__video video { width: 100%; height: 100%; object-fit: cover; }
.kt__vcap { margin-top: 12px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* h1 の中にキーワード（サービス名）を含める */
.hero__h1 { margin: 0; font-size: inherit; font-weight: inherit; }
.hero__h1 .hero__title { display: block; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: #e9ddd5; padding: 34px 0; font-size: 13px; }
.ft__in { display: flex; flex-direction: column; gap: 14px; }
.ft__brand img { width: 100px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }

/* ---------- 一緒に読み進める小さな顔 ---------- */
.buddy { position: fixed; z-index: 55; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.buddy__face { width: 52px; height: 52px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; overflow: hidden; flex-shrink: 0; }
.buddy__face [data-chara] { width: 100%; }
.buddy__line { font-family: var(--f-hand); font-size: 14px; line-height: 1.4; white-space: nowrap; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff8eef2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 2.5px solid var(--ink); }
.bar .buddy { position: static; flex-direction: column; gap: 0; width: 64px; }
.bar .buddy__face { width: 44px; height: 44px; }
.bar .buddy__line { font-size: 10px; }
.bar__main { flex: 1; display: grid; gap: 4px; }
.bar__price { text-align: center; font-size: 13px; font-weight: 700; line-height: 1.3; }
.bar__price b { font-size: 17px; color: var(--coral-d); margin-left: 2px; }
.bar .btn { width: 100%; min-height: 48px; font-size: 16px; padding: 6px 14px; box-shadow: 0 4px 0 var(--ink); }
.buddy--float { display: none; }

/* スマホではキャラの吹き出しを頭の上の中央に置く（横にはみ出さないように） */
@media (max-width: 759px) {
  .worry__chara, .service__chara, .media__chara, .start__chara, .contact__chara { justify-self: center; margin-left: auto; margin-right: auto; }
  .worry__chara .bubble, .service__chara .bubble, .media__chara .bubble, .start__chara .bubble, .contact__chara .bubble { position: relative; top: auto; left: 50%; right: auto; transform: translateX(-50%); margin-bottom: 14px; }
  .worry__chara .bubble::after, .service__chara .bubble::after, .media__chara .bubble::after, .start__chara .bubble::after, .contact__chara .bubble::after { left: 50%; right: auto; margin-left: -7px; }
  .service__chara, .media__chara, .start__chara { width: 160px; }
}

/* ---------- reveal ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1.1); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal .card--tilt-l[data-reveal].is-in { transform: rotate(-1.2deg); }
.js-reveal .card--tilt-r[data-reveal].is-in { transform: rotate(1.2deg); }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .wrap { padding: 0 40px; }
  .hd__in { height: 70px; }
  .hd__brand img { width: 100px; height: 44px; }
  .hd .btn { display: inline-flex; }
  .bar { display: none; }
  .buddy--float { display: flex; right: 24px; bottom: 24px; flex-direction: row-reverse; }
  .buddy--float .buddy__face { width: 76px; height: 76px; border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
  .buddy--float .buddy__line { padding: 6px 14px; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; font-size: 15px; }
  .sec { padding: 120px 0; }
  .hero { padding: 70px 0 100px; }
  .hero__in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .hero__title { font-size: clamp(34px, 5.2vw, 64px); }
  .price-hero__num { font-size: clamp(96px, 10vw, 150px); }
  .hero__sub { font-size: 18px; }
  .scene .bubble { font-size: 17px; }
  .tile { width: 64px; height: 64px; }
  .cta .btn { width: auto; min-width: 380px; }
  .worry__head { grid-template-columns: 1fr auto; }
  .worry__chara { width: 190px; }
  .worries { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .worry { grid-template-columns: 1fr; align-content: start; padding: 28px 24px; }
  .service__layout { grid-template-columns: 1fr 240px; align-items: center; }
  .service__chara { width: 230px; }
  .service__chara .bubble { left: auto; right: 170px; top: -30px; }
  .you { grid-template-columns: 1fr; }
  .media__layout { grid-template-columns: 1.2fr .8fr; }
  .media__tiles { grid-template-columns: repeat(6, 1fr); }
  .vs { grid-template-columns: 1fr auto 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat--wide { grid-column: auto; }
  .pstat span { font-size: 13px; }
  .case { padding: 34px 36px; }
  .case__stats { grid-template-columns: repeat(4, 1fr); }
  .accounts { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
  .plan--rec { transform: translateY(-12px); }
  .start__layout { grid-template-columns: 1fr 240px; }
  .start__chara { width: 230px; }
  .contact__list { grid-template-columns: repeat(3, 1fr); }
  .kt { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px; }
  .kt__phone { width: 230px; }
  .contact__item { flex-direction: column; align-items: flex-start; }
  .ft__in { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
