@charset "utf-8";

/* === reset === */
* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  text-underline-offset: 0.15em;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  outline: none;
}

*:focus {
  outline: none;
}

html {
  -webkit-text-size-adjust: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* === end@reset === */
/* common */
body {
  overflow-x: hidden;
  background: repeating-linear-gradient(160deg,
      #FF6F91, #FF6F91 40px,
      /* ビビッドピンク */
      #FFD6E0 40px, #FFD6E0 80px,
      /* 薄いピンク */
      #A0C4FF 80px, #A0C4FF 120px,
      /* パステルブルー */
      #D0E6FF 120px, #D0E6FF 160px
      /* さらに淡いブルー */
    );
}

html {
  font-family: "Noto Sans JP", sans-serif;
}

/* top back */
.home-btn {
  position: fixed;
  top: 3%;
  right: 5%;
  transform: translateX(50%);
  padding: 1rem 2rem;
  background-color: #FF6F91;
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-btn:hover {
  transform: translateX(50%) translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

/* main */
main {
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

h1 {
  z-index: 100;
  font-family: "Chewy", system-ui;
  letter-spacing: 0.1rem;
  color: #FF6F91;
  font-size: 7em;
  text-shadow:
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff;
}

nav {
  margin-top: 10dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.menu_nav {
  width: 30%;
  height: 50dvh;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.3s;
}

.vegetable_nav {
  background-image: url(../img/menu01.webp);
}

.fruit_nav {
  background-image: url(../img/menu02.webp);
}

.drink_nav {
  background-image: url(../img/menu03.webp);
}

.menu_nav a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  text-align: center;
}

.menu_nav a p {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  text-shadow:
    0 0 5px #7AC943, 0 0 5px #7AC943, 0 0 5px #7AC943, 0 0 5px #7AC943, 0 0 5px #7AC943;
  transform: translateY(10%);
}

.menu_nav:hover {
  animation: navanime 1.5s infinite;
}

@keyframes navanime {
  0% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-5deg) scale(1.2);
  }

  50% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

@media screen and (max-width:768px) {
  .home-btn {
    right: 15%;
  }
}

@media screen and (max-width:576px) {
  html {
    scroll-padding-top: 0px;
    /* 固定ナビ分の高さ */
  }

  .menu_nav a p {
    font-size: 1rem;
  }
}

/* section common */
section {
  padding-bottom: 5%;
  width: 80%;
  margin: 0 auto;
  position: relative;
  z-index: -2;
}

h2 {
  padding-top: 2rem;
  margin-left: 10%;
  font-family: "Chewy", system-ui;
  letter-spacing: 0.1rem;
  font-size: 5rem;
  position: relative;
  z-index: 2;
  text-shadow:
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white;
}

.text {
  display: flex;
  flex-direction: column;
  color: #3E2723;
  height: 80dvh;
  position: relative;
}

.text img {
  position: absolute;
  z-index: -1;
  max-width: 180%;
  top: 50%;
  transform: translateY(-50%);
}

.main_img {
  left: 5%;
}

.sub_img {
  right: 5%;
}

.main_text {
  align-items: flex-end;
  padding-right: 5%;
  margin-top: 5%;
}

.sub_text {
  padding-left: 10%;
  margin-top: 5%;
}

h3 {
  width: 40%;
  text-align: left;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Fredoka", sans-serif;
    text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff;
  z-index: 2;
}

table {
  height: 80dvh;
  width: 40%;
  text-align: left;
  z-index: 2;
  background: linear-gradient(
  rgba(20, 20, 40, 0.3),
  rgba(0, 0, 0, 0.2)
);
backdrop-filter: blur(2px);
color: #f8f8f8;
  padding: 5%;
  border-radius: 5%;
}

table tr th {
  font-weight: 500;
}

table tr td span {
  font-size: 0.9em;
}

@media screen and (max-width:768px) {
  section {
    width: 100%;
  }

  h3 {
    width: 100%;
    text-align: center;
  }

  table {
    width: 80%;
    margin: 0 auto;
    color: #f8f8f8;
background: linear-gradient(
  rgba(20, 20, 40, 0.3),
  rgba(0, 0, 0, 0.2)
);
backdrop-filter: blur(2px);
  }

  .main_text {
    padding-right: 0%;
  }

  .sub_text {
    padding-left: 0%;
  }
}

@media screen and (max-width:576px) {
  .vegetable_img {
    max-width: 70%;
  }
}

/* vegetable */

#vegetable {
  background-color: #7AC943;
}


/* fruit */
#fruit {
  background-color: #FF6F91;
}

/* drink */
#drink {
  background-color: #FFC75F
}

/* footer */
footer {
  height: 5rem;
  background-color: #FFB347;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer p {
  color: #fff;
}