/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.4;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2563eb;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #f97316);
    border-radius: 2px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f97316;
    color: #fff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-secondary:hover {
    background: #ea580c;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    color: #2563eb;
    border: 2px solid #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-header {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===================================
   Header
   =================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 900;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #2563eb;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 1rem 0 4rem 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 600px;
}

.hero-main-title {
    font-size: 3rem;
    color: #fff;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%);
    padding: 1.2rem 1.2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
    margin: 0 auto 15rem auto;
    /* max-width: 95%; */
    line-height: 1.5;
}

.sp-only {
    display: none;
}

.hero-cta {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

.hero-subtitle-small {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 500;
    text-align: center;
}

.hero-cta-btn {
    width: 100%;
    justify-content: center;
}

.hero-title {
    font-size: 2.75rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-illustration-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
    object-fit: cover;
    max-height: 450px;
}

/* ===================================
   Lead Section
   =================================== */
.lead {
    padding: 4rem 0;
    background: #fff;
}

.lead-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 2;
    color: #475569;
}

.lead-text strong {
    color: #f97316;
    font-weight: 700;
}

/* ===================================
   Problems Section
   =================================== */
.problems {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.problem-icon i {
    font-size: 3.5rem;
    color: #f97316;
}

.problem-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.problem-title {
    font-size: 1.125rem;
    color: #333;
    font-weight: 700;
    line-height: 1.6;
}

/* ===================================
   Flow Section
   =================================== */
.flow {
    padding: 5rem 0;
    background: #fff;
}

.flow-steps {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 3px solid #2563eb;
}

.step-number {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 3rem;
    color: #f97316;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.125rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-time {
    font-size: 0.875rem;
    font-weight: 500;
}

.step-description {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    text-align: left;
}

.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #f97316;
    flex-shrink: 0;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.cta-box {
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-phone {
    color: #fff;
    margin-top: 2rem;
}

.cta-phone p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.phone-large {
    font-size: 2rem;
    font-weight: 700;
    color: #fb923c;
    margin: 1rem 0 !important;
}

.hours {
    font-size: 0.9rem;
    color: #dbeafe;
}

/* ===================================
   Contact Methods Section
   =================================== */
.contact-methods {
    padding: 5rem 0;
    background: #f8fafc;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.method-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.method-icon {
    font-size: 4rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.method-title {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.method-description {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: left;
}

.phone-info {
    margin-top: 2rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.phone-number i {
    margin-right: 0.5rem;
}

.phone-hours {
    font-size: 0.9rem;
    color: #64748b;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 5rem 0;
    background: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: #2563eb;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e3a8a;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e0e7ff;
}

.faq-q {
    flex-shrink: 0;
    color: #f97316;
    font-size: 1.25rem;
    font-weight: 900;
}

.faq-text {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-a {
    color: #2563eb;
    font-weight: 900;
    font-size: 1.125rem;
    margin-right: 1rem;
}

.faq-answer p {
    display: inline;
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-motto {
    font-size: 1.25rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 2;
}

.about-motto strong {
    color: #f97316;
    font-size: 1.375rem;
}

.about-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 2;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    color: #f97316;
    margin-bottom: 1rem;
    font-weight: 700;
}

.company-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.school-name {
    font-size: 1rem;
    color: #94a3b8;
}

.footer-contact p {
    margin: 0.75rem 0;
    font-size: 1rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #f97316;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 968px) {
    .section-title {
        font-size: 2rem;
    }

    .hero {
        min-height: 550px;
    }

    .hero-overlay {
        min-height: 550px;
        padding: 3rem 0;
    }

    .hero-main-title {
        font-size: 2.5rem;
        padding: 1.25rem 2.5rem;
        max-width: 700px;
    }

    .hero-cta {
        padding: 2rem;
        max-width: 450px;
    }

    .hero-subtitle-small {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem auto;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 0.75rem 0;
    }

    .logo h1 {
        font-size: 1.125rem;
    }

    .logo-img {
        height: 40px;
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid #e2e8f0;
        width: 100%;
        text-align: center;
    }

    .nav .btn-header {
        margin: 1rem 2rem 0.5rem 2rem;
        display: block;
        width: calc(100% - 4rem);
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 600px;
    }

    .hero-overlay {
        padding: 2rem 0;
        min-height: 600px;
        justify-content: space-between;
        align-items: stretch;
    }

    .hero-main-title {
        font-size: 1.75rem;
        padding: 1rem 1.5rem;
        margin: 1rem 0 auto 0;
        line-height: 1.6;
    }

    .sp-only {
        display: inline;
    }

    .hero-bg-image {
        object-position: center center;
    }

    .hero-cta {
        padding: 1.5rem;
        max-width: 100%;
        margin: auto 0 1rem 0;
    }

    .hero-subtitle-small {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-cta-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .flow-arrow {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .phone-large {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .about-motto {
        font-size: 1.125rem;
    }

    .about-motto strong {
        font-size: 1.125rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}
