/*
 * 宣伝ページ (/) のスタイル。
 *
 * このファイルと index.html がデザインの正 (別のデザインファイルは持たない)。
 * 見た目は App Store スクショと同じ言語で組む
 * — クリーム地 + 全面カラーパネル + 極太2色見出し + 幾何の遊び。
 * ストアから来た人が同じものだと分かることを最優先にしている。
 *
 * CSP が `script-src 'none'; style-src 'self'` なので JS も inline style も使えない。
 * 開閉は <details>、レイアウトは Grid だけで組む。
 */

:root {
	color-scheme: light;

	--cream: #fff8ec;
	--cream-deep: #fff0dc;
	--paper: #ffffff;
	--ink: #1a1a1a;
	--ink-2: #4a4e57;
	--ink-3: #767c88;
	--blue: #2c6fd1;
	--blue-deep: #1b4e99;
	--blue-light: #5aa6ff;
	--blue-tint: #e8f1ff;
	--green: #1d8a5e;
	--green-tint: #eaf7f1;
	--yellow: #f5b301;
	--coral: #ff6b5a;
	--line: #ece5d7;
	--line-strong: #ded6c4;

	--max: 1120px;
	--shadow-device: 0 2px 8px rgba(26, 26, 26, 0.12), 0 30px 70px rgba(26, 26, 26, 0.26);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family:
		-apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
		"Yu Gothic", Meiryo, sans-serif;
	line-height: 1.75;
	font-feature-settings: "palt";
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
}

a {
	color: var(--blue-deep);
}

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

/* ---------------- ヘッダー ---------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 248, 236, 0.86);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 66px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 800;
	font-size: 1.02rem;
	flex-shrink: 0;
}

.brand img {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	display: block;
}

.nav {
	display: flex;
	gap: 26px;
	margin-left: auto;
	font-size: 0.95rem;
	font-weight: 600;
}

.nav a {
	color: var(--ink-2);
	text-decoration: none;
	white-space: nowrap;
}

.nav a:hover {
	color: var(--blue);
}

.header-cta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.nav + .header-cta {
	margin-left: 0;
}

/* ---------------- ボタン ---------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	transition:
		transform 0.15s ease,
		background-color 0.15s ease;
}

.btn-primary {
	background: var(--ink);
	color: #fff;
}

.btn-primary:hover {
	background: var(--blue);
	transform: translateY(-1px);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--ink);
}

.btn-ghost:hover {
	background: var(--ink);
	color: var(--cream);
	transform: translateY(-1px);
}

.btn-sm {
	padding: 8px 16px;
	font-size: 0.86rem;
}

.btn-lg {
	padding: 16px 30px;
	font-size: 1rem;
}

/* App Store バッジと並ぶボタンは、バッジと同じ高さに揃える。
   padding だけで組むと文字サイズの違いで数 px ずれる */
.hero-actions .btn,
.closing-actions .btn {
	height: 56px;
	padding-top: 0;
	padding-bottom: 0;
}

.appstore-badge {
	display: inline-block;
	line-height: 0;
}

.appstore-badge img {
	height: 56px;
	width: auto;
	display: block;
}

.appstore-badge:hover {
	opacity: 0.85;
}

/* ---------------- 幾何の遊び (App Store スクショと同じ記号) ---------------- */

