@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Shippori+Antique&family=Zen+Kaku+Gothic+New&display=swap');
html{
    font-family: "Shippori Antique", sans-serif;
    scroll-behavior: smooth;
    margin-top: 0 !important;

}
.font-zen {
font-family: "M PLUS 1p", sans-serif;
}
a{
    box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* メンテナンス */
/* body{
    position: relative;
}
body::after{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #0046ad;
    content: 'メンテナンス中';
    z-index: 99999;
    top: 0;
    left: 0;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 5rem;
} */

.base-swidth{
    max-width: 100rem;
    width: 90%;
    margin: auto;
}
.base-mwidth{
    max-width: 120rem;
    width: 90%;
    margin: auto;
}
.pc-none{
    display: none;
}
#wpadminbar{
    display: none;
}
.base-p,p{
    font-size: 1.8rem;
}
.contents{
    position: relative;
    background: transparent !important;
}
.background{
    position: absolute;
    z-index: -9999;
    width: 100%;
    height: 100%;
    background-image: url(../img/background.png);
    background-size: contain;
    background-repeat: repeat;
}
.btn{
    padding: 1rem 3rem;
    border-radius: 10rem;
    background: transparent;
    border: #00507e 1px solid ;
    color: #00507e;
    font-size: 1.7rem;
    text-decoration: none;
    width: fit-content;
    transition: 0.3s ease-out;
}
.btn:hover{
    background: #00507e;
    color: #fff;
}
.sec{
    margin: 10rem auto 0;
}
.pankuzu{
    background: #000;
    padding: 1rem;
    width: fit-content;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 1rem 0;
}
.pankuzu a,.pankuzu span{
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
    white-space: nowrap;
}
.must{
    position: relative;
}
.must::after{
    position: absolute;
    right: -4rem !important;
    content: '必須';
    background: #ff0000;
    border-radius: 10rem;
    color: #fff;
    font-size: 1rem !important;
    width: 4rem;
    display: flex;
    justify-content: center;
}
.base-h1{
    font-size: 4.5rem;
}
.base-h2{
    font-size: 3rem;
    font-weight: 500;
    color: #00507e;
    text-align: left;
}
.base-h2 > span{
    font-size: 1.3rem;
    color: #000;
}
.base-h3{
    font-size: 2.5rem;
}
.base-h4{
    font-size: 2rem;
    text-align: center;
    color: #00507e;
}
/* ロード時のアニメーション */
/* 初期状態：透明＋ぼかし */
.ld1, .ld2, .ld3 {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s ease-out, filter 0.6s ease-out;
}

/* 表示状態 */
.show {
  opacity: 1;
  filter: blur(0);
}
/* ホバーアクション */
.hov-undr-line {
    position: relative;
    display: inline-block;
    /* padding: 4px 0; */
    color: #fff;
    text-decoration: none;
    overflow: hidden;
  }
  
  .hov-undr-line::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #fff;
    transition: width 0.4s ease;
  }
  
  .hov-undr-line:hover::before {
    width: 100%;
  }
/* ヘッダー */
.header-inner{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    display: flex;
    background: #fff;
    padding: 2rem;
}
.hed-btn-box{
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem;
    margin-left: auto;
}
.hed-btn{
    font-size: 1.7rem;
    padding: 1rem 3rem;
    display: flex;
    gap: 2rem;
    transition: 0.3s ease-in;
}
.hed-btn-lt{
    background: #fff;
}
.hed-btn-rt{
    background: #00507e;
    color: #fff;
    border-color: #fff;
}
.hed-btn-lt:hover{
    border-color: #fff;
}
.hed-btn-rt:hover{
    background: #fff;
    border-color: #00507e;
    color: #00507e;
}
.hed-link-box{
    display: flex;
    gap: 3rem;
    padding: 0 3rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: left;
}
.hed-link{
    font-size: 1.7rem;
    text-decoration: none;
    color: black;
    font-weight: 500;
    display: flex;
    align-items: center;

}
/* newder-new */
.header-inner-new{
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    display: flex;
    align-items: center;
    background: #00507e;
    height: 80px;
}
.hed-link-box-new{
    font-size: 1.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}
.hed-link-box-new>div{
    display: flex;
    gap: 2rem;
}
.toggle-box{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;

}
.hed-new-link{
    text-decoration: none;
    border-right: 2px solid #0046ad;
    padding: 0 2rem;
}
.hed-link-box-new>div>a{
    color: #fff;

}
#toggle-btn {
     border: none;
     background: transparent;
      transition: transform 0.3s ease;
      display: inline-block;
      cursor: pointer;
      font-size: 1.8rem;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    #toggle-btn i{
        font-size: 2rem;
        color: #fff;
    }
