/*
Theme Name: takeout
Author: NOKOTO
Author URI: https://nokoto.life
Version: 1.1
*/

/*
-------------------
  base style
-------------------
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  position: relative;  
  margin: 0;
    padding: 0;
    border: 0;
    box-sizing:border-box;
    font: inherit;
    vertical-align: center;
    line-height: 1;
    font-feature-settings : "palt";
	letter-spacing: 0px;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

html{
  font-size: 16px;
}

body {
    font-family:  "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
ol, ul, li {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


p,a{
  line-height:1.8;
  font-size:1rem;
  color:#555;
}

a{
	text-decoration: none;
}

a:hover{
  
}

h1, h2, h3, h4, h5, h6{
  color:#555;
  line-height:1.3;
}


strong{
  font-weight:bold;
}

iframe{
  max-width:100%;
}

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


input{
  width:100%;
  border:1px solid #aaa;
  padding:10px;
  box-sizing:border-box;
  background:transparent;
}

textarea{
  width:100%;
  border:1px solid #aaa;
  padding:10px;
  border-radius:4px;  
  box-sizing:border-box;
  background:transparent;
}

input[type="submit"]{
  display:block;
  width:100%;
  margin:auto;
  margin-top:40px;
  padding:10px 0px;
  font-size:1rem;
  transition: background 0.1s ease-in-out;
  background:#FAC75A;
  color:#fff;
  font-weight:bold;
  text-align:center;
  border:none;
  border-bottom:4px solid #deb459;
}

input[type="submit"]:hover{

}



/*
-------------------
  common style
-------------------
*/

.wrap{
  max-width:1680px;
  margin:auto;
  background:#fff;
}

.font{
  font-family: 'Quicksand', sans-serif;
  letter-spacing:0.4rem;
}

h2{
  font-size: 1.4rem;
  font-weight:bold;
  text-align:center;
}

a.button{
  display:block;
  width:280px;
  padding:8px 0px;
  margin:auto;
  background:#FAC75A;
  color:#fff;
  font-weight:bold;
  text-align:center;
  border-bottom:4px solid #deb459;
}

#header-sub{
  position:relative;
  height: 101px;
  padding:0 10vw;
  margin-bottom:40px;
  background-image:url("images/topimage-bg.jpg");
  background-size:cover;
  background-position:top center;
  border-bottom: 15px solid #ccc;
}


/*
-------------------
  single style
-------------------
*/

.single-style h1{
  margin:40px 0px;
  text-align:left;
  font-size:3rem;
  font-weight:bold;
}

.single-style h2{
  padding:4px 0px;
  margin:20px 0px;;
  font-size:2rem;
  line-height:1.4;
  font-weight:bold;
  text-align:left;
  border-bottom:4px solid #555555;
}

.single-style h3{
  padding:4px 0px;
  margin:20px 0px;;
  font-size:1.4rem;;
  line-height:1.4;
  font-weight:bold;
  border-bottom:2px solid #555555;
}

.single-style h4{
  padding:4px 0px;
  margin:20px 0px;;
  font-size:1rem;
  line-height:1.4;
  font-weight:bold;
  border-bottom:1px solid #555555;
}

.single-style h6{
  position:relative;
  left: 37px;
  padding:4px 0px;
  margin:20px 0px;
  font-size:1rem;
  line-height:1.4;
  font-weight:bold;
}

.single-style h6:before{
  content:"";
  position:absolute;
  top: 40%;
  left: -5%;
  display:block;
  width: 22px;
  border-bottom:2px solid #555;
}

.single-style h5{
  padding:4px 0px;
  padding-left:20px;
  margin:20px 0px;
  font-size:1rem;
  line-height:1.4;
  font-weight:bold;
  border-left:2px solid #555;
}


.single-style img{
  display:block;
  max-height: 600px;
  width:auto;
  margin:auto;
}

.single-style p{
  margin:40px 0;
}

.single-style a{
  text-decoration:underline;
  color:#FAC75A;
}

.single-style strong{
  font-weight:bold;
}

.single-style ul{
  margin:20px 0;
}

.single-style ul li{
  list-style:disc;
  margin:6px 0;
  margin-left:20px;
}

.single-style ol{
  margin:20px 0;
}

.single-style ol li{
  list-style:decimal;
  margin:6px 0;
  margin-left:20px;
}

.single-style table{
  margin:auto;
}

.single-style td{
  padding:16px;
  line-height:1.6;
}


.wp-pagenavi{
  margin:80px auto;
  text-align:center;
}

