@charset "utf-8";


/*=========================
section__top
=========================*/

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

.topMassage__sp{
    padding: 230px 25px 60px 25px;
    box-sizing: border-box;
    width: 100%;
}
.topMassage__pc{
    display: none;
}

/* pcのsection__top */
@media screen and  (min-width:769px) {
    .section__top{
        height: 800px;
        background-image: url(../images/top_image_pc.png);
        position: relative;/* 画像の上に配置するため親要素につける */
    }

    .topMassage__sp{
        display: none;
    }

    .topMassage__pc{
        display: block;
        box-sizing: border-box;
        width: 62%;
        min-width: 600px;/* これ以上は小さくならない設定*/
        /* 画像の上に配置するためのスタイル↓*/
        position: absolute;
        bottom: 12%;/*下から12%にところに配置*/
        left:10%;/*左から10%にところに配置*/
    }
}

/*=========================
section__about
=========================*/
.section__about{
   padding: 80px 0; 
}

.mainCaption{
    margin: 30px auto 0;
}

.mainCaption__subtitle{
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
}

.mainCaption__txt{
    font-size: 1.6rem; 
    text-align: center;
    margin-top: 30px;
}

/* pcのsection__about */
@media screen and  (min-width:769px) {
    .section__about{
        padding: 120px 0; 
     }
     .mainCaption{
        margin: 70px auto 0;
    }
    .mainCaption__subtitle{
        font-size: 2.8rem;
    }
    .mainCaption__txt{
        font-size: 1.8rem; 
    }
    .mainCaption__txt__br{
        display: none;
    }
}

/*=========================
section__service
=========================*/
.section__service{
    background-color: var(--primary-lite-blue,#ecf2f6); 
    padding: 80px 6.6% 100px;
}

.service__title{
    padding-bottom:50px;
}

.service__item{
    margin:0 auto 50px;
    position: relative;/* 画像の上に配置するため親要素につける */
    max-width:450px;/* 450px以上広がらないで */
}

.service__item__pc{
    display: none;
}

  /* spサービスボタンのスタイル */
.service__btn{
    display: block;
    background:var(--primary-lite-blue,#ecf2f6);
    border: 2px solid #11438a;/* 枠線のスタイル */
    padding: 4% 0;
    width: 57%;
    margin: 0 auto;
    color: var(--primary-blue,#11438a);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    position:relative;
    /* 画像の上に配置するためのスタイル↓*/
    position: absolute;
    bottom: 6%;/*下から6%にところに配置*/
    left:6%;/*左から6%にところに配置*/
    /* hoverした時のスタイル */
    overflow: hidden;/*隠れていたのが出てくる*/
 	z-index: 1;/*重なり順*/
 }  

 /* spサービスボタンの装飾のスタイル */
 .service__btn::after{
    content: '';
    display: inline-block;
    width: 16px;
    height:16px;
    margin-left: 5px;
    background-image:url(../images/service_btn_icon.png) ;
    background-size: contain;/* 画像が見切れないよう設定 */
    background-position: center;
    background-repeat: repeat;/* くり返し表示しないように */
    position: absolute;
    right: 10px;
    top:50%;/* このままだと装飾の上を起点に50%の位置なので少し下がる */
    transform: translateY(-50%);/* これで起点を真ん中の位置に */
}

/* spサービスボタンにカーソルを合わせた時のスタイル */
.service__btn::before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #11438a;
	transform: translateX(-100%);
	transition: all .3s;
	z-index: -1;
}
.service__btn:hover{
  color:var(--primary-white,#FDFDFD);
}
.service__btn:hover::before {
	transform: translateX(0);
}

.contact__btn_L{
    margin-top: 100px;
}

/* pcのsection__service */
@media screen and  (min-width:769px) {
    .section__service{
        padding-top: 120px;
        padding-bottom:150px;
    } 
    
    .service__title{
        padding-bottom:100px;
    }

    .service{
        max-width: 1000px;
        max-height: 800px;
        margin: 0 auto;
    }

    .service__item{
        margin:0 auto;
    }

    .service__item__sp{
        display: none;
    }

    .service__item__pc{
        display: block;
    }

    .service__btn{
        padding: 4% 0;
        width: 65%;
        font-size: 1.4rem;
        bottom: 8%;/*下から8%にところに配置*/
    }

    .service__item__group1,
    .service__item__group2{
        display: flex;
    }
    .service__item__group1{
        margin-bottom: 8%;
    }
    .service__item__group1 li:first-child,
    .service__item__group2 li:first-child{
        margin-right: 4%;
    }

    .service__item__group1 li:last-child,
    .service__item__group2 li:last-child{
        margin-left: 4%;
    }
}