@charset "utf-8";
/* CSS Document */

/* ------------------------------------------

  「　サードプレイス社会保険労務士法人　」

        　 front-page.css
          (トップページ調整用)

   ------------------------------------------*/


/*----------------------

         HOME

----------------------*/

/*----------------------
    　メインビジュアル
----------------------*/


.mv{
    height: 40vw;
    min-height: 600px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    padding-bottom: 0;
    overflow: hidden;
    padding-top: 100px;
}
.mv ul {
    width: calc(100% - 100px);
    left: 50px;
    position: absolute;
    overflow: hidden;
}
.mv li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: -1;
}
.mv ul::before{
    content: "";
    background: #e6f2eb;
    opacity: 0.6;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    pointer-events: none;
}




/*　　　MVスライドショー　　　*/


/*=== 画像の表示エリア ================================= */
.slide_show {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: auto;
    z-index: -1;
}

/*=== 画像の設定 ======================================= */
.slide_show li {
    position   : absolute;
    /* 画像のサイズを表示エリアに合せる */
    width      : 100%;
    height     : 100%;
    opacity    : 0;
    animation  : slideAnime 30s ease infinite;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/*=== スライドのアニメーションを段差で開始する ========= */
.slide_show li:nth-of-type(1) { animation-delay: 0s }
.slide_show li:nth-of-type(2) { animation-delay: 10s }
.slide_show li:nth-of-type(3) { animation-delay: 20s }

/*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
    0% { opacity: 0  ; -webkit-transform: scale(1.1);}
    16% { opacity: 1 }
    33% { opacity: 1 }
    49% { opacity:0 }
    100% { opacity: 0 ;-webkit-transform: scale(1.5);}
}



.mv .box {
    position: absolute;
}
.mv .box h1 {
    color: #2f4f51;
    /*font-size: 42px;*/
    font-size: 24px;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
    font-family: "Noto Serif JP", "serif";
}
.mv .box .btn {
    background: #136c5e;
    width: 290px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
    font-size: 18px;
    position: relative;
    color: #fff;
    font-family: "Noto Serif JP", "serif";
    padding-right: 10px;
}
.mv .box .btn:after {
    content: '';
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    width: 8px;
    height: 8px;
    display: block;
    transform: rotate(135deg);
    position: absolute;
    right: 30px;
    font-family: "Noto Serif JP", "serif";
    top: 0;
    bottom: 0;
    margin: auto;
}

/*----------------------
     　About us
----------------------*/
.about{
    position: relative;
    padding: 100px 50px;
}
.about:before{
    content: "";
    background: url(../img/home/about.png);
    width: calc(50% + 150px);
    height: 50%;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    z-index: -1;
}
.about:after{
    content: "";
    width: calc(50% + 150px);
    height: 175vh;
    background: rgb(230,235,233);
    background: linear-gradient(0deg, rgba(230,235,233,1) 27%, rgba(255,255,255,0) 100%);
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -2;
}
.about .box{
    width: calc(50% + 50px);
    margin-left: auto;
    background: #fff;
    padding: 80px 50px;
    box-sizing: border-box;
}
.about .box p a{
    color: #338dcd;
    border-bottom: 1px solid #338dcd;
    font-weight: bold;
}
/*----------------------
     　 Service
----------------------*/
.service {
    padding: 100px 50px 95px;
}
.service ul{
    display: flex;
    justify-content: space-between;
}
.service li{
    flex-basis: calc((100% - 120px) / 3);
}
.service li img {
    margin-bottom: 20px;
}
.service li h3{
    color: #136c5e;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    line-height: 1;
    margin-bottom: 10px;
}
.service li p{
    letter-spacing: 0;
    margin-bottom: 50px;
}
.service li .btn {
    width: 160px;
    height: 50px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #136c5e;
    border: 1px solid #136c5e;
    font-family: "Noto Serif JP", "serif";
    margin: auto;
    position: relative;
    padding-right: 10px;
}
.service li .btn:after {
    content: '';
    border-left: 1px solid #136c5e;
    border-top: 1px solid #136c5e;
    width: 8px;
    height: 8px;
    display: block;
    transform: rotate(
            135deg);
    margin-left: 10px;
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
}


/*----------------------
       　Cases
----------------------*/
.cases {
    background: #eaeded;
}
.cases ul{
    display: flex;
    justify-content: space-between;
}
.cases li{
    flex-basis: calc((100% - 60px) / 2);
}
.cases li h3 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgb(19,64,70);
    background: linear-gradient(90deg, rgba(19,64,70,1) 0%, rgba(0,104,55,1) 100%);
    padding: 0 20px;
    font-family: 'Noto Sans JP', "sans-serif";
}
.cases li p{
    background: #fff;
    padding: 20px;
}
.cases .btn {
    background: #2f4f51;
    width: 290px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
    font-size: 18px;
    position: relative;
    color: #fff;
    font-family: "Noto Serif JP", "serif";
    padding-right: 10px;
}
.cases .btn:after {
    content: '';
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    width: 8px;
    height: 8px;
    display: block;
    transform: rotate(
            135deg);
    position: absolute;
    right: 30px;
    font-family: "Noto Serif JP", "serif";
    top: 0;
    bottom: 0;
    margin: auto;
}
/*----------------------
       　News
----------------------*/
.news{
}
.news li{
    display: flex;
    margin-bottom: 50px;
}

