@charset "utf-8";

/* ====================================================================

	Style - コロモ替え LP

==================================================================== */


/* ====================================================================
	ヒーロー
==================================================================== */
section.hero {
	height: calc(350 * var(--px));
	background: linear-gradient(to right, var(--pink), var(--pink) 25%, var(--green) 25%, var(--green) 50%, var(--orange) 50%, var(--orange) 75%, var(--blue) 75%, var(--blue) 100%);
}
.tagline {
	width: calc(598 * var(--px));
	filter: drop-shadow(0 0 10px rgb(0 0 0 / 0.4));
	position: absolute;
	left: 50%;
	top: calc(var(--header-height) / 2);
	translate: -50% -50%;
	z-index: 1;
}
section.hero .section-header {
	width: calc(720 * var(--px));
	padding-block: var(--m2);
	padding-inline: var(--m4);
	border-radius: calc(30 * var(--px));
	background: white;
	position: absolute;
	left: 50%;
	top: var(--header-height);
	translate: -50% 0;
	z-index: 1;
}
section.hero .section-header .subline {
	width: calc(269 * var(--px));
}
section.hero .section-header .headline {
	width: calc(446 * var(--px));
}

.billboard {
	width: 100%;
	height: auto;
	margin-inline: auto;
}
@media screen and (max-width: 767px) {
	body#home section.hero {
		height: calc(350 * var(--px));
	}
	.tagline {
		width: 60%;
		top: var(--header-height);
	}
	section.hero .section-header {
		width: calc(100% - var(--m8));
		top: calc(var(--header-height) + var(--m8));
	}
	section.hero .section-header .subline {
		width: 60%;
	}
	section.hero .section-header .headline {
		width: 100%;
	}
}

/* ====================================================================
	レシピ
==================================================================== */
section.recipe {
	--bg: var(--pale-pink);
	background-color: var(--bg);
	background-image:url('../imgs/common/background-spring.webp'), url('../imgs/common/background-flow.webp'), url('../imgs/common/background-bubble.webp');
	background-repeat: repeat-y;
	background-size: 100%;
	padding-top: var(--m6);

	transform-origin: top;
	animation: background-progress linear;
	animation-timeline: scroll();
}
@keyframes background-progress {
	from {
		background-position: center 0%, center 0%, center -5%;
	}
	to {
		background-position: center 25%, center -5%, center 15%;
	}
}
@media screen and (max-width: 767px) {
	section.recipe {
		background-image:url('../imgs/common/background-spring@sp.webp'), url('../imgs/common/background-flow@sp.webp'), url('../imgs/common/background-bubble@sp.webp');

		animation: none;
		animation-timeline: unset;
	}
}
/* ====================================================================
	レシピ＞ヘッダー
==================================================================== */
.recipe-header {
	display: flex;
	align-items: stretch;
	background: white;
	box-shadow: var(--m2) var(--m2) 6px 0 rgb(0 0 0 / 0.1);
}
.recipe-header .image {
	width: 48%;
}
.recipe-header .image img {
	height: 100%;
	object-fit: cover;
}
.recipe-header .text {
	flex: 1;
	align-self: center;
	padding-block: var(--m2);
	padding-inline: var(--m4);
}
.recipe-header .headline {
	font-size: var(--medium-size);
	font-weight: 700;
}
.recipe-header .name {
	margin-block: 0.3lh;
	font-size: var(--huge-size);
	font-weight: 700;
}
.recipe-header .time {
	font-weight: 700;
}
.recipe-header .tags {
	margin-block: var(--m2);
	display: flex;
	flex-wrap: wrap;
	gap: var(--m);
}
.recipe-header .tag {
	padding-block: 0.1lh;
	padding-inline: 1ic;
	background: var(--pink);
	border-radius: 3px;
	color: white;
	font-weight: 700;
	line-height: 1.5;
}
@media screen and (max-width: 767px) {
	.recipe-header {
		display: block;
	}
	.recipe-header .image {
		width: 100%;
	}
}

