@charset "UTF-8";
header{
    position: relative;
    height: 50vh;
    background: url(images/karim.jpg)center/cover;
}
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

/* スクロールでダウンアニメ */
.scroll_down{
  position:absolute;
  bottom:1%;
  right:50%;
  animation: arrowmove 1s ease-in-out infinite;
}

.scroll_down a{
  position: absolute;
  left: -24px;
  bottom: 17px;
  color: #000;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #000;
    transform: skewX(-31deg);
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 2px;
  height: 85px;
  background:#000;
}

@keyframes arrowmove{
   0%{bottom:1%;}
   50%{bottom:5%;}
   00%{bottom:1%;}
}

/* 画像拡大 */
body {
  margin: 0;
}

.zoom-section {
  height: 200vh; /* スクロール量を作る */
}

.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-image {
  width: 60%;
  transform: scale(1);
  will-change: transform;
  transform-origin: left center;
}
