* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Yu Gothic', 'YuGothic', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.5;
    color: #000000;
    background: #f8f9fa;
    letter-spacing: 0.05em;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url(assets/images/body-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ヘッダー */
.header {
    position: relative;
    width: 100%;
    background: transparent;
    z-index: 1000;
}

.header-inner {
    max-width: 400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}


.logo-icon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    background: linear-gradient(45deg, #002095, #002095);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.logo-text {
    display: block;
}

/* バーガーメニュー */
.burger {
    position: fixed;
    top: 22px;
    right: max(20px, calc(50% - 200px + 20px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger span {
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

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

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    text-align: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #888888;
}

.sub-nav {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
    display: none;
}

.mobile-nav li:hover .sub-nav {
    display: block;
}

.sub-nav li {
    margin-bottom: 10px;
}

.sub-nav a {
    font-size: 1rem;
    color: #666;
}

.sub-nav a:hover {
    color: #667eea;
}

/* フルスクリーンメニュー */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active {
    transform: translateX(0);
}

.menu-content {
    text-align: center;
    padding: 20px;
}

.menu-item {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 15px 0;
    margin: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.menu-item:hover {
    color: #002095;
    transform: scale(1.05);
}

.menu-item:hover::after {
    width: 40px;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* メインコンテンツ */
main {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

/* ヒーローセクション */
.hero {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    z-index: 2;
    height: 770px;

    .line-cta-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 36px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    z-index: -1;
}

/* 背景画像セクション */
.hero-section-wrapper {
    position: relative;
    background-image: url(assets/images/fv.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.content-section {
    background: white;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;

    .section-title {
        text-align: center;
        margin-bottom: 30px;

        .title-text {
            font-size: 2rem;
            font-weight: 700;
            position: relative;
            line-height: 1.5;
            word-wrap: break-word;
            display: block;
        }

        &::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
}

.problem-section {
    padding: 60px 20px;
    text-align: center;
    
    .problem-img {
        margin-bottom: 50px;
        display: flex;
        justify-content: center;
        
        img {
            max-width: 100%;
            height: auto;
        }
    }
    
    .problem-list {
        list-style: none;
        margin: 0 auto;
        padding: 0;
        display: inline-block;

        .problem-item {
            display: flex;
            align-items: center;
            margin-bottom: 22px;
            animation: slideInLeft 0.8s ease-out;
            justify-content: flex-start;
            padding-right: 0;

            img {
                width: 24px;
                height: 24px;
                flex-shrink: 0;
            }

            .problem-text {
                font-weight: 700;
                margin-left: 20px;
                text-align: left;
                padding-right: 0;
            }
        }
    }
}

.solution-section {
    .solution-grid {
        display: grid;
        gap: 20px;
    }

    .solution-card {
        background: #002095;
        padding: 40px 20px;
        border-radius: 10px;
        text-align: center;
        transition: all 0.3s ease;
        animation: cardFloat 0.8s ease-out;
        position: relative;
        overflow: hidden;
        word-wrap: break-word;
        color: #ffffff;

        &::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: cardGlow 4s ease-in-out infinite;
        }

        .solution-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .solution-image {
            padding: 0;
            margin-bottom: 30px;

            img {
                max-width: 100%;
                height: auto;
            }
        }

        .checklist {
            list-style: none;
            padding: 0;
            margin: 0 auto 8px;
            display: inline-block;

            .list-item {
                display: flex;
                align-items: center;
                column-gap: 10px;
                font-weight: 700;
                margin-bottom: 8px;
                justify-content: flex-start;

                img {
                    width: 16px;
                    height:16px;
                    flex-shrink: 0;
                }

                .check-text {
                    /* flex: 1; */
                }
            }
        }

        .solution-description {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 0;
            text-align: center;
            margin-top: 20px;
        }
    }
}

.pricing-section {
    padding: 60px 20px;
    text-align: center;

    .pricing-card {
        background: #002095;
        border-radius: 10px;
        padding: 50px 20px;
        margin: 0 auto;
        color: white;

        .price-plan-title {
            width: fit-content;
            margin: 0 auto;
            font-weight: 700;
            padding: 7px 35px;
            border-top: 1px solid #ffffff;
            border-bottom: 1px solid #ffffff;
            margin-bottom: 24px;
            color: white;
        }


        .pricing-features {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
            margin-top: 15px;

            .pricing-feature {
                width: 80%;
                margin: 0 auto;
                background: #FFD739;
                color: #2D2D2D;
                padding: 8px 20px;
                border-radius: 5px;
                font-weight: bold;
                font-size: 12px;
                display: block;
            }

            .line-cta-wrapper {
                text-align: center;
                margin: 0 auto; /* 上下マージン0、左右マージン自動で中央寄せ */

            }
        }
    }
}

.flow-section {
    background: white;
    color: #000000;
    padding: 60px 20px;

    .steps {
        display: flex;
        flex-direction: column;
        row-gap: 50px;

        .step {
            display: flex;
            flex-direction: column;
            row-gap: 20px;
            text-align: center;

            .step-num {
                color: #ffffff;
                font-weight: 700;
                width: 100%;
                padding: 10px 0;
                background-color: #002095;
                border-radius: 5px;
                margin: 0 auto;
            }

            .step-text {
                font-size: 20px;
                font-weight: 700;
            }
        }
    }

    .line-cta-wrapper {
        width: 100%;
        margin-top: 60px;
    }
}

.faq-section {
    padding: 60px 20px;

    .section-title {
        .title-text{
            span {
                color: #002095;
            }
        }
    }

    .faq-item {
        overflow: hidden;
        animation: faqSlide 0.6s ease-out;
        color: #000000;
        border-top: 1.5px solid #D7D7D7;
    }

    .faq-question {
        padding: 20px;
        cursor: pointer;
        font-weight: bold;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #000000;
        display: flex;
        align-items: center;

        span {
            margin-right: 6px;
            color: #002095;
        }

        &::after {
            content: '';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            transition: all 0.3s ease;
            width: 20px;
            height: 20px;
            background-image: url('assets/images/plus-icon.svg');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        &.active::after {
            background-image: url('assets/images/minus-icon.svg');
        }
    }

    .faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        word-wrap: break-word;
        overflow-wrap: break-word;

        &.active {
            padding: 0 20px 20px 20px;
            max-height: 200px;
        }
    }
}

.voice-section {
    padding: 60px 20px;
    text-align: center;
    color: #000000;

    .section-title {
        margin-bottom: 50px;
    }

    .voice-items {
        display: flex;
        flex-direction: column;
        row-gap: 3rem;

        .voice-item {
            background: #F4F8F9;
            border-radius: 8px;
            padding: 25px 15px;
            margin: 0 auto;
            text-align: left;
            display: flex;
    
            .voice-avatar {
                margin-right: 12px;
                img {
                    width: 64px;
                    height: 64px;
                }
            }
    
            .voice-body {
                .voice-meta {
                    padding-bottom: 10px;
                    border-bottom: 0.5px solid #748993;
                    .voice-title {
                        font-size: 15px;
                        font-weight: bold;
                        margin-bottom: 5px;
                        padding-top: 0;
                    }
        
                    .voice-name-occupation {
                        font-size: 0.9rem;
                        color: #666666;
                    }
                }
    
                p {
                    font-size: 13px;
                    margin-top: 10px;
                    line-height: 1.6;
                }
            }
    
    
            
        }
    }

    .line-cta-wrapper {
        margin-top: 50px;
    }

}

footer {
    background-image: url(assets/images/fotter-back.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;    
    background-color: #ffffff;

    .footer-inner {
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-logo {
        margin-bottom: 30px;
        img {
            max-width: 150px;
            height: auto;
        }
    }

    .social-icons {
        display: flex;
        gap: 20px;
        margin-bottom: 30px;

        img {
            width: 32px;
            height: 32px;
        }
    }

    .footer-text {
        color:#ffffff;
        font-size: 0.9rem;
        opacity: 0.8;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;

    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes profilePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255,255,255,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(255,255,255,0.4); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes priceGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 40px rgba(255,255,255,0.6); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes buttonBounce {
    0% { opacity: 0; transform: translateY(50px) scale(0.8); }
    60% { transform: translateY(-10px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes cardFloat {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes cardGlow {
    0%, 100% { opacity: 0; transform: rotate(0deg); }
    50% { opacity: 1; transform: rotate(180deg); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes priceScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes featureSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

@keyframes faqSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes plusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes starsMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

/* LINE CTA ボタン */
.line-cta-wrapper {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;

    .line-cta-text {
        background: white;
        color: #2ECC71;
        padding: 4px 24px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 12px;
        line-height: 23px;
        border: 2px solid #06C755;
        white-space: nowrap;
        margin-bottom: -10px;
        z-index: 10;
    }

    .line-cta-button {
        max-width: 303px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #06C755;
        color: white;
        padding: 18px 27.5px;
        border: none;
        border-radius: 50px;
        font-size: 18px;
        line-height: 1;
        font-weight: bold;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 5px 0 #01933D;
        transition: all 0.3s ease;
        white-space: nowrap;
    
        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 0 #01933D;
        }
    }
    
    .line-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    
        img {
            width: 24px;
            height: 24px;
        }
    }
}

/* モバイルメニュー内のCTAボタンのホバー効果を無効化 */
.mobile-menu .line-cta-button:hover {
    color: #ffffff;
    box-shadow: 0 5px 0 #01933D;
}

/* 電話リンクのスタイル */
.tel a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 20px 0;
    transition: color 0.3s ease;
}

.tel a:hover {
    color: #888888;
}

.tel img {
    width: 24px;
    height: 24px;
}

/* 料金プランセクションの電話リンクのスタイル */
.pricing-tel a {
    color: #ffffff;
}

.pricing-tel a:hover {
    color: #cccccc;
}

/* PC画面でのスクロール制御 */
@media (min-width: 768px) {
    /* PC画面ではメニューを開いていてもスクロールを無効化しない */
    body.menu-open {
        overflow: auto !important;
    }
}


