/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #6A0DAD;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF00FF;
}

h1, h2, h3, h4, h5 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; color: #4B0082; }

p {
    margin-bottom: 1em;
}

ul, ol {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}
.text-center { text-align: center; }
.mt-small { margin-top: 15px; }
.mt-medium { margin-top: 30px; }
.mt-large { margin-top: 60px; }
.mb-medium { margin-bottom: 30px; }
.mb-large { margin-bottom: 60px; }
.bg-light { background-color: #f9f9f9; }
.bg-dark { background-color: #2c2c2c; }
.bg-accent-light { background-color: #f3e5f5; }
.text-light { color: #f5f5f5; }
.text-emphasis { color: #FF00FF; font-weight: bold; }
.highlight-gold { color: #B8860B; }
.highlight-magenta { color: #C71585; }
.highlight-underline {
    text-decoration: underline;
    text-decoration-color: #FF00FF;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.sp-only { display: none; }
.pc-only { display: block; }
.img-responsive { width: 100%; height: auto; }
.rounded-img { border-radius: 8px; }
.shadow-img { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 20px;
}
.required-mark {
    color: #C71585;
    font-size: 0.9em;
    margin-left: 4px;
}
.form-note {
    font-size: 0.9em;
    color: #555;
}
.small-text {
    font-size: 0.85rem;
    color: #777;
}
.section-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8em 1.8em;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    font-size: 1rem;
    line-height: 1.5;
}
.btn--primary {
    background-color: #6A0DAD;
    color: #fff;
}
.btn--primary:hover {
    background-color: #4B0082;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn--large { padding: 1em 2.5em; font-size: 1.1rem; }
.btn--extra-large { padding: 1.2em 3em; font-size: 1.2rem; }
.btn--small { padding: 0.6em 1.2em; font-size: 0.9rem; }
.btn--full-width { display: block; width: 100%; }

/* Header */
.site-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header__logo img {
    max-height: 50px;
}
.nav-menu {
    display: flex;
    align-items: center;
}
.nav-menu li {
    margin-left: 25px;
}
.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6A0DAD;
    transition: width 0.3s ease;
}
.nav-menu a:not(.btn):hover::after {
    width: 100%;
}
.nav-apply-btn {
    color: #fff !important;
}
.nav-menu a.nav-apply-btn:hover {
    background-color: #4B0082 !important;
    color: #fff !important;
}
.nav-menu a.nav-apply-btn::after {
    display: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: background-color 0s 0.3s;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: transform 0.3s ease, top 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-open .hamburger {
    background-color: transparent;
}
.nav-open .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}
.nav-open .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 60px 0;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(43, 0, 83, 0.65);
}
.hero-section__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD700;
}
.hero-section__subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}
.hero-section__course-name {
    font-size: 1.15rem;
    font-weight: 500;
    color: #f0f0f0;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}
.hero-section__course-name strong {
    color: #FFD700;
    display: block;
}
.hero-section__lecturer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.lecturer-photo--small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #FFD700;
}
.hero-section__lecturer p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
}
.hero-section__cta {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Pre-Empathy Section */
.pre-empathy-section {
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}
.pre-empathy-section__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.7;
    color: #4B0082;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.section-title {
    margin-bottom: 30px;
    color: #4B0082;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Ensure iframe corners are also rounded */
}

/* Two Column Layout */
.two-column-layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
}
.two-column-layout .column-text,
.two-column-layout .column-image {
    flex: 1;
}
.two-column-layout .column-text.card {
    display: flex;
    flex-direction: column;
}
.two-column-layout.reverse-sp .column-image {
    order: -1;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.benefit-item {
    text-align: center;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.benefit-item__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
}
.benefit-item__title {
    font-size: 1.3rem;
    color: #6A0DAD;
    margin-bottom: 10px;
}
.benefit-item p {
    flex-grow: 1;
}

/* Authority Section */
.lecturer-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #4B0082;
    margin-bottom: 15px;
    line-height: 1.6;
}
.authority-section .column-text p {
    margin-bottom: 1em;
    font-size: 0.9rem;
    line-height: 1.75;
}
.authority-section .column-text p strong {
    color: #C71585;
}
.books-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: flex-end;
}
.book-thumbnail {
    width: 80px;
    height: auto;
    object-fit: contain;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.book-thumbnail--diary {
    width: 80px;
    height: 114px;
    object-fit: cover;
}
.association-logo img {
    max-height: 60px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Section */
.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.testimonial-group {
    margin-top: 40px;
}
.handwritten-accordion .handwritten-item {
    display: flex;
    flex-direction: column;
}
.testimonial-item__image--handwritten {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
}
.handwritten-expanded-content {
    display: none;
    margin-top: 20px;
}
.handwritten-expanded-content.is-visible {
    display: block;
}
.expand-testimonial-btn {
    margin-top: 15px;
    align-self: center;
}

/* Course Details (Curriculum) */
.course-details-section .video-wrapper {
    max-width: 700px;
}
.curriculum-item {
    border-bottom: 1px solid #e0e0e0;
}
.curriculum-item:last-child {
    border-bottom: none;
}
.curriculum-item__header {
    padding: 20px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.curriculum-item__header:hover {
    background-color: #f5f0fa;
}
.curriculum-item__header h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: #4B0082;
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6A0DAD;
    transition: transform 0.3s ease;
}
.curriculum-item__header.active .accordion-icon {
    transform: rotate(45deg);
}
.curriculum-item__content {
    padding: 0px 20px 20px 20px;
    display: none;
    background-color: #fff;
}
.curriculum-item__content h5 {
    font-size: 1.05rem;
    font-weight: bold;
    color: #58357a;
    margin-top: 15px;
    margin-bottom: 8px;
}
.curriculum-item__content h5:first-child {
    margin-top: 0;
}
.curriculum-item__content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 10px;
}
.curriculum-item__content ul li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
}
.curriculum-note {
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
}
.curriculum-strong {
    font-weight: bold;
    color: #C71585;
    display: block;
    text-align: center;
    margin: 15px 0;
    font-size: 1.1rem;
}
.curriculum-image {
    max-width: 280px;
    margin-top: 15px;
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.self-study-merits .benefits-grid {
    margin-top: 20px;
}

/* Privileges Section */
.privileges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.privilege-item {
    text-align: center;
}
.privilege-item__image {
    max-height: 180px;
    margin: 0 auto 15px auto;
    object-fit: contain;
}
.privilege-item__image--certificate {
    max-height: 150px;
    margin: 0 auto 15px auto;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
}
.privilege-item__title {
    font-size: 1.15rem;
    color: #4B0082;
    min-height: 3.6em;
}
.special-privilege {
    border: 2px dashed #FF00FF;
    background-color: #fff0ff;
}
.special-privilege__image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
}
.special-privilege__title {
    font-size: 1.5rem;
    color: #C71585;
}

/* Urgency Section */
.urgency-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Offer Section */
.price-box {
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid #6A0DAD;
}
.price-box__label {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}
.price-box__price {
    font-size: 3.5rem;
    font-weight: bold;
    color: #6A0DAD;
    margin-bottom: 5px;
}
.price-box__price .currency {
    font-size: 1.8rem;
    font-weight: normal;
    margin-left: 5px;
}
.price-box__price .tax {
    font-size: 1rem;
    font-weight: normal;
    color: #555;
}
.price-box__detail {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}
.price-box__includes {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
}
.price-box__includes li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
    list-style-type: none;
    position: relative;
}
.check-icon {
    color: #4CAF50;
    margin-right: 8px;
    font-weight: bold;
}
.price-box__note {
    font-size: 0.85rem;
    color: #555;
    margin-top: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #6A0DAD;
    text-align: left;
    line-height: 1.6;
}
.payment-methods p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* --- EFO Form Section Styles --- */
.application-form.pub_form_custom {
    padding: 30px 40px;
}

