*,
*::before,
*::after {
  box-sizing: border-box;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

html {
  font-size: 65%;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: #57aeff99;
  color: #222;
}

::-moz-selection {
  background: #57aeff99;
  color: #222;
}

body {
  min-height: 100vh;
  background: #fff;
  line-height: 1.3;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans,
    sans-serif;
  font-size: 18px;
  color: #222;
}

a {
  text-decoration: none;
  font-weight: 600;
  color: #478eff;
}

.container {
  position: relative;
  max-width: 800px;
  min-width: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.header {
  padding-top: 30px;
  background: #222;
  color: #fff;
}

.header .logo {
  position: absolute;
  top: 0;
  left: 20px;
}

.logo.second {
  top: 3px;
}

@keyframes falling {
  0% {
    transform: rotateX(0deg);
  }

  100% {
    transform: rotateX(90deg);
  }
}

.falling {
  animation: falling 0.5s ease-in 1.5s forwards;
  transform-origin: bottom center;
}

@keyframes entering {
  0% {
    top: -20px;
    opacity: 0;
  }

  100% {
    top: 4px;
    opacity: 1;
  }
}

.entering {
  opacity: 0;
  animation: entering 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6) 2.6s forwards;
}

@keyframes slide-in {
  0% {
    transform: translateX(-10px);
    opacity: 0;
  }

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

.stone-img {
  opacity: 0;
  transform: translateX(-10px);
  animation: slide-in 0.5s cubic-bezier(0.68, -0.1, 0.32, 1.6) 0.5s forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

h1 {
  font-size: 32px;
  font-weight: 600;
}

.rip {
  margin-top: 80px;
  display: flex;
  gap: 50px;

  .stone-img {
    margin-left: -20px;
  }

  .notice {
    opacity: 0;
    animation: fade-in 0.5s ease-out 1s forwards;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 20px;

    p,
    h2 {
      line-height: 1.4;
      font-size: 18px;
      font-weight: normal;
      color: #ddd;

      img {
        width: 17px;
        height: 17px;
        vertical-align: middle;
        margin-top: -3px;
        margin-left: 1px;
      }
    }

    .bold {
      font-weight: 700;
    }
  }
}

.faq {
  margin: 30px auto;
  padding: 0 20px 15px 20px;
  max-width: 650px;

  .title {
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
    text-align: center;
  }

  .questions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;

    .question {
      display: flex;
      flex-direction: column;
      gap: 10px;
      background: #f8f8f8;
      border: solid 2px #eee;
      border-radius: 8px;
      padding: 15px;
      color: #444;
      cursor: pointer;
      user-select: none;

      .q {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;

        .minus {
          display: none;
        }
      }

      .a {
        display: none;
        line-height: 1.4;
        padding-top: 12px;
        margin-top: 6px;
        border-top: dashed 2px #e4e4e4;
        overflow: hidden;
      }
    }

    .question.open {
      .a {
        display: block;
      }

      .q .plus {
        display: none;
      }

      .q .minus {
        display: block;
      }
    }
  }
}

@media (max-width: 600px) {
  @keyframes falling {
    0% {
      transform: translateX(-50%) rotateX(0deg);
    }
    100% {
      transform: translateX(-50%) rotateX(90deg);
    }
  }

  .header .logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  h1 {
    background: url("/assets/images/stone.png") no-repeat;
    background-size: auto 100px;
    background-position: center top;
    font-size: 22px;
    padding-top: 115px;
    text-align: center;
  }

  .rip {
    margin-top: 60px;
    text-align: center;

    .stone-img {
      display: none;
    }

    .notice {
      padding: 0 20px 20px 20px;

      .bold {
        font-size: 20px;
        /* padding: 12px 0; */
        font-weight: 700;
      }
    }
  }
}
