.titleR{
  color:rgb(0, 203, 193);
  font-family: var(--heading-font);
  font-weight: 600;
  font-style: normal;
  
  text-align: center;
  margin: 0 auto;
  
  font-size: clamp(1.8rem, 8vw, 5rem);
  
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  
  white-space: normal;   
  
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 1.2s ease-out forwards 0.5s;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
  line-height: 1.2;
}

.boxoftitle{
  background-image: url("images/registration_newtop.jpg");
  background-size: 100%;        
  background-position: center;
  background-repeat: no-repeat;

  height: 40vw;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: zoom 10s ease-in-out forwards;
}

.titleR.show::after {
  width: 100% !important;                
}

.title-wrapper {
  text-align: center;
  display: inline-block;
  width: auto; 
}


 .itiretu{
 display: flex;              
  justify-content: center;    
  align-items: center;        
 }

@keyframes zoom {
  0% {
    background-size: 100%;      
  }
  100% {
    background-size: 150%;      
  }
}

.hakosono1{
   	position: relative;
    display: flex;
	flex-direction: column;
	padding: 1rem;			
	background: #fff;		
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	
	margin-bottom: 3%;
width: 100%;
max-width: none;
}

.hakohako{
  display: grid;
	grid-template-columns: 1fr;	
	gap: 2rem;	
}

.hutoji{
  color: #333;          
  font-weight: bold;    
  text-align: center;   
  font-size: large;
}

.mottohutoji{
  color: #06c6c6;          
  font-weight: bold;    
  text-align: center;   
  font-size: x-large;
}

.mottohutoji-pink{
  color: rgb(253, 139, 251);        
  font-weight: bold;    
  text-align: center;   
  font-size: x-large;
}

.mottohutoji-black{
  color: black;
  font-weight: bold;    
  text-align: center;   
  font-size: clamp(0rem, 6vw, 2rem);
}

.bigmoji{
  color: #333;  
  font-size: large;
}

.tadanomoji{
  color: #333;
  font-size: medium;
}

.child{
  color: #333;
  font-size: medium;
  width: 100%;
  background-color: white;
}

.hakonoiro{
 background-color: white; 
}



.list-side-title-2{
  justify-content: left;
}

.list-side-title-2 .list-menu-2{
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
}

.img{
  width: 90%;        
  max-width: 300px;   
  height: auto;       
  display: block;
  margin: 0 auto; 
}

.img2{
  max-width: 30%;
  height: auto; 
}

ul {
  list-style: none;      
  padding: 0;            
  text-align: center;    
}

li {
  text-align: center;    
}

ul, li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.matrix .bg-wrap,
.matrix .bg-wrap .inn {
  display: block;
}

.matrix .bg-wrap {
  overflow: hidden;
  opacity: 0;
}

.matrix .bg-wrap + .bg-wrap {
  margin-top: 10px;
}

.matrix .bg-wrap .inn.large {
  font-size: 36px;
  font-weight: bold;
}
.matrix .bg-wrap .inn.small {
  font-size: 15px;
}

.matrix .bg-wrap .inn {
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.matrix.is-animated .bg-wrap {
  opacity: 1;
}

.matrix.is-animated .bg-wrap .inn {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.matrix .bg-wrap .inn {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease-out;
  text-align: center; 
}

.matrix.is-animated .bg-wrap .inn {
  opacity: 1;
  transform: translateY(0);
}

h2.type1 {
  font-size: clamp(20px, 4vw, 36px) !important;
  white-space: nowrap;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.red-font{
  color: red;
}

.mizuiro-font{
  color:#06c6c6;
}

.pink-font{
  color: rgb(253, 139, 251);
}

.murasaki-font{
  color: rgb(135, 0, 224);
  font-weight: bold; 
}

.yokonarabe{
  display: flex;
}

.mannnaka{
  justify-content: center;
}

.mannnaka2{
  text-align: center;
}

.yokonarabe2{
  flex-direction: column;
}

.flex{
  display: flex;
}

.gallery-section {
  max-width: 800px;
  margin: 3rem auto 4rem;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}


.main-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  opacity: 1;
  transition: opacity 0.4s ease;
}


.thumbnail-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}


.thumb {
  width: 30%;
  height: auto;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 6px;
  transition: border-color 0.2s ease;
}


.thumb.active {
  border-color: #4a90e2;
}

.customcyuuo{
  max-width: 800px;   
  width: 100%;        
  margin: 0 auto;     
  text-align: center; 
  font-size: clamp(14px, 5vw, 35px);
  white-space: nowrap; 
}

.jizenyoyaku{
  font-size: clamp(14px, 5vw, 28px);
  white-space: nowrap; 
}

.notkaigyo{
  font-size: clamp(15px, 3vw, 20px);
  white-space: nowrap;
}

.ittyokusen{
  white-space: nowrap;
}

.rogo{
  width: 100%;        
  max-width: 500px;   
  height: auto;       
  display: block;
  margin: 0 auto;     
}

.centermoji{
  text-align: center;
}

.textcenter {
  text-align: center;
}