html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body{
    background-color: #171a2a;
    color: #fff;
    text-align: center;
    overflow-x: hidden;
    scroll-behavior: smooth;
    opacity: 0;
    animation: fadein;
    animation-duration: 2s;
    animation-fill-mode: forwards;
 font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;  
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
nav{
  transition: transform 0.5s ease;
  transform: translateX(100%);
}
nav.visible {
  transform: translateX(0);
}
@keyframes fadein{
  0% {opacity: 0;}
  100% {opacity: 1;} 
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p{
    line-height: 1.9;
}
li{
    list-style: none;
}
section p a{
  color: #9dbffa;
  border-bottom: dotted 1px #9dbffa;
}
.mb-l{
  margin-bottom: 50px;
}
/*************************************/
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181A2A;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:9999;
  transition: opacity 0.5s;
}

.hide {
  opacity: 0;
  pointer-events: none;
}
/*************************************/
.loader {
  width: 80px;
  height: 80px;
  position: absolute;
  background-image: url(../image/loader.svg);
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-animation: spinReturn 5s ease infinite;
  animation: spinReturn 5s ease infinite;
}
/* Animations */
@-webkit-keyframes spinReturn {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(225deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  75% {
    -webkit-transform: rotate(405deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spinReturn {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(225deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(405deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/**************************************/
h1 { font-size: 1.8rem; }  /* 約29px */
h2 { font-size: 1.4rem; }  /* 約22px */
h3 { font-size: 1.1rem; }  /* 約18px */
.starry{
  background-image: url();
  background-repeat: no-repeat;
  background-position: top center;
  padding-top: 60px;
  font-size: 1rem;
}
#profile h2.starry{
  background-image: url(../image/profile-h2.svg);
}
#showcase h2.starry{
  background-image: url(../image/showcase-h2.svg);
}
#flow h2.starry{
  background-image: url(../image/flow-h2.svg);
}
#news h2.starry{
  background-image: url(../image/news-h2.svg);
}
h1.starry{
  max-width: 300px;
  margin: 0 auto 50px;
}
#qa h1.starry{
  background-image: url(../image/qanda-h2.svg);
}
#contact h1.starry{
  background-image: url(../image/qanda-h2.svg);
}
#price-list h1.starry{
  background-image: url(../image/price-list-h2.svg);
}
#contact h1.starry{
  background-image: url(../image/contact-h2.svg);
}
#policy h1.starry{
  background-image: url(../image/policy-h2.svg);
}
#note h1.starry{
  background-image: url(../image/terms-h2.svg);
}
#precautions-notes h1.starry{
  background-image: url(../image/Precautions-h1.svg);
}
.sub{
  border-top: 8px #B49462 solid;
}
@media screen and (max-width: 576px) {
    html {
        font-size: 16px; 
    }
}
.overlay {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, .6);
    z-index: 3;
    left: 0;
    top: 0;
    pointer-events: none; /* オーバーレイが非表示の時はクリックできないようにする */
    transition: opacity 0.3s ease; /* スムーズな表示/非表示の切り替え */
}

.overlay.menu-open {
    opacity: 1;
    pointer-events: auto; /* オーバーレイが表示されている時はクリックできるようにする */
}
.section-inner{
    max-width: 1100px;
    margin: 0 auto;
    padding:7% 5%;
}
.flex{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-box{
  flex: 1;
}
@media (max-width: 768px) {
.flex{
    flex-direction: column;
}

.section-inner{
  padding:20% 1rem;
}
  }
/****/
#menuToggle{
    position:fixed;
    top:30px;
    left:-60px;
    width: 60px;
    height: 120px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: #b49462;
    cursor: pointer;
    writing-mode: vertical-lr;
    color: #fff;
    letter-spacing: 3px;
    transition: transform 0.5s ease;
    border:none
}
#home #menuToggle{
  transform: translateX(100%);

}
#home #menuToggle.visible {
  transform: translateX(0);
}
#menuToggle::before{
    width: 30px;
    height: 100px;
    content:"";
    position: absolute;
    left:50%;
    bottom:-100px;
    transform: translateX(-50%);
    background-image: url(../image/common-menu-ornament.svg);
    background-repeat: no-repeat;
    background-size: contain;

}
/* サイドメニュー */

header{
  position: relative;
}
#sideMenu {
    position: fixed;
    top: 0;
    right: -300px; /* 初期位置: 画面外 */
    width: 300px;
    height: 100dvh;
    background-color:rgb(9, 14, 27);
    color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease; /* スライドのアニメーション */
    transform: translateX(0); /* デフォルト状態 */
    z-index: 9;
}


#sideMenu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

#sideMenu ul li {
    border-bottom: dotted #2c354f 1px;
}
#sideMenu ul li:last-child{
    border-bottom: none;
}
#sideMenu ul li img{
    margin: 30px;
}
#sideMenu ul li a {
    color: white;
    text-decoration: none;
    margin: 0px 0;
    padding: 30px 0; 
    display: block;
    transition: ease .4s;
}
#sideMenu ul li a:hover{
    background-color: #1d3c6f;
    transition: ease .4s;
}

