@charset "UTF-8";

/*==========================
fv
==========================*/

.fv {
  margin-top: 70px;
  height: calc(90vh - 70px);
  position: relative;
  margin-bottom: 300px;
}

.fv__inner {
  width: 100%;
  max-width: var(--contentWidth);
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.fv__image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.fv__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fvFade 12s infinite;
}

/* 1枚目 */
.fv__image img:nth-child(1) {
  animation-delay: 0s;
}
/* 2枚目 */
.fv__image img:nth-child(2) {
  animation-delay: 4s;
}
/* 3枚目 */
.fv__image img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes fvFade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.fv__text {
  width: 35%;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(50%);
  z-index: 2;
}

/*==========================
works
==========================*/

.anchor-fix {
  position: absolute;
  top: -70px;   /* ヘッダーの高さ */
}

.works {
  position: relative;
  margin-bottom: 150px;
  padding-bottom: 50px;
  background-image: linear-gradient(
      to right,
      rgba(198, 196, 193, 0.4) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(198, 196, 193, 0.4) 1px, transparent 1px);
  background-size: 25px 25px;
  background-position: 12px 12px;
}

.works__inner {
position: relative;
padding-top: 80px;
}

.worksBox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -60px);
  width: 90%;
}

.section-title {
  font-size: 9.4rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.slash {
  display: block;
  width: 6rem;
  height: 4px;
  background-color: var(--primary-brown);
  border-radius: 999px;
  transform: rotate(-60deg);
}

.works-textBox {
  display: flex;
  align-items: center;
}

.works-text {
  width: fit-content;
  padding: 10px;
  font-size: 1.4rem;
  background-color: var(--primary-offwhite);
}

.works-text span {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}

.works__list {
  width: auto;
  max-width: 880px;
  max-height: 75vh;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 5%;
  background-color: var(--primary-offwhite);
  margin-top: 20px;
  padding: 3% 0;
}

.works__item {
  width: 25%;
  min-width: 230px;
  margin-top: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .works__item:hover {
    opacity: 0.6;
  }
}

.works__link {
  position: relative;
  display: block;
}

.works__more {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-brown);
  background-color: var(--primary-offwhite);
  width: 80px;
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
}

.works__name {
  font-size: 1.2rem;
}

/* スクロールバー全体 */
.works__list::-webkit-scrollbar {
  width: 6px;
}

/* つまみ */
.works__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-color: #d9d9d9;
}

/* レール */
.works__list::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

.scroll-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.scroll-wrap {
  padding-top: 330px;
}

.scroll {
  width: 10px;
  height: 80px;
  flex-shrink: 0;
}

/*==========================
process
==========================*/

.process {
  margin-bottom: 150px;
}

.process-title {
  display: block;
  width: 800px;
  margin: 0 auto 10px;
  text-align: center;
}

.process-textBox {
  display: flex;
  width: 700px;
  margin: 0 auto;
  align-items: center;
  margin-bottom: 60px;
}

.process-slash {
  margin: 0;
}

.process-text {
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
}

.process__content {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.process__image {
  max-width: 495px;
  position: relative;
  display: inline-block;
}

.process__image img {
  display: block;
  position: relative;
  z-index: 2;
}

.process__image::after {
  content: "";
  position: absolute;
  left: 13px;
  top: -13px;
  width: 100%;
  height: 100%;
  background: var(--primary-brown);
  z-index: 1;
}

.process__list {
  margin-left: 6%;
}

.process__list li {
  margin-bottom: 30px;
}

.process__number-box {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}

.process__number {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 2;
  color: var(--primary-offwhite);
  background-color: var(--primary-brown);
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
}

.process__list h3 {
  font-size: 2.2rem;
}

.process__list p {
  font-size: 1.4rem;
  padding-left: 8px;
}

/*==========================
about
==========================*/

.about {
  position: relative;
  padding: 30px 0 60px;
  overflow: hidden;
  margin-bottom: 100px;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0px;
  width: 70%;
  height: 100%;
  background-image: linear-gradient(
      to right,
      rgba(198, 196, 193, 0.4) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(198, 196, 193, 0.4) 1px, transparent 1px);
  background-size: 25px 25px;
  background-position: 12px 12px;
  z-index: 0;
}

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

.aboutBox {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.about-slash {
  margin: 0;
}

.about-textBox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  padding-top: 5px;
}

.about-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-brown);
  background-color: var(--primary-offwhite);
  padding: 3px;
}

