@charset "UTF-8";

/*=========================
section__top
=========================*/
.section__top{
    height: 180px; 
    background-image: url(../images/blue_bg.png);
    background-repeat: no-repeat;/* 画像を繰り返し表示しない */
    background-size: cover;/* 画面を全体に囲む */
    background-position: center;/* 画像が中央から広がるように */
 }

  /* ページタイトルのスタイル */
.service__top__subtitle {
    font-family: "DM Sans", sans-serif;
    font-style: italic;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-blue,#11438a);
    text-align: center; /* 中央揃え */
    padding-top: 65px;
    letter-spacing: 0.1em;/* 字間 */
}

.service__top__title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-blue,#11438a);
    text-align: center; /* 中央揃え */
    padding-bottom: 65px;
}

/* pcのsection__top */
@media screen and (min-width: 768px) {
    .section__top{
        height: 300px; 
     }

       /* ページタイトルのスタイル */
    .service__top__subtitle {
        font-size: 1.8rem;
        padding-top: 100px;
    }

    .service__top__title {
        font-size: 3.5rem;
    }
 }

/*=========================
section__case
=========================*/
/* セクション全体のスタイル */
.section__case {
    margin: 80px 6.6% 100px;
    background-color:var(--primary--white);
    text-align: center;
}

/* イラストスタイル */
.case__illust{
    width:260px;
}
.case-A,.case-B,.case-C{
    margin: 0 auto;
    max-width: 1000px;
}
/* タイトル部分 */
.case__title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-blue,#11438a);
    margin:50px 0 20px;
}

/* リスト部分 */
.section__case ul {
    display: inline-block;
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 30px;
}

.section__case ul li {
    padding-bottom: 20px;
}

/* 青い円形ラベル */
.result-label {
    display: inline-block;
    background:linear-gradient(135deg, #11438a, #55a2e6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color:var(--primary--white,#fdfdfd);
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    position: relative; /* 相対位置を指定 */
    top: -40px; /* 上に移動して半分はみ出す */
    margin: 0 auto -30px; /* 下の余白を詰める */
}

/* 成果テキストボックス */
.result-box {
    background-color:var(--primary-lite-blue);
    padding: 20px;
    border-radius: 5px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
}

/* 線のスタイル */
.case-B::before,
.case-C::before {
    content: "";
    display: block; /* ブロック要素として表示 */
    width: 100%; /* 横幅をボックス全体に合わせる */
    max-width: 1000px;
    height: 2px; 
    background-color:var(--primary-blue);
    margin: 80px auto; /* ボックスと実線の間に80pxの隙間を作る */
   
}

.contact__btn_L{
    margin-top: 100px;
}

/* PCのsection__case */
@media screen and (min-width: 768px) {

    .section__case {
        margin: 180px 6.6% 150px;
    } 

    .case-A,.case-B,.case-C{
        display: flex;
        align-items: center; /* 縦方向の中央揃え */
        justify-content: center; /* 横方向の中央揃え */
        gap: 50px; /* イラストとテキストの間に余白を追加 */
        position: relative;
        margin-top: 80px;
        padding-top: 80px;
    }

    .case-B{
        flex-direction: row-reverse;/* 要素を反対にする */
    }

    .case__list{
        text-align: left;
    }

    .case__title {
        margin:0 0 20px;
    }

    .section__case ul {
        margin-bottom: 0px;
    }

    /* 青い円形ラベル */
    .result-label {
        top: 0px; /* 上に移動して半分はみ出す */
        margin: 0 20px 0 0;
        flex-shrink: 0; /* 縮小を防ぐ */
        
    }

     /* 成果テキストボックス */
     .result-box {
        display: flex;
        align-items: center; /* 横方向の中央揃え */
        padding: 30px;
        text-align: left; /* テキストを左揃え */
    }

    .case-B::before,
    .case-C::before{
        position: absolute;
        margin: 0;
        top: 0px;
    }

}

