@charset "UTF-8";

/*====================
header / main visual
====================*/
.logo {
    -webkit-text-stroke: 1px var(--color-white);
    paint-order: stroke;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8);
}

.logo img {
  filter: drop-shadow(0 0 2px #ffffff);
}

.nav--top {
  display: none;
}

.main-visual {
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  margin-bottom: 80px;
  background-image: url(../images/top/main-visual.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}

.main-visual::after {
  content: '';
  display: block;
  width: 100%;
  height: 30%;
  background-image: url(../images/top/main-visual-curve.svg);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  position: absolute;
  bottom: -0.5px;
  left: 0;
  right: 0;
}

.main-visual h1 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  font-family: var(--font-english);
  font-weight: 200;
  line-height: 1;
  font-size: clamp(7.2rem, 11vw, 9.6rem);
  padding: 0 4% 88px;
  text-shadow: 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66, 0 0 10px #ffffff66;
}

.main-visual h1 span {
  font-size: clamp(4rem, 3.15rem + 3.61vw, 6.4rem);
}

/*====================
about
====================*/
.about {
  padding-top: 120px;
  padding-bottom: 80px;
}

.greeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.greeting figure,
.greeting__txt {
  flex: 1;
}

.skill {
  margin-top: 56px;
}

.skill h3 {
  text-align: center;
}

.skill h3::after {
  margin-left: auto;
  margin-right: auto;
}

.skill ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.skill li {
  text-align: center;
  padding: 24px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--main-color-pink);
  border-radius: 24px;
  margin-top: 32px;
  margin-left: 24px;
  position: relative;
}

.skill li::before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -32px;
  left: -24px;
}

.SkItem--html::before {
  background-image: url(../images/common/icon-html.png);
}

.SkItem--css::before {
  background-image: url(../images/common/icon-css.png);
}

.SkItem--js::before {
  background-image: url(../images/common/icon-js.png);
}

.SkItem--php::before {
  background-image: url(../images/common/icon-php.png);
}

.SkItem--wp::before {
  background-image: url(../images/common/icon-wp.png);
}

.SkItem--fig::before {
  background-image: url(../images/common/icon-fig.png);
}

.SkItem--ps::before {
  background-image: url(../images/common/icon-ps.png);
}

.SkItem--ai::before {
  background-image: url(../images/common/icon-ai.png);
}

.skill h4 {
  font-size: clamp(2rem, 1.86rem + 0.6vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 16px;
}

/*====================
works
====================*/
.works {
  padding-top: 80px;
  padding-bottom: 80px;
}

/*  PC 
============================================= */
@media screen and (min-width: 769px) {
  /*====================
  header / main visual
  ====================*/
  .header {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px 0;
  }
  
    .nav--top {
      display: block;
    }
  
    .nav--top ul {
      height: 56px;
      background-color: var(--color-white);
      display: inline-flex;
      align-items: center;
      gap: 48px;
      padding: 8px 40px;
      border-radius: 8px;
    }
  
    .nav--top a {
      padding: 0 0.2em 0.2em;
    }
  
    .after-scroll {
      opacity: 0;
      transition: opacity .3s ease;
    }
  
    .after-scroll.show {
      opacity: 1;
      pointer-events: auto;
    }

  .main-visual {
    background-position: center;
  }
      
  .main-visual h1 {
    padding-bottom: max(10%, 80px);
  }
      
  /*====================
  about
  ====================*/
  .about {
    padding-top: 160px;
    padding-bottom: 100px;
  }

  .greeting {
    flex-direction: row;
    gap: 48px;
  }

  .skill {
    margin-top: 72px;
  }

  .skill ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
  }

  .skill li {
    width: calc((100% - 48px * 2 ) / 3 - 16px * 3);
    min-width: 274px;
  }

  /*====================
  works
  ====================*/
  .works {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .works ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 48px;
  }
}