@charset "UTF-8";
/* CSS Document */
@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Sawarabi+Gothic&display=swap');
:root {
  --main-color: #A6CE38;
  --sub-color: #FFA317;
  --text-color: #523220;
}
* {
  /*        outline: 1px solid #c00;*/
  font-family: "Noto Sans JP", sans-serif;
  font-size: normal;
  color: var(--text-color);
}
h1, h2, h3 {
  font-weight: normal;
  padding: 0;
}
body {
  width: 100%;
  font-size: 16px;
}
main {
  color: var(--text-color);
}
main:not(#top main, #event main, #recipi-about) {
  width: 1300px;
  margin: auto;
}
header {
  position: sticky;
  top: -70px;
  z-index: 10;
}
#logo {
  display: grid;
  place-content: center;
  width: 100%;
  height: 70px;
  background: white;
  transform: translateY(0);
  transition: transform 0.3s ease;
  img {
    width: 200px;
  }
}
#logo.hidden {
  transform: translateY(-100%);
}
li {
  list-style: none;
}
a {
  display: inline-block;
  text-decoration: none;
}
p {
  text-wrap: pretty;
}
.header-menu ul, .footer-menu ul {
  display: flex;
  background: var(--main-color);
  width: 100%;
  padding: 20px 10% 20px;
  font-size: 18px;
  li {
    list-style: none;
    text-align: center;
    width: calc(100% / 8);
  }
  a {
    display: block;
  }
}
.header-menu ul li:hover, .footer-menu ul li:hover {
  font-weight: 500;
}
#top .header-menu ul li#top-nav, #about .header-menu ul li#about-nav, #news .header-menu ul li#news-nav, #items .header-menu ul li#items-nav, #event .header-menu ul li#event-nav, #recipi .header-menu ul li#recipi-nav, #inquery .header-menu ul li#inquery-nav, #privacy .header-menu ul li#privacy-nav {
  font-weight: 500;
}
.bold-text {
  font-weight: 500;
}
.big-text {
  font-size: 22px;
  margin-right: 3px;
}
.mid-text {
  font-size: 20px;
}
.news {
  margin: 20px 50px 40px;
  span {
    color: var(--sub-color);
    margin-left: 10px;
    font-size: 16px;
    font-weight: 400px;
  }
}
.news-title {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-inline: 10px;
  padding-bottom: 5px;
  margin-bottom: 25px;
  border-bottom: solid 3px var(--text-color);
}
.news-title::after {
  position: absolute;
  top: 12px;
  right: 90px;
  content: "";
  width: 50px;
  border: solid 1px var(--text-color);
}
.button {
  color: var(--text-color);
  background: var(--main-color);
  display: inline-block;
  padding: 10px 30px;
  margin: 20px auto;
  border: none;
  border-radius: 30px;
  transition: background .2s, color .2s;
  &:hover {
    color: black;
    background: #698223;
  }
}
.button-area {
  display: flex;
  justify-content: center;
  margin: auto;
}
/* ポップアップメッセージを隠す */
.btn-hidden {
  display: none;
}
/* ポップアップメッセージを画面右下に配置 */
#btn-text {
  padding: 10px 20px;
  border-radius: 8px;
  background: #ddd;
  font-weight: bold;
  text-align: center;
  position: fixed;
  right: 5%;
  bottom: 10%;
    z-index: 5;
}
/* ポップアップアニメーションを3秒かけて実行 */
.popup-message {
  animation: popup 3s forwards;
}
@keyframes popup {
  0% {
    transform: translateY(15%);
    opacity: 0;
  }
  10%, 90% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: translateY(15%);
    opacity: 0;
    pointer-events: none;
  }
}
.page-title {
  font-size: 25px;
  margin-top: 40px;
  margin-bottom: 60px;
  span {
    font-size: 18px;
  }
}
.page-title p {
  width: min(1230px, 80%);
  margin: auto;
  position: relative;
  z-index: 2;
  &::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 3px;
    top: 50%;
    left: -40px;
    background: var(--main-color);
  }
}
.sns {
  display: flex;
  flex-direction: column;
  width: max(300px, 40%);
  text-align: left;
  h2 {
    margin: 0;
    padding-bottom: 5px;
  }
  .sns-about {
    padding-bottom: 10px;
  }
}
.insta, .twitter {
  display: inline-flex;
  align-items: center;
  padding: 20px 10px;
  img {
    margin-right: 10px;
    width: 40px;
    aspect-ratio: 1 / 1;
  }
}
.insta {
  border-top: solid 3px;
  border-bottom: solid 2px;
}
.twitter {
  border-bottom: solid 3px;
  margin-bottom: 30px;
}
footer {
  background: var(--main-color);
  height: 460px;
  margin-top: 100px;
  padding-top: 30px;
  text-align: center;
}
.footer-logo {
  width: 300px;
  margin: 80px auto 30px;
}
.copyright {
  padding-block: 20px;
  font-size: 13px;
}
.title-br {
  display: none;
}
@media (width <=750px) {
  header {
    position: static;
  }
  main:not(#top main, #event main) {
    width: 90%;
  }
  .big-text {
    font-size: 20px;
  }
  .mid-text {
    font-size: 18px;
  }
  .news {
    margin: 20px 30px 40px;
    span {
      color: var(--sub-color);
      margin-left: 3px;
      font-size: 16px;
      font-weight: 400px;
    }
  }
  .news-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: solid 3px var(--text-color);
  }
  .title-br {
    display: inherit;
  }
  .sns {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    width: 95%;
  }
  .footer-menu ul {
    display: block;
    li {
      position: relative;
      text-align: left;
      width: 70%;
      margin: 0 auto 40px;
      &::after {
        position: absolute;
        top: 0;
        right: 0;
        content: "▶︎";
      }
    }
  }
  footer {
    height: auto;
  }
}