#toggle-content{
    position: absolute;
    top: 4rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    opacity: 1;
    border: 2px solid #0046ad;
    padding: 2rem;
    display: none;
    width: fit-content;
    border-radius: 10px 0 10px 10px;
}
.toggle-hed{
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.toggle-txt{
    text-decoration: none;
    color: #000;
    padding: 1rem 0;
    border-bottom: 1px solid #0046ad;
}
.toggle-link-box{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}
.toggle-link{
    border-radius: 10px;
    display: inline;
    background: #eaeaea;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}
/* .hed-logout{
    color: #fff;
    background-color: #000;
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
} */
.toggle-link:hover{
    opacity: 0.8;
}
.toggle-link.logout{
    background: #ff0000;
}
/* フッター */
.footer-nav{
    position: fixed;
    bottom: 0;
    right: 0;

    height: 8rem;
    z-index: 9999;
}
.nav-link-bg{
    width: 40%;
    height: 100%;
    border-right: #fff 1px solid;    
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: none;
}
.nav-link-bg span{
    font-size: 1.4rem;
    margin: auto;
}
nav button {
    box-shadow: none; /* シャドウ削除 */
    outline: none; /* フォーカス時の青枠削除 */
    border: none; /* デフォルトのボーダー削除 */
}
nav button{
    width: 100%;
    height: 100%;
    background: transparent;
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    box-shadow: none;
    background: #000;
   text-align: center;
}
nav button>div{
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
nav button span,nav button i{
    text-align: center;
}
nav button:focus {
    outline: none;
}
nav span{
    font-size: 1rem;
}
#menu-btn{
    width: 8rem;
}
.relative-menu{
    position: relative !important;
    bottom: 0 !important;
}
/* 固定ページ */
.scp-fv{
    width: 100%;
    height: 50vh;
    position: relative;
    display: flex;
}
.scp-fv-img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.scp-h1{
    text-align: center;
    font-size: 5rem;
    color: #00507e;
    margin: auto;
    position: relative;
    z-index: inherit;

    background: linear-gradient(to right, #0046ad, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.scp-sec{
    display: flex;
    margin: 10rem 0;
    height: auto;
}
.scp-container{
    margin: auto;
    overflow: scroll;
}
.scp-container>div{
    margin: auto;
    width: fit-content;
}
.slide-txt-box {
    overflow: hidden;
    display: inline-block;
    margin: auto;
  }
  .slide-txt {
    display: inline-block;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideIn 1s forwards;
  }
  @keyframes slideIn {
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
.nf{
    display: flex;
}
.nf-container{
    margin: 10rem auto;
}
.nf-box{
    margin-bottom: 3rem;
}
  /* テキストアニメーション */
  .text-reveal-container {
    overflow: hidden;
    display: inline-block;
    position: relative;
  }
  
  .text-reveal {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
  }
  
  .animate-up-active .text-reveal {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* optional: 下線をつけたい場合 */
  .text-reveal-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
  }

  


    .text {
    display: flex;
    justify-content: left;
    font-family: "Roboto Mono", monospace;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .text.is-active {
    --x: 0;
  }
  
  .char {
      overflow: hidden;
  }
  
  .char-text {
    display: inline-block;
    transform: translateX(var(--x, -101%));
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    transition-delay: calc(0.05s * var(--char-index));
  }
    .visuallyHidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .pc-none{
    display: none;
  }
  .sp-none{
    display: inline-block;
  }

/* ＝＝＝＝＝＝＝＝＝　スマホ　＝＝＝＝＝＝＝＝＝ */
@media(max-width:600px){
    .pc-none{
        display: inline-block;
    }
  .sp-none{
    display: none;
  }
    p,.base-p{
        font-size: 1.5rem;
    }
    .base-h2{
        font-size: 3rem;
    }
    .base-h3{
        font-size: 2.5rem;
    }
    .base-h4{
        font-size: 2rem;
    }
    .btn{
        font-size: 1.5rem;
    }
    /* ヘッダー */
    .hed-btn-box{
        display: none;
    }
    /* フッター */
    nav{
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 8rem;
        background: #00507e;
        z-index: 9999;
        display: flex;
    }    
    nav button{
        width: 20%;
    }
    .nav-link-bg{
    display: flex;
    } 
    #menu-btn{
        width: 20%;
    }       
    .menu-container{
        gap: 2rem;
    }
    /* 固定ページ */
    .sec{
        margin: 5rem auto 0;
    }
    .scp-sec{
        margin: 5rem 0 10rem;
    
    }    

}




.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.name-change-btn {
  background: #0073aa;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
