@charset "UTF-8";
html, body {
  overflow-x: hidden;
}
.fadeIn {
  opacity: 0;
  transition: all 1.8s ease;
}
.fadeIn.show {
  opacity: 1;
}

/* ==========================
main article header
============================= */
.mainVisual__pc {
    width: 100%;
    height: 100vh;
}
.mainVisual__tab {
    display: none;
}
.mainVisual__sp {
    display: none;
}
.article__header {
    position: relative;
}
.slide__sub {
  overflow: hidden;
  display: flex;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
}

.sub__item {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 46px;
  font-family: "Cormorant Garamond";
  color: rgba(28, 28, 28, 0.8);
  padding-right: 30px;

  &:nth-child(odd) {
    animation: MoveLeft 70s -35s infinite linear;
  }

  &:nth-child(even) {
    animation: MoveLeft2 70s 0.5s infinite linear;
  }
}

@keyframes MoveLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes MoveLeft2 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.slide__text {
  overflow: hidden;
  display: flex;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slide__item {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 120px;
  font-family: "Cormorant Garamond";
  color: rgba(28, 28, 28, 0.8);
  padding-right: 30px;

  &:nth-child(odd) {
    animation: MoveLeft 80s -40s infinite linear;
  }

  &:nth-child(even) {
    animation: MoveLeft2 80s 0.7s infinite linear;
  }
}

@keyframes MoveLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes MoveLeft2 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

/* 959px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 959px) {
    .mainVisual__sp {
        display: none;
    }
    .mainVisual__tab {
        display: block;
        width: 100%;
        height: 100vh;
        margin-top: 60px;
    }
    .slide__item {
        font-size: 110px;
    }
}

/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
    .mainVisual__pc {
        display: none;
    }
    .mainVisual__tab {
        display: none;
    }
    .mainVisual__sp {
        display: block;
        width: 100%;
        height: 100vh;
    }
    .slide__item {
        font-size: 100px;
    }
    .sub__item {
        font-size: 45px;
    }
}

/* ==========================
main about
============================= */

.section--about {
    padding: 100px 14% 0px;
}

.topic__about {
    font-size: 2.6rem;
    letter-spacing: 0.1em;
    font-family: "Cormorant Garamond";
    text-align: center;
}

.Introduction_txt {
    font-size: 1.4rem;
    line-height: 2;
    margin-top: 40px;
}

.sns__list {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.sns__item img{
    width: 20px;
}

.sns__item:hover {
    opacity: 0.3;
    transition: 0.4s;
}

.Introduction__more {
    display: block;
    width: fit-content;
    margin-left: auto; 
    font-size: 1.4rem;
    margin-top: 16px;
    transition: 0.4s;
}
.Introduction__more:hover {
    opacity: 0.5;
}

/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
    .section--about {
        padding: 40px 6.4% 0px;
    }

    .topic__about {
        font-size: 2rem;
        font-weight: 500;
    }

    .Introduction_txt {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-top: 20px;
    }

    .sns__list {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .Introduction_flex {
        display: block;
    }

    .Introduction__more {
        font-size: 1.4rem;
        margin-top: 10px;
        text-align: end;
    }
}

/* ==========================
main works
============================= */
.section--works {
    padding: 100px 14% 50px;
}
.section--website {
    margin-bottom: 80px;
    padding: 0 6.4%;
}
.section--banner {
    margin-bottom: 80px;
    padding: 0 6.4%;
}
.section--graphic {
    margin-bottom: 80px;
}
.work__category {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 20px;
}
.topic__works {
    font-size: 2.6rem;
    letter-spacing: 0.1em;
    font-family: "Cormorant Garamond";
    text-align: center;
}

.works__list {
    display: flex;
    gap: 40px;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    font-weight: 300;
    margin-top: 50px;
    justify-content: center;
}
.website__item img{
    width: 100%;
    transition: transform 0.8s ease;
}
.website__item{
    max-width: 300px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.website__item:hover img {
    transform: scale(1.05);
}

.banner__item img{
    width: 100%;
    transition: transform 0.8s ease;
}
.banner__item{
    max-width: 270px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.banner__item:hover img {
    transform: scale(1.05);
}
.graphic__item img {
    width: 100%;
    transition: transform 0.8s ease;
}
.graphic__item{
    max-width: 290px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.graphic__item:hover img {
    transform: scale(1.05);
}
.retouch__item img {
    width: 100%;
    transition: transform 0.8s ease;
}
.retouch__item{
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.retouch__item:hover img {
    transform: scale(1.05);
}
.work__flex {
    display: flex;
    gap: 28px;
    justify-content: center;
}
.website__txt {
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    margin-top: 12px;
}
.website__group {
    font-size: 1.4rem;
}
/* =============workの動き============= */
.works__item a {
    opacity: 0.45;
    transition: opacity 0.3s;
}
.works__item a.active {
    opacity: 1;
}
/* 480px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 769px) {
    .website__item{
        max-width: 230px;
    }
    .graphic__item{
        max-width: 210px;
    }
    .banner__item{
        max-width: 210px;
    }
    .retouch__item{
        max-width: 400px;
    }
    .work__flex {
        gap: 14px;
    } 
}
/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
    .section--works {
        padding: 80px 6.4% 40px;
    }
    .work__flex {
        display: block;
    }
    .works__list {
        display: flex;
        gap: 14px;
        font-size: 1.3rem;
        letter-spacing: 0.1em;
        margin-top: 30px;
        justify-content: center;
    }
    .work__category {
        font-size: 1.4rem;
    }
    .website__list {
        margin-bottom: 30px;
    }
    .website__item img{
        max-width: 100%;
    }
    .website__item{
        margin: 0 auto;
        max-width: 260px;
    }
    .graphic__item img {
        max-width: 100%;
    }
    .graphic__item{
        margin: 0 auto;
        max-width: 260px;
    }
    .banner__item img{
        max-width: 100%;
    }
    .banner__item{
        margin: 0 auto;
        max-width: 260px;
    }
    .retouch__item img {
        max-width: 100%;
    }
    .retouch__item{
        margin: 0 auto;
        max-width: 300px;
    }
    .topic__works {
        font-size: 2rem;
        font-weight: 500;
    }
    .website__item  img{
        width: 320px;
    }
}

/* ==========================
main skill
============================= */
.section--skill {
    color: #f5f5f5;
    margin-top: 80px;
    padding: 100px 14% 120px;
    background-color: #000;
}
.topic__skill {
    font-size: 2.8rem;
    font-family: 'Cormorant Garamond';
    text-align: center;
    letter-spacing: 0.08em;
}
.skill__content {
    margin-top: 60px;
}
.skill__name {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 2.8rem;
    border-bottom: #f5f5f5 solid 0.5px;
    padding-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.skill__txt {
    font-size: 1.4rem;
    line-height: 2;
    margin-top: 24px;
    font-family: "Noto sans JP";
    font-weight: 400;
    color: #f5f5f5;
}

.skill__design {
    margin-top: 40px;
    width: 100%;
    margin-left: auto;
}

.skill__development {
    margin-top: 60px;
    width: 100%;
    margin-left: auto;
}

.design__list {
    display: flex;
    gap: 10px;
    color: rgb(245, 245, 245, 0.5);
    font-size: 1.4rem;
    margin-top: 24px;
}

.design__item {
    border: rgb(245, 245, 245, 0.5) solid 1px;
    padding: 2px 0;
    text-align: center;
    flex: 1;
}

.development__list {
    display: flex;
    color: rgb(245, 245, 245, 0.5);
    gap: 10px;
    margin-top: 24px;
}

.development__item {
    border: rgb(245, 245, 245, 0.5) solid 1px;
    padding: 2px 0;
    font-size: 1.4rem;
    flex: 1;
    text-align: center;
}

@media screen and (max-width: 480px) {
    .section--skill {
        padding: 80px 14% 100px;
        background-color: #000;
    }

    .topic__skill {
        font-size: 2rem;
    }

    .skill__name {
        font-size: 2rem;
        border-bottom: #f5f5f5 solid 0.5px;
    }

    .skill__txt {
        font-size: 1.4rem;
        margin-top: 20px;
    }

    .skill__design {
        margin-top: 40px;
        width: 100%;
    }

    .design__list {
        display: block;
        font-size: 1.4rem;
        margin-top: 20px;
    }

    .design__item {
        border: #727272 solid 1px;
        padding: 4px 20px;
        text-align: center;
        margin-top: 8px;
    }

    .skill__development {
        width: 100%;
        margin-top: 60px;
    }

    .development__list {
        display: block;
        margin-top: 20px;
    }
    
    .development__item {
        font-size:1.4rem;
        padding: 4px 20px;
        margin-top: 8px;
        text-align: center;
    }
}
