@charset "utf-8";

/* ========= mainvisual =========  */
.mainvisual {
  position: relative;
  background-color: #F4F1EB;
}

.mainvisual__title {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: bold;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .mainvisual__title {
		font-size: 20px;
  }
}

/* ========= NEWS =========  */
.news {
  padding-top: 16px;
}

.news__body {
  display: flex;
  justify-content: space-between;
}

.news__top {
  margin-bottom: 20px;
}

.news__btnarea {
  margin-right: 34px;
}

.news__btn-wrapper {
  margin-bottom: 10px;
}

.news__btn {
  width: 100%;
  max-width: 220px;
  font-size: 20px;
  color: #fff;
  padding: 20px;
  padding-left: 47px;
  text-align: left;
  background-color: #e60012;
}

.news__btn:first-of-type {
  margin-right: 5px;
}

.news__btn.discontinued {
  background-color: #a6a6a6;
  border: 1px solid #a6a6a6;
}

.news__banner {
  border: 1px solid #aaa;
  display: flex;
  align-items: center;
}

.news__banner:not(:last-of-type) {
  margin-bottom: 10px;
}

.news__banner img {
  display: block;
  width: 185px;
}

.news__banner span {
  line-height: 1.46666667;
  font-size: 15px;
  width: 253px;
  display: block;
  margin-left: 12px;
}

.news__banner span.racsta {
  font-size: 18px;
  color: #5e66eb;
}

.news__banner span.cabista {
  color: #00c9d1;
}

.news__banner span.qbsta {
  color: #ff534a;
}

.news__prodact {
  width: 100%;
}