.wp-pagenavi a{
  padding: 15px 20px;
  margin:0px 10px;
  background:#7B80BA;
  color:#fff;
}


.wp-pagenavi a:hover{
  background:#3c3f5d;
}

.wp-pagenavi span{
  padding:10px 15px;;
  margin:0px 10px;
}



/*
-------------------
  header
-------------------
*/
#contents{
  opacity:0;
  transition:all 2s ease-out;
}

#wrap{

}

#loading {
  width: 100%;
  height: 100vh;
  background-color: #333;
  position: fixed;
  z-index:-100;
}

@keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

#loading img {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loading img.loading-logo{
  top:45%;
  left: 34vw;
  width:300px;
}

#loading img.loading-icon{
  top: 63%;
  left: 26vw;
  width: 100px;
}

header{
  position:absolute;
  top:0px;
  left:0px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  padding:0 10vw;
  z-index:500;
}

header h1{
  margin-left:2%;
}

header h1 img{
  position:relative;
  display:block;
  width:10vw;
  max-width:300px;
  top:10px;
}

header nav ul{
  display:flex;
  align-items:center;
}

#close_btn{
  display:none;
}

#mobile-menu{
  display:none;
}

header nav ul li a{
  display:block;
  padding:0px 1vw;
  font-size:1rem;
  color:#fff;
}

header nav ul li a:hover{

}

header nav ul li.mobile{
  display:none;
}

header a.nav-button{
  padding: 0.7vw 2.8vw;
  margin-left: 1.7vw;
}

/*
-------------------
  index
-------------------
*/

#topimage{
  position:relative;
  height: 600px;
  padding:0 10vw;
  background-image:url("images/topimage-bg.jpg");
  background-size:cover;
  background-position:center;
}

#topimage img{
  width:500px;
}

#topimage section{
  position:absolute;
  top: 23%;
  padding:20px;
}

#topimage section p{
  margin-top:20px;
  color:#fff;
  font-size:0.8rem;
  line-height:1;
}



#index-menu{
  width:90%;
  margin: 55px auto;
  margin-bottom:80px;
}



#index-menu section{
  display:flex;
  justify-content:center;
  margin-top:40px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

#index-menu .box{
  width:300px;
  margin:10px;
  box-shadow:1px 1px 5px 1px #e2e2e2;
}

#index-menu .box .image{
  height:200px;
  overflow:hidden;
  object-fit:contain;
  background-image:url("images/no-image.jpg");
  background-size:cover;
  text-align:center;
}

#index-menu .box .image img{
  height:100%;
  object-fit:cover;
}

#index-menu .box h3{
  padding:10px 10px;
  font-size: 0.8rem;
}

#index-menu .box h3 a{
  font-size: 0.7rem;
  line-height:1.4;
}

#index-menu .box p{
  margin:20px;
  line-height:1.2;
}

#index-genre ul{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  margin:80px 0px;
  margin-top:0px;
}

#index-genre ul li{
  margin:20px;
}

#index-genre ul li a{
  display:block;
  padding:10px 40px;
  box-shadow: 1px 1px 5px 1px #e2e2e2;
}

#index-shops{
  width:90%;
  margin:auto;
}

#index-shops section{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  margin:40px 0px;
}

#index-shops .box{
  width:300px;
  display:flex;
  margin:10px 10px;
  box-shadow: 1px 1px 5px 1px #e2e2e2;
}

#index-shops .box .image{
  width:100px;
  height:100px;
  margin-right:10px;
  overflow:hidden;
  background-image:url("images/no-image.jpg");
  background-size:cover;
  background-position:center;
}

#index-shops .box .image img{
  height:100%;
  object-fit:cover;
}

#index-shops h3{
  font-size:0.8rem;
  margin:10px 0;
}

#index-shops .reserve-info a{
  padding:0px 10px;
  background:#FAC75A;
  color:#fff;
  text-align:center;
  font-size:0.7rem;
}

#index-shops .genre{
  color:#aaa;
  font-size:0.7rem;
}

#index-shops .genre a{
  color:#aaa;
  font-size:0.7rem;
}

#index-shops .box a.link-area{
  display:block;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

/*
-------------------
  massage
-------------------
*/

#page{
  width:680px;
  margin:auto;
}


/*
-------------------
  single-shops
-------------------
*/

#single-shops{
  width:980px;
  margin:20px auto;
}

