@charset "UTF-8";
/* 特集 LINE FRIENDS｜Casselini BROWN Anniversary Special（2026-11）
   _deploy/20261120_feature_line_friends/tools/style.css（build.py が out/<スラッグ>/style.css に写す）
   PC は幅 1920 のデザイン（文字は実寸 px、余白は --u で縮める）、SP（767px 以下）は幅 640 のデザイン（--u = 画面幅 / 640）
   飾り・商品写真の位置は body.html の style 属性（--x/--y/--w は %、--m〜 が SP） */

.lfc {
	--ink: #47334d;
	--mint: #71c7c8;
	--yellow: #ffde00;
	--pink: #f197a4;
	--u: max(.55px, calc(min(100vw, 1920px) / 1920));
	position: relative;
	background: #fff;
	color: var(--ink);
	font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-weight: 500;
	letter-spacing: .02em;
	font-feature-settings: "palt";   /* PSD と同じく詰めて組む */
	word-break: auto-phrase;         /* 「で、」だけが次の行に落ちないよう文節で折り返す（Chrome・Edge） */
	text-align: center;
	overflow: hidden;
	overflow: clip;
}
.lfc *,
.lfc *::before,
.lfc *::after { box-sizing: border-box; }
.lfc h1,
.lfc h2,
.lfc p,
.lfc ul { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
.lfc ul { list-style: none; }
.lfc img { display: block; max-width: none; height: auto; }
.lfc a,
.lfc a:link,
.lfc a:visited { color: inherit; text-decoration: none; }
.lfc .lfc-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lfc .lfc-spbr { display: none; }
.lfc .lfc-sp { display: none; }

/* メインビジュアル */
.lfc .lfc-mv img { width: 100%; }

/* 段 */
.lfc .lfc-sec {
	position: relative;
	isolation: isolate;
	margin-top: -1px;              /* 11/19 段の境目に 1px ほど白い線が出る（高さが小数になり、境目が下の白地と混ざる）ので 1px 重ねる */
	padding: calc(82 * var(--u)) 0 calc(35 * var(--u));
}
.lfc .lfc-s1 {
	background: var(--mint) url(img/bg-1-pc.webp) center top / cover;
	color: #fff;
	padding-top: calc(77 * var(--u));
	clip-path: inset(0);           /* 背景固定: 中の position: fixed の背景をこの段の中だけ見せる（iOS でも動く） */
}
.lfc .lfc-s2 { background: var(--yellow) url(img/bg-2-pc.webp) center / cover; }
.lfc .lfc-s3 { background: var(--pink) url(img/bg-3-pc.webp) center / cover; color: #fff; padding-bottom: calc(52 * var(--u)); }
.lfc .lfc-fix {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: var(--mint) url(img/bg-1-pc.webp) center / cover;
}

/* 飾り（段の幅・高さに対する %） */
.lfc .lfc-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lfc .lfc-d {
	position: absolute;
	left: calc(var(--x) * 1%);
	top: calc(var(--y) * 1%);
	width: calc(var(--w) * 1%);
	translate: -50% -50%;
	rotate: calc(var(--r) * 1deg);
}
.lfc .lfc-d img { width: 100%; }

/* リード文（11/18 PC の本文は 16→15px） */
.lfc .lfc-lead { width: min(1130px, 92%); margin: 0 auto; font-size: 15px; line-height: 1.9; }
.lfc .lfc-lead h2 { font-size: 18px; font-weight: 900; }
.lfc .lfc-lead p { margin-top: 1.4em; }

/* 商品 */
.lfc .lfc-item { position: relative; }
.lfc .lfc-lead + .lfc-item { margin-top: calc(63 * var(--u)); }
.lfc .lfc-cloud {
	position: relative;
	display: block;
	width: calc(1102 / 1920 * 100%);
	min-width: 420px;
	aspect-ratio: var(--ar);
	margin: 0 auto;
}
.lfc .lfc-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.lfc .lfc-ph {
	position: absolute;
	left: calc(var(--x) * 1%);
	top: calc(var(--y) * 1%);
	width: calc(var(--w) * 1%);
}
.lfc .lfc-txt { width: min(640px, 92%); margin: calc(30 * var(--u)) auto 0; }
.lfc .lfc-ttl { font-size: 15px; font-weight: 700; line-height: 1.4; }
.lfc .lfc-pts {
	display: table;
	margin: calc(20 * var(--u)) auto 0;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}
.lfc .lfc-pts li { position: relative; padding: .3em 0 .3em 1.75em; }
.lfc .lfc-pts img { position: absolute; left: 0; top: .42em; width: 1.2em; }
.lfc .lfc-name { margin-top: calc(37 * var(--u)); font-size: 18px; font-weight: 700; line-height: 1.67; }
.lfc .lfc-price { font-size: 15px; }
.lfc .lfc-colors { display: flex; justify-content: center; gap: 10px; margin-top: calc(12 * var(--u)); }
.lfc .lfc-chip {   /* 11/18 シートの「〇カラーチップ」に合わせて丸に */
	width: 18px;
	height: 18px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--c);
}
.lfc .lfc-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 34px;
	margin-top: calc(20 * var(--u));
	background: url(img/buy.svg) center / 100% 100% no-repeat;   /* 11/18 手描き風の縁（色は同じ紫） */
	color: #fff !important;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: .04em;
	line-height: 1;
	transition: opacity .3s, scale .3s;
}
.lfc .lfc-cr { margin-top: calc(30 * var(--u)); line-height: 0; }   /* 11/19 PSD の ©LY Corp. の画像（打ち文字 NG） */
.lfc .lfc-cr img { display: inline-block; width: max(72px, calc(91 * var(--u))); }
.lfc .lfc-all {
	display: block;
	width: max(260px, calc(439 * var(--u)));   /* 11/19 デザインカンプの楕円に戻した（PSD で幅 439） */
	margin: calc(98 * var(--u)) auto 0;
	transition: scale .3s;
}
.lfc .lfc-all img { width: 100%; }
.lfc .lfc-all + .lfc-cr { margin-top: calc(62 * var(--u)); }
@media (hover: hover) {
	.lfc .lfc-buy:hover { opacity: .75; }
	.lfc .lfc-all:hover { scale: 1.05; }
}

