@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
}
body{
    font-family: Noto Sans JP;
}
.top-compnay-question{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
}
.company-question-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F6F6F6;
    padding: 30px 0px 50px;

}


.accordion-008 {
    max-width: 600px;
    width: 100%; /* スマホ幅では100%にする */
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 7px 15px -5px rgb(0 0 0 / 5%);
    background-color: #fff;
    transition: .3s;
    overflow: hidden;
    max-height: 85px;
    transition: all ease-in-out .3s;
}

.accordion-008[open] {
    max-height: 525px;
}

.accordion-008 summary {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    padding: 1em 1.5em;
    color: #0064E0;
    font-family: Noto Sans JP;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    transition: all ease-in-out .3s;
}

.accordion-008 summary::-webkit-details-marker {
    display: none;
}

.accordion-008 summary::before,
.accordion-008 summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #000000b3;
    content: '';
}

.accordion-008 summary::before {
    position: absolute;
    rotate: 90deg;
}

.accordion-008 summary::after {
    transition: rotate .3s;
    position: absolute;
}

.accordion-008[open] summary::after {
    rotate: 90deg;
}

.accordion-008 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    font-family: Noto Sans JP;
    transition: transform .3s, opacity .3s;
    text-align: left;
    animation: fadeIn .3s ease;
}

.accordion-008[open] p {
    transform: none;
    opacity: 1;
}
.company-question-titleWrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px
}

