.p-about {
	padding-top: 11.125rem;
}

.p-about__top {
	font-size: 0.875rem;
	letter-spacing: 0.125em;
	line-height: 1.7142857143;
	margin-top: 6.25rem;
}

.p-about__bigText {
	margin-top: 0.875rem;
}

.p-about__lead {
	font-size: 1.5rem;
	letter-spacing: -0.015em;
	margin-top: 1.0625rem;
}

.p-about__blocks {
	margin-top: 7.3125rem;
}

.p-about__block {
	align-items: center;
	display: grid;
	gap: 2.9375rem;
	grid-template-columns: 16.25rem 1fr;
}

.p-about__block + .p-about__block {
	margin-top: 4.125rem;
}

.p-about__content {
	max-width: 32rem;
}

.p-about__text {
	margin-top: 1.0625rem;
}

.p-about__btn {
	margin-top: 1.5rem;
}

.p-about__bnr {
	margin-top: 4rem;
}

.p-gallery {
	display: flex;
	flex-wrap: nowrap;
	margin-left: -33.3333333333vw;
	margin-top: 8.0625rem;
	overflow: hidden;
	width: 100vw;
}

.p-gallery picture {
	flex-shrink: 0;
	padding-right: 5.25rem;
	width: calc(124.1145833333vw + 5.25rem);
}

.p-gallery picture:nth-child(1 of picture) {
	animation: gallery_slide1 60s -90s linear infinite;
}

.p-gallery picture:nth-child(2 of picture) {
	animation: gallery_slide2 60s -60s linear infinite;
}

.p-index {
	display: grid;
	grid-template-columns: 33.3333333333vw 1fr;
	overflow: clip;
}

.p-index__imgs {
	background-color: #FFFAEC;
	height: 100vh;
	position: sticky;
	top: 0;
}

.p-index__img {
	height: -moz-fit-content;
	height: fit-content;
	inset: 0;
	margin: auto;
	opacity: 0;
	position: absolute;
	transition: all 1s;
	width: 100%;
}

.p-index__img img {
	width: 100%;
}

.p-index__img.is-active {
	opacity: 1;
}

.p-loading {
	background-color: #FFFAEC;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 1s;
	width: 100%;
	z-index: 1000;
}

.p-loading.is-hide {
	opacity: 0;
	visibility: hidden;
}

.p-loading__logo {
	height: 10.625rem;
	inset: 0;
	margin: auto;
	position: absolute;
	width: 10.625rem;
}

.p-menu {
	margin-top: -1rem;
	padding-block: 6.25rem;
}

.p-menu__main {
	margin-top: 1.3125rem;
}

.p-mv {
	padding-top: 18.75rem;
}

.p-mv__inner {
	max-width: unset;
	padding-inline: 3.4375rem;
}

.p-mv__title {
	position: relative;
	width: 35.25rem;
}

.p-mv__title::before {
	background-image: linear-gradient(135deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0), white, white);
	background-position: bottom right;
	background-size: 300% 300%;
	content: "";
	height: 100%;
	inset: 0;
	position: absolute;
	transition: background-position 4s ease, opacity 0.4s ease;
	width: 100%;
	z-index: 98;
}

.p-mv__title.is-active::before {
	background-position: top left;
}

.p-mv__lead {
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	line-height: 1.7;
	margin-top: 1.8125rem;
	opacity: 0;
	position: relative;
	transition: all 0.75s;
	width: -moz-fit-content;
	width: fit-content;
}

.p-mv__lead.is-active {
	opacity: 1;
}

.p-mv__main {
	aspect-ratio: 1920/1032;
	margin-top: 1.6875rem;
	opacity: 0;
	overflow: hidden;
	position: relative;
	transition: all 1.2s ease;
}

.p-mv__main.is-active {
	opacity: 1;
}

.p-mv__wave {
	left: 0;
	position: absolute;
	top: -1px;
	width: 100%;
	z-index: 1;
}

