/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --black: #3a3a3a;
  --white: #fff;
  --red: #FF6F61;
}

* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: 200pix;
}

ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  margin: 50px 50px 0px 5px 0;
  color: var(--black);
  font: 1rem/1.3 
　font-family:"メイリオ","Meiryo","Hiragino Kaku Gothic","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","Lucida Grande",Geneva,Arial,Verdana,sans-serif;
 
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 10px
}




input[type="radio"] {
  position: absolute;
  left: -9999px;
}

h0 {
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid;
  line-height: normal;
  transition: all 0.1s;
}

h0b {
  padding: 0.3rem 0.5rem;
  border-radius: none;
  border: none;
  line-height: none;
  transition: all 0.1s;
}


h3 {
  font-size: 12px;
  text-align: left;
  margin-top: 0.2rem;

    }



h8{
  font-size: 16px;
  font-weight:bold;
  text-align: center;
    }

h7{
  font-size: 13px;
  text-align: center;

    }
h9{
  font-size: 15px;
  font-weight:bold;
  text-align: center;
    }


p4 {
  font-size: 15px;
  text-align: center;
  padding: .2em;
  border: 1px
  solid #7d7d7d; 
  font-weight:bold;
  color: var(--black);
    }



.commentary a {
color: #0066c0;
text-decoration: none;
}

.commentary  a:hover {
color: #FF6F61;
}

.kakaku p1 {
  font-size: 13px;
  text-align: center;
  color: #ee0000;
}
.kakaku p2 {
  font-size: 16px;
  font-weight: bold; 
  text-align: center;
  color: #ee0000;
}

.kakaku p3 {
  font-size: 13px;
  font-weight: bold;
  text-align: center;

}

.new_box{
    position: relative;
}

.new_icon:after{
    position: absolute;
    content: "NEW！";
    top: 0;
    left:0; 
    font-size: 15px;
    background: #e94545;
    color: #fff;
    padding: 5px 8px 4px 10px;
}

.new_box img{
    width: 100%;
}





/* FILTERS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.filters {
  text-align: center;
  margin-bottom: 2rem;
}

.filters * {
  display: inline-block;
}

.filters label {
  padding: 0.5rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: 2rem;
  min-width: 50px;
  line-height: normal;
  cursor: pointer;
  transition: all 0.1s;
}

.filters label:hover {
  background: var(--red);
  color: var(--white);
}


/* FILTERED ELEMENTS (POSTS)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.posts {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[4];
        grid-template-columns: repeat(4, 1fr);
    grid-template-columns: repeat(minmax(250px, 1fr));
    grid-gap: 0.5rem;
}


.posts .post {
  background: #fafafa;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.posts .post-title {
  font-size: 1.3rem;
}

.posts .post-title:hover {
  text-decoration: underline;
}

.posts figcaption {
  padding: 1rem;
}

.posts .post-categories {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.posts .post-categories * {
  display: inline-block;
}

.posts .post-categories li {
  margin-bottom: 0.2rem;
}

.posts .post-categories a {
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid;
  line-height: normal;
  transition: all 0.1s;
}

.posts .post-categories a:hover {
  background: var(--red);
  color: var(--white);
}


.flex{
 display: flex;
}

.flex_test-box {
    background-color: #eee;     /* 背景色指定 */
    padding:  10px;             /* 余白指定 */
    display: flex; 
    justify-content:center;
}
 
.flex_test-item {
    padding: 10px;
    margin:  5px;              /* 外側の余白 */
    border-radius:  5px;        /* 角丸指定 */
    width: 24%;
}
 
.flex_test-item:nth-child(1) {
    background-color: #fafafa;; /* 背景色指定 */
}
 
.flex_test-item:nth-child(2) {
    background-color:  #4CAF50; /* 背景色指定 */
}
 
.flex_test-item:nth-child(3) {
    background-color: #3F51B5; /* 背景色指定 */
}
 
.flex_test-item:nth-child(4) {
    background-color:  #00BCD4; /* 背景色指定 */
}



