@charset "UTF-8";

#ouchitop{
    position: relative;
    height: 530px;
}
#ouchitop .main{
    width: 100%;
    /*background-image: url(../img/ouchide/main.png), url(../img/ouchide/main_bg.jpg);*/
    background-image: url(../img/ouchide/main_bg.jpg);
    background-position: center 0;
    background-repeat: repeat-x;
    position: absolute;
    top: 0;
    left: 0;
}
#ouchitop .main img{
    display: block;
    margin: 0 auto;
}
#ouchitop > div{
    height: 530px;
    position: relative;
}
/*
#ouchitop .fukidashi1{
    position: absolute;
    left: 0;
    top: 47px;
}
#ouchitop .fukidashi2{
    position: absolute;
    right: 35px;
    top: 15px;
}
*/
#ouchitop p{
	color: #00a53c;
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
    text-shadow: 0 0 10px rgba(255,255,255,1), 0 0 10px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,1);
    width: 541px;
    text-align: center;
    margin-bottom: 10px;
    position: absolute;
    bottom: 100px;
    left: 0px;
}
#ouchitop p::after,
#ouchitop p::before{
    content: "";
    display: block;
    width: 33px;
    height: 1px;
    background-color: #00a53c;
    position: absolute;
    top: 15px;
    box-shadow: 0px 0px 10px 10px rgba(255,255,255,0.5);
}
#ouchitop p::after{
    transform: rotate(66deg);
    left: 70px;
}
#ouchitop p::before{
    transform: rotate(-66deg);
    right: 70px;
}
#ouchitop a{
    width: 475px;
    max-width: 475px;
    border-radius: 5px;
	background-color: #00a53c;
	box-shadow: 0px 3px 0px 0px #007332;
	font-size: 24px;
	font-weight: 700;
    height: 73px;
    position: absolute;
    left: 30px;
    bottom: 20px;
}
#ouchitop a .icon{
    margin-right: 15px;
}
#ouuchi_case{
    background-color: #00a53c;
    padding: 40px 0;
}
#ouuchi_case h2{
    color: #fff;
}
#ouuchi_case h2 span{
    color: #fefefe;
}
#ouuchi_case ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#ouuchi_case ul li{
    width: 31%;
    border-radius: 5px;
	background-color: #ffffff;
    padding: 36px;
}
#ouuchi_case ul li figure{
    width: 100%;
    margin-bottom: 20px;
}
#ouuchi_case ul li figure img{
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
#ouuchi_case ul li dl dt{
	color: #00a53c;
	font-size: 18px;
	font-weight: 400;
    text-align: center;
    position: relative;
}
#ouuchi_case ul li dl dt:before{
    content: "";
    width: 100%;
    display: block;
    height: 1px;
    background: linear-gradient(to right, #e6e6e6 35%, transparent 35%,transparent 65%,#e6e6e6 65%,#e6e6e6 100%);
    position: absolute;
    left: 0;
    top: 50%;
}
#ouuchi_case ul li dl dd{
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
}

#ouuchi_flow ul{
    counter-reset: count;
}
#ouuchi_flow ul li{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin-bottom: 20px;
    counter-increment: count;
}
#ouuchi_flow ul li figure{
    width: 160px;
    margin-right: 73px;
}
#ouuchi_flow ul li dl{
    width: calc(100% - 233px);
    position: relative;
}
#ouuchi_flow ul li dl::after{
    content: counter(count, decimal-leading-zero);
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
	background-color: #00a53c;
    font-family: Oswald;
	color: #ffffff;
	font-size: 18px;
	font-weight: 400;
	line-height: 40px;
    text-align: center;
    position: absolute;
    top: 0;
    left: -55px;
}
#ouuchi_flow ul li:nth-last-child(n+2) dl::before{
    content: "";
    display: block;
    width: 1px;
    height: calc(100% + 20px);
    background-color: #00a53c;
    position: absolute;
    top: 0;
    left: -35px;
}

#ouuchi_flow ul li dl dt{
	color: #00a53c;
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
    margin-bottom: 10px;
}
#ouuchi_flow ul li dl dd{
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
}

#ouuchi_sodan ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#ouuchi_sodan ul li{
    border: 6px solid #00a53c;
    border-radius: 5px;
	background-color: #ffffff;
	box-shadow: 6px 8px 0px 0px #00a53c;
    width: 48%;
    padding: 30px;
    margin-bottom: 40px;
}
#ouuchi_sodan ul li figure{
    width: 100%;
    margin-bottom: 20px;
}
#ouuchi_sodan ul li dl dt{
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
    margin-bottom: 10px;
}
#ouuchi_sodan ul li dl dd{
	font-size: 16px;
	font-weight: 700;
	line-height: 30px;
}

#ouuchi_sodan ul li .nourl{
    pointer-events: none;
}

@media screen and (max-width: 767px){
    #ouchitop,
    #ouchitop > div{
        height: auto;
    }
    #ouchitop .main,
    #ouchitop p,
    #ouchitop a{
        position: relative;
        top: 0;
        left: 0;
        bottom: 0;
    }
    #ouchitop .main img{
        margin: 0 auto;
        width: 98%;
    }
    #ouchitop p{
        width: 100%;
        font-size: 4vw;
        text-align: center;
        margin-top: 20px;
    }
    #ouchitop p::before{
        right: 2vw;
    }
    #ouchitop p::after{
        left: 2vw;
    }
    #ouchitop a{
        width: 100%;
        max-width: 100%;
        height: 16vw;
        line-height: 16vw;
        font-size: 5vw;
        margin: 0 auto;
    }
    #ouchitop a .icon{
        margin-right: 10px;
        padding-bottom: 5vw;
    }
    #ouchitop a .icon img{
        width: 8vw;
    }
    #ouuchi_case ul li{
        width: 100%;
        margin-bottom: 30px;
        position: relative;
    }
    #ouuchi_flow ul li{
        flex-wrap: wrap;
        padding-left: 60px;
        padding-bottom: 30px;
        position: relative;
    }
    #ouuchi_flow ul li figure{
        width: 100%;
        margin-right: 0;
    }
    #ouuchi_flow ul li img{
        display: block;
        width: auto;
        /*margin: 0 auto;*/
        margin-bottom: 20px;
    }
    #ouuchi_flow ul li dl{
        width: 100%;
        position: static;
    }
    #ouuchi_flow ul li:nth-last-child(n+2) dl::before{
        display: none;
    }
    #ouuchi_flow ul li dl::after{
        display: none;
    }
    #ouuchi_flow ul li::after{
        content: counter(count, decimal-leading-zero);
        display: block;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #00a53c;
        font-family: Oswald;
        color: #ffffff;
        font-size: 18px;
        font-weight: 400;
        line-height: 40px;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
    }
    #ouuchi_flow ul li:nth-last-child(n+2)::before{
        content: "";
        display: block;
        width: 1px;
        height: calc(100% + 20px);
        background-color: #00a53c;
        position: absolute;
        top: 0;
        left: 20px;
    }
    #ouuchi_sodan ul li{
        width: 100%;
    }
    
}







