/* ベースのスタイル */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(90deg, #0c0c1b, #0c0c44);
  color: white;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow-x: hidden;
}

.title h1 {
  /* 全ての見出し */
  font-size: 42px;
  margin: 0;
}

h2,
p {
  margin: 0;
}

.title {
  text-align: left;
  margin: 50px 80px 50px;
}

.title p {
  text-align: left;
  font-size: 23px;
  margin-top: 10px;
}

/* トップページ */
.TopView {
  position: relative;
  width: 100%;
  background-size: cover;
  font-weight: bold;
}

#Top img {
  width: 100%;
  display: block;
}

#Top h1 {
  position: absolute;
  width: 100%;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 40px;
  white-space: nowrap;
  font-family: "M PLUS 1p", sans-serif;
  text-shadow: 2px 2px 4px #000000;
}

#Top .btn {
  position: absolute;
  font-size: 26px;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-image: radial-gradient(#9a8324, #985a06);
  border: solid 1px #fff;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

#Top .btn a {
  text-decoration: none;
  color: #fff;
}


.text {
  margin: 0 100px;
  text-align: left;
  font-size: 22px;
}

#photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#mainImage {
  margin-top: 50px;
  width: 80%;
  height: auto;

}

.prev,
.next {
  width: 5%;
  height: 5%;
  margin: 0 5%;
}

#explanation {
  display: flex;
  justify-content: center;
  text-align: center;
}


#explanation .prev,
#explanation .next {
  display: none;
}

#photo-container {
  margin-top: 30px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

  #explanation .prev,
  #explanation .next {
    display: block;
    margin-top: 20px;
    width: 33px;
  }

  #photo .prev,
  #photo .next {
    display: none;
  }
}

#explanation h1 {
  font-size: 30px;
}

header {
  margin: 17%;
}

header h2 {
  font-size: 45px;
  margin-bottom: 30px;
}


.sns {
  display: flex;
  justify-content: center;
}

.sns img {
  width: 80px;
  height: 80px;
  margin: 0 30px;
}

.sns img:hover {
  transform: scale(1.2, 1.2);
  /*画像の拡大*/
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

  .title {
    margin: 50px 40px;
  }

  .title h1 {
    font-size: 28px;
  }

  .title p {
    font-size: 16px;
  }

  .text {
    margin: 0 40px;
    font-size: 20px;
  }

  #Top h1 {
    margin-top: 0px;
    font-size: 24px;
    text-align: center;
  }

  #Top .btn {
    font-size: 1rem;
    width: 40%;
  }

  #photo {
    width: 100%;
    margin-top: 50px;
  }

  #photo-container h1 {
    font-size: 1rem;
    margin-top: 5%;
  }

  #photo {
    display: flex;
    justify-content: center;
  }

  header h2 {
    font-size: 30px;
  }

  .sns img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }
}