@charset "utf-8";

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

/*-------------------------------------------
all
-------------------------------------------*/
body {
  font: 100%/1.5 Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
  color:#666;
  width:100%;
}

a{
  color:#333;
  text-decoration:none;
}

strong{
  color:#dc143c;
}

img{
  height:auto;
}

/*-------------------------------------------
header
-------------------------------------------*/
#header h1{
  margin:10px 10px 20px 10px;
  width:79vw;
  color: #666;
  font-size:80%;
}

#header h2{
  text-align:center;
  margin:10px 10px 20px 10px;
}

#header .search{
  margin:10px;
  display: -webkit-flex;
  display:flex;
  -webkit-justify-content: space-between;
  justify-content:space-between;
}

input{
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-appearance: none;
}
input[type="text"]{
  border:1px solid #ccc;
  padding:10px;
  font-size:100%;
  width:78vw;
  height:45px;
  line-height:45px;
}
input[type="submit"]{
  background:#ccc;
  color:#fff;
  font-size:100%;
  border:1px solid #ccc;
  width:45px;
  height:45px;
  line-height:45px;
}

#hnav{
  display: none;
}

.bread{
  display:none;
}

/*-------------------------------------------
contents
-------------------------------------------*/
.top_minicatch {
  display: -webkit-flex;
  display:flex;
  -webkit-justify-content: space-between;
  justify-content:space-between;
  margin:10px 10px 30px 10px;
}

.top_minicatch li{
  width: 45vw;
}

.top_minicatch h2{
  padding:5px 0;
  font-size: 130%;
  line-height: 120%;
}

.top_minicatch h2 a{
  color: #666;
  text-decoration: underline;
  font-weight: bold;
  letter-spacing: 1px;
}

.top_minicatch p{
  font-size: 80%;
  color:#888;
}

/*-------------------------------------------
entrylist
-------------------------------------------*/
.entrylist h2{
  border-bottom: 3px solid #ef8aa2;
  padding:5px 10px;
  font-size: 130%;
  line-height: 120%;
}

.entrylist h2 i{
  margin-right:10px;
}

.entrylist h2 span{
  font-size: 80%;
  margin-left: 10px;
}

.entrylist .imgleft{
  display:flex;
  align-items: flex-start;
  padding:10px;
}

.entrylist .imgleft > div{
 flex:1;
}

.entrylist li{
  position:relative;
  border-bottom:1px dotted #ccc;
}

.entrylist li img{
  display:block;
  margin-right:10px;
  width:20vw;
}

.meta{
  display: -webkit-flex;
  display:flex;
  font-size:90%;
  margin-bottom:5px;
}

.meta .time{
  color:#666;
  margin-right:10px;
}

.meta .cat{
 margin-left:10px;
}

.meta i{
  margin-right: 5px;
}

.entrylist h3 a{
  color: #666;
  text-decoration: underline;
  font-weight: bold;
  margin-bottom:5px;
  display:block;
}

.entrylist .txt > p{
  font-size: 80%;
  color:#999;
}

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

.single .meta{
  margin: 20px 10px 0 10px;
}

.single .time{
  margin-right:auto;
}

.single .entrytitle{
  font-size: 110%;
  margin: 10px 0 20px 0;
  border-bottom: 3px solid #ef8aa2;
  padding: 0 5px 0 50px;
  position: relative;
}

.single .entrytitle:before{
  font-family: FontAwesome;
  content: "";
  position:absolute;
  font-size: 150%;
  left:10px;
  bottom:0;
  color: #ef8aa2;
}

.single .sum{
  text-align: center;
  margin: 20px;
}

.single .sum img{
  height:auto;
}

.single .entry p{
  font-size: 90%;
  line-height: 180%;
  padding: 0px 10px;
  margin-bottom: 20px;
}
.single .entry p:last-child{
  margin-bottom:0;
}

.single .entry h3{
  background: #f7f7f7;
  padding: 15px;
  font-size: 110%;
  border-left: 5px solid #ef8aa2;
  margin: 20px 0;
}

.single .entry h4{
  color: #ef8aa2;
  border-bottom: 2px solid #ef8aa2;
  margin: 20px 0;
  padding: 10px;
  font-size: 100%;
}

.single .entry h5{
  margin: 20px 0;
  padding: 10px;
  font-size: 100%;
  background: #f7f7f7;
}

.single .entry h4 i,
.single .entry h5 i{
  margin-right: 10px;
  color: #ef8aa2;
}

.single .entry strong{
  color: #ef8aa2;
  font-weight:bold;
}

.single .entry blockquote{
  background:#efefef;
  padding:10px;
  margin:10px;
}

.single .entry a{
  color: #ef8aa2;
  border-bottom:1px dotted #ef8aa2;
}

.share{
  border-top:1px dotted #ccc;
  border-bottom:1px dotted #ccc;
  padding: 10px;
}

.comment h2 ,
.relation h2{
  background: #ef8aa2;
  color: #fff;
  padding: 10px;
  margin: 10px 0;
}

.comment h2 i,
.relation h2 i{
  color: #fff;
  margin:0 10px 0 0;
}

.single .top_minicatch h3{
  margin: 5px 0;
}

