html {
  scroll-behavior: smooth;
}


body {
  
  margin: 0;
  padding: 0;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

  position: relative;
  min-height: 100%;
  background: linear-gradient(
    0deg,
    rgba(247, 166, 12, 0.55),
    rgba(255, 198, 95, 0.55) 0%,
    rgba(249, 255, 99, 0.55) 0%,
    rgba(233, 197, 0, 1) 0%,
    rgba(205, 174, 7, 1) 0%,
    rgba(119, 104, 27, 1) 0%,
    rgba(138, 124, 56, 1) 0%,
    rgba(109, 99, 53, 1) 0%,
    rgba(40, 39, 45, 1) 11%,
    rgba(14, 18, 51, 1)
  );

  background-attachment: fixed;

 }

 body::before{

  content: "";
  position: fixed;  
  inset: 0;         
  background-image: url(../img/6709086.png);
  background-repeat: repeat;
  opacity: 0.15;    /* ←ノイズの濃さをここで調整 */
  pointer-events: none; 
  z-index: 0;

 }
    
.container{
    
    max-width: 1000px;
    position: relative;
    margin: 0 auto;  
    box-sizing: border-box; 
    overflow: hidden;

    animation: loading 1s;
}

@keyframes loading {
	0% {opacity: 0;transform: scale(1);}
	
}

main{
    min-height: 100vh;
    height: auto;
    padding-top: 10px;

    /* カラー無地
    background-color: rgb(14, 18, 51);
    */    
}

/* 調整用スタイル */

a {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}



/* ヘッダー */

header{
  margin-top: 0px;
  padding-top: 10px;
  
}

.header h1{

  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  color: #ffffea;
}


a h1:hover{

  transition : 0.5s;
  color: #3b8bcc;

}

.header li{

  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  
}

.header li a{
  color: #ffffea;
}

.header li a:hover{

  transition : 0.5s;
  color: #3b8bcc;

}


.header {
  /* カラー無地
  background-color: rgb(14, 18, 51);
  */
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}

@media screen and (min-width: 960px) {
  .header__title {
    font-size: 20pt;
  }
}
/* ヘッダーのナビ部分 */

.header__nav {
  position:fixed;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #2e4869;
  
  
  opacity: 0.7;
  transition: ease .4s;
  z-index: 4; 
}

.header__nav.active {
  transform: translateX(0);
}

@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
    
  }
}

@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: right;
    
  }
}

@media screen and (min-width: 960px) {
  .nav-items__item {
    margin-left: 20px;
    
  }
}

.nav-items {
  padding-top: 50px;
  padding-bottom: 50px;
}

.nav-items__item {

    
    padding: 15px;
    
}

@media screen and (min-width: 960px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
  }
}

/* ナビのリンク */
.nav-items__item a {
  
  width: 100%;
  display: block;
  text-align: center;
  font-size: 15px;
  margin-bottom: 24px;
  
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}

/* ハンバーガーメニュー */

.header__hamburger {
  width: 48px;
  height: 100%;

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;

  }
}
/* ハンバーガーメニューの線（ネオン化） */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #ff75c5;
  position: relative;
  display: block;
  transition: ease .4s;

  /* ネオンの光 */
  box-shadow:
    0 0 5px #ff75c5,
    0 0 10px #ff75c5,
    0 0 15px #ff99d6,
    0 0 20px #ffb3e2;
}

/* 中央の線（marginそのまま） */
.hamburger span:nth-child(2) {
  margin: 8px 0;
}

/* クリック後のアニメーション */
.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -15px;
  transform: rotate(-45deg);
}

/* ネオン消さずに X の状態も光らせたい時はこう */
.hamburger.active span {
  box-shadow:
    0 0 5px #ff75c5,
    0 0 10px #ff75c5,
    0 0 20px #ff99d6,
    0 0 30px #ffb3e2;
}


/* スライドのスタイル */
.slide{
  position: relative;
  aspect-ratio: 3/2;
  margin-bottom: 10px;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;

  border-radius:10px;
}

.front {
  z-index: 2;
  opacity: 1;
}

