@import url('./sanitize.css');

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #000;
}

/* twimoji 用のスタイル */
img.emoji {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  vertical-align: -0.1em;
  text-align: center;
}

header {
  background-image: url('./../images/bg1.jpg');
  background-size: cover;
  color: #fff;
  padding: 1rem;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;

  .message {
    text-align: center;
    background-color: #0002;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: opacity 2s ease-in-out;
  }
}

main {
  width: 100vw;
  height: 100%;
  color: #fff;

  .message {
    background-image: url('./../images/bg4.jpg');
    background-size: cover;

    .text {
      padding: 8em 20px;
      margin: 0;
      opacity: 0;
      transition: opacity 2s ease-in-out;
      font-size: 3em;
      font-weight: 800;
      text-align: center;
    }
  }

  .recap {
    background-color: #fff;
    color: #000;
    padding-bottom: 20px;

    h2 {
      margin: 0;
      padding: 1.2em 0;
      text-align: center;
      margin-bottom: 1em;
      font-size: 3.5em;
      font-weight: 600;
      background-color: rgba(255, 0, 174, 0.267);
    }

    ul {
      margin: 0;
      font-size: 3em;
      list-style: none outside;

      li {
        border-bottom: 1px solid #000;
        margin-bottom: 4em;
        font-weight: 600;

        span {
          font-size: 0.5em;
          font-weight: normal;
        }
      }
    }
  }

  .photo-garary {
    .images {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1em;
      width: 100%;
      padding: 0 20px;

      img {
        width: 100%;
        border-radius: 3em;
      }
    }

    .link {
      text-align: center;
      padding: 12px 0;
      background-color: #d18a277a;
      border-radius: 3em;
      margin: 12px 20px;

      a {
        color: #f89100;
        text-decoration: none;
        position: relative;
        display: inline-block;
        padding-left: 20px;
      }
      a:before {
        content: '';
        width: 6px;
        height: 6px;
        border: 0;
        border-top: solid 2px #f89100;
        border-right: solid 2px #f89100;
        transform: rotate(45deg);
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto;
      }
    }
  }

  .history {
    background-image: url('../images/bg2.jpg');
    padding-bottom: 20px;

    h2 {
      margin: 0;
      padding: 1.2em 0;
      text-align: center;
      margin-bottom: 1em;
      font-size: 3em;
      font-weight: 600;
      background-color: rgba(255, 0, 174, 0.267);
    }

    p {
      margin: 0;
    }

    .history-list {
      text-align: center;
      font-size: 2.6em;
      font-weight: bold;
      color: #0b0190;

      .item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
      }
    }
  }

  .swiper {
    color: #000;
    background-color: #fff;
    width: 100vw;
    height: 100vh;
    padding: 40px 0;
    background-image: url('../images/bg6.jpg');
    background-size: contain;

    h2 {
      text-align: center;
      font-size: 2rem;
      font-weight: 600;
    }

    .swiper-slide {
      background-color: rgba(226, 173, 177, 0.95);
      color: #fff;
      border-radius: 2em;
      padding: 1em 2em;

      .hb-message {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .message-box {
          font-size: 1.5em;
          text-align: center;
          margin-top: 12px;
          p {
            margin: 1em 0;
          }
        }

        img {
          width: 100px;
          height: 100px;
          object-fit: cover;
          border-radius: 100%;
        }
      }
    }
  }

  .last-message {
    padding: 300px 20px 0;
    .text {
      margin-top: 8em;
      opacity: 0;
      transition: opacity 2s ease-in-out;
      margin: 6em, 0;
      font-size: 3em;
      text-align: center;
      font-weight: bold;
    }
  }

  .finaly {
    width: 100vw;
    img {
      width: 100%;
    }
  }
}

footer {
  background-color: lightgray;
  text-align: center;
  padding: 1em;
  color: #fff;
  font-size: 0.8em;
}