.form-progress-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.step-item {
    display: flex;
    align-items: center;
    color: #ccc;
}
.step-item.active {
    color: #6A0DAD;
    font-weight: bold;
}
.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 0.9rem;
}
.step-item.active .step-icon {
    background-color: #6A0DAD;
}

.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #4B0082;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: #6A0DAD;
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.2);
}

.birthdate-group {
    display: flex;
    gap: 10px;
}

.birthdate-group select.form-control {
    flex: 1;
    padding: 12px 10px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236A0DAD%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
}

.phone-group {
    display: flex;
    align-items: center;
    gap: 5px;
}
.phone-group .form-control {
    flex: 1;
    text-align: center;
}
.phone-hyphen {
    color: #888;
}

.checkbox-container, .radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 8px;
}
.checkbox-container input, .radio-container input {
    margin-right: 10px;
    accent-color: #6A0DAD;
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}
.checkbox-label, .radio-label {
    font-size: 0.95rem;
    line-height: 1.5;
}
.radio-group-vertical .radio-container {
    margin-bottom: 12px;
}

.form-hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}
.form-link {
    text-decoration: underline;
    color: #6A0DAD;
}
.form-link:hover {
    color: #FF00FF;
}
.form-submit-btn {
    padding: 1em 2em;
    font-size: 1.1rem;
    line-height: 1.4;
    height: auto;
    white-space: normal;
}
/* --- End EFO Form Styles --- */


