
html, body {
  margin: 0;
  padding: 0;
}

.bg{
  top: -5px;
}



.main_bg01g {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5000px;
  height: 100vh;
  margin-top: -100px;
  overflow: hidden;
  background-image: url('../image/1x/bg_main.png'); 
}


.content, .top, .tophead {
  margin: 0;
  padding: 0;
}

.tophead {
  position: relative;
  z-index: 15;
  max-width: 620px;
  width: 100%;
  margin: 0px auto 0;
  border-left: none;
  border-right: none;
}


.tophead > img {
  display: block;
  width: 100%;
  height: auto;
}

.top_main {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 620px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.top_main img {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 620px;
}

.top_main img.top02 {
  width: 95%;
}

.top_main img.top03 {
  width: 80%;
  margin-top: 20px;
}

.content_bg {
  position: relative;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.content_bg > img {
  position: relative;
  top: -30px;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;

}
.c01, .c02 {
  position: absolute;
  z-index: 10;
}

.content01 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 620px;
  z-index: 4;
}
.content02 {
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  width: 80%; 
  z-index: 2; 
}
.stacked img.c01 {
  position: absolute;
  top: 15px;
  width: 100%; 
  right: 15%;
  max-width: 112.5px;
}

.stacked {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding-bottom: 350px;
  display: flex;
  justify-content: center;
}

.stacked img.c02 {
  position: relative;
  top: 7.3px;
  width: 100%;
  max-width: 620px;
  right: 0%;
}

.collabo_bg {
  position: relative;
  overflow: hidden; /* ← 下にはみ出すのをカット */
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  margin-top: -67px;
}


.collabo01 {
  position: absolute;
  top: -10px;
  left: 0%;

  width: 100%;
  z-index: 2;
}

.collabo01 img.a {
  width: 15%;
  max-width: 150px;
  position: absolute;
  top: -35px;
  left: 20%;
  transform: translateX(-50%) translateY(30px);
}

.collabo01 img.b {
  width: 50%;
  max-width: 425px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
}

.collabo_bg img{
  position: relative;
  z-index: 2;
}

footer {
  background-color: #fff; 
  position: relative;
  top: 0px;
  z-index: 1; 
  width: 100%;
}
@media screen and (max-width: 750px) {
  footer {
    top: 0px !important; 
  }
}

.footer_background_wrap {
  background-color: #fff;
  width: 100%;
}

@media (min-width: 620px) {

.bg01 {
  position: relative;
  width: 100%;
  padding: 0px; 
  box-sizing: border-box; 
  border-left: 1px solid #000;  
  border-right: 1px solid #000; 
}

.bg02 {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  top: 50px;
}

.bg03 {
  position: relative;
  width: 100%;
  top: -5px;
  padding-bottom: 30px; 
  border-left: 1px solid #000;  
  border-right: 1px solid #000; 
  margin-bottom: -30px; 
}
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%); 
    opacity: 0;
  }
  100% {
    transform: translateX(0); 
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.c01 {
  position: absolute;
  top: -45px;
  left: 62.5%;
  transform: translateX(-50%);
  width: 17%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
}

.c01.visible {
  animation:  slideInFromTop 1s ease-out forwards; 
}


@keyframes fadeInAndScaleUp {
  0% {
    opacity: 0;        
    transform: scale(0.5); 
  }
  100% {
    opacity: 1;        
    transform: scale(1); 
  }
}

.c02 {
  position: absolute;
  top: -7px;  
  left: 15%;  
  transform: translate(-50%, -50%);  
  width: 54.5%;  
  opacity: 0;  
}

.c02.visible {
  animation: fadeInAndScaleUp 1s ease-out forwards; 
}


@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.a {
  position: absolute;
  top: 15px;  
  left: 13%;  
  transform: translate(-50%, -50%);  
  width: 16.3%;
  height: 400px;
  opacity: 0;
}

.a.visible {
  animation: slideInFromTop 1s ease-out forwards;
} 




@keyframes fadeInAndScaleUp {
  0% {
    opacity: 0;       
    transform: scale(0.5); 
  }
  100% {
    opacity: 1;        
    transform: scale(1); 
  }
}

.b {
  position: absolute;
  top: 39px;  
  left: 24%;  
  transform: translate(-50%, -50%);  
  width: 54.5%;
  height: 400px;
  opacity: 0;
}


.b.visible {
  animation: fadeInAndScaleUp 1s ease-out forwards;
}





.bg01 {
  position: relative;
  top: -13px; 
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}


.bg03 {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0px;
  top: -15px;
  box-sizing: border-box;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}

.bg02 {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  border-left: 1px solid #000;
  border-right: 1px solid #000;

}

.bg03 {
  margin-bottom: -30px; 
}

.info_wrap {
	margin: 0 auto;
	padding: 10px 40px 100px;
	position: relative;
  z-index: 34;
	background-color: #FFF;
  margin-top: -100px;
}


.white-gap {
  background-color: #fff;
  width: 100%;
  height: 0px;    
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.oshitabi_btn {
	display: block;
	border: 4px solid #000;
	background-color:#fff;
	max-width: 600px;
	margin: 32px auto 0;
  margin-top: -80px;
	text-align: center;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 700;
	border-radius: 10px;
	position: relative;
	padding: 10px 30px 10px 5px;
	font-size: 18px;
	transition: .5s;
}
.oshitabi_btn:after {
	content: "";
	position: absolute;
	top: 50%;
	right: 30px;
	height: 12px;
	width: 12px;
	border-top: 3px solid #000;
	border-right: 3px solid #000;
	transform: translateY(-50%) rotate(45deg);
	transition: .5s;
}
.oshitabi_btn {
  transition: filter 0.3s ease-in-out;
}

.oshitabi_btn:hover {
  filter: invert(1);
}

.oshitabi_btn:hover::after {
	border-top: 3px solid #000;
	border-right: 3px solid #000;

}
.credit {
	text-align: center;
	margin-top: 0px;
	font-size: 12px;
}

.footer_container {
	position: relative;
	z-index: 100;
	background-color: #FFF;
	padding-top: 100px;
  padding-bottom: 80px;
}
@media(min-width:621px){
	.info_wrap {
		margin: 0 auto;
		padding: 0px 40px 100px;
	}
	.oshitabi_btn {
		padding: 15px;
		font-size: 20px;
	}
}
.white-space {
  background-color: #fff;
  width: 100%;
  height: 180px;
  top: -46px;
  margin: 0;
  padding: 0px;
  z-index: 1;
  position: relative;
}

.bg03, .footer_container {
  position: relative; 
}

.bg03 {
  height: auto; 
}

.parent-element {
  margin: 0;
  padding: 0;
}

.bg03, .footer_container {
  display: block;  
  clear: both;     
}

.bg03 {
  height: 100vh; 
  margin-bottom: -60px; 
}


.pankuzu {
  margin-top: -10px; 
  padding-top: 0px; 
  padding-bottom: 0px;
  margin-bottom: 0px;
}


/* 
.footer_container {
  margin-top: -100px; 
  padding-top: 0; 
} */

.content {
  margin-top: 0px;
}

.footer-spacer {
  background-color: #fff;
  width: 100%;
  height: 80px; /* 必要に応じて高さを調整 */
}

.bgsb {
  position: relative;
  z-index: 1;
  display: block;
  height: auto; /* 明示 */
}
.bgsb img {
  width: 100%;
  height: 100%;
  display: block;
}

.tw_btn {
  margin-top: 80px !important;
}

.tw_btn_parent {
  background-color: #fff;
  padding-top: 40px;
}

.txt {
  margin-top: 40px;            /* 上に余白を追加（必要に応じて調整） */
  background-color: #fff;      /* 白背景を明示 */
  position: relative;          /* レイヤー制御する場合 */
  z-index: 10;
}


.footer_container {
  margin-top: 0;
  padding-top: 100px;
  background-color: #fff; /* 白背景が透けないように明示 */
}

.footer_background_wrap {
  background-color: #fff;
}

.collabo_bg {
  position: relative;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  margin-top: -67px;
  overflow: hidden;  /* ← ここがポイント！ */
}

/* .collabo_bg {
  background-image: url('../image/1x/bg_main.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}
 */
 .tw_btn {
	margin-top: 0 !important;
 }
footer {
	margin-top: 0 !important;
}