/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* Base Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #FDFCF5;
    color: #333333;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Noto Serif JP', serif;
}

/* 
 * Fade Slider 
 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Slider Animation - A simple keyframe animation could be used, 
   but since it's only 2 slides, a simple CSS animation with infinite loop is easier. */
@keyframes fadeSlide {
    0%, 45% { opacity: 1; visibility: visible; z-index: 10; }
    50%, 95% { opacity: 0; visibility: hidden; z-index: 0; }
    100% { opacity: 1; visibility: visible; z-index: 10; }
}

@keyframes fadeSlideReverse {
    0%, 45% { opacity: 0; visibility: hidden; z-index: 0; }
    50%, 95% { opacity: 1; visibility: visible; z-index: 10; }
    100% { opacity: 0; visibility: hidden; z-index: 0; }
}

.slide-1 {
    animation: fadeSlide 12s infinite;
}

.slide-2 {
    animation: fadeSlideReverse 12s infinite;
}

.slide-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

/* Organic Stamp */
.organic-stamp {
    display: inline-block;
    padding: 1rem 2rem;
    border: 3px solid #FDFCF5;
    border-radius: 2px 10px 3px 8px; /* Organic slightly irregular shape */
    background: rgba(253, 252, 245, 0.1);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Tag style for high schools */
.tag-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #FDFCF5;
    border: 1px solid #D2B48C;
    color: #6B8E23;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(210, 180, 140, 0.2);
}

.tag-badge:hover {
    background-color: #6B8E23;
    color: #FDFCF5;
    transform: translateY(-2px);
}

/* Custom Table Styles */
.price-table th {
    background-color: rgba(107, 142, 35, 0.1);
    color: #6B8E23;
    font-weight: 700;
}
.price-table td, .price-table th {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}
.price-table tr:last-child td {
    border-bottom: none;
}

/* Custom Check List */
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%236B8E23"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* Step Flow */
.step-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}
.step-item::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: -1rem;
    width: 2px;
    background-color: rgba(107, 142, 35, 0.2);
}
.step-item:last-child::before {
    display: none;
}
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #6B8E23;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
    z-index: 10;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-question {
    cursor: pointer;
    position: relative;
    padding: 1.5rem 3rem 1.5rem 1rem;
    font-weight: bold;
    color: #333;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #6B8E23;
    transition: transform 0.3s;
}
.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1rem;
    color: #4b5563;
}
.faq-question.active + .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}
