@font-face {
	src: url(../font/FuturaMedium.ttf);
	font-family: "futura";
}

body {
	font-family: zen-maru-gothic, sans-serif;
}

body {
	font-weight: 500;
}

.u-desktop {
	display: none;
}

html.is-fixed {
	overflow: hidden;
}

.p-about__lists {
	gap: 49px 9px;
	gap: 3.0625rem 0.5625rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(7, 10.375rem);
	margin-top: 73px;
	margin-top: 4.5625rem;
}

.p-about__list {
	background-color: #fff;
	border: 1px solid #000000;
	border: 0.0625rem solid #000000;
	border: 1px solid #000000;
	border: 0.0625rem solid #000000;
	border-radius: 0.25rem;
	-webkit-box-shadow: 0.25rem 0.1875rem 0 #FFDEDA;
	box-shadow: 0.25rem 0.1875rem 0 #FFDEDA;
	cursor: pointer;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	position: relative;
}

.p-about__list::before {
	background: #fdc265 url(../images/common/arrow_black.svg) 54% center/26.5% no-repeat;
	border-radius: 50%;
	bottom: 10px;
	bottom: 0.625rem;
	content: "";
	height: 24px;
	height: 1.5rem;
	position: absolute;
	right: 10px;
	right: 0.625rem;
	width: 24px;
	width: 1.5rem;
}

.p-about__list--row {
	grid-column: 1/3;
}

.p-about__number {
	height: 30px;
	height: 1.875rem;
	left: 4px;
	left: 0.25rem;
	position: absolute;
	top: -23px;
	top: -1.4375rem;
}

.p-about__number img {
	height: 100%;
	max-width: unset;
	width: auto;
}

.p-about__title {
	font-size: max(15px, 14px);
	font-size: max(0.9375rem, 14px);
	font-weight: bold;
	left: 13px;
	left: 0.8125rem;
	letter-spacing: 0.04em;
	line-height: 1.3333333333;
	position: absolute;
	top: 15px;
	top: 0.9375rem;
}

.p-about__img {
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
}

.p-about__img--row {
	height: 100%;
	width: auto;
}

.p-about__img--row img {
	height: 100%;
	margin-left: auto;
	max-width: unset;
	width: auto;
}

.p-about__modal {
	bottom: 0;
	display: none;
	height: -moz-fit-content;
	height: -webkit-fit-content;
	height: fit-content;
	left: 0;
	margin: auto;
	position: fixed;
	right: 0;
	top: 0;
	width: calc(100% - 1.875rem);
	z-index: 1002;
}

.p-about__modal .c-big-panel2 {
	height: auto;
}

.p-about__close {
	position: absolute;
	right: 12px;
	right: 0.75rem;
	top: 15px;
	top: 0.9375rem;
	width: 35px;
	width: 2.1875rem;
}

.p-about__bg {
	background: rgba(0, 0, 0, .5);
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1001;
}

.p-about__prev {
	bottom: 90px;
	bottom: 5.625rem;
	cursor: pointer;
	left: -15px;
	left: -0.9375rem;
	position: absolute;
	width: 26px;
	width: 1.625rem;
}

.p-about__next {
	bottom: 90px;
	bottom: 5.625rem;
	cursor: pointer;
	position: absolute;
	right: -13px;
	right: -0.8125rem;
	width: 26px;
	width: 1.625rem;
}

.p-about__modal:first-child .p-about__prev {
	display: none;
}

.p-about__list:last-child .p-about__next {
	display: none;
}

.p-about__modal:nth-child(2) .c-big-panel2__btn {
	max-width: 172px;
	max-width: 10.75rem;
}

.p-about__modal:nth-child(4) .c-big-panel2__btn {
	max-width: 190px;
	max-width: 11.875rem;
}

.p-about__modal:nth-child(8) .c-big-panel2__btn {
	max-width: 150px;
	max-width: 9.375rem;
}

