html{
  font-size: 16px;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body{
  width : 100%;
  min-height: 100%;
  height: auto; 
  overflow-x: hidden;
  color: #f0f3f5;
  font-family:  "Noto Sans JP", serif;
  font-weight: 300;
  letter-spacing: normal;
  background-color: #eaeef1;
  margin: 0;
  padding: 0;
}
main{
  padding: 0 ;
  margin: 0;
}

.container{
  width: 100%;
  margin-top: 49rem;
  position: relative;
  z-index: 50;
  padding-top: 3rem;
}

#copy_container{
  margin: 0 3rem;
  display: flex;
}

#works, #about{
  margin: 4rem 3rem;
}

* {
  box-sizing: border-box;
}

h1{
  font-weight: 300;
  font-size: 1.5rem;
}

header .h_nav .menu {
  display: flex; 
}

header .menu li {
  list-style: none; 
  margin-left: 24px;
}

header .h_nav .menu li a{
 text-decoration: none;
}

#top_container{
  background-image: url(images/top1116.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  /* (画像の高さ / 画像の横幅) × 100 */
  padding-top: 60.60606060606061%;
  top: -20%;
  position: fixed; 
  margin-top: 7rem;
  text-align: center;
}

.vid_contents {
  width: 100vw;
  text-align: center;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%); /* 中央揃え */
  }
    
  video.vid_main {
  width: 100%;
  max-width: 480px;
  z-index: 50;
  }

a {
  color: #162a43;
  transition:0.5s;
}

a:hover{
  color:rgba(44, 55, 64, 0.3)
}

h2{
  font-size: 20rem;
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Jost", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

@media (max-width: 600px){
  body{
    color: #121229;
  }
  #top_container{
    margin-top: irem;
  }

  .vid_contents {
    top:0%;
    left: 50%;
    padding: 0 0 2rem;
    margin-bottom: 1rem;
  }

    video.vid_main {
      margin-top: 15rem;
      width: 100%;
    }

      h1, header .menu li, .h_nav{
        display: none;
     }

      .container{
        margin-top: 0rem;
        padding-top: 0rem;
        background-color: #f5f3ed;
        height: 100%;
    }

    #top_container{
      background-image: none;
      position: relative;
      margin-top: 0;
   }

   h2{
    font-size: 6rem;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 768px) and (min-width: 601px) {
  h1, header .menu li, .h_nav{
    display: none;
  }

  h2{
    font-size: 6rem;
    margin: 0 auto;
    text-align: center;
  }

  .vid_contents {
    top:50%;
    left: 50%;
    padding: 0 0 2rem;
    margin-bottom: 10rem;
    margin-top: 0;
    }

  video.vid_main {
      margin-top: 0;
      width: 100%;
      }

   #top_container{
       left: 0%;
       width: 100%;
       background-size: 100%;
       position: relative;
       margin-top: 0;
    }
  .container{
    margin-top: 0rem;
    padding-top: 0rem;
    background-image: url(images/top1116.jpg);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    background-position: center;
    background-repeat: repeat;
    width: 100%;
    height: 100%;
}
}


@media (max-width: 1020px) and (min-width: 768px) {
  h2{
    font-size: 12rem;
  }

    #top_container{
      background-position:top;
      top: -10%;
      margin-top: 0;
    }

  .vid_contents{
    left: 50%;
    top: 50%;
  }

  video.vid_main {
    width: 40%;
  }
}


.copy_e p{
  font-family: "Jost", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 6rem;
  color: rgba(22, 42, 67, 8);
  -webkit-text-stroke: 1px #f7f3e4; /* ベンダープレフィックス */
  text-stroke: 1px #f7f3e4;  
}

.p_tl{
  display: block;
  font-size: 1.4rem;
  color: #e7eef7;
  font-family:  "Noto Sans JP", serif;
  font-weight: 400;
  letter-spacing: 0.2rem;
  line-height: 2rem;
  padding-top: 1rem;
}