/* タブレット */
@media screen and (max-width: 980px) {
  .news {
    padding-bottom: 0;
  }
  .news__body {
    flex-direction: column;
  }
  .news__btnarea {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .news__banner span {
    width: 100%;
  }
  .news__banner span.cabista {
    font-size: 18px;
  }
  .news__banner span.qbsta {
    font-size: 18px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .news__body {
    margin-bottom: 24px;
  }
  .news__btn-wrapper {
    text-align: center;
    margin-bottom: 0;
  }
  .news__btn {
    width: 50%;
    max-width: 175px;
    font-size: 18px;
    padding-left: 25px;
  }
  .news__btn:first-of-type {
    margin-right: 0;
    margin-bottom: 8px;
  }
  .news__btnarea {
    margin-bottom: 59px;
  }
  .news__banner span.cabista {
    font-size: 12px;
  }
  .news__banner span.racsta {
    font-size: 14px;
  }
  .news__banner span.qbsta {
    font-size: 12px;
  }
}

/* news-prodact */
.news-product {
  padding: 13px 21px 20px;
  border: 1px solid #aaa;
  border-top: 5px solid #e60012;
}

.news-product__head-wrapper {
  padding-bottom: 14px;
  padding-left: 10px;
  border-bottom: 1px solid #aaa;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.news-product__head {
  font-size: 18px;
  font-weight: bold;
}

.news-product__link {
  display: block;
}

.news-product__list:not(:last-of-type) {
  margin-bottom: 1px;
}

.news-product__list a {
  display: flex;
  align-items: flex-start;
}

.news-product__date {
  display: inline-block;
  font-size: 16px;
  margin-right: 18px;
}

.news-product__tag {
  background-color: #2D5793;
  color: #fff;
  text-align: center;
  font-size: 13px;
  border-radius: 5px;
  width: 100%;
  max-width: 90px;
  padding: 0 5px;
  margin-right: 19px;
}

.news-product__title {
  text-decoration: underline;
  line-height: 1.333;
}

/* タブレット */
@media screen and (max-width: 980px) {
  .news-product {
    padding: 13px 21px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .news-product__list:not(:last-of-type) {
    margin-bottom: 15px;
  }
  .news-product__list a {
    display: block;
  }
  .news-product__head {
    font-size: 16px;
    padding-bottom: 9px;
    margin-bottom: 12px;
  }
  .news-product__date {
    font-size: 13px;
    margin-right: 8px;
  }
  .news-product__tag {
    font-size: 11px;
    margin-right: 0;
    padding: 2px 12px;
    margin-bottom: 5px;
    display: inline-block;
  }
  .news-product__title {
    display: block;
  }
}

/* ========= PRODUCT =========  */
.products {
  padding-top: 10px;
  padding-bottom: 49px;
}

.products__head {
  /* padding-top: 20px; */
}

.products__title {
  font-size: 30px;
  margin-bottom: 16px;
  border-bottom: 5px solid #e60012;
}

.products__title small {
  font-size: 16px;
  color: #aaa;
}

.products__sub-title {
  font-size: 12px;
  margin-bottom: -10px;
  display: block;
  color: #e60012;
}

.products__lists {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.products__list {
  padding-left: 2em;
  text-indent: -0.5em;
  width: calc(25% - 1em);
}

.products__list:not(:last-of-type) {
  margin-right: 1em;
}

.products__arrow {
  color: #e60012;
}

.products__search {
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .products {
    padding-top: 0;
  }
  .products__head {
    border-top: none;
  }
  .products__title {
    text-align: center;
    line-height: 1.5;
    margin-bottom: 44px;
  }
  .products__sub-title {
    margin-bottom: 0;
  }
  .products__title small {
    display: block;
  }
  .products__head {
    flex-direction: column;
    align-items: center;
  }
  .products__search {
    margin-bottom: 20px;
  }
  .products__lists {
    margin-bottom: 32px;
  }
  .products__list {
    font-size: 12px;
    width: calc(33% - 1em);
  }
}

@media screen and (max-width: 480px) {
  .products__list {
    width: calc(50% - 1em);
  }
}

/* アコーディオン部分 */
.products__category {
  position: relative;
  background-color: #9fa1a8;
  font-weight: normal;
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.products__category:not(:first-of-type) {
  margin-top: 20px;
}

.products__content {
  padding: 30px;
  border: 1px solid #aaa;
  margin-bottom: 20px;
  display: none;
}

.products__items {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-bottom: -10px;
}

.products__item {
  width: calc(20% - 50px / 5);
  margin-right: 10px;
  margin-bottom: 10px;
}

.products__category::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  transform: rotate(90deg);
  background: #fff;
  transition: all 0.3s ease-in-out;
}

.products__category::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  background: #fff;
  transition: all 0.2s ease-in-out;
}

.products__category.open::before {
  transform: rotate(180deg);
}

.products__category.open::after {
  opacity: 0;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .products__category {
    font-size: 16px;
    text-align: left;
    padding: 10px 14px;
  }
  .products__items {
    flex-direction: column;
  }
  .products__item {
    width: 100%;
  }
  .products__content {
    padding: 20px;
  }
}

/* products-item */
.products-item {
  padding: 16px 20px 24px;
  border: 1px solid #aaa;
  text-align: center;
}

.products-item__img {
  width: 100%;
  max-width: 90px;
  margin-bottom: 13px;
}

.products-item__name {
  font-size: 14px;
  line-height: 1.5;
}

.products-item__arrow {
  color: #e60012;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .products {
    padding-bottom: 0;
  }
  .products-item {
    border: none;
  }
  .products-item a {
    display: flex;
    align-items: center;
  }
  .products-item__img {
    max-width: 40px;
    margin-right: 20px;
  }
}

/* ========= TOPICS =========  */
.topics {
  padding-bottom: 60px;
}

.topics__wrapper {
  display: flex;
}

.topics__banner-wrapper {
  display: flex;
}

.topics__banner {
  width: 100%;
  min-width: 219px;
  position: relative;
  margin-right: 22px;
}

.topics__banner::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background-color: #000;
  opacity: 0.3;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.topics__banner-name {
  text-align: center;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  z-index: 3;
}

.topics__banner-subname {
  font-size: 12px;
  display: block;
}

/* ========= TOPICS =========  */
.pick-up {
  margin-bottom: 60px;
}

/* スマホ */
@media screen and (max-width: 786px) {
  .topics {
    padding-bottom: 12px;
  }
  .topics__wrapper {
    flex-direction: column-reverse;
  }
  .topics__banner-wrapper {
    margin-bottom: 16px;
  }
  .topics__banner {
    min-width: calc(50% - 11px);
    width: 50%;
  }
  .topics__banner:last-of-type {
    margin-right: 0;
  }
  .topics__area {
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 768px) {
  .show_768 {
    display: block;
  }
  .hide_768 {
    display: none;
  }
}