* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  height: 100vh;
  width: 100vw;
}

.contaner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

section {
  position: relative;
  &:nth-child(even) {
    background-color: #000;
  }
}

#firstview {
  height: 80vh;
  width: 100vw;
}

.lead_title {
  position: absolute;
  top: 50%;
  left: 50%;
  border-right: 4px solid #000; /* カーソル風 */
  transform: translate(-50%, -50%);
  padding-right: 8px;
  font-family: monospace;
  font-size: 128px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.archive_list {
  width: 100%;
}

.archive_item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-bottom: 0.2px solid #fff;
  padding: 16px 40px;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  &:hover {
    color: #000;
    background-color: #fff;
  }
  .number {
    grid-column: 1 / span 2;
  }
  .name {
    grid-column: 3 / span 4;
  }
  .skill_tag {
    grid-column: 8 / span 2;
  }
  .created_at {
    grid-column: 12 / span 2;
    text-align: right;
  }
}

#previewFrameContainer {
  position: absolute;
  width: 300px;
  height: 200px;
  pointer-events: none;
  border: 1px solid #ccc;
  display: none;
  z-index: 999;
  background: white;
}

#previewFrame {
  width: 100%;
  height: 100%;
  border: none;
  transform-origin: top left;
}

footer {
  height: 72px;
  line-height: 72px;
  text-align: center;
}
