/* global */
/* body {
  font-family: "Noto Sans CJK JP" ;
  margin: 0;
}

ul {
  list-style: none;
}

a {
  cursor: pointer;
}

.sp {
  display: none;
} */

/* support iOS */
html {
  height: -webkit-fill-available;
}
body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

@supports (-webkit-touch-callout: none) {
  body {
    /* The hack for Safari */
    height: -webkit-fill-available;
  }
}

p {
  padding: 0;
  line-height: normal;
  color: inherit;
}

h2 {
  line-height: normal;
}

main {
  min-width: 1140px;
}

/* common */

.basic-btn {
  display: block;
  border-radius: 24px;
  width: 72px;
  text-align: center;
  padding: 2px;
  font-size: 10px;
}

/* top */

.top-container {
  height: 100dvh;
  height: 100vh;
  position: relative;
}

.top-view {
  width: 100%;
  height: 100%;
  margin-bottom: 140px;
  background-size: cover;
  background-position: center bottom 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.top-puzzle {
  background-image: url(/images/top/product_top_puzzle_2.jpg);
}

.top-elemo {
  background-image: url(/images/top/top-background_2.jpg);
}

.top-elemo-k {
  background-image: url(/images/top/product_topmain_elemok_2.jpg);
}

.top-elemo-l {
  background-image: url(/images/top/product_topmain_elemol.jpg);
}

.black-btn {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}

.black-btn:hover {
  background-color: rgba(192, 194, 194, 0.7);
}

.gray-btn {
  background-color: rgba(255, 255, 255, 0.7);
}

.gray-btn:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.top-btns {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  position: absolute;
  bottom: 170px;
}

.detail-btn {
  margin: 0 16px;
  width: 180px;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 32px;
  position: relative;
}

.detail-btn:after {
  /* 擬似要素で矢印アイコンをつくる */
  content: "";
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  display: inline-block;
  width: 10px;
  height: 10px;
  /* 矢印アイコンの位置を設定 */
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
  /* rotate(45deg)で矢印を回転（向きを変更）させる */
}

.gray-btn.detail-btn:after {
  border-top: solid 2px #000;
  border-right: solid 2px #000;
}

.gray-btn.detail-btn:hover:after {
  border-color: #fff;
}

/* lineup */
.lineup {
  background-color: #000;
  width: 100%;
  height: 140px;
  display: flex;
  position: absolute;
  bottom: 0;
}

.lineup-inner {
  width: 980px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.lineup-title {
  /* margin-right: 120px; */
}

.lineup-title h2 {
  color: white;
  font-weight: normal;
  margin: 0;
  font-size: 25px;
  padding: 0;
}

.lineup-title p {
  color: #5fc1c7;
  margin: 0;
  font-size: 11px;
}

.products {
  display: flex;
  align-items: center;
}

.products-link {
  display: block;
  /* border-bottom: 4px solid #000000; */
  margin: 0 2px;
  transition: all 0.4s;
  color: white;
  padding: 9px 14px;
  border-bottom: 4px solid #000;
}

.products-link.active {
  color: #5fc1c7;
  border-bottom: 4px solid #5fc1c7;
}

.products img {
  display: block;
  width: 120px;
}

.products p {
  text-align: center;
  font-size: 1.2rem;
}

.products a {
  text-decoration: none;
}

.products-link div {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blank-lineup {
  /* width: 232px; */
  width: 88px;
}

/* notice */
.notice {
  padding: 100px 0;
  background-color: white;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.notice-title {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.notice-title h2 {
  font-weight: normal;
  font-size: 18px;
  padding: 0;
}

.notice-title img {
  width: 18px;
  margin-right: 8px;
  display: block;
}

.notice-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* slider */
#top-slider,
.slick-list,
.slick-track {
  height: 100%;
}


.bnr-wrap,
.bnr-wrap + .contact{
  padding-top: 70px;
}
.bnr-wrap .bnr + .bnr{
  margin-top: 35px;
}
.bnr-wrap .bnr a{
  display: block;
  width: 380px;
  max-width: calc(100% - 32px);
  margin: 0 auto 5px;
}
.bnr-wrap .bnr a img{
  max-width: 100%;
}
.bnr-wrap .bnr p{
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}


@media screen and (min-width: 769px) {
  .products-link:hover {
    color: #5fc1c7;
    border-bottom: 4px solid #5fc1c7;
  }
}

@media screen and (max-width: 768px) {
  main {
    min-width: auto;
  }

  /* top */
  .top-view {
    /* height: 500px; */
    background-position: center center;
    margin-bottom: 120px;
  }

  .top-title {
    margin-top: 240px;
    text-align: center;
    position: absolute;
    top: -70px;
    width: 100%;
  }

  .top-title img {
    width: 84%;
    max-width: 600px;
    transition: 0.2s;
  }

  .top-btns {
    bottom: 140px;
  }

  .top-puzzle {
    background-image: url(/images/top/product_top_puzzle_sp_plain.jpg);
  }

  .top-elemo {
    background-image: url(/images/top/top-elemo-sp-plain_2.jpg);
  }

  .top-elemo-k {
    background-image: url(/images/top/product_top_elemok_sp_plain_2.jpg);
  }

  .top-elemo-l {
    background-image: url(/images/top/product_topmain_elemol_sp_plain.jpg);
  }

  .detail-btn {
    padding: 8px;
    width: 140px;
  }

  .detail-btn:after {
    /* 擬似要素で矢印アイコンをつくる */
    width: 8px;
    height: 8px;
  }

  .products img {
    width: 80px;
  }

  /* lineup */
  .lineup {
    overflow-y: scroll;
    justify-content: flex-start;
    height: 120px;
  }

  .lineup-title {
    margin-right: 20px;
  }

  .products-link {
    margin-right: 0px;
    padding: 12px;
  }

  .lineup-inner {
    width: auto;
    padding: 0 12px;
    justify-content: center;
  }

  .lineup-title h2 {
    text-align: left;
    font-size: 20px;
  }

  .lineup-title p {
    min-width: 90px;
  }

  .products p {
    font-size: 1.3rem;
  }

  .products-link div {
    height: 64px;
  }

  /* notice */
  .notice {
    padding: 40px 20px;
    display: block;
  }

  .notice-list {
    padding: 0;
  }


  .bnr-wrap,
  .bnr-wrap + .contact{
    padding-top: 35px;
  }


}
