:root{
  --color-black: #080A11;
  --color-gray: #737373;
}
body{
  font-family: serif;
  color: #333333;
}
img{
  width: 100%;
  vertical-align: bottom;
}
header{
  width: 100%;
  background-color: #333333;
  color: white;
  padding: 30px 50px;
  display: flex;
  align-items: center;
}
.logo{
  max-width: 64px;
  min-width: 64px;
}
ul{
  display: flex;
  list-style: none;
}
li{
  margin-left: 40px;
  font-size: 19px;
  letter-spacing: 2px;
}
a{
  text-decoration: none;
  color: white;
  display: inline-block;
  transition: color 0.3s;
}
li a:hover{
  opacity: 0.3;
  color: white;
}
footer{
  background-color: var(--color-black);
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 100;
  margin-top: 5rem;
}
.credit{ 
  font-size: 8px;
  color: #999999;
}

/* ================= indexページ ================ */
.index-body{
  background-color: #333333;
}
.index-header{
  position: absolute;
  width: 100%;
  background-color: #333333;
  color: white;
  padding: 30px 50px;
  display: flex;
  align-items: center;
  top: 0;
  left: 0;
  min-width: 1100px;
  width: 66%;
  z-index: 999;
}
.index-header ul{
  padding: 200px 0 0 70px;
}
.index-logo{
  width: 512px;
}
.index-top{
  position: relative;
}
.index-left{
  background-color: #333333;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 1100px;
  width: 66%;
  z-index: 2;
  height: 100vh;
}
.index-right{
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 66%);
  z-index: 1;
  height: 100vh;
}
.index-right img{
  height: 100vh;
}
.index-left h1{
  font-size: 6rem;
  margin: -2rem 0 0 7rem;
  color: white;
  letter-spacing: 0.5rem;
}
.index-left h2{
  font-size: 4rem;
  margin: 40rem 0 0 7rem;
  color: #999999;
  letter-spacing: 0.4rem;
}

/* ================== aboutページ ================== */
.about{
  width: 1200px;
  margin: 0 auto;
}
.about-top{
  display: flex;
  align-items: center;
  gap: 5rem;
  margin: 100px 0 0 0;
}
.about-bottom{
  display: flex;
  gap: 5rem;
  margin: 30px 0 0 0;
}
.about-photo{
  flex: 1;
  width: 20rem;
}
.about h1{
  flex: 3;
  font-size: 6rem;
}
.profile{
  flex: 1;
}
.profile h2{
  font-weight: 600;
}
.profile p{
  text-align: justify;
}
.educations{
  flex: 3;
}
.education{
  margin: 0 0 40px 0;
}
.education h2{
  margin: 0 0 10px 0;
  font-size: 28px;
}
.education-list{
  margin-bottom: 10px;
}
.year{
  font-size: 14px;
  color: var(--color-gray);
}
.month{
  font-size: 13px;
  color: var(--color-gray);
}
.skills {
  display: flex;
  gap: 1.5rem;
}
.skill{
  width: 100px;
}
 
/* ==================== worksのページ =================== */
.photos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin: 0 10rem 4rem 10rem;
  text-align: center;
}

.photo{
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  width: fit-content;
  height: fit-content;
  margin: auto;
}
.photo::before{
  content: "";
  display: block;
  position: absolute;
  margin: auto;
  object-fit: contain;
  top: 0;
  left: 0;
  transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
  opacity: 0;
  background: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
}

