.header {
  background-image: url(../img/top/header.jpg);
  background-size: cover;
  background-position: center;
  height: 650px;
  text-align: center;
  position: relative;
}

.header_title {
  height: 400px;
  padding-top: 110px;
  position: absolute;
  z-index: 100;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

@media screen and (max-width: 840px) {
  .header {
    height: 300px;
    background-position: 6% 0;
  }
  .header_title {
    height: 200px;
    padding-top: 35px;
  }
}

.message_top {
  display: flex;
  writing-mode: vertical-rl;
  align-items: center;
  line-height: 250%;
  width: 100%;
  position: relative;
  height: 450px;
  background-image: url(../img/top/message_top_pc.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.message_top br {
  display: block;
}

.message_top-contents {
  position: absolute;
  top: 80px;
}

.message_top-contents h2 {
  padding-left: 30px;
  text-align: left;
}

.message_top-contents p {
  line-height: 250%;
  padding-left: 20px;
}

@media screen and (max-width: 840px) {
  .message_top-contents h2 {
    padding-left: 15px;
  }
  .message_top {
    height: 550px;
    background-image: url(../img/top/message_top_sp.svg);
  }
  .message_top-contents {
    top: 140px;
  }
  .message_top-contents p {
    line-height: 200%;
  }
}

.button_message-around {
  display: block;
}

.button_message {
  border: solid 2px #000;
  color: #000;
  margin-right: 0;
  padding: 10px 0;
  width: 50px;
}

.button_message span {
  writing-mode: vertical-rl;
  display: inline;
}

.button_message::after {
  display: none;
}

.to-about {
  background-image: url(../img/top/president.jpg);
  background-size: cover;
  background-position: center;
  height: 600px;
  position: relative;
}

.to-about_contents {
  position: absolute;
  right: 20%;
  top: 240px;
  color: #fff;
}

.president-name {
  padding-bottom: 20px;
}

.to-about_contents img {
  width: 300px;
}

.button_to-about {
  width: 300px;
}

@media screen and (max-width: 840px) {
  .to-about {
    height: 250px;
  }
  .president-name {
    font-size: 12px;
    padding-bottom: 10px;
  }
  .president-name span {
    font-size: 11px;
  }
  .to-about_contents {
    right: 15%;
    top: 80px;
  }
  .to-about_contents img {
    width: 150px;
  }
  .button_to-about {
    width: auto;
  }
}

.how-to-buy_top {
  text-align: center;
}

.how-to-buy_top ul {
  display: flex;
  width: 60%;
  margin: 0 auto;
}

.how-to-buy_top ul li {
  width: 100%;
}

@media screen and (max-width: 840px) {
  .how-to-buy_top ul {
    flex-wrap: wrap;
  }
  .how-to-buy_top ul li {
    width: 50%;
  }
}

.how-to-buy_top ul li .icon img {
  width: 140px;
}

@media screen and (max-width: 840px) {
  .how-to-buy_top ul {
    width: 100%;
  }
  .how-to-buy_top ul li .icon img {
    width: 100%;
  }
}

.items-introduction .item {
  width: 100%;
  box-shadow: 0px 1px 8px #ccc;
}

.items-introduction .item {
  margin-bottom: 40px;
}

.items-introduction .item .contents-innter-sp {
  display: flex;
}

.items-introduction .item .text {
  background-color: #fff;
}

.items-introduction .item .img, .items-introduction .item .text {
  width: 50%;
}

.items-introduction .item .img img {
  width: 100%;
}

.button_items-introduction {
  color: #EE5B46;
  border-color: #EE5B46;
  width: 300px;
  margin: 0 auto;
}

@media screen and (max-width: 840px) {
  .button_items-introduction {
    width: 200px;
  }
  .items-introduction .item {
    margin-bottom: 0;
  }
  .items-introduction .item .contents-innter-sp {
    flex-wrap: wrap;
  }
  .reverse{
    flex-direction: column-reverse;
  }
  .items-introduction .item-in {
    margin: 20px;
  }
  .items-introduction .item .img, .items-introduction .item .text {
    width: 100%;
  }
  /* banner */

}

.items-introduction .item .text .text-in {
  padding: 30px;
}

.items-introduction .item .text .text-in h3 {
  font-size: 33px;
  font-weight: bold;
  padding-bottom: 15px;
  line-height: 50px;
}

.slick-slide img {
  width: 100%;
  object-fit: cover;
}

.slick-list {
  overflow: hidden;
}

/* .slick-slider {
  top: -20px;
} */

/* banner */
.banner {
  width: 80%;
  margin: 80px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* PC：4列 */
  gap: 20px;
  max-width: 100%;
  align-items: center;
}

.banner>div {
  text-align: center;
}

.banner a img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 840px) {
  .banner {
      grid-template-columns: repeat(2, 1fr);
      /* 2列表示 */
      width: 91.36%;
      margin: 40px auto;
      gap: 16px;
    }
  
    .banner a img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }

   
}

/* 0520追加分 */

.onlineshop {
  background-color: #000;
  padding: 100px 0;
  width: 100%;
}

.onlineshop-heading {
  text-align: center;
  color: white;
  font-size: 2rem;
  margin: 0 0 30px;
}

.onlineshop-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.onlineshop a img {
  /* width: 100%; */
  max-width: 100%;
  width: 100%;
    height: auto;
    display: block;
    max-width: 280px;
}

.banner-image {
  position: relative;
  display: inline-block;
}

.banner-text {
  position: absolute;
  top: 50%;
  /* 縦中央 */
  left: 50%;
  /* 横中央 */
  transform: translate(-50%, -50%);
  /* 完全中央揃え */
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  width:80%;
}

.banner-text::after {
  content: '→';
  font-weight: bold;
  margin-left: 8px;
}
@media screen and (max-width: 840px) {
  .onlineshop {
  padding: 50px 0;
}
.onlineshop-heading {
  margin: 0;
  font-size: 20px;
}
}