.about-text span {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
  color: var(--primary-black);
  font-weight: normal;
}

.about__content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__image {
  max-width: 250px;
}

.about__text {
  margin-left: 5%;
}

.about-nameBox {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: var(--primary-offwhite);
  margin-bottom: 30px;
  padding: 10px;
}

.about__name {
  font-size: 2.2rem;
}

.about__job {
  font-size: 1.2rem;
  color: var(--primary-brown);
}

.about__desc {
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  background-color: var(--primary-offwhite);
  padding: 20px 10px;
}

.about__desc span {
  color: var(--primary-brown);
  font-weight: 600;
}

/*==========================
skills
==========================*/

.skills-title {
  text-align: center;
}

.skills__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 30px;
}

.skills__item {
  width: 345px;
  height: 270px;
  border: solid 1px var(--primary-brown);
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .skills__item:hover {
    transform: scale(1.15);
  }
}

.skills__item h3 {
  height: 120px;
  line-height: 120px;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-offwhite);
  background-color: var(--primary-brown);
  text-align: center;
  letter-spacing: 0.1rem;
}

.skills__item ul {
  padding: 30px;
}

.skills__item li {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 0.1rem;
}

/*==========================
Responsive
==========================*/

/* Tablet */
@media screen and (max-width: 1024px) {
  .fv__text {
    width: 50%;
  }

  .works {
    /* margin-top: 100px; */
    margin-bottom: 80px;
    padding: 0 var(--contentPadding) 50px;
  }

  .worksBox {
transform: translate(-50%, -40px);
  }

  .section-title {
    font-size: 6rem;
  }
  .process-slash,
  .about-slash {
    margin: 0;
  }

  .process-title {
    width: 100%;
  }

  .process-textBox {
    padding-left: 20%;
  }

  .process__content {
    flex-direction: column;
  }

  .process__image {
    margin: 0 auto;
  }

  .process__list {
    margin-left: 0;
    margin-top: 50px;
  }

  .about__inner {
    padding: 0 var(--contentPadding);
  }

  .skills {
    padding: 0 var(--contentPadding);
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .fv {
    height: calc(90vh - 70px);
    margin-bottom: 150px;
  }

  .fv__text {
    width: 50%;
  }

  .works {
    margin-bottom: 50px;
  }

  .works__inner {
    padding-top: 120px;
  }

  .worksBox {
    flex-direction: column;
    gap: 5px;
  }

  .works__list {
    max-height:800px;
  }
  
  .works__item {
    margin-bottom: 15px;
  }

  .works-text {
    font-size: 1.2rem;
  }

  .works-text span {
    font-size: 1rem;
  }

  .section-title {
    font-size: 4.8rem;
  }

  .slash {
    width: 50px;
  }

  .process {
    margin-bottom: 50px;
    padding: 0 var(--contentPadding);
  }

  .process-slash,
  .about-slash {
    margin: 0;
  }

  .process-title {
    line-height: 1.1;
  }

  .process-textBox {
    padding-left: 0;
    width: 100%;
  }

  .about {
    margin-bottom: 50px;
  }

  .aboutBox {
    flex-direction: column;
  }

  .about__content {
    flex-direction: column;
    gap: 15px;
  }

  .about__text {
    margin-left: 0;
  }

  .about-nameBox {
    margin: 0 auto 20px;
  }
}
