@charset "utf-8";

.a_center {
  margin: 0 auto;
  height: auto;
  width: 100%;
  display: flex;
  justify-content: center;

}


/*----------------------------
* main-v
*----------------------------*/
h1 {
  font-size: 61.5px;
  font-style: normal;
  font-weight: 300;
  line-height: 46.604px;
  text-align: center;
  padding-bottom: 30px;
}

h1 span {
  font-size: 53.5px;
}

/* グラデーションを背景につける/端まで伸ばす */
.main-v {
  height: 370px;

}

.about_text p {
  line-height: 35px;
}

.mv-title {
  padding: 20px 0px 20px 0px;
}


.mv-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  /* ポジション設定 */
  position: relative;
}

.mv-txt {
  width: 90%;
  position: absolute;
  top: 0px;
  left: 30px
}

.mv-txt img {
  max-width: 100%;
  height: auto;
}


.mv-ill {
  width: 75%;
  height: auto;

}

.mv-ill img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 90px 0px 0px 0px;
  object-position: center;
}

@media screen and (min-width: 390px) {
  .main-v {
    height: 450px;
  }
}

@media screen and (min-width: 550px) {
  .main-v {
    height: 590px;
  }
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 70px;
    text-align: left;
    padding-left: 50px;
  }

  .main-v {
    height: 520px;
  }

  .mv-title {
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;

  }

  .mv-img {
    padding: 25px 0px;
    display: flex;
    position: relative;

  }

  .mv-txt {
    width: 80%;
    /* ポジション設定 */
    position: absolute;
    top: 150px;
    left: -100px;
    z-index: 1;
  }

  .mv-txt img {
    max-width: 80%;
    height: auto;
  }

  .mv-ill {
    display: flex;
    justify-content: flex-end;
    width: 72%;
    position: absolute;
    right: 50px;

  }

  .mv-ill img {
    max-width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 200px 0px 0px 0px;
  }

}

@media screen and (min-width: 1024px) {

  /* .main-v {
    height: 88vh;
  } */
  .main-v {
    margin-bottom: 200px;
  }

  .mv-ill img {
    max-width: 70%;
    height: auto;
  }

  .mv-txt {
    position: absolute;
    top: 180px;
    left: 30px;
  }


  .mv-txt img {
    max-width: 70%;
    height: auto;
  }

}



/*----------------------------
* ABOUT
*----------------------------*/

.about {
  padding: 10px 50px;

}

/* スクロールダウンの動き */

.scrolldown1 {
  position: absolute;
  left: 50px;
  bottom: 10px;
  height: 50px;
}

.scrolldown1 span {
  position: absolute;
  left: -25px;
  top: -50px;
  color: #3E4550;
  font-size: 18px;
  letter-spacing: 0.05em;
  transform: rotate(90deg);
}

.scrolldown1::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 1px;
  height: 30px;
  background: #3E4550;
  animation: pathmove 1.5s ease-in-out infinite;
  opacity: 0;
}

@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

.about_img img {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {

  .about {
    display: flex;
    justify-content: center;
    padding: 25px 50px;
  }

  .about_txt {
    padding: 10px 50px;
    width: 60%;
  }


  .about_txt p {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
  }

  .about_img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55%;
  }

  .about_img img {
    max-width: 100%;
    height: auto;
  }
}

/*----------------------------
* WORKS
*----------------------------*/
.w-back {
  background-color: #E9E1D9;
}

.WORKS {
  display: flex;
  flex-direction: column;
  width: 95vw;
  padding: 50px 10px;
}

.works_list {
  border-radius: 10px;
  padding: 20px 0;
}

.works_list img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: 0.2s all;
}

.works_list img:hover {
  transform: rotate(-1deg);
  transition: 0.3s all;
}

.works_list a {
  max-width: 100%;
}

@media screen and (min-width: 530px) {
  .works1 {
    display: flex;
    width: 100%;
  }

  .works_list {
    padding-right: 20px;
  }
}

@media screen and (min-width: 768px) {

  .WORKS {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90vw;
  }

  .title {
    width: 33.3%;
  }

  .works_box {
    display: flex;
    flex-direction: column;
    width: 66.6%;

  }

  .works1 {
    display: flex;
    width: 100%;
  }

  .works_list {
    /* width: 50%; */

    padding: 20px;
  }

}

@media screen and (min-width: 1140px) {
  .WORKS {
    width: 85vw;
  }
}

/*----------------------------
* SKILL
*----------------------------*/
.SKILL {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  width: 95vw;
  padding: 50px 10px;
}

.skill-list {

  border-radius: 25.846px;
  border: 0.862px solid #322F2F;
  background: rgba(234, 234, 224, 0.35);
  padding: 10px;
}

