html,
body {
  height: 100%; 
}

li{
  list-style: none;
}

a{
  text-decoration: none;
}

/*------ PC ヘッダー ------*/

.l-header{
  height: 100%;
  min-height: 400px;
  border-bottom: solid 2px black;
}

.p-header-top-sp{
  display: none;
}

.p-header {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-image: url(../img/header-image.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.p-header__image-nonetitle {
  object-fit: cover;
  object-position: center 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.p-header-rogo__image{
  position: absolute;
  top: 3vw;
  right: 5vw;
  width: 8%;
  background-color: white;
  border-radius: 50%;
  box-shadow: 2px 2px 5px gray;
  opacity: 0;
}

.rogo-rotate{
  animation-name: rotate-shaftY;
  animation-duration: 1.5s;
  /* animation-fill-mode: forwards;
  スマホバグ発生のため、使用不可*/
  transition-timing-function : ease-out;
  animation-delay: 2.3s;
}

@keyframes rotate-shaftY {

  0% {
    transform : rotateY(0deg);
    opacity: 0;
  }

  100% {
    transform : rotateY(360deg);
    opacity: 1;
  }
}

.is-rogo-display{
  opacity: 1;
}

.p-header-nav{
  display: flex;
  flex-direction: row-reverse; /*ナビリンク横位置*/
  position: relative;
}

.p-header-navlists__red,
.p-header-navlists__service,
.p-header-navlists__purple,
.p-header-navlists__portfolio,
.p-header-navlists__blue,
.p-header-navlists__contact {
  position: absolute;
  right: 5%;
  width: 24%;
  height: 8vw;
}

.p-header-navlists__service,
.p-header-navlists__portfolio,
.p-header-navlists__contact {
  opacity: 0;
}

.p-header-navlists__link{
  text-decoration: none;
}

/*各ナビリンク　縦位置*/
.p-header-navlists__red,
.p-header-navlists__service{
  bottom: 43vh;
}

.p-header-navlists__purple,
.p-header-navlists__portfolio{
  bottom: 23vh;
}

.p-header-navlists__blue,
.p-header-navlists__contact{
  bottom: 1vw;
}

.p-header-navlists__link:hover{
  opacity: 0.4;
  transition: .5s;
}

@media(max-height: 400px){
  .p-header-navlists__red,
  .p-header-navlists__service{
    bottom: auto;
    top: 160px;
  }

  .p-header-navlists__purple,
  .p-header-navlists__portfolio{
    bottom: auto;
    top: 240px;
  }

  .p-header-navlists__blue,
  .p-header-navlists__contact{
    bottom: auto;
    top: 320px;
  }
}

/*------ PC メインコンテンツ ------*/
#particles-js{
  position: fixed;/*描画固定*/
	z-index: -2;/*描画を一番下に*/
	width: 100%;
	height: 100%;
	background-color:#070A31;/*背景色*/
}

.u-main{
  padding: 0 0 5%;
  box-sizing: border-box;
}

.p-message{
  background: linear-gradient(rgba(255,255,255,1),rgba(0,0,0,0));
  width: auto;
  text-align: center;
  font-size: 1.7vw;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 30px;
  text-shadow: 2px 2px 2px white;
  padding: 40vw 20vw 40vw;
}

.p-message__text {
  opacity: 0;
}

.is-slide-in-message {
  animation: fadeInMessage 1.5s ease-out forwards;
}
@keyframes fadeInMessage {
  0% {
    opacity: 0;
    transform: translateX(2vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.is-fadein {
  animation: fadeIn 2.5s ease-out forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.p-selfintroduction{
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  text-align: center;
  opacity: 0;
}

.u-selfintroduction{
  margin-bottom: 10vw;
}

.p-selfintroduction__left,
.p-selfintroduction__center,
.p-selfintroduction__right{
  width: 70%;
  display: inline-block;
}

.p-selfintroduction__center{
  opacity: 0;
}

.p-selfintroduction__left,
.p-selfintroduction__right{
  position: absolute;
  opacity: 0;
}

.p-selfintroduction__left{
  left: 10vw;
}

.p-selfintroduction__right{
  right: 10vw;
}

/*---------- スライド -------------*/

.is-fadein-selfintroduction-left{
  animation-name: left-to-right;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
}
@keyframes left-to-right {
  0% {
    filter: blur(10px);
  }
  100% {
    opacity: .6;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(0px);
  }
}

.is-fadein-selfintroduction-right{
  animation-name: right-to-left;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
}
@keyframes right-to-left {
  0% {
    filter: blur(10px);
  }
  100% {
    opacity: .6;
    right: 50%;
    transform: translateX(50%);
    filter: blur(0px);
  }
}

/* ----------- PC skill ------------ */

.p-section{
  color: white;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.u-section{
  margin-bottom: 7vw;
}

.p-section-title{
  width: 100%;
  font-size: 4vw;
  color: hsl(319, 86%, 89%);
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px gray;
  transform : skewX(-15deg);
}

.p-section-title::after{
  content: "";
  display: block;
  border-bottom: solid 1.5px #BDBDBD;
  width: 80%;
  margin: 2vw auto;
  transition: 1s;
}

.p-section-skill__heading{
  font-size: 2.5vw;
}

.p-section-skill__heading span{
  display: inline-block;
  transition: .5s;
}

.u-section-skill__heading{
  margin: auto;
  margin-bottom: 1vw;
}

.p-skill-column{
  font-size: 2vw;
  letter-spacing: 2px;
  line-height: 2rem;
}

.u-skill-column{
  margin-bottom: 3.5vw;
}

.p-skill-column li::before,
.p-skill-column li::after{
  content: "★★★";
  color: yellow;
  text-shadow: 2px 2px 3px gray;
  margin-right: 2%;
}

/* スキル　★・言語・アイコン横並び　*/
.p-skill-column__html,
.p-skill-column__css,
.p-skill-column__flocss,
.p-skill-column__javascript,
.p-skill-column__php,
.p-skill-column__java,
.p-skill-column__sql,
.p-skill-column__photoshop{
  display: inline;
}

/* コーディング言語・アイコンスタイル-------------*/

.p-section-skill__icon::after{
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  width: 2.5%;
  height: 2.1vw;
  margin-left: 5px;
}

.p-skill-column__html::after {
  background-image: url(../img/HTML-icon.png);
  position: relative;
  top: 2px;
}

.p-skill-column__css::after {
  background-image: url(../img/CSS-icon.png);
  position: relative;
  top: 2px;
}

.p-skill-column__javascript::after{
  background-image: url(../img/JS-icon.PNG);
  position: relative;
  top: 2px;
}

.p-skill-column__php::after{
  background-image: url(../img/PHP-icon.png);
  position: relative;
  top: 5px;
}

.p-skill-column__java{
  line-height: 2rem;
}

.p-skill-column__java::after{
  background-image: url(../img/JAVA-icon.png);
  position: relative;
  top: 5px;
}

.p-skill-column__sql::after{
  background-image: url(../img/SQL-icon.png);
  position: relative;
  top: 4px;
  left: 2px;
}

.p-skill-column__photoshop::after{
  background-image: url(../img/Photoshop-icon.png);
  vertical-align: middle;
}
/*-----------------------------*/

.p-section-skill__text{
  font-size: 1.5vw;
}

.u-section-skill__text{
  margin-bottom: 1vw;
}

.p-section-skill__text::before,
.p-section-skill__text::after{
  content: "";
  display: inline-block;
  border-bottom: solid 1.5px #BDBDBD;
  width: 15%;
  margin: auto;
  vertical-align: middle;
}

.p-skill-column li::before,
.p-skill-column li::after{
  content: "★★★";
  text-shadow: 2px 2px 3px gray;
  margin-right: 2%;
}

.p-section-skill__others{
  width: 20%;
  text-align: left;
}

.u-section-skill__others{
  margin: auto;
}

.p-section-skill__others li{
  font-size: 1.5vw;
  line-height:2rem;
  letter-spacing: 2px;
}

/* ---------- PC Transition ----------- */

.p-section-transition__text{
  display: inline-block;
  width: 35%;
  font-size: 1.3vw;
  vertical-align: top;
  text-align: left;
  line-height: 1.5rem;
}

.u-section-transition__text{
  padding: 2.5%;
}

.p-section-flow{
  display: inline-block;
  width: 40%;
}

/* transition 画像スタイル------------------ */
.c-imgflame{
  background-size: cover;
  background-repeat: no-repeat;
  border: solid 1px brown;
  border-radius: 20px;
  box-shadow: 3px 3px 5px gray;
}

.p-section-flow__guitar{
  background-image: url(../img/guitar.PNG);
  background-position: center;
  width: 50%;
  height: 11vw;
}

.p-section-flow__works{
  background-image: url(../img/works.PNG);
  background-position: center;
  width: 50%;
  height: 11vw;
}

.p-section-flow__programming{
  background-image: url(../img/programming.png);
  background-position: center;

  width: 50%;
  height: 11vw;
}

.u-imgflame{
  margin: 30px auto;
}

.p-section-flow__guitar::after,
.p-section-flow__works::after{
  position: relative;
  top: 100%;
  transform: translateY(5%);
  left: 50%;
  content: "";
  display: block;
  border-left: solid 1px brown;
  height: 30px;
}
/*-------------------------------------*/

/* ----------- PC Greeting ------------ */

.p-section-greeting{
  text-align: center;
  font-size: 1.4vw;
  width: 70%;
  line-height: 1.5rem;
}

.u-section-greeting{
  margin: auto;
}

/*------ PC フッター ------*/

.p-footer-nav{
  background: linear-gradient(rgba(87, 83, 83, 0),rgb(150, 150, 150));
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-footer-nav__list{
  width: 20%;
  text-align: center;
  font-size: 2vw;
  border-right: 1.5px solid white;
}

.p-footer-nav__link{
  color: white;
  letter-spacing: 1px;
}
.p-footer-nav__link:hover{
  opacity: .4;
  transition: .5s;
}

.p-footer-nav__list--contact{
  border: none;
}

.u-footer-nav__list{
  margin: 3vw 0;
}

.p-footer-copywrite{
  background-color: black;
  color: white;
  font-size: .8vw;
}

.u-footer-copywrite__name{
  padding: .5vw 1%;
}

/* ----------- アニメーション ------------*/

/* ヘッダー　アニメーション */

.p-header__image-nonetitle-fadeout{
  animation-name: displayTitle;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
  animation-delay: 2.3s;
}

@keyframes displayTitle {
  0% {
  }

  100% {
    opacity: 0;
  }
}

.is-slide-in__service {
  animation-name: navListsSlideIn-X;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
  animation-delay: .5s;
}

.is-slide-in__portfolio{
  animation-name: navListsSlideIn-X;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
  animation-delay: .9s;
}

.is-slide-in__contact{
  animation-name: navListsSlideIn-X;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
  animation-delay: 1.3s;
}

@keyframes navListsSlideIn-X {

  0% {
    opacity: 0;
    transform: translateX(45px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ◆回転
.is-square_rotation{
  transition: .5s;
  transform: rotate(180deg);
}*/

/* ============== PC画面縮小時 =============== */

@media(max-width: 1024px){

  /* ---- 縮小時アニメーション調整 ------ */
  @keyframes navListsSlideIn-X {

    0% {
      opacity: 0;
      transform: translateX(30px);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ============== ipad =============== */

@media(max-width: 820px){

  /*------ iPad ヘッダー ------*/ 
  .l-header{
    min-height: 500px;
  }

  .p-header {
    min-height: 500px;
    background-position: 29% 0;
  }

  .p-header__image-nonetitle {
    object-position: 29% 0;
  }

  .p-header-navlists__red,
  .p-header-navlists__service,
  .p-header-navlists__purple,
  .p-header-navlists__portfolio,
  .p-header-navlists__blue,
  .p-header-navlists__contact {
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    min-height: 70px;
  }

  .p-header-navlists__red,
  .p-header-navlists__purple,
  .p-header-navlists__blue{
    filter: brightness(130%);
    width: 45%;
    height: 11vw;
  }

  .p-header-navlists__service,
  .p-header-navlists__portfolio,
  .p-header-navlists__contact{
    left: 32vw;
    width: 35%;
    height: 11vw;
  }

  .p-message {
    font-size: 3.5vw;
    padding: 50vw 10vw 50vw;
  }

  /* __________ ip用など縦長用レスポンシブ ___________ */
  @media(min-height: 850px){

    .p-header-navlists__red,
    .p-header-navlists__purple,
    .p-header-navlists__blue{
      width: 60%;
      height: 16vw;
    }

    .p-header-navlists__service,
    .p-header-navlists__portfolio,
    .p-header-navlists__contact{
      left: 25vw;
      width: 50%;
      height: 16vw;
    } 
  }
  /* ____________________________________________ */

  /* 各ナビリンク　縦位置・大きさ */
  .p-header-navlists__red,
  .p-header-navlists__service{
    top: -48vh;
  }

  .p-header-navlists__purple,
  .p-header-navlists__portfolio{
    top: -34vh;
  }

  .p-header-navlists__blue,
  .p-header-navlists__contact{
    top: -20vh;
  }

  @media(max-height: 500px){
    .p-header-navlists__red,
    .p-header-navlists__service{
      bottom: auto;
      top: -260px;
    }

    .p-header-navlists__purple,
    .p-header-navlists__portfolio{
      bottom: auto;
      top: -185px;
    }

    .p-header-navlists__blue,
    .p-header-navlists__contact{
      bottom: auto;
      top: -100px;
    }
  }

  /* ----------- iPad skill ------------ */
  .p-section-title{
    font-size: 4vw;
  }

  .p-section-skill__heading{
    font-size: 2.5vw;
  }

  .p-skill-column,
  .p-section-skill__others li{
    font-size: 2vw;
    line-height: 1.2rem;
  }

  .u-skill-column{
    margin-bottom: 2vw;
  } 

  /* ---------- iPad Transition ----------- */

  .p-section-transition__text{
    font-size: 1.8vw;
    line-height: 3vw;
  }

  .c-imgflame{
    width: 70%;
    height: 15vw;
  }

  .p-section-flow__guitar::after,
  .p-section-flow__works::after{
    transform: translateY(3%);
    height: 50px;
  }

  .u-imgflame{
    margin: 50px auto;
  }

  /* ----------- iPad Greeting ------------ */

  .p-section-greeting{
    text-align: left;
    font-size: 1.8vw;
  }

  /*------ ip フッター ------*/

  .p-footer-nav__list{
    font-size: 3vw;
  }

  .u-footer-nav__list{
    margin: 5vw 0;
  }
}

/* ============== sp =============== */

@media(max-width: 430px){
  body{
    min-width: 375px;
  }

  /*------ SP ヘッダー  ------*/
  .p-header-top-sp{
    position: relative;
    display: block;
    height: 18%;
    background-image: url(../img/topSP-frame.png);
    background-size: 110% 110%;
    background-position: center;
    border: solid 5px black;
  }
  
  .p-header-top-sp__mkording{
    position: absolute;
    top: 10%;
    left: 4%;
    width: 70%;
  }

  .p-header-top-sp__production{
    position: absolute;
    top: 45%;
    right: 2%;
    width: 70%;
  }
  
  .p-header-rogo__image{
    width: 11%;
    top: 8vw;
    right: 11vw;
    opacity: 1;
  }

  .rogo-rotate{
    animation: none;
    transform: none;
    transition: unset;
  }

  /*--------------------------*/
  .l-header {
    height: 100%;
  }
  
  .p-header{
    height: 81%;
    min-height: 250px;
    background-image: url(../img/header-imageSP.png);
    background-position: 80%;
  }

  .p-header__image-nonetitle{
    display: none;
  }

  .p-header-navlists__red,
  .p-header-navlists__service{
    top: 30vh;
  }

  .p-header-navlists__purple,
  .p-header-navlists__portfolio{
    top: 43vh;
  }

  .p-header-navlists__blue,
  .p-header-navlists__contact{
    top: 58vh;
  }
  
  @media(max-height: 600px){
    
    .p-header-navlists__red,
    .p-header-navlists__service{
      top: 160px;
    }

    .p-header-navlists__purple,
    .p-header-navlists__portfolio{
      top: 240px;
    }

    .p-header-navlists__blue,
    .p-header-navlists__contact{
      top: 320px;
    }
  }
  
  .p-header-navlists__service,
  .p-header-navlists__portfolio,
  .p-header-navlists__contact{
    filter: brightness(130%);
  }

  .p-header-navlists__red,
  .p-header-navlists__service,
  .p-header-navlists__purple,
  .p-header-navlists__portfolio,
  .p-header-navlists__blue,
  .p-header-navlists__contact {
    transform: none;
    width: 52%;
    height: 19vw;
    left: auto;
  }

  .p-message {
    font-size: 4.5vw;
  }

  /*------ SP メインコンテンツ ------*/

  .p-selfintroduction__left,
  .p-selfintroduction__center,
  .p-selfintroduction__right{
    top: -5px;
    width: 90%;
    height: 110%;
  }

  .u-section{
    margin-bottom: 15vw;
  }
  
  .p-section-title{
    font-size: 7vw;
  }

  .p-section-title::after{
    margin-bottom: 5vw;
  }

  .u-section-skill{
    margin-bottom: 12vw;
  }

  .p-section-skill__heading{
    font-size: 5vw;
    width: auto;
  }

  .p-skill-column{
    font-size: 4vw;
  }

  .u-skill-column{
    margin-bottom: 6vw;
  }

  .p-section-skill__text{
    font-size: 3vw;
  }

  .p-section-skill__icon::after{
    width: 5vw;
    height: 5vw;
  }

  .p-section-skill__others{
    width: 70%;
  }
  
  .p-section-skill__others li{
    font-size: 3vw;
  }

  .p-skill-column,
  .p-section-skill__others li{
    line-height: 1.5rem;
  }

  /* ---------- SP Transition ----------- */

  .p-section-transition__text{
    width: 40%;
    font-size: 3.2vw;
    line-height: 1.2rem;
  }

  .p-section-flow{
    width: 35%;
  }

  .c-imgflame{
    width: 100%;
    height: 25vw;
  }

  .p-section-greeting{
    font-size: 3.5vw;
    line-height: 1.2rem;
  }
  
  .p-section-title::after{
    width: 90%;
  }

  .p-section-greeting{
    width: 85%;
  }
  
  /*------ SP フッター ------*/

  .p-footer-nav{
    height: auto;
    flex-flow: column;
  }

  .u-footer-nav{
    padding: 4vw;
  }

  .p-footer-nav__list{
    list-style: square;
    text-align: left;
    font-size: 6vw;
    border-right: 0px solid;
  }

  .u-footer-nav__list{
    margin: 2% 0;
  }

  .p-footer-nav li{   /*■の色変更のため*/
    color: white;
  }

  /* ---------- SP copy ----------- */

  .p-footer-copywrite__name{
    font-size: 2.5vw;
    letter-spacing: 1px;
  }

  .u-footer-copywrite__name{
    padding: 2vw 0 2vw 2vw;
  }

  /* ---------- SP アニメーション ----------- */

  @keyframes displayTitle {
    0% {
    }

    100% {
      opacity: 1;
    }
  }

  @keyframes navListsSlideIn-X {

    0% {
      opacity: 0;
      transform: translateX(-50px);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}