.photo img{ 
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.photo:hover::before{
  opacity: 1;
  pointer-events: none;
}
.title{
  margin: 80px;
  letter-spacing: 6px;
}
.title h1{
  font-size: 6rem;
}
.titles{
  margin-bottom: 20px;
  letter-spacing: 3px;
}
.titles h2{
  font-size: 3rem;
  text-align: center;
}

/* ================== 各作品ページ ================= */
.work-title{
  font-size: 46px;
  font-weight: 100;
  margin: 0 0 70px 0;
}
.wrap{
  margin: 0 auto;
  width: 50%;
}
.content{
  font-size: 14px;
}
.content-target{
  display: flex;
  gap: 1rem;
  font-size: 14px;
}

.content-sentence{
  font-size: 14px;
}

.work-photo{
margin-bottom: 1rem;
}
/* backボタン */
.back{
  /*線の基点とするためrelativeを指定*/
  position:relative;
  /*リンクの形状*/ 
  color:#333;
  padding: 10px 0;
  display:inline-block;
  text-decoration: none;
  outline: none;
  width: 110px;
}

/*線の設定*/
.back::before {
  content: '';
  /*絶対配置で下線の位置を決める*/
  position: absolute;
  bottom: 0px;
  left: 100%;
  /*下線の形状*/    
  width: 100%;
  height: 1px;
  background:#333;
  /*アニメーションの指定*/
  transition: all .3s;
  opacity: 0;
}
/*矢印の設定*/
.back::after {
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom:5px;
  left:100%;
  /*矢印の形状*/    
  width: 15px;
  height:1px;
  background:#333;
  transform: rotate(-35deg);
  /*アニメーションの指定*/
  transition: all .3s;
  opacity: 0;
}

.back:hover::after{
  left: 0%;
  opacity: 1;
}

.back:hover::before{
  left:0%;
  opacity: 1;
}


/* =============== web作品ページ ================*/
.web-work{
  width: 1000px;
  margin: 0 auto;
  padding-top: 100px;
}
.web-work-title{
  margin: 0 0 103px 0;
  text-align: center;
}
.web-work-title h2{
  font-size: 23px;
  margin-bottom: 30px;
}
.web-work-title p{
  margin: 8px;
  font-size: 13px;
}
.web-work-title a{
  color: #080A11;
}
.web-tool{
  font-size: 13px;
  margin: 10px;
}
.web-work-photo img{
  margin: 0 0 20px 0;
  border: solid 1px #333333;
}
.web-work-concept{
  color: var(--color-black);
}
.web-work-concept h2{
  margin: 82px 0 46px 0;
  text-align: center;
  letter-spacing: 2px;
  font-size: 16px;
}
.web-work-concept p{
  margin: 0 150px 120px 150px;
  text-align: justify;
  font-size: 14px;
}
.back{
  margin: 0 0 80px 0;
  text-align: center;
}


@media (max-width:960px){
  .index-header,
  .index-left{
    min-width: 100%;
    width: 100%;
  }
}
@media (max-width:750px){

  @media only screen and (max-width:750px){
    .pc{display: none !important;}
    .sp{display: block !important}
}

/* ========================== indexのページ =================== */

.index-header{
  width: 100%;
  background-color: #333333;
  color: white;
  padding: 30px 50px;
  display: flex;
  align-items: center;
}
.index-logo{
  min-width: 64px;
  max-width: 64px;
}
.index-header ul{
  padding: 0px;
}
.index-left h1{
  margin: -2rem 0 0 5rem;
}
.index-left h2{
  margin: 40rem 0 0 5rem;
}

/* ========================== aboutのページ =================== */
.about{
  width: 90%;
  text-align: center;
}
.about-photo{
  margin: 0 auto;
}
.about-top{
  display: grid;
}
.about h1{
  font-size: 4rem;
}
.about-bottom{
  display: grid;
}
.skills{
  justify-content: center;
}
/* ========================== workのページ =================== */
.work-all{ 
  width: 90%;
  margin: 0 auto;
  text-align: center;
}
.title{
  margin: 80px 0 30px 0;
}
.photos{
  grid-template-columns: none;
  margin: 0;
}

/* ========================== web作品ページ =================== */
.web-work{
  width: 450px;
  padding-top: 70px;
}
.web-work-title{
  margin: 0 0 60px 0;
}
.web-work-concept h2{
  margin: 25px 0 17px 0;
}
.web-work-concept p{
  margin: 0 0 17px 0;
  text-align: justify;
  font-size: 13px;
}
}

@media (max-width:414px){
/* ================ indexのページ =================== */
  .index-left h2{
    margin: 25rem 0 0 3rem;
    line-height: 1em;
  }
  .index-left h1{
    margin: 2rem 0 0 2rem;
    font-size: 3rem;
  }
  .index-right img{
    display: none;
  }

/* ================= aboutのページ =================== */
  .skills{
    flex-direction: row;
    flex-wrap: wrap;
  }
/* ===================== workのページ =================== */  
.title{
  margin: 60px 0 10px 0;
}
.title h1{
  font-size: 5rem;
}

}

@media (max-width:375px){
.index-header{
  padding: 30px 8px;
}
.index-left h1{
  margin: 1rem 0 0 1rem;
}
header{
  padding: 30px 8px;
}
.about-top{
  margin: 35px 0 0 0;
  gap: 1rem;
}
.about-photo{
  width: 16rem;
}
.about h1{
  font-size: 2.5rem;
}
.about-bottom{
  margin: 12px 0 0 0;
  gap: 2rem;
}
.education{
  margin: 0 0 32px 0;
}
.skill{
  width: 82px;
}

.title{
  margin: 30px 0 0 0;
}
.title h1{
  font-size: 4rem;
}
.titles{
  margin: 10px 0 0 6px;
}
.titles h2{
  font-size: 2.5rem;
}
.back{
  margin: 60px 0 80px 0;
}
}
/* ========================== index文字1文字ずつの動き =================== */  
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ 
  animation:text_anime_on 1s ease-out 20s forwards;
}
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}



