/* 商品案内トップページ */
.service_content {
    padding: 50px 50px 50px 120px;
    max-width: 1000px;
    margin: 0 auto;
}

.service_list_row {
    display: flex;
    flex-direction: column;
    gap:100px;
}
.service_list_box {
    position: relative;
}

.service_list_article_box{
    display: flex;
    gap: 60px;
    justify-content: center;
}

.service_title {
    position: absolute;
    z-index: 10;
    writing-mode: vertical-rl;
    top:-60px;
    left: -55px;
    font-size: 42px;
    font-weight: 600;
    margin: 0;
}

.service_title_explanation{
    position: absolute;
    writing-mode: vertical-rl;
    bottom: 0;
    left: -80px;
    font-size: 28px;
    font-weight: 400;
    color: rgb(119, 119, 119);
    margin: 0;
}

.service_title_explanation_works {
    left: -120px !important;
    height: 330px;
}

.service_img_box {
    max-width: 550px;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.service_img_box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}



.service_explanation_box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    flex: 1;
}

.service_btn_col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service_btn_row {
    display: flex;
    gap: 20px;
}

.service_explanation_txt {
    font-size: 18px;
}

/* 商品案内詳細リストページ */

.service_list_content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px 0px 50px;
    box-sizing: border-box;
}

.service_list_content_box {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service_top_section {
    padding: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service_top_box {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    
}

.service_top_title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service_top_explanation_box {
    display: flex;
    gap: 20px;
}

.service_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.service_list_syohin_txt_box {
    display: flex;
    justify-content: center;
    align-items: end;
}

.service_list_syohin_txt {
    width: 300px;
    font-size: 24px;
    color: white;
    background-color: #003b8f;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    box-sizing: border-box;
    border-radius: 50px;
}

.service_top_explanation {
    flex: 1;
    margin: 0 0 80px 0;
    font-size: 20px;
}

.service_list_syohin_txt p {
    margin: 0;
}

.service_list_grow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 325px));
    justify-content: center;
    gap: 60px;
}

.service_list_detail {
    display: flex;
    gap: 20px;
    flex-direction: column;
    max-width: 330px;
    width: 100%;
}

.service_list_detail_img {
    width: 100%;
    height: 200px;
}

.service_list_detail_img img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;

}

.service_list_detail_title {
    text-align: center;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    padding: 0 20px;
}

.service_list_detail_title h3 {
    margin: 0;
}

.service_list_detail_text {
    margin: 0;
    font-size: 16px;
}

.service_list_detail_text p {
    margin: 0;
}

.service_list_detail_more {
    display: flex;
    justify-content: end;
    align-items: end;
    margin-top: auto;
}

/* サービス専用ボタン */
.service_link {
    display: inline-block;
    text-decoration: none;
}

.service_btn {
    width: 220px;
    padding: 0 20px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 600;

    border-radius: 50px;

    box-sizing: border-box;
    transition: .2s;
}

.service_btn_dojo {
    font-size: 17px;
}

.service_btn span {
    line-height: 1;
}

.service_link:hover .service_btn {
    background-color: #003b8f;
    color: #fff;
}

.white_btn {
    border: 4px solid #003b8f;
    color: #003b8f;
}

.service_link:hover .white_btn {
    background-color: #003b8f;
    color: #fff;
}

.blue_btn {
    border: 4px solid #003b8f;;
    color: #fff;
    background-color: #003b8f;
}

.service_link:hover .blue_btn {
    background-color: #fff;
    color: #003b8f;
    border: 4px solid #003b8f;
}



.analysis-btn {
    gap: 16px;
}

/* サービス専用やじるし */

/* 片方矢印 */
.service_view-more_arrow{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    text-decoration:none;
    color:#777;
    font-size:20px;
}

.service_view-more_line{
    position:relative;
    width:70px;
    height:5px;
}

/* オレンジの円 */
.service_view-more_line .circle{
    position:absolute;
    right:-3px;
    top:-18px;
    width:36px;
    height:36px;
    background:#f28c28;
    border-radius:50%;
    z-index:0;
}

/* 横線 */
.service_view-more_line::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:57px;
    height:2px;
    background:#000;
    transform-origin:left;
    transition:.3s;
    z-index:2;
}

/* 斜線 */
.service_view-more_line::after{
    content:"";
    position:absolute;
    right:12px;
    top:0;
    width:18px;
    height:2px;
    background:#000;
    transform:rotate(35deg);
    transform-origin:right center;
    transition:.3s;
    z-index:2;
}

.service_view-more_arrow:hover .service_view-more_line::before{
    transform:scaleX(1.4);
}

.service_view-more_arrow:hover .service_view-more_line::after{
    transform:translateX(22px) rotate(35deg);
}
@media (max-width:1099.9px){

    .service_list_article_box {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:20px;
    }

    .service_title_explanation {
        bottom: 220px;
    }
    .service_explanation_box {
        flex-direction: row;
        gap: 20px;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .service_img_box {
        margin-right: auto;
    }

    .service_explanation_txt {
        margin-right: auto;
    }

    .service_btn_col {
        margin-left: auto;
    }
}

@media (max-width:979.9px){
    .service_top_section {
        justify-content: center;
        gap:20px;
    }
    .service_top_box {
        flex-direction: column;
        gap:20px;
    }

    .service_top_box {
        justify-content: center;
        align-items: center;
    }

    .service_top_title {
        margin: 0 auto;
    }

    .service_top_explanation_box {
        flex-direction: column-reverse;
        justify-content: center;
        gap:40px;
    }

    .service_top_explanation {
        margin: 0 auto;
    }

    .service_list_grow {
        grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
        gap:30px;
    }

    .service_list_detail {
        max-width: 300px;
        min-width: 200px;
    }


    .service_list_detail_title h3 {
        font-size: 20px;
    }
    
}

@media (max-width:784.9px){
    .service_list_content {
        padding: 0 20px 0 20px;
    }
    .service_list_grow {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    .service_list_detail {
        max-width: 600px;
    }

    .service_btn {
        font-size: 14px;
        height: 40px;
        width: 175px;
        padding: 10px;

    }

    .service_content {
        padding: 20px 20px 20px 100px;
    }
    .service_img_box {
        max-width: 500px;
        height: 300px;
    }

    .service_top_title {
        font-size: 40px;
    }
}

@media (max-width:479.9px){
    .service_img_box {
        height: 250px;
    }

    .service_title_box {
        width: 100%;
    }
    .service_title, .service_title_explanation {
        position: unset;
        writing-mode: unset;
    }
    
    .service_title_explanation {
        text-align: end;
    }
    .service_content {
        padding: 0 20px;
    }

    .service_explanation_box{
        margin:  0 auto;
    }

    .service_btn_row {
        flex-direction: column;
    }

    .service_btn_col {
        margin: 0 auto 0 0;
    }

    .service_btn {
        width: 220px;
        padding: 0 20px;
        height: 50px;
        font-size: 16px;
    }
    .service_title {
        font-size: 36px;
    }

    .service_title_explanation_works {
        height: auto;
    }

}