@charset "utf-8";
/*
Theme Name: ippo
Theme URI: https://ippo-kids.com/
Version: 1.0
*/

/* common
---------------------------------------------------------------------------*/
@import url("css/easing.css");

:root {
	--color-text: #444444;
	--color-bg: #FCF7D9;
	--color-bg-white: #FFFDEE;
	--color-border: #000000;

	--color-green: #1C8507;
	--color-yellow-green: #56A546;
	--color-yellow: #FDDC00;
	--color-red: #CF4C1E;
	--color-red-light: #D06C49;
	
	--font-gothic-jp-d: 'FOT-筑紫A丸ゴシック Std D', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
	--font-gothic-jp-b: 'FOT-筑紫A丸ゴシック Std B', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
	--font-gothic-jp-e: 'FOT-筑紫A丸ゴシック Std E', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
	--font-gothic-en: 'AvenirNextLTPro-Medium', sans-serif;

	--width-min: 1240px;
	/*--width-min: 0px;*/
	--width-mid: 1440;
	--width-max: 1800px;
	/*--width-max: 9999px;*/
	--size-max-over: max(calc(100vw/var(--width-mid)), calc(var(--width-min)/var(--width-mid)));
}

html {
	font-size: clamp(calc(var(--width-min)/var(--width-mid)), calc(100vw/var(--width-mid)), calc(var(--width-max)/var(--width-mid)));
}

body {
	overflow-y: scroll;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-gothic-jp-d);
	font-size: 16rem;
	line-height: 1;
	font-feature-settings: 'palt' 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: none !important;
}
body.noscroll { position: fixed; width: 100%; }

