/* リンク */
a {
  -webkit-text-decoration: none;
  color: inherit;
  text-decoration: none;
}

@media (any-hover: hover) {
  a {
    transition: opacity 0.3s;
  }

  a:hover {
    opacity: 0.8;
    cursor: pointer;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background: url(./img/bg.jpg);
  overflow-x: hidden;
  background-size: cover;
}
.wrapper {
  width: 100%;
  height: 100vh;
  position: relative;
}
.background {
  display: none; /* 背景は削除 */
}
.view {
  box-sizing: border-box;
  width: 100vw;
  max-width: 414px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
}

.view.view--cv {
  position: relative;
}

.view img {
  width: 100%;
  height: auto;
  display: block;
}

.view--cv__link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(60 / 515.28 * 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(257 / 303 * 100%);
  aspect-ratio: 253.197 / 59.761;
  border-radius: 8px;
  filter: drop-shadow(4px 2px 5px rgba(0, 0, 0, 0.4));
  background-image: linear-gradient(90deg, #F39F38, #EB6825);
  color: #fff;
}

.view--cv__link-icon {
  width: calc(21 / 251 * 100%);
  aspect-ratio: 1;
}

.view--cv__link-icon-line {
  width: calc(26 / 251 * 100%);
  aspect-ratio: 1;
}

.view--cv__link-arrow {
  width: calc(15 / 251 * 100%);
  aspect-ratio: 1;
}

.view--cv__link-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view--cv__link-text {
  font-family: "Noto Sans JP", serif;
  font-size: 16px;
  width: 170px;
  text-align: center;
}

.view--cv__link.view--cv__link-middle {
  bottom: calc(45 / 515.28 * 100%);
}

.view--cv__link.view--cv__link--line {
  background-image: linear-gradient(90deg, #00b43d, #009633);
  bottom: calc(25 / 515.28 * 100%);
}

.view--cv__link.view--cv__link--line.view--cv__link--line-middle {
  bottom: calc(15 / 515.28 * 100%);
}

.view--cv-float {
  z-index: 9999;
  display: block;
  position: fixed;
  bottom: 20px;
  left: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 80px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s opacity, 0.3s visibility;
}

.view--cv-float.is-show {
  opacity: 1;
  visibility: visible;
}

.view--cv-float__link {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: 80%;
  aspect-ratio: 414 / 107.39;
  filter: brightness(100%) drop-shadow(4px 2px 5px rgba(0, 0, 0, 0.4));
  transition: 0.3s filter;
}

@media (any-hover: hover) {
  .view--cv-float__link:hover {
    opacity: 1;
    filter: brightness(105%) drop-shadow(4px 2px 5px rgba(0, 0, 0, 0.4));
  }
}

.view--cv-float__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*アニメーション*/
.anim-up-down {
  animation: up-down 2s linear infinite;
}

@keyframes up-down {
  0% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-6px) translateX(-50%);
  }
  100% {
    transform: translateY(0) translateX(-50%);
  }
}

.anim-up-down:hover {
  animation-play-state: paused;
}

.movie {
  padding: 30px 0;
  background: #fff;
}

@media (max-width: 768px) {
  .view {
    width: 100%;
    max-width: 100%;
    padding: 0px;
  }
  .movie {
    padding: 30px 0;
    background: #fff;
  }
  .view--cv__link-text {
    font-size: clamp(0.8125rem, -0.0357142857rem + 4.2410714286vw, 2rem);
  }
  .view--cv-float {
    left: 0;
    transform: initial;
  }
}
