/*
Theme Name: indeskamen blog New
Description:indeskamen blog 採用版
Author: indeskamen
Author URI: indeskamen.com
Version: 1.0.0
*/

/*共通*/
head,nav,main,aside {
  display: block;
}
ul,ol,li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
header,#contents {
  margin: 0 auto;
  padding: 0 10px;
}
header {
  padding: 20px 10px;
  background: #399548;
  color: #fff;
}
header h1,
header p {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}
#head-logo {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
#head-logo a {
  color: #fff;
  text-decoration: none;
}

nav ul {
  display: flex;
}
nav ul li {
  margin-bottom: 10px;
  padding: 5px;
  width: 25%;
  text-align: center;
  background: #000;
  color: #fff;
  border: solid 1px #fff;
}

article img {
  width: 100%;
  height: auto;
}
blockquote,
article .memo {
  width: 90%;
  margin: 0 auto 1em auto;
  padding: 0 1em;
  border: solid 1px #dab100;
}
blockquote h4,
article .memo h4 {
  margin: 1em 0 0 0;
  font-size: 18px;
  color: #dab100;
}
blockquote p,
article .memo p {
  margin-top: 0.5em;
}
blockquote div {
  margin-bottom: 1em;
  text-align: right;
  font-style: oblique;
}


aside {
  clear: both;
  margin-bottom: 10px;
}
aside div {
  margin-bottom: 16px;
}
aside h3 {
  margin-bottom: 0;
  padding: 8px 0;
  background: #399548;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
}
aside ul li {
  padding: 4px;
  border-collapse: collapse;
  border: solid 1px #399548;
  border-top: 0;
}
aside ul li a {
  display: block;
  width: 100%;
  height: 100%;
}
aside #latest {
  display: flex;
}
aside #latest div {
  width: 50%;
  padding: 5px;
}
aside #latest img {
  width: 100%;
  height: auto;
}
aside #latest p {
  margin: 0;
  font-size: 12px;
}

footer {
  clear: both;
  padding: 10px 0;
  text-align: center;
  background: #399548;
  color: #fff;
}
address {
  font-style: normal;
}

.wp-pagenavi {
  clear: both;
  margin: 18px 0;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  text-decoration: none;
  border: 1px solid #dab100;
  padding: 3px 5px;
  margin: 2px;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  border-color: #dab100;
}
.wp-pagenavi span.current {
  font-weight: bold;
}

.battle-result-title {
  margin: 0;
  font-weight: bold;
}
.battle-result {
  margin-top: 2em;
  width: 100%;
}
.battle-result p {
  margin: 0;
  font-weight: bold;
}
.battle-result table {
  width: 100%;
  border: solid 1px #666;
}
.battle-result table td {
  width: 10%;
  text-align: center;
}
.battle-result table td:first-child {
  text-align: right;
}
.battle-result table td:last-child {
  text-align: left;
}
.battle-result .battle-name {
  width: 35%;
}
.battle-result .battle-winner {
  color: #ff0606;
  font-weight: bolder;
}
.battle-result .battle-loser {
  font-weight: bold;
}

span.asp img {
  width: auto;
  height: auto;
}

/*カテゴリ*/
.cat-label {
  margin-left: 1em;
  padding: 0 0.5em;
  color: #fff;
}
.cat-label a {
  color: #fff;
  text-decoration: none;
}
.catbg-web {
  background: #11b7be;
}
.catbg-prowrestling {
  background: #be1111;
}
.catbg-movie {
  background: #aa11be;
}
.catbg-travel {
  background: #e5dd25;
}



#home main {
  width: 100%;
}
#home article ,
#archive article {
  margin: 10px 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #147472;
}
#home article h2 ,
#archive article h2 {
  font-size: 24px;
  margin: 4px 0 20px 0;
}
#home article p ,
#archive article p {
  margin: 0;
}

#single h1 {
  margin-top: 10px;
  font-size: 26px;
  border-bottom: solid 2px #003c07;
}
#single .entry-date {
  margin-top: 1em;
}
#single h2 {
  padding: 0.5em;
  font-size: 22px;
  background: #a4faaf;
}

#single article img {
  margin: 1em 0;
}

#archive h1 {
  font-size: 14px;
}

#pagination {
  margin-bottom: 10px;
}
#pagination a[rel="next"] {
  float: right;
  margin-bottom: 10px;
}

#sns {
  clear: both;
  padding: 20px 0;
}
#sns ul {
  display: flex;
  justify-content: space-around;
}
#sns ul li {
  width: 40%;
  text-align: center;
  border-radius: 10px;
}
#sns ul li a {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
}
#sns ul li span {
  padding-left: 0.5em;
}
.twitter_btn {
  background: #41bcd5;
}
.facebook_btn {
  background: #0069d5;
}

.asp {
  text-align: center;
}
.view-sp {
  display: block;
}
.view-pc {
  display: none;
}

/*タブレット*/
@media screen and (min-width:480px){
  header, #contents {
/*    width: 100%;*/
  }
  
  #contents {
    display: flex;
    justify-content: space-between;
  }
  main {
    width: 100%;
    margin-right: 16px;
  }
  aside {
    min-width: 310px;
/*    min-width: 180px;*/
  }
  #home article,
  #archive article {
    display: flex;
  }
  #home article img,
  #archive article img {
    width: 200px;
    margin-right: 10px;
  }
  #home article h2,
  #archive article h2 {
    margin: 4px 0;
  }
  
  aside #latest {
    display: block;
  }
  aside #latest div {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  aside #latest img {
    width: 100%;
    height: auto;
    padding-top: 5px;
  }
  aside #latest p {
    margin: 0;
    font-size: 12px;
  }

}
/*デスクトップ*/

@media screen and (min-width:960px){
/*  header,*/
  #contents {
    max-width: 1000px;
  }
  #contents {
    display: flex;
  }
  
  main {
    margin-right: 40px;
  }
  aside {
    clear: none;
  }
  
  #home article img,
  #archive article img {
    width: 320px;
  }
  
}
