/* コツコツさんすう（/kotsukotsu/）の LP と規約ページ（2026-11-21 作り直し。このアプリ専用のつくり）。
   配色はアプリと同じ：クリームの地・ミント・黄・ピンクのパステル、文字とボタンは茶色。
   ロゴと同じ「太い茶色のふち＋ずらした影」のシール風を、カードやボタンの共通の形にしている。 */
:root {
	--ink: #3d2a1e;
	--ink-soft: #6f6259;
	--brown: #6b4a35;
	--cream: #fef7eb;
	--paper: #fffdf8;
	--mint: #abe5b3;
	--mint-soft: #e3f4e6;
	--mint-deep: #5fbf78;
	--yellow: #fdd570;
	--yellow-soft: #fff1c9;
	--pink: #fc8b84;
	--pink-soft: #ffe3e0;
	--line: #e6dac8;
	--good: #2e7d4f;
	--bad: #c0392b;
	--r: 28px;
	--font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.kk {
	margin: 0; background: var(--cream); color: var(--ink);
	font-family: var(--font); font-weight: 500; line-height: 1.85;
	-webkit-text-size-adjust: 100%; word-break: auto-phrase; line-break: strict;
	overflow-x: hidden;
}
.kk img { max-width: 100%; height: auto; display: block; }
.kk a { color: var(--brown); }
.kk-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.kk-sp { display: none; }
.kk-nowrap { white-space: nowrap; }

/* シール風の共通の形 */
.kk-sticker { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); }

/* ボタン */
.kk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 60px; padding: 12px 34px; border-radius: 999px;
	background: var(--brown); color: #fff; font-weight: 900; font-size: 18px; text-decoration: none;
	border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.kk a.kk-btn { color: #fff; }
a.kk-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
a.kk-btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.kk-btn--soon { background: var(--paper); color: var(--ink); cursor: default; }
.kk-btn--small { min-height: 44px; padding: 6px 22px; font-size: 15px; box-shadow: 0 4px 0 var(--ink); }
.kk-btn--light { background: var(--yellow); color: var(--ink); }
.kk a.kk-btn--light { color: var(--ink); }

/* ヘッダー */
.kk-header { position: sticky; top: 0; z-index: 20; background: rgba(254, 247, 235, .92); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.kk-header__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.kk-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; text-decoration: none; letter-spacing: .04em; margin-right: auto; }
.kk a.kk-brand { color: var(--ink); }
.kk-brand img { width: 42px; height: 42px; border-radius: 11px; border: 2px solid var(--ink); }
.kk-nav { display: flex; gap: 26px; }
.kk-nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink); }
.kk-nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--yellow); }

/* 見出し */
.kk .kk-eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.kk-h2 { margin: 0 0 18px; font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; line-height: 1.35; letter-spacing: .02em; text-align: center; }
.kk-h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .1em; }
.kk-lead { max-width: 720px; margin: 0 auto 48px; text-align: center; color: var(--ink-soft); font-size: 17px; }
.kk-sec { padding: 96px 0; position: relative; }
.kk-sec--mint { background: var(--mint-soft); }
.kk-sec--yellow { background: var(--yellow-soft); }
.kk-sec--pink { background: var(--pink-soft); }
.kk-sec--paper { background: var(--paper); }
/* 区切りの波 */
.kk-wave { display: block; width: 100%; height: 48px; margin-bottom: -1px; }