/* ====================================================================
	レシピ＞動画
==================================================================== */
.nav-movie {
	margin-top: var(--m8);
	width: auto;
	max-width: 720px;
	margin-inline: auto;
	border-radius: var(--m2);
	background: white;
	box-shadow: var(--m2) var(--m2) 6px 0 rgb(0 0 0 / 0.1);
	display: flex;
	align-items: stretch;
}
.nav-movie .thumbnail {
	width: 41.66%;
	border-radius: var(--m2) 0 0 var(--m2);
	overflow: hidden;
	--icon-size: calc(63 * var(--px));
}
.nav-movie .text {
	flex: 1;
	align-self: center;
	padding-inline: var(--m3) var(--m2);
}
.nav-movie .text h2 {
	font-size: calc(var(--medium-size) * 1.15);
	margin-bottom: 0.75lh;
}
.nav-movie .text svg.icon {
	fill: var(--pink);
	margin-left: 0.5ic;
}

@media (any-hover: hover) {
	.nav-movie .thumbnail img {
		transition: var(--transition);
	}
	.nav-movie:hover .thumbnail img {
		filter: brightness(0.5);
	}
}
@media screen and (max-width: 767px) {
	.nav-movie {
		width: 70%;
		display: block;
	}
	.nav-movie .thumbnail {
		width: 100%;
		border-radius: var(--m2) var(--m2) 0 0;
		--icon-size: var(--m10);
	}
	.nav-movie .text {
		padding-block: var(--m4);
		padding-inline: var(--m3);
	}
	.nav-movie .text h2 {
		font-size: var(--medium-size);
		text-align: center;
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
	}
	.nav-movie .text svg.icon {
		margin-left: 0;
	}
}

/* ====================================================================
	レシピ＞材料・作り方
==================================================================== */
.recipe-detail {
	margin-top: var(--m8);
}
.recipe-detail .container {
	display: flex;
}
.recipe-detail .container > div {
	padding-block: var(--m2) var(--m3);
	padding-inline: var(--m2)
}
.recipe-detail h2 {
	font-size: var(--medium-size);
	font-weight: 700;
	color: var(--pink);
	padding-bottom: 0.3lh;
	border-bottom: 2px solid currentColor;
}
@media screen and (max-width: 767px) {
	.recipe-detail .container {
		display: block;
	}
	.recipe-detail h2 {
		text-align: center;
	}
}

/* ====================================================================
	レシピ＞材料
==================================================================== */
.ingredients {
	width: calc(420 * var(--px));
	background: white;
}
.ingredients dl {
	padding-block: 1lh;
	padding-inline: 1.5ic;
	display: flex;
	justify-content: space-between;
	gap: var(--m);
	line-height: 1.5;
}
.ingredients dl + dl {
	border-top: 1px solid var(--pink-gray);
}
.ingredients dl:has(dl) {
	padding-right: 0;
}
.ingredients dt {
	flex: 3 1 auto;
	font-weight: 400;
}
.ingredients dl:has(dl) > dt {
	flex: 1 1 auto;
	align-self: center;
	font-weight: 700;
	color: var(--pink);
}
.ingredients dd {
	flex: 1 0 var(--m6);
	text-align: right;
}
.ingredients dl:has(dl) > dd {
	flex: 1 1 auto;
	text-align: left;
}

.ingredients dl.oil-info {
	justify-content: flex-start;
	align-items: center;
}
.ingredients .oil-info dt {
	flex: 0 0 var(--m6);
}
.ingredients .oil-info .image {
	height: calc(103 * var(--px));
	filter: drop-shadow(3px 3px 3px rgba(0 0 0 / 0.3));
	margin-inline: auto;
} 
.ingredients .oil-info dd {
	flex: 1;
	text-align: left;
}
.ingredients .oil-info a.nav-item {
	margin-top: 0.5lh;
	display: block;
	font-size: var(--medium-size);
	font-weight: 700;
	color: var(--pink);
	text-decoration: underline;
}
@media (any-hover: hover) {
	.ingredients .oil-info a.nav-item:hover {
		text-decoration: none;
		color: black;
	}
}
@media screen and (max-width: 767px) {
	.ingredients {
		width: 100%;
	}
	.ingredients dl {
		padding-inline: var(--m2);
		font-size: 90%;
	}
	.ingredients dl:has(dl) {
		padding-block: 0;
	}
	.ingredients dl:has(dl) > dt {
		flex: 0 1 auto;
	}
	.ingredients dd {
		flex-basis: 30%;
	}
	.ingredients .oil-info dt {
		flex-basis: 30%;
	}
}