#sideMenu.open {
    transform: translateX(-300px); /* 画面内にスライドイン */
}
@media (max-width: 350px){

  #sideMenu ul li img{
    margin: 20px;
}
#sideMenu ul li a {
    padding: 20px 0; 
}
  #sideMenu {
    right: -250px; 
    width: 250px;
}

#sideMenu.open {
  transform: translateX(-250px); /* 画面内にスライドイン */
}
}
/*********************/
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 
        opacity 0.6s ease-out, 
        transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.--delay03s {
    transition-delay: 0.3s;
}

.--delay05s {
    transition-delay: 0.5s;
}

.--delay1s {
    transition-delay: 1s;
}
/*****/
h2 {
    margin-bottom: 50px;
}
h2 img{
    max-width: 350px;
    margin: 0 auto 10px;
}
/***************************************/

h2.st-top{
  margin: 0px auto 50px;
}

@media (max-width: 765px){
  
h2.st-top{
  border-top: solid #debf8d 1px;
  border-bottom: solid #debf8d 1px;
  padding: 20px 0;
  margin: 50px auto;
  position: sticky;
  top: 0;  /* 画面上部に固定 */
  background: #181A2A; 
  z-index: 2;  
}
}
/*********/
section.qa{
    padding:0 1rem 
  }
section.qa h3{
    margin-bottom: 30px;
    color: #B49462;
}
section.qa p.bottom{
    margin:10% auto;
}
  
@media (max-width: 768px){
  
  section.qa p.bottom{
    margin:20% auto;
  }
  section.qa h3{
    margin: 60px auto 30px;
  }
}
.accordion{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    margin-bottom: 10vw;
}
.accordion-item {
    margin-bottom: 10px;
}

.accordion-checkbox {
    display: none; 
}

.accordion-header {
    display: block;
    padding: 15px 25px 15px 15px;
    cursor: pointer;
    position: relative;
    background-color: #242635;
    text-align: left;
    display: flex;
    align-items: center;
}
.accordion-header span{
  color: #cea96e;
  margin-right: .5rem;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 
        max-height 0.3s ease,
        opacity 0.3s ease;
    background-color:rgba(0,0,0,0.2);
    padding: 0 15px;
}
.accordion-content p{
    text-align: left;
}

/* チェックボックスがチェックされたときのスタイル */
.accordion-checkbox:checked ~ .accordion-content {
    max-height: 1000px; /* 十分な高さを設定 */
    opacity: 1;
    padding: 15px;
}

.accordion-checkbox:checked ~ .accordion-header::after {
    content: '−';
    transform: rotate(180deg);
}

