@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  word-wrap: break-word;
}

img {
  width: 100%;
  vertical-align: bottom;
}

/* レイアウト設定 */
main {
  margin: 160px 0;
}

.pointer-area {
  background-color: #c3512f;
  height: 400px;
  cursor: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-cursor {
  width: 80px;
  height: 80px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.3s ease-in-out, opacity 0.3s, visibility 0.3s;
}

.plus-horizontal,
.plus-vertical {
  background-color: black;
  position: absolute;
}

.plus-horizontal {
  width: 30px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plus-vertical {
  width: 1px;
  height: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rotate-text {
  width: 120px;
  height: 120px;
  position: absolute;
  animation: rotate 10s linear infinite;
  transform-origin: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.3s ease-in-out, opacity 0.3s, visibility 0.3s;
}

@keyframes rotate {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}
