*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue" ,Arial, "Hiragino kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    --primary-orange: #F97316;
    --action-green: #7FC260;
    --text-black: #333;
    --text-white: #fff;
    --bg-gray: #f5f5f5;
}

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

body{
    font-family: var(--font-family);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.btn{
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: opacity 0.3s ;
}

.btn:hover{
    opacity: 0.8;
}

header{
    background-color: var(--primary-orange);
    width: 100%;
    padding: 10px 5%;
}

.logo{
    height: 24px;
}

.hero{
    background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.4)), url("images/bg-hero.jpg"); /* 白を40%透過で重ねる */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10% 0; /* 上80px・左右10%・下0に統合（重複していたpaddingを修正） */
    overflow: hidden; /* 画像の手の部分がはみ出しても隠す */
}

.hero-content{
    max-width: 55%; /* テキストを左半分に収めて、右側に画像スペースを作る */
}

.hero-subline{
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    white-space: nowrap; /* タイトルの改行を禁止して1行で表示する */
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 80px;
    white-space: nowrap; /* タイトルの改行を禁止して1行で表示する */
}

.hero-description {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 80px;
}

.hero-buttons {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    justify-content: flex-start;
   
}

.hero-bottom {
display: flex;
align-items: flex-start;/*上に揃える命令（PCでの余白対策）*/
justify-content: space-between;/*左右に分散させる命令*/
width: 100%;/*横幅いっぱいに広げる命令*/
}


.btn{
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); /* ドロップシャドウ：下方向4px・ぼかし12px・黒20% */
}

.btn-primary {
    background-color: #7FC260;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 1px solid #7FC260;
}

.hero-stats {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(transparent 60%, rgba(249, 115, 22, 0.6) 60%); /* オレンジ下線の透明度50% */
    display: inline-block;
    margin-bottom: 60px; /* 下に40pxの余白 */
    text-align: center; /* テキストを中央揃えにする */
}

.hero-stats span {
    background: none;
    display: inline;
}

.hero-image {
    max-width: 42%; /* 右側に画像を配置。テキスト(55%)と合わせてほぼ100% */
    align-self: flex-end; /* 画像の下辺をheroの下辺に揃える */
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}



.reasons {
    background-color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.reasons-title {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 60px;
    color: #333;
}

.reasons-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.reasons-item {
    flex: 1;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reasons-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 20px;
}
.reasons-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}



.solution {
    background-color: #F97316;
    padding: 100px 5%;
    text-align: center;
}
.solution-title {
color: #333;
font-size: 2rem;
margin-bottom: 20px;
}
.solution-lead {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
}

.solution-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background-color: #fff;
    flex: 1;
    min-width: 250px;
    padding: 40px 25px;
    border-radius: 10px;
    text-align: left;

}

.solution-icon {
    width: 40px;
    height: 40px; /* 幅と高さを同じにして正方形に揃える */
    object-fit: contain; /* 画像の縦横比を保ちながら枠内に収める */
    margin-bottom: 20px;
    display: block;
}
 .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F97316;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}



.user-voice {
    background-image:linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/people.jpeg");/* 黒を60%透過で重ねる */
    background-size: cover; /* 背景画像をセクション全体に広げる */
    background-position: center; /* 背景画像の位置を中央に */
    padding: 80px 5%;
    text-align: center;
    color: #fff;
}

.voice-catch {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 60px;
}
.voice-header {
    margin-bottom: 80px;
}

.voice-badge-img {
    width: 100%;
    max-width: 600px;
    height: auto;  
}

.voice-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;/* グラフとテキストの間のスペース */
    max-width: 900px;/* コンテナ全体の最大幅 */
    margin: 0 auto;
}

.graph {
    flex: 1;
    max-width: 300px;
}

.graph-img {
    width: 100%;
    height: auto;
}

.voice-content {
    flex: 1;
    text-align: left;
}

.voice-title {
    font-size: 2rem;
    line-height: 1.5;
    color: #fff;
}



.cases {
    padding: 60px 5%;
}

.cases-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* これで3つのカードの「高さ」が揃います */
    gap: 20px;           /* カード同士の「隙間」 */
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
    
.case-card {
    flex: 0 0 calc(33.333%-20px);
    max-width: 350px;
    background-color: #fff;
    border-left: 4px solid #7FC260;
    padding: 0 0 20px 15px;
}

.case-image {
    height: 270px; /* 画像エリアの高さを固定して3枚を揃える */
    overflow: hidden; /* はみ出た部分を隠す */
    padding-bottom: 15px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 縦横比を保ちながら枠をぴったり埋める */
    display: block;
}