/* ヒーロー */
.kk-hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.kk-hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.kk-hero__logo { width: min(340px, 78%); margin: 0 0 4px -8px; }
.kk-hero__title { margin: 0 0 20px; font-size: clamp(30px, 4.1vw, 46px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.kk-hero__title em { font-style: normal; background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 .08em; }
.kk-hero__lead { margin: 0 0 30px; max-width: 520px; font-size: 18px; color: var(--ink-soft); }
.kk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.kk-cta__note { margin: 0; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.kk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.kk-tags li { padding: 5px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; font-size: 14px; }
.kk-tags li:nth-child(1) { background: var(--mint); }
.kk-tags li:nth-child(2) { background: var(--yellow); }
.kk-tags li:nth-child(3) { background: var(--pink-soft); }
.kk-hero__visual { position: relative; display: flex; justify-content: center; }
.kk-hero__blob { position: absolute; inset: 6% -6% 2% 2%; background: var(--mint); border: 3px solid var(--ink); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; }
.kk-hero__visual .kk-phone { transform: rotate(4deg); }
/* 浮かぶ記号 */
.kk-sym { position: absolute; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 38px; font-weight: 900; line-height: 1; animation: kk-float 5s ease-in-out infinite; }
.kk-sym--1 { left: -2%; top: 10%; background: var(--pink); }
.kk-sym--2 { right: -3%; top: 26%; background: var(--yellow); animation-delay: -1.2s; }
.kk-sym--3 { left: 0; bottom: 14%; background: var(--yellow); animation-delay: -2.4s; }
.kk-sym--4 { right: 0; bottom: 6%; background: var(--paper); animation-delay: -3.6s; }
@keyframes kk-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

/* スマホの枠 */
.kk-phone { position: relative; width: min(300px, 74vw); border: 4px solid var(--ink); border-radius: 46px; overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--ink); }
.kk-phone img { width: 100%; }

/* 3つのポイント */
.kk-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 0; padding-top: 60px; position: relative; z-index: 2; }
.kk-point { padding: 28px 26px 26px; text-align: center; }
.kk-point .kk-point__ico { display: grid; place-items: center; width: 84px; height: 84px; margin: -70px auto 14px; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.kk-point__ico svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.kk-point:nth-child(1) .kk-point__ico { background: var(--mint); }
.kk-point:nth-child(2) .kk-point__ico { background: var(--yellow); }
.kk-point:nth-child(3) .kk-point__ico { background: var(--pink); }
.kk-point h3 { margin: 0 0 8px; font-size: 21px; font-weight: 900; line-height: 1.45; }
.kk-point p { margin: 0; font-size: 15px; color: var(--ink-soft); text-align: left; }

/* 悩み */
.kk-worries { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; max-width: 920px; margin-inline: auto; }
.kk-worries__img { border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); overflow: hidden; }
.kk-worries ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.kk-worries li { position: relative; padding: 16px 22px 16px 58px; font-weight: 700; font-size: 17px; background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; }
.kk-worries li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; background: var(--pink); border: 2px solid var(--ink); }
.kk-answer { margin: 40px 0 0; text-align: center; font-size: clamp(20px, 3vw, 28px); font-weight: 900; }
.kk-answer span { background: linear-gradient(transparent 62%, var(--yellow) 62%); }

