/*
Theme Name: twentyseventeen-child
Template: twentyseventeen
Version: 3.0
*/

/*0617 stmn */
/* custom-header */
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
display: block;
position: relative;
height: auto;
}
/* <img> */
.has-header-image.twentyseventeen-front-page .custom-header-media img,
.has-header-image.home .custom-header-media img {
bottom: 0;
position: absolute;
top: auto;
-ms-transform: translateX(-50%) translateY(0);
-moz-transform: translateX(-50%) translateY(0);
-webkit-transform: translateX(-50%) translateY(0);
transform: translateX(-50%) translateY(0);
}
.has-header-image.twentyseventeen-front-page .custom-header-media img,
.has-header-image.home .custom-header-media img {
height: 100%;
left: 0;
-o-object-fit: cover;
object-fit: cover;
top: 0;
-ms-transform: none;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 100%;
}
/* メニュー内の矢印を消す */
.site-header .menu-scroll-down {
display: none;
}
@media screen and (min-width: 48em) {
/* .custom-header-media:before */
.twentyseventeen-front-page.has-header-image .custom-header-media:before,
.twentyseventeen-front-page.has-header-video .custom-header-media:before,
.home.blog.has-header-image .custom-header-media:before,
.home.blog.has-header-video .custom-header-media:before {
height: 100%;
}
/* .custom-header-media */
.has-header-image.twentyseventeen-front-page .custom-header-media,
.has-header-image.home .custom-header-media,
.has-header-video.twentyseventeen-front-page .custom-header-media,
.has-header-video.home .custom-header-media,
.twentyseventeen-front-page.has-header-image .custom-header-media,
.twentyseventeen-front-page.has-header-video .custom-header-media,
.home.blog.has-header-image .custom-header-media,
.home.blog.has-header-video .custom-header-media {
bottom: 0;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
}
/* .site-branding */
.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding,
.twentyseventeen-front-page.has-header-image .site-branding,
.twentyseventeen-front-page.has-header-video .site-branding,
.home.blog.has-header-image .site-branding,
.home.blog.has-header-video .site-branding,
.site-branding {
padding: 1em 0;
position: relative;
-webkit-transition: margin-bottom 0.2s;
transition: margin-bottom 0.2s;
z-index: 3;
padding: 3em 0;
margin-bottom: 0;
}
}
/*0617 stmn end*/
.custom-header {
  margin-bottom: 72px;
}
.topImg.top,
.topImg.page{
  display: block;
}
@media screen and (min-width: 48em){
body:not(.has-sidebar):not(.page-one-column) .page-header {
    width: 100%;
  }
}
/*top nav下余白消す*/
#post-12 > div > div > header{
  margin-bottom: 0;
}
/*menu instagram*/
#menu-item-469 > a{
  background: linear-gradient(45deg, rgba(254,212,117,1) 0%,rgba(229,61,93,1) 50%,rgba(194,49,134,1) 70%,rgba(156,56,187,1) 100%);
}

.clear{
  clear: both;
}
.page-one-column .panel-content .wrap{
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.page.page-one-column:not(.twentyseventeen-front-page) #primary{
  max-width: 1200px;
}
.content-all{
  font-weight: 400;
}
html[lang="ja"] body{
  font-family:'Noto Serif JP','Yu Mincho Light','YuMincho','Yu Mincho','游明朝体',serif;
}
@media screen and (min-width: 30em) {
  html[lang="ja"] body{
    font-size:0.935rem;
  }
}

/*h1*/
body.page:not(.twentyseventeen-front-page) .entry-title{
  font-size: 1.8em;
  padding: 0 0 10px 30px;
  border-bottom: #ddd solid 0.5px;
  display: block;
}
#toppage h2{
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
  margin-bottom: 5rem;
}
#toppage h2:before{
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #ddd;
 }

#menupage h2,
#contactpage h2,
#infopage h2{
  font-size: 1.1em;
  padding:0 0 0 10px;
  border-left: #ddd solid 4px;
  display: inline-block;
}

