@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barriecito&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ribeye+Marrow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oregano:ital@0;1&display=swap');


html, body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    background-color: #FBFFFC;
}


.top {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;  
    align-items: center;  
    padding: 0 20px;    
    background-color: white;
    position: relative;
    overflow: hidden;
    position: fixed;
    z-index: 100;
    top:0;
    left: 0;
    box-sizing: border-box;

}
 
.top img{
    height: 30px;
    display: block;
    object-fit: contain;
}
.page{
    width: 100vw;
    height: auto;
    margin-top: 70px;
}
h1{
    font-weight: 500;
    font-size: 36px;
}
.section{
    width: 100vw;
    height: auto;
    padding: 3%;
    box-sizing: border-box;
}
.section h2{
    font-weight: 500;
    font-size: 36px;
    max-width: 90%;
    margin: 2% auto;
    text-align: center;
    display: block;
}
.center-text{
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    max-width: 75%;
    margin: 10px auto;
}
.animnum{
    font-weight: 500;
    font-size: 18px;
    margin: 0;
    padding: 12px;
    border-radius: 20px;
    display: inline-flex;
    border: 1px solid #3ACF69;
    background-color: #B1EFC4;
}
.center-photo{
    width: 75%;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    transition: transform 0.3s ease;
}
.center-photo:hover{
    transform: scale(0.99);
}
.italic{
    font-style: italic;
}
.green_t{
    color: #1AAA48;
}
.text-emp{
    font-style: italic;
    font-weight: 600;
    color: #1AAA48;
}
/*main split*/
.split {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center; 
}

.cell_l{
    width: 40%;
    padding: 5% 2%;
    box-sizing: border-box;
}
.cell_r {
    width: 60%;
    padding: 5%;
    box-sizing: border-box;
}
.cell_50{
    width: 50%;
    padding: 2%;
}
.main_title_note{
    padding:0;
    margin-top: 7%;
    font-size: 32px;
}
.hand_write{
    font-family: "Oregano", cursive;
    font-weight: 500;
    color: #1AAA48;
}
.split-photo{
    width: 60%;
    height: auto;
    margin: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow:4px 4px 2px rgba(0.4,0.4,0.4,0.1);
}
.split-photo:hover{
    transform: scale(0.98);
}
.split-inline-photo{
    width: 100%;
    height: auto;
    margin: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}
.split-inline-photo:hover{
    transform: scale(0.98);
}
.split-child-photo{
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin: 20px 0;
    border-radius: 50px;
    border: 2px solid black;
}
.split_title{
    font-size: 28px;
    font-weight: 500;
    margin: 10px 0;
    padding: 0;
    text-align: left;
}
.split_text{
    margin: 20px 0;
    padding: 0;
    font-size: 22px;
    text-align: left;
}
.book_line{
    border-right: 5px solid rgb(140,140,140);
    border-left: 1px solid gray;
    box-shadow:4px 0px 2px rgba(0.4,0.4,0.4,0.1);
}





/*book*/
.book-container{
    position: relative;
    width: 100%;
    height: auto;
}
.book{
    width: 100%;
    height: auto;
    display: flex;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgb(160,160,160);
    box-shadow:12px 2px 12px rgba(0.2,0.2,0.2,0.1);
    transition: transform 0.3s ease;
}
.book_l,
.book_r {
    display: flex;
    flex-direction: column;
    width: 50%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 2 / 3;  
}
.book_l{
    border-right: 2px solid rgb(220,220,220);
    box-shadow:6px 0px 6px rgba(0.2,0.2,0.2,0.1);
}
.book_l img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.book_r{
    border-left: 2px solid rgb(200,200,200);;
    display: flex;
    justify-content: center;
    text-align: center;    
}
.book_r h3{
    font-family: "Ribeye Marrow", serif;
    max-width: 75%;
    font-size: 22px;
    margin: 5px 20px;
    padding: 0;
    text-align: left;
    font-weight: 500;
}
.book_r p{
    max-width: 75%;
    font-size: 16px;
    margin: 5px 20px;
    padding: 0;   
    text-align: left;
}
 