/* ためしてみる（9マス計算） */
.kk-try { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; max-width: 980px; margin-inline: auto; }
.kk-try__text .kk-h2 { text-align: left; }
.kk-try__text p { margin: 0 0 14px; color: var(--ink-soft); font-size: 17px; }
.kk-try__note { font-size: 14px !important; }
.kk-demo { padding: 22px; user-select: none; -webkit-user-select: none; }
.kk-demo__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 900; }
.kk-demo__time { font-size: 24px; font-variant-numeric: tabular-nums; }
.kk-demo__count { color: var(--ink-soft); font-size: 15px; }
.kk-demo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.kk-demo__grid div { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.kk-demo__grid .h { background: var(--mint); }
.kk-demo__grid .h.on { background: var(--brown); color: #fff; }
.kk-demo__grid .op { color: var(--ink-soft); }
.kk-demo__grid .c { background: #fff; border: 2px solid var(--line); }
.kk-demo__grid .c.cur { border: 3px solid var(--brown); background: var(--yellow-soft); }
.kk-demo__grid .c.ng { border-color: var(--bad); background: var(--pink-soft); color: var(--bad); animation: kk-shake .3s; }
@keyframes kk-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.kk-demo__keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.kk-demo__keys button { height: 50px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 21px; font-weight: 900; cursor: pointer; box-shadow: 0 3px 0 var(--ink); touch-action: manipulation; }
.kk-demo__keys button:active { transform: translateY(3px); box-shadow: none; }
.kk-demo__cover { display: grid; place-items: center; gap: 12px; padding: 34px 10px; text-align: center; }
.kk-demo__cover p { margin: 0; font-weight: 700; }
.kk-demo__result b { display: block; font-size: 40px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kk-demo__result small { color: var(--ink-soft); font-weight: 700; font-size: 15px; }
.kk-demo [hidden] { display: none !important; }

/* できること */
.kk-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 960px; margin: 0 auto 96px; }
.kk-feature:last-child { margin-bottom: 0; }
.kk-feature__visual { position: relative; display: flex; justify-content: center; padding: 26px 0; }
.kk-feature__visual::before { content: ""; position: absolute; inset: 0 8%; border-radius: 40px; border: 3px solid var(--ink); background: var(--mint); transform: rotate(-3deg); }
.kk-feature:nth-child(3n+2) .kk-feature__visual::before { background: var(--yellow); transform: rotate(3deg); }
.kk-feature:nth-child(3n) .kk-feature__visual::before { background: var(--pink); }
.kk-feature--rev .kk-feature__visual { order: 2; }
.kk-feature__num { display: inline-grid; place-items: center; width: 56px; height: 56px; margin: 0 0 14px; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); font-weight: 900; font-size: 20px; }
.kk-feature h3 { margin: 0 0 14px; font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; line-height: 1.45; }
.kk-feature p { margin: 0 0 12px; color: var(--ink-soft); font-size: 17px; }
.kk-feature ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.kk-feature li { padding: 3px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; font-size: 14px; }

/* ごほうび */
.kk-reward { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 920px; margin-inline: auto; }
.kk-reward__img { border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); overflow: hidden; }
.kk-reward .kk-h2 { text-align: left; }
.kk-reward p { margin: 0 0 20px; color: var(--ink-soft); font-size: 17px; }
.kk-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kk-badges li { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; font-size: 15px; }
.kk-badges li::before { content: "★"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font-size: 13px; }

/* 1日の流れ */
.kk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.kk-steps li { position: relative; padding: 40px 26px 26px; counter-increment: s; }
.kk-steps li::before { content: counter(s); position: absolute; left: 22px; top: -26px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brown); color: #fff; border: 3px solid var(--ink); font-weight: 900; font-size: 24px; }
.kk-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.kk-steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* 保護者の方へ */
.kk-parents { display: grid; grid-template-columns: 1fr 250px; gap: 40px; align-items: center; padding: 44px 48px; max-width: 960px; margin-inline: auto; }
.kk-parents .kk-h2 { text-align: left; font-size: clamp(26px, 3.6vw, 36px); }
.kk-parents ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 12px; }
.kk-parents li { position: relative; padding-left: 38px; font-size: 17px; }
.kk-parents li b { font-weight: 900; }
.kk-parents li::before { content: ""; position: absolute; left: 0; top: .28em; width: 24px; height: 24px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233d2a1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; border: 2px solid var(--ink); }
.kk-parents__img { border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); overflow: hidden; }
.kk-parents a { font-weight: 700; }

/* よくある質問 */
.kk-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.kk-faq details { background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; }
.kk-faq summary { position: relative; padding: 18px 56px 18px 24px; font-weight: 900; font-size: 17px; cursor: pointer; list-style: none; }
.kk-faq summary::-webkit-details-marker { display: none; }
.kk-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font-weight: 900; line-height: 1; }
.kk-faq details[open] summary::after { content: "−"; background: var(--mint); }
.kk-faq p { margin: 0; padding: 0 24px 20px; color: var(--ink-soft); }