.news li time{
    background: #2f4f51;
    width: 100px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-right: 30px;
    padding: 10px;
    font-family:'Noto Sans JP', "sans-serif";
}
.news li .category{
    border: 1px solid #136c5e;
    min-width: 100px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#136c5e;
    font-size: 14px;
    padding: 0 10px;
    margin-right: 30px;
    white-space:nowrap;
}
.news li a{
    text-decoration: underline;
    flex-grow: 1;
    margin-top: -7px;
}
.news .btn {
    border: 1px solid #136c5e;
    width: 290px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
    font-size: 18px;
    position: relative;
    color: #136c5e;
    font-family: "Noto Serif JP", "serif";
    padding-right: 10px;
}
.news .btn:after {
    content: '';
    border-left: 1px solid #136c5e;
    border-top: 1px solid #136c5e;
    width: 8px;
    height: 8px;
    display: block;
    transform: rotate(
            135deg);
    position: absolute;
    right: 30px;
    font-family: "Noto Serif JP", "serif";
    top: 0;
    bottom: 0;
    margin: auto;
}







/* 　＋＋＋＋＋＋＋　タブレット - iPad -（1024px）以下　用　＋＋＋＋＋＋＋　*/

@media screen and (max-width: 1024px) {


    /*----------------------

             HOME

    ----------------------*/


    .mv ul {
        width: calc(100% - 60px);
        left: 30px;
    }
    .mv .box h1 {
        /*font-size: 36px*/
        font-size: 26px;
    }
    .about:before {
        width: calc(30% + 150px);
        height: 25%;
        bottom: auto;
        top: 150px;
    }
    .about .box {
        width: calc(50% + 120px);
        padding: 60px 30px;
    }
    .about:after {
        height: 330vh;
        width: calc(50% + 150px);
    }
    .service li {
        flex-basis: calc((100% - 60px) / 3);
    }
    .cases li {
        flex-basis: calc((100% - 30px) / 2);
    }

    /*　---　*/
}
/* ＋＋end＋＋　タブレット - iPad （1024px）以下　用　＋＋end＋＋　*/








/* 　＋＋＋＋＋＋＋　タブレット - iPad （834px）以下　用　＋＋＋＋＋＋＋　*/

@media screen and ( max-width:834px) {

    .mv .box h1 {
        font-size: 20px;
    }

    /*　---　*/
}
/* ＋＋end＋＋　タブレット - iPad （834px）以下　用　＋＋end＋＋　*/





/* 　＋＋＋＋＋＋＋　スマホ -  （767px）以下　用　＋＋＋＋＋＋＋　*/

@media screen and ( max-width:767px) {

    /*----------------------

             HOME

    ----------------------*/
    .mv {
        height: 500px;
        min-height: auto;
        padding-top: 60px;
    }
    .mv .box h1 {
        /*font-size: 5.6vw;*/
        font-size: 2.9vw;
        letter-spacing: 0;
    }
    .mv .box .btn {
        width: 55vw;
        height: 50px;
        font-size: 12px;
    }

    .mv ul {
        width: calc(100% - 40px);
        left: 20px;
    }
    .about {
        padding-top: 260px;
    }
    .about {
        position: relative;
        padding: 260px 20px 60px;
    }
    .about:before {
        width: calc(100% - 40px);
        height: 25%;
        top: 60px;
        left: 20px;
    }
    .about:after {
        width: 100%;
        height: 260vh;
    }
    .about .box {
        width: 100%;
        padding: 40px 20px;
        /* background: rgb(255 255 255 / 90%); */
    }
    .service {
        padding: 60px 20px;
    }
    .service ul {
        display: block;
    }
    .service li {
        margin-top: 40px;
    }
    .service li p {
        margin-bottom: 20px;
    }
    .service li h3 {
        font-size: 16px;
        font-size: 4vw;
        margin-bottom: 10px;
    }
    .service li .btn {
        height: 50px;
        font-size: 12px;
    }
    .cases li h3 {
        font-size: 16px;
        font-size: 4vw;
        height: 50px;
        padding: 0 10px;
    }
    .cases ul {
        display: block;
    }
    .cases li {
        margin-top: 40px;
    }
    .cases .btn {
        width: 50vw;
        height: 50px;
        font-size: 12px;
        margin-top: 40px;
    }
    .news li {
        margin-bottom: 30px;
        flex-wrap: wrap;
    }
    .news li a {
        width: 100%;
        margin-top: 5px;
    }
    .news li .category {
        margin-right: 0;
    }
    .news li time {
        margin-right: 10px;
    }
    .news .btn {
        width: 55vw;
        height: 50px;
        font-size: 12px;
        margin-top: 40px;
    }


    /*　---　*/
}
/* ＋＋end＋＋　スマホ -  （767px）以下　用　＋＋end＋＋　*/
