@charset "UTF-8";

/*******************************
 
PhilosophyCss
企業理念で利用するCSS
 
*******************************/

/*------メイン画像------*/
#main-img{
    background: url("../img/main_img.jpg") no-repeat center top;
    background-size: cover;
    padding: 15% 0 12%;
}
#main-img span{
    font-size: 6.8rem;
    font-weight: bold;
    color: #fff;
}
@media screen and (max-width: 767px){
    #main-img{
        padding: 15% 0;
    }
    #main-img span{
        font-size: 2rem;
    }
}


/*------sec01------*/
.sec01{
    margin-bottom: 90px;
}
.sec01 h2{
    font-size: 6rem;
    font-weight: bold;
}
.sec01 .img{
    margin: 40px auto;
}
.sec01 h3{
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.sec01 p{
    line-height: 2.2;
}

@media screen and (max-width: 767px){
    .sec01{
        margin-bottom: 40px;
    }
    .sec01 h2{
        font-size: 3.4rem;
    }
    .sec01 .img{
        margin: 20px auto;
    }
    .sec01 h3{
        font-size: 2.4rem;
        margin-bottom: 10px;
    }
    .sec01 p{
        line-height: 1.8;
    }
}


/*------sec02------*/
.sec02 h2{
    background-image: url("../img/sec02_bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    font-size: 3.6rem;
    font-weight: bold;
    color: #fff;
    padding: 10% 0;
}
.sec02 h2 span{
    display: block;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.sec02 h3{
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.sec02 ul li{
    background-size: cover;
    background-attachment: fixed;
    padding: 8% 0;
    color: #1e72ac;
}
.sec02 .box-flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    max-width: 850px;
    margin: auto;
}
.sec02 .box-flex .img{
    width: 30%;
    text-align: left;
}
.sec02 .box-flex .txt{
    width: 70%;
    text-align: left;
}
.sec02 .box-flex .txt p{
    line-height: 1.8;
    max-width: 490px;
}

.sec02 .human{
    background-image: url("../img/sec03_bg.jpg");
    position: relative;
}
.sec02 .human:before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 54px 50px 0 50px;
    border-color: #1e71ac transparent transparent transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}


.sec02 .town{
    background-image: url("../img/sec04_bg.jpg");
    color: #fff;
}
.sec02 .town .box-flex .img{
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    text-align: right;
}


.sec02 .nature{
    background-image: url("../img/sec05_bg.jpg");
}

@media screen and (max-width: 767px){
    .sec02 h2,
    .sec02 ul li{
        background-position: center;
        background-attachment:inherit;
    }
    .sec02 h2{
        font-size: 3.4rem;
    }
    .sec02 h2 span{
        margin-bottom: 6px;
    }
    .sec02 h3 {
        font-size: 2rem;
        margin: 15px 0;
    }
    
    .sec02 .box-flex{
        display: block;
    }
    .sec02 .box-flex .img,
    .sec02 .box-flex .txt{
        width: 100%;
        margin: auto;
        padding: 0 15px;
    }
    .sec02 .box-flex .img,
    .sec02 .town .box-flex .img{
        text-align: center;
    }
    .sec02 .box-flex .img img{
        width: 25%;
    }
    
    .sec02 .human:before{
        border-width: 20px 20px 0 20px;
    }
}


/*------sec03------*/
.sec03{
    background-image: url("../img/sec06_bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    padding: 8% 0;
    position: relative;
}
.sec03:before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 54px 50px 0 50px;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.sec03 h2{
    font-size: 5.8rem;
    font-weight: bold;
    margin-bottom: 50px;
}
.sec03 h2 span{
    display: block;
}
.sec03 p{
    line-height: 2.2;
}

@media screen and (max-width: 767px){
    .sec03{
        background-position: center;
        background-attachment:inherit;
    }
    .sec03:before{
        border-width: 20px 20px 0 20px;
    }
    .sec03 h2{
        font-size: 3.4rem;
        margin-bottom: 20px;
    }
    .sec03 p{
        text-align: left;
        line-height: 1.8;
    }
}