/*#toppage**********/
/*.top-img img{
  background-attachment: fixed;
  background-size: cover;
}*/
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  _::-webkit-full-page-media, _:future, :root .parallax-bg {
    display: none;
  }
}
.parallax-bg{
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 260px;
  width: 100%;
  filter:opacity(50%);
}
.img-bg-01 {
  background-image: url('https://omochi.nikusho-azuma.com/image/032.jpg');
}
.img-bg-02 {
  background-image: url('https://omochi.nikusho-azuma.com/image/010.jpg');
}
.img-bg-03 {
  background-image: url('https://omochi.nikusho-azuma.com/image/016.jpg');
}
.img-bg-04 {
  background-image: url('https://omochi.nikusho-azuma.com/image/011.jpg');
}
.top1{
  margin-bottom: 40px;
}
.top1>p{
  text-align: center;
  font-size: 21px;
  padding: 15px;
  margin-top: 50px;
}
.top1 .top_box1{
  margin-top:80px;
}
.item2,
.item3,
.item6{
  filter:opacity(70%) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.7));
}
.item4 span.owner{
  display: block;
  text-align: right;
}
.top2,
.top3,
.top4,
.top5{
  margin-top: 80px;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
}
.topmenu{
  padding: 40px;
  font-size:19px ;
  z-index: 1;
  margin-bottom: 70px;
}
.topmenu_bg{
  position: absolute;
  background-image: url('https://test.nikusho-azuma.com/image/018.jpg');
  opacity: .4;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.topmenu_img{
  display: inline-block;
  width: 70%;
  z-index: 1;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,0.4));
}
.topmenu p:nth-child(5){
  text-align: right;
  font-size: 16px;
}
/*top_animation*/
.animation-u{
	opacity : 0;
	visibility: hidden;
	transition: 3s;
	transform: translateY(50px);
}
/*アニメーション要素までスクロールした時*/
.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

 /*btn*/
#toppage a.btnarrow,
#toppage > div.top5 > div.btnbox > a,
#contactpage div.btnbox > a,
#toppage > div.top5 > div.btn.line > a:hover{
  box-shadow: none;
}
.btn.menu a{
  margin: 20px;
}
/*矢印が右に移動する*/
.btnarrow{
  /*矢印と下線の基点とするためrelativeを指定*/
  position: relative;
  /*形状*/
  display: inline-block;
  padding: 0 20px;
  /*color: #ddd;*/
  text-decoration: none;
  outline: none;
}

/*矢印と下線の形状*/
.btnarrow::before{
  content: '';
  /*絶対配置で下線の位置を決める*/
  position: absolute;
  bottom:-8px;
  left:15%;
  /*下線の形状*/    
  width: 85%;
  height: 1px;
  background:#ddd;
  /*アニメーションの指定*/
  transition: all .8s;
}

.btnarrow::after{
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom:-3px;
  right:0;
  /*矢印の形状*/    
  width: 15px;
  height:1px;
  background:#ddd;
  transform: rotate(35deg);
  /*アニメーションの指定*/
  transition: all .8s;
}

/*hoverした際の移動*/
.btnarrow:hover::before{
  left:20%;
}
.btnarrow:hover::after{
  right:-5%;
}

.gmap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btnbox span.telep,
.btnbox.contact a{
  display: inline-block;
  padding: 10px 50px;
  border: solid #ddd 0.5px;
  margin: 20px;
}
#contactpage .btnbox{
  text-align: center;
}
.btnbox.contact a:hover{
  background-color: rgba(255, 255, 255, 0.5);
}
.btnbox i{
  margin-right: 8px;
}
.btnbox.contact{
  margin-bottom: 50px;
}
.btnbox.contact a{
  cursor: pointer;
  transition: all 0.5s 0s ease;
}
.btn.line a{
  display: inline-block;
  width: 150px;
}

/*logo*/
#toppage{
  background-image:url('https://omochi.nikusho-azuma.com/image/044.png');
  background-repeat: no-repeat;
  background-position: bottom 0 left 10%;
  background-size: 30%;
}
/*#menupage******************************/
#menupage img{
  filter:drop-shadow(0 3px 5px rgba(0,0,0,0.7));
}
.menu_box.img_menu{
  display:-webkit-box;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.menu_box.img_menu .img_menu_item.col3{
  width: 28%;
}
.menu_box.img_menu .img_menu_item.col2{
  width: 45%;
}
.menu_box.img_menu .img_menu_item p:nth-of-type(2){
  margin-bottom: 0;
}
.menu_box.img_menu .img_menu_item p:nth-of-type(3){
  text-align: right;
}
.lunch_menu span,
.menu_box.img_menu .img_menu_item span,
.text_menu table span{
  font-size: 14px;
  display: inline-block;
  margin-left: 5px;
}
.img_menu_item.single{
  width: 70%;
  margin: 0 auto;
}
.img_menu_item.single span{
  float: right;
}
.img_menu_item.single span>span{
  margin-left: 5px;
}
.text_menu table{
  max-width: 650px;
  margin: 0 auto;
}
.text_menu table td{
  text-align: right;
  min-width: 65px;
}
.text_menu table th span{
  font-size: 0.8rem;
}
/**lunch*****************/
.lunch_menu{
  text-align: center;
  margin: 0 auto;
  margin-bottom: 100px;
}
.lunch_menu img{
  width: 60%;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,0.7));
} 
.lunch_menu p:nth-of-type(2){
font-size: 19px;
margin-bottom: 10px;
}
.lunch_menu p:nth-of-type(3){
  font-size: 17px;
  }
