@charset "utf-8";

:root {
	/* --- カラー --- */
	--bg:          #faf7f2;
	--surface:     #ffffff;
	--surface-2:   #fcf9f4;
	--ink:         #423b34;
	--ink-2:       #7c7269;
	--ink-3:       #a89e92;
	--line:        #e1dace;

	--accent:      #e2a07c;
	--accent-deep: #cd875e;
	--accent-tint: #fbeee2;
	--accent-tint2:#f7e3d3;

	--teal:        #8ab0aa;
	--teal-tint:   #e9f1ef;

	--ok:          #6aa888;
	--danger:      #cf7b6f;

	--r-lg: 2.2rem;
	--r-md: 1.4rem;
	--r-sm: 1rem;
	--shadow-sm: 0 1px 2px rgba(66,59,52,.05);
	--shadow:    0 1px 2px rgba(66,59,52,.04), 0 1rem 3rem -1.6rem rgba(102,77,53,.22);
	--shadow-lg: 0 2px 6px rgba(66,59,52,.05), 0 2.4rem 6rem -2.8rem rgba(102,77,53,.30);

	--maxw: 128rem;
	--font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
	--font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}*{border:0;margin:0;outline:0;padding:0;font:inherit;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;text-decoration:none;vertical-align:baseline}article,aside,footer,header,main,nav,article,section{display:block}img,picture,audio,canvas,video,svg{display:block;max-width:100%;height:auto;width:100%}br,hr{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}input,select{vertical-align:middle}body{line-height:1;line-break:strict;overflow-wrap:break-word;overflow-wrap:anywhere;word-break:normal;font-feature-settings:"palt";-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}a{-webkit-tap-highlight-color:transparent}button{all:unset;display:inline-block;cursor:pointer;background:none;border:none;padding:0;margin:0;text-decoration:none;appearance:none;-webkit-appearance:none}

.ic-img { display: inline-block; vertical-align: middle; object-fit: contain; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
@media screen and (max-width: 330px) {
	html { font-size: 54%; }
}
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background-color: var(--bg);
	background-image:
		radial-gradient(110rem 54rem at 12% -8%, var(--accent-tint) 0%, transparent 55%),
		radial-gradient(90rem 50rem at 105% 4%, var(--teal-tint) 0%, transparent 50%);
	background-attachment: fixed;
	line-height: 1.7;
	font-size: 1.6rem;
	letter-spacing: .01em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

/* ---------- レイアウト ---------- */
.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 2.8rem 10rem 14rem;
}
@media screen and (max-width: 770px) {
	.wrap {
		max-width: var(--maxw);
		margin: 0 auto;
		padding: 1rem 5% 14rem;
	}
}
.sp {display: none;}
@media screen and (max-width: 770px) {.sp {display: block;}}


.site-head {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 2.6rem;
}
.brand-mark {
	width: 4.2rem;
	height: 4.2rem;
	border-radius: 1.3rem;
	flex: none;
	background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.4);
	position: relative;
}
.brand-mark::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		radial-gradient(7px 7px at 31% 33%, rgba(255,255,255,.95), transparent 70%),
		radial-gradient(4px 4px at 64% 62%, rgba(255,255,255,.55), transparent 70%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.9rem;
	letter-spacing: .02em;
}
.brand-sub { font-size: 1.25rem; color: var(--ink-2); }
.brand-logo { height: 7.5rem; width: auto; flex: none; display: block; }
.site-head > .brand-sub { align-self: center; padding-left: 1.3rem; border-left: 1.5px solid var(--line); }
@media screen and (max-width:750px) {.brand-logo {height: 6rem;}}

/* ---------- 見出し ---------- */
.page-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.3rem, 5.4vw, 3rem);
	letter-spacing: .015em;
	margin: 6px 0 8px;
}
.page-lead {
	color: var(--ink-2);
	margin: 0 0 2.2rem;
	font-size: 1.45rem;
}
.step-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 2.6rem; }
.step-pill {
	font-size: 1.2rem;
	color: var(--ink-2);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 99.9rem;
	padding: 6px 1.3rem;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	box-shadow: var(--shadow-sm);
}
.step-pill b {
	font-family: var(--font-display);
	color: var(--accent-deep);
	font-weight: 700;
}