.copy_j{
  font-size: 1.5rem;
  font-weight: 600;
  color: #162a43;
  padding: 2rem 0 0 0;
  line-height: 2.7rem;
  letter-spacing: 0.7rem;
  width: 100%;
  align-self: flex-start; /* 縦書きを独立配置 */
  display: inline-block;
}


@media (max-width: 767px){
  #copy_container{
    margin: 0 0.5rem;
  }

  .copy {
    display: block; /* 縦書き用に変更 */
  }

  .copy_e p{
    padding-top: 0;
    margin-left: 0;
    font-size:2.5rem;
    width: 70%;
  }
  
  .copy_j{
    writing-mode:vertical-rl;/* コピーを縦書きにする */
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    width: 30%;
    display: block;
    height: auto;
  }

  .copy_j br{
    display: none;
  }

  .p_tl{
    font-size: 1rem;
    line-height: normal;
    color: #121229;
  }
}
@media (max-width: 1020px) and (min-width: 768px) {
  .copy_j{
    writing-mode:vertical-rl;/* コピーを縦書きにする */
    font-size: 1.5rem;
    margin-top: 3rem;
    line-height: normal;
    width: 10%;
  }

  .copy_j br{
    display: none;
  }

  .copy_e p{
    padding-top: 0;
    font-size: 4.5rem;
    width: 80%;
  }
}


