 @charset 'utf-8';

 :root {
    --gap: 16px;
    --header-h: 64px;
  }

  * {
    box-sizing: border-box;
  }

  html {
  font-size: clamp(12px, 2vw, 16px);
  scroll-behavior: smooth;
  margin: 0 auto;
}

/* 改行ツール */
.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}

#page_top {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#page_top img {
    height: auto;
    width: 100%;
}



  /* ---------- Fixed header bar ---------- */
  .site-header{
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 48px;
    z-index: 40;
    background: rgba(250, 250, 248, 0);
    border-bottom: 1px solid rgba(227, 225, 218, 0);
    backdrop-filter: blur(0px);
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    pointer-events: none;
  }
  .site-header.is-condensed{
    border-bottom: 1px solid var(--line);
  }

  .site-nav{
    display: flex;
    gap: 40px;
    opacity: 1;
    transform: translateY(-6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: auto;
  }
  .site-nav.is-visible{
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav a{
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    position: relative;
    padding-bottom: 4px;
  }
  .site-nav a::after{
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0%; height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
  }
  .site-nav a:hover{ color: var(--ink); }
  .site-nav a:hover::after{ width: 100%; }


  body {
    margin: 0 auto;
    font-family: "Noto Sans CJK JP","Hiragino Kaku Gothic ProN",
      "Yu Gothic", sans-serif;
    color: #222;
    font-weight: 400;
  }

  .bg_img img {
     top: 0; 
    left: 0; 
    z-index: -40;
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: auto;
    margin: 0;
}

.mainvisual {
 position: relative;
 display: flex;
 flex-direction: column;
}


.mainvisual {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
}

.mainvisual img {
 width: 90vw;
  height: 90vh;
  object-fit: contain;

}

 @media (max-width:474px) {
 .mainvisual img {
 width: 100vw;
  height: 100vh;
  object-fit: contain;

}
 }

 /* ロゴ登場 */
.main-logo {
  position: relative;
  overflow: hidden;
  animation: logo-fade-in 0.6s ease-out both;
}



@keyframes logo-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}




/* 矢印 */
.scrollNav {
  position: absolute;
  right: 5%;
  bottom: 5%;
  transform: translateX(-50%);
  width: 60px;
  bottom: 3vh;
  opacity: 1;
  text-align: end;
  animation: bounce 1.5s infinite;
}

.scrollNav img {
    max-width: 100%;
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}


 @media (max-width:1100px) {

.scrollNav img {
 display: none;
}
 }





.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: fixed;
  top: 0;      
  left: 0;
  right: 0;

  }

.button-row ul {
  display: flex;
  gap: var(--gap);
  justify-content: center;
  padding: var(--gap);
  margin: 0;
  list-style: none; 
}

.button-row li.btn {
  flex: 0 0 auto;
  padding: 12px 24px;
  text-align: center;
  background: #121212;
  color: #fff;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0.7;
  background: none;  
  border: 1px solid #f7f7f7;  
  position: relative;  
  max-width: 800px;  
  
}

.button-row li.btn::after {
  background-color: #fff; 
  border: none;  
  border-radius: 9999px;
  content: '';
  position: absolute;  
  top: 3px;  
  right: 3px;  
  width: 100%;  
  height: 100%; 
  z-index: -1;  
}

/* ボックス内の段落 */
.button-row li.btn li {
  margin: 0;
}

.button-row li.btn a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #222222;
    padding: 24px 48px;
}
.button-row li.btn:hover {
  background: #fff;
  opacity: 1;
}
.button-row li.btn:hover::after {
  top: 0;
  left: 0;
}
.button-row li.btn a:hover{
  color: #222;
  text-shadow:none;
}




  .hamburger {
    display: none;
    position: fixed;
    top: var(--gap);
    right: var(--gap);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 200;
  }

  .hamburger span {
    display: block;
    height: 2px;
    width: 60%;
    margin: 0 auto;
    background: #222;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }




  @media (max-width:1100px) {
    .button-row ul{
    flex-wrap: wrap;
    width: 30%;
}


    .hamburger {
      display: flex;
    }


    .button-row {
      position: fixed;
      top: 0;
      right: -100%;           
      left: auto;   
      width: 70%;
      align-items: center;
      z-index: 150;
      background: rgba(78, 13, 13, 0.7);  
      height: 100vh;
  transition: right 0.4s;
}
 .button-row li{
  margin-top: 25%;
 }

 .button-row li.btn {
  opacity: 1;
}

    .button-row li a  {
      padding: 24px 48px;
     font-size: 0.3rem;
    }

.button-row.is-open {
  right: 0;
 
}



}

h2 {
 text-align: center;
 font-size: 4.5rem;
 color: #ffffff;
   text-shadow:1px 1px 0 #000000, -1px -1px 0 #000,
              -1px 1px 0 #000, 1px -1px 0 #000,
              0px 1px 0 #000,  0-1px 0 #000,
              -1px 0 0 #000, 1px 0 0 #000;



}



#share , .about , .bg_new , .bg_guest , .bg_parti {
    padding: 2rem !important;
    margin-bottom: 7rem;
}


  /* new */
.bg_new {
  background: #fff;
  display: block;
  position: relative;
}

.bg_new h2 {
 color: #222;
}

/* participation */
.bg_parti {
  padding-bottom: 3rem;

        position: relative;
  overflow: hidden;
  margin: 0 auto;
}


.bg_parti h2 {
    position: relative;
  z-index: 2;
}

.baseballAnime {
  max-width: 1200px;
  margin: 0 auto;
}



.zabuton_yume {
  position: relative; 
  background: #fff;
  border-radius: 32.12px;
  max-width: 1000px;
  margin: 0 auto;
  height: auto;
  padding: 2rem 0.5rem 3rem;
  text-align: center;
  border: 2px solid black;
  z-index: 20;
}