/* ---------- カード（アコーディオン1項目） ---------- */
.cards { display: flex; flex-direction: column; gap: 1.4rem; padding: 5.2rem 0;
	border-top: 1px solid var(--line); margin-top: 5.2rem;border-bottom: 1px solid var(--line);}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card.is-checked {
	border-color: var(--accent-tint2);
	box-shadow: var(--shadow), 0 0 0 3px var(--accent-tint);
}
.card.is-open { box-shadow: var(--shadow-lg); }

.card-head {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	padding: 1.6rem 1.8rem;
	cursor: pointer;
}

/* トグル（含める / 含めない）*/
.toggle { position: relative; flex: none; display: inline-flex; cursor: pointer;}
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle .track {
	width: 4.6rem; height: 2.7rem;
	border-radius: 99.9rem;
	background: #e7ddcf;
	transition: background .22s ease;
	position: relative;
	flex: none;
	box-shadow: inset 0 1px 2px rgba(66,59,52,.12);
}
.toggle .track::after {
	content: "";
	position: absolute; top: 3px; left: 3px;
	width: 2.1rem; height: 2.1rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(66,59,52,.28);
	transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.toggle input:checked + .track { background: var(--accent); }
.toggle input:checked + .track::after { transform: translateX(1.9rem); }
.toggle input:focus-visible + .track { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

.card-titles { flex: 1 1 auto; min-width: 0; cursor: pointer; user-select: none; }
.card-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.7rem;
	display: flex;
	align-items: baseline;
	gap: 9px;
}
.card-title .id-chip {
	font-family: var(--font-body);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--accent-deep);
	background: var(--accent-tint);
	border-radius: 6px;
	padding: 1px 7px;
	text-transform: uppercase;
}
.card-hint { font-size: 1.25rem; color: var(--ink-2); }

.card-chevron {
	flex: none;
	width: 3rem; height: 3rem;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--surface-2);
	display: grid; place-items: center;
	cursor: pointer;
	color: var(--ink-2);
	transition: transform .28s ease, background .2s, color .2s;
}
.card-chevron:hover { background: var(--accent-tint); color: var(--accent-deep); }
.card-chevron .ic-img { width: 1.5rem; height: 1.5rem; }
.card.is-open .card-chevron { transform: rotate(180deg); }

/* アコーディオン本体 */
.card-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .3s ease;
}
.card.is-open .card-body { grid-template-rows: 1fr; }
.card-body > .inner { overflow: hidden; }
.card-body .pad { padding: 4px 1.8rem 2rem; border-top: 1px dashed var(--line); margin-top: 0; }
.card.is-open .card-body .pad { padding-top: 1.6rem; }

/* ---------- 画像オプション ---------- */
.opt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10.4rem, 1fr));
	gap: 1rem;
}
/* 画像なし：flex左詰め */
.opt-list {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}
.cards[role="list"] .opt-list {
	opacity: 0.3;
}
.cards[role="list"] .opt-grid {
	opacity: 0.3;
}
.opt { position: relative; display: block; cursor: pointer; }
.cards[role="list"] .opt {cursor: not-allowed;}
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* 画像なしオプションのカード：横長コンパクト */
.opt--text .opt-card {
	flex-direction: row;
	align-items: center;
	gap: .6rem;
	padding: .7rem 1.4rem .7rem 1rem;
	border-radius: 99px;
	height: auto;
	position: relative;
}
.opt--text .opt-card::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	display: block;
	width: 1.55rem;
	height: 1.55rem;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.opt--text .opt-card .check-dot {
	position: static;
	width: 1.6rem;
	height: 1.6rem;
	flex-shrink: 0;
	transform: scale(.5);
}
.opt--text .opt-card .opt-name {
	padding-bottom: 0;
	text-align: left;
	white-space: nowrap;
}
.opt--text .opt input:checked + .opt-card .check-dot { transform: scale(1); }

