@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Montserrat:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    /* Colors */
    --color-bg-navy: #0b1026;
    --color-bg-dark: #080b1a;
    --color-text-main: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-gold: #C5B358;
    --color-gold-light: #e6dcb5;
    --color-sage: #D0E1D4;
    --color-sage-deep: #8CA692;
    --color-white: #ffffff;
    --color-glass: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-navy);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.text-sage {
    color: var(--color-sage);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--spacing-sm) auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), #A08C3C);
    color: var(--color-bg-navy);
    box-shadow: 0 4px 15px rgba(197, 179, 88, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 179, 88, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(197, 179, 88, 0.1);
    color: var(--color-white);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center bottom;
    /* Adjusted to show flowers at bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 16, 38, 0.3);
    /* Slight overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--color-sage);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Philosophy Section */
.philosophy {
    background: url('assets/philosophy_bg.png') no-repeat center center;
    background-size: cover;
    color: var(--color-bg-navy);
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Lighten for readability */
}

.philosophy .container {
    position: relative;
    z-index: 2;
}

.philosophy .section-title {
    color: var(--color-bg-navy);
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    text-align: center;
    line-height: 2.2;
}

/* Courses Section */
.courses {
    background: var(--color-bg-dark);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.course-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.course-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.course-content {
    padding: var(--spacing-md);
}

.course-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold);
}

.course-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin: var(--spacing-sm) 0;
    font-family: var(--font-heading);
}

.course-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
}

.course-details ul li::before {
    content: '✦';
    color: var(--color-gold);
    margin-right: 10px;
}

/* Curriculum Section */
.curriculum {
    background-color: var(--color-bg-navy);
}

.curriculum-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.curriculum-item {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--color-sage);
}

.curriculum-item h4 {
    color: var(--color-sage);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Admission Info */
.admission {
    background: linear-gradient(to bottom, var(--color-bg-navy), #000000);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-md);
}

.info-table th,
.info-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.info-table th {
    width: 30%;
    color: var(--color-gold);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000;
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        padding-bottom: 0.5rem;
    }

    .info-table td {
        padding-top: 0;
        color: var(--color-text-muted);
    }
}/ *   H e r o   S e c t i o n   S t y l e s   U p d a t e   * / 
 
 . h e r o - s u b t i t l e   { 
 
         d i s p l a y :   b l o c k ; 
 
         f o n t - s i z e :   1 . 1 r e m ; 
 
         f o n t - w e i g h t :   5 0 0 ; 
 
         l e t t e r - s p a c i n g :   0 . 2 e m ; 
 
         c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 8 ) ; 
 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
 
         t e x t - t r a n s f o r m :   u p p e r c a s e ; 
 
 } 
 
 
 
 . h e r o - t e r m - h i g h l i g h t   { 
 
         d i s p l a y :   b l o c k ; 
 
         f o n t - s i z e :   1 . 8 r e m ; 
 
         / *   g:~*6nv]N%:~^K  * / 
 
         f o n t - w e i g h t :   7 0 0 ; 
 
         c o l o r :   v a r ( - - c o l o r - g o l d ) ; 
 
         / *   g~t]~|]~k]~\0w  * / 
 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
 
         l e t t e r - s p a c i n g :   0 . 1 e m ; 
 
         t e x t - s h a d o w :   0   0   1 5 p x   r g b a ( 2 1 2 ,   1 7 5 ,   5 5 ,   0 . 4 ) ; 
 
         / *   zYrgk0* / 
 
         a n i m a t i o n :   f a d e I n U p   0 . 8 s   e a s e - o u t   f o r w a r d s ; 
 
 } 
 
 
 
 . h e r o - t i t l e   { 
 
         f o n t - s i z e :   c l a m p ( 2 . 5 r e m ,   5 v w ,   4 r e m ) ; 
 
         f o n t - w e i g h t :   7 0 0 ; 
 
         l i n e - h e i g h t :   1 . 2 ; 
 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f f f   0 % ,   # e 0 e 0 e 0   1 0 0 % ) ; 
 
         - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ; 
 
         - w e b k i t - t e x t - f i l l - c o l o r :   t r a n s p a r e n t ; 
 
         t e x t - s h a d o w :   0   0   3 0 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
 
 } 
 
 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
 
         . h e r o - t e r m - h i g h l i g h t   { 
 
                 f o n t - s i z e :   1 . 4 r e m ; 
 
                 / *   ]~b]~F0]~k(t  * / 
 
                 m a r g i n - b o t t o m :   1 r e m ; 
 
         } 
 
 
 
         . h e r o - t i t l e   { 
 
                 f o n t - s i z e :   2 r e m ; 
 
         } 
 
 }


/* Hero Section Styles Update (Enhanced Visibility) */
.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-term-highlight {
    display: inline-block;
    font-size: clamp(1.8rem, 4vw, 2.6rem); /* 最大2.6remまで大きく */
    font-weight: 800; /* より太く */
    color: #FFD700; /* 明るいゴールド */
    background: rgba(0, 0, 0, 0.5); /* 背景を暗くしてコントラスト確保 */
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 215, 0, 0.5); /* ゴールドの枠線 */
    border-radius: 8px; /* 角丸 */
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 10px rgba(0,0,0,0.8);
    backdrop-filter: blur(4px); /* 背景ぼかしでモダンに */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-term-highlight {
        font-size: 1.6rem; /* スマホでも十分大きく */
        padding: 0.6rem 1.5rem;
        margin-bottom: 1.5rem;
        width: 90%; /* 幅を持たせて目立たせる */
    }
    .hero-title {
        font-size: 2.2rem;
    }
}