/* FILTERING RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
[value="All"]:checked ~ .filters [for="All"],
[value="sale"]:checked ~ .filters [for="sale"],
[value="game"]:checked ~ .filters [for="game"],
[value="book"]:checked ~ .filters [for="book"],
[value="cd"]:checked ~ .filters [for="cd"],
[value="goods"]:checked ~ .filters [for="goods"],
[value="raiL"]:checked ~ .filters [for="raiL"],
[value="steam"]:checked ~ .filters [for="steam"],
[value="FR"]:checked ~ .filters [for="FR"],
[value="yuri"]:checked ~ .filters [for="yuri"]{
  background: var(--red);
  color: var(--white);
}

[value="All"]:checked ~ .posts [data-category] {
  display: block;
}

[value="sale"]:checked ~ .posts .post:not([data-category~="sale"]),
[value="game"]:checked ~ .posts .post:not([data-category~="game"]),
[value="book"]:checked ~ .posts .post:not([data-category~="book"]),
[value="cd"]:checked ~ .posts .post:not([data-category~="cd"]),
[value="goods"]:checked ~ .posts .post:not([data-category~="goods"]),
[value="raiL"]:checked ~ .posts .post:not([data-category~="raiL"]),
[value="steam"]:checked ~ .posts .post:not([data-category~="steam"]),
[value="FR"]:checked ~ .posts .post:not([data-category~="FR"]),
[value="yuri"]:checked ~ .posts .post:not([data-category~="yuri"]){
  display: none;
}


/* 商品説明ボタンのCSS
　-----------------------------------------*/
.btn-animation-02 {
  display: inline-block;
  width:80%;
  text-align: center;
  background-color: #006688;
  border: 2px solid #006688;
  font-size:100%;
  color: #006688;
  text-decoration: none;
  font-weight: bold;
  padding:5px 20px;
  border-radius: 4px;
  position: relative;
}

.btn-animation-02 span {
  position: relative;
  z-index: 1;
}

.btn-animation-02::before,
.btn-animation-02::after {
  content: "";
  display: block;
  background-color: #FFF;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-animation-02::before {
  left: 0;
}
.btn-animation-02::after {
  right: 0;
}

.btn-animation-02:hover:before,
.btn-animation-02:hover:after {
  width: 0;
  background-color: #FFF;
}

.btn-animation-02:hover {
  color:#FFFf;
}





/*フッター
-----------------------------------------*/

.footer {
    padding: 30px 0;
    background-color: #dcdcdc;
    text-align: center; 
}

.container2 {
  display: flex;
  justify-content: center;
}



#column {
  max-width: 640px;
  padding: 1px 20px 15px 20px;
}

#column2 {
  max-width: 600px;
  padding: 1px 5px 15px 20px;
  align: center;

}

#column3 {
  max-width: 1280px;
  padding: 5px 5px 5px 5px;
  align: center;

}
#column4 {
  max-width: 1280px;
  padding: 5px 5px 10px 5px;
  align: center;

}

/* リンクアンダーライン
-----------------------------------------*/
.underline {
  display: inline-block;
  padding-bottom: 1px;
  position: relative;
}

.underline::after {
  background-color: tomato;
  bottom: 0;
  content: '';
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}

.underline:hover::after {
  width: 100%;
}


/* IE7 */
*+html #information > div {
background: #EEE;
}
*+html #information article {
padding: 15px 5px 15px 20px;
position: static;
}
*+html #information article time {
position: static;
display: block;
}



/* 上に戻るボタン
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.pagetop {
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	text-decoration: none;
	display: none;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	width: 3.3rem;
	height: 3.3rem;
	line-height: 3.3rem;
	border-radius: 3.3rem;
	text-align: center;
	cursor: pointer;
}

.pagetop:hover {
	color: #fff !important;
	background-color: #ed702b;
	text-decoration: none;
}

/* MQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 900px) {
  .posts {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 650px) {
  html {
    font-size: 14px;
  }

  .posts {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}