.back {
  z-index: 1;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

.slide img.logo {
  position: absolute;
  top: auto; 
  left: auto; 
  right: 12px;
  bottom: 12px;
  width: 15%;
  height: auto;
  object-fit: contain; 
  z-index: 3; 
  pointer-events: none; 
}

/* デフォルトの flex レイアウト（小さい画面向け） */

/* フォーム */

main h1{

  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  color: #ffffea;
  font-size: 25px;
  text-align: center;
  
}

form {
  width: 90%;
  margin: 5% auto;
  padding: 20px;
  min-width: 9rem;
  border-radius: 0.3rem;

  background:rgb(32, 93, 143,0.3);
  
  
}
  
input, textarea {
  
  width: 100%;
  max-width: 100%;
  border: none;
  margin: 1rem 0;
  padding:1rem 0rem 1rem 0rem;
  border-radius: 0.3rem;
  background: darken(#ffffea, 10%);
  color: darken(#ffffea, 50%);
  

}

input[type="submit"] {

  font-family: "Allerta Stencil", sans-serif;
  font-weight: 400;
  font-style: normal;

  width: auto;             /* 必要なら幅調整 */
  background: #5ca2c2;    
  color: #fffff3;
  font-size: 1.2rem;       
  font-weight: bold;
  padding: 0.8rem 2rem;    /* ← ボタンの大きさここ */
  cursor: pointer;
  border-radius: 0.5rem;
  text-align: center;
  float: right;
}

input[type="submit"]:hover{

  opacity: 0.7;

}

textarea {
  height: 13rem;
}
.captcha {
  float:left;
  input {
    float: right;
  }
  input[name=question] {
    width: 4rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: right;
    padding-right: 0;
    
  }
  [name=captcha] {
    width: 5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0.5rem;
    
    &::placeholder {
      text-align: center;
    }
  }
}

.clear{
  clear: both;
}

/* サンクスページ*/

.thanks{
  color: #ffffea;
  background:rgb(32, 93, 143,0.3);
  width: 100%;
  padding: 15px;
  border-radius: 1rem;

  text-align: center;
  
}

.thanks h2{
  font-size: 20px;
  margin-bottom: 20px;

}

.thanks p{

  margin-bottom: 20px;
}






/* 480px以上の画面に適用 480-769*/
@media (min-width: 481px) {

  form {
  width: 80%;}
  
}


/* 768px以上の画面に適用 769-max*/
@media (min-width: 769px) {

  form {
  width: 70%;}
  
}





footer{
    width: 100%;
    color: #ffffea;
    text-align: center;
    
    margin-top: 10px;
    padding-bottom: 20px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
}

.footer {
  
  
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  line-height:23px ;
  
}

.about{

  background:rgb(32, 93, 143,0.3);
  width: 100%;
  padding:  15px;
  border-radius:5px;

  display: flex;
  flex-direction: column;

  
}

.myicon figure {
 
  margin: 0px ;
  
}

.myicon figure img{
  border-radius:5%;
}

.introduce {
   
  padding: 0px 0px 0px 0px;      
}

.first_p{

  margin-bottom: 10px;
}


.introduce p{
   
  text-align: left; 
}

.introduce h4{

  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

  margin-bottom: 5px;

}

.about h3{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

  margin-bottom: 10px;
}

@media screen and (min-width: 960px){
  .about{
    display: block;
  }

  .myicon figure {
    float: left;
    margin-right: 15px;
  
  }
  

}

.sns{

  background:rgb(32, 93, 143,0.3);
  width: 100%;
  border-radius:5px;
  padding:  15px;

  display: flex;
  flex-direction: column;
  margin-left: 10px;
  
}

.sns h3{

  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

  margin-bottom: 10px;

}

.sns_icon{

margin-bottom: 20px;
display: flex;
flex-direction: column;


}
.sns_icon a img{
  width: 100px;
  margin-bottom: 25px;
}


.sns_icon a:nth-child(2){
  
  margin-right: 0px;
}

.sns_icon a:hover{
  opacity: 0.7;
}

@media screen and (min-width: 960px){
  .sns_icon a:nth-child(1){

      margin-right: 30px;}
  
  .sns_icon{

      margin-bottom: 20px;
      display: flex;
      flex-direction: row;
      justify-content: center;}



}


.contact{

  font-size: 18pt;
  color: #ff75c5;
  text-decoration: underline;
  font-weight: bold;
  text-align: center;
  display: inline-block;

  /* ネオン光 */
  text-shadow:
    0 0 5px  #ff75c5,
    0 0 10px #ff75c5,
    0 0 20px #ff75c5,
    0 0 40px #ff40b3,
    0 0 80px #ff40b3;

  /* ふわっと揺れるアニメ */
  animation: neonFlicker 1s infinite alternate;
}

.contact {
  font-family: "Allerta Stencil", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ネオンのゆらぎ */
@keyframes neonFlicker {
  0% { 
    opacity: 0.9;
    text-shadow:
      0 0 4px  #ff75c5,
      0 0 8px  #ff75c5,
      0 0 16px #ff75c5,
      0 0 32px #ff40b3;
  }
  50% { 
    opacity: 1;
    text-shadow:
      0 0 6px  #ff75c5,
      0 0 12px #ff75c5,
      0 0 24px #ff75c5,
      0 0 48px #ff40b3;
  }
  100% { 
    opacity: 0.8;
    text-shadow:
      0 0 3px  #ff75c5,
      0 0 6px  #ff75c5,
      0 0 12px #ff75c5,
      0 0 24px #ff40b3;
  }
}



@media screen and (min-width: 960px){

}


/* トップボタンの基本位置 */
#scrollTopBtn {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

  position: fixed;
  bottom: 30px;  /* フッターとかに被らない高さ */
  right: 30px;
  z-index: 10000;

  background-color: #0e1233; /* 暗めの背景 */
  color: #ffb9e4;
  border: none;
  padding: 12px 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;

  cursor: pointer;
  opacity: 0;       /* 最初は非表示 */
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.2s ease;

  /* ネオン風 */
  text-shadow:
    0 0 5px #ff75c5,
    0 0 10px #ff75c5,
    0 0 20px #ff99d6,
    0 0 30px #ffb3e2;
  
}

/* ホバーで光る */
#scrollTopBtn:hover {
  transform: scale(1.1);
  
  box-shadow:
    0 0 3px #ff75c5,
    0 0 6px #ff75c5,
    0 0 10px #ff99d6,
    0 0 13px #ffb3e2;
}

footer .copyright {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}