.bat, .ball {
  position: absolute;
  pointer-events: none; 
}



.ball {
  left: 1%;
  top: 3%;
  transform-origin: bottom left;
   z-index: 1;
}
.ball img { 
  width: 150px; 
}

.bat {
  right: 3%;
  bottom: 0;
  z-index: 21;
}
.bat img {
  width: 180px; 
}

.ball.is-pitching {
  animation: pitch 0.8s linear 1 forwards; 
}

.bat.is-swinging {
  animation: swing 1.2s ease-in-out 3;
}

@keyframes friFuri {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.bat {
  animation: friFuri 1.2s ease-in-out infinite;
}

@keyframes pitch {
  0% {
    transform: translateX(100px) translateY(-500px) rotate(0deg) scale(0);
    opacity: 0;
  }

  90% {
    transform: translateX(100px) rotate(-360px) scale(0.1);
    opacity: 0.3;
  
  }
  100% {
    transform: translateX(40px) translateY(0) rotate(720deg) scale(1); 
  }
}
 
@media (max-width:768px) {
  
  .ball img { 
  width: 100px; 
}

.bat img {
  width: 100px; 
}


.zabuton_yume h3{
    font-size: 1.5rem;
}
}
.zabuton_yume h3 {
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  font-size: 2rem;
  font-weight: 900;
  align-items: center;
  z-index: 100;
}

.zabuton_yume p {
  display: block;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.5;
  padding: 1.5rem 0;
  font-weight: 600;
}

.zabuton_yume img {
  max-width: 90%;
 margin: 0 auto;
}

@media (max-width:768px) {
  


.zabuton_yume h3{
    font-size: 2rem;
    padding: 1 0.5rem;
}

.zabuton_yume p {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  padding: 1.5rem 0;
  font-weight: 600;
}
}



.bot_apps a {
background: radial-gradient(circle,rgba(188, 28, 14, 1) 0%, rgba(228, 185, 12, 1) 100%);  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  max-width: 372px;
  margin: 0 auto;
    display: flex;
  justify-content: center;
    align-items: center; 
  gap: 1rem;
   color: #fff;
  text-shadow:1px 1px 0 #000000, -1px -1px 0 #000,
              -1px 1px 0 #000, 1px -1px 0 #000,
              0px 1px 0 #000,  0-1px 0 #000,
              -1px 0 0 #000, 1px 0 0 #000;
  text-decoration: none;
  font-size: 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
    border: 2px solid black;
    z-index: 1000;
    position: relative;
}

.bot_apps img {
  height: 2rem;
  width: auto;
}

.bot_apps a:hover {
  background: radial-gradient(
    circle,
    #ff7b6e 0%,
    #fff176 100%
  );
  color: #121212;
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
  transform: scale(0.9);
   border: 0;
}




/* info */


.bg_info {
  background: #fff;
}


.about {
background:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.4)),
url("../img/about_bg.jpg");
opacity: 0.9;
background-size: cover;
background-position: center;
background-attachment: fixed;
text-align: center;
position: relative;
z-index: 1;


}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 50%;
  margin: auto;
  background: white;
  filter: blur(20px);
  opacity: 0.8;
}

.text_area {
  position: relative;
  z-index: 1;
}


@media (max-width:768px) {
  
.about {
background:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.4)),
url("../img/about_bgsp.jpg");
background-repeat: no-repeat no-repeat;
background-size: cover;
  background-position: center; 
  padding-bottom: 5rem;
  
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 60%;
  margin: auto;
  background: white;
  filter: blur(20px);
  opacity: 0.7;
}

}


.zabuton_yume h3{
    font-size: 2rem;
    padding: 1 0.5rem;
}



.theme {
  font-size: 15rem;
}


.text_area p {
  line-height: 2;
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-top: 5vh;
  padding-bottom: 2rem;
  text-shadow: 1px 1px 2px #a59c9c;
}

.point {
  padding-top: 0.8rem;
  font-size: 2.5rem;
  font-family: "Shippori Mincho";
  font-weight: 700;
  margin-bottom: 1rem;
}
.iframe-wrapper {
  margin-bottom: 1rem;
}



/* youtube */
  @media (max-width:560px) {

.iframe-wrapper {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}
  }
/* SNS */
#share h2 {

  padding-top: 2rem;
}


.SNS_link {
  display: flex;
  gap: 50px;
 justify-content: center;
 margin: 0.8rem 0;
}

.Instagram a {

  padding: 24px 48px;
   background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  border-radius: 13px;

}
.SNS_link a {
    display: inline-block;
    padding: 24px 48px;
}

.X a {
  background: rgb(7, 7, 7);
  padding: 24px 48px;
    border-radius: 13px;
}




.Instagram:active {
  transform: scale(0.92); 
  transition: .1s; 
}


.X:hover  {
  animation: moniyuRin .6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}



.Instagram:hover{
  animation: moniyu .6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes moniyu {
  0% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(-10px, -10px) scale(1.12); 
  }
  75% {
    transform: translate(-9px, -9px) scale(1.03); 
  }
  100% {
    transform: translate(-8px, -8px) scale(1);
    }
}

@keyframes moniyuRin {
  0% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(10px,-10px) scale(1.12);
    }
  75% {
    transform: translate(9px,-9px) scale(1.03);
  }
  100% {
    transform: translate(8px, -8px) scale(1); 
  }
}

.X:active {
  transform: scale(0.92); 
  transition: .1s; 
}




/* footer */
 footer p {
text-align: center;
display: block;
font-size: 0.8rem;
padding: 5% 0;
font-size: 0.7rem;
 }



 /* スクロール */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}