/* CSS Document */
@import url("reset.css");
@import url("common.css");


/* title
---------------------------------------------------------- */
#titleHanger{
	position: relative;
	width: 100%;
	height: 25vh;
	background: fixed url(../img/teaser/mv_bg01.jpg) no-repeat center / cover;
	border-radius: 50px 50px 0 0;
}
#titleHanger::after{
	position: absolute;
	content: '';
	bottom: 0;
	left: calc(50% - 4rem);
	display: block;
	width: 8rem;
	height: 6px;
	border-radius: 3px 3px 0 0;
	background-color: var(--mainColor);
}

#titleHanger h1{
	margin: auto;
	color: var(--mainColor);
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
	letter-spacing: .3rem;
	opacity: 0;
}

@keyframes fadein_text {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
#titleHanger.fadeIn h1{ animation: fadein_text 1.2s forwards;}

h2{
	position: relative;
	margin: 0 0 50px 0;
	padding: 30px 0;
	color: var(--textColor);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	border: 2px solid var(--mainColor);
	border-radius: 10px;
}
h2:before,
h2:after {
	position: absolute;
	left: 0;
	width: 100%;
	content: '';
	border-top: 2px dotted var(--mainColor);
}
h2:before { top: 6px;}
h2:after { bottom: 6px;}

@media screen and (max-width: 690px){
	#titleHanger{ height: 25vh;}
	#titleHanger h1{
		font-size: 1.9rem;
		letter-spacing: .2rem;
	}
}

/* Text */
h3{
	position: relative;
	margin: 50px 0 30px;
	padding: 2rem 0;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.6;
	text-align: center;
}
h3::after{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	content: '';
	background-image: -webkit-repeating-linear-gradient(135deg, var(--mainColor), var(--mainColor) 1px, transparent 2px, transparent 5px);
	background-image: repeating-linear-gradient(-45deg, var(--mainColor), var(--mainColor) 1px, transparent 2px, transparent 5px);
	background-size: 7px 7px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

h4{
	margin: 50px 0 30px;
	padding: 1rem 1.5rem;
	background-color: var(--mainBgColor);
	border-left: 2px dotted var(--mainColor);
	border-radius: 0 10px 10px 0;
	color: var(--textColor);
	font-size: 1.4rem;
	line-height: 1.6;
	font-weight: 600;
}

h5{
	margin: 40px 0 20px;
	padding: 1rem 0;
	border-bottom: 2px dotted var(--mainColor);
	color: var(--mainColor);
	font-size: 1.3rem;
	line-height: 1.6;
	font-weight: 600;
}

h6{
	margin: 40px 0 20px;
	padding: 1rem;
	background-color: var(--mainBgColor);
	border-radius: 10px;
	color: var(--textColor);
	font-size: 1.2rem;
	line-height: 1.6;
	font-weight: 600;
}


/* contents
---------------------------------------------------------- */
.author{ margin: 20px 0;}
.author p{
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: right;
}
.author p:first-child{ margin-bottom: 10px;}
.author p small{ font-weight: 500;}

section{ margin: 60px 0;}

@media screen and (max-width: 690px){
	section{ margin: 30px 0;}
}

/* chapter1 */
.flow_item{
	position: relative;
	margin: 0 0 40px 0;
	padding: 25px 30px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.flow_item::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -30px;
	margin: auto;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid var(--subColor);
}
.flow_item:last-child{ margin: 0;}
.flow_item:last-child::after{ display: none;}
.flow_item p{ margin: 5px 0;}

.comic{ justify-content: center;}
.comic_item{
	width: calc(100% / 2);
	margin: 0;
	padding: 15px;
}
.comic_item img{
	line-height: 0;
	border: 1px solid #ccc;
}
figcaption{
	font-size: 0.9rem;
	text-align: center;
}

.recipe_item{
	width: calc(100% / 4);
	margin: 0;
	padding: 15px;
}

@media screen and (max-width: 690px){
	.flow_item{ padding: 5px 10px;}
	.comic_item,.recipe_item{
		width: calc(100% / 2);
		padding: 15px;
	}
}


/* chapter2 */
.step_list li{
	width: 48%;
	margin: 20px 0;
	text-align: center;
}
.step_list li img{
	width: 100%;
	border-radius: 20px;
	line-height: 0;
}
.step_list li p{ margin: 5px 0 0 0;}
.step_list li .link_btn{
	min-width: inherit;
	margin: 5px auto 0;
}

.step_hanger h5 span{
	margin: 0 10px 0 0;
	padding: 5px 20px;
	background: var(--mainColor);
	border-radius: 5px;
	color: #fff;
	font-size: 1.2rem;
}


/* chapter3 */
.img_hanger{
	margin: 40px 0;
	text-align: center;
}

.img_hanger.img_s img{
	width: 100%;
	max-width: 600px;
}