.pic_c{
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.img2 {
  text-align: center;
}


.img2{
   margin: 0 auto;
   width: 100%;
   height: auto;
   filter: grayscale(100%);
   transition: all 0.5s ease-in;
}

.img2:hover{
  filter: grayscale(0%);
}

@media (max-width: 767px){
  .img2{
    width: 100%;
    margin: 0;
  }

  .img2{
    margin: 0;
  }

  .band1, .band2{
    margin: 1rem 0;
    width: 120%;
    overflow: hidden;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .img2{
    width: 100%;
  }

  .band{
    margin-bottom: 3rem;
    width: 120%;
    overflow: hidden;
  }
}

.works_container{
  backdrop-filter: blur(80px);
  padding-bottom: 2rem;
}

.works_items{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.item{
  width: 40%;
  margin: 2rem 1rem;
  z-index: 1;
}

.item img{
  width: 100%;
  height: auto;
  opacity: 1;
  transition: 0.5s;
}

.item img:hover{
  opacity: 0.5;
}

.works_bt{
  margin-bottom: 3rem;
  font-size: 1.3rem;
}

@media (max-width: 767px) {
  .item {
    width: 100%; 
    margin: 1rem auto;
  }

  .item img{
    opacity: 1;
  }

  .works_bt{
    margin: 0 auto;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .item img{
    opacity: 1;
  }
}



#about{
  padding-bottom: 5rem;
}

.about_container{
  margin: 0 auto;
  backdrop-filter: blur(80px);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.profile_co{
  display: flex;
}

.pro_images{
  position: relative;
}
.mypic{
  width: 100%;
  max-width: 400px;
  height: auto;
  align-self: flex-start; /* Flexbox内で高さをリセット */
  z-index: 5;
  position: relative;
  margin: 3rem 4rem 2rem;
}

.roll1{
  width: 50%;
  position: absolute;
  left: 73%;
  top: 55%;
  z-index: 1;
  animation: rotate-anime 16s linear infinite;
}

@keyframes rotate-anime {
  0%  {transform: rotate(0);}
  100%  {transform: rotate(360deg);}
}

.profile_tx{
  font-size: 1.3rem;
  letter-spacing: 0.3rem;
  line-height: 1.5rem;
  width: 50%;
}

.profile_tx p{
  margin-bottom: 1.5rem;
}


@media (max-width: 767px) {
  .profile_co{
    flex-direction: column;
  }

  .profile_tx{
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    line-height: 1rem;
  }

  .mypic{
    width: 70%;
    margin-left: 0.5rem;
  }

  .roll1{
    width: 35%;
    left: 57%;
    top: 55%;
  }

  .about_container h2{
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .about_container{
    background: rgba(155, 178, 209,0.5);
    padding-bottom: 1rem;
  }

  .about_container h2{
    margin-bottom: 1rem;

  }

  .profile_tx{
    font-size: 1rem;
    margin-left: 0;
    width: 63%;
  }

  .mypic{
    width: 75%;
  }
  .roll1{
    left: 50%;
    top: 35%;
  }
}





.works_bt, .about_bt{
  width: 20%;
  background-color: #162a43;
  color: #f0f3f5;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.3rem;
  border-radius: 4px;
  margin-left: auto; 
  margin-bottom: 3rem;
  text-align: center;
  position:relative;
}

.about_bt:hover{
  box-shadow: 0 0 40px rgba(44, 55, 64, 0.4);
  transition:0.4s;
}
.works_bt:hover{
  box-shadow: 0 0 40px rgba(44, 55, 64, 0.4);
  transition:0.4s;
}

.works_bt{
  margin-right: 3rem;
}

.about_bt{
  width: 40%;
}

@media (max-width: 767px) {
  .works_bt, .about_bt{
    width: 100%;
    margin: 1rem auto;
    font-size: 0.8rem;
    letter-spacing: normal;
  }

  .about_bt{
    margin-top: 2rem;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .works_bt, .about_bt{
    width: 70%;
    margin: 1rem auto;
    font-size: 0.8rem;
    letter-spacing: normal;
  }
}



#skills{
  margin: 5rem 3rem 3rem;
  padding-bottom: 8rem;
}

.sk1{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  backdrop-filter: blur(15px);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.sk2{
  width: 368px;
  background: rgba(155, 178, 209,0.95);
  margin: 1rem 2rem;
  text-align: center;
  border-radius: 5px;
}

.sk_tl{
  font-size: 1.3rem;
  font-weight: 500;
  display: inline-block;
  margin: 1rem auto;
}

.sk2 img{
  width: 45%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.sk_tx{
  padding: 1rem;
  font-size: 1.2rem;
  line-height: 2rem;
}

.sk3{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 1rem 0;
  padding: 0.2rem 2rem;
}

.sk_to{
  display: inline-block;
  text-align: center;
  border:  1.5px solid #1b242b;
  padding: 0.5rem 0.8rem;
  margin: 0.5rem 0.2rem;
}


@media (max-width: 767px) {
  #skills{
    margin: 0 0.5rem 13rem;
    padding-bottom: 4rem;
  }
  .sk_tl{
    margin: 1rem auto 0;
  }

  .sk2{
    margin: 0 auto;
    width: 80%;
  }
  .sk3{
    margin: 0 0 1.5rem;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .sk2{
    margin: 2rem auto;
  }

}




footer {
  backdrop-filter: blur(40px);
  height: 600px;
  border-radius: 100px 100px 0 0;
  color: #f0f3f5;
  margin-top: -10rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 50;
}

.contact_co {
  display: flex;
  flex-direction: column;
  margin-left:auto ;
  margin-right: 2rem;
}

.contact_co img{
  width: 180%;
  margin: 0.1rem 0;
  position:relative;
	top:0;
}

.contact_co img:hover{
  top:7px;
	transition:0.3s;
}

.menu-footer-nav-container{
  display: flex;
  flex-direction: column;
}

.menu{
  display: flex;
  align-items: flex-end;
}

.menu-item{
  display: inline-block;
  list-style: none;
  margin-top: 2rem;
  padding: 0 4rem 1rem 0;
}

.siteFooter .footerMenu a {
  color: #f0f3f5;
}

.siteFooter .footerMenu {
  display: flex;
  justify-content: center;
}

.footerContainer{
  display: flex;
  padding-left: 3rem;
  position: relative;
}

.siteFooter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 10px;
}

.Copyright{
  position: relative;
}

.btt{
  display: block;
  margin-left: 6rem;
}

.roll2{
  width: 12%;
  position: absolute;
  animation: rotate-anime 16s linear infinite;
  padding-top: 0.5rem;
  left: 82%;
  top: 28%;
}

@keyframes rotate-anime {
  0%  {transform: rotate(0);}
  100%  {transform: rotate(360deg);}
}

@media (max-width: 767px) {
  footer{
    border-radius: 50px 50px 0 0;
    margin-top: -5rem;
    height: 400px;
    color: #162a43;
  }
  .footerContainer{
    flex-direction: column;
  }
  .siteFooter .footerMenu {
    justify-content: center;
  }
  .siteFooter .footerMenu a {
    color: #162a43;
  }
  .menu-footer-nav-container .menu{
    padding-right: 1.5rem;
  }
  .menu-item{
    padding-right: 1rem;
  }
  .contact_co img{
    width: 90%;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .menu{
    justify-content: space-between;
    padding: 0 0 2rem;
    margin-top: 0;
  }
  .Copyright{
    width: 60%;
  }
  .btt{
    padding: 0 0 2rem 1rem;
    margin-bottom: 2rem;
  }
  .roll2{
    width: 25%;
    left: 70%;
    padding: 0;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  footer{
    height: 350px;
    color: #162a43;
    padding-top: 0;
  }
  .menu-item{
    padding: 0.5rem;
  }
  .menu-footer-nav-container {
    padding-bottom: 2rem;
  }
  .menu-footer-nav-container .menu{
    padding-right: 2.5rem;
  }
  .roll2{
    padding-top: 0;
    width: 15%;
    margin-bottom: 2rem;
  }
  .contact_co img{
    width: 70%;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .siteFooter .footerMenu a {
    color: #162a43;
  }
}








/* フェードイン*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.7s ease, transform 1.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}




/* 初期背景をカバーするオーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(156, 185, 219, 1);/* 初期の背景色 */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  animation: slideDown 2s ease forwards 3s; /* 遅延時間を2秒設定 */
  z-index: 10001; /* コンテンツの上に表示 */
  text-align: center;
}

.overlay p{
  font-family: "Jost", serif;
  font-weight: 200;
  letter-spacing: 1.1rem;
  line-height: 3.8rem;
  font-style: normal;
  font-size: 3rem;
  opacity: 0; /* 初期状態は透明 */
  transform: translateY(-20px); /* 少し上に配置 */
  animation: fadeInUp 1.5s ease forwards 0.5s; /* 0.5秒遅延して実行 */
}

@media (max-width: 767px) {
  .overlay p{
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    line-height: 2rem;
  }
}





.content {
  display: none; /* 初期は非表示 */
  animation: fadeIn 1s ease forwards 3s; /* 遅延させてフェードイン */
}


/* キーフレームアニメーション */
@keyframes slideDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100vh); /* 下にスライドアウト */
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(-20px); /* 少し上に */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* 元の位置に */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



/* カーソル */
html,body,a{
  cursor: none;
}

#cursor{
  pointer-events: none;
  position: fixed;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: rgba(18, 18, 41, 1.0);
  transform: translate(-100px,-100px);
  border-radius: 50%;
  z-index: 999;
}
#stalker {
  pointer-events: none;
  position: fixed;
  top: -16px;
  left: -16px;
  width: 24px;
  height: 24px;
  background: rgba(255, 254, 157, 0.8);
  border-radius: 50%;
  transform: translate(-100px,-100px);
  transition: transform 0.2s;
  transition-timing-function: ease-out;
  z-index: 998;
}

#stalker.hov_{
  top: -40px;
  left: -40px;
  width: 90px;
  height: 90px;
  transition: .15s;
  background: rgba(242, 246, 247, 0.5);
}

#stalker-text {
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #121229;
  pointer-events: none;
  opacity: 0; 
  transition: opacity 0.15s;
}

/* ホバー時にテキストを表示 */
#stalker.hov_ #stalker-text {
  opacity: 1;
}


header {
  position: fixed;
  z-index: 100;
  width: 100%; 
  height: 120px; 
  background: linear-gradient(rgba(241, 239, 232, 0), rgba(241, 239, 232, 0));
  padding: 20px 30px; 
  box-sizing: border-box;
  top: 0; 
  left: 0; 
  display: flex; 
  align-items: center; 
  z-index: 10000;
 /* ロゴとメニューを横並びにする */
  display: flex; 
  justify-content:space-between;
  color: #000F2B;
}