/* つくっている会社 */
.kk-company { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 960px; margin-inline: auto; }
.kk-company .kk-h2 { text-align: left; font-size: clamp(26px, 3.6vw, 36px); }
.kk-company p { margin: 0 0 16px; color: var(--ink-soft); font-size: 16.5px; }
.kk-company dl { margin: 0; padding: 6px 26px; }
.kk-company dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.kk-company dl > div:last-child { border-bottom: 0; }
.kk-company dt { font-weight: 900; }
.kk-company dd { margin: 0; }

/* さいごの呼びかけ */
.kk-start { padding: 88px 0; background: var(--brown); color: #fff; text-align: center; border-top: 3px solid var(--ink); }
.kk-start img { width: 124px; height: 124px; margin: 0 auto 20px; border-radius: 30px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.kk-start .kk-h2 { color: #fff; margin-bottom: 28px; }
.kk-start__note { margin: 18px 0 0; font-weight: 700; font-size: 14px; opacity: .9; }

/* フッター */
.kk-footer { padding: 34px 0 44px; background: var(--ink); color: #eadfd2; font-size: 14px; text-align: center; }
.kk-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 14px; }
.kk .kk-footer a { color: #fff; }
.kk-footer p { margin: 0; }

/* スクロールで ふわっと出す */
.kk-rise { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.kk-rise.is-in { opacity: 1; transform: none; }

/* 規約・ポリシーのページ */
.kk-doc { padding: 48px 0 72px; }
.kk-doc__card { max-width: 820px; margin-inline: auto; padding: 44px 48px; }
.kk-doc__card h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 34px); font-weight: 900; }
.kk-doc__card h2 { margin: 36px 0 10px; padding-left: 14px; border-left: 6px solid var(--mint-deep); font-size: 20px; font-weight: 900; line-height: 1.5; }
.kk-doc__card p, .kk-doc__card li { font-size: 16px; }
.kk-doc__card .entry-meta { color: var(--ink-soft); font-size: 14px; margin: 0 0 24px; }
.kk-doc__card ul, .kk-doc__card ol { padding-left: 1.4em; }
.kk-doc__back { max-width: 820px; margin: 26px auto 0; font-weight: 700; }

@media (max-width: 860px) {
	.kk-sp { display: inline; }
	.kk-nav { display: none; }
	.kk-sec { padding: 68px 0; }
	.kk-hero { padding: 28px 0 72px; }
	.kk-hero__in, .kk-try, .kk-feature, .kk-reward, .kk-worries, .kk-parents, .kk-company { grid-template-columns: 1fr; gap: 30px; }
	.kk-hero__logo { margin-inline: auto; }
	.kk-hero__text { text-align: center; }
	.kk-hero__lead { margin-inline: auto; }
	.kk-cta, .kk-tags { justify-content: center; }
	.kk-hero__visual { margin-top: 10px; }
	.kk-sym { width: 54px; height: 54px; font-size: 30px; border-radius: 17px; }
	.kk-points { grid-template-columns: 1fr; gap: 64px; }
	.kk-worries__img, .kk-reward__img { width: 200px; margin-inline: auto; }
	.kk-try__text .kk-h2, .kk-reward .kk-h2 { text-align: center; }
	.kk-try__text p { text-align: center; }
	.kk-demo { max-width: 400px; margin-inline: auto; width: 100%; }
	.kk-feature { margin-bottom: 72px; }
	.kk-feature--rev .kk-feature__visual { order: 0; }
	.kk-feature__text { text-align: center; }
	.kk-feature p { text-align: left; }
	.kk-feature ul { justify-content: center; }
	.kk-badges { justify-content: center; }
	.kk-steps { grid-template-columns: 1fr; gap: 46px; }
	.kk-parents { padding: 34px 24px; }
	.kk-parents__img { width: 170px; margin-inline: auto; order: -1; }
	.kk-doc__card { padding: 30px 22px; }
	.kk-sticker { box-shadow: 4px 4px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
	.kk-sym { animation: none; }
	.kk-rise { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}