.mark {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.mark-dot {
	border-radius: 50%;
}

/* + 印。2本の帯を重ねて作る */
.mark-plus::before,
.mark-plus::after {
	content: "";
	position: absolute;
	inset: 0;
	background: currentColor;
	border-radius: 3px;
}

.mark-plus::before {
	width: 100%;
	height: 22%;
	top: 39%;
}

.mark-plus::after {
	width: 22%;
	height: 100%;
	left: 39%;
}

.mark-bar {
	border-radius: 999px;
}

/* ---------------- 端末 ---------------- */

.device {
	position: relative;
	padding: 9px;
	border-radius: 46px;
	background: linear-gradient(155deg, #fdfdfe 0%, #dfe0e5 55%, #c8cad1 100%);
	box-shadow: var(--shadow-device);
}

/* <picture> は inline なので、そのままだと .device の中に行ボックスができて
   下に数 px の隙間が出る。中身の img と同じ扱いにしてしまう */
.device picture,
.brand picture {
	display: block;
}

.device img {
	display: block;
	width: 100%;
	/* height 属性が presentational hint として CSS の height に効くので、
	   これが無いと 1390px 固定になって横に潰れた絵になる */
	height: auto;
	border-radius: 38px;
}

/* パネルの下辺から生えている端末。全身を入れると1画面が縦に伸びすぎる */
.device-rising {
	padding-bottom: 0;
	border-radius: 46px 46px 0 0;
	box-shadow: 0 -8px 60px rgba(26, 26, 26, 0.2);
	overflow: hidden;
}

.device-rising img {
	border-radius: 38px 38px 0 0;
}

/* ---------------- ヒーロー ---------------- */

.hero {
	position: relative;
	/* 丸や + をわざと画面外まではみ出させているので、ここで切らないと横スクロールが出る */
	overflow: hidden;
	padding-top: 64px;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 40px;
	align-items: end;
}

.hero-body {
	position: relative;
	z-index: 1;
	padding-bottom: 72px;
}

/* 名前の由来。ページ中ほどに置くと後付けの豆知識になるので、名乗る場所で言い切る */
.hero-kicker {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink-2);
	margin: 0 0 18px;
	display: inline-block;
}

.hero-kicker b {
	color: var(--ink);
	font-weight: 800;
	box-shadow: inset 0 -0.42em 0 rgba(245, 179, 1, 0.6);
}

.hero h1 {
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	line-height: 1.2;
	letter-spacing: -0.035em;
	font-weight: 800;
	margin: 0 0 24px;
}

.hero h1 em {
	font-style: normal;
	color: var(--blue);
}

.hero-lead {
	font-size: clamp(1.14rem, 1.8vw, 1.42rem);
	color: var(--ink-2);
	font-weight: 500;
	margin: 0 0 34px;
	max-width: 24em;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.hero-note {
	font-size: 0.95rem;
	color: var(--ink-3);
	margin: 0;
	line-height: 1.9;
}

/* iPhone だけのアプリだと思われないよう、ここで両対応を言い切る */
.hero-note b {
	color: var(--ink);
	font-weight: 800;
}

.hero-visual {
	position: relative;
}

.hero-visual .device {
	max-width: 316px;
	max-height: 600px;
	margin: 0 auto;
	transform: rotate(-3deg);
	transform-origin: bottom center;
}

.hero .mark-a {
	width: 250px;
	height: 250px;
	background: var(--coral);
	top: -30px;
	right: -90px;
}

/* 文字に重ならないよう、左端から見切れる位置に置く */
.hero .mark-b {
	width: 104px;
	height: 104px;
	background: var(--green);
	left: -116px;
	bottom: 158px;
}

.hero .mark-c {
	width: 56px;
	height: 56px;
	color: var(--yellow);
	right: -34px;
	bottom: 210px;
}

.hero .mark-d {
	width: 130px;
	height: 12px;
	background: var(--blue-light);
	left: -110px;
	bottom: 96px;
}

/* ---------------- 全面カラーパネル ---------------- */

.panel {
	position: relative;
	overflow: hidden;
}

.panel-inner {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: end;
	min-height: 620px;
}

.panel-copy {
	position: relative;
	z-index: 1;
	padding: 96px 0;
	align-self: center;
}

.panel-copy h2 {
	font-size: clamp(1.9rem, 4.4vw, 3.2rem);
	line-height: 1.28;
	letter-spacing: -0.03em;
	font-weight: 800;
	margin: 0 0 20px;
}

.panel-copy h2 em {
	font-style: normal;
	color: var(--blue);
}

.panel-copy p {
	font-size: clamp(1.1rem, 1.5vw, 1.32rem);
	font-weight: 500;
	color: var(--ink-2);
	margin: 0 0 28px;
	max-width: 22em;
}

.panel-copy ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.panel-copy li {
	position: relative;
	padding-left: 26px;
	color: var(--ink-2);
	font-size: 1.05rem;
	font-weight: 500;
}

.panel-copy li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.66em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--blue);
}

.panel-visual {
	position: relative;
}

.panel-visual .device {
	max-width: 320px;
	/* 画面の「何をする所か」が分かるところまでは見せる。
	   460px だと記帳画面がカテゴリのチップの手前で切れて、ただのテンキーに見える */
	max-height: 545px;
	margin: 0 auto;
}

/* パネルごとの色。ストアのスクショ5枚と同じ並び */
.panel-blue-tint {
	background: var(--blue-tint);
}

.panel-cream-deep {
	background: var(--cream-deep);
}

.panel-cream-deep .panel-copy h2 em {
	color: #a6431f;
}

.panel-cream-deep .panel-copy li::before {
	background: var(--yellow);
}

.panel-green-tint {
	background: var(--green-tint);
}

.panel-green-tint .panel-copy h2 em {
	color: var(--green);
}

.panel-green-tint .panel-copy li::before {
	background: var(--green);
}

