@charset "utf-8";

body {
  background-image: url(../images/haikei.jpg);
  background-repeat: repeat;
}

h1 {
  font-size: 35px;
}


main {
  width: 80%;
  margin: 0 auto;
  /* border: 1px solid #f00; */
}

details {
  padding: 40px 60px;
  margin: 50px;

}


/* 春 */
details:nth-child(1) {
  background-image: url(../images/spring-2.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;

}

/* 夏 */
details:nth-child(2) {
  background-image: url(../images/summer.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;



}

/* 秋 */
details:nth-child(3) {
  background-image: url(../images/autumn1.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;

}

/* 冬 */
details:nth-child(4) {
  background-image: url(../images/winter.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;

}
.contener p {
  font-weight: bold;
  line-height: 1.7;
  background: rgba(221, 214, 214, 0.54);
  width: 100%;
 text-align: center;

}
summary {
  font-size: 40px;
  font-weight: bold;
  font-style: normal;
  display: block;
  /* border: 1px solid #00f; */
}

summary:hover {
  cursor: pointer;
}

.contener {
  width: 100%;
}

.contener p {
  margin: 20px 0;
}


h2 {
  font-size: 40px;
  text-align: center;
  font-weight: bold;
  max-width: 100%;
  padding: 2vw;

}

details img {
  width: 250px;
  height: 300px;
  padding: 20px;
}

details .imgcontener {
  display: flex;
  justify-content: space-around;
  overflow-x: scroll;
}
@media screen and (max-width:680px) {
  header img {
    width: 20vh;
    height: 20vh;
  }

  main {
    width: 100%;
  }

  details {
    padding: 40px;
  }

  /* 春 */
  details:nth-child(1) {
    background-size: cover;
  }

  /* 夏 */
  details:nth-child(2) {
    background-size: cover;

  }

  /* 秋 */
  details:nth-child(3) {
    background-size: cover;
  }

  /* 冬 */
  details:nth-child(4) {
    background-size: cover;

  }
.contener p {
  text-align: left;
}
  #top {
    height: 200px;
  }

  h2 {
    font-size: 40px;
  }

  p {
    font-size: 14px;
  }

  summary {
    font-size: 17px;
  }
}
