/**
 * レスポンシブデザイン追加CSS
 * lelienモバイルアカデミー
 */

/* Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Large devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .certification-card {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Medium devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand .brand-text {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .certification-card {
        margin-bottom: 2rem;
    }
    
    .partner-card {
        margin-bottom: 2rem;
    }
    
    .about-image {
        margin-top: 2rem;
    }

    .certification-img,
    .services-img {
        width: 120px;
        height: 120px;
    }

    /* Video Section - Medium devices */
    .video-container {
        min-height: 250px;
    }
    
    .video-player {
        height: 250px;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .cta-buttons .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}

/* Small devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .navbar-brand {
        align-items: center;
        text-align: center;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.4rem;
    }
    
    .hero-content {
        padding: 60px 0 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .title-main {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-item {
        flex: 1;
        max-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .certification-card,
    .service-card,
    .partner-card {
        margin-bottom: 1.5rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .about-content .lead {
        font-size: 1rem;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .image-placeholder {
        padding: 2rem 1rem;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* Logo adjustments for mobile */
@media (max-width: 768px) {
    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .footer-logo {
        width: 35px;
        height: 35px;
    }

    .hero-image-container {
        margin-top: 2rem;
    }

    .floating-images {
        height: 250px;
    }

    .hero-accent-img {
        width: 70px;
        height: 70px;
    }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.3rem;
    }
    
    .navbar-brand .brand-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-content {
        padding: 50px 0 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .title-main {
        font-size: 1.5rem;
        display: block;
        margin-bottom: 0.2rem;
    }
    
    .title-highlight {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .certification-card,
    .service-card,
    .partner-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card-icon i {
        font-size: 2.5rem;
    }
    
    .certification-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .partner-level {
        font-size: 1.1rem;
    }
    
    .partner-commission {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
    }
    
    .about-content .lead {
        font-size: 0.95rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
    
    .about-features {
        margin-top: 1.5rem;
    }
    
    .feature-item {
        justify-content: center;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .feature-item i {
        margin-right: 0.8rem;
    }
    
    .about-image {
        margin-top: 1.5rem;
    }
    
    .image-placeholder {
        padding: 1.5rem 1rem;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
    
    .image-placeholder p {
        font-size: 0.9rem;
    }
    
    .certification-benefits {
        padding: 2rem 1rem;
    }
    
    .certification-benefits h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-item {
        margin-bottom: 1.5rem;
    }
    
    .benefit-item i {
        font-size: 1.8rem;
    }
    
    .benefit-item h5 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .benefit-item p {
        font-size: 0.85rem;
    }
    
    .service-features {
        margin: 1rem 0;
    }
    
    .feature-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
        text-align: left;
    }
    
    .plan-name {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .plan-price {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .plan-detail {
        font-size: 0.8rem;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0 0.4rem 1.2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info h4 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .info-item i {
        font-size: 1rem;
        margin-right: 1rem;
        margin-top: 0.1rem;
        min-width: 16px;
    }
    
    .info-item strong {
        font-size: 0.9rem;
    }
    
    .info-item div {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand .brand-text {
        font-size: 1.2rem;
    }
    
    .footer-brand .brand-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-links {
        margin-top: 1rem;
        text-align: center !important;
    }
    
    .footer-links a {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        text-align: center !important;
        margin-top: 1rem !important;
    }
    
    .social-links a {
        font-size: 1.1rem;
        margin: 0 0.5rem;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
    }

    .footer-logo {
        width: 30px;
        height: 30px;
    }

    /* Video Section - Mobile */
    .video-card {
        margin-bottom: 2rem;
    }
    
    .video-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .video-title {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .video-title i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .video-description {
        font-size: 0.85rem;
    }
    
    .video-container {
        min-height: 200px;
    }
    
    .video-player {
        height: 200px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .video-info {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .video-stats {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.2rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.8rem;
    }

    .about-img {
        max-width: 100%;
    }

    .video-detail-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .detail-icon {
        width: 60px;
        height: 60px;
    }

    .detail-icon i {
        font-size: 1.5rem;
    }

    .video-detail-card h4 {
        font-size: 1.1rem;
    }

    .video-detail-card p {
        font-size: 0.85rem;
    }

    .certification-img,
    .services-img {
        width: 80px;
        height: 80px;
    }

    .certification-hero-image,
    .services-hero-image {
        margin-bottom: 1.5rem;
    }

    .hero-image-container {
        display: none;
    }

    .gallery-image {
        height: 200px;
    }

    .gallery-content h4 {
        font-size: 1rem;
    }

    .gallery-content p {
        font-size: 0.8rem;
    }

    /* Smartphone Lady - Mobile */
    .lady-info-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

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

    .ewa-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .ewa-step {
        margin-bottom: 1rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    .ewa-badge {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    .lady-cta-box {
        padding: 2rem 1.5rem;
    }

    .lady-cta-box h3 {
        font-size: 1.4rem;
    }

    .lady-cta-box p {
        font-size: 0.95rem;
    }

    .business-division-section {
        padding: 1.5rem;
    }

    .business-division-section h3 {
        font-size: 1.4rem;
    }

    .division-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .division-icon {
        width: 60px;
        height: 60px;
    }

    .division-icon i {
        font-size: 1.5rem;
    }
}

/* Landscape phone orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-content {
        padding: 30px 0 20px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .title-main {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .brand-text,
    .section-title,
    .hero-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Future dark mode styles can be added here */
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .scroll-to-top,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero-section {
        background: white;
        color: black;
        page-break-inside: avoid;
    }
    
    .section-title {
        color: black;
        page-break-after: avoid;
    }
    
    .certification-card,
    .service-card,
    .partner-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
        box-shadow: none;
    }
}