/* FAQ Section */
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item__question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 15px;
    font-size: 1.15rem;
    font-weight: 500;
    color: #4B0082;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.faq-item__question:hover {
    background-color: #f5f0fa;
}
.faq-item__question.active .accordion-icon {
    transform: rotate(45deg);
}
.faq-item__answer {
    padding: 0px 20px 20px 20px;
    display: none;
    font-size: 0.95rem;
    color: #444;
    background-color: #fff;
}
.faq-item__answer a {
    text-decoration: underline;
}
.faq-item__answer a:hover {
    color: #FF00FF;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #ccc;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #555;
}
.footer-logo img {
    max-height: 40px;
    opacity: 0.8;
}
.footer-info p, .footer-nav ul li a {
    font-size: 0.9rem;
    color: #ccc;
}
.footer-info p { margin-bottom: 5px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 15px 25px; }
.copyright {
    padding-top: 20px;
    font-size: 0.85rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #6A0DAD;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: #4B0082;
    transform: translateY(-3px);
    color: white;
}

/* Fade-in Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s !important; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s !important; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s !important; }

/* Checklist and Timeline Styles */
.checklist-wrapper {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: left;
}
.custom-checklist,
.custom-checklist--bookmark,
.custom-checklist--arrow {
    list-style: none;
    padding-left: 0;
}
.custom-checklist li,
.custom-checklist--bookmark li,
.custom-checklist--arrow li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.8em;
    font-size: 1rem;
}
.custom-checklist li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1em;
}
.custom-checklist--bookmark li::before {
    content: '🔖';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1em;
}
.custom-checklist--arrow li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #6A0DAD;
    font-weight: bold;
}
.timeline-wrapper {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* 年表の見出しのためのCSS */
.timeline-title {
  /* text-align: center; /* テキストを中央揃え */
  font-size: 1.75rem; /* 文字サイズ（お好みで調整してください） */
  font-weight: bold;  /* 文字を太字に */
  margin-bottom: 2em; /* 見出しと年表の間の余白 */
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    position: relative;
    border-left: 2px solid #e0e0e0;
    padding-left: 30px;
}
.timeline li {
    position: relative;
    margin-bottom: 1.5em;
    padding-left: 10px;
}
.timeline li::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 3px solid #6A0DAD;
    border-radius: 50%;
    z-index: 1;
}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.reason-item {
    background: #fff;
    display: flex;
    flex-direction: column;
}
.reason-item h3 {
    color: #6A0DAD;
    font-size: 1.3rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-section__title { font-size: 2.6rem; }
    .hero-section__subtitle { font-size: 1.1rem; }
    .two-column-layout { flex-direction: column; }
    .two-column-layout.reverse-sp .column-image { order: 0; }
    .two-column-layout .column-image { margin-bottom: 30px; }
    .pre-empathy-section__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }
    .section-padding { padding-top: 40px; padding-bottom: 40px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    .site-header .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px 30px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        overflow-y: auto;
    }
    .nav-open .nav-menu {
        right: 0;
    }
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 25px;
        width: 100%;
    }
    .nav-menu a {
        font-size: 1.1rem;
    }
    .nav-menu .btn { margin-left: 0; width: 100%; }
    .hero-section { min-height: 80vh; padding: 40px 0; }
    .hero-section__title { font-size: 2.2rem; }
    .hero-section__subtitle { font-size: 1rem; }
    .hero-section__course-name { font-size: 1rem; }
    .lecturer-photo--small { width: 50px; height: 50px; }
    .two-column-layout { gap: 20px; }
    .two-column-layout.reverse-sp .column-image { order: -1; }
    .benefits-grid, .reasons-grid { grid-template-columns: 1fr; }
    .video-testimonials-grid { grid-template-columns: 1fr; }
    .privileges-grid { grid-template-columns: 1fr; }
    .privilege-item__title { min-height: auto; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-nav ul { justify-content: center; }
    .pre-empathy-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .pre-empathy-section__title {
        font-size: 1.4rem;
    }
    .application-form.pub_form_custom {
        padding: 20px;
    }
    .phone-group {
        flex-wrap: nowrap; /* Prevent wrapping */
    }
    .phone-group .form-control {
        min-width: 0; /* Allow shrinking */
    }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .hero-section__title { font-size: 1.9rem; }
    .btn--large { padding: 0.8em 2em; font-size: 1rem; }
    .btn--extra-large { padding: 1em 2.5em; font-size: 1.1rem; }
    .price-box__price { font-size: 2.8rem; }
}
