﻿.index-sgs-box{
    width: 100%;
    display: block;
    padding: 160px 0;
    /* background-color: #fff; */
}
.index-sgs-all-box{
    width: 1200px;;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    font-size: 16px;
    text-align: center;
}
.index-sgs-all-box:nth-child(2){
    margin-top: 100px;
}
.index-sgs-title-box{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.index-sgs-title-icon{
    width: 160px;
    max-width: 100%;
}
.index-sgs-title{
    font-size: 24px;
    color: #fff;
    padding-left: 10px;
    box-sizing: border-box;
    letter-spacing: 0.06em;
    text-align: left;
}
.index-sgs-info-box{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.index-sgs-info{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.index-sgs-info-list div{
    border: 1px solid #fff;
    padding: 5px;
    box-sizing: border-box;
    letter-spacing: 0.06em;
}
.index-sgs-info-list-name{
    background-color: #007132;
    color: #fff;
}
.index-sgs-info-list-text{
    background-color: #bde1b8;
    color: #333;
}
.index-sgs-info-list-text2{
    background-color: #ddd;
    color: #333;
}


@media only screen and (max-width: 1200px){
    .index-sgs-box{
        padding: 100px 0px;
    }
    .index-sgs-all-box{
        width: 1000px;
        font-size: 14px;
    }
    .index-sgs-info-box{
        gap: 20px;
        margin-top: 30px;
    }
    .index-sgs-all-box:nth-child(2){
        margin-top: 60px;
    }
}
@media only screen and (max-width: 1000px){
    .index-sgs-box{
        padding: 60px 0px;
    }
    .index-sgs-all-box{
        width: 768px;
    }
    .index-sgs-info-box{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .index-sgs-title-icon{
        width: 120px;
    }
    .index-sgs-title{
        font-size: 20px;
    }
    .index-sgs-all-box:nth-child(2){
        margin-top: 40px;
    }
}
@media only screen and (max-width: 768px){
    .index-sgs-box{
        padding: 40px 0px;
    }
    .index-sgs-all-box{
        width: 550px;
    }
    .index-sgs-title-box{
        flex-direction: column;
        align-items: center;
    }
    .index-sgs-title{
        font-size: 16px;
        padding-left: 0;
        margin-top: 10px;
    }
    .index-sgs-all-box:nth-child(2){
        margin-top: 20px;
    }
}
@media only screen and (max-width: 550px){
    .index-sgs-box{
        padding: 20px 0px;
    }
    .index-sgs-all-box{
        width: 95vw;
    }
    .index-sgs-info-box {
        gap: 10px;
        margin-top: 10px;
    }
    .index-sgs-info{
        display: block;
        width: 100%;
    }
    .index-sgs-info-list{
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


.index-compare_table-box table, 
.index-compare_table-box th,
.index-compare_table-box td {
    border: 1px solid white;
    box-sizing: border-box;
    border-collapse: collapse;
    color: #fff;
  }
.index-compare_table-box{
    width: 100%;
    display: block;
    padding: 160px 2.5vw;
    box-sizing: border-box;
}
.index-compare_table-scroll-box{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}
.index-compare_table-all-box{
    width: 960px;
    margin: 0 auto;
    display: block;
    font-size: 16px;
    border: 1px solid white;
    box-sizing: border-box;
    background-color: transparent;
}
.index-compare_table-all-box caption{
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    padding: 5px 10px;
    color: #fff;
    border: 1px solid white;
    background-color: rgba(255, 255, 255, 0.4);
}
.index-compare_table-all-box tr{
    display: flex;
}
.index-compare_table-all-box th{
    font-size: 20px;
    font-weight: 700;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
}
.index-compare_table-all-box td{
    font-size: 16px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.index-compare_table-all-box th:nth-child(1),
.index-compare_table-all-box td:nth-child(1){
    width: 140px;
    font-weight: 700;
}
.index-compare_table-all-box td:nth-child(1){
    background-color: rgba(255, 255, 255, 0.1);
}
.index-compare_table-all-box th:nth-child(2),
.index-compare_table-all-box th:nth-child(3),
.index-compare_table-all-box td:nth-child(2),
.index-compare_table-all-box td:nth-child(3){
    width: calc((100% - 140px) / 2)
}
.index-compare_table-all-box td.sgsWin{
    padding-right: 35px;
}
.sgsWin:after{
    content: '勝';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ff0000;
    border: 2px solid #ff0000;
    border-radius: 50%;
    font-weight: 700;
    font-style: italic;
    box-sizing: border-box;
    padding-right: 2px;
}


@media only screen and (max-width: 1000px){
    .index-compare_table-scroll-box{
        max-width: 750px;
    }
    .index-compare_table-all-box{
        width: 710px;
    }
    .index-compare_table-box{
        padding-top: 100px;
        padding-bottom: 100px;
    }
}
@media only screen and (max-width: 768px){
    .index-compare_table-box{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .index-compare_table-all-box caption{
        font-size: 20px;
        line-height: 30px;
    }
    .index-compare_table-all-box th{
        font-size: 18px;
    }
    .index-compare_table-all-box td{
        font-size: 14px;
    }
}
@media only screen and (max-width: 550px){
    .index-compare_table-box{
        padding-top: 40px;
        padding-bottom: 40px;
    }
}