/*css 共通*/
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	line-height: 1.8;
}
@import url('https://googleapis.com');
body {
	 font-family: 'Noto Sans JP', sans-serif;
	font-feature-settings: "palt";
	display: grid;
	grid-template-rows: auto 1fr auto;
	height: 100vh;
	color: #666666;
}
a {
	display: inline-block;
	transition: 0.7s ease;
	&:hover { opacity: 0.4;}
}
main a[target="_blank"]::after {
	content: url(../img/common/ico-blank.svg);
	display: inline-block;
	width: 1em;
	margin-left: 0.5em;
}
img {
	width: 100%;
	height: auto;
}
.pc-only {
	display: none;
	@media screen and (min-width: 1024px) { display: block; }
}
.sp-only { display: none; }
.bg {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	overflow:hidden;
	background:linear-gradient(128deg, #fff0f0, #f0f6ea, #f0e6e6, #fae6e6, #dcf0ed);
	background-size:1000% 1000%;
	animation:BackAnimation 7s ease infinite;
	z-index: -1;
	&::before, &::after {
		z-index:1;
		position:absolute;
		content:"";
		transition:all .3s;
		width:800px;
		height:800px;
	}
	&::before {
		bottom:0;
		right:0;
		background:radial-gradient(300px at 300px 300px, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
		animation:gradient01 8s ease-out infinite;
	}
	&::after {
		top: 0;
		left: 0;
		background: radial-gradient(300px at 300px 300px, #f9d3da 0%, rgba(255, 255, 255, 0) 100%);
		animation: gradient02 8s ease-out infinite;
	}
	& span {
		position:absolute;
		width:100%;
		height:100%;
		top:0;
		left:0;
		&::before, &::after {
			z-index:1;
			position:absolute;
			content:"";
			-webkit-transition:all .3s;
			transition:all .3s;
			width:500px;
			height:500px;
		}
		&::before {
			top:0;
			right:0;
			background:radial-gradient(250px at 250px 250px, #f9d3da 0%, rgba(255, 255, 255, 0) 100%);
			animation:gradient03 8s ease-out infinite;
		}
		&::after {
			bottom:0;
			left:0;
			background:radial-gradient(250px at 250px 250px, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
			animation:gradient4 8s ease-out infinite;
		}
	}
}
@keyframes BackAnimation {
	0%{ background-position:0% 65%}
	50%{ background-position:100% 36%}
	100%{ background-position:0% 65%}
}
@keyframes gradient01{
	0%{ transform:translateX(0) ;}
	10%{ transform:translateY(100px) ;}
	60%{ transform:translateX(300px) ;}
	100%{ transform:translateX(0) ;}
}
@keyframes gradient02 {
	0%{ transform:translateX(0) ;}
	20%{ transform:translateX(50%) ;}
	40%{ transform:translateY(-50%) ;}
	80%{ transform:translateX(-10%) ;}
	100%{ transform:translateX(0) ;}
}
@keyframes gradient03 {
	0%{ transform:translateX(0); }
	20%{ transform:translateY(50%); }
	60%{ transform:translateX(-20%); }
	80%{ transform:translateY(-10%); }
	100%{ transform:translateX(0); }
}
@keyframes gradient04 {
	0%{ transform:translateX(0) ;}
	20%{ transform:translateX(200px) ;}
	40%{ transform:translateX(0) ;}
	80%{ transform:translateY(-300px);
		transform:translateX(-100px) ;
	}
	100%{ transform:translateX(0) ;}
}

/*header-navi*/
html.mobile-menu-open {
	overflow: hidden;
	overscroll-behavior-y: none;
}
header {
	background-color: #ffffff;
	padding: 20px 5%;
	position: fixed;
	width: 100vw;
	box-sizing: border-box;
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
	grid-template-rows: auto minmax(0, 1fr);
	z-index: 100;
	@media screen and (min-width: 1024px) {
		background-color: transparent;
        	padding: 20px 80px;
		max-width: 350px;
		height: 100vh;
		display: grid;
	}
	& .logo {
		width: 60%;
		font-size: 0;
		@media screen and (min-width: 1024px) {
			width: 100%;
			margin: 30px 0;
		}
		@media screen and (min-width: 1024px) and (max-height: 700px) { margin: 15px 0; }
		a {
			width: 100%;
			background: url(../img/common/au-logo-sp.svg) no-repeat;
			aspect-ratio: 55 / 7;
			@media screen and (min-width: 1024px) {
				background: url(../img/common/au-logo.svg) no-repeat;
				aspect-ratio: 9 / 5;
			}
		}
	}
	& button {
		display: block;
		width: 30px;
		height: 20px;
		padding: 5px 0;
		box-sizing: content-box;
		position: absolute;
		right: 5%;
		top: 20px;
		@media screen and (min-width: 1024px) { display: none; }
		&::before, &::after {
	            display: block;
	            content: "";
	            height: 1px;
	            width: 30px;
	            background-color: #333333;
	            position: absolute;
	            transition: 0.5s;
	        }
	       &::before { top: 5px; }
	       &::after { bottom: 5px; }
	}
}
header nav {
	padding: 40px 5%;
	grid-template-rows: auto auto 1fr;
	display: none;
	overflow-y: auto;
	@media screen and (min-width: 1024px) { display: grid; }
	@media screen and (max-height: 700px) {
		padding-block: 16px;
		& > ul:first-child a { padding-block: 6px; }
	}
	ul {
		list-style: none;
		font-size: 4.5vw;
		@media screen and (min-width: 600px) { font-size: 112.5%; }
		& li a {
			color: #666666;
			text-decoration: none;
			padding: 10px 5%;
		}
		&.sns {
			display: flex;
			gap: 5px;
			align-items: center;
			margin-top: 30px;
			@media screen and (min-width: 1024px) { margin-top: 0; }
			& a {
				display: grid;
				place-items: center;
				width: 44px;
				height: 44px;
				padding: 0;
				& img {
					width: 34px;
					height: 30px;
					object-fit: contain;
				}
			}
		}
		&.policy {
			font-size: 3vw;
			margin-top: auto;
			padding-top: 12px;
			@media screen and (min-width: 600px) { font-size: 77.8%; }
			& a { padding: 0; }
		}
	}
}
header.active {
	height: 100vh;
	display: grid;
}
header.active button {
	&::before {
		transform: rotate(30deg);
		top: 15px;
	}
	&::after {
		transform: rotate(-30deg);
		bottom: 15px;
	}
}
header.active nav {
	display: grid;
	overscroll-behavior-y: contain;
}

/*main*/
main {
	padding-top: 65px;
	@media screen and (min-width: 1024px) {
		padding-top: 0;
		width: calc(100% - 350px);
		margin-left: auto;
	}
	& section {
		overflow-wrap: anywhere;
		padding: 80px 5%;
		@media screen and (min-width: 600px) { padding: 80px 5% 40px; }
		@media screen and (min-width: 1024px) {
			padding: 80px 5% 80px 0 ;
			max-width: 1200px;
		}
	}
	& .link a {
		display: block;
		color: #cb2848;
		text-decoration: none;
		border: 1px solid #cb2848;
		border-radius: 20px;
		width: fit-content;
		margin: 0.5em auto 0;
		padding: 5px 2em;
		transition: 0.7s ease;
		&::after {
			content: url(../img/common/ico-arrow.svg);
			display: inline-block;
			width: 1.3em;
			margin-left: 0.5em;
		}
		&:hover { opacity: 0.4;}
	}
}
.fade-el {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.image-block {
	transition-delay: 0.3s;
	& img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
}
.fade-el.is-active {
	opacity: 1;
	transform: translateY(0);
}
html.vr-modal-open { overflow: hidden; }
.vr-modal {
	position: fixed;
	inset: 0;
	width: min(1200px, calc(100% - 32px));
	max-width: none;
	height: 85vh;
	height: 85dvh;
	max-height: calc(100% - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #ffffff;
	color: #666666;
	overflow: hidden;
	&[open] {
		display: flex;
		flex-direction: column;
	}
	&::backdrop { background: rgba(0, 0, 0, 0.75); }
}
.vr-modal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
	padding: 8px 12px 8px 20px;
	& h2 { font-size: 1rem; }
}
.vr-modal__close {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border: 0;
	border-radius: 50%;
	background: #cb2848;
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	&:focus-visible {
		outline: 2px solid #333333;
		outline-offset: 3px;
	}
}
.vr-modal__frame {
	display: block;
	width: 100%;
	flex: 1;
	min-height: 0;
	border: 0;
	background: #000000;
}

/*footer*/
footer {
	 margin-top: auto;
	 font-size: 75%;
	 text-align: right;
	 padding: 5px 10px;
	 @media screen and (min-width: 1024px) {}
}
