﻿@charset "utf=8";

/*/*画面幅320pxのとき100vw=320px 32で割ることで基準を1rem=10pxに設定*/
html {
    font-size: 62.5%;
}
/* （最小値, vwを使った可変の推奨値, 最大値） */
/*最小値:1.1rem → 可変（0.9rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.6rem*/
.font-size-S {
    font-size: clamp(1.5rem, calc(1.9rem + 0.625vw), 2rem);
}

/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-size-M {
    font-size: clamp(2.2rem, calc(2.4rem + 0.416vw), 2.4rem);
}


/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-size-ML{
    font-size: clamp(2.0rem, calc(2.8rem + 0.416vw), 3rem);
}

/*最小値:1.6rem → 可変（2.2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.9rem*/
.font-size-L {
    font-size: clamp(2.3rem, calc(2.6vw + 0.416vw), 4.2rem);
}
/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-size-M-top{
    font-size: clamp(1.2rem, calc(2rem + 0.416vw), 2.4rem);
}


body{
    background-image: url(./img/kintai_bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

#top-area{
    padding-top: 100px;
    display: flex;
    justify-content: center;
 }

 .main-img,
 .top-box{
    width: 45%;
 }

 .title-box h1{
    margin-bottom: 16px;
 }

 .title-box h1,
 .top-copy-box h2{
    padding: 0.25rem 2rem;
    background-color: #fff;
    color: #002a68;
 }


 .top-copy-box{
    display: flex;
    align-items: center;
 }

 .top-copy-box h3{
    padding: 0.5rem 1rem;
    color: #fff;
    background: linear-gradient(90deg, #34B59A 0%, #19BEF4 50%, #0087E2 100%);
    margin-left: 16px;
 }

.kintai-logo{
    margin-top: 8px;
    margin-bottom: 8px;
    width: 95%;
}

.top-content-box{
    display: flex;
    justify-content: space-between;
}

.top-content-box img{
    min-width: 0;
    margin: 8px 0;
    /* clip-path: circle(120px at center);
    box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.7); */
} 

/* お問い合わせボタン */
.contact-widget {
    border-radius: 18px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(90deg, rgba(13,86,166,1) 0%, rgba(0,42,104,1) 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 2% 3.2%;
    display: block; /* 初期状態で表示 */
    box-shadow: 5px 5px 3px 0px rgba(0, 0, 0, 0.3); 
    z-index: 99;

}

.contact-widget h2,
.contact-widget p
 {
    margin: 0;
    color: #f9f3e8;
}

.contact-widget p{
    padding-top: 16px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    cursor: pointer;
    background: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 3px 0px rgba(0, 0, 0, 0.3); 
}

.close-btn span {
    display: block;
    position: absolute;
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: #002a68;
  }

  .close-btn span:nth-of-type(1) {
    transform: rotate(225deg);
  }
  
  .close-btn span:nth-of-type(2) {
    transform: rotate(-225deg);
  }

/* コピー：そんな勤怠の手間をどうにかしたい！ */
.kintai-copy{
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.kintai-copy-box{
    display: flex;
    justify-content: center;
}
.kintai-copy-h3{
    line-height: 5.5rem;
}

.kintai-copy h3{
    margin-bottom: 100px;
    color: #002a68;
    line-height: 1.5;
}

.kintai-copy h4,
.answer h4,
.recomend h4,
.introduction h4{
    margin-bottom: 16px;
}

.answer,
.recomend,
.introduction{
    text-align: center;
}

/* 6つのメリット */
#merit{
    margin-left: auto;
    margin-right: auto;
}

#merit h1{
    text-align: center;
    margin-bottom: 32px;
}

.box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}



@media (min-width: 1335px) {
    .box{
        margin: 0 20%;
    }
}

.in-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    margin: 48px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.3); 
    width: 300px;
    justify-content: center;
}

.in-box-content{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.num-box{
    position: relative;
    display: flex;
    justify-content: center;
}

.merit-num{
    color: #002a68;
    position: absolute;
    top: 12px;
    left: 42px;
}

.merit-text{
    flex-grow: 1;
}

.in-box h3{
    text-align: center;
}
.in-box h3,
.in-box img
{
    margin-top: 8px;
}

.in-box p{
    padding: 0 12px;
    line-height: 1.5;
}

.in-box img{
    width: 100%;
}

/* 機能詳細 */
#function,
#recomend,
#kyuyo-recomend,
#introduction,
#kintai-contact,
#kyuyo-contact{
    padding: 12vh 0;
}