.p-mv__img {
	-o-object-fit: cover;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.p-top-staff {
	padding-bottom: 4.375rem;
	padding-top: 14.25rem;
}

.p-top-staff__img {
	border-radius: 5rem;
	margin-top: 3.125rem;
	overflow: hidden;
}

.p-top-staff__lead {
	margin-top: 1.875rem;
}

.p-top-staff__text {
	margin-top: 0.9375rem;
	max-width: 51.25rem;
}

.p-top-staff__btn {
	margin-top: 2rem;
}

.p-top-staff__greeting {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr 25rem;
	margin-top: 8.3125rem;
	max-width: 54.375rem;
}

.p-top-staff__name {
	font-size: 1.125rem;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin-top: 1.4375rem;
}

.p-top-staff__greeting-img {
	border-radius: 5rem;
	overflow: hidden;
}

.p-top-staff__greeting-img img {
	-o-object-fit: cover;
	aspect-ratio: 400/395;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.p-top-staff__btn2 {
	margin-top: 3.75rem;
}

@media screen and (max-width: 767px) {

.p-about {
	padding-top: 3.3125rem;
}

.p-about__top {
	margin-top: 1.375rem;
}

.p-about__bigText {
	margin-top: 0.75rem;
}

.p-about__lead {
	font-size: 1.25rem;
	margin-top: 1.625rem;
}

.p-about__blocks {
	margin-top: 2.1875rem;
}

.p-about__block {
	gap: 1.3125rem;
	grid-template-columns: 100%;
}

.p-about__block + .p-about__block {
	margin-top: 3.125rem;
}

.p-about__content {
	max-width: 100%;
}

.p-about__text {
	margin-top: 0.875rem;
}

.p-about__btn {
	margin-top: 1.0625rem;
}

.p-about__bnr {
	margin-top: 2.8125rem;
}

.p-gallery {
	margin-bottom: 4.5625rem;
	margin-left: 0;
	margin-top: 3rem;
}

.p-gallery picture {
	padding-right: 2.25rem;
	width: calc(301.5384615385vw + 2.25rem);
}

.p-index {
	display: block;
}

.p-loading__logo {
	height: 6.25rem;
	width: 6.25rem;
}

.p-menu {
	margin-top: 0;
	padding-block: 2.125rem 2.5625rem;
}

.p-menu__main {
	margin-top: 0.875rem;
}

.p-mv {
	padding-top: 10rem;
}

.p-mv__inner {
	padding-inline: 1.125rem;
}

.p-mv__title {
	width: 15.25rem;
}

.p-mv__lead {
	font-size: 1.0625rem;
	line-height: 1.5;
	margin-top: 0.8125rem;
}

.p-mv__main {
	aspect-ratio: 390/418;
}

.p-top-staff {
	padding-bottom: 0;
	padding-top: 4.0625rem;
}

.p-top-staff__img {
	border-radius: 1.875rem;
	margin-top: 1.375rem;
}

.p-top-staff__lead {
	margin-top: 0.8125rem;
}

.p-top-staff__text {
	margin-top: 0.8125rem;
}

.p-top-staff__btn {
	margin-top: 1.6875rem;
}

.p-top-staff__greeting {
	gap: 1.25rem;
	grid-template-columns: 100%;
	margin-top: 1.625rem;
}

.p-top-staff__name {
	margin-top: 0.9375rem;
}

.p-top-staff__greeting-img {
	border-radius: 1.875rem;
	margin-inline: auto;
	order: -1;
	width: 14.375rem;
}

.p-top-staff__btn2 {
	margin-top: 2.625rem;
}

}

@keyframes gallery_slide1 {

0% {
	transform: translate(100%);
}

to {
	transform: translate(-100%);
}

}

@keyframes gallery_slide2 {

0% {
	transform: translate(0);
}

to {
	transform: translate(-200%);
}

}

