@charset "UTF-8";

header{ 
	width: 100%;
	background: #fff;
	z-index: 1000;
	xpadding: 2em 0 0;
}
@media screen and (max-width: 896px){
	header{
		padding: 0 0 0 0;
	}
}

#header-post, 
#header-main{ 
	max-width: 1200px;
	height: 90px;
	margin: auto;
	align-items: center;
	box-sizing: border-box;
	justify-content: space-between;
}

@media screen and (max-width: 1200px){
#header-post, #header-main{ 
	padding: 0 1em;
	}
}

@media screen and (max-width: 767px){
#header-post, #header-main{ 
	height: 70px;
	padding: 0 0 0 0;
	}
}

@media screen and (max-width: 1200px){
	#header-main .logo, #header-post .logo{
	padding-left: 30px;
	}
}
@media screen and (max-width: 896px){
#header-post .logo{ 
	padding-left: 30px;
	width: 700px;
	max-width: 68%;
	}
}

#header-main .logo img, 
#header-post .logo img{
	width: 120px;
	height: auto;
}

@media screen and (max-width: 896px) {
#header-main .logo img, 
	#header-post .logo img{ 
	width: 90px;
	vertical-align: middle;
	}
}

/*=======================================================
global-nav：pages
=======================================================*/

#g-nav{ 
	font-size: 1.5rem;
}

#g-nav ul {
	display : -webkit-box; 
	display : -webkit-flex; 
	display : -ms-flexbox;  
	display : flex;
}

#g-nav li{ 
	text-align: center;
	padding: 1em 0.8em;
}

#g-nav li:last-child{
	padding: 1em 0 1em 0.8em;
}

#g-nav li a{
  color: #121212;
  text-decoration: none;
  display: block;
  letter-spacing: 0.1em;
}

#g-nav a{ 
	color: #121212;
	position: relative;
	display: inline-block;
}

#g-nav a::after{
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #333;
	transform: scale(0,1);
	transform-origin: top;
	transition:  transform .3s;
	-webkit-transition: transform .3s;
	-moz-transition: transform .3s;
	-o-transition: transform .3s;
}

#g-nav a:hover::after{
	transform-origin: left top;
	transform: scale(1,1);
}

#g-nav img{
	width: 16px;
	height: 16px;
	margin: 0.4em 0 0 0;
}

.openbtn{ 
	display: none;
}
  

/* 検索窓：pc
-------------------------------*/
#search-wrap{
	position: relative;
	top: -13px;
}


@media screen and (max-width: 896px){
#search-wrap{ 
	display: none;
	}
}

#search-txt{ 
	-webkit-appearance: none;
	width: 25px;
	height: 25px;
	padding: 16px 10px;
	border: none;
	background: #fff url("http://exampleno4.pear-two.com/wp-content/uploads/2022/02/search.png") no-repeat 17px center;
	background-size: 20px 20px;
	cursor: pointer;
	outline: none;
	transition: all 0.6s;
	-webkit-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
}

#search-txt:focus{
	width: 250px;
	padding: 16px 0 16px 60px;
	border-bottom: 1px solid #b29c7b;
}

#post-search-wrap{ 
	display: none;
	}

@media screen and (max-width: 599px){
#post-search-wrap{ 
	display: inline-block;
	position: absolute;
	right: 55px;
	}
}

@media screen and (max-width:896px){
#post-search-wrap{
	display: inline-block;
	position: absolute;
	right: 70px;
	}
	
#post-search-txt{ 
	-webkit-appearance: none;
	width: 25px;
	height: 25px;
	padding: 16px 10px;
	border: none;
	background: #fff url("http://exampleno4.pear-two.com/wp-content/uploads/2022/02/search.png") no-repeat 17px center;
	background-size: 20px 20px;
	cursor: pointer;
	outline: none;
	transition: all 0.6s;
	-webkit-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
}

#post-search-txt:focus{
	width: 250px;
	padding: 16px 0 16px 60px;
	border-bottom: 1px solid #b29c7b;
	}
}

/*=======================================================
global-nav：pagesレスポンシブ対応
=======================================================*/

@media screen and (max-width: 896px) {
#g-nav{
    position:fixed;
    z-index: 999;
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;
	background: #b29c7b;
	transition: all 0.6s ease;
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
}

#g-nav.panelactive{
    right: 0;
}

#g-nav ul {
	display: block;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#g-nav li{
	list-style: none;
    text-align: center;
	padding: 0 0 0 0;
	margin-bottom: 1.5em; 
}

#g-nav li:last-child{
	padding: 0 0 0 0;
}
	
#g-nav li a{
  color: #333;
  text-decoration: none;
  display: block;
  letter-spacing: 0.1em;
}	
	
.openbtn1{ 
	display: inline-block;
	position:relative;
    z-index: 9999;
	top: 0px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
  
.openbtn1 span{
	width: 45%;
    display: inline-block;
	position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
	background-color: #111;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	-o-transition: all .4s ease;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
	}
}