.panel-blue {
	background: var(--blue);
	color: #fff;
}

.panel-blue .panel-copy h2 em {
	color: #ffe08a;
}

.panel-blue .panel-copy p,
.panel-blue .panel-copy li {
	color: rgba(255, 255, 255, 0.86);
}

.panel-blue .panel-copy li::before {
	background: rgba(255, 255, 255, 0.7);
}

.panel .mark-1 {
	width: 190px;
	height: 190px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	top: -60px;
	left: 44%;
}

.panel-blue .mark-1 {
	background: rgba(255, 255, 255, 0.12);
}

/* 数字を主役にした小さな注記。パネルの余白に置く */
.panel-stat {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.panel-stat b {
	font-size: 3rem;
	line-height: 1;
	color: var(--blue);
}

.panel-cream-deep .panel-stat b {
	color: #a6431f;
}

.panel-green-tint .panel-stat b {
	color: var(--green);
}

.panel-blue .panel-stat b {
	color: #ffe08a;
}

.panel-stat span {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink-3);
}

.panel-blue .panel-stat span {
	color: rgba(255, 255, 255, 0.7);
}

/* ---------------- 見出し (左寄せ + 色バー) ---------------- */

.section {
	padding: 104px 0;
}

.section-paper {
	background: var(--paper);
}

.section-cream {
	background: var(--cream);
}

.head {
	max-width: 760px;
	margin: 0 0 56px;
}

.head-rule {
	display: block;
	width: 52px;
	height: 6px;
	border-radius: 999px;
	background: var(--blue);
	margin-bottom: 22px;
}

.head h2 {
	font-size: clamp(1.7rem, 3.6vw, 2.6rem);
	line-height: 1.36;
	letter-spacing: -0.025em;
	font-weight: 800;
	margin: 0 0 14px;
}

.head h2 em {
	font-style: normal;
	color: var(--blue);
}

.head p {
	color: var(--ink-2);
	font-size: 1.12rem;
	font-weight: 500;
	margin: 0;
	max-width: 30em;
}

/* ---------------- 出自 (スプレッドシート) ---------------- */

.origin-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 40px;
	align-items: center;
}

/* スプレッドシート → タグ。見出しを置かずに「これを持ってきた」を伝える */
.origin-arrow {
	position: relative;
	width: 44px;
	height: 44px;
}

.origin-arrow::before,
.origin-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
}

.origin-arrow::before {
	left: 0;
	right: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--line-strong);
	transform: translateY(-50%);
}

.origin-arrow::after {
	right: 3px;
	width: 14px;
	height: 14px;
	border-top: 4px solid var(--line-strong);
	border-right: 4px solid var(--line-strong);
	border-radius: 0 3px 0 0;
	transform: translateY(-50%) rotate(45deg);
}

/* もとのスプレッドシートの再現。画像にせず組む (文字が読めた方が伝わる) */
.sheet {
	background: #fff;
	border: 1px solid #d7d9de;
	border-radius: 6px;
	box-shadow: 0 18px 44px rgba(26, 26, 26, 0.14);
	transform: rotate(-1.6deg);
	overflow: hidden;
	font-size: 0.8rem;
	line-height: 1.5;
	color: #4a4e57;
}

.sheet table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.sheet th,
.sheet td {
	border: 1px solid #e3e5ea;
	padding: 7px 10px;
	text-align: left;
	font-weight: 400;
	white-space: nowrap;
}

.sheet th {
	background: #f1f3f6;
	font-weight: 700;
	color: #5b5f6b;
	font-size: 0.74rem;
}

.sheet td.num {
	text-align: right;
}

.sheet-tabs {
	display: flex;
	gap: 2px;
	background: #f1f3f6;
	border-top: 1px solid #e3e5ea;
	padding: 6px 10px;
	font-size: 0.72rem;
}

.sheet-tabs span {
	padding: 3px 12px;
	border-radius: 4px 4px 0 0;
	color: #767c88;
}

.sheet-tabs span.is-active {
	background: #fff;
	color: var(--ink);
	font-weight: 700;
	box-shadow: 0 -1px 0 #d7d9de inset;
}

.origin-note {
	display: inline-block;
	margin-top: 22px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 4px;
	transform: rotate(-1.5deg);
}

/* スプレッドシートから何を持ってきたか。
   見出しも締めの文章も置かず、拾い読みできるタグだけにする */
.carried ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.carried li {
	background: var(--green-tint);
	color: var(--ink);
	font-size: 1.12rem;
	font-weight: 700;
	padding: 12px 22px;
	border-radius: 999px;
	line-height: 1.5;
}

