.sub_ttl {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 13px;
      padding-left: 13px;
}
.iconlists li {
  display: inline-block;
  list-style: none;
  margin: 2px;
  font-family: "outfit";
    font-weight: 500;
}

.topslide {
    width: 160px;
    margin: 2px;
}
@media screen and (max-width: 767px) {
.iconlists{
  margin-left: -20px;
  }
.topslide {
    width: 115px;
    margin-top: 1px;
    margin-left: -8px;
}
}
.tagmenutop {
  width: 100%;
  text-align: center;
  white-space: nowrap;
  /*上下方向にはみ出した要素ををスクロールさせる*/
  overflow-x: scroll;
  /*スクロールバー非表示（IE・Edge）*/
  -ms-overflow-style: none;
  /*スクロールバー非表示（Firefox）*/
  scrollbar-width: none;
}

@media screen and (max-width: 767px) {
.tagmenutop {
  margin: -29px 0px 0;
  /*上下方向にはみ出した要素ををスクロールさせる*/
  overflow-x: scroll;
}
}
@media screen and (min-width: 767px) {
.tagmenutop {
  overflow-x: hidden;
}
}


.ninja-recommend-article {
  height: 250px !important;
}

.linkwh {
  color: #000;
}

.news-c {
 color: #000;
}
.sample {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.original-button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  font-size: 7px;
  border-radius: 25px;
  width: 40px;
  height: 40px;
  font-weight: bold;
  margin: 3px;
}

.original-button-bk {
  color: #ffffff;
  background-color: #000000;
}

.original-button-wh {
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #000000;
}

.original-button-pk {
  color: #000000;
  background-color: #ff69b4;
}

.original-button-pp {
  color: #ffffff;
  background-color: #9370db;
}

.original-button-rd {
  color: #ffffff;
  background-color: #dc143c;
}
.original-button-bl{
  color: #000000;
  background-color: #87cefa;
}
.original-button-gr {
  color: #000;
  background-color: #90ee90;
}
.original-button-gy {
  color: #ffffff;
  background-color: #a9a9a9;
}
.original-button-yl {
  color: #000;
  background-color: #ffff00;
}
.original-button-sv {
  color: #000;
  background-color: #dcdcdc;
}
.original-button-gd {
  color: #000;
  background-color: #ffd700;
}
.original-button-or {
  color: #ffffff;
  background-color: #ffa500;
}
  
.cssgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
  grid-gap: 0.4em;
  padding: 21px 7px;
}

@media screen and (min-width: 600px){
.cssgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
  grid-gap: 0.4em;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
  padding: 10px;
}

.cssgrid div {
  background: #fff;
  min-width: 0;
  padding: 0em;
  margin-bottom: 6px;
}
  
.infoarea {
    padding: 15px;
    font-size: 13px;
    text-align: center;
    /* color: #000; */
    background-color: #ccc;
  width: 100%;
 }
  
@media screen and (min-width: 541px) {
.infoarea {
  display: none;
 }
  }
 .info_sp {
    padding: 15px;
    font-size: 13px;
    text-align: center;
    background-color: #ccc;
  width: 100%;
  }
  
.u-container {
  box-sizing: border-box;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 1240px;
}

@media screen and (max-width: 1030px) {
  .u-container {
    padding-left: 8px;
    padding-right: 8px;
    width: auto;
  }
}

/******************************/
/* SLIDER */
/******************************/
@media screen and (max-width: 1030px) {
  .slider {
    margin-left: 0px;
    margin-right: 0px;
    position: relative;
  }
}
#slider div {
  width: 100%;
  max-width: 100%;
  height: auto;
}
#slider > div {
  display: none;
}
.bx-viewport #slider > div {
  display: block;
}
.bx-wrapper {
  z-index: 0;
}
.bx-wrapper img {
  width: 100%;
  height: auto;
}
.bx-wrapper .bx-viewport {
  box-shadow: none !important;
  border: 0 !important;
  left: 0 !important;
}
.bx-wrapper .bx-pager {
  bottom: -27px !important;
  padding-bottom: 10px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  margin: 0 3px !important;
  padding-top: 15px;
  width: 25px !important;
  height: 1px !important;
  background: transparent !important;
  border-bottom: 1px solid #cccccc;
  border-radius: 0 !important;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
  background: transparent !important;
  border-bottom: 1px solid #000000;
}
}
@media screen and (max-width: 767px) {
.bx-pager {
  display:none;
}
}

