/* ============================================================
   Care Record ケアレコード - スタイルシート
   ============================================================ */

:root {
	--ink: #1d2b30;
	--ink-soft: #5c6f76;
	--bg: #f1f6f7;
	--surface: #ffffff;
	--teal-deep: #133b4d;
	--teal: #1f6f8b;
	--teal-soft: #e4f0f3;
	--accent: #c98a3c;
	--accent-soft: #fbf1e1;
	--line: #dbe6e9;
	--good: #2f8f6f;
	--radius: 10px;
	--shadow: 0 14px 34px rgba(19, 59, 77, 0.10);
	--container: 1100px;
	--font-head: 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
	--font-body: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.8;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

section { padding: 88px 0; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--teal-deep);
	margin: 0;
	line-height: 1.4;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--teal);
	background: var(--teal-soft);
	border: 1px solid rgba(31,111,139,0.18);
	border-radius: 999px;
	padding: 6px 16px;
	margin: 0 0 18px;
}

.section-head {
	max-width: 640px;
	margin: 0 auto 56px;
	text-align: center;
}
.section-head h2 {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: .01em;
}
.section-head p {
	margin: 14px 0 0;
	color: var(--ink-soft);
	font-size: 15.5px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	padding: 15px 30px;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary {
	background: var(--accent);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(201,138,60,0.35);
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 14px 28px rgba(201,138,60,0.42); }
.btn-ghost {
	background: rgba(255,255,255,0.06);
	color: #ffffff;
	border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); text-decoration: none; }