.opt-card {
	border: 1.5px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	padding: 7px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color .18s, background .18s, transform .12s, box-shadow .18s;
	height: 100%;
}
.cards:not([role="list"]) .opt:hover .opt-card { border-color: var(--accent-tint2); transform: translateY(-1px); }
.opt input:focus-visible + .opt-card { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

.opt-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 1rem;
	overflow: hidden;
	background: var(--bg);
}
.opt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.opt-thumb img:not([src]),
.opt-thumb img[src=""] { opacity: 0; }

.opt-name {
	font-size: 1.3rem;
	text-align: center;
	color: var(--ink);
	font-weight: 500;
	padding-bottom: 2px;
}

/* 選択中の見た目 */
.opt input:checked + .opt-card {
	border-color: var(--accent);
	background: var(--accent-tint);
	box-shadow: 0 0 0 1px var(--accent);
}
.opt-card .check-dot {
	position: absolute;
	top: 1.2rem; right: 1.2rem;
	width: 2rem; height: 2rem;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	display: grid; place-items: center;
	opacity: 0;
	transform: scale(.5);
	transition: opacity .16s, transform .16s cubic-bezier(.34,1.56,.64,1);
	box-shadow: 0 2px 6px rgba(205,135,94,.5);
}
.opt-card .check-dot .ic-img { width: 1.2rem; height: 1.2rem; }
.opt input:checked + .opt-card .check-dot { opacity: 1; transform: scale(1); }

/* ---------- URL入力 ---------- */
.field-label { font-size: 1.3rem; color: var(--ink-2); margin-bottom: 6px; display: block; }
.text-input {
	width: 100%;
	font: inherit;
	font-size: 1.5rem;
	color: var(--ink);
	background: var(--surface-2);
	border: 1.5px solid var(--line);
	border-radius: var(--r-sm);
	padding: 1.2rem 1.4rem;
	transition: border-color .18s, background .18s, box-shadow .18s;
}
.text-input::placeholder { color: var(--ink-3); }
.text-input:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
	box-shadow: 0 0 0 3px var(--accent-tint);
}
.url-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px;align-items: stretch;}
.url-row .text-input { flex: 1 1 auto; }
.mini-btn {
	flex: none;
	font: inherit; font-size: 1.3rem;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink-2);
	border-radius: var(--r-sm);
	padding: 9px 1.2rem;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
	flex-shrink: 0;
}
.mini-btn.rm-url {width: 2.8rem;}
.mini-btn:hover { background: var(--accent-tint); color: var(--accent-deep); border-color: var(--accent-tint2); }
.add-url { color: var(--accent-deep); }
.textarea-input { width: 100%; min-height: 9.6rem; resize: vertical; line-height: 1.7; }
.char-count { margin-top: 6px; text-align: right; font-size: 1.2rem; color: var(--ink-3); }
.other-text { margin-top: 1rem; }
.other-text:disabled { opacity: .5; background: var(--surface-2); cursor: not-allowed; }

/* ---------- 下部固定バー ---------- */
.actionbar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 30;
	background: rgba(255,255,255,.82);
	backdrop-filter: blur(1.4rem) saturate(1.1);
	-webkit-backdrop-filter: blur(1.4rem) saturate(1.1);
	border-top: 1px solid var(--line);
	box-shadow: 0 -1rem 3rem -2.2rem rgba(102,77,53,.4);
}
.actionbar .inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 1.3rem 2rem calc(1.3rem + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 1.4rem;
}
.actionbar .count { font-size: 1.3rem; color: var(--ink-2); flex: 1 1 auto; }
.actionbar .count b { font-family: var(--font-display); color: var(--accent-deep); font-size: 1.6rem; }