::-moz-selection { background: #EBEBEB; color: var(--color-text); }
::selection { background: #EBEBEB; color: var(--color-text); }

p { line-height: 2; letter-spacing: 0.08em; margin-bottom: 1em; }
p:last-child { margin-bottom: 0 !important; }
address,i { font-style: normal; }
img { max-width: none; }
figure img { width: 100%; }

.block { display: inline-block !important; }
.wide { display: inline-block !important; }
.narrow { display: none !important; }
.nav-sp, .btn-nav { display: none !important; }

/* #loading
------------------------------------*/
#loading { display: none !important; }
/*#loading {
	display: block;
	opacity: 1;
	position: fixed;
	top: 50vh;
	left: 50vw;
	border: 4rem solid var(--color-red-light);
	border-top-color: transparent;
	border-radius: 50%;
	width: 22rem;
	height: 22rem;
	margin: -11rem 0 0 -11rem;
	z-index: 99999;
	animation: spin .4s infinite linear;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }*/

/* link
------------------------------------*/
a { color: var(--color-text); text-decoration: none; transition: .15s ease-out; -webkit-transform: translateZ(0); }
.hover { cursor: pointer; transition: .15s ease-out; }
a:hover,.hover:hover { text-decoration: none; opacity: 0.6; }

.line { display: inline-block; position: relative; padding-bottom: 1rem; line-height: 1; }
.line:after { display: block; content: ''; position: absolute; bottom: 0; left: 0; background-color: var(--color-text); width: 100%; height: 1px; }

/* .btn
------------------------------------*/
.btn-link a {
	display: inline-block;
	background: var(--color-red-light);
	border-radius: 80rem;
	padding: 9rem 18rem 11rem 20rem;
	color: #FFFFFF;
	font-family: var(--font-gothic-jp-b);
	font-size: 16rem;
	letter-spacing: 0.1em;
	text-align: center;
}


/* #wrap
---------------------------------------------------------------------------*/
#wrap { min-width: var(--width-min); }
.bg-yellow-green { background: url(img/share/bg-green.jpg) repeat left top / 200rem auto; }
.bg-yellow { background-color: var(--color-yellow); }


/* header
---------------------------------------------------------------------------*/
header .logo,
.top-main-news {
	top: max(calc(62.5vh*0.076), 7.6vh);
	left: max(4.8vw, calc(var(--width-min)*0.048));
}

@media (max-aspect-ratio: 1.6/1) {
	/*body {
		background: #FFF;
	}*/
	header .logo,
	.top-main-news {
		top: max(calc(var(--width-min)*0.046), 4.6vw);
	}
}

@media (max-height: 700px) {
	/*body {
		background: #FFF;
	}*/
	header .logo,
	.top-main-news {
		top: max(70rem, 7.6vh);
	}
}

@media (min-aspect-ratio: 2/1) {
	/*body {
		background: #ccc;
	}*/
	header .logo,
	.top-main-news {
		top: max(calc(50vw*0.038), 3.8vw);
	}
}

header .logo {
	position: absolute;
	z-index: 10;
	opacity: 0;
}

.top-main-news {
	position: absolute;
	max-width: 280rem;
	margin: 170rem 0 0 -2rem;
	z-index: 3;
}

header .logo img { width: 230rem; }

header .gnav {
	position: fixed;
	top: 40rem;
	right: 48rem;
	background: #FFFFFF;
	box-shadow: 3rem 4rem 4rem rgba(0, 0, 0, 0.06);
	border-radius: 90rem;
	padding: 0 29rem 0 32rem;
	white-space: nowrap;
	z-index: 10;
	opacity: 0;
}

header .gnav ul { display: flex; }
header .gnav li a { display: block; padding: 18rem 11rem 19rem; }

.gnav .gnav-top,
body.top .gnav li:has(.gnav-top) a { display: none; }
body.top .gnav .gnav-top { display: block !important; }
header .gnav li img { width: auto; height: 21rem; }

header .gnav li:nth-of-type(2) img,
header .gnav li:nth-of-type(4) img { transform: translateY(0.5rem); }


/* .logo-anime
------------------------------------*/
.logo-anime { position: relative; padding: 39rem 0 0; z-index: 1; }

.logo-anime-path {
  position: absolute;
	top: 3rem;
	left: 4rem;
	transform-origin: left top;
	z-index: 3;
}

.logo-anime-path .path {
  offset-path: path("M1 79.0004C47.5 30.5002 205.5 -32.4998 315 92.5004C372 10.5002 559.5 -78.5 718 127");
  offset-rotate: 0deg;
  offset-distance: 0;
}

.logo-anime.anime .logo-anime-path .path { animation: logo-bounce 1s ease-out infinite; }
.logo-anime.anime-finish .logo-anime-path .path { animation: logo-bounce-finish 1s ease-out forwards; }

@keyframes logo-bounce {
  0% { offset-distance: 0; }
  90% { offset-distance: 100%; }
  100% { offset-distance: 100%; }
}
@keyframes logo-bounce-finish {
  0% { offset-distance: 0; }
  90% { offset-distance: 100%; }
  100% { offset-distance: 100%; }
}

.logo-anime-path .path img { width: 61px; height: auto; opacity: 0; }
.logo-anime.anime .logo-anime-path .path img { animation: logo-circle 1s ease-out infinite; opacity: 0; }

@keyframes logo-circle {
	0% { opacity: 0; }
	5% { opacity: 0; }
	10% { opacity: 1; }
	85% { opacity: 1; }
	95% { opacity: 0; }
	100% { opacity: 0; }
}

.logo-anime.anime-finish .logo-anime-path .path img {
	display: block;
	animation:
		logo-circle-finish .6s linear 0s forwards,
		logo-circle-finish2 1s ease-out .2s forwards;
}

@keyframes logo-circle-finish { 0% { opacity: 1; } 100% { opacity: 1; } }
@keyframes logo-circle-finish2 {
	0% { transform: scale(1); }
	50% { transform: scale(1); }
	60% { transform: scale(0.8); }
	75% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

.logo-anime .logo-anime-bounce {
	overflow: hidden;
	position: absolute;
	top: 1rem;
	left: 4rem;
	z-index: 2;
	opacity: 0;
}

.logo-anime .logo-anime-bounce .bounce {
	width: 202rem;
	height: auto;
  stroke-dasharray: 250 750;
  stroke-dashoffset: 1000;
}

.logo-anime.anime .logo-anime-bounce .bounce {
  animation: logo-bounce-line 1s linear 0.3s infinite;
}

.logo-anime.anime-finish .logo-anime-bounce .bounce {
	stroke-dasharray: 1000 1000;
	animation: logo-bounce-line-finish 1.2s ease-out 0.1s forwards;
}

@keyframes logo-bounce-line { 0% { stroke-dashoffset: 1000; } 100% { stroke-dashoffset: 0; } }
@keyframes logo-bounce-line-finish { 0% { stroke-dashoffset: 1000; } 100% { stroke-dashoffset: 0; } }

.logo-anime .txt2 {
	position: absolute;
	bottom: 50rem;
	left: 78rem;
	width: 40rem;
	transform-origin: center bottom;
	z-index: 1;
}

.logo-anime.anime .txt2 { animation: logo-txt2 1s linear infinite; }
.logo-anime.anime-finish .txt2 { animation: logo-txt2-finish 1s linear forwards; }

@keyframes logo-txt2 {
	0% { transform: scaleY(1); }
	30% { transform: scaleY(1); }
	35% { transform: scaleY(0.85); }
	45% { transform: scaleY(1.1); }
	60% { transform: scaleY(0.95); }
	100% { transform: scaleY(1); }
}
@keyframes logo-txt2-finish {
	0% { transform: scaleY(1); }
	30% { transform: scaleY(1); }
	35% { transform: scaleY(0.85); }
	45% { transform: scaleY(1.1); }
	60% { transform: scaleY(0.95); }
	100% { transform: scaleY(1); }
}

.logo-anime .txt1 {
	position: relative;
	width: 224rem;
	z-index: 0;
}


/* footer
---------------------------------------------------------------------------*/
footer {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	margin: 0 auto;
	padding: 270rem 85rem 75rem;
	white-space: nowrap;
	opacity: 0;
}

footer .inner1 { margin-right: 62rem; }

footer .inner1 .copyright {
	display: block;
	margin-bottom: 30rem;
	color: var(--color-green);
	font-size: 9.5rem;
	letter-spacing: 0.11em;
}

footer .inner1 .logo img { width: 231rem; }

footer .inner2 h2 {
	margin-bottom: 24rem;
	font-size: 20rem;
	line-height: 1.75;
	letter-spacing: 0.12em;
}

footer .inner2 address,
footer .inner2 .tel {
	font-size: 17rem;
	letter-spacing: 0.08em;
}

footer .inner2 address {
	text-decoration: underline;
	text-decoration-thickness: 1rem;
	text-underline-offset: 0.1em;
}

footer .inner2 address i { display: inline-block; margin-left: 8rem; transform: translateY(8rem); }
footer .inner2 address i img { width: 31rem; }
footer .inner2 .tel { display: inline-block; position: relative; }

footer .inner2 .tel:after {
	display: block;
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 0;
	background-color: var(--color-text);
	width: 100%;
	height: 1px;
}

footer .inner2 .tel a { pointer-events: none; }
footer .inner2 .tel span { padding-left: 2rem; font-size: 13rem; letter-spacing: 0.08em; }

footer .inner3 { position: absolute; bottom: 75rem; right: 85rem; text-align: right; }
footer .inner3 p { margin-bottom: 14rem; font-size: 12rem; letter-spacing: 0.06em; }
footer .inner3 h1 { font-size: 18rem; letter-spacing: 0.06em; }


/* contents
---------------------------------------------------------------------------*/
#mainContents { display: block; width: 100%; margin: 0 auto; padding: 0; text-align: left; }
#newsContents,
#errorContents { padding-top: 245rem; }
.contents,
.fade-in,
.fade-in-title,
.fade-in-inner { opacity: 0; }


/* news archive
---------------------------------------------------------------------------*/
.news-list article { background: url(img/share/line-dot.svg) repeat-x left bottom / 9rem auto; }

.news-list article a {
	display: flex;
	padding: 27rem 12rem 16rem;
}

.news-list time {
	margin-right: 33rem;
	color: var(--color-red-light);
	font-family: var(--font-gothic-en);
	font-size: 15rem;
	letter-spacing: 0.12em;
	transform: translateY(10rem);
}

.news-list h3 {
	font-size: 18rem;
	line-height: 1.65;
	letter-spacing: 0.1em;
	opacity: 0.8;
}


/* news single
---------------------------------------------------------------------------*/
.news-area { width: 760rem; margin: 0 auto 160rem; }

/* .news-title
------------------------------------*/
.news-title,
.error-title { margin-bottom: 80rem; text-align: center; }

.news-title time,
.error-title em {
	display: inline-block;
	color: var(--color-red-light);
	font-family: var(--font-gothic-en);
	font-size: 15rem;
	letter-spacing: 0.13em;
}

/*.news-title .post-categories {
	position: relative;
	display: inline-block;
	margin-left: 24rem;
	letter-spacing: 0.1em;
}

.news-title .post-categories:before {
	display: block;
	content: '/';
	position: absolute;
	top: 0;
	left: -17rem;
}

.news-title .post-categories li { display: inline-block; }
.news-title .post-categories li a { text-decoration: underline; }*/

.news-title h1,
.error-title h1 {
	margin-bottom: 20rem;
	color: var(--color-green);
	font-size: 27rem;
	line-height: 1.7;
	letter-spacing: 0.14em;
}

/* .news-main
------------------------------------*/
.news-main > * { font-family: var(--font-gothic-jp) !important; }

.news-main, .news-main h2, .news-main p {
	font-size: 17rem;
	line-height: 2.1;
	letter-spacing: 0.1em;
}

.news-main h2 { margin: 60rem 0 18rem; color: var(--color-green); font-size: 21rem; }
.news-main > h2:first-child { margin-top: 0; }

.news-main p {
	margin-bottom: 24rem;
	text-align: justify;
	word-break: break-all;
}

.news-main p:last-child { margin-bottom: 0; }
.news-main a { text-decoration: underline; word-break: break-all; }
.news-main strong { font-weight: bold; }
.news-main em { font-style: italic; }
.news-main del { text-decoration: line-through; }

.news-main img {
	display: block;
	max-width: calc(100% + 0rem);
	height: auto;
	margin: 45rem 0 40rem !important;
}

.news-main .wp-caption { max-width: 100%; margin-bottom: 40rem; }
.news-main .wp-caption-text { margin: -30rem 0 0; font-size: 12rem; }

.news-main .gallery > dl { width: 49.5% !important; margin-right: 1% !important; }
.news-main .gallery > dl:nth-child(even) { margin-right: 0 !important; }
.news-main .gallery a { pointer-events: none; }
.news-main .gallery img { border: none !important; width: 100% !important; margin: 0 !important; }

.news-main ul, .news-main ol { margin: 30rem 0 30rem; }
.news-main ul li { list-style: disc; margin: 0 0 6rem 18rem; }
.news-main ol li { list-style: decimal; margin: 0 0 6rem 24rem; }
.news-main ul li:last-of-type,
.news-main ol li:last-of-type { margin-bottom: 0; }

.news-main blockquote { background: #F5F5F5; margin: 40rem 0; padding: 28rem 36rem; text-align: justify; }
.news-main blockquote p { font-size: 14rem; line-height: 1.9; }

.post-main iframe { width: 840rem; height: 476rem; }

/* .news-table
------------------------------------*/
.news-table { margin-top: 80rem; }

.news-table h3 {
	margin: 80rem 0 25rem;
	color: var(--color-green);
	font-size: 21rem;
	line-height: 1.6;
	letter-spacing: 0.1em;
}

.news-table h3:first-child { margin-top: 0; }

.news-table table {
	box-sizing: border-box;
	background: url(img/share/line-dot.svg) repeat-x left top / 9rem auto;
	width: calc(100% + 10rem);
	margin: 0 -5rem 40rem;
	font-size: 17rem;
	line-height: 1.8;
	letter-spacing: 0.1em;
}

.news-table tr { background: url(img/share/line-dot.svg) repeat-x left bottom / 9rem auto; }

.news-table th,
.news-table td { padding-top: 19rem; padding-bottom: 20rem; }

.news-table th {
	position: relative;
	box-sizing: border-box;
	min-width: 160rem;
	padding-right: 40rem;
	padding-left: 5rem;
	text-align: left;
	vertical-align: top;
}

.news-table td { box-sizing: border-box; width: 100%; padding-right: 5rem; }
.news-table table.right td { text-align: right; }

.news-table-attention {
	margin-top: -22rem;
	font-size: 15rem;
	line-height: 1.8;
	letter-spacing: 0.1em;
}

/* .news-link
------------------------------------*/
.news-table + .news-link { margin-left: -5rem; }
.news-link { margin-top: 45rem; }
.news-link li { display: inline-block; margin: 0 12rem 14rem 0; }
.news-link a { padding: 13rem 23rem 15rem 26rem; font-size: 16rem; }

/* .news-other
------------------------------------*/
.news-other { width: 840rem; margin: 160rem auto 0; }


/* .wp-pagenavi
---------------------------------------------------------------------------*/
.wp-pagenavi {
	overflow: hidden;
	margin: 100rem 0 0;
	font-size: 18rem;
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi .current {
	display: inline-block;
	position: relative;
	background-color: var(--color-bg-white);
	border-radius: 50%;
	width: 45rem;
	height: 45rem;
	margin: 0 7rem;
	padding: 13rem 0 0;
	white-space: nowrap;
}

.wp-pagenavi .current { background-color: var(--color-red-light); color: #FFFFFF; }

.wp-pagenavi .extend,
.wp-pagenavi a.first,
.wp-pagenavi a.last { display: none; }

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
	background-color: none;
	background: url(img/share/ico-arrow-line-black.svg) no-repeat center center;
	border-radius: 0;
	text-indent: -9999rem;
}

.wp-pagenavi a.previouspostslink { margin-right: 30rem; transform: scaleX(-1); }
.wp-pagenavi a.nextpostslink { margin-left: 24rem; }


/* page top
---------------------------------------------------------------------------*/
#topContents > .bg-yellow {
	position: relative;
	margin: 358em 0 0;
	padding: 0 0 275rem;
	font-size: var(--size-max-over);
	opacity: 0;
	transform: translateY(100px);
}

#topContents.anime-finish > .bg-yellow,
.bg-yellow.anime-finish { animation: top-bg-yellow .7s var(--easeOutQuart) 1.3s forwards; }
@keyframes top-bg-yellow {
	0% { transform: translateY(60px); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

#topContents > .bg-yellow:before {
	display: block;
	content: '';
	position: absolute;
	top: -358em;
	left: 0;
	background: url(img/top/bg-color1@2x.png) no-repeat left top / cover;
	width: 100%;
	height: 358em;
	z-index: 0;
}

#topContents > .bg-yellow:after {
	display: block;
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 0;
	background: url(img/top/bg-color2@2x.png) no-repeat left bottom / cover;
	width: 100%;
	height: 610em;
	z-index: 0;
}

#topContents > .bg-yellow-green { padding: 0 0 65rem; color: #FFFFFF; }


/* .top-main
------------------------------------*/
.top-main {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-width: var(--width-min);
	min-height: 700px;
	margin: 0;
	padding: 0 0 40rem;
	font-size: var(--size-max-over);
}

/* .top-main-img1
------------------------------------*/
.top-main-img1 {
	position: absolute;
	bottom: 180rem;
  left: 410em;
	width: calc(1030em * 1.38);
	min-width: 75%;
	max-width: calc(100vh * 1.56);
	height: 955em;
	max-height: calc(100vh + 50em);
	z-index: 0;
}

.top-main-img1 .slick-slider,
.top-main-img1 .slick-list,
.top-main-img1 .slick-track { height: 100% !important; }

.slider-top1 figure {
	mask-image: url(img/top/mask-top-slide1.png);
	mask-size: 0% 0%;
	mask-position: center center;
	mask-repeat: no-repeat;
}

.top-main.anime-finish .slider-top1 figure { animation: slider-top1-mask .8s var(--easeInOutQuart) .5s forwards; }
@keyframes slider-top1-mask { to { mask-size: 100% 100%; } }

.slider-top1 figure img {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 70%;
	min-width: calc(1017em * 1);
	transform: scale(0.65);
}

.slider-top1 .img1 img { margin-bottom: -1.5%; min-width: calc(1030em * 1); }
.slider-top1 .img2 img { margin-bottom: -2%; }
.slider-top1 .img3 img { margin-bottom: 0; }
.slider-top1 .img4 img { margin-bottom: -2%; }
.slider-top1 .img5 img { margin-bottom: -3%; }

.top-main.anime-finish .slider-top1 figure img { animation: slider-top1-img 1.7s var(--easeOutQuart) forwards; }
@keyframes slider-top1-img { to { transform: scale(1); } }


/* .top-main-img1 .arch
------------------------------------*/
.top-main-img1 .arch {
	position: absolute;
	bottom: 34%;
	right: calc(97.5% - 85px);
	z-index: 1;
	transform-origin: right top; 
}

.top-main-img1 .arch-line { overflow: hidden; position: relative; }
.top-main-img1 .arch-line .line { position: absolute; top: 0; right: 0; width: 172px; height: auto; }
.top-main-img1 .arch-line .path { width: 0; height: auto; opacity: 0; }

.top-main-img1 .arch .circle {
	position: absolute;
	top: 0;
	right: 158px;
	offset-path: path("M179.048 26.2201C159.651 10.1944 133.979 0.981738 106.234 2.2365C60.8611 4.28849 18.5 33.5 2.00041 95.4999");
  offset-rotate: 0deg;
  offset-distance: 0;
	opacity: 0;
}

.top-main.anime-finish .top-main-img1 .arch-line .path { animation: top-main-img1-arch-line .6s var(--easeOutCubic) .9s forwards; }
@keyframes top-main-img1-arch-line { to { width: 172px; } }

.top-main-img1 .arch .circle img { width: 19px; }
.top-main.anime-finish .top-main-img1 .arch .circle { animation: top-main-img1-arch-circle .6s var(--easeOutCubic) .9s forwards; }
@keyframes top-main-img1-arch-circle { to { offset-distance: 100%; opacity: 1; } }


/* .top-main-img2
------------------------------------*/
.top-main-img2 {
	position: absolute;
	bottom: 9%;
	left: -20rem;
	width: 400em;
	min-width: 280px;
	max-width: calc(100vh * 0.4);
	height: 53%;
	z-index: 0;
}

.top-main-img2 .slick-slider,
.top-main-img2 .slick-list,
.top-main-img2 .slick-track { height: 100% !important; }

.slider-top2 figure {
	mask-image: url(img/top/mask-top-slide2.png);
	mask-size: 0;
	mask-position: center center;
	mask-repeat: no-repeat;
}

.top-main.anime-finish .slider-top2 figure { animation: slider-top2-mask .8s var(--easeOutQuart) 1s forwards; }
@keyframes slider-top2-mask { to { mask-size: 100%; } }

.slider-top2 figure img {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	transform: scale(0.85);
}

.top-main.anime-finish .slider-top2 figure img { animation: slider-top2-img 1.4s var(--easeOutQuart) 1s forwards; }
@keyframes slider-top2-img { to { transform: scale(1); } }


/* .top-main-img2 .arch
------------------------------------*/
.top-main-img2 .arch { position: absolute; top: 41%; left: 85%; width: 180px; z-index: 1; transform-origin: left top; }
.top-main-img2 .arch-line { overflow: hidden; position: relative; }
.top-main-img2 .arch-line .line { position: absolute; top: 0; right: 0; width: 180px; height: auto; }
.top-main-img2 .arch-line .path { width: 0; height: auto; opacity: 0; }

.top-main-img2 .arch .circle {
	position: absolute;
	top: 32px;
	left: -4px;
	offset-path: path("M172.5 103.5C167.5 61.5 144.32 33.4747 120.767 18.7573C82.2495 -5.31119 34.8119 -2.27207 2.31992 22.9805");
  offset-rotate: 0deg;
  offset-distance: 100%;
	opacity: 0;
}

.top-main.anime-finish .top-main-img2 .arch-line .path { animation: top-main-img2-arch-line .8s var(--easeOutCubic) 1.1s forwards; }
@keyframes top-main-img2-arch-line { to { width: 180px; } }

.top-main-img2 .arch .circle img { width: 19px; }
.top-main.anime-finish .top-main-img2 .arch .circle { animation: top-main-img2-arch-circle .7s var(--easeOutCubic) 1.1s forwards; }
.top-main.anime-finish .top-main-img2 .arch .circle img { animation: top-main-img2-arch-circle2 .9s linear 1.5s forwards; }
@keyframes top-main-img2-arch-circle { to { offset-distance: 0%; opacity: 1; } }
@keyframes top-main-img2-arch-circle2 {
  0% { transform: scale(1); }
	10% { transform: scale(0.8); }
	25% { transform: scale(1.2); }
	55% { transform: scale(1); }
	100% { transform: scale(1); }
}


/* .slider-top1 .slick-dots
------------------------------------*/
.slider-top1 .slick-dots { position: absolute; bottom: -92em; left: calc(69vw - 12em); opacity: 0; }
.slider-top1 .slick-dots li { position: relative; width: 24em; height: 24em; }
.slider-top1 .slick-dots li:first-of-type:last-of-type { opacity: 0 !important; }
.slider-top1 .slick-dots button { position: relative; width: 100%; height: 100%; text-indent: -9999em; transition: .15s ease-out; }

.slider-top1 .slick-dots button:after {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #E7E7E7;
	border-radius: 50%;
	width: 6rem;
	height: 6rem;
}

.slider-top1 .slick-dots button:hover:after,
.slider-top1 .slick-dots .slick-active button:after { background: #FF8282; }


/* .top-main txt
------------------------------------*/
.top-main > h2 {
	position: absolute;
	bottom: 50rem;
	left: 55rem;
	font-size: 13rem;
	letter-spacing: 0.1em;
	opacity: 0;
}

.top-main-txt {
	position: relative;
	display: inline-block;
	/*margin: 700em 0 0 532em;*/
	margin: min(700em, calc(100vh - 180em)) 0 0 532em;
	z-index: 2;
}

.top-main-txt h3 { margin-bottom: 24em; }
.top-main-txt h3 img { width: 595em; }

.top-main-txt p {
	font-size: 19rem;
	line-height: 2.15;
	letter-spacing: 0.16em;
	white-space: nowrap;
}

.top-main-news a { display: inline-block; }

.top-main-news time {
	display: block;
	margin: 0 0 11rem 2rem;
	color: var(--color-red-light);
	font-family: var(--font-gothic-en);
	font-size: 13rem;
	letter-spacing: 0.13em;
}

.top-main-news h3 {
	font-size: 16rem;
	line-height: 1.6;
	letter-spacing: 0.1em;
	text-decoration: underline;
	text-decoration-thickness: 1rem;
	text-underline-offset: 0.1em;
}

.top-main.anime-finish .slider-top1 .slick-dots,
.top-main.anime-finish > h2 { animation: top-main-fade .2s linear 1.3s forwards; }
@keyframes top-main-fade { to { opacity: 1; } }

.top-main-txt h3,
.top-main-txt p { transform: translateX(-30rem); opacity: 0; }
.top-main.anime-finish .top-main-txt h3 { animation: top-main-fade2 .7s var(--easeOutCubic) 1.3s forwards; }
.top-main.anime-finish .top-main-txt p { animation: top-main-fade2 .7s var(--easeOutCubic) 1.4s forwards; }
@keyframes top-main-fade2 { to { transform: translateX(0); opacity: 1; } }

.top-main-news { transform: translateX(-50rem); opacity: 0; }
.top-main.anime-finish .top-main-news { animation: top-main-fade3 .6s var(--easeOutCubic) 1.7s forwards; }
@keyframes top-main-fade3 { to { transform: translateX(0); opacity: 1; } }

@media (max-width: 1240px) {
	header .gnav {
		min-width: 598px;
		left: 605px;
	}
	.top-main-img1 .arch,
	.top-main-img2 .arch {
		transform: scale(0.861) !important;
	}
}

@media (max-height: 700px) {
	.top-main-img1 {
		min-height: 750px !important;
	}
	.top-main-img2 {
		min-height: 350px !important;
	}
}

@media (max-height: 700px) and (max-aspect-ratio: 2/1) {
	.top-main-txt {
		margin-top: 545px !important;
	}
}

@media (min-width: 1240px) and (min-aspect-ratio: 2/1) {
	/*body {
		background: #FFF;
	}*/
  .top-main {
		min-height: 50vw;
	}
	.top-main-img1 {
		max-width: calc(50vw * 1.56);
		max-height: calc(50vw + 50em);
	}
	.top-main-img2 {
		bottom: 4vw;
		max-width: calc(50vw * 0.4);
	}
	.top-main-txt {
		margin: min(700em, calc(50vw - 170em)) 0 0 532em;
	}
}


/* .top-philosophy
------------------------------------*/
.top-philosophy {
	position: relative;
	margin-bottom: 90rem;
	padding-top: 100rem;
}

.top-philosophy .pic1 {
	display: block;
	position: absolute;
	top:  550rem;
  left: calc(50% - 635rem);
}

.top-philosophy .pic2 {
	display: block;
	position: absolute;
	top: 45rem;
	right: calc(50% - 582rem);
}

.top-philosophy .pic1,
.top-philosophy .pic2 { width: 260rem; }

.top-philosophy .inner1 {
	width: 595rem;
	margin: 0 auto 60rem;
}

.top-philosophy .inner1 h2 {
	margin-bottom: 32rem;
	text-align: center;
	white-space: nowrap;
}

.top-philosophy .inner1 h2 em {
	display: inline-block;
	position: relative;
	margin-bottom: 28rem;
	color: var(--color-green);
	font-family: var(--font-gothic-en);
	font-size: 21rem;
	letter-spacing: 0.28em;
}

.top-philosophy .inner1 h2 em:after {
	display: block;
	content: '';
	position: absolute;
	bottom: -3rem;
	left: 0;
	background-color: var(--color-green);
	width: calc(100% - 7rem);
	height: 2rem;
}

.top-philosophy .inner1 h2 strong {
	display: block;
	color: var(--color-green);
	font-size: 38rem;
	line-height: 1.6;
	letter-spacing: 0.12em;
}

.top-philosophy .inner1 p,
.top-philosophy .inner2 p {
	margin-bottom: 14rem;
	font-size: 18rem;
	line-height: 2.1;
	letter-spacing: 0.06em;
	text-align: justify;
}

.top-philosophy .inner2 { text-align: center; }

.top-philosophy .inner2 h3 {
	margin-bottom: 20rem;
	color: var(--color-red);
	font-family: var(--font-gothic-jp-b);
	font-size: 32rem;
	line-height: 1.8;
	letter-spacing: 0.2em;
}

.top-philosophy .inner2 p { letter-spacing: 0.1em; text-align: center; }

/* .top-news
------------------------------------*/
.top-news {
	position: relative;
	background-color: var(--color-bg-white);
	border-radius: 25rem;
	width: 980rem;
	margin: 0 auto;
	padding: 66rem 58rem 58rem;
	z-index: 1;
}

.top-news h2 {
	margin: 0 0 28rem 8rem;
	color: var(--color-green);
	font-size: 27rem;
	letter-spacing: 0.14em;
}

.top-news .index {
	position: absolute;
	top: 60rem;
	right: 58rem;
}

/* .top-support
------------------------------------*/
.top-support {
	position: relative;
	width: 1128rem;
	margin: 0 auto 140rem;
	padding: 0 0 120rem;
	transform: translateX(-10rem);
}

.support-title {
	position: absolute;
	top: 24rem;
	left: 40rem;
	width: 259rem;
}

.support-title h2 { margin-bottom: 36rem; }
.support-title h2 img { width: calc(100% + 2rem); margin-left: -2rem; }

.support-title p {
	font-size: 17rem;
	line-height: 1.8;
	letter-spacing: 0.065em;
	text-align: justify;
}

.support-list { display: flex; flex-wrap: wrap; justify-content: space-between; }
.support-list.list1 { margin-bottom: 78rem; padding-left: calc(345rem + 47rem); }
.support-list .inner { position: relative; width: 345rem; z-index: 1; }
.support-list.list1 .inner:nth-of-type(1) { margin-top: 100rem; transform: translateX(-7rem); }
.support-list.list2 .inner:nth-of-type(1) { margin-top: 180rem; }
.support-list.list2 .inner:nth-of-type(2) { margin-top: 80rem; }

.support-list.list1 .inner:nth-of-type(1):before {
	display: block;
	content: '';
	position: absolute;
	top: -148rem;
	right: -32rem;
	background: url(img/top/pic-dot-arch1.svg) no-repeat left top / 100% auto;
	width: 220rem;
	height: 190rem;
}

.support-list.list2 .inner:nth-of-type(1):before {
	display: block;
	content: '';
	position: absolute;
	top: -146rem;
	right: -174rem;
	background: url(img/top/pic-dot-arch2.svg) no-repeat left top / 100% auto;
	width: 400rem;
	height: 190rem;
	z-index: -1;
}

.support-list.list2 .inner:nth-of-type(2):before {
	display: block;
	content: '';
	position: absolute;
	top: -136rem;
	right: -310rem;
	background: url(img/top/pic-dot-arch3.svg) no-repeat left top / 100% auto;
	width: 396rem;
	height: 130rem;
}

.support-list figure { margin-left: 25rem; }
.support-list figure img { border-radius: 8rem; }

.support-list h3,
.support-list p {
	display: inline-block;
	background-color: #FFFFFF;
	border: 1rem solid #000000;
	color: var(--color-text);
	font-family: var(--font-gothic-jp-b);
}

.support-list h3 {
	margin: -20rem 0 -1rem;
	padding: 8rem 15rem 11rem 19rem;
	font-size: 23rem;
	line-height: 1;
	letter-spacing: 0.14em;
}

.support-list h4 {
	position: absolute;
	top: 2rem;
	left: 2rem;
	font-family: var(--font-gothic-en);
	font-size: 14rem;
	letter-spacing: 0.22em;
	font-feature-settings: 'palt' 0;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	white-space: nowrap;
}

.support-list p {
	padding: 11rem 19rem 12rem 20rem;
	font-size: 16rem;
	line-height: 1.8;
	letter-spacing: 0.06em;
	text-align: justify;
}

.top-support > h3 {
	position: absolute;
	bottom: 0;
	right: -10rem;
	color: var(--color-bg-white);
	font-family: var(--font-gothic-jp-b);
	font-size: 27rem;
	line-height: 2;
	letter-spacing: 0.07em;
	text-align: right;
	text-decoration: underline;
	text-decoration-thickness: 1rem;
	text-underline-offset: 0.35em;
}

/* .top-day
------------------------------------*/
.top-day {
	position: relative;
	width: 1160rem;
	margin: 0 auto 95rem;
}

.top-day h2 {
	position: relative;
	margin: 0 0 58rem 20rem;
	padding: 0 0 0 100rem;
}

.top-day h2 i { position: absolute; top: 4rem; left: 0; }
.top-day h2 i img { width: 75rem; }

.top-day h2 em {
	display: block;
	margin: 0 0 10rem 4rem;
	font-family: var(--font-gothic-en);
	font-size: 12rem;
	letter-spacing: 0.25em;
}

.top-day h2 strong {
	display: block;
	font-size: 37rem;
	letter-spacing: 0.13em;
}

.top-day .link { position: absolute; top: -125rem; right: 25rem; }

.top-day .link a {
	display: block;
	color: #FFFFFF;
	white-space: nowrap;
}

.top-day .link .ico {
	display: inline-block;
	margin-right: 16rem;
	transform: translateY(12rem);
}

.top-day .link a span {
	display: inline-block;
	margin-right: 13rem;
	font-family: var(--font-gothic-jp-b);
	font-size: 20rem;
	letter-spacing: 0.14em;
	text-decoration: underline;
	text-decoration-thickness: 1rem;
	text-underline-offset: 0.35em;
}

.top-day .link .arrow { display: inline-block; transform: translateY(10rem); }
.top-day .schedule img { width: 100%; transform: translateX(4rem); }

/* .top-other-support
------------------------------------*/
.top-other-support {
	width: 1122rem;
	margin: 0 auto;
}

.top-other-support h2 {
	margin-bottom: 32rem;
	font-size: 22rem;
	letter-spacing: 0.12em;
}

.other-support-list { display: flex; justify-content: space-between; }
.other-support-list .inner { width: 533rem; }
.other-support-list figure { margin-bottom: 35rem; }

.other-support-list h3 {
	margin-bottom: 26rem;
	font-size: 22rem;
	letter-spacing: 0.14em;
	text-align: center;
}

.other-support-list p {
	padding: 0 4rem;
	font-size: 17rem;
	line-height: 2;
	letter-spacing: 0.06em;
	text-align: justify;
}

/* .top-building
------------------------------------*/
.top-building {
	width: 1144rem;
	margin: 0 auto 125rem;
	padding-top: 165rem;
	text-align: center;
}

.top-building > h2 {
	margin-bottom: 15rem;
	color: var(--color-green);
	font-size: 37rem;
	line-height: 1.8;
	letter-spacing: 0.14em;
}

.top-building > h2 span { display: inline-block; position: relative; }
.top-building > h2 i { position: absolute; top: -65rem; right: 9rem; }
.top-building > h2 i img { width: 217rem; }

.top-building > p {
	font-size: 18rem;
	line-height: 2.05;
	letter-spacing: 0.06em;
}

.building-list { margin-top: 55rem; text-align: left; }
.building-list .list1 { display: flex; align-items: flex-start; justify-content: space-between; }

.building-list .inner1 { width: 708rem; }
.building-list .inner2 { width: 380rem; }

.building-list .list2 {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: -90rem 0 0;
}

.building-list .inner3 { width: 282rem; }
.building-list .inner4 { width: 457rem; }
.building-list .inner5 { width: 328rem; }

.building-list figure { margin-bottom: 23rem; }
.building-list .inner1 figure { margin-bottom: 16rem; }

.building-list h3 {
	margin-bottom: 14rem;
	color: var(--color-yellow-green);
	font-family: var(--font-gothic-jp-b);
	font-size: 16rem;
	letter-spacing: 0.12em;
}

.building-list p {
	font-size: 15rem;
	line-height: 1.75;
	letter-spacing: 0.06em;
	text-align: justify;
}

.building-list .inner1 h3,
.building-list .inner1 p { display: inline-block; }
.building-list .inner1 h3 { margin-right: 34rem; }

/* .top-lunch
------------------------------------*/
.top-lunch {
	width: 1180rem;
	margin: 0 auto 140rem;
}

.top-lunch > figure {
	display: flex;
	justify-content: space-between;
	margin-bottom: 60rem;
}

.top-lunch > figure picture:nth-of-type(1) { order: 2; }
.top-lunch > figure picture:nth-of-type(1) img { width: 580rem; margin: 0 30rem 0 18rem; }
.top-lunch > figure picture:nth-of-type(2) { order: 1; }
.top-lunch > figure picture:nth-of-type(2) img { width: 276rem; }
.top-lunch > figure picture:nth-of-type(3) { order: 3; }
.top-lunch > figure picture:nth-of-type(3) img { width: 276rem; }

.top-lunch > .txt { text-align: center; }

.top-lunch > .txt h2 {
	margin-bottom: 28rem;
	color: var(--color-green);
	font-size: 35rem;
	line-height: 1.8;
	letter-spacing: 0.14em;
}

.top-lunch > .txt p {
	margin-bottom: 14rem;
	font-size: 18rem;
	line-height: 2.1;
	letter-spacing: 0.08em;
}

.top-lunch .chef {
	display: flex;
	align-items: center;
	background-color: #FFFFFF;
	border-radius: 30rem;
	width: 990rem;
	margin: 60rem auto 0;
	padding: 50rem 65rem 55rem 70rem;
}

.top-lunch .chef figure { position: relative; margin-right: 54rem; }
.top-lunch .chef figure .img { width: 180rem; }

.top-lunch .chef figure .pic {
	display: block;
	position: absolute;
	top: 152rem;
	left: 50%;
	transform: translateX(-50%);
	width: 196rem;
}

.top-lunch .chef figcaption {
	display: block;
	margin-top: 20rem;
	font-size: 16rem;
	letter-spacing: 0.1em;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-thickness: 1rem;
	text-underline-offset: 0.3em;
}

.top-lunch .chef .txt {
	text-align: left;
	transform: translateY(2rem);
}

.top-lunch .chef .txt p {
	font-size: 16rem;
	line-height: 2.05;
	letter-spacing: 0.07em;
}

/* .top-slider-btm
------------------------------------*/
.top-slider-btm { overflow: hidden; width: 100%; }

.scroll-img { display: flex; align-items: flex-start !important; }
.scroll-img figure { margin-right: 35rem; }
.scroll-img figure img { border-radius: 10rem; }

.scroll-img figure.img1 { width: 258rem; min-width: 258rem; margin-top: 112rem; }
.scroll-img figure.img2 { width: 258rem; min-width: 258rem; margin-top: 144rem; }
.scroll-img figure.img3 { width: 258rem; min-width: 258rem; margin-top: 0rem; }
.scroll-img figure.img4 { width: 258rem; min-width: 258rem; margin-top: 176rem; }
.scroll-img figure.img5 { width: 258rem; min-width: 258rem; margin-top: 32rem; }
.scroll-img figure.img6 { width: 258rem; min-width: 258rem; margin-top: 207rem; }
.scroll-img figure.img7 { width: 322rem; min-width: 322rem; margin-top: 96rem; }
.scroll-img figure.img8 { width: 258rem; min-width: 258rem; margin-top: 171rem; }
.scroll-img figure.img9 { width: 386rem; min-width: 386rem; margin-top: 33rem; }


/* page news
---------------------------------------------------------------------------*/

/* .news-head
------------------------------------*/
.news-head {
	position: relative;
	margin-bottom: 100rem;
	text-align: center;
}

.news-head h1 {
	margin-bottom: 17rem;
	font-size: 31rem;
	line-height: 1.7;
	letter-spacing: 0.12em;
}

.news-head h1 a { color: var(--color-green); }

.news-head em {
	display: block;
	color: var(--color-red-light);
	font-family: var(--font-gothic-en);
	font-size: 15rem;
	letter-spacing: 0.2em;
}

.news-head .pic {
	position: absolute;
	top: -40rem;
	right: calc(50% - 515rem);
	width: 215rem;
}

/* .news-list-wrap
------------------------------------*/
.news-list-wrap {
	position: relative;
	background-color: var(--color-bg-white);
	border-radius: 50rem;
	width: 980rem;
	margin: 0 auto;
	padding: 60rem 67rem 90rem;
}

.news-list-wrap.top-news { padding-top: 71rem; padding-bottom: 67rem; }
.news-list-wrap.top-news .index { top: 67rem; }

.news-list-wrap:before {
	display: block;
	content: '';
	position: absolute;
	top: -1rem;
	left: 48rem;
	background-color: var(--color-yellow);
	border-radius: 12rem;
	width: calc(100% - 96rem);
	height: 12rem;
}

.news-list-wrap .news-list article a { padding: 34rem 12rem 18rem; }


/* page error
---------------------------------------------------------------------------*/
#errorContents .contents { text-align: center; }
#errorContents .error-title { margin-bottom: 60rem; }
#errorContents .error-txt p { font-size: 17rem; }
#errorContents .error-txt a { text-decoration: underline; text-decoration-thickness: 1rem; text-underline-offset: 0.1em; }


/* print
---------------------------------------------------------------------------*/
@media print {

}