body{
  font-family: "Kaisei Tokumin", serif;
  min-height: 100vh;
  position: relative;
  min-height: 100vh;
  transition: opacity 0.5s ease;
}

body.fade-out {
  opacity: 0;
}

body.fade-in {
  opacity: 0;
}

main {
    position: relative;
    color: #754834;
    background: linear-gradient(
    to bottom,        
    #FFC2BD 0%,     
    #FFBF70 40%,
    #FFC2BD 80%,
    #FFC2BD 1000%
  );
  z-index: 0;
  overflow: hidden;
}

.bg-ball {
  position: absolute;
  width: 80vw;
  height: 80vw;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1; 
  overflow: hidden;
}

.bg-ball1 {
  top: -20vw;
  left: -5vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(50deg);
}

.bg-ball2 {
  top: -13vw;
  left: 100%; 
  transform: translateX(-50vw) rotate(-80deg); 
  background-image: url('../img/back_pad.webp');
}

.bg-ball3 {
  top: 45vw;
  left: 100%; 
  background-image: url('../img/back_pad.webp');
  transform: translateX(-55vw) rotate(190deg);
}

.bg-ball4 {
  top: 80vw;
  left: -5vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(-50deg);
}

.bg-ball5 {
  top: 160vw;
  left: 5vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(20deg);
}

.bg-ball6 {
  top: 200vw;
  left: 100%;
  background-image: url('../img/back_pad.webp');
  transform: translateX(-70vw) rotate(-150deg);
}


.bg-ball7 {
  top: 250vw;
  left: -10vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(-80deg);
}

header nav {
  display: flex; 
  align-items: center;
  height: 60px;
  justify-content: flex-end;
  gap: 5vw;
  padding-right: 7vw;
  background-color: #E55C43;
}

header a {
  text-decoration: none;
  color: #ffff;
  font-size: 18px;
}

nav a:hover {
  transition: 0.3s ease;
  transform: scale(1.10);
}

.main_img {
  display: block;       
  margin: 0 auto;        
  width: 70%;            
  height: auto;       
}

h2 {
    font-size: 40px;
    text-align: center;
}
  
header,
.main_img,
h2,
p,
.container_1,
.container_2 ,
.button_wrap,
iframe,
.icons,
footer {
  position: relative;
  z-index: 2;
}

.big_nyan,
.big_nyan2 {
    display: inline-block;
    transform: rotate(-10deg);
    color:#E55C43 ;
    font-size: 60px;
}


.main_text {
    font-size: 25px;
    text-align: center;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

.red_text {
    color:#E55C43 ;
}

.white_text {
    color: #fff;
}

.container_1 {
  display: flex;       
  align-items: center;  
  justify-content: flex-start; 
  gap: 5vw;            
  position: relative; 
  overflow: hidden;
}

h3 {
    font-size: 35px;
  }

.item_1 {
    font-size: 25px;
    text-align: center;
    margin-left: 10vw;              
}

.work1_img {
  width: 80vw;
  transform: rotate(-15deg);
  margin-left: auto;   
  position: relative;
  right: -10vw;        
}

.container_2 {
  display: flex; 
  align-items: center; 
  justify-content: flex-start; 
  gap: 5vw; 
  overflow: hidden;
}

.work2_img {
  width: 70vw;
  transform: rotate(+15deg);
  margin-left: auto;    
  position: relative;
  left: -10vw;         
}

.item_2 {
    font-size: 25px;
    text-align: center;
    margin-right: 10vw;              
}

.sub_text {
  font-size: 20px;
}

.button_wrap {
  display: flex;               
  justify-content: center;      
  gap: 40px;                    
  margin: 30px 0;   
  padding-left: 3.5vw;            
}

.btn { 
  font-family: "BIZ UDGothic", sans-serif;
  background-color: #E55C43; 
  color: #fff;             
  font-size: 15px;            
  border: none;             
  border-radius: 50px;    
  cursor: pointer;           
  transition: 0.3s ease;
  margin-bottom: 5vw;
  text-decoration: none;  
  display: inline-flex;      
  justify-content: center;    
  align-items: center;         
  width: 280px;               
  height: 70px;
}

.btn:hover {
  background-color: #ff7f50;
  transform: scale(1.05);
}

.acsess {
  font-size: 30px;
  text-align: center;
}

.acsess_text {
  font-size: 15px;
  text-align: center;
  margin-bottom: 5vw;
}

iframe {
  display: block;
  margin: 0 auto;
  filter: hue-rotate(-20deg) saturate(1.5) brightness(1.1);
  -webkit-filter: hue-rotate(-50deg) saturate(1.5) brightness(1.1);
}

.icons {
  display: flex;
  justify-content: center;   
  gap: 20px;                 
  width: fit-content;       
  margin: 0 auto;           
  padding: 5vw;
}

.icons img {
  width: 40px;  
  height: auto;
}

footer {
  display: flex; 
  height: 40px;
  background-color: #E55C43;
  justify-content: center;
  gap: 20px;
  padding: 20px; 
}

footer p {
  font-size: 10px;
  color: #ffff;
}


@media (max-width: 768px) {
  
header nav {
  height: 40px;
}

header a {
  font-size: 13px;
}

.bg-ball {
  width: 80vw;
  height: 80vw;
}


.big_nyan  {
  font-size: 45px;
}

h2 {
  font-size: 30px;
}

.main_text {
  font-size: 16px;
}


.big_nyan2  {
  font-size: 34px;
}

h3 {
  font-size: 26px;
}

.sub_text {
  font-size: 20px;
}

.btn {
  font-size: 15px;  
  width: 210px;               
  height: 60px;
}

.acsess {
  font-size: 25px;
}

.acsess_text {
  font-size: 12px;
}

iframe {
width: 80vw;
height: 50vw;
}

.icons img {
  width: 30px;
}

footer {
  height: 30px;
}

footer p {
  font-size: 7px;
}
}


@media (max-width: 480px) {

header nav {
  height: 30px;
}

header a {
  font-size: 10px;
}

.bg-ball {
  width: 70vw;
  height: 70vw;
}

.bg-ball1 {
  top: -10vw;
}

.bg-ball2 {
  top: -10vw;
  left: 100%; 
  transform: translateX(-50vw) rotate(-80deg); 
  background-image: url('../img/back_pad.webp');
}

.bg-ball3 {
  top: 45vw;
  left: 100%; 
  background-image: url('../img/back_pad.webp');
  transform: translateX(-55vw) rotate(190deg);
}

.bg-ball4 {
  top: 100vw;
  left: -5vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(-50deg);
}

.bg-ball5 {
  top: 180vw;
  left: 5vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(20deg);
}

.bg-ball6 {
  top: 220vw;
  left: 100%;
  background-image: url('../img/back_pad.webp');
  transform: translateX(-70vw) rotate(-150deg);
}


.bg-ball7 {
  top: 280vw;
  left: -10vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(-80deg);
}

.big_nyan  {
  font-size: 30px;
}

h2 {
  font-size: 26px;
}

.main_text {
  font-size: 16px;
}

.big_nyan2  {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

.sub_text {
  font-size: 13px;
}

.work1_img,
.work2_img {
  width: 90vw;       
}

.button_wrap {
  gap: 10px;                                
}

.btn {
  font-size: 13px;  
  width: 190px;             
  height: 50px;
}

.acsess {
  font-size: 23px;
}

.acsess_text {
  font-size: 12px;
}

iframe {
width: 60vw;
height: 30vw;
}

.icons img {
  width: 20px;
}

footer {
  height: 18px;
}

footer p {
  font-size: 5px;
}

}