:root {
	--scale: 2.3;
}
@media (prefers-reduced-motion) {
	:root {
		--scale: 0;
	}
}
body {
	overflow: hidden;
}

body {
	--hf_h: 2rem;
}
header, footer {
flex: 0;
	height: var(--hf_h);
flex-basis: var(--hf_h);
-overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

main {
	--e-marg: 0;

	height: calc(100vh - var(--e-marg));
	overflow: auto;
	scroll-behavior: inherit;
}
main {
	flex: 1 0 0;
	display: flex;
	flex-direction: column;
}
main > div {
	position: relative;
	flex: 1;
}
main > div.p {
	min-height: 100%;
	border-top: 4px solid;
}

.p .l1 {
	position: absolute;
	width: 100%;
	height: 100%;
min-height: 100%;
max-width: 100vw;
	background: transparent center center no-repeat;
	background-size: auto 100%;
background-size: auto 133%;
	z-index: 0;
}
@media (orientation: landscape) and (min-aspect-ratio: 2/1) {
	.p .l1 {
		background-size: 133% auto;
	}
}
.p .l1 {
	will-change: background-position-y;
	/*
		scrT = scrolltop of scroll-container, t = self offsettop, h = selfheight
		h should be number (int w/o 'px') to make calc() work
		:root --scale to adjust strength
	*/
/*
	--py: calc(((var(--scrT) - var(--t)) * 100) / (var(--h) / var(--scale)));
	background-position-y: var(--py);
*/

	/*
	px is actually percent, -100 viewport bottom, +100 viewport top
	using --pp to translate in px
	*/
	--pp: min(100px, max(-100px, calc(((var(--scrT) - var(--t)) * 100) / var(--h))));
	background-position-y: calc(var(--pp) * var(--scale));
}

/* */

.l2 {
	position: relative;
	display: flex;
	align-items: end;
	padding-top: 100px;
	font-size: 85%;
}
@media (max-width: 480px) {
	.l2 {
		flex-direction: column;
		align-items: center;
margin: auto;
padding-top: 2rem;
	}
}
.l2 > div {
	background: var(--ah-beige);
}
.l2 > div:nth-child(1) {
	flex: 0;
	min-width: 100px;
	min-height: 100px;

-	z-index: 1;
	flex-basis: 288px;

	display: flex;
	align-items: start;
}

main > :nth-child(n of div.p) .l2 > div:nth-child(1) {
	order: 0;
	height: 37vh;
}
main > :nth-child(n+2 of div.p) .l2 > div:nth-child(1) {
	order: 1;
	height: 54vh;
}
main > :nth-child(n+3 of div.p) .l2 > div:nth-child(1) {
	order: 0;
	height: 43vh;
}
main > :nth-child(n+4 of div.p) .l2 > div:nth-child(1) {
	order: 1;
	height: 33vh;
}
main > :nth-child(n+5 of div.p) .l2 > div:nth-child(1) {
	order: 0;
	height: 42vh;
}
main > :nth-child(n+6 of div.p) .l2 > div:nth-child(1) {
	order: 1;
	height: 57vh;
}
@media (max-width: 480px) {
	main > :nth-child(n of div.p) .l2 > div:nth-child(1) {
		order: 0;
		min-height: auto;
		flex-basis: 120px;
width: 160px;
	}
}

.l2 > div:nth-child(2) {
	flex: 1;
	padding: 1em;
max-width: 45em;
}
.l2 > div:nth-child(2) > div:first-child {
	display: flex;
	justify-content: start;
	margin: -1em 0 0 -1em;
}
.p:nth-child(2n+1) .l2 > div:nth-child(2) > div:first-child {
	justify-content: end;
	margin: -1em -1em 0 0;
}
.l2 > div:nth-child(2) > div:first-child > img {
	width: 100%;
	max-width: 480px;
	height: auto;
	flex: 1;
}
.l2 ul {
	list-style-type: none;
	padding: 1em;
	margin: 0;
margin-left: 13vw;
}
@media (max-width: 480px) {
	.l2 ul {
		margin-left: calc(13vw - 8px);
	}
}
.l2 ul > li {
	display: flex;
	align-items: baseline;
padding: 12px 4px;
}
.l2 ul > li:before {
	content: '';
	--w: calc(1em - 5px);
	width: var(--w);
	height: var(--w);
	min-width: var(--w);
	max-width: var(--w);
	margin-right: var(--w);
	background: var(--ah-blue);
}

.l2 ul + div {
	display: flex;
}
.btn_inqu {
	flex: 0;
	flex-basis: 256px;
	width: 256px;
	height: 64px;
	display: flex;
	justify-content: center;
margin-left: calc(13vw + 1em + 4px);
}
@media (max-width: 480px) {
	.btn_inqu {
		margin: 0 auto;
	}
}
.btn_inqu > img {
	width: 100%;
	height: auto;
	background: url(../img/btn-inqu.png) no-repeat;
}
.btn_inqu:hover > img,
.btn_inqu:active > img {
	background: url(../img/btn-inqu0.png) no-repeat;
}

.l2 img {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	display: block;
}

.l2 #back {
	display: flex;
	align-items: center;
	padding: .5em;
	font-size: small;
}
@media (max-width: 480px) {
	.l2 #back {
		justify-content: center;
	}
}