/* ========================== index文字ふわっとの動き =================== */
.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:1.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }

  /* ========================== index loadingのイラスト動き =================== */
  /***************************************************
 * Generated by SVG Artista on 1/19/2024, 12:20:50 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/
/***************************************************
 * Generated by SVG Artista on 1/19/2024, 2:31:01 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

 @-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 301.395263671875px;
    stroke-dasharray: 301.395263671875px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 301.395263671875px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 301.395263671875px;
    stroke-dasharray: 301.395263671875px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 301.395263671875px;
  }
}

.svg-elem-1 {
  -webkit-animation: animate-svg-stroke-1 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.5s both;
          animation: animate-svg-stroke-1 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.5s both;
}

@-webkit-keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 212.61776733398438px;
    stroke-dasharray: 212.61776733398438px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 212.61776733398438px;
  }
}

@keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 212.61776733398438px;
    stroke-dasharray: 212.61776733398438px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 212.61776733398438px;
  }
}

.svg-elem-2 {
  -webkit-animation: animate-svg-stroke-2 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.62s both;
          animation: animate-svg-stroke-2 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.62s both;
}

@-webkit-keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 255.63046264648438px;
    stroke-dasharray: 255.63046264648438px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 255.63046264648438px;
  }
}

@keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 255.63046264648438px;
    stroke-dasharray: 255.63046264648438px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 255.63046264648438px;
  }
}

.svg-elem-3 {
  -webkit-animation: animate-svg-stroke-3 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.74s both;
          animation: animate-svg-stroke-3 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.74s both;
}

@-webkit-keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 114.38744354248047px;
    stroke-dasharray: 114.38744354248047px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 114.38744354248047px;
  }
}

@keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 114.38744354248047px;
    stroke-dasharray: 114.38744354248047px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 114.38744354248047px;
  }
}

.svg-elem-4 {
  -webkit-animation: animate-svg-stroke-4 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.86s both;
          animation: animate-svg-stroke-4 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.86s both;
}

@-webkit-keyframes animate-svg-stroke-5 {
  0% {
    stroke-dashoffset: 805.602783203125px;
    stroke-dasharray: 805.602783203125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 805.602783203125px;
  }
}

@keyframes animate-svg-stroke-5 {
  0% {
    stroke-dashoffset: 805.602783203125px;
    stroke-dasharray: 805.602783203125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 805.602783203125px;
  }
}

.svg-elem-5 {
  -webkit-animation: animate-svg-stroke-5 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.98s both;
          animation: animate-svg-stroke-5 2s cubic-bezier(0.47, 0, 0.745, 0.715) 0.98s both;
}

@-webkit-keyframes animate-svg-stroke-6 {
  0% {
    stroke-dashoffset: 1817.3592529296875px;
    stroke-dasharray: 1817.3592529296875px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 1817.3592529296875px;
  }
}

@keyframes animate-svg-stroke-6 {
  0% {
    stroke-dashoffset: 1817.3592529296875px;
    stroke-dasharray: 1817.3592529296875px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 1817.3592529296875px;
  }
}

.svg-elem-6 {
  -webkit-animation: animate-svg-stroke-6 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both;
          animation: animate-svg-stroke-6 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both;
}

@-webkit-keyframes animate-svg-stroke-7 {
  0% {
    stroke-dashoffset: 618.1766967773438px;
    stroke-dasharray: 618.1766967773438px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 618.1766967773438px;
  }
}

@keyframes animate-svg-stroke-7 {
  0% {
    stroke-dashoffset: 618.1766967773438px;
    stroke-dasharray: 618.1766967773438px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 618.1766967773438px;
  }
}

.svg-elem-7 {
  -webkit-animation: animate-svg-stroke-7 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.22s both;
          animation: animate-svg-stroke-7 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.22s both;
}

@-webkit-keyframes animate-svg-stroke-8 {
  0% {
    stroke-dashoffset: 110.45948028564453px;
    stroke-dasharray: 110.45948028564453px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 110.45948028564453px;
  }
}

@keyframes animate-svg-stroke-8 {
  0% {
    stroke-dashoffset: 110.45948028564453px;
    stroke-dasharray: 110.45948028564453px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 110.45948028564453px;
  }
}

.svg-elem-8 {
  -webkit-animation: animate-svg-stroke-8 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3399999999999999s both;
          animation: animate-svg-stroke-8 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3399999999999999s both;
}

@-webkit-keyframes animate-svg-stroke-9 {
  0% {
    stroke-dashoffset: 912.06298828125px;
    stroke-dasharray: 912.06298828125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 912.06298828125px;
  }
}

@keyframes animate-svg-stroke-9 {
  0% {
    stroke-dashoffset: 912.06298828125px;
    stroke-dasharray: 912.06298828125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 912.06298828125px;
  }
}

.svg-elem-9 {
  -webkit-animation: animate-svg-stroke-9 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.46s both;
          animation: animate-svg-stroke-9 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.46s both;
}

@-webkit-keyframes animate-svg-stroke-10 {
  0% {
    stroke-dashoffset: 20.658443450927734px;
    stroke-dasharray: 20.658443450927734px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 20.658443450927734px;
  }
}

@keyframes animate-svg-stroke-10 {
  0% {
    stroke-dashoffset: 20.658443450927734px;
    stroke-dasharray: 20.658443450927734px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 20.658443450927734px;
  }
}

.svg-elem-10 {
  -webkit-animation: animate-svg-stroke-10 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.58s both;
          animation: animate-svg-stroke-10 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.58s both;
}

@-webkit-keyframes animate-svg-stroke-11 {
  0% {
    stroke-dashoffset: 139.4854278564453px;
    stroke-dasharray: 139.4854278564453px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 139.4854278564453px;
  }
}

@keyframes animate-svg-stroke-11 {
  0% {
    stroke-dashoffset: 139.4854278564453px;
    stroke-dasharray: 139.4854278564453px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 139.4854278564453px;
  }
}

.svg-elem-11 {
  -webkit-animation: animate-svg-stroke-11 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.7s both;
          animation: animate-svg-stroke-11 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.7s both;
}

@-webkit-keyframes animate-svg-stroke-12 {
  0% {
    stroke-dashoffset: 195.67608642578125px;
    stroke-dasharray: 195.67608642578125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 195.67608642578125px;
  }
}

@keyframes animate-svg-stroke-12 {
  0% {
    stroke-dashoffset: 195.67608642578125px;
    stroke-dasharray: 195.67608642578125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 195.67608642578125px;
  }
}

.svg-elem-12 {
  -webkit-animation: animate-svg-stroke-12 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.8199999999999998s both;
          animation: animate-svg-stroke-12 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.8199999999999998s both;
}

@-webkit-keyframes animate-svg-stroke-13 {
  0% {
    stroke-dashoffset: 218.44830322265625px;
    stroke-dasharray: 218.44830322265625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 218.44830322265625px;
  }
}

@keyframes animate-svg-stroke-13 {
  0% {
    stroke-dashoffset: 218.44830322265625px;
    stroke-dasharray: 218.44830322265625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 218.44830322265625px;
  }
}

.svg-elem-13 {
  -webkit-animation: animate-svg-stroke-13 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.94s both;
          animation: animate-svg-stroke-13 2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.94s both;
}

@-webkit-keyframes animate-svg-stroke-14 {
  0% {
    stroke-dashoffset: 426.39581298828125px;
    stroke-dasharray: 426.39581298828125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 426.39581298828125px;
  }
}

@keyframes animate-svg-stroke-14 {
  0% {
    stroke-dashoffset: 426.39581298828125px;
    stroke-dasharray: 426.39581298828125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 426.39581298828125px;
  }
}

.svg-elem-14 {
  -webkit-animation: animate-svg-stroke-14 2s cubic-bezier(0.47, 0, 0.745, 0.715) 2.06s both;
          animation: animate-svg-stroke-14 2s cubic-bezier(0.47, 0, 0.745, 0.715) 2.06s both;
}



/* ========================== index loadingの動き =================== */
/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background:#fff;
    text-align:center;
    color:#fff;
  }
  
  /* Loading画像中央配置　*/
  #splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Loading アイコンの大きさ設定　*/
  #splash_logo img {
    width:260px;
  }

/* 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);
    }
  }