/*
Theme Name: Banapo
Theme URI: https://banapo.com/
Author: Banapo
Description: Banapoカスタムテーマ
Version: 1.0
*/

html,
body {
	overflow-x: hidden;
}

html {
	margin: 0 !important;
}

body {
	position: relative;
	min-height: 100vh;
	font-family: "dnp-shuei-gothic-gin-std", sans-serif;
	color: #fff;
	margin: 0;
}

.chillax {
	font-family: 'Chillax', sans-serif !important;
}

/* tsunagi
=============================*/
#staff_page .custom-image-wrapper.first01 {
	position: absolute;
	width: 100%;
	max-width: 100%;
	margin: 9% auto;
	z-index: 4;
}

#staff_page .custom-image-wrapper.first02 {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: -11% auto 0;
	z-index: 4;
	background: url("/wp-content/themes/banapo/img/bg_all.webp") no-repeat;
	background-position: center 120px;
	background-size: cover;
	z-index: 0;
	padding: 0 0 57%;
}

#staff_page .custom-image-wrapper.first01 {
	position: absolute;
	width: 100%;
	max-width: 100%;
	margin: -10% auto 0;
	z-index: 4;
}

#staff_page .custom-image-wrapper.last {
	position: absolute;
	width: 100%;
	max-width: 100%;
	margin: -6% auto;
	z-index: 1;
}

.custom-image-wrapper img {
	width: 100%;
	display: block;
}

#staff_page .custom-image-wrapper.bokashi01 img,
#staff_page .custom-image-wrapper.bokashi02 img {
	width: 100%;
	height: 100px;
}

.fade-gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	#staff_page .custom-image-wrapper.first02 {
		margin: -19% auto 0;
		padding: 8% 0 75%;
	}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	#staff_page .custom-image-wrapper.first02 {
		margin: -12% auto 0;
		padding: 1% 0 65%;
	}
}

@media screen and (max-width: 767px) {
	#staff_page .custom-image-wrapper.first02 {
		margin: -3% auto 0;
		padding: 2% 0 130%;
		background-position: center 50px;
	}
}

/* movie
=============================*/
#staff_page #movie {
	position: relative;
}

#staff_page #movie video {
	position: relative;
	width: 100%;
	margin: 8% auto -5%;
	z-index: -1;
}

#staff_page .movie01 .toggleSoundBtn {
	bottom: 10%;
}

#staff_page .toggleSoundBtn {
	padding: 0.6em 1.2em;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	font-family: 'Chillax', sans-serif;
	font-weight: 600;
	cursor: pointer;
	bottom: 5%;
	position: absolute;
	bottom: 20%;
	left: 3%;
	z-index: 10;
}

@media screen and (max-width: 767px) {
	#staff_page .movie01 .toggleSoundBtn {
		bottom: 12%;
	}

	#staff_page .toggleSoundBtn {
		padding: 0.6em 1.2em;
		background: rgba(0, 0, 0, 0.6);
		color: #fff;
		border: none;
		border-radius: 6px;
		font-size: 0.6rem;
		font-family: 'Chillax', sans-serif;
		font-weight: 600;
		cursor: pointer;
		left: 3%;
		bottom: 8%;
	}
}

/* slider
=============================*/
#staff_page .swiper {
	position: relative;
	width: 100%;
	height: auto;
}

#staff_page .staff_slide {
	position: relative;
	padding-bottom: 60px;
	/* スライダー下にスペースを空ける */
}

#staff_page .swiper-slide {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: bold;
}

#staff_page .swiper-slide img {
	width: 100%;
	height: auto;
}

#staff_page .swiper-pagination-bullet {
	background-color: #ffffff;
	height: 12px;
	width: 12px;
	opacity: 0.75;
}

#staff_page .swiper-pagination-bullet-active {
	background-color: #ED7D2B !important;
}

#staff_page .swiper-button-prev img,
#staff_page .swiper-button-next img {
	width: 36px;
	height: auto;
}

#staff_page .staff_slide {
	padding: 0;
	position: relative;
}

#staff_page .swiper-controls {
	width: 20%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5%;
	margin-top: 5%;
}

#staff_page .swiper-controls .swiper-button-prev,
#staff_page .swiper-controls .swiper-button-next {
	position: static;
	width: 30px;
	height: 30px;
}

#staff_page .swiper-pagination {
	position: static !important;
	opacity: 1 !important;
	display: block !important;
	height: 30px;
}