.btn-outline {
	background: transparent;
	color: var(--teal-deep);
	border-color: var(--teal-deep);
}
.btn-outline:hover { background: var(--teal-deep); color: #fff; text-decoration: none; }

/* ---------------- header ---------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}
.brand {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 19px;
	color: var(--teal-deep);
}
.brand small {
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-soft);
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
	color: var(--ink);
	font-weight: 600;
	font-size: 14.5px;
}
.main-nav a:hover { color: var(--teal); text-decoration: none; }
.main-nav .btn-primary { padding: 10px 22px; font-size: 13.5px; }

.nav-toggle {
	display: none;
	border: none;
	background: none;
	width: 40px; height: 40px;
	position: relative;
	cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	content: "";
	position: absolute; left: 9px; right: 9px; height: 2px;
	background: var(--teal-deep); border-radius: 1px;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------------- hero ---------------- */
.hero {
	background: linear-gradient(160deg, var(--teal-deep) 0%, #1c5570 62%, var(--teal) 100%);
	color: #ffffff;
	padding: 76px 0 96px;
	overflow: hidden;
}
.hero .wrap {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}
.hero h1 {
	color: #ffffff;
	font-size: 42px;
	font-weight: 800;
	letter-spacing: .01em;
	margin: 0 0 18px;
}
.hero h1 .brand-name {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #bfe6f0;
	margin-top: 10px;
}
.hero .sub {
	font-size: 14.5px;
	font-weight: 700;
	color: #d9eef4;
	margin: 0 0 10px;
	letter-spacing: .04em;
}
.hero p.lead {
	font-size: 16px;
	color: #e6f2f6;
	max-width: 480px;
	margin: 0 0 32px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero mockup: before/after cards */
.hero-visual { position: relative; min-height: 340px; }
.card-before, .card-after {
	position: absolute;
	border-radius: var(--radius);
}
.card-before {
	width: 230px;
	top: 6px; left: 4px;
	background: #fdf8ec;
	color: #4a4136;
	padding: 18px 18px 22px;
	transform: rotate(-7deg);
	box-shadow: 0 18px 30px rgba(0,0,0,0.25);
	font-size: 12px;
}
.card-before .tag {
	display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em;
	color: #b08a3a; border: 1px solid #e3cda0; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.card-before .scribble { height: 9px; border-radius: 5px; background: repeating-linear-gradient(90deg, #cfc6b3 0 18px, transparent 18px 24px); margin: 9px 0; }
.card-before .scribble.short { width: 60%; }
.card-before .stamp {
	position: absolute; right: 14px; bottom: 14px;
	width: 46px; height: 46px; border-radius: 50%;
	border: 2.5px solid #c0564a; color: #c0564a;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 11px; transform: rotate(-14deg);
}

.card-after {
	width: 268px;
	right: 0; top: 60px;
	background: var(--surface);
	color: var(--ink);
	padding: 18px;
	box-shadow: var(--shadow);
}
.card-after .tag {
	display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em;
	color: var(--good); background: #e3f4ec; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.card-after .app-head {
	display: flex; justify-content: space-between; align-items: baseline;
	font-size: 13px; font-weight: 700; color: var(--teal-deep);
	border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px;
}
.card-after .app-head span { font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.card-after .stat-row { display: flex; gap: 8px; margin-bottom: 10px; }
.card-after .stat {
	flex: 1; background: var(--teal-soft); border-radius: 8px; padding: 8px 10px; text-align: center;
}
.card-after .stat b { display: block; font-size: 16px; color: var(--teal-deep); }
.card-after .stat span { font-size: 10.5px; color: var(--ink-soft); }
.card-after table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.card-after td { padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.card-after td.day { width: 30px; font-weight: 700; color: var(--teal-deep); }
.card-after td.check { width: 26px; text-align: center; color: var(--good); font-weight: 800; }
.card-after .empty-row td { color: #b9c2c5; }
.card-after .arrow-tap { color: var(--accent); font-weight: 800; }

.hero-arrow {
	position: absolute; left: 222px; top: 150px;
	font-size: 26px; color: #bfe6f0; font-weight: 800;
}

/* ---------------- problems ---------------- */
.problems { background: var(--surface); }
.problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.problem-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	background: var(--bg);
}
.problem-card .num {
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 800;
	color: var(--accent);
	letter-spacing: .12em;
	margin-bottom: 10px;
}
.problem-card h3 { font-size: 17px; margin-bottom: 10px; }
.problem-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------------- features ---------------- */
.features { background: var(--bg); }
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.feature-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
}
.feature-card .icon {
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--teal-soft);
	color: var(--teal);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------------- flow ---------------- */
.flow { background: var(--surface); }
.flow-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.flow-step { position: relative; padding: 30px 18px 18px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.flow-step .num {
	position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--teal-deep); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-head); font-weight: 800; font-size: 14px;
}
.flow-step h3 { font-size: 15px; margin: 8px 0 8px; }
.flow-step p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------------- pricing ---------------- */
.pricing { background: var(--bg); }
.price-tabs {
	display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.price-tab {
	font-family: var(--font-head); font-weight: 700; font-size: 14px;
	padding: 11px 26px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink-soft); cursor: pointer;
}
.price-tab.is-active { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }

.price-panel { display: none; }
.price-panel.is-active { display: block; }
.price-panel .panel-note {
	text-align: center; color: var(--ink-soft); font-size: 14px; margin: 0 0 28px;
}
.price-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.price-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	position: relative;
}
.price-card.is-recommend {
	border-color: var(--accent);
	box-shadow: 0 16px 32px rgba(201,138,60,0.16);
}
.price-card .badge {
	position: absolute; top: -13px; left: 24px;
	background: var(--accent); color: #fff;
	font-size: 11px; font-weight: 800; letter-spacing: .06em;
	border-radius: 999px; padding: 5px 14px;
}
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price-card .scope { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 16px; }
.price-card .initial {
	font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px;
}
.price-card .initial .new { color: var(--accent); font-weight: 800; font-size: 15px; }
.price-card .initial .old { text-decoration: line-through; color: #b6c0c4; margin-left: 6px; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin: 4px 0; }
.price-row .label { font-size: 12.5px; color: var(--ink-soft); width: 90px; flex-shrink: 0; }
.price-row .yen { font-family: var(--font-head); font-weight: 800; color: var(--teal-deep); }
.price-row.main .yen { font-size: 30px; }
.price-row.sub .yen { font-size: 17px; }
.price-row .unit { font-size: 12.5px; color: var(--ink-soft); }
.price-row .strike { text-decoration: line-through; color: #c3ccd0; margin-right: 6px; font-weight: 700; }
.price-annual {
	margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
	font-size: 12px; color: var(--ink-soft);
}
.price-annual .save { color: var(--good); font-weight: 700; }
.price-foot {
	text-align: center; color: var(--ink-soft); font-size: 12.5px; margin-top: 28px; line-height: 2;
}

/* ---------------- subsidy ---------------- */
.subsidy {
	background: var(--accent-soft);
	border: 1px solid #efd9b8;
	border-radius: var(--radius);
	padding: 36px 32px;
	margin-top: 48px;
	display: grid;
	grid-template-columns: 1fr 200px;
	gap: 28px;
	align-items: center;
}
.subsidy h3 { font-size: 19px; margin-bottom: 10px; }
.subsidy p { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; }
.subsidy .num-box { text-align: center; }
.subsidy .num-box b { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--accent); }
.subsidy .num-box span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------------- demo cta ---------------- */
.demo-cta {
	background: var(--teal-deep);
	color: #fff;
	border-radius: var(--radius);
	padding: 44px 36px;
	text-align: center;
}
.demo-cta h2 { color: #fff; font-size: 26px; margin-bottom: 14px; }
.demo-cta .checks {
	display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
	margin: 22px 0 30px; font-size: 13.5px; color: #d9eef4;
}
.demo-flow {
	display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
	margin-top: 34px; font-size: 13px;
}
.demo-flow .step {
	background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
	border-radius: var(--radius); padding: 14px 18px; min-width: 150px; text-align: center;
}
.demo-flow .step b { display: block; font-size: 14px; margin-bottom: 4px; }
.demo-flow .arrow { font-size: 20px; color: #bfe6f0; }
.demo-flow .or { font-weight: 800; color: #bfe6f0; }

/* ---------------- faq ---------------- */
.faq { background: var(--surface); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
	width: 100%; text-align: left; background: none; border: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 22px 4px; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq-q .q-mark { color: var(--teal); font-weight: 800; }
.faq-q .plus { font-size: 20px; color: var(--teal); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-a {
	max-height: 0; overflow: hidden; transition: max-height .25s ease;
	color: var(--ink-soft); font-size: 14px; padding: 0 4px;
}
.faq-item.is-open .faq-a { padding-bottom: 20px; }
.faq-a p { margin: 0; }

/* ---------------- final cta ---------------- */
.final-cta {
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
	color: #fff; text-align: center;
}
.final-cta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.final-cta p { color: #e6f2f6; margin: 0 0 28px; }
.final-cta .note { margin-top: 16px; font-size: 12.5px; color: #bfe6f0; }

/* ---------------- footer ---------------- */
.site-footer {
	background: var(--teal-deep);
	color: #cfe6ee;
	padding: 48px 0 28px;
	font-size: 13px;
}
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer .org { margin: 0 0 18px; line-height: 1.9; }
.site-footer .org a { color: #bfe6f0; }
.footer-links {
	list-style: none; display: flex; gap: 20px; flex-wrap: wrap; padding: 0; margin: 0 0 22px;
}
.footer-links a { color: #cfe6ee; }
.site-footer .copyright { color: #8fb7c4; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; }

/* ---------------- responsive ---------------- */
@media (max-width: 920px) {
	.hero .wrap { grid-template-columns: 1fr; gap: 60px; }
	.hero h1 { font-size: 34px; }
	.hero-visual { min-height: 300px; max-width: 360px; margin: 0 auto; }
	.problem-grid, .feature-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
	.flow-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	.subsidy { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 680px) {
	section { padding: 60px 0; }
	.main-nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; display: none; }
	.main-nav.is-open { display: flex; }
	.main-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.main-nav .btn-primary { margin-top: 10px; text-align: center; justify-content: center; }
	.nav-toggle { display: block; }
	.hero h1 { font-size: 33px; }
	.hero h1 .brand-name { font-size: 24px; }
	.hero .sub { font-size: 16px; }
	.hero p.lead { font-size: 17px; line-height: 1.7; }
	.problem-grid, .feature-grid, .price-grid, .flow-grid { grid-template-columns: 1fr; }
	.hero-visual {
		min-height: 0; max-width: 300px; margin: 0 auto;
		display: flex; flex-direction: column; align-items: center; gap: 18px;
	}
	.card-before, .card-after {
		position: relative;
		top: auto; left: auto; right: auto;
		width: 100%;
		max-width: 280px;
		transform: none;
		box-shadow: var(--shadow);
	}
	.hero-arrow { display: block; position: static; transform: rotate(90deg); align-self: center; }

	/* カード内見出し・本文を読みやすく拡大 */
	.problem-card { padding: 26px 22px; }
	.problem-card .num { font-size: 14px; }
	.problem-card h3 { font-size: 20px; margin-bottom: 12px; }
	.problem-card p { font-size: 15.5px; line-height: 1.75; }

	.feature-card { padding: 24px 20px; }
	.feature-card .icon { width: 52px; height: 52px; }
	.feature-card .icon svg { width: 26px; height: 26px; }
	.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
	.feature-card p { font-size: 15px; line-height: 1.75; }

	.flow-step h3 { font-size: 17px; }
	.flow-step p { font-size: 14.5px; }
	.demo-flow .arrow { transform: rotate(90deg); }
}

/* ============================================================
   サブページ共通（apply / privacy / terms / tokusho / devlog /
   thanks / payment_success）
   ============================================================ */

.page-hero {
	background: linear-gradient(135deg, var(--teal-deep) 0%, #0d2a38 55%, var(--teal) 100%);
	padding: 96px 5% 48px;
	text-align: center;
}
.page-hero-label {
	display: inline-block;
	background: rgba(201,138,60,0.15);
	border: 1px solid rgba(201,138,60,0.4);
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 3px;
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 16px;
}
.page-hero h1 {
	font-size: clamp(1.7rem, 3.5vw, 2.4rem);
	font-weight: 900;
	color: #ffffff;
	margin-bottom: 10px;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 14.5px; }

.site-header .back-link { color: var(--ink-soft); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.site-header .back-link:hover { color: var(--teal); text-decoration: none; }
@media (max-width: 480px) {
	.site-header .wrap { height: auto; padding: 12px 16px; }
	.site-header .brand { font-size: 15px; gap: 6px; }
	.site-header .brand small { font-size: 10.5px; }
	.site-header .back-link { font-size: 12px; }
	.page-hero { padding: 64px 5% 36px; }
}


.page-container { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.page-card {
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	overflow: hidden;
	margin-bottom: 24px;
}
.page-card:last-child { margin-bottom: 0; }

.back-btn {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 32px; background: var(--teal-deep); color: #fff;
	text-decoration: none; padding: 12px 24px; border-radius: 10px;
	font-size: 14px; font-weight: 700; transition: all .2s;
}
.back-btn:hover { background: var(--teal); transform: translateY(-1px); text-decoration: none; }

/* ── テーブル（特定商取引法表記） ── */
.page-container table, .policy-table { width: 100%; border-collapse: collapse; }
.page-container thead tr, .policy-table thead tr { background: var(--teal-deep); }
.page-container thead th, .policy-table thead th {
	padding: 13px 18px; font-size: 13px; font-weight: 700;
	color: #fff; text-align: left; letter-spacing: .05em;
}
.page-container tbody tr, .policy-table tbody tr { border-bottom: 1px solid var(--line); }
.page-container tbody tr:last-child, .policy-table tbody tr:last-child { border-bottom: none; }
.page-container tbody tr:hover, .policy-table tbody tr:hover { background: var(--bg); }
.th-item {
	display: block; width: 180px; min-width: 150px;
	padding: 16px 18px; font-size: 13.5px; font-weight: 700;
	color: var(--teal-deep); vertical-align: top;
}
.policy-table .th-item { width: 200px; min-width: 160px; }
.td-val { padding: 16px 18px 16px 0; font-size: 14px; color: var(--ink); line-height: 1.85; vertical-align: top; }
.page-container td { padding: 0; }
.td-inner { display: flex; }

.note-box {
	margin-top: 28px; background: var(--accent-soft);
	border: 1.5px solid var(--accent); border-radius: var(--radius);
	padding: 18px 22px;
}
.note-box p { font-size: 13.5px; color: var(--teal-deep); line-height: 1.8; margin-bottom: 6px; }
.note-box p:last-child { margin-bottom: 0; }
.note-box strong { color: var(--accent); }

/* ── プライバシーポリシー本文 ── */
.section-heading {
	font-size: 16px; font-weight: 800; color: var(--teal-deep);
	padding: 14px 20px; background: var(--teal-soft);
	border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0;
}
.policy-body { padding: 20px; }
.policy-body p { font-size: 14px; color: var(--ink); line-height: 1.9; margin-bottom: 14px; }
.policy-body p:last-child { margin-bottom: 0; }
.policy-body ul { padding-left: 1.4em; font-size: 13.5px; color: var(--ink); line-height: 1.9; margin-bottom: 14px; }
.policy-body ul li { margin-bottom: 4px; }

.updated { font-size: 12.5px; color: var(--ink-soft); text-align: right; margin-bottom: 28px; }

/* ── 利用規約 ── */
.terms-card {
	background: var(--surface); border-radius: var(--radius);
	box-shadow: var(--shadow); border: 1px solid var(--line);
	overflow: hidden; margin-bottom: 16px;
}
.terms-heading {
	font-size: 16px; font-weight: 800; color: var(--teal-deep);
	padding: 14px 20px; background: var(--teal-soft);
	border-left: 4px solid var(--teal); border-bottom: 1px solid var(--line);
}
.terms-body { padding: 20px; }
.terms-body p { font-size: 14px; color: var(--ink); line-height: 1.9; margin-bottom: 12px; }
.terms-body p:last-child { margin-bottom: 0; }
.terms-body ul { padding-left: 1.4em; font-size: 13.5px; color: var(--ink); line-height: 1.9; margin-bottom: 12px; }
.terms-body ul li { margin-bottom: 4px; }

/* ── 開発ログ ── */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 32px; }
.stat-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; text-align: center; }
.stat-val { font-size: 28px; font-weight: 900; color: var(--teal-deep); }
.stat-label { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
	padding: 6px 16px; border-radius: 20px; border: 1.5px solid var(--line);
	background: var(--surface); color: var(--ink-soft);
	font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.filter-btn:hover, .filter-btn.active { background: var(--teal-deep); color: var(--accent-soft); border-color: var(--teal-deep); }

.version-section { margin-bottom: 32px; }
.version-header {
	background: var(--teal-deep); border-radius: var(--radius) var(--radius) 0 0;
	padding: 14px 22px; display: flex; align-items: center;
	justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.version-num { font-size: 17.5px; font-weight: 900; color: var(--accent); }
.version-date { font-size: 13px; color: rgba(255,255,255,0.55); }
.version-desc { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 3px; }
.version-body { background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--line); border-top: none; overflow: hidden; }

.log-entry { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.log-entry:last-child { border-bottom: none; }
.log-badge { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; border-radius: 20px; white-space: nowrap; margin-top: 3px; }
.badge-fix      { background: #fee2e2; color: #b91c1c; }
.badge-add      { background: var(--teal-soft); color: var(--teal-deep); }
.badge-change   { background: #fef3c7; color: #92400e; }
.badge-infra    { background: #e0f2fe; color: #075985; }
.badge-security { background: #ede9fe; color: #5b21b6; }
.badge-ui       { background: #fce7f3; color: #9d174d; }
.log-content { flex: 1; }
.log-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.log-detail { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.log-files { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.log-file { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 1px 7px; font-family: monospace; font-size: 12px; color: var(--teal); }

/* ── 申込フォーム（apply.html） ── */
.apply-wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.apply-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 36px; margin-bottom: 24px; }
.apply-card h2 { font-size: 16px; font-weight: 800; color: var(--teal-deep); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-soft); letter-spacing: .05em; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.f-row.single { grid-template-columns: 1fr; }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-group label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.req { background: #fee2e2; color: #dc2626; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
.f-group input, .f-group select, .f-group textarea {
	border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px;
	font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; width: 100%;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
	outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,111,139,0.12);
}
.f-group textarea { resize: vertical; min-height: 100px; }
.check-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 7px; cursor: pointer; background: var(--teal-soft); border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13.5px; color: var(--ink); }
.check-item input { accent-color: var(--teal-deep); width: 15px; height: 15px; flex-shrink: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 8px; }
.plan-card { border: 2px solid var(--line); border-radius: 10px; padding: 16px; text-align: center; cursor: pointer; }
.plan-card:hover { border-color: var(--teal); }
.plan-card input[type=radio] { display: none; }
.plan-card.selected, .plan-card:has(input:checked) { border-color: var(--teal-deep); background: var(--teal-soft); }
.plan-name { font-size: 14.5px; font-weight: 800; color: var(--teal-deep); margin-bottom: 4px; }
.plan-staff { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 8px; }
.plan-price { font-size: 17.5px; font-weight: 700; color: var(--accent); }
.plan-unit { font-size: 11.5px; color: var(--ink-soft); }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-card { border: 2px solid var(--line); border-radius: 10px; padding: 16px; cursor: pointer; }
.pay-card:hover { border-color: var(--teal); }
.pay-card input[type=radio] { display: none; }
.pay-card.selected, .pay-card:has(input:checked) { border-color: var(--teal-deep); background: var(--teal-soft); }
.pay-title { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.pay-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
.agree-box { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: 13.5px; line-height: 1.7; }
.agree-box input { accent-color: var(--teal-deep); width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.agree-box a { color: var(--teal); }
.submit-btn { width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 18px; font-size: 16.5px; font-weight: 700; cursor: pointer; transition: all .2s; box-shadow: 0 10px 24px rgba(201,138,60,0.35); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(201,138,60,0.42); }
.submit-btn:disabled { background: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── サンクス / 支払い完了ページ ── */
.thanks-wrap { max-width: 600px; margin: 80px auto; padding: 0 24px 80px; text-align: center; }
.thanks-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--good); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 28px; color: #fff; }
.thanks-title { font-size: 28px; font-weight: 900; color: var(--teal-deep); margin-bottom: 16px; }
.thanks-text { font-size: 15px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 36px; }
.info-card, .thanks-contact { background: var(--teal-deep); border-radius: 12px; padding: 24px; text-align: left; margin-bottom: 36px; }
.info-card div, .thanks-contact div { color: rgba(255,255,255,0.85); font-size: 14.5px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.info-card div:last-child, .thanks-contact div:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
	.apply-card { padding: 20px 16px; }
	.f-row, .plan-grid, .pay-grid { grid-template-columns: 1fr; }
	.check-grid { grid-template-columns: repeat(2,1fr); }
	.stats { grid-template-columns: repeat(2,1fr); }
	.th-item { width: 110px; min-width: 96px; font-size: 12.5px; padding: 12px 10px; }
	.td-val { font-size: 13px; padding: 12px 10px 12px 0; }
	.log-entry { flex-direction: column; gap: 6px; }
	.version-header { flex-direction: column; align-items: flex-start; }
}

