@charset "utf-8";
:root{
    --color-black: #323231;
    --color-white: #fff;
    --color-gray: #575757;
    --color-graylight: #6D6D6D;
}
@media screen and (min-width: 1025px){
   #custom-cursor {
  position: fixed;
  width: 100px;
  height: 100px;
  background-color: rgba(193,0,0,0.8);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translate(-50%, -50%) scale(0);
}

.works__img--mockup:hover {
  cursor: none;
}

.works__img--mockup:hover ~ #custom-cursor,
body:has(.works__img--mockup:hover) #custom-cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
} 
}

/* --- KV --- */
#article__header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    background: transparent;
}

.article__topic {
    font-size: 5rem;
    margin-bottom: 23px;
    font-weight: 500;
    font-family: 'EB Garamond' ,'sans-serif';
}

.article__subtopic{
    font-size: 1.8rem;
    font-family: 'EB Garamond' ,'sans-serif';
    font-weight: 400;
}

.main {
    position: relative;
    z-index: 1;
}

@media screen and (min-width: 769px){
    .article__topic{
        font-size: 7rem;
    }
}

@media screen and (min-width: 900px){
    .article__topic{
        font-size: 11rem;
    }

    .article__subtopic{
        font-size: 3.2rem;
    }
}

.scroll-indicator {
  position: fixed;
  left: 4px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  transition: opacity 0.5s, visibility 0.5s;
}

.scroll-text {
  writing-mode: vertical-rl;
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  color: var(--color-gray);
}

.scroll-line-box {
  position: relative;
  width: 1px;
  height: 80px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.scroll-line-moving {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--color-gray);
  animation: scroll-move-anim 2.0s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-move-anim {
  0% {
    top: -40px;
  }
  100% {
    top: 100%;
  }
}

/* works */
.section--works{
    padding: 80px 5.3% 80px;
}

.works__item{
    margin-top: 40px;
}

.works__img--mockup img{
    border-radius: 4px;
    width: 89.333vw;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

@media screen and (min-width: 450px){
    .works__img--mockup img{
        height: 300px;
    }
}

@media screen and (min-width: 600px){
    .works__img--mockup img{
        height: 400px;
    }
}

.title{
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.tag{
    font-size: 1rem;
    color: var(--color-graylight);
}

/* works 769px */

@media screen and (min-width: 769px) {
    .section--works{
        padding: 140px 8.19% 110px;
    }
  
    .works {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .works__item {
        width: 48%;
        margin-top: 120px;
    }

    .works__item:nth-of-type(1),
    .works__item:nth-of-type(2){
        margin-top: 0;
    }

    .works__img--mockup {
        display: block;
        overflow: hidden;
        position: relative;
        border-radius: 4px;
    }

    .works__img--mockup img {
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        display: block;
        filter: blur(0);
        border-radius: 4px;
    }
}

@media screen and (min-width: 1025px) {
    .title{
        font-size: 2rem;
    }

    .tag{
        font-size: 1.5rem;
    }
}

/* aboutme */
#about {
    background-color: var(--color-graylight);
    color: var(--color-white);
    background-image: linear-gradient(#575757d9, #575757d9),
        url(../images/noise.png);
        background-repeat: repeat;
        background-size: 100px;
}

.section--about{
    padding: 80px 5.3% 100px;
}

.section__subtitle--about{
    margin-bottom: 8px;
}

.name-en{
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.name-jp{
    font-size: 2.4rem;
    margin-bottom: 24px;
}

.profile__txt{
    font-size: 1.3rem;
    line-height: 1.77;
    margin-bottom: 32px;
}

.viewmore{
    font-size: 2rem;
}

.arrow-icon img{
    background-color: var(--color-white);
    border-radius: 2px;
    margin-left: 12px;
}

.myphoto{
    width: 50vw;
    margin-bottom: 24px;
}

/* about 769px */
@media screen and (min-width: 769px){
    .section--about{
        padding: 120px 8.19% 180px;
    }
    
    .profile{
        display: flex;
        width: 65vw;
        gap: 6.25vw;
        align-items: flex-start;
        margin: 0 auto;
    }

    .name-jp{
        font-size: 3.2rem;
    }

    .profile__txt{
        font-size: 1.4rem;
    }
}