@charset "UTF-8";

/*-------------------------
__style
-------------------------*/

.voice_title{
    background-color: #eaf1f9;

    transform: skewX(-30deg); /*transformで曲げる*/
    max-width: 560px;
    padding: 20px 0px;
    margin: 40px auto 40px;}

.voice_title .inner{
    font-size: 2em;
    font-weight: 700;
    text-align: center;

    transform: skewX(30deg);
    /*このままだとtransformでテキストも曲がるので打ち消すために入れます。*/
    width: 560px;
    margin: 0 auto;
    text-align: center;}

.voice_title .inner p{
    display: inline-block!important;}

.voice_title .inner p:nth-child(1){
    color: #00349f;}

.voice_title .inner p:nth-child(2){
    color: #ff5e00;}

.voice_box{
    margin-bottom: 40px;}

.voice_box .photo_box{
    width: 400px;
    float: left;}

.voice_box .photo_box .photo_area{
    width: 400px;
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #eee;}

.voice_box .photo_box .photo_area img{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;}

.voice_box .photo_box p{
    background-color: #eaf1f9;
    text-align: center;
    font-size: 1.4em;
    line-height: 1.4;
    padding: 10px 10px 8px;
    box-sizing: border-box;}

.voice_box .text_box{
    float: right;
    width: 100%;
    box-sizing: border-box;
    margin-left: -430px;
    padding-left: 430px;}

.voice_box .text_box h2{
    color: #00349f;
    font-size: 2.2em;
    line-height: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;}

.voice_box .text_box p{
    font-size: 1.4em;
    line-height: 1.8em;}

@media screen and (max-width: 767px) {

.voice_title{
    max-width: 300px;
    padding: 10px 0px;
    margin: 20px auto 20px;}

.voice_title .inner{
    font-size: 1.7em;
    font-weight: 700;
    text-align: center;
    width: 300px;}
    
.voice_title .inner p{
    margin: 5px 0;}

.voice_box{
    margin-bottom: 20px;}
    
.voice_box .photo_box{
    width: 100%;
    float: none;
    margin-bottom: 10px;}

.voice_box .photo_box p{
    font-size: 1.3em;
    line-height: 1.7em;}
    
.voice_box .photo_box .photo_area{
    width: 100%;
    height: 280px;
    margin-bottom: 10px;}

.voice_box .text_box{
    float: none;
    margin-left: 0px;
    padding-left: 0px;}

.voice_box .text_box h2{
    font-size: 1.8em;
    line-height: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;}

.voice_box .text_box p{
    font-size: 1.3em;
    line-height: 1.7em;}

}

/*==================お客様の声==================*/

.eigyo_box{
    border: 5px solid #ececec;
    box-sizing: border-box;
    padding: 30px;
    margin-bottom: 40px;}

.eigyo_box .eigyo_com{
    float: left;
    width: 100%;
    box-sizing: border-box;
    margin-right: -430px;
    padding-right: 430px;}

.eigyo_box .eigyo_com .eigyo_name{
    color: #ff5e00;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 5px 0;
    padding-left: 35px;
    background: url(../images/staff.png) no-repeat;
    background-size: 25px auto;}

.eigyo_box .eigyo_com p{
    font-size: 1.4em;
    line-height: 1.8em;}

.eigyo_box .eigyo_photo{
    width: 400px;
    float: right;}

.eigyo_box .eigyo_photo .photo_area{
    width: 400px;
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #eee;}

.eigyo_box .eigyo_photo p{
    background-color: #eaf1f9;
    text-align: center;
    font-size: 1.4em;
    line-height: 1.4;
    padding: 10px 10px 8px;
    box-sizing: border-box;}

.eigyo_box .eigyo_photo .photo_area img{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;}

/*スタッフコメントのみ*/

.eigyo_box2{
    border: 5px solid #ececec;
    box-sizing: border-box;
    padding: 30px 30px 0 30px;
    margin-bottom: 40px;}

.eigyo_box2 .eigyo_com{
    width: 100%;
    box-sizing: border-box;}

.eigyo_box2 .eigyo_com .eigyo_name{
    color: #ff5e00;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 5px 0;
    padding-left: 35px;
    background: url(../images/staff.png) no-repeat;
    background-size: 25px auto;}

.eigyo_box2 .eigyo_com p{
    font-size: 1.4em;
    line-height: 1.8em;
    margin-bottom: 30px;}

.eigyo_box2 .eigyo_com p:nth-child(1){
    margin-bottom: 20px;
}








.back_btn{
    text-align: center;
    width: 300px;
     margin: 0 auto 40px;}

.back_btn a{
    display: block;
    font-size: 1.7em;
    font-weight: 700;
    color: #fff;
    background-color: #00349f;
    text-decoration: none;
    padding: 20px 10px;
    border-radius: 6px;

    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;}

.back_btn a:hover{
    filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;}

.jump_btn{
    width: 100%;}

.jump_btn ul li{}

.jump_btn ul li:nth-child(1){
    float: left;}

.jump_btn ul li:nth-child(2){
    float: right;}

.jump_btn ul li a{
    display: block;
    text-decoration: none;
    font-size: 1.4em;
    color: #00349f;
    border: 1px solid #00349f;
    padding: 12px 20px 10px;
    border-radius: 5px;

    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;}

.jump_btn ul li a:hover{
    filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;}

.jump_btn ul li:nth-child(1) a span{
    color: #00349f;
    position: relative;
    padding-left: 20px;}

.jump_btn ul li:nth-child(1) a span::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    border-bottom: 2px solid #00349f;
    border-left: 2px solid #00349f;
    transform: rotate(45deg);
    margin-top: -5px;}

.jump_btn ul li:nth-child(2) a span{
    color: #00349f;
    position: relative;
    padding-right: 20px;}

.jump_btn ul li:nth-child(2) a span::before{
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid #00349f;
    border-right: 2px solid #00349f;
    transform: rotate(45deg);
    margin-top: -5px;}


@media screen and (max-width: 767px) {

.eigyo_box{
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 20px;}

.eigyo_box .eigyo_com .eigyo_name{
    font-size: 1.7em;
    margin-bottom: 10px;}

.eigyo_box .eigyo_com p{
    font-size: 1.3em;
    line-height: 1.7em;
    margin-bottom: 10px;}
    
.eigyo_box .eigyo_com{
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin-right: 0;
    padding-right: 0;}

.eigyo_box .eigyo_photo{
    width: 100%;
    float: none;}
    
.eigyo_box .eigyo_photo .photo_area{
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #eee;}

.eigyo_box .eigyo_photo p{
    font-size: 1.3em;
    line-height: 1.7em;}

/*スタッフコメントのみ*/

.eigyo_box2{
    box-sizing: border-box;
    padding: 10px 10px 0 10px;
    margin-bottom: 20px;}

.eigyo_box2 .eigyo_com .eigyo_name{
    font-size: 1.7em;
    margin-bottom: 10px;}

.eigyo_box2 .eigyo_com p{
    font-size: 1.3em;
    line-height: 1.7em;
    margin-bottom: 10px;}


.back_btn{
    text-align: center;
    width: 100%;
    margin: 0 auto 20px;}

.back_btn a{
    display: block;
    font-size: 1.5em;
    color: #fff;
    background-color: #00349f;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 6px;}

.jump_btn{
    margin-bottom: 20px;}

.jump_btn ul li a{
    display: block;
    text-decoration: none;
    font-size: 1.3em;
    color: #00349f;
    border: 1px solid #00349f;
    padding: 10px 13px 8px;
    border-radius: 5px;}

}