#pmenu {
	background-color: transparent;
	position: relative;
	display: flex;
	flex-direction: column;
	place-content: end;
}
#pmenu > div {
	flex: 0;
	display: flex;
	flex-wrap: wrap;
	flex-wrap: wrap balance;
	align-items: normal;
	justify-content: space-evenly;
}
#pmenu > div:first-child {
	flex: 1;
	justify-content: end;

	background-color: var(--ah-beige);
	background-image: url(../img/bg_l0.jpg);
	background-repeat: no-repeat;
	background-position-x: left;
	background-size: auto 100%;
}
/*
 #service
*/
#pmenu > div:nth-child(2) {
	max-width: 100vw;
	flex-wrap: wrap;
	flex-wrap: balance;
	background: var(--ah-beige);
	padding: 2vh 0;
	scroll-margin: 25vh;
}
#pmenu > div:nth-child(3) {
	background: var(--ah-beige);
	padding-bottom: 2rem;
}
#pmenu > div:nth-child(3) > a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
#pmenu > div:nth-child(3) > a > img {
	width: 100%;
	height: auto;
	max-width: clamp(30%, 80%, 470px);
}
#pmenu > div > div {
	position: relative;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 2vh 0;
}
#pmenu > div:first-child > div {
	flex: 1;
	padding: 0;
flex-basis: 60%;

	background-image: url(../img/hd_1b.png);
	background-size: auto 100%;
	background-position: right top;
	background-repeat: no-repeat;
}
#pmenu > div:nth-child(2) > div {
	position: relative;
	background: url(../img/btns-bg.png) 50% 50% repeat-x;
	background-size: auto 100%;
}
#pmenu > div:first-child > div:last-child {
	flex: 0;
	flex-basis: 40%;

	background-image: url(../img/hd_2-2b.png), linear-gradient(to left, var(--ah-beige) 50%, rgba(0, 0, 0, 0) 90%);
	background-size: auto 100%;
	background-position: left top;
	background-repeat: no-repeat;
}
@media ((orientation:portrait) and (max-width: 1279px)) {
	#pmenu > div:first-child > div {
		background-size: max(110vw, 100%) auto;
	}
	#pmenu > div:first-child > div:last-child {
		background-size: max(55vw, 100%) auto;
	}
}
#pmenu > div > div > div {
	position: relative;
	aspect-ratio: 1;
	flex: 0 1 100px;
	width: 100px;
	height: 100px;
	border-radius: 23px;
	background-color: rgba(0,0,0,.1);
	margin: 0 .5vmax;
	backdrop-filter: blur(3px);
}
@media ((orientation:portrait) and (max-width:360px)) or ((max-width: 360px) and (max-aspect-ratio: 0.55)) {
	#pmenu > div > div > div {
/*
		flex: 0 1 50px;
		width: 50px;
		height: 50px;
*/
		margin: 0 .25vmax;
		border-radius: 13px;
	}
}
@media ((orientation:portrait) and (max-width:319px)) or ((max-width: 319px) and (max-aspect-ratio: 0.55)) {
	#pmenu > div > div > div {
		flex: 0 1 50px;
		width: 50px;
		height: 50px;
	}
}
@media ((orientation:portrait) and (min-aspect-ratio:1/1.25)) or (min-width: 641px) {
	#pmenu > div > div > div {
		flex: 0 1 150px;
		width: 150px;
		height: 150px;
	}
	#pmenu.alt > div > div > div {
		flex-basis: calc((100vw / 7) - 2vw);
		width: auto;
		height: 100%;
	}
}
#pmenu > div > div > div:hover,
#pmenu > div > div > div:focus-within {
	background-color: rgb(177, 179, 191);
}
#pmenu > div > div > div > a {
	display: block;
	width: 100%;
	height: 100%;
}
#pmenu > div > div > div + span {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 53%;
	top: calc(100% - 1vh);
	z-index: 2;
	line-height: .98;
	visibility: hidden;
}
#pmenu > div > div > div:hover + span,
#pmenu > div > div > div:focus-within + span {
	visibility: visible;
}

#pm_br {
	flex-basis: 100% !important;
	background: none !important;
	padding: 0 !important;
	display: none !important;
}
@media ((min-width: 430px) and (max-width: 585px)) or (max-width: 315px) {
	#pm_br {
		display: block !important;
	}
}

@media (max-aspect-ratio: 4/7) {
	main > div {
		min-height: calc(73vh - var(--hf_h) * 2);
		min-height: calc(87vh - var(--hf_h) * 2);
	}
}

/* */

.prel {
	position: absolute;
	left: -100%;
	visibility: hidden;
}
body > :nth-child(n of div.prel) {
	background-image: url(../img/btn-inqu0.png);
}
body > :nth-child(n+2 of div.prel) {
	background-image: url(../img/btn-inqu0.png);
}

span.ema.dressed {
	unicode-bidi: bidi-override;
	direction: rtl !important;
	white-space: nowrap;
}
span.ema.dressed:after {
	content: attr(name) !important;
}
