@charset "utf-8";

/*
===== ypp_index ===========================*/

/* .c-headline_01
--------------------*/
#ypp_index .c-headline_01 .bg {
	background: url(/assets/ypp/img/index_bg_main.jpg) no-repeat 50% 50%;
	background-size: cover;
}

#ypp_index .c-headline_01 h1 {
	min-width: 312px;
	padding-left: 32px;
	padding-right: 32px;
}

@media (max-width: 768px) {
	#ypp_index .c-headline_01 .bg {
		background: url(/assets/ypp/img/index_bg_main_sp.jpg) no-repeat 50% 50%;
		background-size: cover;
	}

	#ypp_index .c-headline_01 h1 {
		min-width: 248px;
		padding-left: 25px;
		padding-right: 25px;
	}
}

/* p-desc
--------------------*/
#ypp_index .p-desc {
	margin: 64px 0 0;
}

#ypp_index .p-desc h2 {
	margin: 0 0 56px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.4;
}

@media (max-width: 768px) {
	#ypp_index .p-desc {
		margin: 32px 0 0;
	}

	#ypp_index .p-desc h2 {
		margin: 0 0 24px;
		font-size: 24px;
		line-height: calc(33 / 24);
	}
}

/* p-works
--------------------*/
#ypp_index .p-works {
	margin: 112px 0 0;
	padding: 0 0 112px;
}

#ypp_index .p-works h2 {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.4;
}

#ypp_index .p-works h3 {
	font-size: 32px;
	font-weight: 700;
	line-height: calc(44  /32);
}

#ypp_index .p-works .outline {
	margin: 40px 0 0;
	padding: 64px 48px 72px;
	background: #F1E2B0;
	border-radius: 20px;
}

#ypp_index .p-works .outline + .outline {
	margin: 56px 0 0;
}

#ypp_index .p-works .wrap {
	display: flex;
	gap: 32px;
	margin: 64px 0 0;
}

#ypp_index .p-works .wrap:nth-of-type(2) {
	flex-direction: row-reverse;
}

#ypp_index .p-works .wrap .p-slide_wrap {
	width: calc((594 / 1104) * 100%);
}

#ypp_index .p-works .wrap .desc {
	flex: 1;
}

#ypp_index .p-works .wrap .desc h4 {
	margin: 32px 0 0;
	font-size: 28px;
	font-weight: 700;
	line-height: calc(38 / 28);
}

#ypp_index .p-works .wrap .desc p {
	margin: 24px -2px 0 0;
}

#ypp_index .p-works .wrap .desc a {
	text-decoration: underline;
}

#ypp_index .p-works .wrap .desc .c-note_01 {
	margin: 16px 0 0;
}

#ypp_index .p-works .hazy_challenge {
	margin: 32px 0 0;
	padding: 24px;
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 10px;
}

#ypp_index .p-works .hazy_challenge dt {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: calc(33 / 24);
}

#ypp_index .p-works .other {
	margin: 64px 0 0;
}

#ypp_index .p-works .other dt {
	margin: 0 0 24px;
	font-size: 28px;
	font-weight: 700;
	line-height: calc(38/ 28);
}

#ypp_index .p-works .other dd .c-note_01 {
	margin: 16px 0 0;
}

#ypp_index .p-works .other dd .c-note_01 a {
	text-decoration: underline;
}

#ypp_index .p-works .other dd .sns {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 24px 0 0;
}

#ypp_index .p-works .other dd .sns li {
	width: 41.95px;
}

#ypp_index .p-slide_wrap_02 {
	margin: 64px 0 0;
}

#ypp_index .p-slide_wrap_02 .inner {
	padding: 32px;
	background: #112240;
	border-radius: 12px;
}

#ypp_index .p-slide_wrap_02 .inner .swiper {
	border-radius: 8px;
}

