/* ===================================
   レスポンシブスタイル
   =================================== */

/* タブレット対応 */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .main-navigation {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 0.5rem 0;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .features-grid,
    .flow-steps,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card,
    .flow-step,
    .testimonial-card {
        padding: 1.5rem;
    }

    .service-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-intro-content h2 {
        font-size: 1.5rem;
    }

    .features-section,
    .flow-section,
    .testimonials-section,
    .service-intro-section,
    .cta-section {
        padding: 2.5rem 1rem;
    }

    .features-title,
    .flow-title,
    .testimonials-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* スマートフォン対応 */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        font-size: 14px;
        line-height: 1.5;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .header-wrapper {
        padding: 0.5rem 1rem;
    }

    .site-logo {
        font-size: 1rem;
    }

    .site-logo img {
        height: 30px;
    }

    .main-navigation {
        gap: 0.25rem;
    }

    .hero-section {
        padding: 1.5rem 1rem;
    }

    .hero-wrapper {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cta-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .features-section,
    .flow-section,
    .testimonials-section,
    .service-intro-section,
    .cta-section {
        padding: 1.5rem 1rem;
    }

    .features-grid,
    .flow-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card,
    .flow-step,
    .testimonial-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .flow-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .features-title,
    .flow-title,
    .testimonials-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .service-intro-content h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-intro-content p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-author {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

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

    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-column ul li {
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 0.75rem;
    }

    /* ナビゲーションメニューの改善 */
    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        display: flex;
    }

    /* ハンバーガーメニューボタン */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 360px) {
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .features-grid,
    .flow-steps,
    .testimonials-grid {
        gap: 0.75rem;
    }

    .feature-card,
    .flow-step,
    .testimonial-card {
        padding: 0.75rem;
    }
}

/* プリント対応 */
@media print {
    .site-header,
    .site-footer,
    .cta-buttons,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