.p-about__modal:nth-child(22) .c-big-panel2__btn {
	max-width: 180px;
	max-width: 11.25rem;
}

@media screen and (min-width: 375px) {

.p-about__lists {
	grid-template-rows: repeat(7, 44.2vw);
}

}

@media screen and (min-width: 540px) {

.p-about__lists {
	grid-template-rows: repeat(7, 236px);
}

}

@media screen and (min-width: 768px) {

.u-desktop {
	display: block;
}

.u-mobile {
	display: none;
}

.p-about__inner.l-inner {
	max-width: 1470px;
}

.p-about__lists {
	gap: 5.125rem 1.1875rem;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 27.4vw 27.4vw 41.4836vw 27.4vw;
	margin-top: 10.3125rem;
}

.p-about__list {
	border-radius: 0.625rem;
	border-width: 0.1875rem;
	-webkit-box-shadow: 0.625rem 0.625rem 0 #FFDEDA;
	box-shadow: 0.625rem 0.625rem 0 #FFDEDA;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.p-about__list::before {
	display: none;
}

.p-about__list:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transform: translate(0.625rem, 0.625rem);
	transform: translate(0.625rem, 0.625rem);
}

.p-about__list:nth-child(1) {
	grid-column: 1/5;
	grid-template-rows: 1/2;
}

.p-about__list:nth-child(3) {
	grid-column: 5/7;
}

.p-about__list:nth-child(5) {
	grid-column: 1/3;
}

.p-about__list:nth-child(7) {
	grid-column: 3/5;
}

.p-about__list:nth-child(9) {
	grid-column: 5/7;
}

.p-about__list:nth-child(11) {
	grid-column: 1/4;
}

.p-about__list:nth-child(13) {
	grid-column: 4/7;
}

.p-about__list:nth-child(15) {
	grid-column: 1/5;
}

.p-about__list:nth-child(17) {
	grid-column: 5/7;
}

.p-about__list:nth-child(19) {
	grid-column: 1/3;
}

.p-about__list:nth-child(21) {
	grid-column: 3/5;
}

.p-about__list:nth-child(23) {
	grid-column: 5/7;
}

.p-about__number {
	height: 3.75rem;
	top: -2.9375rem;
}

.p-about__title {
	font-size: 2.25rem;
	left: 2.625rem;
	letter-spacing: 0.04em;
	line-height: 1.3333333333;
	top: 2.875rem;
}

.p-about__modal {
	max-width: 47.8125rem;
	width: 100%;
}

.p-about__close {
	right: 1.5625rem;
	top: 1.875rem;
	width: 4.375rem;
}

.p-about__prev {
	bottom: 11.25rem;
	left: -1.6875rem;
	width: 3.375rem;
}

.p-about__next {
	bottom: 11.25rem;
	right: -1.6875rem;
	width: 3.375rem;
}

.p-about__modal .c-big-panel2__btn {
	text-align: center;
}

.p-about__modal .c-big-panel2__btn .c-btn {
	min-width: 100px;
	white-space: nowrap;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
}

.p-about__modal .c-big-panel2__btn .c-btn .c-btn__arrow {
	margin-left: 1.25rem;
}

.p-about__modal:nth-child(2) .c-big-panel2__btn {
	max-width: 14.75rem;
	min-width: 120px;
}

.p-about__modal:nth-child(4) .c-big-panel2__btn {
	max-width: 16.0625rem;
}

.p-about__modal:nth-child(8) .c-big-panel2__btn {
	max-width: 12.6875rem;
}

.p-about__modal:nth-child(22) .c-big-panel2__btn {
	max-width: 15.25rem;
	min-width: 124px;
}

.p-about__modal .c-big-panel2__comment {
	min-width: 21.875rem;
}

}

@media screen and (min-width: 1470px) {

.p-about__lists {
	grid-template-rows: 420px 420px 636px 420px 420px;
}

}