@media screen and (max-width: 767px) {
	#staff_page .swiper-pagination-bullet {
		background-color: #ffffff;
		height: 10px;
		width: 10px;
		opacity: 0.75;
	}

	#staff_page .swiper-controls {
		width: 45%;
		margin: 0 auto;
		margin-top: 0;
	}

	#staff_page .swiper-controls .swiper-button-prev,
	#staff_page .swiper-controls .swiper-button-next {
		position: static;
		width: 25px;
		height: 25px;
	}

	#staff_page .swiper-pagination {
		position: static !important;
		opacity: 1 !important;
		display: block !important;
		height: 40px;
	}
}

/* staff_page
=============================*/
#staff_page {
	position: relative;
	width: 100%;
	margin: 0% auto;
	padding: 0 0 0;
}

#staff_page .staff_area {
	position: relative;
	padding: 10% 0 0;
	z-index: 4;
	background: url("/wp-content/themes/banapo/img/bg_all.webp");
	background-position: center bottom;
	background-size: cover;
	z-index: 0;
}

#staff_page .staff_area.staff02 {
	padding: 5% 0 0;
}

#staff_page .staff_info {
	padding: 5% 0;
	text-align: center;
}

#staff_page .staff_info .name {
	padding-bottom: 0.5em;
	font-size: 1.4rem;
	font-family: "Gothic A1", Sans-serif;
	font-weight: 600;
	letter-spacing: 0.1em;
}

#staff_page .staff_info .name span {
	font-size: 0.65em;
	font-family: 'Chillax', sans-serif;
	font-weight: 600;
	letter-spacing: 0.1em;
}

#staff_page .staff_info .position {
	font-size: 1.2rem;
	font-family: "Gothic A1", Sans-serif;
	font-weight: 600;
	letter-spacing: 0.1em;
}

#staff_page .staff_info .txt {
	padding: 1em 0 0;
	line-height: 1.8em;
}

#staff_page .swiper {
	width: 50%;
	overflow: hidden;
	margin: 3em auto;
}

#staff_page .swiper-slide p {
	position: relative;
	width: 80%;
}

#staff_page .swiper-slide p {
	position: relative;
	z-index: 0;
	width: 80%;
	height: auto;
	margin: 40px auto;
	border-radius: 50%;
}

#staff_page .swiper-slide p img {
	width: 100%;
	height: auto;
}

#staff_page .swiper-slide p::before,
#staff_page .swiper-slide p::after {
	position: absolute;
	top: 50%;
	left: 62%;
	display: block;
	content: '';
	border-radius: 50%;
}

#staff_page .swiper-slide p::before {
	z-index: -1;
	width: 101%;
	height: 101%;
	margin-top: -50%;
	margin-left: -60%;
	-webkit-animation: wb 6s infinite linear;
	animation: wb 6s infinite linear;
	background-color: rgb(255 255 255 / 30%);
}

#staff_page .swiper-slide p::after {
	z-index: -2;
	width: 101%;
	height: 101%;
	margin-top: -50%;
	margin-left: -63%;
	-webkit-animation: wb 7s infinite linear reverse;
	animation: wb 7s infinite linear reverse;
	background-color: rgb(255 255 255 / 50%);
}

@-webkit-keyframes wb {
	0% {
		-webkit-transform: rotate(0deg);
		border-radius: 50% 50% 50% 50%/50% 50% 50% 50%;
	}

	20% {
		-webkit-transform: rotate(72deg);
		border-radius: 70% 58% 58% 58%/70% 58% 58% 58%;
	}

	40% {
		-webkit-transform: rotate(144deg);
		border-radius: 58% 60% 58% 58%/58% 60% 58% 58%;
	}

	60% {
		-webkit-transform: rotate(216deg);
		border-radius: 58% 58% 65% 58%/58% 58% 65% 58%;
	}

	80% {
		-webkit-transform: rotate(288deg);
		border-radius: 58% 58% 58% 70%/58% 58% 58% 70%;
	}

	100% {
		-webkit-transform: rotate(360deg);
		border-radius: 50% 50% 50% 50%/50% 50% 50% 50%;
	}
}

