
:root{
    --baseColor :#F2E9DF;
    --navColor :#FFFFFB;
    --mainFontColor :#3F260B;
    --pointFontColor :#FFA140;
    --titleFont : 'Yeseva One', cursive;
}

/* ＝＝ローディング時背景色が伸びる＝＝ */
.loading{
	position: fixed;
	background: var(--pointFontColor);
	color:var(--navColor);
    z-index: 200;
    width: 100%;
	height: 100%;
}

.loading__text{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    font-family: var(--titleFont);
    font-size: 2em;
    letter-spacing: 6px;
}

.stretchColor{
    display: none;
}

body.appear .stretchColor{
    display: block;
    content: "";
    position:fixed;
    top: 0;
	left: 0;
	z-index: 200;
    width: 100%;
    height: 100vh;
    transform: scaleY(0);
    background-color: var(--pointFontColor);
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime{
	0% {
		transform-origin:top;
		transform:scaleY(0);
	}
	50% {
		transform-origin:top;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:bottom;
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}

/* ==ローディング後現れるコンテンツ設定== */
.header{
	opacity: 0;
}

body.appear .header{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

.nav{
	opacity: 0;
}

body.appear .nav{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 1s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
    }
}

/* ==ハンバーガーメニューの動き== */
/* svgに指定 */
.nav__hamburger{
    position: absolute;
    fill: var(--pointFontColor);
    right: 20px;
    width: 60px;
    z-index: 120;
    transition: all 0.8s 0.4s ease;
}

.cls1{
    transition: all 1s 0s ease;
}

.cls2{
    transition: all 1s 0s ease;
}

.cls4{
    transition: all 1s 0s ease;
}

.nav__hamburger:hover .cls1{
    transition: all 1s 0.3s ease;
    transform: translateY(-55.33px);
}

.nav__hamburger:hover .cls2{
    transition: all 1s 0.3s ease;
    transform: translateY(-27.66px);
}

.nav__hamburger:hover .cls4{
    transition: all 1s 0.1s ease;
    transform: translateY(40px);
    opacity: 0;
}

.nav__hamburger.active{
    transition: 0.7s 0.1s ease;
    opacity: 0;
}

@media screen and (max-width: 575px) {
    .nav__hamburger{position: fixed;top: 0;right: 0;width: 56px;}
}

/* ==丸の拡大(背景)== */
.nav__sp--circleBg{
    position: fixed;
    z-index: 90;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--navColor);
    transform: scale(0);
    right:-50px;
    top:-50px;
    transition: all 1s;
}

.nav__sp--circleBg.circleactive{
    transform: scale(50);
}


/* ＝＝スクロールするとフワッと読み込み＝＝ */
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:3s;
    animation-fill-mode:forwards;
    animation-delay: 0.1s;
    opacity:0;
}
    
@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(160px);
      }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUpTrigger{
    opacity: 0;
}



/* ＝＝モーダル＝＝ */
.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 251, 0.8);
    z-index: 130;
    width: 100%;
    height: 100vh;
}

.modal__img{
    display: flex;
    justify-content: center;
	align-items: center;
	height: 100%;
}

.modal__img img{
	height: 80%;
}

.modal__closeBtn{
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 60px;
}

.modal__closeBtn a{
    color: var(--mainFontColor);
}