@charset "UTF-8";

/* 共通部分
--------------------------------- */
html{
    font-size:100%;
    font-family:"Noto Sans JP", sans-serif;
    background-color:#fffff4;
    color: #333333;
}
html,body{
    overflow-x:hidden;
    margin:0;
    min-height:100vh;
}

/* ページ全体 */
body{
    display:flex;
    flex-direction:column;
}

/* ヘッダー */
.main-title{
    font-family:"Dela Gothic One", sans-serif;
    font-weight:400;
    text-align:center;
    font-size:5vw;
}
.sub-title{
    font-family:"Dela Gothic One", sans-serif;
    font-weight:400;
    text-align:center;
    font-size:4vw;
}
/* メイン部分 */
main{
    flex:1;
}
.box1{
    position: relative;
    top: 15vw;
    width: 80vw;
    height: 90vw;
    background-color: #A6E97F;
    border-radius: 40vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40vw;
}
.content-tit{
  position: absolute;
  margin-top: -95vw;
  margin-left: 35%;
  font-size: 3.5vw;

}
.content-p{
  position: absolute;
  margin-top: -90vw;
  margin-left: 27%;
  font-size: 2vw;

}
.eye1{
  position: absolute;
  width: 30vw;
  margin-top: -112vw;
  margin-left: 32vw;

}
.btn-flat-border {
  position: absolute;
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #333333;
  border: solid 2px #333333;
  border-radius: 3px;
  width: 40vw;
  height: 40vw;
  margin-top: -80vw;
  display: flex;
  justify-content: center; 
  align-items: center;
  border-radius: 100%;
  margin-left: 26vw;
  font-size: 3vw;
}

.btn-flat-border:hover {
  background: #333333;
  color: white;
}
/*フッター*/
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}
.page-footer {
  position: relative;
  width: 100%;
  margin-top: 5vw; 
}
.footer-box{
  background-color: #FFF692;
  width: 100%;
  height: 40vw;
  border-radius: 10vw 0 0 0;
}
.info{
  position: absolute;
  top: 15vw;
  left: 10vw;
  font-size: 2vw;
}
.copyright{
  position: absolute;
  bottom: 2vw;
  text-align: center;
  width: 100%;
  font-size: 1.5vw;
}
.textlink2{
  font-size: 2vw;
  font-weight: 500;
  transition: color 0.4s;
}
.textlink2:hover {
  color: #E90004;
}
.related-link{
  position: absolute;
  top: 12vw;
  right: 10vw;
}
.info-tit{
  position: absolute;
  top: 5vw; 
  left: 23vw;
  font-size: 2.3vw;
}
.link-tit{
  position: absolute;
  top: 5vw;
  right: 18vw;
  font-size: 2.3vw;
}
.eye4{
  width: 13vw;
  position: absolute;
  top: 2vw;           /* フッターの左上に配置 */
  left: 3vw;
  transform: rotate(-22deg);
}
.X img{
  width: 4vw;
  position: absolute;
  bottom: 8vw;        /* コピーライトの上あたり */
  left: 20vw;
}
.insta img{
  width: 4.2vw;
  position: absolute;
  bottom: 8vw;
  left: 28vw;
}
.insta img:hover {
  transform: translateY(-5px);
}
.X img:hover {
  transform: translateY(-5px);
}


/* ハンバーガーボタン */
#menu-bar {
    width: 45px;
    height: 40px;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 999;
  }
  
  .bar {
    height: 5px;
    width: 100%;
    background-color: #E90004;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
  }
  
  #bar1 { transform: translateY(-4px); }
  #bar3 { transform: translateY(4px); }
  
  /* ナビ（右からスライド） */
  .nav {
      position: fixed;
      top: 0;
      right: 0;
      width: 250px;
      height: 100vh;
      font-weight: 500;
      background-color: transparent;
      transform: translateX(100%);
      transition: transform 0.3s ease;
  
    padding-top: 50px;
    z-index: 998;
  }
  
  .nav.change {
    transform: translateX(0);
  }
  
  .nav ul {
    padding: 0 10px;
    padding-left: 30px;
    padding-right: 15px;
    margin-left: 3vw;
  }
  
  .nav li {
    list-style: none;
    padding: 12px 0;
  }
  
  .nav li a {
    color: white;
    font-size: 20px;
    text-decoration: none;
  }
  
  .nav li a:hover {
    font-weight: bold;
    color: #333333;
  }
  
  /* 円形背景 */
  .menu-bg {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 993;
  
    width: 0;
    height: 0;
    margin: 30px 20px 0 0;
  
    background: radial-gradient(circle, #E90004, #E90004);
    border-radius: 50%;
    transition: 0.4s ease;
  }
  
  .change-bg {
    width: 70vw;
    height: 80vw;
    transform: translate(30%,-30%);
  }
  
  /* ☰ → × */
  .change .bar {
    background-color: white;
  }
  
  .change #bar1 {
    transform: translateY(4px) rotate(-45deg);
  }
  
  .change #bar2 {
    opacity: 0;
  }
  
  .change #bar3 {
    transform: translateY(-6px) rotate(45deg);
  }

@media(max-width:600px){
    .chara-box{
        grid-template-columns:1fr;
        gap:12vw;
    }
    .cha{
        width:65vw;
    }
    .eye{
        width:22vw;
        top:32vw;
    }
    
}
/* スマホ */
@media(max-width:400px){
.main-title{
    font-size:10vw;
    margin-top:13vw;
}
.change-bg {
    width: 700px;
    height: 730px;
    transform: translate(25%,-25%);
  }
.footer-box{
    height:70vw;
}
.info{
    top:25vw;
    left:5vw;
    font-size:3vw;
}
.info-tit{
    top:8vw;
    left:20vw;
}
.link-tit{
    top:8vw;
    right:15vw;
}
.related-link{
    top:15vw;
    right:5vw;
}
.eye4{
    width:18vw;
}
.X img{
    width:6vw;
    left:20vw;
}
.insta img{
    width:6vw;
    left:35vw;
}
.copyright{
    font-size:2vw;
}
}
/* PC */
@media (min-width: 1024px) {
    .nav {
      width: 400px;
    }
    .nav li a{
      font-size: 30px;
      padding: 0;
    }
  }
/*フッター*/
.footer-box{
  height: 80vw;
}
.footer-link{  }
.info{
  margin-top: 8vw;
}
.copyright{

}
.related-link{

}
.info-tit{

}
.link-tit{

}
.eye4{

}
.X img{

}
.insta img{

}