/* ====================================================================
	レシピ＞作り方
==================================================================== */
.directions {
	flex: 1;
	background: rgb(255 255 255 / 0.85);
}
.directions dl {
	padding-block: var(--m2);
	padding-inline: var(--m5) 1.5ic;
	position: relative;
	z-index: 0;
}

.directions dl + dl {
	border-top: 1px dashed var(--pink-gray);
}
.directions dt:is(.prepare, .number) {
	position: absolute;
	top: var(--m2);
}

.directions dt.prepare {
	width: fit-content;
	padding-inline: 0.3ic;
	background: var(--pink);
	border-radius: 3px;
	font-size: 87.5%;
	color: white;
	left: 0;
}
.directions dt.number {
	width: 1lh;
	height: 1lh;
	background: white;
	display: grid;
	place-items: center;
	font-family: "Roboto", sans-serif;
	font-weight: 900;
	font-size: 112.5%;
	left: var(--ms);
}

.directions dt.number::before,
.directions dt.number::after {
	display: block;
	width: 105%;
	position: absolute;
	inset: 0;
}
.directions dt.number::before {
	height: 103%;
	translate: 3px -3px;
	rotate: 2deg;
	background: #b0e02b;
	z-index: -1;
}
.directions dt.number::after {
	height: 105%;
	translate: -5px 3px;
	rotate: -2deg;
	background: #f589ba;
	z-index: -2;
}
.directions ul {
	list-style-type: disc;
	padding-left: 1.3ic;
}
.directions li + li {
	margin-top: 0.5lh;
}
.directions .set {
	font-weight: 700;
	color: var(--pink);
}
.directions .point {
	margin-top: var(--m3);
	width: fit-content;
	padding-block: var(--m2);
	padding-inline: var(--m2);
	border: 1px solid var(--pink-gray);
	border-radius: var(--m);
	position: relative;
	z-index: 0;
}
.directions .point h3 {
	font-weight: 700;
	color: var(--pink);
	margin-bottom: 0.5lh;
}
@media screen and (max-width: 767px) {
	.directions {
		margin-top: var(--m4);
		background: white;
	}
	.directions dl {
		padding-block: var(--m4);
		padding-inline: var(--m3);
	}
	.directions dt:is(.prepare, .number) {
		position: relative;
		margin-inline: auto;
		margin-bottom: var(--m4);
	}
	.directions .point {
		padding-block: var(--m4);
		padding-inline: var(--m3);
	}
	.directions .point h3 {
		text-align: center;
	}
}


/* ====================================================================
	レシピ＞開発者
==================================================================== */
.recipe-creator {
	display: none;
	
	margin-top: var(--m10);
	width: auto;
	max-width: 840px;
	padding-block: var(--m4);
	padding-inline: var(--m4);
	margin-inline: auto;
	border-radius: var(--m2);
	background: white;
	box-shadow: var(--m2) var(--m2) 6px 0 rgb(0 0 0 / 0.1);
}
.recipe-creator .portrait {
	margin-top: calc(-150 * var(--px));
	width: calc(180 * var(--px));
	border-radius: 100%;
	margin-inline: auto;
}
.recipe-creator h2 {
	font-size: var(--medium-size);
	font-weight: 700;
	color: var(--pink);
	margin-bottom: 0.5lh;
}
.recipe-creator h3 {
	font-size: var(--medium-size);
	margin-bottom: 0.5lh;
}

.nav-home {
	margin-top: var(--m10);
	margin-inline: auto;
}