/* ---------- ボタン ---------- */
.btn {
	font: inherit;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.55rem;
	letter-spacing: .03em;
	border: none;
	border-radius: 99.9rem;
	padding: 1.3rem 2.6rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	transition: transform .12s, box-shadow .2s, background .2s, opacity .2s;
	white-space: nowrap;
}
.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
	box-shadow: 0 8px 2rem -8px rgba(205,135,94,.7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1.2rem 2.6rem -8px rgba(205,135,94,.8); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost {
	color: var(--accent-deep);
	background: var(--surface);
	border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--accent-tint); }
.btn .ic-img { width: 2rem; height: 2rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 生成されたURL表示パネル ---------- */
.result-panel {
	margin-top: 5.2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 2.2rem;
	display: none;
	animation: pop .35s cubic-bezier(.2,.7,.3,1);
}

.result-panel.show { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(1rem) scale(.98); } to { opacity: 1; transform: none; } }

.result-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.6rem;
	display: flex; align-items: center; gap: 8px;
	margin-bottom: 4px;
}
.result-title .badge {
	width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: var(--ok); color: #fff; display: grid; place-items: center;
}
.result-title .badge .ic-img { width: 1.4rem; height: 1.4rem; }
.result-desc { font-size: 1.3rem; color: var(--ink-2); margin: 0 0 1.4rem; }

.url-box {
	display: flex;
	gap: 8px;
	align-items: stretch;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 7px 7px 7px 1.4rem;
}
.url-box .url-text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	font-size: 1.35rem;
	color: var(--ink);
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: thin;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.copy-btn {
	flex: none;
	font: inherit; font-weight: 700; font-size: 1.35rem;
	font-family: var(--font-display);
	border: none; cursor: pointer;
	border-radius: var(--r-sm);
	padding: 0.4rem 1.6rem;
	color: #fff;
	background: var(--accent);
	display: inline-flex; align-items: center; gap: 7px;
	transition: background .18s, transform .1s;
}
.copy-btn:hover { background: var(--accent-deep); }
.copy-btn:active { transform: scale(.97); }
.copy-btn.copied { background: var(--ok); }
.copy-btn .ic-img { width: 1.5rem; height: 1.5rem; }

.note {
	margin-top: 1.4rem;
	font-size: 1.25rem;
	color: var(--ink-2);
	background: var(--teal-tint);
	border-radius: var(--r-md);
	padding: 1.1rem 1.4rem;
	display: flex; gap: 9px;
}
.note .ic-img { width: 1.6rem; height: 1.6rem; flex: none; color: var(--teal); margin-top: 4px; }

/* ---------- 回答画面（brief）専用 ---------- */
.q-card {}
.req-badge {
	font-size: 1.1rem; color: var(--accent-deep);
	background: var(--accent-tint); border-radius: 6px;
	padding: 1px 8px; font-weight: 700;
}

/* ---------- 確認画面（form）専用：プレビュー ---------- */
.preview-stage { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }

.brief-card {
	width: 100%;
	max-width: 64rem;
	background: #fffdfa;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	border: 1px solid var(--line);
}
.brief-card .head {
	padding: 2.6rem 3rem 2.2rem;
	background:
		radial-gradient(120% 140% at 0% 0%, var(--accent-tint) 0%, transparent 60%),
		linear-gradient(135deg, #fff 0%, var(--surface-2) 100%);
	border-bottom: 1px solid var(--line);
	position: relative;
}
.brief-card .eyebrow {
	font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-deep); font-weight: 700;
}
.brief-card .title {
	font-family: var(--font-display);
	font-weight: 700; font-size: 2.4rem; margin: 4px 0 2px;
}
.brief-card .meta { font-size: 1.25rem; color: var(--ink-2); }
.brief-card .list { padding: 8px 3rem 2.6rem; }
.brief-row {
	display: flex;
	gap: 1.6rem;
	padding: 1.6rem 0;
	border-bottom: 1px dashed var(--line);
	align-items: flex-start;
}
.brief-row:last-child { border-bottom: none; }
.brief-row .label {
	flex: none;
	width: 9.2rem;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink-2);
	font-size: 1.4rem;
	display: flex; align-items: center; gap: 8px;
}
.brief-row .label .dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent); flex: none;
}
.brief-row .value { flex: 1 1 auto; font-size: 1.55rem; color: var(--ink); padding-top: 1px; word-break: break-word; }
.brief-row .value .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.brief-row .value .chip {
	background: var(--accent-tint); color: var(--accent-deep);
	border-radius: 99.9rem; padding: 3px 1.2rem; font-size: 1.35rem; font-weight: 500;
}
.brief-row .value a { word-break: break-all; }
.brief-row .value .val-empty { color: var(--ink-3); }
.brief-row .value .val-text { white-space: pre-wrap; line-height: 1.7; }
.brief-card .foot {
	padding: 1.4rem 3rem 2.2rem;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid var(--line);
	background: var(--surface-2);
}
.brief-card .foot .mark {
	display: flex; align-items: center; gap: 9px;
	font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-2);
}
.brief-card .foot .mark .m {
	width: 2.2rem; height: 2.2rem; border-radius: 7px;
	background: linear-gradient(150deg, var(--accent), var(--accent-deep));
}
.brief-card .foot .stamp { font-size: 1.15rem; color: var(--ink-3); }