/*contactpage*/
#contactpage h2:nth-of-type(2),
#contactpage h2:nth-of-type(3){
  margin-top: 50px;
}
#contactpage p{
  margin-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
}
span.telno{
  font-family: YuGothic,'Yu Gothic',sans-serif;
  display: inline-block;
  margin-left: 10px;
  font-size: 2rem;
}
#contactpage .btn.line{
  padding-left: 15px;
}
#mw_wp_form_mw-wp-form-50 > form > p:nth-child(1) > span.mwform-tel-field{
  margin-bottom: 10px;
}
.mwform-tel-field input[type="text"]{
  max-width: 75px;
}
#contactform > p:nth-child(9),
#contactform > p:nth-child(11){
  margin-bottom: 20px;
}
#contactform span.error{
  color: #fff;
  background-color: darkred;
}
input[type="submit"] {
  margin-bottom: 10px;
}
/*infopage*/
#infopage p{
  margin-bottom: 50px;
  padding-left: 15px;
  padding-right: 15px;
}
/*footer*/
/*.site-footer .wrap {
  text-align: center;
}
.social-navigation + .site-info  {
  margin: 0;
  float: none;
  width: 100%;
}
.social-navigation{
  max-width: 45px;
  margin: 0;
}*/
/***************************************************************************************************************/
/*768px以上*/
@media screen and (min-width: 768px) {
 
  .for-sp{
    display: none;
  }
  .top1{
    margin-right: 50px;
    margin-left: 50px;
    padding: 20px;
  }
  .top1 .top_box1,
  .top1 .top_box2,
  .top1 .top_box3{
    display:-webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 19px;
  }
  .top1 .top_box1{
    flex-direction: row-reverse;
  }
  
  .item1{
    flex-grow:3;
  }
  .item2{
    flex-grow:1;
    margin-top: 80px;
    margin-left: 40px;
    width: 50%;
  }
  .item3{
    align-self: flex-start;
    flex-grow:2;
    width: 20%;
  }
  .item4{
    align-self: center;
    flex-grow:4;
    margin-left: 40px;
    width: 70%;
  }
  .item5{
    flex-grow:3;
    margin-left: 50px;
    align-self: center;
  }
  .item6{
    flex-grow:1;
    width: 50%;
  }
  .top3 .seat_box{
    display:-webkit-box;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  .top3 .seat_box.seat_box2{
    flex-direction: row-reverse;
  }
  .seat_p{
    width: 40%;
    font-size: 19px;
    margin-top: 100px;
  }
  .seat_img{
    width: 50%;
  }

  .top4_box{
    display:-webkit-box;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  .top4 .topinfo{
    width: 50%;
    text-align: left;
  }
  .gmap-wrap{
    width: 80%;
    margin: 0 auto;
  }
}
/*767px以下*/
@media screen and (max-width: 767px) {
  .page-header{
    padding-bottom: 0;
  }
  .for-pc{
    display: none;
  }
  .parallax-bg{
    background-size: contain;
    height: 120px;
  }
  .top_box1,
  .top_box2,
  .top_box3{
    text-align: center;
  }
  .item2,
  .item3,
  .item6{
    margin: 0 auto;
  }
  .item2,
  .item6{
    width: 80%;
  }
  .item3{
    width: 50%;
  }
  .item4 {
    margin-right: 15px;
    margin-left: 15px;
  }
  .item4 span.owner{
    text-align: center;
  }
 
  .topmenu_img{
    width: 100%;
  }
  .gmap-wrap{
    width: 80%;
    margin: 0 auto;
  }
  .lunch_menu img{
    width: 100%;
  } 
  #contactpage .btn.line a{
    margin-bottom: 30px;
  }
}

/*501px以上*/
@media screen and (min-width: 501px) {
  .for-sps{
    display: none;
  }
  /*.top6.instagram{
    margin: 0 auto;
    width: 40%;
  }*/
}

/*500px以下*/
@media screen and (max-width: 500px) { 
  /*h1*/
body.page:not(.twentyseventeen-front-page) .entry-title{
  font-size: 1.5em;
  padding: 0 0 10px 0;
}
  .top1{
    margin-bottom: 0;
  }
  .top1>p{
    font-size: 18px;
    padding: 8px;
    margin-top: 40px;
  }
  .top2,
  .top3,
  .top4,
  .top5{
    margin-left: 10px;
    margin-right: 10px;
  }
  .item2,
  .item6{
    width: 80%;
  }
  .item3{
    width: 60%;
  }
 
  .topmenu{
    font-size: 16px;
    padding: 20px;
  }

  .btnbox.contact a{
    padding: 10px 30px;
  }
 
  .btn.line a{
    width: 150px;
  }
  /*.top6.instagram{
    margin-left: 10px;
    margin-right: 10px;
  }
  .instagram-media{
    min-width: 100% !important;
    margin: 0 -1px !important;
    border-right: none !important;
    border-left: none !important;
  }*/
  /*#menupage p{
    font-size:15px ;
  }*/
  .img_menu_item.single{
    width: 80%;
    margin: 0 auto;
  }
  /*contact*/
  span.telno{
    font-size: 1.7rem;
    margin-left: 0;
  }
}