@media (max-width: 768px) {
	#ypp_index .p-works {
		margin: 56px 0 0;
		padding: 0 0 56px;
	}

	#ypp_index .p-works h2 {
		font-size: 24px;
		line-height: calc(33 / 24);
	}

	#ypp_index .p-works h3 {
		font-size: 20px;
		line-height: calc(27  /20);
	}

	#ypp_index .p-works .outline {
		margin: 40px 0 0;
		padding: 40px 16px 48px;
		background: #F1E2B0;
		border-radius: 10px;
	}

	#ypp_index .p-works .outline + .outline {
		margin: 40px 0 0;
	}

	#ypp_index .p-works .wrap {
		display: block;
		margin: 32px 0 0;
	}

	#ypp_index .p-works .wrap + .wrap {
		margin: 56px 0 0;
	}

	#ypp_index .p-works .wrap .p-slide_wrap {
		width: 100%;
	}

	#ypp_index .p-works .wrap .desc {
		flex: 1;
	}

	#ypp_index .p-works .wrap h4 {
		margin: 0 0 16px;
		font-size: 20px;
		font-weight: 700;
		line-height: calc(27 / 20);
	}

	#ypp_index .p-works .wrap .desc p {
		margin: 24px 0 0;
	}

	#ypp_index .p-works .hazy_challenge {
		margin: 24px 0 0;
		padding: 16px;
	}

	#ypp_index .p-works .hazy_challenge dt {
		margin: 0 0 16px;
		font-size: 20px;
		line-height: calc(27 / 20);
	}

	#ypp_index .p-works .other {
		margin: 56px 0 0;
	}

	#ypp_index .p-works .other dt {
		margin: 0 0 24px;
		font-size: 20px;
		line-height: calc(27/ 20);
	}

	#ypp_index .p-works .other dd .sns {
		justify-content: center;
		gap: 24px;
		margin: 24px 0 0;
		padding: 0 0 8px;
	}

	#ypp_index .p-works .other dd .sns li {
		width: 32px;
	}

	#ypp_index .p-slide_wrap_02 {
		margin: 32px 0 -16px;
	}

	#ypp_index .p-slide_wrap_02 .inner {
		padding: 8px;
		border-radius: 4px;
	}

	#ypp_index .p-slide_wrap_02 .inner .swiper {
		border-radius: 4px;
	}
}


/* p-slide
--------------------*/
#ypp_index .p-slide {
	position: relative;
	padding: 0 0 56px;
}

#ypp_index .p-slide .swiper {
	border-radius: 12px;
	overflow: hidden;
}

#ypp_index .p-slide .swiper-button-prev,
#ypp_index .p-slide .swiper-button-next {
	display: block;
	top: inherit;
	bottom: 0;
	width: 40px;
	height: 40px;
	margin: 0;
	border: 2px solid #112240;
	border-radius: 8px;
	transition: all .3s ease;
}

#ypp_index .p-slide .swiper-button-prev {
	left: inherit;
	right: 64px;
}

#ypp_index .p-slide .swiper-button-next {
	right: 0;
}

#ypp_index .p-slide .swiper-button-prev:after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 6px;
	height: 12px;
	background: url(/assets/img/common/bullet_arrow_05_n.svg) no-repeat 50% 50%;
	background-size: 6px auto;
}

#ypp_index .p-slide .swiper-button-next:after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 6px;
	height: 12px;
	background: url(/assets/img/common/bullet_arrow_01_n.svg) no-repeat 50% 50%;
	background-size: 6px auto;
}

#ypp_index .p-slide .swiper-button-disabled {
	display: none !important;
}

#ypp_index .p-slide .swiper-pagination {
	bottom: 8px;
	font-size: 0;
	line-height: 0;
	z-index: 10;
}

#ypp_index .p-slide .swiper-pagination-bullet {
	margin: 0 8px;
	width: 16px;
	height: 16px;
	background: #ffffff;
	transition: all .3s ease;
	opacity: 1;
}

#ypp_index .p-slide .swiper-pagination-bullet:hover {
	background: #112240;
}

#ypp_index .p-slide .swiper-pagination-bullet-active {
	background-color: #112240 !important;
}

@media (min-width: 769px) {
	#ypp_index .p-slide .swiper-button-prev:hover,
	#ypp_index .p-slide .swiper-button-next:hover {
		background: #112240;
	}

	#ypp_index .p-slide .swiper-button-prev:hover:after {
		background: url(/assets/img/common/bullet_arrow_05_y.svg) no-repeat 50% 50%;
		background-size: 6px auto;
	}

	#ypp_index .p-slide .swiper-button-next:hover:after {
		background: url(/assets/img/common/bullet_arrow_01_y.svg) no-repeat 50% 50%;
		background-size: 6px auto;
	}
}

@media (max-width: 768px) {
	#ypp_index .p-slide {
		padding: 0 0 24px;
	}

	#ypp_index .p-slide .swiper {
		border-radius: 6px;
	}

	#ypp_index .p-slide .swiper-button-prev,
	#ypp_index .p-slide .swiper-button-next {
		display: none;
	}

	#ypp_index .p-slide .swiper-pagination {
		bottom: 0;
	}

	#ypp_index .p-slide .swiper-pagination-bullet {
		margin: 0 8px;
		width: 8px;
		height: 8px;
	}

	#ypp_index .p-slide .swiper-pagination-bullet:hover {
		background: #ffffff;
	}
}