/* ---------------- Web 版 ---------------- */

.web-band {
	background: linear-gradient(140deg, #10305c 0%, #1b4e99 48%, #2c6fd1 100%);
	color: #fff;
}

.web-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.web-copy .web-stat {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}

.web-copy .web-stat b {
	font-size: 1.9rem;
	font-weight: 800;
	color: #ffe08a;
	line-height: 1;
}

.web-copy .web-stat span {
	font-size: 1rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.66);
}

.web-copy h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	line-height: 1.34;
	letter-spacing: -0.025em;
	font-weight: 800;
	margin: 0 0 18px;
}

.web-copy p {
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1.1rem, 1.5vw, 1.28rem);
	font-weight: 500;
	margin: 0 0 12px;
}

.web-copy .btn-primary {
	background: #fff;
	color: var(--blue-deep);
	margin-top: 18px;
}

.web-copy .btn-primary:hover {
	background: var(--blue-tint);
	color: var(--blue-deep);
}

.web-copy .web-note {
	font-size: 0.92rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.62);
	margin-top: 16px;
}

.browser {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	padding: 12px;
}

.browser-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 4px 12px;
}

.browser-bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.34);
}

.browser-bar em {
	margin-left: 10px;
	font-style: normal;
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.1);
	padding: 3px 12px;
	border-radius: 999px;
}

.browser-body {
	background: #fff;
	border-radius: 12px;
	padding: 22px;
	color: var(--ink);
	display: grid;
	gap: 12px;
}

.browser-total {
	font-size: 0.78rem;
	color: var(--ink-3);
	margin: 0;
	letter-spacing: 0.04em;
}

.browser-total b {
	display: block;
	font-size: 1.9rem;
	color: var(--ink);
	letter-spacing: -0.03em;
	line-height: 1.35;
	font-variant-numeric: tabular-nums;
}

.browser-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-2);
	border-bottom: 1px solid #f0f0f3;
	padding-bottom: 11px;
}

.browser-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.browser-row b {
	font-weight: 700;
}

.browser-row .cat-food {
	color: #a6431f;
}

.browser-row .cat-daily {
	color: var(--blue);
}

.browser-row .cat-nisa {
	color: var(--green);
}

.browser-row .amount {
	font-weight: 700;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.browser-row .payer {
	font-size: 0.74rem;
	color: var(--ink-3);
	background: #f2f2f5;
	border-radius: 999px;
	padding: 2px 10px;
	margin-left: 8px;
	white-space: nowrap;
}

/* ---------------- 料金 ---------------- */

.plan-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: start;
}

.plan {
	border-radius: 26px;
	padding: 38px 34px;
}

.plan-free {
	background: var(--paper);
	border: 1px solid var(--line-strong);
}

.plan-premium {
	background: var(--blue);
	color: #fff;
	position: relative;
}

.plan-flag {
	position: absolute;
	top: 22px;
	right: 26px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 0.76rem;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 999px;
}

.plan h3 {
	font-size: 1.14rem;
	font-weight: 800;
	margin: 0 0 4px;
}

.plan .price {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.3;
	margin: 0;
}

.plan .price small {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--ink-3);
}

.plan-premium .price small {
	color: rgba(255, 255, 255, 0.72);
}

.plan .price-sub {
	font-size: 0.95rem;
	color: var(--ink-3);
	margin: 0 0 26px;
}

.plan-premium .price-sub {
	color: rgba(255, 255, 255, 0.72);
}

.plan ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 13px;
	font-size: 1.02rem;
}

.plan li {
	position: relative;
	padding-left: 28px;
	color: var(--ink-2);
}

.plan-premium li {
	color: rgba(255, 255, 255, 0.92);
}

.plan li::before {
	content: "✓";
	position: absolute;
	left: 3px;
	color: var(--green);
	font-weight: 800;
}

.plan-premium li::before {
	color: #ffe08a;
}

.plan-foot {
	margin: 26px 0 0;
	padding-top: 18px;
	font-size: 0.9rem;
	color: var(--ink-3);
	border-top: 1px solid var(--line);
}

.plan-premium .plan-foot {
	color: rgba(255, 255, 255, 0.7);
	border-top-color: rgba(255, 255, 255, 0.25);
}

/* ---------------- よくある質問 ---------------- */

.faq-inner {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 56px;
	align-items: start;
}

.faq-inner .head {
	margin-bottom: 0;
}

.faq details {
	border-bottom: 1px solid var(--line-strong);
}

.faq details:first-child {
	border-top: 1px solid var(--line-strong);
}

.faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 2px;
	font-size: 1.06rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "＋";
	color: var(--blue);
	font-weight: 800;
	flex-shrink: 0;
}

.faq details[open] summary::after {
	content: "−";
}

.faq summary:hover {
	color: var(--blue);
}

.faq .answer {
	margin: 0;
	padding: 0 2px 26px;
	color: var(--ink-2);
	font-size: 1.02rem;
}

/* ---------------- 締めの CTA ---------------- */

.closing {
	position: relative;
	overflow: hidden;
	background: var(--cream);
	padding: 112px 0;
}

.closing-inner {
	position: relative;
	z-index: 1;
	max-width: 620px;
}

.closing h2 {
	font-size: clamp(1.9rem, 4.4vw, 3rem);
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 18px;
}

.closing h2 em {
	font-style: normal;
	color: var(--blue);
}

.closing p {
	color: var(--ink-2);
	font-size: clamp(1.12rem, 1.6vw, 1.32rem);
	font-weight: 500;
	margin: 0 0 34px;
	max-width: 28em;
}

.closing-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.closing .mark-x {
	width: 300px;
	height: 300px;
	background: var(--coral);
	border-radius: 50%;
	right: -80px;
	top: -70px;
}

.closing .mark-y {
	width: 130px;
	height: 130px;
	background: var(--green);
	border-radius: 50%;
	right: 150px;
	bottom: -56px;
}

.closing .mark-z {
	width: 60px;
	height: 60px;
	color: var(--yellow);
	right: 290px;
	top: 96px;
}

/* ---------------- フッター ---------------- */

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.62);
	padding: 44px 0 40px;
	font-size: 0.93rem;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	align-items: center;
	justify-content: space-between;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.footer-links a:hover {
	color: #fff;
	text-decoration: underline;
}

.copyright {
	margin: 0;
}

/* ---------------- レスポンシブ ---------------- */

@media (max-width: 1000px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.hero-body {
		padding-bottom: 24px;
	}

	.hero-visual .device {
		transform: none;
		max-width: 280px;
	}

	.hero .mark-b,
	.hero .mark-d {
		display: none;
	}

	/* 見出しの右は空くが、リード文は端まで届く。丸は見出しの高さに収める */
	.hero .mark-a {
		width: 190px;
		height: 190px;
		right: -80px;
		top: -24px;
	}

	.panel-inner {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: 0;
	}

	.panel-copy {
		padding: 76px 0 40px;
	}

	.panel-visual .device {
		max-width: 280px;
	}

	.origin-inner,
	.web-inner,
	.faq-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.origin-arrow {
		transform: rotate(90deg);
		margin: 0 auto;
	}

	.faq-inner .head {
		margin-bottom: 0;
	}

	/* 幅が狭いと締めの見出しに丸や + が重なる */
	.closing .mark-y,
	.closing .mark-z {
		display: none;
	}
}

@media (max-width: 860px) {
	.nav {
		display: none;
	}

	/* nav は display:none でも DOM に残るので .nav + .header-cta が効いたまま。
	   ここで戻さないとボタンがロゴにくっついてしまう */
	.nav + .header-cta {
		margin-left: auto;
	}

	.plan-grid {
		grid-template-columns: 1fr;
	}

	.closing .mark-x {
		width: 190px;
		height: 190px;
		right: -80px;
		top: -110px;
	}

	.closing .mark-y,
	.closing .mark-z {
		display: none;
	}
}

@media (max-width: 600px) {
	.section {
		padding: 72px 0;
	}

	.container {
		padding: 0 20px;
	}

	.hero {
		padding-top: 40px;
	}

	.header-inner {
		height: 60px;
		gap: 10px;
	}

	.head {
		margin-bottom: 36px;
	}

	.panel-copy {
		padding: 60px 0 32px;
	}

	.closing {
		padding: 80px 0;
	}

	.plan {
		padding: 30px 24px;
	}

	.appstore-badge img {
		height: 50px;
	}

	.hero-actions .btn,
	.closing-actions .btn {
		height: 50px;
		padding-left: 22px;
		padding-right: 22px;
	}

	/* ロゴ + サービス名 + ボタン2つを 390px に収める */
	.header-inner {
		gap: 8px;
	}

	.btn-sm {
		padding: 8px 13px;
		font-size: 0.83rem;
	}

	.brand {
		font-size: 0.98rem;
		gap: 8px;
	}

	.sheet {
		font-size: 0.72rem;
	}

	.sheet th,
	.sheet td {
		padding: 6px 7px;
	}

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn {
		transition: none;
	}
}