/* ---------- 状態表示（読み込み / エラー） ---------- */
.state {
	text-align: center;
	padding: 6rem 2rem;
	color: var(--ink-2);
}
.state .ic {
	width: 5.8rem; height: 5.8rem; border-radius: 50%;
	display: grid; place-items: center; margin: 0 auto 1.6rem;
	background: var(--accent-tint); color: var(--accent-deep);
}
.state .ic .ic-img { width: 2.8rem; height: 2.8rem; }
.state h2 { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); margin: 0 0 6px; }
.state p { font-size: 1.4rem; margin: 0; }
.spinner {
	width: 3.4rem; height: 3.4rem; border-radius: 50%;
	border: 3px solid var(--accent-tint); border-top-color: var(--accent);
	animation: spin .8s linear infinite; margin: 0 auto 1.6rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* トースト */
.toast {
	position: fixed;
	left: 50%; bottom: 9.6rem;
	transform: translateX(-50%) translateY(2rem);
	background: var(--ink); color: #fff;
	font-size: 1.35rem; font-weight: 500;
	padding: 1.1rem 2rem; border-radius: 99.9rem;
	box-shadow: var(--shadow-lg);
	opacity: 0; pointer-events: none;
	transition: opacity .25s, transform .25s;
	z-index: 50;
	display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .ic-img { width: 1.6rem; height: 1.6rem; color: var(--accent); }

/* 入力エラーの強調 */
.card.is-error { box-shadow: var(--shadow), 0 0 0 3px rgba(207,123,111,.28); border-color: rgba(207,123,111,.5); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 770px) {
	.card-head { padding: 1.4rem 1.4rem; gap: 1.1rem; }
	.card-body .pad { padding-left: 1.4rem; padding-right: 1.4rem; }
	.opt-grid { grid-template-columns: repeat(auto-fill, minmax(9.2rem, 1fr)); gap: 8px; }
	.opt-list { gap: .5rem; }
	.brief-card .head, .brief-card .list, .brief-card .foot { padding-left: 1.8rem; padding-right: 1.8rem; }
	.brief-row .label { width: 7.6rem; font-size: 1.3rem; }
	.actionbar .inner { gap: 1rem; }
	.btn { padding: 1.2rem 1.8rem; font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =================================================================
LP（トップページ）
================================================================= */
a.btn { text-decoration: none; }
.brand-link { display: inline-flex; line-height: 0; }
.btn-lg { padding: 1.6rem 3.2rem; font-size: 1.65rem; }

.wrap--lp { max-width: 144rem;}
.lp-hero .lead { max-width: 42em; }
body.lp { background-attachment: fixed; }

/* ヘッダー */
.lp-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.2rem; margin-bottom: 8px; padding: 6px 0 1.8rem;
}
.lp-head .cta { padding: 1.1rem 2.2rem; font-size: 1.45rem; }
@media screen and (max-width: 770px) {
	.lp-head .cta { display: none; }
}

.lp-eyebrow {
	display: inline-block;
	font-family: var(--font-display); font-weight: 700;
	font-size: 1.25rem; letter-spacing: .12em;
	color: var(--accent-deep);
	background: var(--accent-tint);
	padding: 6px 1.4rem; border-radius: 99.9rem;
	margin-bottom: 1.2rem;
}

/* FV */
.lp-hero {
	display: flex;
	gap: 3.6rem; align-items: center;
	padding: 2.6rem 0 8.8rem;
	gap: 5%;
}
.lp-hero .title {
	font-family: var(--font-display); font-weight: 700;
	font-size: 3.8rem; line-height: 1.7;
	margin: 0 0 2.8rem; letter-spacing: .01em;
}
.lp-hero .title .fill {
	color: var(--accent-deep);
	font-size: 1.2em;
}
.lp-hero .lead { font-size: 1.6rem; color: var(--ink-2); margin: 0 0 2.6rem; }
.lp-hero .actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 2.4rem; }
.lp-hero .meta { font-size: 1.3rem; color: var(--ink-3); margin: 0; }
.lp-hero .media {
	flex-shrink: 0;
	width: 45%;
}
.lp-hero .media img { width: 100%; height: auto; display: block; line-height: 0;filter: drop-shadow(1rem 4rem 2rem rgba(0, 0, 0, 0.15));}

/* セクション共通 */
.lp-section { padding: 8.8rem 0; border-top: 1px solid var(--line); }
.lp-section .head { text-align: center; margin-bottom: 6rem; }
.lp-section .title {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(2.2rem, 3.4vw, 2.8rem); margin: 0;
}
.lp-section .lead { color: var(--ink-2); margin: 1rem 0 0; }
.lp-section .cta { text-align: center; margin-top: 3.8rem; }
@media screen and (max-width: 770px) {.lp-section { padding: 6rem 0;}}

/* 使い方ステップ */
.lp-steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.lp-step {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	padding: 4.8rem 2.2rem 2.4rem;
	text-align: center;
}
.lp-step .no {
	position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
	width: 5.2rem; height: 5.2rem; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	box-shadow: 0 6px 1.4rem -6px rgba(205,135,94,.8);padding-bottom: 5px;
}
.lp-step .icon { width: 6rem; height: 6rem; object-fit: contain; margin: 6px auto 1.4rem; display: block; }
.lp-step .title { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; margin: 0 0 8px; }
.lp-step .text { font-size: 1.4rem; color: var(--ink-2); margin: 0; line-height: 1.75; }


/* こんな悩みありませんか */
.pain-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.pain-item {
	display: flex;
	flex-direction: column;
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}
.pain-before {
	background: var(--surface);
	padding: 2.4rem 2.2rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.pain-after {
	background: var(--accent-tint);
	border-top: 1.5px solid var(--accent-tint2);
	padding: 1.8rem 2.2rem 2.2rem;
	display: flex;
	flex-direction: column;
	gap: .6rem;
}
.pain-badge {
	display: inline-flex;
	align-items: center;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--ink-2);
	background: rgba(0,0,0,.07);
	border-radius: 99px;
	padding: 3px 1rem;
	width: fit-content;
}
.pain-badge--ok {
	color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.pain-text {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
	line-height: 1.7;
}
.pain-after-text {
	font-size: 1.5rem;
	color: var(--ink);
	margin: 0;
	line-height: 1.6;
	font-weight: 700;
	font-family: var(--font-display);
}
.pain-after-sub {
	font-size: 1.35rem;
	color: var(--ink-2);
	margin: 0;
	line-height: 1.75;
}
.step-note {
	font-size: 1.2rem;
	color: var(--ink-3);
	margin: 1rem 0 0;
	line-height: 1.6;
}
@media (max-width: 770px) {
	.pain-list {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}
	.pain-before {
		padding: 2rem 1.8rem 1.6rem;
	}
	.pain-after {
		padding: 1.6rem 1.8rem 2rem;
	}
	.pain-text {
		font-size: 1.45rem;
	}
	.pain-after-text {
		font-size: 1.45rem;
	}
	.pain-after-sub {
		font-size: 1.3rem;
	}
}

/* 作成/回答ページ */
.how-flow { margin: 5.2rem 0 3.2rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1.2rem; max-width: 68rem; margin: 0 auto; }
.faq-item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.faq-item summary {
	list-style: none; cursor: pointer;
	padding: 1.7rem 5rem 1.7rem 2rem; position: relative;
	font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: ""; position: absolute; right: 2.2rem; top: 50%;
	width: 9px; height: 9px; margin-top: -6px;
	border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep);
	transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 2rem 1.8rem; color: var(--ink-2); font-size: 1.45rem; overflow: hidden; height: 0; }
.faq-item[open] .faq-answer { height: auto; }
.faq-answer.animating { transition: height .28s ease; }
.faq-answer p { margin: 0; }

/* フッター */
.lp-footer {
	border-top: 1px solid var(--line);
	padding: 3.8rem 0 8px; margin-top: 1.6rem;
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.4rem; align-items: start;
}
.lp-footer .cta {
	margin-top: 2.4rem;
}
.lp-footer .desc { font-size: 1.35rem; color: var(--ink-2); margin: 1.4rem 0 0; max-width: 36em; }
.lp-footer .nav { display: flex; flex-direction: column; gap: 1rem; justify-self: end; }
.lp-footer .nav a { color: var(--ink-2); text-decoration: none; font-size: 1.4rem; }
.lp-footer .nav a:hover { color: var(--accent-deep); }
.lp-footer .copy { grid-column: 1 / -1; font-size: 1.25rem; color: var(--ink-2); margin: 1.8rem 0 0; }


@media (max-width: 1280px) {.lp-hero .title{font-size: 3.2rem;}}
@media (max-width: 1000px) {.lp-hero .title{font-size: 2.2rem;}}
@media (max-width: 770px) {
	.lp-head {padding: 0;}
	.lp-head .cta { padding: 1rem 1.6rem; font-size: 1.35rem; }
	.lp-hero {gap: 0; padding-bottom: 6rem;flex-direction: column;}
	.lp-eyebrow {font-size: 1.4rem;	padding: 6px 1.2rem;border-radius: 1rem;text-align: center;}
	.lp-hero .title {font-size: 2.3rem;text-align: center;margin-bottom: 1rem;}
	.lp-hero .body {display: contents;}
	.lp-hero .lead {order: 1;}
	.lp-hero .actions {order: 2;}
	.lp-hero .meta {order: 3;}
	.lp-hero .media {margin-bottom: 3rem;width: 80%;}
	.lp-hero .media img {filter: drop-shadow(1rem 3rem 1.5rem rgba(0, 0, 0, 0.15));}
	.lp-steps { grid-template-columns: 1fr; gap: 5rem; }
	.lp-footer { grid-template-columns: 1fr; }
	.lp-footer .nav { justify-self: start; }
}


/* hero */
.privacy h1{font-weight:700;font-size:3.2rem;margin:0 0 2.4rem 0;}
.privacy .hero{margin:3rem 0 8px}
.privacy .lead{color:#5d5249; margin:1.8rem 0 0}
/* toc */
.privacy .toc{
	background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
	padding:2rem 2.4rem; margin:3rem 0; box-shadow:var(--shadow);
}
.privacy .toc h2{font-family:"Zen Maru Gothic",sans-serif; font-size:1.5rem; margin:0 0 1.2rem; color:var(--accent-deep)}
.privacy .toc ol{margin:0; padding-left:1.3em; columns:2; column-gap:3rem}
.privacy .toc li{margin:0 0 7px; break-inside:avoid}
.privacy ol li{list-style: decimal;}
.privacy .toc a{color:var(--ink); text-decoration:none; border-bottom:1px solid transparent}
.privacy .toc a:hover{color:var(--accent-deep); border-bottom-color:var(--accent)}
@media(max-width:56rem){.privacy .toc ol{columns:1}}
/* sections */
.privacy section{
	background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
	padding:2.6rem 2.8rem; margin:0 0 1.6rem;
}
.privacy section h2{
	font-weight:700; font-size:1.9rem;margin:0 0 1.4rem; padding-bottom:1.2rem; border-bottom:1px solid var(--line);scroll-margin-top:2rem; display:flex; align-items:baseline; gap:1rem;
}
.privacy section h2 .num{color:var(--accent-deep); font-weight:700}
.privacy section h3{font-family:"Zen Maru Gothic",sans-serif; font-size:1.55rem; margin:2rem 0 6px}
.privacy p{margin:0 0 1.2rem}
.privacy ul, .privacy ol.body{margin:6px 0 1.2rem; padding-left:1.5em}
.privacy ul li{list-style: disc;}
.privacy a.inline{color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px}
.privacy .note{
	margin:1.4rem 0;
}
.privacy .note strong{color:var(--accent-deep);white-space: nowrap;}
.privacy .meta-list{list-style:none; padding:0; margin:0}
.privacy .meta-list li{display:flex; gap:1.2rem; padding:1.4rem 0; border-bottom:1px dashed var(--line)}
.privacy .meta-list li:last-child{border-bottom:none}
.privacy .meta-list .k{flex:0 0 12rem; font-size:1.4rem}
.privacy dl.defs{margin:0}
.privacy dl.defs dt{font-family:"Zen Maru Gothic",sans-serif; font-weight:500; margin:1.4rem 0 2px; color:var(--accent-deep)}
.privacy dl.defs dd{margin:0 0 4px}
.privacy .sign {text-align: right;}


.cta-banner {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: rgba(251, 238, 226, 0);
	backdrop-filter: blur(4px);
	padding: 1rem 0;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.cta-banner a {
	pointer-events: all;
}
@media screen and (max-width: 770px) {
	.cta-banner {
		display: flex;
	}
}

.language-select {
	margin: 0 0 0 auto;
	width: fit-content;
	position: relative;
}
.language-select #language-button {
	padding: 1rem 1.4rem;
	border-radius: var(--r-sm);
	border: 1px solid var(--line);
	font-weight: 700;
	cursor: pointer;
	width: 14rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.4rem;
}
.language-select #language-button .icon {
	width: 1.6rem;
}
.language-select #language-button::after {
	content: "";
	display: block;
	width: 0.7rem;
	height: 0.7rem;
	border-top: 2px solid var(--accent-deep);
	border-right: 2px solid var(--accent-deep);
	transform: rotate(135deg);
	margin: 0 0 0 auto;
}
.language-select .select {
	position: absolute;
	top: 6rem;
	right: 0;
	padding: 0.5rem;
	border-radius: var(--r-md);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	width: 14rem;
	z-index: 3;
	transform: translateY(-1rem);
	opacity: 0;
	transition: 0.3s;
	pointer-events: none;
}
.language-select.is-active .select {
	transform: translateY(0);
	opacity: 1;
	pointer-events: all;
}
.language-select .lang-item {
	padding: 0.6rem 1.2rem;
	font-size: 1.4rem;
	border-radius: var(--r-sm);
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
}
.language-select .lang-item .flag {
	font-size: 1.6rem;
}
.language-select .lang-item:hover {
	background-color: var(--accent-tint);
}