@charset "utf-8";
/*
Theme Name: sangenjaya_bar
Theme URI:
Description:
Version: 1.0
Author: sangenjaya_bar
Author URI: https://salon-de-sangenjaya.com/
*/


@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);
@import url(https://fonts.googleapis.com/css?family=Pacifico);


/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
img,abbr,acronym,fieldset{border:0;}


body{
  font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
  font-weight: 300;
  -webkit-text-size-adjust:100%;
  color: #fff;
  background: #000;
}


/* リンク設定
------------------------------------------------------------*/
a{
  color: #2b86b5;
  text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{
  outline: 0;
}


/* アーカイブ + ウィジェット */
.col3 a{
  display: block;
  color: #fff;
}

.col3 a:hover{
  color: #2b86b5;
  text-decoration: none;
}

#wp-calendar a{
  color: #2b86b5 !important;
}



/* フォーム
------------------------------------------------------------*/
input[type="text"], input[type="email"], textarea{
  max-width: 90%;
  height: 28px;
  padding: 0 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  line-height: 28px;
  font-size: 100%;
  color: #555;
  background: #fcfcfc;
}

textarea{
  height: auto;
  line-height: 1.5;
}

input[type="submit"], input[type="reset"], input[type="button"]{
  padding: 1px 10px;
  border: 0;
  border-radius: 3px;
  line-height: 28px;
  font-size: 100%;
  color: #fff;
  background: #000;
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover{
  cursor: pointer;
  background: #777;
}



/* ヘッダー
------------------------------------------------------------*/
#header{
  text-align: center;
}

#logo{
  padding-top: 10px;
}

#logo img{
  transform: scale(.5);
}

#mainnav a{
  color: #fff;
  font-family: 'Noto Sans JP', serif;
}

#mainImg img{
  width: 100%;
  height: auto;
  margin-bottom: 80px;
}



/* ウィジェット
------------------------------------------------------------*/
#widget{
  clear: both;
  margin-top: 50px;
  padding-top: 80px;
  border-top: 1px solid #dfdfdf;
}

.widget{
  padding-bottom: 30px;
}

.widget li{
  margin-bottom: 10px;
  line-height: 1.5;
}

.widget .sub-menu{
  margin: 5px 0 0 10px;
  font-size: 90%;
}

#wp-calendar{
  width: 100%;
}

#wp-calendar th, #wp-calendar td{
  text-align: center;
}

#wp-calendar caption {
    font-weight: bold;
    text-align: center;
}

#wp-calendar #today{
  background: #eee;
}

#wp-calendar th:nth-child(6){
  color: #0040ce;
}

#wp-calendar th:nth-child(7){
  color: #cc0000;
}

#wp-calendar #prev{
  padding-top: 10px;
  text-align: left;
}

#wp-calendar #next{
  padding-top: 10px;
  text-align: right;
}



/* フッター
------------------------------------------------------------*/
#footer{
  clear: both;
  padding: 50px 10px 50px 0;
  text-align: center;
  font-size: 90%;
}



/* 共通
------------------------------------------------------------*/
h1, h2{
  font-family: 'Noto Sans JP', serif;
}

h3{
  font-size: 120%;
}

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

.inner{
  width: 80%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.innerS{
  width: 60%;
  margin: 0 auto;
  padding-bottom: 50px;
}



/* ページ・投稿
------------------------------------------------------------*/
#singleImg{
  text-align: center;
  margin-bottom: 40px;
}

#singleImg img{
  width: 100%;
  height: auto;
}

.header{
  width: 60%;
  margin: 0 auto;
  background: url(images/borderBlack.png) repeat-x 0 50%;
  background-size: 1px 1px;
}

.header h1{
  padding: 10px;
}

.header h1 span{
  display: inline-block;
  background: #000;
  padding: 0 80px;
}

section header h1{
  text-align: center;
  font-size: 120%;
  margin-bottom: 30px;
}

.entry-footer{
  clear: both;
  padding-top: 30px;
  font-size: 80%;
  text-align: right;
}

.entry-footer span{
  padding-right: 10px;
}



/* アーカイブ
------------------------------------------------------------*/
.col3 .thumb{
  text-align: center;
  margin-bottom: 15px;
}

.col3 .thumb img{
  width: 100%;
  height: auto;
}

.col3 h3{
  margin-bottom: 10px;
  line-height: 1.5;
}

.date{
  margin-top: 10px;
  font-size: 80%;
}



/* タイポグラフィ
------------------------------------------------------------*/
.post p{
  margin-bottom: 30px;
}

.post ul{
  margin: 0 0 10px 20px;
}

.post ul li{
  margin-bottom: 5px;
  padding-left: 5px;
  list-style: disc;
}

.post ol{
  margin: 0 0 10px 30px;
}

.post ol li{
  list-style:decimal;
}

.post h1, .post h2, .post h3, .post h4, .post h5, .post h6{
  clear: both;
  margin-bottom: 30px;
  padding: 20px 0 0;
  font-size: 100%;
}