.category_list {
  padding: 5px;
}

.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 12px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

@media screen and (min-width: 640px) {
.p-top-logo a:hover {
    opacity: .5;
  }
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #CC99FF;
}

.p-news {
  line-height: 1.5;
  float: middle;
  margin: 20px 0px 20px 0px;
}

@media screen and (max-width: 600px){ 
.p-news {
    display:none
  }
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  text-align: center;
  line-height: 1.2;
  margin: 5px 5px 5px 5px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

@media screen and (min-width: 640px) {
.p-contents__list a:hover {
    opacity: .5;
  }
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  margin-bottom: 80px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #ffffff;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 15px 10px;
  color: #f8f8f8;
  background: #333;
}

.p-custom-banner__unit--text2 {
  font-family: 'Montserrat', sans-serif;
  padding: 0px;
  color: #f8f8f8;
  background: #ffffff;
}

.p-custom-banner__unit--text a {
  color: #f8f8f8;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 20px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  font-size: 12px;
  padding: 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 60px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: middle;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 40px 0 10px;
  }

  .p-custom-banner2__heading2 {
    font-size: 20px;
  }
}
  .p-custom-banner2 {
    display: table;
    width: 100%;
    padding: 0px 5px 0px 3px;
    table-layout: fixed;
  }

  .p-custom-banner2__unit2 {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle
  }

  .p-custom-banner2__unit2--text2 {
    padding: 3px 0px 0px 3px;
  }
}

  .p-custom-banner3__heading3 {
    font-size: 20px;
  }
}
  .p-custom-banner3 {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .p-custom-banner3__unit3 {
    display: table-cell;
    box-sizing: border-box;
    width: 16.5%;
    max-width: 16.5%;
    vertical-align: middle;
    padding:　3px;
  }

  .p-custom-banner3__unit3--text3 {
    padding: 2px 2px 1px 1px;
  }
}
.p-layout-containe2r {
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
}

.p-layout-container2::after {
  display: block;
  clear: both;
  content: '';
}

.taglist {
  margin: 15px 0 20px;
}
.taglist p {
  margin: 0 0 10px;
  text-align: center;
}


@media screen and (min-width: 600px) {

  .p-layout-container2 {
    padding: 0 0px;
  }
}


.p-sub-category-top {
  margin: 30px 10px;
  padding: 0;
  list-style-type: none;
}

.p-sub-category::after {
  display: block;
  clear: both;
  content: '';
}

.p-sub-category__item-top {
    float: left;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    font-weight: 500;
    font-size: 16px;
}

@media screen and (max-width: 767px) {
  .p-sub-category__item-top {
        float: left;
        box-sizing: border-box;
        width: 50%;
        font-size: 16px;
        text-align: center;
        border: 2px solid #ffffff;
        padding: 10px 0px;
  }
}

.p-sub-category__image-top {
  display: block;
  margin-bottom: 4px;
}

.p-sub-category__link-top {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-sub-category__link-top:hover {
  opacity: .66;
}

.p-sub-category__link-top:active {
  opacity: 1;
}

@media screen and (min-width: 600px) {
  .p-sub-category-top {
    margin-right: 0;
    margin-left: 0;
  }

  .p-sub-category__item-top {
    width: 25%;
  }

  .p-sub-category__item-top:nth-child(4n + 1) {
    clear: both;
  }
}

@media screen and (max-width: 599px) {
  .p-sub-category__item-top:nth-child(2n + 1) {
    /* clear: both; */
  }
  
.ninja-recommend-block1 {
  display: none;
}
}
.topmenu {
    border-left: 1px solid #ccc;
    color: #000;
    text-align: center;
    font-size: 1.0em;
    font-weight: 600;
}
.topmenu a {
    color: #000;
}

@media(min-width:751px){
    .topmenu{
        display: none !important;
    }
  .ninja-recommend-block2 {
  display: none;
}
}