/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/

/* checkbox カスタマイズ */
input[type="checkbox"] {
  display: none;
}
input[type="checkbox"] + label {
  position: relative;
  display: block;
  padding: 4px 0 4px 25px !important;
  vertical-align: middle;
  cursor: pointer;
}
input[type="checkbox"] + label:before {
  display: block;
  position: absolute;
  top: 20px;
  left: 7px;
  margin-top: -9px;
  width: 4px;
  height: 8px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: "";
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 1;
}
input[type="checkbox"] + label:after {
  display: block;
  position: absolute;
  top: 20px;
  left: 0;
  margin-top: -12px;
  width: 16px;
  height: 16px;
  border: 2px solid #e6e6e6;
  border-radius: 3px;
  content: "";
}
input[type="checkbox"]:checked + label:after {
  background-color: #039be5;
}
.ad select {
  width: 43%;
  height: 2.8em;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  background-size: 7px auto;
  cursor: pointer;
}

/* search&filiter段数切り替え用css */
.searchandfilter ul li ul li {
  border: none;
}
.searchandfilter ul .sf-field-submit {
  width: 100% !important;
  text-align: center;
}
.searchandfilter ul .sf-field-submit input {
  max-width: 500px;
  width: 100%;
  background: #039be5;
  -webkit-border-radius: 2px !important;
  -webkit-appearance: none;
  height: 45px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  padding: 10px !important;
  box-sizing: border-box;
  transition: 0.5s;
  margin-top: 30px !important;
}
.searchandfilter ul li {
  position: relative;
}
.searchandfilter ul li::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: gray;
  opacity: 0.5;
}
.searchandfilter ul li ul li::after,
.searchandfilter ul li:nth-last-child(2)::after,
.searchandfilter .sf-field-submit::after {
  content: normal;
}
.searchandfilter .sf-field-submit input:hover {
  opacity: 0.7;
  transition: 0.5s;
}
.choice_twoRows .searchandfilter ul li ul,
.choice_threeRows .searchandfilter ul li ul,
.choice_fourRowsPC_threeRowsSP ul li ul,
.item_twoRows .searchandfilter > ul,
.item_threeRows .searchandfilter > ul {
  display: flex;
  flex-wrap: wrap;
}
.item_twoRows .searchandfilter ul li ul li,
.item_threeRows .searchandfilter ul li ul li {
  width: 100%;
}
.choice_twoRows .searchandfilter ul li ul li,
.item_twoRows .searchandfilter ul li {
  width: 50%;
}
.choice_threeRows .searchandfilter ul li ul li,
.item_threeRows .searchandfilter ul li {
  width: 33.33%;
}
.choice_fourRowsPC_threeRowsSP ul li ul li {
  width: 25%;
}
@media screen and (max-width: 480px) {
  .choice_fourRowsPC_threeRowsSP ul li ul li {
    width: 33.33%;
  }
}
.searchandfilter select.sf-input-select {
  min-width: 140px !important;
}
.searchandfilter label {
  padding-left: 30px;
  margin-bottom: 10px;
}
/* search&filiter　検索結果　clearfix　css　打ち消し等 */
.h3modoki,
.post
  h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title) {
  background: none !important;
}
.h3modoki::before,
.post
  h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title)::before {
  content: none !important;
}
.clearfix .st-excerpt .smanone {
  padding-left: 10px;
  padding-right: 10px;
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
  /*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {
  /*-- ここまで --*/
}

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {
  /*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {
  /*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
  /*-- ここまで --*/
}
