/**************************
    共通
***************************/
div.wraph2 {
  display: flex;
  width: 100%;
  margin: 10px 0;
  background-color: #317b96;
  border-bottom: 5px solid #6bb5c6;
}

div.wraph2 h2 {
  width: 100%;
  padding: 10px;
  color: #fff;
  font-size: 17px;
  box-sizing: border-box;
}

.more {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#newitems .more {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

@media screen and (max-width: 768px) {
  #newitems .more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.more_news {
  max-width: 820px;
  width: 100%;
  /* display: flex; */
  flex-wrap: wrap;
}

#newitems h2 em,
#new_news h2 em {
  display: none;
}

p.i_rss {
  padding: 10px;
}

/**************************
    TOPイメージ
***************************/
.topimg img {
  width: 100%;
  border: none;
  /*margin-bottom:10px;*/
  padding: 0px;
  overflow: auto;
  overflow-y: hidden;
  display: block;
}

@media screen and (max-width: 768px) {
  /* トップイメージ */
  /* h1.topimg {
    margin-top: 110px;
  } */
}

/**************************
    トピックス
***************************/
#newtopics {}

/**************************
    特集
***************************/
#feature {}

/**************************
    注目タイトル
***************************/
#pickup_title {}

/**************************
    新着ニュース
***************************/
#new_news {}

.news_area {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-top: 20px;
}

.searchevents {
  width: 100%;
  text-align: center;
}

.genre_tag {
  display: flex;
  width: 15%;
  margin: auto;
}

.genre_tag p {
  border: 1px solid;
  width: 50%;
  text-align: center;
  margin: auto;
  font-size: 13px;
}

.news_info {
  width: 85%;
}

.news_info h3 {
  display: flex;
}

.news_info em {
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  margin: 0 5px;
}

.news_info p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 5px 0 0 0;
}

@media screen and (max-width: 768px) {

  .searchevents select {
    width: 90%;
    height: 35px;
  }

  .news_info {
    width: 100%;
    margin: 5px auto;
  }

  .genre_tag {
    width: 100%;
  }

  .genre_tag em,
  .genre_tag p {
    width: 30%;
    margin: 0;
  }

  .genre_tag em {
    margin: 0 5px;
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
  }
}

/**************************
    新着アイテム
***************************/
#newitems {}

/******************************
  ページャー
*******************************/
div.pages {
  width: 100%;
  height: 40px;
  margin: 20px 0 10px 0;
}

div.pages ul {
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
}

div.pages li {
  float: left;
  margin-right: 2px;
}

div.pages li a,
.pages li strong {
  display: block;
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 12px;
  text-decoration: none;
}

div.pages li a:hover,
div.pages li strong {
  background-color: #317b96;
  color: #fff;
}

div {
  font-style: normal;
}

@media screen and (max-width: 768px) {

  /* ページャー */
  div.pages {
    width: 100%;
    height: 40px;
    margin: 10px 0;
    float: none;
  }
}


/**************************
　　　アイテムカテゴリ
***************************/

#pickup_list {
  width: 100%;
}

#pickup_list ul {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

#pickup_list li {
  border: 1px solid #317b96;
}

#pickup_list li a {
  display: grid;
  place-items: center;
  color: #317b96;
  text-align: center;
  text-decoration: none;
  width: 100%;
  height: 55px;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  #pickup_list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pickup_list li a {
    height: 45px;
  }
}

#pickup_list li.active,
#pickup_list li.active a {
  color: #fff;
  /* background-color:#317b96; */
}

#pickup_list li a:hover {
  color: orange;
}

/**************************
 　　　　　　SNS
***************************/
ul.sns {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

ul.sns li {
  max-width: 50px;
}

ul.sns li a img {
  width: 100%;
  max-width: 100%;
  vertical-align: bottom;
}



/*********************************
     フリースペース
*********************************/
div#freespace1 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

div#freespace1 div.item-box2 {
  margin: 0;
  border: 1px solid #ccc;
}

div#freespace1 div.item-box2 a img {
  width: 100%;
  border: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  div#freespace1 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

div#freespace2 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

div#freespace2 div.item-box5 {
  margin: 0;
  border: 1px solid #ccc;
}

div#freespace2 div.item-box5 a img {
  width: 100%;
  border: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  div#freespace2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

div#freespace3 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

div#freespace3 div.item-box2 {
  margin: 0;
  border: 1px solid #ccc;
}

div#freespace3 div.item-box2 a img {
  width: 100%;
  border: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  div#freespace3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

div.item-box3 {
  width: 100%;
  margin: 0;
  border: 1px solid #ccc;
  display: block;
}

.item-box3 a {
  width: 100%;
  height: 100%;
}


/**************************
 　　クリックして開く
***************************/
.my-button-css {
  cursor: pointer;
  background-color: #069;
  color: white;
  font-family: Verdana, Arial;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 15px 8px 15px;
  margin: 5px 0 0 0;
}



/* 消えるバナー「取扱店舗一覧」の調整 */
.start {
  padding: 5px;
  position: fixed;
  width: 70%;
  bottom: 0;
  z-index: 10;
  transition: bottom 2s;
  -webkit-transition: bottom 2s;
  /* Safari and Chrome */
}

.fixed {
  position: fixed;
  bottom: -100px;
  transition: bottom 2s;
  -webkit-transition: bottom 2s;
  /* Safari and Chrome */
}

.start img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .start {
    width: 100%;
    left: 0;
  }
}

/* 消えるバナー「取扱店舗一覧」の調整 ここまで*/

/* バナーのマウスオーバー */
h1.topimg:hover a img,
div.item-box2:hover a img,
div.item-box3:hover a,
div.item-box5:hover a img {
  opacity: 0.6;
  transition-duration: 0.3s;
}

/*********************************
     もっと見るボタン
*********************************/
@media screen and (max-width: 768px) {
  .showmore-button {
    height: 40px;
    width: 100%;
    cursor: pointer;
    background-color: #fff;
    color: #317b96;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 15px;
    margin: 10px auto;
    position: relative;
    border: 2px solid #317b96;
  }

  .showmore-button::after {
    content: "もっと見る";
    display: block;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    margin-top: 1.25px;
    font-size: 1em;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .showmore-button.open::after {
    content: "閉じる";
  }
}