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: #151616;
  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: 80%;
  margin: 0 auto;
}



* {
  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;
}




a {
  color: #162a43;
  transition:0.5s;
}

a:hover{
  color:rgba(44, 55, 64, 0.3)
}

h2{
  font-size: 1.3rem;
  display: block;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  padding: 0.3rem 0;
}

@media (max-width: 600px){

  body{
    color: #000F2B;
  }

      .container{
        margin-top: 8rem;
        padding-top: 2rem;
    }
   h2{
    font-size: 6rem;
    margin: 0 auto;
    text-align: center;
  }

  .top{
    margin: 0m 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;
  }
  .top{
    margin: 0 auto;
    text-align: center;
  }
}


@media (max-width: 1020px) and (min-width: 768px) {


}

.top{
  display: block;
  margin: 9rem auto;
  text-align: center;
}

.top img{
  width: 90%;
  height: auto;
}

.items{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.items img{
  display: flex;
  margin: 0 auto;
  width: 90%;
  max-width: 560px;
  height: auto;
}

.item_tx{
  color: #151616;
  margin-bottom: 16rem;
  line-height: 2rem;
}

footer {
  backdrop-filter: blur(40px);
  background-color: rgba(156, 185, 219, 0.9);
  height: 400px;
  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;
  }
  .footerContainer{
    flex-direction: column;
  }
  .siteFooter .footerMenu {
    justify-content: center;
  }
  .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: 400px;
    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: 90%;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}








/* フェードイン*/
.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, 0.5); /* 初期の背景色 */
  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;
}




