/* ここから共通 */
header {
  width: 100%;
  display: flex;
  align-items: center;
}

nav ul li {
  list-style-type: none;
}

nav ul li a:hover {
  opacity: 0.7;
}

#pagetop {
  width: 100%;
}

#pagetop img {
  margin-left: 3%;
  width: 100%;
  max-width: 500px;
}

#pagetop_nav ul {
  list-style: none;
  display: flex;
  gap: 1%;
  margin-right: 2%;
}

.pagetop_navli {
  margin-right: 1%;
  width: 100%;
}

footer {
  width: 100%;
  margin-top: 10%;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #444d62;
  background-color: #B0C4DE;
  background-image: url(trip-log-PNG/backgroudn_moyou.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 100%;
}


img {
  max-width: 100%;
}

.in1 {
  animation-name: in1;
  animation-delay: 0.3s;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes in1 {
  0% {
  }
  100% {
    opacity: 1;
  }
}
.in2 {
  animation-name: in2;
  animation-delay: 0.6s;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes in2 {
  0% {
  }
  100% {
    opacity: 1;
  }
}
.in3 {
  animation-name: in3;
  animation-delay: 0.9s;
  animation-duration: 0.9s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes in3 {
  0% {
  }
  100% {
    opacity: 1;
  }
}

/* ここまで共通 */


/* ここからindex */
.index_body {
  background-color: #778899;
  background-image: url(trip-log-PNG/background_index.png);
}

.index_center {
  margin: 0 auto;
  width: 85%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* ここまでindex */

/* ここからMap */


.win {
  position: relative;
}

.tripmap {
  position: relative;
  text-align: center;
  width: 70%;
  margin: 0 auto;
  z-index: 2;
}

.easteregg {
  position: absolute;
  top: 15%;
  left: 10%;
  z-index: 1;
}


.retun_top {
  text-align: center;
}

.retun_top a:hover {
  opacity: 0.7;
}

.map_setumei {
  margin-left: 20%;
}

.attention {
  margin-top: 2%;
  margin-left: 3%;
  width: 40%;
  max-width: 500px;
}

.member_photo {
  position: absolute;
  width: 25%;
  right: 10px;
  bottom: 15px;
  z-index: 300;
}

/* ここまでMap */

/* ここからリストページ */
.triplog_list_setumei {
  color: #778899;
  text-align: center;
  margin-top: 5%;
}

.triplog_list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  justify-content: center;
}

.triplog_list a img {
  margin-left: 10px;
}

.triplog_parents {
  text-align: center;
}

.triplog_parents img:hover {
  transition: all 0.2s ease-in-out;
  transform: scale(1.05);
}

.triplog_list {
  display: inline-block;
}

.easteregg_triplist {
  width: 1px;
  height: 2px;
}


/* ここまでリストページ */

/* ここから旅記事 */
.contents {
  display: flex;
  justify-content: space-between;
  margin: 0 2%;
}

.main {
  width: 80%;
  flex-wrap: wrap;
  word-break: break-all;
  font-size: 10px;
}

sub {
  width: 30%;
  max-width: 200px;
  margin-right: 2%;
}

h3 {
  border-left: solid 10px #778899;
}

.trip_log_text {
  color: #000000;
  font-size: 2em;
}

.trip_log_text img {
  width: 40%;
  margin-left: 2%;
  max-width: 400px;
}

#sub_mobile {
  display: none;
}

/* ここまで旅記事 */

/* ここからフォーム */
.email_contents {
  margin: 0 auto;
  width: 95%;
}
#input_comment {
  width: 500px;
  height: 200px;
  border: 2px solid #778899;
  overflow: scroll;
}

#easteregg_triplist {
  background-color: #B0C4DE;
  border: none;
  width: 62px;
  font-size: 24px;
  font-weight: bold;
}

.triplog_list_setumei {
  color: #808080;
}

.easteregg_button {
  width: 40px;
  font-size: 20px;
  background-color: #B0C4DE;
  border: none;
  color: #808080;
  font-weight: bold;
}
input[type="text"] {
  width: 200px;
  border: 2px solid #778899;
}
input[type="email"] {
  width: 200px;
  border: 2px solid #778899;
}
input.textfield {
  width: 30%;
  border: 1px solid #778899;
}

/* ここまでフォーム */

/* ここから隠し要素 */
#hiden {
  animation-name: out;
  animation-delay: 0.3s;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  opacity: 1;
}
@keyframes out {
  0% {
  }
  100% {
    opacity: 0;
  }
}


#easteregg_fade {
  animation: none;
}

.easteregg_img {
  position: relative;
  width: 80%;
  max-width: 700px;
  margin: auto;
  animation-name: In2;
  animation-delay: 1.5s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes In2 {
  0% {}

  15% {
    transform: scale(1, 1) translate(0%, 5%);
    opacity: 1;
  }

  30% {
    transform: scale(0.7, 0.6) translate(0%, 10%);
    opacity: 1;
  }

  50% {
    transform: scale(0.8, 0.9) translate(0%, -10%);
    opacity: 1;
  }

  70% {
    transform: scale(0.9, 0.8) translate(0%, 5%);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1) translate(0%, 0%);
    opacity: 1;
  }
}

