@charset "utf-8";

/*===========================================================================================================================================
=============================================================================================================================================

	タブレット

=============================================================================================================================================
===========================================================================================================================================*/
@media screen and (max-width: 1023px) {

/*
	ハンバーガーボタン
=====================================*/

#toggle-btn {
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    z-index: 1002;
}

#toggle-btn__line {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 2px;
    background-color: #666;
    transition: transform .3s;
}

#toggle-btn__line:before,
#toggle-btn__line:after{
	content: "";
	position: absolute;
	top: 50%;
    left: 0;
	width: 100%;
    height: 2px;
    background-color: #666;
	transition: .3s;
}

#toggle-btn__line:before {
    margin-top: -10px;
}

#toggle-btn__line:after {
    margin-top: 8px;
}

#toggle-btn.is-active #toggle-btn__line{
	background: transparent;
}

#toggle-btn.is-active #toggle-btn__line:before,
#toggle-btn.is-active #toggle-btn__line:after{
	margin-top: 0;
}

#toggle-btn.is-active #toggle-btn__line:before{
	transform: rotate(-45deg);
}

#toggle-btn.is-active #toggle-btn__line:after{
	transform: rotate(-135deg);
}

/*
	スマホメニュー
=====================================*/

#gnav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1000;
}

.gnav__inner {
    overflow: auto;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gnav__list {
    display: block;
    padding: 0;
    margin: 0;
    width: 80%;
}

.gnav__item {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 50px;
}

.gnav__item:last-child {
    margin-bottom: 0;
}

.gnav__item:hover {
	opacity: 1;
	color: inherit;
}

.gnav__item:before {
    content: none;
}

.gnav__item a {
	display: block;
}

.is-open .site-title {
	position: fixed;
    top: 10px;
    left: 5px;
    z-index: 1001;
    
    animation-name: fadeInAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes fadeInAnime{
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

	}
	
/*===========================================================================================================================================
=============================================================================================================================================

	スマホ

=============================================================================================================================================
===========================================================================================================================================*/
@media screen and (max-width: 700px) {

/*
	ハンバーガーボタン
=====================================*/

#toggle-btn {
    top: 11px;
    right: 5px;
    width: 45px;
    height: 45px;
}

#toggle-btn__line {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 2px;
    background-color: #666;
    transition: transform .3s;
}

#toggle-btn__line:before {
    margin-top: -8px;
}

#toggle-btn__line:after {
    margin-top: 6px;
}

/*
	スマホメニュー
=====================================*/

.gnav__item {
    font-size: 1.7rem;
    margin-bottom: 35px;
}

	}