@media (max-width: 768px){
    section.qa{
      padding: 10% 1rem;
    }
  .accordion{
    grid-template-columns: repeat(1, 1fr); 
    gap: 30px; 
  }
}
/*************/
.cta{
  position: fixed;
  right:30px;
  bottom:30px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.cta.hidden {
  opacity: 0;
  visibility: hidden;
}
.cta a{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top:0;
  z-index: 1;
}
.cta button{
  width: 250px;
  background-color: #1d3c6f;
  height: 70px;
  border-radius: 5px;
  position: relative;
  color: #cea96e;
  font-family: sans-serif;
  transition: ease .4s;
  letter-spacing: 2px;
  border: solid 1px #071222;
}
.cta:hover button{
  background-color: #cea96e;
  color: #1d3c6f;
  cursor: pointer;
  transition: ease .4s;
}

.cta:hover button::after{
  right: 15px;
  border-top: 2px solid #1d3c6f;
  border-right: 2px solid #1d3c6f;
  transition: ease .4s;
}
.cta button::after{
  position: absolute;
  content: "";
  width: 10px;
  height:10px;
  top:50%;
  right: 20px;
  border-top: 2px solid #cea96e ;
  border-right: 2px solid #cea96e ;
  transform:translateY(-50%) rotate(45deg) ;
  transition: ease .4s;
}
@media (max-width: 768px){
  .cta{
    display: none;
  }
}
/**********************
/
pankuzu
/
************************/
section.pankuzu{
text-align: left;
padding: 3% 1rem;
margin: 50px auto;
display: block;
width: 100%;
}

a{
  text-decoration: none;
  color: #fff;
}
section.pankuzu ul{
  display: flex;
  gap:35px;
}
section.pankuzu ul li a{
  position: relative;
  border-bottom: dotted 1px #B49462;
  color: #B49462;

}
section.pankuzu ul li a:after{
width: 10px;
height: 10px;
position: absolute;
content: "";
width: 10px;
height:10px;
top:50%;
right: -20px ;
border-top: 2px solid #cea96e ;
border-right: 2px solid #cea96e ;
transform: translateY(-50%) rotate(45deg);
}
/**************/

ul.sns{
  display: flex;
  justify-content: center;
  gap:10px;
 align-items: center;
}
ul.sns li{

  transition: ease .3s;
  
}
ul.sns li:not(:last-child){
width: 40px;
height: 40px;
border-radius: 25px;
background-color: #0c0d15;
overflow: hidden;
margin: 8px 0;
}
ul.sns li:hover{
transform: scale(.95);
transition: ease .3s;
opacity: .8;
}
ul.sns li a.x{
  width: 100%;
  height: 100%;
  display: block;
  background-image: url(../image/icon-x.png);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
}
ul.sns li a.booth{
width: 100%;
height: 100%;
display: block;
background-color: #FC4D50;
background-image: url(../image/icon-booth.png);
background-size: 30px;
background-repeat: no-repeat;
background-position: center;
}
ul.sns li a.mash{
width: 100%;
height: 100%;
display: block;
background-color: #fff;
background-image: url(../image/icon-mash.png);
background-size: 30px;
background-repeat: no-repeat;
background-position: center;
}
ul.sns li a.discordx{
  height: 40px;
  min-width: 160px;
  border-radius: 50px;
  padding: 8px 0 8px 20px;
  display: block;
  position: relative;
  background-color:  #181931;
  border:solid #171944 2px;
  font-size: .8rem;
  letter-spacing: 2px;
  line-height: 40px;
  display: flex;
  align-items: center;
  vertical-align: middle;
  justify-content: center;
  transition: ease .3s;
}
ul.sns li a.discordx:before{
  position: absolute;
  width: 40px;
  height: 40px;
  content: "";
  background-image: url(../image/icon-discord.png);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-color:  #5255a4 ;
  border-radius: 50px;
  left: -2px;
  top:50%;
  transform: translateY(-50%);
}
/*****************
/
foorer
/
*******************/
footer{
  background-color: #0E121E;
  padding:10% 5% 10px;
  margin: 0;
}
footer .footer-content:nth-child(1){
width: 30%;
}footer .footer-content:nth-child(2){
  width: 70%;
}
footer .footer-content img{
  max-width: 200px;
  margin: 0 auto 50px;
}
footer ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
}
footer .flex{
  margin-bottom: 5%;
}
footer p{
  font-size: 10px;
  letter-spacing: 3px;
}
@media (max-width: 768px){
  footer{
    padding:20% 1rem 10px;
    margin: 0;
  }

  
footer .footer-content:nth-child(1),
footer .footer-content:nth-child(2){
  width: 100%;
  }
  
footer .flex{
  margin-bottom: 20%;
}
footer ul {
  grid-template-columns: repeat(2, 1fr); 
  gap: 10px;
}
footer ul.sns{
  margin-bottom: 50px;
}
footer .footer-menu ul li a{
  padding: 2rem 0;
  display: inline-block;
  width: 100%;
}
footer .footer-content img{
  min-width: 250px;
  max-width: 250px;
  margin: 0 auto 50px;
}
}
/************************/

.list_service{
  display: flex;
  gap: 20px 40px;
  justify-content: center;
  align-items: center;
  border-top: solid #debf8d 1px;
  border-bottom: solid #debf8d 1px;
  padding: 20px 0;
  margin: 50px auto;
  flex-wrap: wrap;
  position: sticky;
  top: 0;  /* 画面上部に固定 */
  background: #181A2A; 
  z-index: 2;  
}
.list_service li{
  position: relative;
}
.list_service li a{
  color: #debf8d;
}
.list_service li:after{
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid #debf8d;
  border-right: 1px solid #debf8d ;
  position: absolute;
  right: -13px;
  top:50%;
  transform:translateY(-60%)  rotate(135deg) ;
}

ul.list_service li a {
  border-bottom: 2px solid transparent;
  padding: 5px;
  transition: color 0.3s,
  border-color 0.3s;
}
ul.list_service li a.active {
  border-bottom: 2px solid #debf8d;
}
@media (max-width: 765px){
.list_service{
  position:relative;
}
}
/*************/
.wrap_btn{
  display: flex;
  gap:20px;
justify-content:center
}
.wrap_btn a{
  padding: 15px 0px;
  border: #debf8d 1px solid;
  min-width: 260px;
  color: #debf8d;
  border-radius: 30px;
  position: relative;
}
.wrap_btn a:before{
  content: "";
  width: 20px;
  height: 20px;
background-image: url(../image/icon-star.svg);
background-repeat: no-repeat;
background-size: contain;
position: absolute;
left: 10px;
top:50%;
transform: translateY(-50%);
}
.wrap_btn a:after{
  content: "";
  width: 20px;
  height: 20px;
background-image: url(../image/icon-star.svg);
background-repeat: no-repeat;
background-size: contain;
position: absolute;
right: 10px;
top:50%;
transform: translateY(-50%) rotate(0deg) ;
transform-origin: center center;
}
.wrap_btn a:hover:after{
transform:translateY(-50%) rotate(20deg) ;
transform-origin: center center;
}
@keyframes rotate-star {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.wrap_btn a:hover:after,
.wrap_btn a:hover:before {
  animation: rotate-star 3s linear infinite; /* 1秒で1回転、無限ループ */
}