/* SP */
@media (max-width: 767px) {
	.lfc { --u: calc(100vw / 640); }
	.lfc .lfc-spbr { display: inline; }
	.lfc .lfc-pc { display: none; }
	.lfc .lfc-sp { display: block; }
	.lfc .lfc-sec { padding: calc(62 * var(--u)) 0 calc(10 * var(--u)); }
	.lfc .lfc-s1 { padding-top: calc(42 * var(--u)); background-image: url(img/bg-1-sp.webp); }
	.lfc .lfc-s2 { background-image: url(img/bg-2-sp.webp); }
	.lfc .lfc-s3 { background-image: url(img/bg-3-sp.webp); padding-bottom: calc(80 * var(--u)); }
	.lfc .lfc-fix { background-image: url(img/bg-1-sp.webp); }
	.lfc .lfc-d { width: calc(var(--w) * 1%); }

	.lfc .lfc-lead { width: auto; padding: 0 10px; font-size: max(12px, calc(20 * var(--u))); line-height: 1.75; }
	.lfc .lfc-lead h2 { font-size: max(15px, calc(26 * var(--u))); }
	.lfc .lfc-lead p { margin-top: 1.2em; }
	.lfc .lfc-lead + .lfc-item { margin-top: calc(62 * var(--u)); }

	.lfc .lfc-cloud { width: calc(648 / 640 * 100%); min-width: 0; margin-left: calc(-4 / 640 * 100%); aspect-ratio: var(--mar); }
	.lfc .lfc-ph { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * 1%); }
	.lfc .lfc-txt { width: auto; padding: 0 10px; }
	.lfc .lfc-ttl { font-size: max(12.5px, calc(20 * var(--u))); }
	.lfc .lfc-pts { margin-top: calc(26 * var(--u)); font-size: max(12px, calc(20 * var(--u))); line-height: 1.4; }
	.lfc .lfc-pts li { padding: .35em 0 .35em 1.6em; }
	.lfc .lfc-pts img { top: .4em; width: 1.15em; }
	.lfc .lfc-name { margin-top: calc(34 * var(--u)); font-size: max(13px, calc(22 * var(--u))); line-height: 1.6; }
	.lfc .lfc-price { font-size: inherit; }
	.lfc .lfc-colors { gap: 7px; margin-top: calc(12 * var(--u)); }
	.lfc .lfc-chip { width: 15px; height: 15px; border-width: 1.5px; }
	.lfc .lfc-buy { width: 84px; height: 32px; margin-top: calc(20 * var(--u)); font-size: 17px; }
	.lfc .lfc-cr { margin-top: calc(30 * var(--u)); padding-right: calc(7 * var(--u)); text-align: right; }   /* PSD では右端から 7 */
	.lfc .lfc-cr img { width: max(56px, calc(91 * var(--u))); }
	.lfc .lfc-all { width: calc(367 * var(--u)); margin-top: calc(80 * var(--u)); }
	.lfc .lfc-all + .lfc-cr { margin-top: calc(28 * var(--u)); padding-right: 0; text-align: center; }
}

