body {
  font-family: 'Gemunu Libre', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .8px;
  color: rgb(225, 241, 250);
  /*background-image: url(../img/space.jpg);
  background-repeat:no-repeat;
  background-attachment:fixed;
  /*background-position:left;*/
  /*background-size:cover;
  background-color: rgb(251, 252, 244);*/

}
#particles-js{ 
  position:fixed;/*描画固定*/
  z-index:-1;/*描画を一番下に*/
  width: 100%;
  height: 100%;
  background-color:#020E34;/*背景色*/
}

#wrapper{
  position: relative;/*描画を#particles-jsよりも上にするためposition:relative;を指定*/
  z-index: 1;/*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
  width:100%;
  height: 100%;
}



a {
  transition: opacity .3s;
  text-decoration: none;
  color:rgb(229, 244, 253);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

ul,
li {
  list-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

#hoge {
  display:none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.section {
  padding: 100px 0;
  background-image: url(../img/galaxy.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}
.container{
  display:flex;
  align-items:center;
}
@media (max-width:480px) {
  .container {
      flex-wrap: wrap;
  }

  .box{
    text-align: center;
  }
}


/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: normal;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: .05em;
  color:rgb(221, 243, 255);
}

.lead {
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  background-image: url(../img/galaxy.jpg);
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-size:cover;
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2%;
}

.header-logo {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
  white-space: nowrap
}

.header-logo a {
  color: rgb(216, 234, 245);
}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item a {
  font-size: 2em;
  font-weight: bold;
  padding: 5px 0;
  letter-spacing: .05em;
  color: rgb(215, 238, 252);
}

.header-nav-item a:hover {
  opacity: .7;
}

/*--------------------------------
 スプリットスクリーン
---------------------------------*/
.split {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.split-body {
  width: 50%;
  position: absolute;
  left: 25%;
  top: 41%;
}

.split-img {
  display: block;
  margin:auto;

  
  /*
  animation: img_box_9955 3s linear infinite;
  transform-origin: 50% 50%;
  margin: 1rem 0 !important;*/
  /*animation-name: img_box_9955;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 3s;
  */
}

@keyframes  img_box_9955{
  0% {
      transform: translate(0,0px);
  }

  100% {
      transform: translate(0,-30px)
  }
}
.split-title {
  font-size: 95px;
  line-height: 1.2;
  color: #fff;
  filter:drop-shadow(rgb(212, 202, 253) 1px 1px 1px);
}


/*--------------------------------
 Profile
---------------------------------*/
.profile{
  display: flex;
}
.profile-img{
  width: 60%;
  margin: 10px auto;
}
.profile_name{
  font-size: 2em;
  text-align: center;
  color: rgb(188, 229, 253);
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: rgb(188, 229, 253);
  transition: all .3s;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img{
  transition: all .3s;
}

.works-img:hover{
  top:-3px;
  box-shadow: 3px 8px 8px rgb(212 202 253 / 51%);
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
}

/*--------------------------------
 Skill
---------------------------------*/
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 3px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}
/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: rgb(0, 0, 0);
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: rgb(81, 75, 82);
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #f4cefd;
}

fieldset{
  border:0;
  outline: 0;
}
/*--------------------------------
 下層：ページ
---------------------------------*/
.article {
  padding: 80px 0;
  background-image: url(../img/space.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.article-inner {
  max-width: 1040px;
  margin: 5%;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 20px;
  text-align: center;
}

.article-img {
  margin-bottom: 20px;
  text-align : center ;

}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-info-title {
  font-size: 15px;
}

.article-body img {
  margin-bottom: 30px;
}

.article-body p {
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

/*media Queries 767
----------------------------------------------------*/
/*ハンバーガーメニュー*/
.sp-nav {
	display: none;
}
.pc-nav{
  margin-left: 40%;
}
@media screen and (max-width: 896px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .section {
    padding: 100px 0 0 0;
  }

  .inner {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header-inner {
    padding: 20px;
  }

  .header-logo {
    font-size: 16px;
  }

  .header-nav-item:not(:last-child) {
    margin-right: 10px;
  }

  .header-nav-item a {
    font-size: 11px;
  }

  /* スプリットスクリーン */
  .split {
    min-height: 100vh;
    flex-direction: column-reverse;
  }

  .split-body {
    width: 80%;
    position: absolute;
    left: 20%;
    top: 41%;
  }

  .split-img {
    width: 100%;
  }

  .split-title {
    font-size: 32px;
  }

  /* Works */
  .works-name {
    font-size: 10px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .more{
    margin: 30px;
    text-align: center;
  }
  
  /* BOTTON */
.more{
  margin:15% 0 0 ;
}
  .btn,
  a.btn,
  button.btn {
    line-height: 1;
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: .3em;
    color: #fbf8fc;
    border-radius: 0.5rem;
  }
  
  a.btn{
    overflow: hidden;
    padding: 0.5rem 2rem;
    color: #fff;
    border-radius: 0;
    background: rgb(99, 13, 114);
  }
  
  a.btn span {
    position: relative;
  }
  
  a.btn:before {
    position: absolute;
    top: 0;
    left: 0;
  
    width: 200%;
    height: 500%;
  
    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
  
    background: #859ec2;
  }
  
  a.btn:hover:before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
  }

  .home-link{
    margin-top: 15%;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }
  /*ナビゲーション*/
  .pc-nav {
    font-size: 2em;
     display: none;
  }

  #hamburger {
    position: relative;
    display: block;
    width: 30px;
    height: 25px;
    margin: 0 0 0 auto;
 }
 #hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: translateY(-50%);
}
#hamburger::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
#hamburger::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 2px;
  background-color: #fff;
}
.sp-nav {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: block;
  width: 100%;
  background: rgba(0, 0, 0, .8);
  transition: all .2s ease-in-out;
}
.sp-nav ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.sp-nav li {
  font-size: 1.6em;
  margin: 0;
  padding: 0;
}
.sp-nav li span {
  font-size: 15px;
  color: #fff;
}
.sp-nav li a, .sp-nav li span {
  display: block;
  padding: 20px 0;
}/*基準となるli要素*/
.sp-nav .close {
  position: relative;
  padding-left: 20px;
}
/*バツ印線1*/
.sp-nav .close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 16px;
  height: 1px;
  background: #fff;
  transform: rotate( 45deg );
}
/*バツ印線2*/
.sp-nav .close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 16px;
  height: 1px;
  background: #fff;
  transform: rotate( -45deg );
}
.sp-nav {
   z-index: 1;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   display: block;
   width: 100%;
   background: url(../img/galaxy.jpg);
   transition: all .2s ease-in-out;
   opacity: 0;
   transform: translateY(-100%);
}
.toggle {
  transform: translateY( 0 );
  opacity: 1;
}

}

/* キラキラ部分 */
.star {
  position: absolute;
  display: block;
  width: 10px; /* キラキラの横幅を指定 */
  height: 10px; /* キラキラの縦幅を指定 */
  background-image: url("star.svg"); /* キラキラの画像のパスを記入 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  animation: glitter 1s;
  pointer-events: none;
}

/* キラキラが発生するアニメーション */
@keyframes glitter {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