.line{
    width: 30vw;
}

.introduction-line{
    margin-bottom: 52px;
    width: 30vw;
}

.function-box{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 80px;
}

.function-box img{
    width: 95%;
    height: auto;
}

.box-2{
    display: flex;
    flex-direction: row-reverse;
}

.function-in-box{
    position: relative;
}

.function-point,
.function-nam{
    position: absolute;
    color: #002a68;
}

.function-point{
    top: -45px;
    left: 16px;
}

.function-nam{
    top: -32px;
    left: 24px;
}

.function-in-box,
.function-text-box{
    width: 40%;
}

.function-text-box{
    line-height: 1.8;
    letter-spacing: 0.1rem;
    padding-left: 4%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}


.text-r{
    padding-left: 0;
    padding-right: 4%;
}

.function-title{
    margin-bottom: 16px;
    color: #002a68;
    font-weight: bold;
}

/* 給与・勤怠連携 */
#recomend{
    background-color: #F2FFCE;
}

.recomend-box{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20%;
}

@media (max-width: 1200px) {
    .recomend-box{
        margin: 0 10%;
    }
}

.recomend-box p{
    line-height: 2;
}

.marker{
    background: linear-gradient(transparent 80%, #35b597 80%);
}

.recomend-in-box,
.recomend-img-box{
    width: 50%;
}

.recomend-in-box{
    padding-right: 4%;
}

.recomend-img-box{
    display: flex;
    justify-content: center;
}

.recomend-img-box img{
    width: 80%;
    height: auto;
}

.recomend-in-box img{
    margin-bottom: 32px;
}

.recomend-box p{
    line-height: 1.8;
}

/* 導入 */

.introduction-box{
    display: flex;
    justify-content: space-between;
    margin: 0 20%
}

@media (max-width: 1580px) {
.introduction-box{
        margin: 0 10%;
    }
}


.introduction-in-box{
    min-width: 25%;
    width: 100%;
    background-color: #fff;
    border-radius: 16px;
    padding: 2%;
    position: relative;
    margin-right: 2%;
    display: flex;
    flex-direction: column;
}

.step{
    color: #002a68;
}
.introduction-in-box p{
    padding-bottom: 8px;
}

.intro-text{
    flex-grow: 1; 
    line-height: 1.5;
}

.card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

.introduction-in-box:not(:last-child):after{
    content: '';
    border: 0;
    border-top: solid 2px #fb3c3c;
    border-right: solid 2px #fb3c3c;
    display: inline-block;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    right: -5%;
}

.Btn-A{
    margin-top: 64px;
    margin-left: auto;
    margin-right: auto;
    /* margin-bottom: 48px; */
    display: block;
    letter-spacing: 0.1rem;
    text-align: center;
    width: 20vw;
    min-width: 300px;
    padding: 2vh;
    background: linear-gradient(90deg, rgba(230,51,44,1) 0%, rgba(238,102,100,1) 50%, rgba(246,146,41,1) 100%);
    border-radius: 9999px;
    color: #fff;
    border: none;
}

/* フッター上 */
#kintai-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#kintai-contact p{
    background-color: #fff;
    padding: 0.5% 1%;
    width: auto;
    color: #002a68;
    text-align: center;
}

#kintai-contact img{
    margin-top: 64px;
    width: 40%;
}




@media (max-width: 924px) {
    .font-size-L {
        font-size: clamp(2.3rem, calc(3.6vw + 0.416vw), 4.2rem);
    }

    #top-area {
        padding-top: 100px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0 5%;
    }
    
.main-img, .top-box {
    width: 100%;
}