.skill-box {
  display: flex;
  padding: 5px;
}

.s-icon {
  width: 25%;
  height: auto;
}

.s-icon img {
  max-width: 100%;
  height: auto;
}

.s-text {
  width: 75%;
  padding: 0 10px 10px 10px;
}

.s-text h4 {
  padding-bottom: 10px;
}

.s-text p {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@media screen and (min-width: 530px) {

  .SKILL {
    display: flex;
    flex-direction: column;
  }

  .skill-list {
    display: flex;
    flex-wrap: wrap;
  }

  .skill-box {
    display: flex;
    flex-wrap: wrap;
    width: 49%;
  }
}


@media screen and (min-width: 768px) {


  .SKILL {
    width: 90vw;
    display: flex;
    flex-direction: row;
  }

  .SKILL .title {
    width: 33.3%;
  }

  .skill-list {
    display: flex;
    flex-wrap: wrap;
    width: 66.7%;
  }

  .skill-box {
    display: flex;
    flex-wrap: wrap;
    width: 49%;
  }

}

@media screen and (min-width: 1140px) {
  .SKILL {
    width: 85vw;
  }
}

/*----------------------------
* PROFILE
*----------------------------*/

.p-back {
  background-image: linear-gradient(111deg, rgba(127, 255, 212, 0.23), rgba(61, 198, 194, 0.23) 33%, rgba(244, 130, 221, 0.23) 77%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.PROFILE {
  position: relative;
  display: flex;
  padding: 50px 15px;
  width: 95vw;

}

.profile-title {
  width: 25%;
  height: 30px;
  display: flex;
  position: sticky;
  top: 120px;
  /* ゆっくり消えてほしい */
  transition: all 1s ease-in-out;
}

.PROFILE h2,
.PROFILE h3 {
  writing-mode: vertical-rl;
}

.h2text1 {
  padding-top: 5px;
  border-radius: 5px;
}

.p-list {
  padding: 0 10px 0 20px;
  width: 75%;
}

.p-text {
  padding-left: 5px;
}

.p-text p {
  line-height: 30px;
}

.p-img {
  padding: 30px 0 5px 0;
}

.p-img img {
  border-radius: 8px;
  border: 0.862px solid #322F2F;
  background-color: #f7f7f7;
  max-width: 100%;
  height: auto;
}

/* スクロールで背景色を変える */
.index a.active {
  padding: 5px;
  border-radius: 5px;
  color: #333333;
  background-image: linear-gradient(111deg, rgba(127, 255, 212, 0.66), rgba(61, 198, 194, 0.66) 33%, rgba(244, 130, 221, 0.66) 77%);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.12);
}


@media screen and (min-width: 768px) {
  .PROFILE {
    width: 90vw;
    flex-direction: row;
  }

  .PROFILE h2,
  .PROFILE h3 {
    writing-mode: horizontal-tb;
  }

  .profile-title {
    flex-direction: column;
    width: 52%;
    /* padding-left: 40px; */
    top: 100px;
  }

  /* .profile-title div:nth-child(1) {
    order: 0;
  } */

  .h3text1 {
    width: 85%;
    height: 50%;

  }

  .p-list {
    width: 48%;
  }

  .p-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* border-bottom: 1px dotted #322F2F; */
  }

  .p-img {
    padding: 20px 0 40px 0;
  }

  .p-list {
    width: 51%;
  }

  /* スクロールで背景色を変える  */
  .index a.active {
    padding: 5px 50px;
    border-radius: 5px;
  }

}

@media screen and (min-width: 1140px) {
  .PROFILE {
    width: 85vw;
  }

  .profile-title {
    width: 33.3%;
  }

  .p-list {
    width: 66.7%;
  }

  .p-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px dotted #322F2F;
    padding: 50px;
  }

  .p-text {
    width: 70%;
  }

  .p-img {
    width: 30%;
    padding: 20px;

  }
}

.height300 {
  height: 300px;
}

@media screen and (min-width:768px) {
  .height300 {
    height: 150px;
  }
}

/*----------------------------
CONTACT
*----------------------------*/
.CONTACT {
  /* display: flex;
  justify-content: space-between; */
  display: flex;
  flex-direction: column;
  width: 95vw;
  padding: 50px 15px;
}

.c-text {
  /* padding-left: 130px; */
}

.c-text ul {
  display: flex;
  font-size: 50px;
  letter-spacing: 30px;
}

@media screen and (min-width: 768px) {

  .CONTACT {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }

  .CONTACT .title {
    width: 33.3%;
  }

  .c-text {
    padding-left: 50px;
    width: 66.6%;
  }
}

/*==================================================
ふわっと要素が現れる
===================================*/


/* fadeUp */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
  opacity: 0;
}
