@charset "utf-8";
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
 
.clearfix::after{
    content: "";
	display: block;
	clear: both;
}

.cf {
    zoom:1;
}

body{
    background-color: #e3dfd8b8;
}

/* =====ボタン内側===== */
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 7px;
    height: 1px;
    border-radius: 2px;
	background: #333;
  	width: 70%;
}

/* =====コンテンツ===== */

article{
    display: grid;
    padding: 12vw 15vw 0;
    animation: bgchange 40s ease infinite;

}

article, h2 p{
    color: #333;
}

.a-title{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: center;
    height: 6vw;
    font-size: 1.2em;
}

.a-txt {
    font-size: .8em;
    line-height: 2;
    padding-bottom: 30px;
}

.a-d-txt {
    line-height: 2;
    padding-bottom: 10px;
}

.a-d-s-txt {
    font-size: .99em;
    padding: 0 .1rem;
}

.a-d-j-txt{
    font-size: .89em;
}

.a-en-txt {
    font-size: .9em;
    line-height: 1.4;
    padding-bottom: 8vw;
}

.copyright, .footer-list a{
    color: #333;
}

.footer-list a:hover{
	color: #C7B994;
}

#footer-wrap {
    position: sticky;
}

/* =====ページトップ=====*/

#page-top a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
	transition:all 0.3s;
}

#page-top {
    position: fixed;
    right: 4px;
    bottom: 25px;
    z-index: 2;
    cursor: pointer;
	opacity: 0;
	transform: translateY(100px);
}

.pagetopbtn {
    position: relative;
    display: inline-block;

}

.pagetopbtn::before,
.pagetopbtn::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 0.5px);
    width: 1px;
    height: 11px;
    border-radius: 9999px;
    background-color: #6c6c6c;
    transform-origin: 50% 0.5px;
}

.pagetopbtn::before {
    transform: rotate(45deg);
}

.pagetopbtn::after {
    transform: rotate(-45deg);
}

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}


/* タブレット: 768px〜 */
@media screen and (max-width:768px) { 

    article{
    width: 100%;
    }
 
	.pagination a .hover-text{
		display: none;
	}

    #g-nav, #g-nav.panelactive #g-nav-list {
        width: 100%;
    }

    #g-nav ul {
        left: 60px;
    }

    article {
    padding: 20vw 6vw 0;
    }

 
}

@media (orientation: landscape) and (max-width: 768px){


}