/* 動き（motion.js が lfc-js・is-in・is-vis を付ける）。「視差効果を減らす」設定・JS が動かないときは止まったまま全部表示 */
@media (prefers-reduced-motion: no-preference) {
	/* もくもく枠ごと「ぽわん」と出る */
	.lfc.lfc-js .lfc-pop { opacity: 0; }
	.lfc.lfc-js .lfc-pop.is-in { animation: lfc-pop 1s cubic-bezier(.3, .7, .4, 1) both; }
	.lfc.lfc-js .lfc-pop.is-in .lfc-ph { animation: lfc-pop2 .9s cubic-bezier(.3, .7, .4, 1) .25s both; }
	/* 文字は下からふわっと */
	.lfc.lfc-js .lfc-up { opacity: 0; translate: 0 24px; transition: opacity 1s ease, translate 1.2s cubic-bezier(.2, .7, .2, 1); }
	.lfc.lfc-js .lfc-up.is-in { opacity: 1; translate: 0 0; }
	/* 黄色の段: キャラクターがゆらゆら */
	.lfc .lfc-s2 .lfc-d img { transform-origin: 50% 85%; animation: lfc-sway var(--t) ease-in-out var(--dl) infinite alternate; }
	/* ピンクの段: ランダムに点滅（周期と始まりを 1 つずつ変えている） */
	.lfc .lfc-s3 .lfc-d img { animation: lfc-blink var(--t) linear var(--dl) infinite; }
	/* ミントの段: お菓子がふわふわ上下（11/18） */
	.lfc .lfc-s1 .lfc-d img { animation: lfc-float var(--t) ease-in-out var(--dl) infinite alternate; }
	/* 画面の外では止める */
	.lfc.lfc-js .lfc-sec:not(.is-vis) .lfc-d img { animation-play-state: paused; }
}
@keyframes lfc-pop {
	0% { opacity: 0; scale: .5; }
	55% { opacity: 1; scale: 1.06; }
	78% { scale: .97; }
	100% { opacity: 1; scale: 1; }
}
@keyframes lfc-pop2 {
	0% { opacity: 0; scale: .7; }
	60% { opacity: 1; scale: 1.08; }
	100% { opacity: 1; scale: 1; }
}
@keyframes lfc-sway {
	from { rotate: -6deg; }
	to { rotate: 6deg; }
}
@keyframes lfc-float {
	from { translate: 0 6%; rotate: -3deg; }
	to { translate: 0 -6%; rotate: 3deg; }
}
@keyframes lfc-blink {
	0%, 58%, 100% { opacity: 1; }
	64%, 84% { opacity: 0; }
}