.easteregg_h1 {
  background-color: #778899;
  width: fit-content;
  height: 100px;
  animation-name: In1;
  animation-delay: 1s;
  animation-duration: 0.5s;
  transform: translateX(-50px);
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes In1 {
  0% {}

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.easter_container {
  margin-top: 2%;
}

.easteregg_h1 h1 {
  color: #f0f8ff;
  padding: 25px 50px 25px 70px;
}

.position {
  position: relative;
  width: 100%;
  height: 100%;
}

.black {
  visibility: visible;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  opacity: 0.5;
  top: 0;
  left: 0;
  z-index: 50;
  animation-name: In3;
  animation-delay: 4s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.next {
  position: absolute;
  background-color: #778899;
  border: 2px solid #f0f8ff;
  width: 400px;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  animation-name: In4;
  animation-delay: 4s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.next a {
  text-decoration: none;
}

.marker {
  color: #f0f8ff;
  display: inline;
  background-image: linear-gradient(90deg, #b0dedd, #f7e170);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.marker:hover {
  background-size: 100% 100%;
}

@keyframes In3 {
  0% {}

  100% {
    opacity: 0.5;
  }
}

@keyframes In4 {
  0% {}

  100% {
    opacity: 1;
  }
}

/* ここまで隠し要素 */

/* ここから紙吹雪 */
.easter_content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 90;
}

.confetti span {
  position: absolute;
  top: -100%;
  left: 0;
}

.confetti span:nth-child(2n + 1) {
  animation: confetti1 5s 0s linear infinite;
}

.confetti span:nth-child(2n + 2) {
  animation: confetti2 5s 0s linear infinite;
}

@keyframes confetti1 {
  0% {
    top: -10%;
    transform: translateX(0) rotateX(0) rotateY(0);
  }

  100% {
    top: 100%;
    transform: translateX(20px) rotateX(180deg) rotateY(360deg);
  }
}

@keyframes confetti2 {
  0% {
    top: -10%;
    transform: translateX(0) rotateX(0) rotateY(0);
  }

  100% {
    top: 100%;
    transform: translateX(-20vw) rotateX(180deg) rotateY(360deg);
  }
}

.confetti span:nth-child(1) {
  left: 0%;
}

.confetti span:nth-child(2) {
  left: 10%;
}

.confetti span:nth-child(3) {
  left: 20%;
}

.confetti span:nth-child(4) {
  left: 30%;
}

.confetti span:nth-child(5) {
  left: 40%;
}

.confetti span:nth-child(6) {
  left: 50%;
}

.confetti span:nth-child(7) {
  left: 60%;
}

.confetti span:nth-child(8) {
  left: 70%;
}

.confetti span:nth-child(9) {
  left: 80%;
}

.confetti span:nth-child(10) {
  left: 90%;
}

.confetti span:nth-child(11) {
  left: 100%;
}

.confetti span:nth-child(12) {
  left: 15%;
}

.confetti span:nth-child(13) {
  left: 25%;
}

.confetti span:nth-child(14) {
  left: 35%;
}

.confetti span:nth-child(15) {
  left: 45%;
}

.confetti span:nth-child(16) {
  left: 55%;
}



.confetti span:nth-child(3n + 1) {
  width: 1.5%;
  height: 1.5%;
}

.confetti span:nth-child(3n + 2) {
  width: 1.7%;
  height: 1.7%;
}

.confetti span:nth-child(3n + 3) {
  width: 2%;
  height: 2%;
}

.confetti span:nth-child(2n + 1) {
  background: #f0f8ff;
}

.confetti span:nth-child(2n + 2) {
  background: #397fc6;
}

.confetti span:nth-child(2n + 3) {
  background: #b2d8ff;
}

.confetti span:nth-child(2n + 4) {
  background: #fab9de;
}

.confetti span:nth-child(2n + 5) {
  background: #b94988;
}

.confetti span:nth-child(2n + 6) {
  background: rgb(241, 196, 73);
}

.confetti span:nth-child(2n + 7) {
  background: rgb(242, 242, 138);
}

.confetti span:nth-child(2n + 1) {
  animation-duration: 5s;
}

.confetti span:nth-child(2n + 2) {
  animation-duration: 6s;
}

.confetti span:nth-child(2n + 3) {
  animation-duration: 10s;
}

.confetti span:nth-child(2n + 4) {
  animation-duration: 4s;
}

.confetti span:nth-child(2n + 5) {
  animation-duration: 3s;
}


.confetti span:nth-child(2n + 1) {
  animation-delay: 0s;
}

.confetti span:nth-child(2n + 2) {
  animation-delay: 4s;
}

.confetti span:nth-child(2n + 3) {
  animation-delay: 6s;
}

.confetti span:nth-child(2n + 4) {
  animation-delay: 2s;
}

.confetti span:nth-child(2n + 5) {
  animation-delay: 6s;
}

.confetti span:nth-child(2n + 6) {
  animation-delay: 10s;
}

.confetti span:nth-child(2n + 7) {
  animation-delay: 2s;
}

.confetti span:nth-child(2n + 8) {
  animation-delay: 4s;
}

.confetti span:nth-child(2n + 9) {
  animation-delay: 11s;
}

.confetti span:nth-child(2n + 10) {
  animation-delay: 1s;
}

.confetti span:nth-child(2n + 11) {
  animation-delay: 5s;
}

.confetti span:nth-child(2n + 12) {
  animation-delay: 3s;
}

.confetti span:nth-child(2n + 13) {
  animation-delay: 7s;
}

.confetti span:nth-child(2n + 14) {
  animation-delay: 9s;
}

.confetti span:nth-child(2n + 15) {
  animation-delay: 12s;
}

.confetti span:nth-child(2n + 16) {
  animation-delay: 1.5s;
}

/* ここまで紙吹雪 */


/* ここからメンバーを紹介するぜ！ページ */
.member_h1 {
  margin-left: 40px;
}

.member img {
  width: 300px;
}

.main_member {
  display: flex;
  flex-wrap: wrap;
}

.sub_member {
  display: flex;
  flex-wrap: wrap;
}

/* ここまでメンバーを紹介するぜ！ページ */