.top-box{
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* 機能詳細 */
    .function-box {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 80px;
        flex-direction: column;
    }

    .function-text-box {
        line-height: 1.8;
        letter-spacing: 0.1rem;
        padding-left: 0;
        padding-top: 16px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .text-r {
        padding-left: 0;
        padding-right: 0%;
    }

    .function-in-box, .function-text-box {
        width: 80%;
    }

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

    .introduction-in-box:not(:last-child):after {
        content: '';
        border: 0;
        border-top: solid 2px #fb3c3c;
        border-right: solid 2px #fb3c3c;
        display: inline-block;
        /* transform: rotate(45deg); */
        width: 10px;
        height: 10px;
        position: absolute;
        top: 103%;
        right: 50%;
        transform: rotate(134deg);
    }


.introduction-box {
    display: flex;
    align-items: center;
    margin: 0 20%;
    flex-direction: column;
}

.introduction-in-box {
    background-color: #fff;
    border-radius: 16px;
    padding: 10%;
    position: relative;
    margin-right: 0;
    margin-bottom: 10%;
    display: flex;
    flex-direction: column;
}
    .introduction-in-box:not(:last-child):after {
        content: '';
        border: 0;
        border-top: solid 2px #fb3c3c;
        border-right: solid 2px #fb3c3c;
        display: inline-block;
        /* transform: rotate(45deg); */
        width: 10px;
        height: 10px;
        position: absolute;
        top: 101%;
        right: 50%;
        transform: rotate(134deg);
    }
}



@media (max-width: 380px){
#function,
#recomend,
#kyuyo-recomend,
#introduction,
#kintai-contact{
    padding: 5vh 0;
}

    #top-area {
        padding-top: 80px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .main-img, .top-box {
        width: 95%;
        margin: 0 auto;
    }

    .top-copy-box h3 {
        padding: 0.5rem 1rem;
        color: #fff;
        background: linear-gradient(90deg, #34B59A 0%, #19BEF4 50%, #0087E2 100%);
        margin-left: 8px;
    }

    .top-copy-box h4 {
        text-align: center;
    }


    .kintai-copy h3 {
        margin-bottom: 100px;
        color: #002a68;
        line-height: 1.7;
        text-align: center;
        font-size: 2.2rem;
    }

    .kintai-copy {
        margin-top: 15%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .line{
        width: 90vw;
        margin-bottom: 16px;
    }

    .merit-num {
        color: #002a68;
        position: absolute;
        top: -3px;
        left: 16px;
    }

.box{
    margin: 0 0;
}

.in-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    margin: 16px 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.3);
    width: 164px;
    justify-content: center;
}

.in-box h3, .in-box img, .in-box p {
    margin: 8px 0 0 0;
}

.font-size-L {
    font-size: clamp(2rem, calc(2.5vw + 0.416vw), 2.8rem);
}

.font-size-M {
    /* font-size: clamp(1rem, calc(1.5rem + 0.416vw), 2rem); */
    font-size: clamp(1.2rem, calc(1.3rem + 0.416vw), 1.5rem);
}

.font-size-S {
    font-size: clamp(0.8rem, calc(1.4rem + 0.625vw), 1.5rem);
}

.font-size-ML {
    font-size: clamp(1.8rem, calc(2rem + 0.416vw), 2.5rem);
}

.function-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 15% 5%;
}

.function-in-box, .function-text-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.function-text-box {
    padding-left: 0;
    padding-top: 4%;
}

.function-nam {
    top: -19px;
    left: 24px;
}

.function-point {
    top: -30px;
    left: 16px;
}

.recomend-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.recomend h4 {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 4%;
}

.recomend-in-box, .recomend-img-box {
    width: 100%;
}

.recomend-img-box img {
    width: 100%;
    height: auto;
    margin-top: 16px;
}

.recomend-in-box img {
    margin: 16px 0;
}

.kintai-copy h4, .answer h4, .recomend h4, .introduction h4 {
    margin-bottom: 16px;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 4%;
}

.introduction-in-box {
    background-color: #fff;
    border-radius: 16px;
    padding: 10%;
    position: relative;
    margin-right: 0;
    margin-bottom: 7%;
    display: flex;
    flex-direction: column;
}
    .introduction-in-box:not(:last-child):after {
        content: '';
        border: 0;
        border-top: solid 2px #fb3c3c;
        border-right: solid 2px #fb3c3c;
        display: inline-block;
        width: 10px;
        height: 10px;
        position: absolute;
        top: 200px;
        right: 50%;
        transform: rotate(134deg);
    }

    #kintai-contact p{
        width: 70%;
    }

    #kintai-contact img {
        margin-top: 42px;
        width: 80%;
    }

    .Btn-A{
        margin-top: 42px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        letter-spacing: 0.1rem;
        text-align: center;
        width: 20vw;
        min-width: 300px;
        padding: 2vh;
        background: linear-gradient(90deg, rgba(230,51,44,1) 0%, rgba(238,102,100,1) 50%, rgba(246,146,41,1) 100%);
        border-radius: 9999px;
        color: #fff;
        border: none;
    }
}


