/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/

main .widget_categories ul{
  display: flex;
  flex-wrap: wrap;
}
main .widget_categories ul li{
  width: 32%;
  box-sizing: border-box;
  list-style: none;
  padding-left: 50px;
  position: relative;
}
main .widget_categories ul li:before{
  content: '';
  position: absolute;
  top: 0;
  left: 5px;
  width: 32px;
  height: 32px;
  background: url(https://manga-jyuku.com/wp-content/uploads/2023/02/category_icon.png) no-repeat center / contain;
}
main .widget_categories ul li:not(:nth-child(3n+1)){
  margin-left: 2%;
}
main .widget_categories ul li a{
  text-decoration: none;
}

.comparison-chart{
  width: 100%;
  table-layout: fixed;
}
.comparison-chart .current{
  background: #eefaff;
}
.comparison-chart i.good,
.comparison-chart i.bad{
  width: 50px;
  height: 50px;
  position: relative;
  display: block;
  box-sizing: border-box;
  margin: 10px auto;
}
.comparison-chart i.good{
  border: 10px double #3880ff;
  border-radius: 50%;
}
.comparison-chart i.bad:before,
.comparison-chart i.bad:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 50px;
  height: 5px;
  background: #999;
}
.comparison-chart i.bad:before{
  transform: rotate(45deg);
}
.comparison-chart i.bad:after{
  transform: rotate(-45deg);
}
.comparison-chart tr th,.comparison-chart tr td{
  font-weight: bold!important;
  text-align: center;
  vertical-align: middle;
}
.comparison-chart th img{
  margin-bottom: 10px;
}
.comparison-chart th a{
  font-weight: bold;
  text-decoration: none;
}
.comparison-chart .st-mybtn a{
  font-size: 14px;
}
body:not(.home) .kanren .st-excerpt{
	display: none!important;
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
  .comparison-chart tbody{
    display: flex;
  }
  .comparison-chart th,
  .comparison-chart td{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
  }
  .comparison-chart tr{
    width: calc(100% / 3);
  }
  .comparison-chart tr:nth-child(3){
    display: none;
  }
  .comparison-chart img{
    max-height: 90px;
    width: auto;
    margin: 0 auto;
    display: block;
  }
  .comparison-chart .st-mybtn.st-btn-default{
    min-width: auto;
    max-width: 100%;
    white-space: normal;
  }
  .comparison-chart .st-mybtn a{
    font-size: 12px;
    padding: 0.5em 1em;
  }
  .comparison-chart .st-mybtn i.fa-after{
    display: none;
  }
  .comparison-chart i.good, .comparison-chart i.bad{
    width: 30px;
    height: 30px;
    border-width: 7px;
  }
  .comparison-chart i.bad:before, .comparison-chart i.bad:after{
    width: 30px;
    height: 3px;
  }
  #toc_container > ul > li{
    font-size: 14px!important;
  }

	/*-- ここまで --*/
}
	
/*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) {
aside .kanren{
  display: flex;
  flex-wrap: wrap;
}
aside .kanren dl{
  width: 49%;
  padding-bottom: 0;
  border-style: none;
}
aside .kanren dl:not(:nth-child(2n+1)){
  margin-left: 2%;
}
main .kanren:not(.st-cardbox) dt{
  width: 200px!important;
}
main .kanren:not(.st-cardbox) dd{
  padding-left: 215px!important;
}

  /*-- ここまで --*/
}

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


	/*-- ここまで --*/
}

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

	/*スクロール*/
	.post .scroll-box table td li
	{
		white-space: normal;
	}

	
	/*-- ここまで --*/
}