@keyframes wb {
	0% {
		transform: rotate(0deg);
		border-radius: 50% 50% 50% 50%/50% 50% 50% 50%;
	}

	20% {
		transform: rotate(72deg);
		border-radius: 70% 58% 58% 58%/70% 58% 58% 58%;
	}

	40% {
		transform: rotate(144deg);
		border-radius: 58% 60% 58% 58%/58% 60% 58% 58%;
	}

	60% {
		transform: rotate(216deg);
		border-radius: 58% 58% 65% 58%/58% 58% 65% 58%;
	}

	80% {
		transform: rotate(288deg);
		border-radius: 58% 58% 58% 70%/58% 58% 58% 70%;
	}

	100% {
		transform: rotate(360deg);
		border-radius: 50% 50% 50% 50%/50% 50% 50% 50%;
	}
}


#staff_page table {
	width: 80%;
	margin: 0 auto 2em;
	font-size: 0.85em;
	line-height: 1.8em;
}

#staff_page th,
#staff_page td {
	padding: 0.5em 0;
}

#staff_page th p {
	width: 2em;
	line-height: 1.8em;
	font-size: 1.2em;
	background: #fff;
}

#staff_page td {
	width: 5em;
	font-size: 1rem;
	line-height: 1.6rem;
}

#staff_page .profile-section {
	width: 85%;
	margin: 0 auto;
	padding: 0 0 5%;
	color: #fff;
	font-family: "dnp-shuei-gothic-gin-std", sans-serif;
	line-height: 1.8;
}

#staff_page .profile-block {
	width: 80%;
	margin: 0 auto;
	border-top: 1px dashed #fff;
	padding: 20px 0;
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

#staff_page .profile-block:first-child {
	border-top: none;
}

#staff_page .title {
	min-width: 120px;
	flex-shrink: 0;
	background: #fff;
	color: #3088A3;
	font-family: "Gothic A1", Sans-serif;
	padding: 5px 15px;
	border-radius: 300px;
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	margin: 0 5% 0 0;
}

#staff_page .content {
	flex: 1;
	font-size: 1rem;
	line-height: 1.6rem;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	#staff_page .swiper {
		width: 65%;
	}

	#staff_page .profile-block {
		width: 90%;
	}

	#staff_page .staff_info .position {
		font-size: 1.2rem;
		font-family: "Gothic A1", Sans-serif;
		font-weight: 600;
		letter-spacing: 0.1em;
	}

	#staff_page .staff_info .txt {
		font-size: 0.85em;
		padding: 1em 0 0;
		line-height: 1.8em;
	}

	#staff_page .title {
		min-width: 100px;
		padding: 5px 15px;
		font-size: 0.85rem;
		margin: 0 3% 0 0;
	}

	#staff_page .content {
		flex: 1;
		font-size: 0.85rem;
		line-height: 1.4rem;
	}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	#staff_page .swiper {
		width: 65%;
	}
}

@media screen and (max-width: 767px) {
	#staff_page .staff_info .name {
		padding-bottom: 0.5em;
		font-size: 1.4rem;
	}

	#staff_page .staff_info .name span {
		font-size: 0.6em;
		font-weight: 600;
		letter-spacing: 0.1em;
	}

	#staff_page .staff_info .position {
		font-size: 1rem;
	}

	#staff_page .staff_info .txt {
		font-size: 0.85em;
		padding: 1em 0 0;
		line-height: 1.8em;
	}

	#staff_page .swiper {
		width: 80%;
		overflow: hidden;
		margin: 1em auto 0;
	}

	#staff_page .swiper-slide p {
		position: relative;
		width: 80%;
	}

	#staff_page .swiper-slide p {
		position: relative;
		z-index: 0;
		width: 80%;
		height: auto;
		margin: 40px auto;
		border-radius: 50%;
	}

	#staff_page .swiper-slide p img {
		width: 100%;
		height: auto;
	}

	#staff_page table {
		width: 80%;
		margin: 0 auto 2em;
		font-size: 0.85em;
		line-height: 1.8em;
	}

	#staff_page th,
	#staff_page td {
		padding: 0.5em 0;
	}

	#staff_page th p {
		width: 2em;
		line-height: 1.8em;
		font-size: 1.2em;
		background: #fff;
	}

	#staff_page td {
		width: 5em;
		font-size: 1rem;
		line-height: 1.6rem;
	}

	#staff_page .profile-section {
		width: 85%;
		margin: 0 auto;
		padding: 0 0 5%;
	}

	#staff_page .profile-block {
		width: 100%;
		display: block;
		padding: 8% 0;
	}

	#staff_page .title {
		width: 40%;
		min-width: 85px;
		font-size: 0.85rem;
		margin: 0 auto 2em;
	}

	#staff_page .content {
		font-size: 0.85rem;
	}

}