.post h1{
  font-size: 120%;
}

.post h2{
  margin: 30px auto;
  font-size: 100%;
  text-align: center;
}

.post h2 span{
  display: inline-block;
  padding: 10px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.post h3{
  padding-bottom: 20px;
  border-bottom:2px solid #fff;
}

.post blockquote{
  clear: both;
  margin: 10px 0 30px;
  padding: 0 0 0 20px;
  border-left: 2px solid #bababa;
}

.post blockquote p{
  margin: 0;
}

.post table{
  margin:10px 0 20px;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px #bababa solid;
}

.post table th{
  padding: 7px 10px 7px 5px;
  border: #bababa solid;
  border-width:0 0 1px 1px;
  font-weight: bold;
  color: #fff;
  background: #ccc;
}

.post table td{
  padding: 7px 5px;
  border: 1px #bababa solid;
  border-width: 0 0 1px 1px;
  }

.post dt{
  font-weight: bold;
}

.post dd{
  padding-bottom: 10px;
}

.aligncenter {
  display: block;
  margin:5px auto;
}

.alignright, .alignleft{
  float:right;
  margin: 5px 0 15px 7px;
  display: inline;
}

.alignleft{
  float: left;
  margin: 5px 15px 2px 0;
}

.clear{
  clear: both;
}

.imgFull{
  width: 100% !important;
  height: auto;
}




/* ページナビ
------------------------------------------------------------*/
.pagination, #pageLinks{
  clear: both;
  padding-top: 30px;
  text-align: center;
}

.pagination li{
  display: inline-block;
  margin: 0 5px;
  height: 35px;
  width: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 100px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, .2);
}


#pageLinks span{
  padding: 0 5px;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
  body{
    font-size:15px;
  }
  a#menu{
    display:none;
  }
  .panel{
    display:block !important;
    padding-bottom: 50px;
  }
  #mainnav li{
    display: inline-block;
    position: relative;
    padding: 0 30px;
    font-size: 14px;
  }
  #mainnav li a{
    display: block;
  }
  #mainnav li ul{
    display: none;
  }
  #mainnav li:hover ul{
    display: block;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 500;
    background: rgba(255,255,255,.8)
  }
  #mainnav li li{
    padding: 10px;
    line-height: 1.5;
    border-bottom: 1px solid #fff;
    text-align: left;
  }
  #footer{
    padding: 30px 10px 70px 0;
  }
}

@media only screen and (min-width: 981px){
  .col3{
    width: 80%;
    margin: 0 auto;
  }

  .col3 > li{
    display: inline-block;
    width: 30%;
    padding: 0 1.5%;
    margin-bottom: 50px;
    vertical-align: top;
    text-align: left;
  }
}


@media only screen and (max-width: 980px){
  .col3 > li{
    width: 80%;
    margin: 0 auto 30px;
  }
  .header{
    width: 80%;
    margin-bottom: 30px;
  }
  .header h1 span{
      padding: 0 15px;
  }
  #mainImg img{
    margin-bottom: 0;
  }
  .innerS{
    width: 80%;
    padding-bottom: 30px;
  }
}


@media only screen and (max-width: 799px){
  #header{
    position: fixed;
    width: 100%;
    z-index: 500;
  }
  #headerWrap{
    position: relative;
    width: 100%;
    height: 70px;
    background: #000;
    border-bottom: 1px solid #ccc;
  }
  #logo{
    padding-top: 10px;
  }
  #logo img{
    max-height: 45px;
    width: auto !important;
    transform: scale(1);
  }
  a#menu{
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }

  #menuBtn{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #fff;
    transition: .2s;
  }
  #menuBtn:before, #menuBtn:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: .3s;
  }

  #menuBtn:before{
    margin-top: -7px;
  }

  #menuBtn:after{
    margin-top: 5px;
  }

  a#menu .close{
    background: transparent;
  }

  a#menu .close:before, a#menu .close:after{
    margin-top: 0;
  }

  a#menu .close:before{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  a#menu .close:after{
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  .panel{
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100;
  }
  #mainnav{
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
    z-index:500;
  }
  #mainnav ul{
    background: #000;
    text-align: left;
  }
  #mainnav ul ul li{
    padding-left: 20px;
  }

  #mainnav li a{
    position: relative;
    display:block;
    padding:15px 25px;
    border-bottom: 1px solid #ccc;
    color: #fff;
    font-weight: 400;
  }
  #mainnav li.menu-item-has-children a{
    border-bottom: 0;
  }
  #mainnav li.menu-item-has-children{
    border-bottom: 1px solid #ccc;
  }
  #mainnav li a:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #mainImg{
    padding-top: 70px;
    z-index: -100;
  }
  section{
    padding-top: 100px;
  }
  section#toppage{
    padding-top: 30px;
  }
  section h2{
    margin: 0 auto 20px;
  }
  section h2 span {
    padding: 0 30px;
  }
  .alignright, .alignleft{
    float: none;
    display: block;
    margin: 10px auto;
  }
}
