/* Base Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Shimmer Effect for CTA Buttons */
@keyframes shimmer {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }

    100% {
        transform: translateX(200%) skewX(-20deg);
    }
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg) translateX(-150%);
    animation: shimmer 2.5s infinite;
}

/* Highlighter Style */
.marker-yellow {
    background: linear-gradient(transparent 60%, rgba(253, 224, 71, 0.8) 60%);
    color: #1f2937;
}

/* Smooth Scroll for TOC */
html {
    scroll-behavior: smooth;
}

/* Article Content Styles */

.article-content {
    font-size: 1.125rem;
    color: #374151;
    /* text-gray-700 */
    line-height: 1.625;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content .intro-section {
    margin-bottom: 3rem;
}

.article-content .intro-section p {
    margin-top: 1rem;
}

/* TOC */
.article-content .toc-section {
    margin-bottom: 4rem;
    background-color: #f9fafb;
    /* bg-gray-50 */
    border: 1px solid #e5e7eb;
    /* border-gray-200 */
    border-radius: 0.75rem;
    /* rounded-xl */
    padding: 1.5rem;
    /* p-6 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
}

@media (min-width: 768px) {
    .article-content .toc-section {
        padding: 2rem;
        /* md:p-8 */
    }
}

.article-content .toc-title {
    font-weight: 700;
    color: #1f2937;
    /* text-gray-800 */
    font-size: 1.25rem;
    /* text-xl */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

.article-content .toc-title i {
    color: #2563eb;
    /* text-blue-600 */
    margin-right: 0.75rem;
}

.article-content .toc-list {
    margin-left: 0.5rem;
    font-weight: 500;
}

.article-content .toc-list li {
    margin-bottom: 0.75rem;
}

.article-content .toc-list a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.article-content .toc-list a:hover {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Sections & Headings */
.article-content section {
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 1.5rem;
    /* text-2xl */
    color: #1f2937;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
    border-left: 5px solid #2563eb;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.article-content h3 {
    font-size: 1.25rem;
    /* text-xl */
    color: #1f2937;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #cbd5e1;
    /* border-slate-300 */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-content h3 i {
    color: #3b82f6;
    /* text-blue-500 */
    margin-right: 0.5rem;
}

.article-content .text-body {
    margin-bottom: 1rem;
}

.article-content .text-body p {
    margin-bottom: 1rem;
}

/* Tables */
.article-content .table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.article-content table {
    width: 100%;
    min-width: 600px;
    background-color: #ffffff;
    font-size: 0.875rem;
    /* text-sm md:text-base */
    border-collapse: collapse;
}

@media (min-width: 768px) {
    .article-content table {
        font-size: 1rem;
    }
}

.article-content caption {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.article-content th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f3f4f6;
    /* bg-gray-100 */
    color: #1f2937;
}

.article-content td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    /* text-gray-600 */
}

.article-content tbody tr {
    transition: background-color 0.2s;
}

.article-content tbody tr:hover {
    background-color: #f9fafb;
    /* hover:bg-gray-50 */
}

.article-content td.col-grade {
    font-weight: 700;
    text-align: center;
    background-color: #eff6ff;
    /* bg-blue-50 */
    color: #1f2937;
}

.article-content .badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.badge-green {
    background-color: #dcfce7;
    color: #166534;
}

.badge-blue {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-red {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
}

/* School Cards */
.school-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    border: 1px solid #f3f4f6;
    overflow: hidden;
    margin-bottom: 3rem;
}

.card-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.card-icon {
    color: white;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    border: none;
    padding: 0;
}

.card-body {
    padding: 1.5rem;
}

.pricing-box {
    background-color: #f9fafb;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-box h4 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.25rem;
}

.pricing-box h4 i {
    color: #6b7280;
    margin-right: 0.5rem;
}

.pricing-box ul {
    color: #374151;
}

.pricing-box li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.locations-box {
    margin-bottom: 1.5rem;
}

.locations-box h4 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.locations-box h4 i {
    color: #6b7280;
    margin-right: 0.5rem;
}

.locations-list {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    padding: 0.75rem;
    font-size: 0.875rem;
}

.locations-list.scrollable {
    height: 12rem;
    overflow-y: auto;
}

.locations-list.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .locations-list.grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.locations-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.locations-list i {
    color: #ef4444;
    /* text-red-500 */
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.map-box {
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
}

.map-box iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

.map-box p {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.features-box {
    display: flex;
    align-items: center;
    background-color: #eef2ff;
    /* bg-indigo-50 */
    color: #3730a3;
    /* text-indigo-800 */
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.features-box i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.features-box strong {
    display: block;
}

.features-box span {
    font-size: 0.875rem;
}

.cta-box {
    margin-top: 2rem;
}

.cta-btn {
    width: 100%;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
    box-sizing: border-box;
}

.cta-btn i {
    margin-left: 0.5rem;
}

/* Card Themes */
/* Orange */
.school-peppy .card-header {
    background-color: #fff7ed;
    border-bottom-color: #ffedd5;
}

.school-peppy .card-icon {
    background-color: #f97316;
}

.school-peppy .cta-btn {
    background-color: #f97316;
}

.school-peppy .cta-btn:hover {
    background-color: #ea580c;
}

/* Blue */
.school-gsa .card-header {
    background-color: #eff6ff;
    border-bottom-color: #dbeafe;
}

.school-gsa .card-icon {
    background-color: #2563eb;
}

.school-gsa .cta-btn {
    background-color: #2563eb;
}

.school-gsa .cta-btn:hover {
    background-color: #1d4ed8;
}

/* Yellow */
.school-meiko .card-header {
    background-color: #fefce8;
    border-bottom-color: #fef08a;
}

.school-meiko .card-icon {
    background-color: #eab308;
}

.school-meiko .cta-btn {
    background-color: #eab308;
}

.school-meiko .cta-btn:hover {
    background-color: #ca8a04;
}

/* Pink */
.school-nova .card-header {
    background-color: #fdf2f8;
    border-bottom-color: #fce7f3;
}

.school-nova .card-icon {
    background-color: #ec4899;
}

.school-nova .cta-btn {
    background-color: #ec4899;
}

.school-nova .cta-btn:hover {
    background-color: #db2777;
}

/* Purple */
.school-espi .card-header {
    background-color: #faf5ff;
    border-bottom-color: #f3e8ff;
}

.school-espi .card-icon {
    background-color: #9333ea;
}

.school-espi .cta-btn {
    background-color: #9333ea;
}

.school-espi .cta-btn:hover {
    background-color: #7e22ce;
}

/* Teal */
.school-jumpstart .card-header {
    background-color: #f0fdfa;
    border-bottom-color: #ccfbf1;
}

.school-jumpstart .card-icon {
    background-color: #0d9488;
}

.school-jumpstart .cta-btn {
    background-color: #0d9488;
}

.school-jumpstart .cta-btn:hover {
    background-color: #0f766e;
}

/* Feature link box */
.feature-link-box {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.feature-link-box p {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-link-box p i {
    margin-right: 0.25rem;
}

.feature-link-box a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

@media (min-width: 768px) {
    .feature-link-box a {
        font-size: 1rem;
    }
}

.feature-link-box a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Info Box Section */
.info-section {
    background-color: #eff6ff;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #dbeafe;
    margin-bottom: 3rem;
}

.info-section h2 {
    color: #1e3a8a;
    /* text-blue-900 */
    margin-top: 0;
    margin-bottom: 2rem;
    border-left: none;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.info-section h2 i {
    color: #2563eb;
    font-size: 1.875rem;
    margin-right: 0.75rem;
}

/* FAQ Section */
.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category>h3 {
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .faq-item {
        padding: 1.5rem;
    }
}

.faq-question,
.faq-answer {
    display: flex;
    align-items: flex-start;
}

.faq-question {
    margin-bottom: 0.75rem;
}

.faq-q-mark {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    line-height: 1;
    margin-top: 0.25rem;
}

.faq-question p {
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.faq-a-mark {
    color: #f97316;
    /* text-orange-500 */
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    line-height: 1;
    margin-top: 0.25rem;
}

.faq-answer p {
    margin: 0;
}