﻿.index-characteristic-box{
    width: 1920px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}
.index-characteristic-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    padding: 30px 0;
}
.index-characteristic-title-box{
    text-align: center;
    margin-top: 20px;
}
.index-characteristic-title-box h2{
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #93221b;
    line-height: 40px;
    transform: skewX(-10deg);
}
.index-characteristic-title-box h3{
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.2em;
    line-height: 30px;
    color: #000;
}
.index-characteristic-info-box{
    margin-top: 55px;
}
.index-characteristic-info{
    width: 310px;
    height: 180px;
    border-radius: 5px;
    display: inline-block;
    vertical-align: top;
    background-color: #93221b;
    box-sizing: border-box;
    padding: 25px; 
    position: relative;
    margin-right: 20px;
}
.index-characteristic-info:nth-child(4){
    margin-right: 0;
}
.index-characteristic-info-text-box{
    width: 100%;
    height: 100%;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.7);
    position: relative;
    z-index: 1;
}
.index-characteristic-info-text-name{
    font-size: 16px;
    color: #000;
    letter-spacing: 0.06em;
    font-weight: bold;
}
.index-characteristic-info-text{
    font-size: 14px;
    color: #555;
    letter-spacing: 0.03em;
    margin-top: 30px;
}
.index-characteristic-info-icon{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #93221b;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    position: absolute;
    top: -25px;
    left: calc(50% - 25px);
}


@media only screen and (max-width: 1300px){
    .index-characteristic-all-box{
        width: 1200px;
    }
    .index-characteristic-info{
        width: 285px;
    }
    .index-characteristic-info-text-box{
        box-sizing: border-box;
        padding: 0 15px;
    }
    .index-characteristic-info-text{
        min-height: 44px;
    }
}
@media only screen and (max-width: 1200px){
    .index-characteristic-all-box{
        width: 1000px;
    }
    .index-characteristic-info{
        width: 235px;
    }
    .index-characteristic-info-text-box{
        box-sizing: border-box;
        padding: 0 10px;
    }
}
@media only screen and (max-width: 1000px){
    .index-characteristic-all-box{
        width: 750px;
    }
    .index-characteristic-info{
        width: 365px;
    }
    .index-characteristic-info:nth-child(2) {
        margin-right: 0;
    }
    .index-characteristic-info:nth-child(3),
    .index-characteristic-info:nth-child(4){
        margin-top: 40px;
    }
}
@media only screen and (max-width: 750px){
    .index-characteristic-all-box{
        width: 550px;
        padding: 15px 0;
    }
    .index-characteristic-info{
        width: 265px;
    }
    .index-characteristic-title-box h2{
        font-size: 26px;
        line-height: 36px;
    }
    .index-characteristic-title-box h3{
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.06em;
    }
    .index-characteristic-info-text{
        margin-top: 20px;
    }
}
@media only screen and (max-width: 550px){
    .index-characteristic-all-box{
        width: 400px;
        padding: 10px 0;
    }
    .index-characteristic-info:nth-child(n){
        width: 100%;
        height: 140px;
        margin-right: 0;
        margin-top: 30px;
        padding: 20px;
    }
    .index-characteristic-info-text{
        margin-top: 10px;
    }
    .index-characteristic-info-box{
        margin-top: 0;
    }
    .index-characteristic-title-box h2{
        font-size: 20px;
        line-height: inherit;
    }
    .index-characteristic-title-box h3{
        font-size: 14px;
        line-height: inherit;
    }
    .index-characteristic-info-text-name{
        font-size: 14px;
    }
    .index-characteristic-info-text{
        font-size: 12px;
        min-height: inherit;
    }
    .index-characteristic-title-box{
        margin-top: 0;
    }
    .index-characteristic-info-icon{
        width: 40px;
        height: 40px;
        top: -20px;
        left: calc(50% - 20px);
        box-sizing: border-box;
        padding: 8px;
    }
}
@media only screen and (max-width: 400px){
    .index-characteristic-all-box{
        width: 300px;
    }
    .index-characteristic-title-box h2{
        font-size: 16px;
    }
}



@media only screen and (min-width: 1000px){
    .index-characteristic-title-box h2,
    .index-characteristic-title-box h3,
    .index-characteristic-info{
        opacity: 0;
    }
    .index-characteristic-title-box.anima h2{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-characteristic-title-box.anima h3{
        animation: fade 1s ease 0.4s 1 both;
    }
    .index-characteristic-info-box.anima .index-characteristic-info:nth-child(1){
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .index-characteristic-info-box.anima .index-characteristic-info:nth-child(2){
        animation: fadeInUp 1s ease 0.2s 1 both;
    }
    .index-characteristic-info-box.anima .index-characteristic-info:nth-child(3){
        animation: fadeInUp 1s ease 0.4s 1 both;
    }
    .index-characteristic-info-box.anima .index-characteristic-info:nth-child(4){
        animation: fadeInUp 1s ease 0.6s 1 both;
    }
}