.single .top_minicatch h3 a{
  color: #666;
  text-decoration: underline;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 10px 0;
}

.entrylink{
  display: -webkit-flex;
  display:flex;
  -webkit-justify-content: space-between;
  justify-content:space-between;
  margin:20px 10px;
}

.entrylink a{
  background: #ef8aa2;
  color: #fff;
  display: block;
  padding:10px;
  width:40vw;
}

/*-------------------------------------------
side
-------------------------------------------*/
#side .ad img{
  display:block;
  margin:10px auto;
}

#side .imgleft div,
.ranking li img,
.side_column img{
  margin:0 10px;
}

#side .imgleft div .meta{
  margin:0 0 5px 0;
}

#side h2{
  background:#ef8aa2;
  color:#fff;
  padding:10px;
  margin:10px 0 0 0;
}

#side h2 i{
  margin-right:10px;
}

.new_column img,
.ranking li img,
.side_column img{
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  margin-left:10px;
}

.new_column img{
  width:70px;
  height:70px;
  height:auto;
}

.new_column ul li,
.side_column ul li,
.ranking li{
  border-bottom:1px dotted #ccc;
  padding:10px 0;
}

.new_column ul li:last-child,
.side_column ul li:last-child,
.ranking li:last-child{
  border:none;
}

.new_column ul li a,
.side_column ul li a,
.ranking li a{
  font-size:90%;
  color:#555;
}

.sidecat li a{
  color:#555;
  display:block;
  position:relative;
  padding:10px;
  border-bottom:1px dotted #ccc;
  font-size:90%;
}

.sidecat li a:after{
  font-family: FontAwesome;
  content: "";
  position:absolute;
  right:10px;
}

.sidecat li:last-child a{
  border-bottom:0;
  padding-bottom:0;
}

.side_sns ul{
  display: -webkit-flex;
  display:flex;
  -webkit-justify-content: space-around;
  justify-content:space-around;
  padding:10px 10px 20px 10px;
}

.side_sns ul li a{
  display: block;
}

.side_sns ul i{
  color: #fff;
  width: 20vw;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 120%;
}

.fa-hatena:before {
    content: "B!";
    font-family: Verdana;
    font-weight: bold
}

.side_sns .fa-twitter{background: #64c9fd;}
.side_sns .fa-facebook{background: #2d7acf;}
.side_sns .fa-hatena{background: #3598de;font-weight: bold;}
.side_sns li .fa-rss{background: #ff9676;}

#side .imgleft{
  display:flex;
  align-items: flex-start;
}

#side .imgleft > div{
 flex:1;
}

/*-------------------------------------------
ranking
-------------------------------------------*/
ul.style01 {
  text-align:center;
  display:flex;
  border-top:1px solid #fff;
}

ul.style01 li {
  padding:10px;
  width:25%;
  background:#efbbc8;
  border-right:1px solid #fff;
  color: #fff;
}

ul.style01 li:last-child{
  border:none;
}

ul.style01 li.active {
  background:#ef8aa2;
}

.panel {display:none;}
.show {display:block;}

.new_column ul,
.side_column ul,
.panel {
  background:#fff;
  position:relative;
}

.panel li{
  position: relative;
}

.ranking .wpp-list {
    counter-reset: wpp-ranking;
}

.ranking .wpp-list li {
    position: relative;
    list-style-type: none;
}

.ranking .wpp-list li:before {
    content: counter(wpp-ranking, decimal);
    counter-increment: wpp-ranking;
    width:20px;
    height:20px;
    text-align:center;
    line-height:20px;
    border:3px solid #fff;
    background:#ccc;
    color: #fff;
    position: absolute;
    left:0;
    top: 5px;
    z-index: 1;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
}

.ranking .wpp-list li:nth-child(1):before {
    background:#d6b988;
}
.ranking .wpp-list li:nth-child(2):before {
    background:#a4a4a4;
}
.ranking .wpp-list li:nth-child(3):before {
    background:#a96f67;
}

section.panel > p{
  color:#ef8aa2;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  padding:10px 0;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#pagetop a{
  display:block;
  text-align:center;
  color:#fff;
  font-size:150%;
  background:#ccc;
}

.fblc{
  font-size:80%;
}

#footer h1{
  text-align:center;
  margin:20px 0;
}

#footer h2{
  margin:10px;
  line-height:200%;
}

.fblc ul li{
  border-top:1px solid #ccc;
}

.fblc ul li a{
  display:block;
  color: #666;
  position:relative;
  padding:10px 10px 10px 30px;
}

.fblc ul li a:before{
  font-family: FontAwesome;
  content: "";
  position:absolute;
  left:10px;
}

.copy{
  background: #ef8aa2;
  color:#fff;
  padding:10px;
  font-size:80%;
}

/*-------------------------------------------
pagenavi
-------------------------------------------*/
#pagenavi { text-align: center }
#pagenavi .current {
    display: inline-block;
    background: #ef8aa2;
    margin: 10px;
    padding: 10px 15px;
    color: #fff;
}
#pagenavi .inactive {
    display: inline-block;
    background: #ccc;
    margin: 10px;
    padding: 10px 15px;
    color: #fff;
}

}