/*
Theme Name: Nobinobi Yushin Gakusya
Theme URI: https://example.com/
Description: 寺子屋 のびのび遊心学舎のためのオリジナルテーマ
Author: Your Name
Author URI: https://example.com/
Version: 1.0.0
*/

/* * index.html内のカスタムスタイルをここに移植します 
 * Tailwind CSSはCDNで読み込みますが、補完的なスタイルはここに記述します
 */

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #5D5046;
    background-color: #FDFCF8;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Zen Maru Gothic', sans-serif;
    word-break: keep-all; /* auto-phrase is not fully supported yet */
    overflow-wrap: break-word;
}

/* Organic Blob Shapes */
.blob-shape-1 {
    border-radius: 64% 36% 27% 73% / 55% 58% 42% 45%;
}
.blob-shape-2 {
    border-radius: 33% 67% 58% 42% / 63% 36% 64% 37%;
}
.blob-shape-3 {
    border-radius: 73% 27% 26% 74% / 37% 73% 27% 63%;
}

/* Wave Dividers */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}
.wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
}

/* Marker highlighter effect */
.marker-yellow {
    background: linear-gradient(transparent 60%, rgba(255, 217, 114, 0.4) 60%);
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.marker-orange {
    background: linear-gradient(transparent 60%, rgba(255, 176, 133, 0.4) 60%);
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Smooth fade-in animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    position: relative;
    text-decoration: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFB085;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover::after {
    transform: scaleX(1);
}