@charset "UTF-8";
/** 
 * サイト用CSS(SP用）
 */

/* フロントページ モバイル用スタイル */

/* タブレット用 (768px以下) */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    /* コンテナのパディング調整 */
    .container {
        padding: 0 1.5rem;
    }

    /* セクションのパディング調整 */
    .hero-section,
    .features-section,
    .how-to-section,
    .cta-section {
        padding: 3rem 0;
    }

    .stats-section {
        padding: 3rem 0;
    }

    /* カードのパディング調整 */
    .feature-card {
        padding: 1.5rem;
    }

    /* ステップアイテムの調整 */
    .step-item {
        gap: 0.8rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* スマートフォン用 (480px以下) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

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

    .btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

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

    /* コンテナのパディング調整 */
    .container {
        padding: 0 1rem;
    }

    /* セクションのパディング調整 */
    .hero-section,
    .features-section,
    .how-to-section,
    .cta-section {
        padding: 2rem 0;
    }

    .stats-section {
        padding: 2rem 0;
    }

    /* セクションタイトル */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

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

    /* カードのパディング調整 */
    .feature-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    /* 統計セクション */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* ステップアイテムの調整 */
    .step-item {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

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

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    /* ヒーローセクションの調整 */
    .hero-section {
        min-height: 80vh;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* アイコンのサイズ調整 */
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    /* CTAセクションの調整 */
    .cta-description {
        font-size: 1rem;
    }
}

/* 超小型スマートフォン用 (320px以下) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .title-sub {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .container {
        padding: 0 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

/* 横画面スマートフォン用 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-content {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }

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

/* タッチデバイス用の調整 */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-card {
        cursor: pointer;
    }

    .feature-card:hover {
        transform: none;
    }

    .feature-card:active {
        transform: scale(0.98);
    }
}
