@charset "UTF-8";

#Profile ul.profile__left li a{
    color:#000;
}
#Profile .photo{
    float:left;
    width:180px;
    margin-right:20px;
}
#Profile .text{
    float:left;
    width: calc(100% - 200px);
    font-size:14px;
    line-height:22px;
    padding-top: 88px;
}
#Profile .profile__head .text{
    padding-top: 110px;
}

#Profile .text h3{
    font-size:20px;
    line-height:26px;
}
#Profile .text p{
    font-size:14px;
    line-height:22px;
}
#Profile .profile01{
    clear:both;
}
#Profile .profile01 p{
    clear:both;
    margin-bottom:5px;
    font-size:14px;
    line-height:22px;
}
#Profile .btn{
    width:100%;
}
#Profile .btn a{
    display:block;
    width:100%;
    height:50px;
    background-color: #17288b;
    color:#FFF!important;
    text-align:center;
    line-height:50px;
}
#Profile .return{
    margin-top:100px;
    margin-bottom:50px;
}

#Profile table{
    margin-top: 10px;
    font-size:14px;
    line-height:26px;
}
#Profile table th,
#Profile table td{
    padding-bottom:4px;
    text-align:left;
}
#Profile table th{
    width:100px;
    font-weight:normal;
}
#Profile .profile__left table th{
    width:8.5em;
}
#Profile #shigeru table th{
    width: 5em;
}
#Profile #nagao table th{
    width: 6.5em;
}
#Profile #nagao table.media th{
    width: 8.5em;
}
#Profile .profile__sub {
    clear: both;
    margin-top:10px;
    padding-top: 15px;
    font-size: 14px;
    line-height: 22px;
}
#Profile .media {
    border-top: 2px dotted #666;
    margin-top: 15px;
}
#Profile .media th,
#Profile table.media tr:nth-child(1){
    padding-top: 15px;
}

#fancybox-content table{
    margin: 10px;
    width: 780px;
}

#fancybox-content > div{
    overflow-x: hidden!important;
}

@media only screen and (min-width:1080px){
    
    #Profile ul.profile__left li{
        float:left;
        width:30%;
        margin-bottom:50px;
        margin-right:5%;
    }
    #Profile ul.profile__left li:last-child{
        margin-right:0%;
        padding-right:0%;
    }
    #Profile .profile01{
        height:250px;
        padding-top:10px;
    }
    #fancybox-content div img{
        width:20%;
        height:auto;
        margin-top:100px;
        margin-bottom:20px;
    }
    .wrapimgBoxIn {
        width:800px;
        height:400px;
    }
    .wrapimgBoxIn .icon{
        margin-top:45px;
    }
    .wrapimgBoxIn p{
        text-align:center;
    }
    .wrapimgBoxIn h3{
        font-size:26px;
        margin-bottom: 35px;
    }
}

@media only screen and (min-width:751px) and (max-width:1079px){

    #Profile .profile__left{
        width:100%;
        margin-bottom:25px;
    }
    #Profile ul.profile__left li{
        float:left;
        width:30%;
        margin-bottom:50px;
        margin-right:5%;
    }
    #Profile ul.profile__left li:last-child{
        margin-right:0%;
        padding-right:0%;
    }
    #Profile .profile01{
        height:250px;
        padding-top:10px;
    }
    .wrapimgBoxIn {
        width:600px;
        height:300px;
    }
    .wrapimgBoxIn .icon{
        margin-top:45px;
    }
    .wrapimgBoxIn p{
        text-align:center;
    }
    .wrapimgBoxIn h3{
        font-size:26px;
        margin-bottom: 35px;
    }
    #fancybox-content div img {
        margin-top: 70px;
    }
}

@media only screen and (max-width:750px){
    
    #Profile .profile__left{
        width:100%;
        margin-bottom:25px;
    }
    #Profile ul.profile__left li{
        float:none;
        width:100%;
        margin-bottom:25px;
        padding-bottom:25px;
        border-bottom: 2px dotted #666;
    }
    #Profile ul.profile__left li:last-child{
        border-bottom:0;
    }
    #Profile .profile01{
        padding-top:10px;
    }


    #Profile .text p{
        font-size:14px;
        line-height:22px;
        width:100%;
    }
    #Profile .profile__sub {
        clear: both;
        margin-bottom: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 2px dotted #666;
    }
    #fancybox-content div img{
        width:45%;
        height:auto;
        margin-top:10px;
        margin-bottom:20px;
    }
    
    #Profile .btn{
        margin-top:25px;
    }
    .wrapimgBoxIn .icon{
        margin-top:45px;
    }
    .wrapimgBoxIn p{
        text-align:center;
        width:70%;
        margin:0 auto;
        padding-bottom:10px;
    }
    .wrapimgBoxIn p br{
        display:none;
    }
    .wrapimgBoxIn h3{
        font-size:21px;
        margin-bottom: 0px;
    }

}

#service ul li{
    float:left;
    text-align: center;
}
#service ul li a{
    box-sizing:border-box;
    display: block;
    width:100%;
    background-color: #FFF;
    color:#000;
}

#service ul li a .icon,
.wrapimgBoxIn .icon{
    width:50px;
    height:50px;
    margin:10px auto 0px;
}
.wrapimgBoxIn h3{
    text-align:center;
    font-family: "Arial Black", sans-serif;
    font-weight:100;
}

#service ul li a:hover{
    text-decoration: none;
    color:#FFF;
}
#service ul li a p{
    text-align:center;
    font-family: "Arial Black", sans-serif;
    font-weight:100;
}

#fancybox-overlay {
    background-color: rgb(0,0,0)!important;
    opacity: 0.7!important;
}
#fancybox-left-ico, #fancybox-right-ico {
    width: 20px;
    height: 30px;
}
#fancybox-left-ico {
    background-image: url('../image/fancybox/ctrl.png');
    background-position: 0px 0px;
    left: 20px;
}
#fancybox-right-ico {
    background-image: url('../image/fancybox/ctrl.png');
    background-position: -20px 0px;
    left: auto;
    right: 20px;
}
#fancybox-close {
    bottom: -30px;
    right: 0px;
    left:auto;
    width: 23px;
    height: 23px;
    background: 
    transparent url('../image/fancybox/ctrl.png') -40px 0px;
}
#wrapimgBox {
    display:none;
}

#fancybox-content div{
    text-align:center;
}