.company-question-title, .question-title{
    font-family: Noto Sans JP;
    font-weight: 600;
    background-color: #D9D9D9;
    width: 165px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.question-title a:link,      /* 通常のリンク */
.question-title a:visited,  /* 訪問済みリンク */
.question-title a:hover,    /* ホバー中のリンク */
.question-title a:active {  /* クリック中のリンク */
    color: #000; /* 黒に設定 */
    text-decoration: none; /* 必要に応じて下線を消す */

}

.company-question-title{
    margin: 50px 0px 50px;
}

.company-question h1, .company-question h2{
    font-family: Noto Sans JP;
    font-weight: 700;
}
.company-question h2{
    color: #0064E0;
}
.company-question{
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ご利用ガイド */
.guide{
    width: 100%;
    margin: 0 auto;

    .sp-guide_title{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 100px;
        font-weight: 600;
        img{
            max-height: 100%; 
            height: auto;  
        }
    }
    .guide-wrap{
        margin: 0 auto; 
    }
    .guide-top{
        display: flex;
        margin: 0 auto;
        padding-top: 50px;
    }
    .sp-guide-link{
        margin-top: 10px;
        font-weight: 600;
        display: flex;
    }
    .guide-text{
        font-weight: 600;
    }
}

/* 登録からご利用の流れ */
.sp-flow{
    margin-top: 100px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    h1{
        display: flex;
        justify-content: center;
        margin: 20px 0px;
    }
    .flow-wrap{
        margin: 0 auto;
        box-sizing: border-box;


        .flow-title{
            display: flex;
            justify-content: center;
            height: 3em;
            position: relative;

            h2{
                text-align: center;
            }
            img{
                height: auto;
                max-width: 100%;
                position: absolute;
            }
            p{
                position: absolute;
                display: inline-block;
                transform: rotate(-20deg);
            }
        }
        .flow-item{
            display: flex;

            .num {          
                background-color: #FCEF20;  
                color: #0168B7;            
                border-radius: 50%;      
                display: flex;           
                justify-content: center;   
                align-items: center; 
            }
            .sp-flow-text{
                flex: 4;
                align-items: center;
                display: flex;
            }
        } 
    }
    .triangle {
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 70px solid transparent;
        border-left: 70px solid transparent;
        border-top: 35px solid #0064e0;
        border-bottom: 0;
        margin: 0 auto;
      }
}


/* 矢印 */
.arrow {
    position: relative;
    display: inline-block;
  }
  
  .arrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-top: solid 3px #5070e3;
    border-right: solid 3px #5070e3;
    position: absolute;
    left: 1px;
  }
  .arrow.arrow-right::before {
    transform: rotate(45deg);
  }
  /* ボタン */
  .sp-btn-wrap{
    background-color: #00A89A;
  }
  .sp-btn-wrap,
  .sp-btn-wrap_top{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    
    width: 100%;
    padding: 25px 0px;
   

        .sinsostu-item,
        .tensyoku-item{
        border: none;
        color: #fff;
        padding: 5px 15px;
        font-weight: 600;
        font-family: Noto Sans JP;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        text-align: center;
        }
        .sinsostu-item{
            background-image: radial-gradient(circle at 100% 0%, #2F7DE9, #2EC2C2);
        }
        .tensyoku-item{
            background-image: radial-gradient(circle at 100% 0%, #FF5C00, #EFE94D);
        }
        /* クリック時の動き */
        .sinsostu-item:active,
        .tensyoku-item:active {
            transform: translateY(1px) scale(0.98); /* 少し下がって縮む */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 影を薄くする */
        }
    }
    .sp-support{
        .blue-box{
            display: flex;
            justify-content: center;
        }
        .blue-box span {
            display: inline-block; /* インライン要素に幅と高さを設定できるようにする */
            border: 2px solid #0064E0; /* 青い枠線 */
            padding: 1px 5px; /* 内側の余白 */
            margin: 2px; /* 各文字間の隙間 */
            font-weight: bold; /* 太字 */
            color: #0064E0; /* 文字色 */
            text-align: center; /* テキストを中央揃え */
        }
        h1{
            text-align: center;
            font-weight: 600;
        }
        .support-wrap {
            margin: 0 auto;
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 15px;
            padding: 30px 0px;

            p{
                font-weight: 600;
            }
        }
        .support-img{
            display: flex;
            justify-content: center;
            margin: 30px 0px;
        
        }
        
    }
    /* 3分でわかる人財革命 */
    .about-jinzai-top{
        background-image: linear-gradient(180deg, #00A89A, #fff 50%, #00A89A);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;

        /* 女性のコメント */
        .w-comment-item{
            position: relative;
            display: flex;

            .w-comment{
                background-color: #fff;
                border-radius: 8px;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            }
            img{
                position: absolute;
            }
        }
        
        /* 男性のコメント */
        .m-comment-item{
            position: relative;
            display: flex;

            .m-comment{
                background-color: #fff;
                border-radius: 8px;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);

                .men-comment-title{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 800;

                    h1{
                        color: #004098;
                    }
                    span{
                        color: #000;
                    }
                }
                .blue-text{
                    color: #004098;
                }
            }
            .men1,.men2,.men3{
                position: absolute;
            }
            .middle-item{
                display: flex;
                flex-direction: column;
                align-items: center;
                .under-line{
                    font-weight: 800;
                    color: #004098;
                    text-decoration: underline; /* アンダーラインを設定 */
                    text-decoration-thickness: 5px; /* アンダーラインの太さを設定 */
                    text-decoration-color: #FCEF20; /* アンダーラインの色を設定 */
                    text-underline-offset: 3px;
                    text-align: center;
                }
                .middle{
                    font-weight: 800;
                    color: #004098;
                }
            }
         
        }
    }
    .fadeIn_up {
        opacity: 0;
        transform: translate(0, 50%);
        transition: 1s;
      }
      
      .fadeIn_up.is-show {
        transform: translate(0, 0);
        opacity: 1;
      }

/* PC幅 */
@media screen and (min-width: 769px) {
    .pc-none{
        display: none;
    }
    .about-img img{
        width: 100%;
        object-fit: cover; /* 画像をコンテナ内に完全に収める */
        /* display: block; */
    }
    .company-question-titleWrap{
        gap: 60px;
    }
    .company-question-content{
        width: 80%;
    }
    .accordion-008{
        font-size: 18px;
    }
    .accordion-008 summary::before {
        right: 1em;
    }
    .accordion-008 summary::after {
        right: 1em;
    }
    .company-question h1, .company-question h2{
        font-size: 24px;
    }
    .company-question-title, .question-title{
        font-size: 18px;
    }
    /* ご利用ガイド */
    .sp-guide_title{
        font-size: 24px;
        height: 2.5em;
        margin-top: 100px;
    }
    .pc-guide-wrap{
        display: flex;
        width: 70%;
        margin: 0 auto;
        gap: 25px;
    }
    .guide-top{
        width: 80%;
        gap: 25px;
        .guide-wrap{
            flex: 1;


            img{
                max-width: 100%;
            }
        }
        .guide-text{
            font-size: 16px;
        }
        .sp-guide-link{
            font-size: 16px;
        }
        .arrow::before{
            top: 7px;
        }
    }
    /* 登録からご利用の流れ */
    .sp-flow{
        gap: 15px;
        h1{
            font-size: 24px;
        }
        .flow-wrap{
            width: 60%;
            padding: 30px;
            border: 2px solid #43C6C6;

            .flow-title{
                margin-bottom: 20px;

                h2{
                    font-size: 18px;
                }
                p{
                    top: -29px;
                    left: -50px;
                    font-size: 20px;
                }
                .flow-img-1,
                .flow-img-4{
                    top: 0px;
                    right: 20px;
                    width: 70px;
                }
                .flow-img-2{
                    top: 0px;
                    right: 10px;
                    width: 85px;
                }
                .flow-img-3{
                    top: 0px;
                    right: 30px;
                    width: 48px;
                }
            }
        }
        .flow-item{
            gap: 20px;

            .num {
                width: 55px;
                height: 55px;
                font-size: 18px;
            }
            .sp-flow-text{
                font-size: 16px;
            }
        } 
    }
    /* ボタン */
    .sp-btn-wrap_top{
        gap: 50px;
        padding-bottom: 50px;
    }
    .sp-btn-wrap{
      margin-top: 100px;
      gap: 50px;
    }
    .sinsostu-item,
    .tensyoku-item{
      font-size: 16px;
      width: 145px;
      border-radius: 20px;

    }
    .sp-support{
        .blue-box{
            margin-top: 100px;
        }
        .blue-box span {
            font-size: 20px; /* 文字サイズ */
        }
        h1{
            font-size: 24px;
        }
        .pc-support-wrap{
            display: flex;
            width: 70%;
            margin: 0 auto;
            gap: 30px;
            margin-top: 40px;
        }
        .support-wrap {
            flex: 1;
        }
        p{
            font-size: 16px;
        }
        
        img{
            max-width: 90%;
        }
    }
    .support-img4{
        width: 70%;
    }
        .conversation{
        margin: 0 auto;
        width: 95%;
    }
    .about-jinzai-top{
        justify-content: center;
        .how1{
            width: 30%;
        }
        .conversation{
            margin: 0 auto;
            width: 60%;
        }
     /* 女性のコメント */
     .w-comment-item{
        margin: 100px 0px;
        justify-content: center;

        .w-comment{
            padding: 15px;
            width: 65%;
            font-size: 18px;
            p{
                line-height: 2;
            }
        }
        .women1{
            top: -35px;
            left: 42px;
            width: 88px;
        }
        .women2{
            top: 19px;
            left: 34px;
            width: 96px;
        }
        .women3{
            top: 22px;
            left: 4px;
            width: 118px;
        }
        .women4{
            top: -7px;
            left: 25px;
            width: 118px;
        }
    }


    /* 男性のコメント */
    .m-comment-item{
        margin: 100px 0px;
        justify-content: center;
        .men1{
            top: -72px;
            right: 49px;
            width: 141px;
        }
        .men2{
            top: -69px;
            right: -19px;
            width: 210px;
        }
        .men3{
            top: -42px;
            right: -8px;
            width: 210px;
        }
        .m-comment{
            padding: 15px;
            width: 70%;
            font-size: 18px;

            .men-comment-title{
              margin: 12px 0px;

                h1{
                    font-size: 24px;
                }
                span{
                    font-size: 22px;
                }
                .first{
                    width: 50px;
                }
            }

            p{
                line-height: 2;
                margin-bottom: 26px;
               }
       
                .under-line{
                    font-size: 19px;
                }
        }
    }
    }
}

/* スマホ・タブレット幅 */
@media screen and (max-width: 768px) {
    .sp-none{
        display: none;
    }
    .company-question-titleWrap{
        gap: 12px;
        width: 90%;
    }
    /* よくある質問 */
    .accordion-008 {
        width: 85%; /* 幅を100%に */
        padding: 0 15px; /* スマホでも十分に余白を確保 */
    }

    .accordion-008 summary {
        font-size: 14px; /* テキストサイズを少し小さく */
    }

    .accordion-008 p {
        padding: .3em 1em 1.5em; /* パディングを調整 */
        font-size: 14px;
    }
    .company-question-content{
        width: 90%;
    }
    .accordion-008 summary::before {
        right: 0em;
    }
    .accordion-008 summary::after {
        right: 0em;
    }
    .company-question h1, .company-question h2{
        font-size: 20px;
    }
    .company-question-title, .question-title{
        font-size: 13px;
    }
    .sp-container{
        margin: 0 auto;
    }
    .sp-about-img,
    .guide-wrap img{
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    /* ご利用ガイド */
    .sp-guide_title{
        font-size: 18px;
        height: 2em;
        margin-top: 100px;
    }
    .guide-top{
        width: 90%;
        gap: 20px;

        .guide-wrap{
            width: 70%; 
        }
        .guide-text{
            font-size: 12px;
        }
        .arrow::before{
            top: 3px;
        }
    }


    /* 登録からご利用の流れ */
    .sp-flow{
        gap: 15px;
        h1{
            font-size: 18px;
        }
        .flow-wrap{
            width: 90%;
            padding: 13px;
            border: 1.5px solid #43C6C6;

            .flow-title{
                margin-bottom: 15px;
                h2{
                    font-size: 16px;
                }
                p{
                    top: -18px;
                    left: -21px;
                    font-size: 15px;
                }
                .flow-img-1,
                .flow-img-4{
                    top: 0px;
                    right: 0px;
                    width: 50px;
                }
                .flow-img-2{
                    top: 0px;
                    right: -13px;
                    width: 68px;
                }
                .flow-img-3{
                    top: -3px;
                    right: 9px;
                    width: 44px;
                }
            }
            .flow-item{
                gap: 10px;
    
                .num {
                    width: 40px;             
                    height: 40px;  
                    font-size: 16px; 
                }
                .sp-flow-text{
                    font-size: 12px;
                }
            } 
        }

      }

    /* ボタン */
    .sp-btn-wrap_top{
        gap: 30px;
    }
    .sp-btn-wrap{
      margin-top: 40px;
      gap: 30px;
    }
    .sinsostu-item,
    .tensyoku-item{
      font-size: 10px;
      width: 90px;
      border-radius: 13px;
    }
        
    .sp-support{
        .blue-box{
            margin-top: 50px;
        }
        .blue-box span {
            font-size: 13px; /* 文字サイズ */
        }
        h1{
            font-size: 18px;
        }
        .support-wrap {
            width: 80%;
        }
        p{
            font-size: 12px;
        }
        .support-img1,
        .support-img2,
        .support-img3{
            width: 60%;
        }
    }
    .support-img4{
        width: 95%;
    }


    .about-jinzai-top{
        justify-content: right;
        .how1{
            width: 70%;
        }
    .conversation{
        margin: 0 auto;
        width: 95%;
    }
        /* 女性のコメント */
        .w-comment-item{
        margin: 70px 0px;
        justify-content: right;
        width: 100%;

            .w-comment{
                padding: 10px;
                width: 75%;
                font-size: 16px;
                p{
                    line-height: 2;
                }
            }
            .women1{
                top: -13px;
                left: 12px;
                width: 70px;
            }
            .women2{
                top: -7px;
                left: 8px;
                width: 77px;
            }
            .women3{
                top: -2px;
                left: -5px;
                width: 83px;
            }
            .women4{
                top: 9px;
                left: -10px;
                width: 96px;
            }
        }


        /* 男性のコメント */
        .m-comment-item{
            margin: 50px 0px;
            justify-content: left;
            width: 100%;

            .men1{
                top: -41px;
                right: -12px;
                width: 104px;
            }
            .men2{
                top: -61px;
                right: -47px;
                width: 142px;
            }
            .men3{
                top: -42px;
                right: -34px;
                width: 147px;
            }
            .m-comment{
                padding: 10px;
                width: 88%;
                font-size: 16px;

                
                .men-comment-title{
                    margin: 20px 0px;

                    h1{
                        font-size: 18px;
                    }
                    span{
                        font-size: 16px;
                    }
                    .first{
                        width: 40px;
                    }
                    
                }
               p{
                line-height: 2;
                margin-bottom: 15px;
               }
            }
          
        }
    }

    }