.book_story_c img{
    position: absolute;
    right: -5%;
    top:80%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #3ACF69;
    box-shadow:6px 0px 6px rgba(0.2,0.2,0.2,0.1);
    transition: transform 0.3s ease;
}
.book:hover{
    transform: scale(0.98);
}
.book_story_c img:hover{
    transform: scale(1.1);
}



/*sparkle button*/
.sparkle-button {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  background: #3ACF69;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  overflow: visible;
  box-shadow:4px 4px 2px rgba(0.4,0.4,0.4,0.1);
  transition: transform 0.3s ease;
}

.sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0;
  animation: sparkleFlash 0.6s ease-out forwards;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.sparkle-button:hover{
    color: black;
    transform: scale(0.98);
}
@keyframes sparkleFlash {
  0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
  100% { opacity: 0; transform: scale(0.7) rotate(45deg); }
}

.hide{
    display: none;
}



/*list*/
.photo-text-list{
    width: 75%;
    height: auto;
}
.photo-text-line{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;       
    gap: 16px; 
    margin: 20px 0;    
    transition: transform 0.3s ease;   
}

.photo-text-line img{
  width: 100px;
  height: 100px;
  border-radius: 50%;    
  object-fit: cover;       
  border: 2px solid black;
}

.photo-text-line p{
  font-size: 18px;
  max-width: 75%;   
}
.photo-text-line:hover{
    transform: scale(0.98);
}


#interactiveBookContainer {
    position: relative;
    width: 100%
    height: auto;
    margin: auto;
}


/*FAQ*/
.faq {
  max-width: 45%;
  margin: auto;
}
.faq-item {
  background: #FAFAFA;
  margin-bottom: 10px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgb(230,230,230);
}
.faq-question {
  padding: 30px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1AAA48;
}
.faq-answer {
  padding: 0 30px 20px 30px;
  display: none;
  font-size: 16px;
  line-height: 1.4;
}
.faq-item.open .faq-answer {
  display: block;
}
.arrow {
  transition: transform 0.3s ease;
}
.faq-item.open .arrow {
  transform: rotate(180deg);
}


/*FOOTER*/
.site-footer {
  height: 20vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4vh 6vw;
  background-color: #1AAA48;
  box-sizing: border-box;

}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  font-size: 14px;
}

.footer-left a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.footer-right .footer-logo {
  width: 180px;
  object-fit: contain;
}




@media (max-width: 768px) {

    h1, h2, h3, h4, p{
        margin-left: 0;
        max-width: 90%;
        text-align: left;
    }
    h1{
        font-size: 28px;
    }

    h2{
        font-weight: 400;
        font-size: 16px;
    }
    .top img{
        height: 20px;
    }    
    .section{
        padding: 1%;
        margin-bottom: 30%;
    }
    .section h2{
        font-weight: 500;
        font-size: 30px;
        text-align: left;
    }    
    .split {
        display: block;
    }

    .cell {
        width: 100%;
        border-right: none;
      }
    .cell_l, .cell_r{
        width: 100%;
        padding: 1vh 2vw;
    }
    .cell_r{
        margin-top: 5%;
    }
    .hand_write{
        margin-top: 3%;
        font-size: 28px;
    }    
    .split-photo{
        width: 96%;
        margin: 0;
    }
    .center-text{
        text-align: left;
        max-width: 90%;
    }    
    .center-photo{
        width: 100%;
        margin: 0;     
    }    
    .animnum{
        font-weight: 500;
        font-size: 16px;
    }    
    .book{
        border-radius: 20px;
        width: 100%;
        margin: 0;
    }
    .book_r h3{
        max-width: 85%;
        font-size: 18px;
    }
    .book_r p{
        max-width: 85%;
        font-size: 14px;
        text-align: left;
    }
    .book_story_c img{
        right: 0%;
        top:80%;
        width: 140px;
        height: 140px;        
    }
    .sparkle-button {
      padding: 12px 24px;
      font-size: 20px;
    } 

    .photo-text-list{
        width: 96%;
    }      
    .photo-text-line img{
      width: 80px;
      height: 80px;
    }
    .photo-text-line p{
      font-size: 18px; 
    }
    .faq {
      max-width: 95%;
    }

}




