#single-shops .reserve-info a{
  padding:0px 10px;
  background:#FAC75A;
  color:#fff;
  text-align:center;
  font-size:0.8rem;
}

#single-shops h2{
  text-align:left;
  margin:10px 0px;
  font-size:2rem;
  font-weight:bold;
}

#single-shops-social ul{
  display:flex;
  margin:20px 0px;
}

#single-shops-social ul li{
  width:40px;
  margin-right:20px;
}

#single-social-address{
  display:flex;
  margin-top:40px;
  align-items: center;

}

#single-social-address p{
  font-size:0.8rem;
  line-height:0.5;
}

#single-social-address a{
  font-size:1.4rem;
  text-decoration:underline;
  color:#940000;
}

#single-social-address img{
  width:40px;
}

#single-shops-menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  margin:20px 0px;

}

#single-shops-menu .box{
  width: 47%;
  margin:0px 10px;
  margin-bottom:20px;
}

#single-shops-menu .box .image{
  height:400px;
  overflow:hidden;
  background-image:url("images/no-image.jpg");
  background-size:cover;
  background-position:center;
}

#single-shops-menu .box .image img{
  height:100%;
  object-fit:scale-down;
}


/*
-------------------
  footer
-------------------
*/

footer{
  padding:80px 20px;
  margin-top:80px;
  background:#333;
}

footer img{
  width: 240px;
}

footer a{
  color:#fff;
  font-size:0.8rem;
}

/*
-------------------
  mobile style
-------------------
*/

@media screen and (max-width:680px){

  

#loading img.loading-logo{
  top:45%;
  left: 34vw;
  width:60%;
}

#loading img.loading-icon{
  top: 57%;
  left: 10vw;
  width: 12%;
}

header{
  padding:3vw;
}

header nav{
position:fixed;
  top:-100vw;
  right:-100vw;
  width:100%;
  height:100%;
  overflow:hidden;
  opacity:0;
}

header h1 img{
  width: 20vw;
  top:0;
}

#mobile-menu{
  position:relative;
  display:block;
  padding:6px;
  z-index:1;
}

#mobile-menu img{
  width: 33px;
  height:auto;
}

header nav.open{
  display:block;
  top:0px;
  right:0px;
  box-sizing:border-box;
  width:100%;
  height:100%;
  padding:40px 0;
  background:#333;
  opacity:0.96;
  text-align:center;
  z-index:100;
}

header nav.open #close_btn{
  position:absolute;
  top:10px;
  right:10px;
  display:block;
  width:33px;
}

header nav.open ul{
  display:block;
}

header nav.open ul li a{
  padding:14px 0px;
  font-size:4vw;
}

header nav ul li.mobile{
  display:block;
}

header nav.open a.nav-button{
  width:90%;
  margin:auto;
}

#topimage{
  height:140vw;
  padding:0;
}

#topimage section{
  top:unset;
  bottom:0;
}

#topimage img{
  width: 76vw;
}


#index-menu{
  width:auto;
  padding: 0px 10px;
  margin:26px 0px;
}

#index-menu h2{
  margin-left:20px;
  font-size:5vw;
  text-align:left;
}

#index-menu section{
  margin-top:10px;
}

#index-menu section .box{
  width: 47%;
  padding-bottom:10px;
  margin: 4px;
}

#index-menu section .box .image{
  height:28vw;
}

#index-menu section .box a{
  width:90%;
}

#index-genre{
  margin-top:80px;
}

#index-genre ul{
  justify-content:flex-start;
}

#index-genre ul li{
  margin:10px;
}

#index-genre ul li a{
  font-size:0.8rem;
  padding:6px 20px;
}

#index-shops{
  width:auto;

}

#index-shops section{
  display:block;
  margin-bottom:40px;
}

#index-shops .box{
  align-items:center;
  width:auto;
  margin:10px 10px;
  border-bottom:1px solid #ccc;
}

#index-shops .box .image{
  width:70px;
  height:70px;
}

#index-shops h3{
  margin: 2px 0px;
}

#header-sub{
  height: 87px;
  border-bottom: 20px solid #ccc;
}

#page{
  width:auto;
  padding:0px 20px;
}

#single-shops{
  width:auto;
  padding:0px 20px;
}

#single-shops h2{
  font-size:1.6rem;
}

#single-shops-menu{
  display:block;
}

#single-shops-menu .box{
  width:auto;
  margin:0px;
  margin-bottom:40px;
}

#single-shops-menu .box .image{
  height:unset;
  min-height:50vw;
}

footer img{
  width:55%;
}



}


  