.case-text {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.case-name {
    font-size: 0.8rem;
    color: #333;
}

@media screen and (max-width: 768px) {
    
    .cases-container {
        
        flex-direction: column; 
        align-items: center; 
        gap: 20px;
    }

    .case-card {
        width: 90%;
        flex: none; 
        border-left: 4px solid #7FC260;
        padding: 0 0 20px 15px; 
    }

}



.pricing{
    background-color: #F97316;
    padding: 100px 5%;
    text-align: center;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-title {
    color: #333;
    margin-bottom: 50px;
}

.price-card, .price-card-premium {
    background-color: #fff;
    flex: 1;
    padding: 50px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-gray {
    background-color: #333;
    color: #fff;
}

.price-card-premium{
    border: 3px solid #7FC260;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li{
    margin-bottom: 15px;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.plan-features li::before {
    content: "✓";
    color: #76C852;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}



.faq {
    padding: 80px 0;
    background-color: #f5f5f5;
    text-align: center;
}

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

.faq-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: left; 
}

details {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    cursor: pointer;
}

summary {
    display: block;
    align-items: center;
    list-style: none;

    font-weight: bold;
    list-style: none;
    position: relative;
    padding: 20px 0;
    cursor: pointer;
    outline: none;

    position: relative;
    padding-left: 25px;
}

summary::-webkit-details-marker {
    display: none;
}


summary:hover::before {
    left: 5px; 
    transition: 0.2s; 
}

summary::before {
    content: "▶︎";
    position: absolute;
    color: #F97316;
    font-size: 0.8rem;
    font-weight: bold;
    left: 0;
    padding-bottom: 10px;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 5%;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.8rem;
}

.copyright {
    font-size: 0.7rem;
    color: #888;
}

.sp-br {
    display: none;
}


@media screen and (max-width: 768px) {


    .sp-br {
        display: block;
    }
    /* ========================================
       ヒーローセクション（最初の大きなエリア）
    ======================================== */

    /* flex-direction: column で横並びを縦並びに変える */
    .hero {
        flex-direction: column;
        padding: 40px 5% 0; /* 下の余白をなくして画像下辺とセクション下辺を揃える */
        text-align: left; /* テキストを左揃えにする text-align=文字の揃え方*/
        position: relative; /* hero-imageの絶対配置の基準にする */
    }

    .hero-content {
        max-width: 100%; /* PCの55%制限をスマホでは解除して全幅にする */
    }

    .hero-subline {
        font-size: 2rem;
        margin-bottom: 20px; /* PCの15pxから5px増やす */
    }
    /* タイトルの文字を小さくする（スマホでは2.5remだと大きすぎる） */
    .hero-title {
        font-size: 1rem;
        margin-bottom: 20px; /* PCの80pxから半分に減らす */
    }

    /* 説明文の文字を小さくして、下の余白も減らす */
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* ボタンを横並び→縦並びに変えて、下の余白も増やす */
    .hero-buttons {
        flex-direction: column;
        align-items: center; /* ボタンを中央揃えにする */
        gap: 15px;
        margin-bottom: 160px; /* PCの60pxから100px増やす */
        position: relative; /* z-indexを効かせるために必要 */
        z-index: 1; /* モックアップ画像より前面にボタンを表示する */
    }

    /* モバイルでボタンのテキストを中央揃えにする */
    .hero-buttons .btn {
        text-align: center;
    }

    .hero-bottom {
        display: block;
        width: 100vw; /* 画面幅いっぱいに広げる */
        margin-left: -5vw; /* .heroのpadding(5%)分だけ左にずらして左端まで届かせる */
        background: rgba(249, 115, 22, 0.6); /* 帯全体のオレンジ背景 */
        padding: 15px 50px; /* 上下15px・左右50px */
        box-sizing: border-box; /* paddingを幅の内側に含める */
        min-height: 80px; /* 帯の最低限の高さを確保 */
    }

    .hero-stats {
        display: block;
        width: 55%; /* 左半分にテキストを収め、右半分を画像スペースとして空ける */
        background: none; /* 背景は親の.hero-bottomに任せる */
        margin: 0;
        padding: 0;
        font-size: 1rem;
        text-align: left;
        box-sizing: border-box;
    }

    .hero-stats span {
        background: none; /* PC版でspanに設定したオレンジ背景をスマホでは消す */
        display: inline;
        line-height: 2; /* 行の高さを2倍にして読みやすくする */
    }

    .hero-image {
        position: absolute; /* 帯(.hero-bottom)を基準に自由に配置 */
        right: 0; /* 右端に寄せる */
        bottom: 0; /* 帯の下端に画像の下端を合わせる */
        max-width: 60%; /* 画像の最大幅を画面の60%に制限 */
    }

    /* PCサイズ用の<br>タグをスマホでは非表示にして自然な改行にする */
    .hero-description br,
    .reasons-title br,
    .solution-title br,
    .voice-title br {
        display: none;
    }
    


    /* ========================================
       「続かない理由」セクション（3つのカード）
    ======================================== */

    /* タイトルの文字を小さくする */
    .reasons-title {
        font-size: 1.3rem;
    }

    /* 3つのカードを横並び→縦並びに変える */
    .reasons-container {
        flex-direction: column;
    }


    /* ========================================
       「解決策」セクション（オレンジ背景）
    ======================================== */

    /* タイトルの文字を小さくする */
    .solution-title {
        font-size: 1.5rem;
    }

    /* リード文の文字を小さくする */
    .solution-lead {
        font-size: 0.9rem;
    }


    /* ========================================
       「ユーザーの声」セクション（円グラフ）
    ======================================== */

    /* グラフとテキストを横並び→縦並びに変える */
    .voice-container {
        flex-direction: column;
        gap: 40px;
    }

    /* テキストを中央揃えにする */
    .voice-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .voice-content {
        text-align: center;
    }


    /* ========================================
       「料金プラン」セクション
    ======================================== */

    /* 2つのカードを横並び→縦並びに変える */
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    /* カードの横幅を画面いっぱいにする */
    .price-card, .price-card-premium {
        width: 100%;
        max-width: 400px;
    }


    /* ========================================
       フッター（一番下）
    ======================================== */

    /* リンクを横並び→縦並びに変える */
    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

}