@charset "utf-8";
/* CSS Document */
*,
::before,::after{
	padding: 0;
	margin: 0;
    border: 0;
	box-sizing: border-box;
    font: inherit;
    vertical-align: baseline;
}

ul,ol{
	list-style-type: none;
}
a{
	color: inherit;
	text-decoration:none;
}

body{
    font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: #000;
	line-height: 1;
	background-color: #fff;
}

img{
	max-width: 100%;
	height: auto;
}

/*リセットCSS*/

.header{
    position:relative;
    background-color: #f4f4f4;
     display: block;
    font-size: 18px;
    z-index: 10;
}

.header-inner {
    display: flex;
	justify-content: space-between;
	align-items: center;
    max-width: 1500px;
    height: 110px;
    padding-left: 2rem;
    padding-right: 3rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.toggle-menu-button{
	display: none;
}

.header-logo{
    width:15rem;
}

div,.site-menu{
    display: block;
}

.brand{
    font-weight: bold;
    font-size: 20px;
}


a{
    text-decoration: none;
    color: #222;
    padding:0.8rem 2rem;
}

.nav_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.header_end{
    background-color: #767171;
    padding:0.8rem 0.1rem;	
}

.header_end a{
	color: #fff;
}

.footer-logo{
    width:15rem;
   margin: 2rem auto 0;
}

.footer{
    padding: 2rem 0;
    position:relative;
    background-color: #f4f4f4;
     display: block;
    font-size: 18px;
}

.footer_nav_wrapper {
        display: block;
        text-align: center;
    }

.footer-logo-inner{
    padding: 0;
}
.nav_item{
       display:block;
    } 

.nav_item.contact a {
    background-color: #767171;
    padding: 0.8rem 2rem;
	color: #fff;
}
.nav_item.contact{
    display: none;
	
}
.footer-contact a{
    background-color: #767171;
    padding: 0.8rem 2rem;
	color: #fff;
}
.privacy{
    display: flex;
    justify-content: center;
	align-items: center;
    font-size: 14px;
}
.privacy p{
    margin: 1rem 0.5rem;
}

.footer_nav_wrapper li {
    margin: 2rem 0;
}

.privacy a{
	padding:0;
}

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#512C10;
  border-radius: 40px;
  width: 80px;
  height: 80px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:1rem;
  transition:all 0.3s;
}

#page-top a:hover{
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 30px;
  bottom:30px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#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);
  }
}



@media(max-width: 1100px){
    
.header-site-menu{
    display: none;
    
    }
   
.header-site-menu.pc.is-show{ 
    display: block;
    background-color: #E4DEDE;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

.header-logo-inner a{
    text-decoration: none;
    color: #222;
    padding:0.8rem 2rem;
} 
    
a{
    padding:0;
}

.header_end{
        display: none;
    }   

li{
    margin: 2rem 0;
    }
    
.nav_wrapper {
        display: block;
        text-align: center;
    }
    
.toggle-menu-button{
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
	width: 4rem;
	height: 4rem;
	background-image: url("../img/common/hamburgermenu.png");
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;
	border: none;
	border-radius: 0;
	outline: none;
}
    
.nav_item.contact{
        display: block;
    }
@media(max-width: 740px){
 #page-top a{
  width: 58px;
	 height: 58px;}
}
}

@media(max-width: 350px){
	#page-top {
width: 60px;
  height: 60px;
  }
.header-logo{
    width:12rem;
}
}
