@charset "utf-8";

/* -----reset----- */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -----syling from here!!!!----- */



/* -----main----- */


/* -----top img----- */

.first-img-area {
  background-image: url(../img/bg-beige.png);
  width: 100%;
  padding: 15px 0 65px 0;
}

.first-img {
  max-width: 1200px;
  max-height: calc(100vh - 100px);
  aspect-ratio: 207/138;
  margin: 0 auto;
  position: relative;
  background-image: url(../photo/topimg1.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 10px;
}

.catch-copy {
  writing-mode: vertical-rl;
  color: #f3f0e8;
  font-size: 26px;
  position: absolute;
  top: 30%;
  left: 48%;
  text-align: 40px;
  letter-spacing: 0.15em;
  text-shadow: 1px 1px 10px #4b2c14;
}

/* -----how to use----- */
.howtouse-area {
  margin: 100px auto 0;
  background-image: url(../img/bg-white.png);
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  padding: 65px 0;
}

.howtouse-area span::before {
  content: "＼";
  font-weight: 600;
}

.howtouse-area span::after {
  content: "／";
  font-weight: 600;
}


.howtouse-area p {
  text-align: center;
  font-weight: 600;
}

.howtouse-area h2 {
  margin-top: 5px;
}

.howtouse-flex {
  display: flex;
  justify-content: space-between;

}

.howtouse-flex li {
  width: 30%;
}

.howtouse-flex li img {
  width: 100%;
}

.howtouse-flex li p {
  text-align: center;
  line-height: 1.5em;
}

.howtouse-flex li p:nth-of-type(2) {
  margin-top: 20px;
}

.howtouse-flex li p a {
  font-weight: normal;
  color: #5c8b1b;
}


/* -----news----- */
.news-area {
  margin: 85px auto 0;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  border: solid 1px #d6e28a;
  padding: 65px 0;
}

.news-area ul {
  width: 60%;
  margin: 45px auto 0;
}

.news-area ul li {
  display: block;
  width: 100%;
  padding: 0 1em 0 1em;
  border-bottom: solid 1px #d6e28a;
  line-height: 3em;
}

.news-area ul li:last-child {
  border: none;
  text-align: right;
  margin-top: 20px;
}

.news-area ul li a {
  color: #302833;
}

.news-area ul li a span {
  margin-right: 1rem;
}

.news-area ul li:last-of-type a {
  color: #5c8b1b;
}

.news-area ul li:last-of-type a:hover {
  color: #b7282e;
}

/* ------ranking----- */
.ranking-area {
  margin: 80px auto 0;
  background-image: url(../img/bg-beige.png);
  padding: 85px 0;
}

.ranking-flex {
  display: flex;
  justify-content: center;
  margin: 20px auto 0;
  max-width: 1200px;
}

.ranking-flex div::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(../img/separate.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.ranking-flex div:last-child::after {
  display: none;
}


.ranking-flex div {
  cursor: pointer;
  font-size: 20px;

}

.content.is-show {
  margin: 45px auto 0;
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
}

.content.is-show li {
  width: 30%;
}

.content.is-show li div {
  width: 100%;
  display: flex;
  justify-content: center;
}

.content.is-show li img:nth-child(2) {
  margin-top: 20px;
  width: 100%;
  border-radius: 10px;
}

.content.is-show li:hover {
  opacity: 50%;
}

/* ---ranking tab--- */


.tab:hover {
  opacity: 50%;
}

.tab.open {
  color: #b7282e;
  font-weight: 700;
}

.content {
  display: none;
}

/* -----search----- */
.search-area {
  margin: 100px auto 0;
  width: 90%;
  max-width: 1200px;
}

.search-area h2 {
  margin-top: 100px;
}

.search-flex {
  margin-top: 45px;
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.search-flex a {
  display: block;
  width: 45%;
}

.search-flex a img {
  width: 100%;
  border-radius: 10px;
}

.search-flex a img:hover {
  opacity: 50%;
}

/* -----goods----- */
.goods-area {
  margin: 165px auto 0;
  width: 90%;
  max-width: 1200px;
}

.goods-category {
  margin-top: 80px;
  width: 100%;
}

.goods-category h3 {
  text-align: center;
}

.goods-flex {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.goods-flex li {
  width: 22%;
}

.goods-flex li img {
  width: 100%;
  border-radius: 10px;
}

.goods-category a {
  display: block;
  text-align: right;
  color: #5c8b1b;
}

.goods-category a:hover {
  opacity: 50%;
}

.goods-category a:last-of-type {
  margin-top: 30px;
}

/* -----shop info----- */
.shopinfo-area {
  margin: 145px auto 0;
  max-width: 1200px;
}

.shopinfo-copy {
  position: relative;
  margin: 0 auto;
  width: 50%;
  letter-spacing: 0.05em;
}

.omottara {
  display: block;
  margin-top: 15px;
  text-align: center;
  position: absolute;
  right: 5em;
}

.shopinfo-flex {
  margin: 100px auto 0;
  display: flex;
  justify-content: space-between;
  width: 75%;
}

.shopinfo-flex img {
  width: 65%;
  border-radius: 10px;
}

.shopinfo {
  margin-left: 5%;
}

.shopinfo h3 {
  font-size: 20px;
  letter-spacing: 0.15em;
  margin-top: 45px;
}

.shopinfo p {
  margin: 10px 0 0 0.15em;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
}


.shopinfo p:first-of-type {
  margin-top: 45px;
}

.shopinfo p:nth-of-type(4) {
  margin-top: 4px;
}

.shopinfo p:last-of-type {
  margin-top: 25px;
}

.shopinfo a {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #5c8b1b;
}



/* -----footer----- */
footer {
  display: block;
  background-image: url(../img/bg-green.png);
  width: 100%;
  margin-top: 100px;
}

.footer-flex {
  display: flex;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-flex ul {
  width: 20%;
  min-width: 135px;
  margin-top: 65px;
}

.footer-flex ul a {
  color: #302833;
}

.footer-flex ul li {
  padding-left: 1em;
  line-height: 1.8em;
}

.footer-flex ul li:first-of-type {
  margin-top: 10px;
}

.footer-flex ul li::before {
  content: '';
  width: 3px;
  height: 3px;
  display: inline-block;
  border-radius: 100%;
  background: #302833;
  position: relative;
  left: -0.5em;
  top: -3px;
}

.footer-flex .none li {
  padding-left: 0;
}

.footer-flex .none li::before {
  display: none;
}

.footer-flex ul li a {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

footer a:hover {
  opacity: 50%;
}

footer img {
  display: block;
  margin: 65px auto 0;
  width: 10%;
  max-width: 450px;
}

footer small {
  display: block;
  margin: 20px auto 0;
  padding-bottom: 20px;
  text-align: center;
}

@media (max-width:800px) {
  .first-img-area {
    padding: 0 0 65px 0;
  }

  .first-img {
    background-image: url(../photo/topimg1-responsive.png);
    border-radius: 0;
    aspect-ratio: none;
    width: 100%;
    height: 80vh;
    background-position: right;
  }

  .howtouse-area {
    margin-top: 65px;
  }

  .howtouse-flex {
    flex-direction: column;
    align-items: center;
  }

  .howtouse-flex li {
    width: 80%;
  }

  .howtouse-flex li:nth-of-type(3) {
    margin-top: 50px;
  }

  .howtouse-flex li p:nth-of-type(2) {
    margin-top: 20px;
  }

  .news-area {
    margin-top: 65px;
  }

  .news-area ul {
    width: 85%;
    margin: 45px auto 0;
  }

  .news-area ul li {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: solid 1px #d6e28a;
    line-height: 2.5em;
  }

  .news-area ul li a {
    display: flex;
    flex-direction: column;
  }

  .ranking-area {
    margin-top: 40px;
    padding: 40px 0;
  }

  .ranking-flex div {
    font-size: 16px;
  }

  .content.is-show {
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .content li img:first-of-type {
    width: 20%;
  }

  .content li:first-child {
    width: 55%;
    margin: 0 auto 50px;
  }

  .content li:nth-child(2),
  .content li:nth-child(3) {
    width: 48%;
  }

  .search-area {
    margin-top: 45px;
  }

  .search-area h2 {
    margin-top: 45px;
  }

  .search-flex {
    display: block;
  }

  .search-flex a {
    width: 80%;
    margin: 20px auto;
  }

  .goods-area {
    margin-top: 100px;
  }


  .goods-category {
    margin-top: 25px;
  }

  .goods-category h3 {
    margin-top: 55px;
  }

  .goods-flex {
    flex-wrap: wrap;
  }

  .goods-flex ul {
    margin-top: 0;
  }

  .goods-flex li {
    width: 47%;
    margin-top: 25px;
  }

  .shopinfo-area {
    margin-top: 80px;
  }

  .shopinfo-copy {
    width: 90%;
  }

  .shopinfo-copy h2 {
    font-size: 21px;
    text-align: center;
  }

}

@media(max-width:1000px){
.omottara{ 
  position: relative;
  display: block;
  width: 90%;
  text-align: end;
  right: inherit;
}

.shopinfo-flex{
  flex-direction: column;
  align-items: center;
}

.shopinfo-flex img{
  width: 90%;
}

}

@media(max-width:400px){
  .omottara{
width: 100%;
  }
}