* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  position: relative;
}

.svg {
  display: none;
}

ul {
  list-style: none;
}

html {
  /* ページ内リンクが動くときになめらかにスクロールする */
  scroll-behavior: smooth;
}

.topimg {
  background: url(./img/ichigo-top02.jpeg) no-repeat center/cover;
  width: 100%;
  height: 100vh;
}

main,
footer {
  border-left: 7px solid #fff;
  border-right: 7px solid #fff;
}

.scroll {
  width: 10px;
  height: 200px;
  /* background-color: rgb(255, 255, 255); */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.scroll::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(254, 253, 255);
  position: absolute;
  top: -100%;
  left: 0;
  animation: ttob 2s infinite;
}


@keyframes ttob {
  100% {
    top: 100%;
  }
}

body {
  background: linear-gradient(rgb(255, 255, 255), rgb(255, 149, 149), #fff)fixed;
}

.wrap {
  background-color: rgb(128, 228, 128);
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 10px;
  left: 15px;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mainNav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(181, 221, 158, 0.589);
  display: none;
  z-index: 4;
  color: #000;
}

.mainNav.is-show {
  display: block;
  font-family: "Caprasimo", serif;
  font-size: 40px;
  padding-left: 20px;
  z-index: 5;
}

ul li {
  display: flex;
  /* font-size: large; */
}

.btn {
  width: 50px;
  aspect-ratio: 1/1;
  background-color: transparent;
  border: none;
  outline: none;
}

.btn span,
.btn span::before,
.btn span::after {
  display: block;
  width: 100%;
  height: 3px;
  background-color: rgb(15, 54, 11);
  position: relative;
}

.btn span::before,
.btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.btn span::before {
  top: 10px;
}

.btn span::after {
  top: -10px;
}

h1 {
  background-color: none;
  position: absolute;
  top: 50%;
  left: 10%;
  font-family: "Caprasimo", serif;
  color: rgb(17, 92, 35);
  font-weight: 200;
  z-index: 0;
}

h2 {
  color: rgb(21, 80, 23);
  text-align: center;
  font-size: 50px;
  font-family: "Caprasimo", serif;
  margin-top: 20px;
}

section {
  border: 2px solid #000;
  margin: 50px 10px 0 10px;
  padding-bottom: 20px;
}

h3 {
  text-align: center;
  font-size: 30px;
}

ul {
  margin-top: 10px;
  text-align: center;
}

li {
  text-align: center;
}

.pv {
  width: 100%;
  aspect-ratio: 3/2;
  display: block;
  margin: 10px auto;
  padding: 0 20px;
}

.setumei,
.qaf {
  margin: 20px;
}

h4 {
  margin-top: 10px;
  font-size: 20px;
}

.ichigo01 {
  width: 500px;
  aspect-ratio: 1/1;
  display: block;
  margin: auto;
  animation: ichigo1 3s infinite linear;
}

@keyframes ichigo1 {

  0%,
  100% {
    transform: rotate(7deg);
  }

  50% {
    transform: rotate(-7deg);
  }
}

.ichigo02,
.ichigo03,
.ichigo04,
.ichigo05,
.kuma,
.transition {
  display: none;
}

footer {
  padding-bottom: 50px;
  text-align: center;
}

.photo {
  margin-top: 40px;
}

.photo img {
  display: block;
  width: 250px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 10px solid #fff;
  box-shadow: 1px 1px 3px #00000055;
  margin: 0 auto 100px;
  transform: rotate(15deg);
  position: sticky;
  top: 100px;
}

.photo img:nth-child(2n) {
  transform: rotate(-15deg);
}

.photo img:nth-child(3n) {
  transform: rotate(0deg);
}

.boyowrap {
  filter: blur(5px) url(#filter);
  width: 80px;
  position: relative;
}

.dai {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: rgb(255, 0, 0);
  border-radius: 50%;
  /* うねうねするやつ */
  border-radius: 59% 41% 54% 46% / 43% 61% 39% 57%;
  animation: dai 5s infinite linear;
}

.hoshitomaru {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin-top: 15px;
}

@keyframes dai {
  50% {
    border-radius: 55% 45% 60% 48% / 50% 59% 41% 61%;
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.syo {
  width: 30%;
  aspect-ratio: 1/1;
  background-color: rgb(255, 0, 0);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 1s cubic-bezier(0.15, 0.82, 0.165, 1);
}

.boyowrap:hover .syo {
  transform: translate(-50%, 30px);
}

.hoshi {
  width: 70px;
  position: absolute;
  top: -25px;
  right: 44%;
  z-index: 1;
}

.hinsyu {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  font-size: 25px;
}

.event {
  font-size: 20px;
  text-align: center;
  margin: 20px 0 20px 0;
}

.first p {
  font-size: 50px;
  color: rgb(254, 255, 254);
  font-weight: bold;
  position: absolute;
  left: 33%;
  top: 49%;
  animation: loading 3s both linear;
}

.first {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: first 3s 2s both;
}

.first img {
  animation: logo 3s infinite linear;
}

/* 岡本 */
@keyframes loading {
  0% {
    transform: translateX(-300px);
  }

  100% {
    transform: translateX(450px);
  }
}

/* 岡本 */
/* いちごゆらゆら */
@keyframes logo {
  0% {
    transform: rotate(-5deg);
  }

  80% {
    transform: rotate(5deg);
  }

  100% {
    opacity: 0;
  }
}


@keyframes first {
  100% {
    opacity: 0;
    z-index: -1;
  }
}

.form-area {
  margin-top: 25px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  width: 200px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 15px 0;
}

.form-area dt .required::after {
  content: "必須";
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
}

.input-text {
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

.select-box {
  width: 200px;
  height: 40px;
}

.radio-button {
  display: block;
  /* 要素を縦に固定 */
  margin-top: 20px;
}

.radio-button:first-child {
  margin-top: 0;
}

.radio-button input {
  margin-right: 8px;
}

.message {
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.confirm-text {
  font-size: 14px;
  line-height: 22px;
  margin-top: 30px;
  text-align: center;
}

.submit-button {
  background-color: #c51f1f;
  display: block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-align: center;
  margin: 20px auto;
  cursor: pointer;
  border: none;
  color: rgb(255, 255, 255);
  width: 50%;
}


.submit-button:hover {
  background-color: #d8b500;
}

.form-area dt,
.form-area dd {
  width: 100%;
}

.form-area dt {
  padding-bottom: 0;
}

#map {
  margin: 20px 20px;
}

.map {
  width: 100%;
  aspect-ratio: 3/2;
  display: block;
 padding: 0 30px 20px 30px;
}

@media (min-width: 800px) {

  /* この中はPC用のcss */
  .topimg {
    height: 80vh;
  }

  .wrap {
    width: 400px;
  }

  .btn {
    display: none;
  }

  .mainNav {
    width: 20%;
    position: fixed;
    top: auto;
    bottom: 5%;
    left: auto;
    right: 4%;
    font-weight: bold;
    display: block;
    padding: 30px;
    font-family: "Caprasimo", serif;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.541);

  }

  .mainNav li {
    justify-content: center;
    line-height: 1.7;
    font-size: 25px;
  }

  .ichigo01,
  .ichigo02,
  .ichigo03,
  .ichigo04,
  .ichigo05 {
    position: fixed;
    width: 18%;
    align-self: 1/1;
    top: 15%;
    bottom: auto;
    left: 1%;
    right: auto;
    display: block;
    animation: ichigo 3s infinite linear;
  }

  .ichigo02 {
    width: 13%;
    top: 33%;
    bottom: auto;
    left: 18%;
    right: auto;
    animation: ichigo 3s infinite linear reverse;
  }

  .ichigo03 {
    width: 20%;
    top: auto;
    bottom: 55%;
    left: auto;
    right: 12%;
    animation: ichigo 3s infinite linear reverse;
  }

  .ichigo04 {
    width: 15%;
    top: auto;
    bottom: 45%;
    left: auto;
    right: 3%;
    animation: ichigo 3s infinite linear reverse;
  }

  .ichigo05 {
    width: 16%;
    top: auto;
    bottom: 25%;
    left: 5%;
    right: auto;
  }

  @keyframes ichigo {

    0%,
    100% {
      transform: rotate(5deg);
    }

    50% {
      transform: rotate(-5deg);
    }
  }

  .transition {
    display: flex;
    /* background-color: rgb(255, 102, 0); */
    width: 100%;
    font-size: 100px;
    overflow: hidden;
    justify-content: flex-end;
    z-index: -11;
  }

  .transition p {
    flex-shrink: 0;
    white-space: nowrap;
    animation: rtol 10s infinite linear;
    color: rgba(236, 24, 24, 0.288);
    z-index: -100;
  }

  @keyframes rtol {
    100% {
      transform: translateX(100%);
    }
  }

  .kuma {
    position: fixed;
    width: 30%;
    align-self: 1/1;
    top: auto;
    bottom: 1%;
    left: 30%;
    right: auto;
    display: block;
    animation: kuma 7s infinite ease-in;
    z-index: -5;
  }

  @keyframes kuma {
    50% {
      transform: translateX(-50%);
    }

    100% {
      transform: translateX(0%);
    }
  }

  h1 {
    position: absolute;
    top: 10%;
    background-color: cornsilk;
  }

  main,
  footer {
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
  }

  main {
    border-top: 10px solid #fff;
  }

  footer {
    border-bottom: 10px solid #fff;
    padding-top: 50px;
  }
}