/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* ナビゲーション */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-dark-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* ヒーローセクション */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
        text-align: center;
    }
    
    /* セクション */
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* ギャラリーとグリッド */
    .gallery-grid,
    .points-grid,
    .salary-grid,
    .environment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 料金表 */
    .pricing-table {
        padding: 1rem;
    }
    
    .pricing-table table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.8rem;
    }
    
    /* 応募ボタン */
    .application-methods {
        flex-direction: column;
        align-items: center;
    }
    
    /* コンタクトボタン */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* フッター */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .concept h3,
    .interior-gallery h3,
    .pricing-table h3,
    .appeal-points h3,
    .salary-details h3,
    .work-environment h3,
    .application h3 {
        font-size: 1.5rem;
    }
    
    .gallery-item,
    .point-item,
    .salary-item,
    .environment-item {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .pricing-table table {
        font-size: 0.8rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.6rem;
    }
    
    .point-icon {
        width: 60px;
        height: 60px;
    }
    
    .point-icon i {
        font-size: 1.5rem;
    }
    
    .salary-amount {
        font-size: 1.5rem;
    }
    
    .environment-item i {
        font-size: 2rem;
    }
}

/* 高さベースのメディアクエリ */
@media (max-height: 600px) {
    .hero {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* 横向き画面用 */
@media (orientation: landscape) and (max-width: 768px) {
    .hero {
        height: 120vh;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* アニメーションの最適化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* タッチデバイス用 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .gallery-item:hover,
    .point-item:hover {
        transform: none;
    }
}

/* 印刷用 */
@media print {
    .navbar,
    .hero-buttons,
    .application-methods,
    .contact-buttons {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        padding: 20px 0;
    }
}