/*!
 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */


body {
    font-family: "Tahoma",'メイリオ', 'Meiryo','Osaka','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; 
    font-size: 16px;
    line-height: 1.62857143;
    overflow-x: hidden;
    font-weight: normal;
}

p {
    font-size: 17px;
    font-weight:normal;
    text-align: justify, center;
    line-height: 30px;
    font-family: "Tahoma", 'メイリオ', 'Meiryo','Osaka','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; 
}


p.small {
    font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #c7e2f3;
}

h1,
h2,
h4,
h5,
h6 {
    font-family: "Montserrat", 'メイリオ', 'Meiryo', 'Osaka','ＭＳ Ｐゴシック', 'MS PGothic', 'メイリオ',  sans-serif; 

    font-weight: 400;
}

h3 {
    line-height: 40px;
    text-align: center;
}
hr {
    border-top: 2px solid #cccccc;
    width: 450px;
    margin-left: 40px;
}

hr.star-light,
hr.star-light2,
hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 3px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    /*content: "\f005";*/
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}

hr.star-light {
    border-color: #58585a;
    margin-top: 0px;
}
hr.star-light2{
    border-color: #00405c;
}

hr.star-light:after {
    color: #fff;
    background-color: #18bc9c;
}

hr.star-primary {
    border-color: #58585a;
}

hr.star-primary:after {
    color: #2c3e50;
    background-color: #fff;
}
.img-centered {
    margin: 0 auto;
}

header {
    background: url('../img/ocean1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    color: #fff;
    text-align: center;
    background-attachemnt: scroll;
    
    /*position: relative;
    width: 100%;
    background-image: url(../img/ocean.png);
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;*/
}
header .container {
    padding-top: 100px;
    padding-bottom: 50px;
}
header .intro-text .name {
    color: #58585a;
    font-size: 65px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
header .intro-text .skills {
    color: #58585a;
    font-weight: 600;
}
.navbar {
    font-family: "Montserrat", 'メイリオ', 'Meiryo', 'Osaka', "Tahoma", 'ＭＳ Ｐゴシック', 'MS PGothic', Osaka, sans-serif; 
    font-weight: 400;
    letter-spacing: 1.4px;
    background-color: #58585a;
}

.navbar a:focus {
    outline: 0;
    color: #ebcbb1;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}

.navbar-default,
.navbar-inverse {
    border: 0;
}
/*section.quote {
    background-image: url(../img/ocean.png);
    background-size: cover;
    background-repeat: no-repeat;
}*/
section.quote {
    color: #fff;
}
section {
    padding: 100px 0 0 0;
}

section h2 {
    font-family: "Montserrat",'メイリオ', 'Meiryo','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',sans-serif;
    margin-top: 0;
    line-height:48px;
    color: #58585a;
    text-align: center;
}

section.success {
    color: #000000;
    background: #fff;
}

section.success a,
section.success a:hover,
section.success a:focus,
section.success a:active,
section.success a.active {
    outline: 0;
    color: #2c3e50;
}
section.success {
    color: #000000;
    background: #fff;
}
.service {
    padding: 20px 7px 15px 7px;

}
.service-english{
    padding: 15px 7px 7px 7px;

}
.service a, .service-english a {
    color: #0d47a1;
}
.kei {
    padding: 15px 35px 10px 35px;
    max-width: 1000px;
    text-align: justify;
    margin: auto;
    
}
.keij {
    padding: 15px 35px 10px 35px;
    max-width: 1000px;
    text-align: justify;
    margin: auto;
}
.no-wrap {
    white-space: nowrap;
}

#portfolio {
    background-color: #f6f6f6;
}

#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 400px;
}

#portfolio .portfolio-item .portfolio-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(24,188,156,.9);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .caption:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
    margin: 0;
}

#portfolio * {
    z-index: 2;
}
.contents {
    padding-top: 20px;
    margin-top: 20px;
}
#portfolio h3 {
  font-family: "Montserrat",'メイリオ', 'Meiryo','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',sans-serif; ;
}
.feature-wrap .photo {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.feature-wrap .text {
    font-size: 2rem;
    line-height: 1.3;
    color: #f1f1f1;
    text-align: center;
    margin: 0 3%;
    text-shadow: 0 0 4px rgba(0,0,0, 0.5);
    padding:150px 0 150px 0;
}
.feature-wrap .stack-three {
    background-image: url(../img/ocean.jpg);
}



.btn-outline {
    margin-top: 15px;
    border: solid 2px #fff;
    font-size: 20px;
    color: #fff;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    color: #18bc9c;
    background: #fff;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eee;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #18bc9c;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}



.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 0;
}

.btn-success {
    color: #ffffff;
    background-color: #2c498c;
    border-color: #2c498c;
    margin-bottom:100px;
}
.btn-success:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #1a242f;
}
.btn-success:active,
.btn-success:focus {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #1a242f;
}
footer {
    color: #fff;
}

footer h3 {
    color: #fff;
}

footer .footer-above {
    padding: 20px 0 10px 0;
    background-color: #939598;

}

footer .footer-col {
    margin-bottom: 20px;
}

footer .footer-below {
    padding: 25px 0 ;
    background-color: #58585a;
    font-size: 14px;
}
.footer-col h3 {
    margin:0;
    line-height: 35px;
    font-weight:400;
}
.footer-col h5 {
    color: #fff;

}
.footer-col a:hover {
    color: #2c498c;
    text-decoration: none;
    -webkit-transition: all 500ms;
    transition: all 300ms;
}
.footer-col a{
    color: #fff;
    text-decoration: none;
}

/*<--MediaQuery-->*/


@media(max-width:421px) {
    header {
    background: url('../img/ocean1.png');
    background-position: top;
    background-size: auto;
    background-attachment: scroll;
    background-repeat: no-repeat;
    height: 500px;
}

    section {
        padding: 40px 0 0 0;
    }
    .img-responsive {
        width: 100%;
        display: block;
    }
    .navbar-brand {
        font-size: 11px;
    }
    section h2 {
        font-size: 20px;
    }
    .profile-photo {
        margin: auto;
        display: block;
        padding-bottom: 20px;
    } 
} 

@media(min-width:420px) {
    

    .img-responsive {
        width: 100%;
        display: block;
    }
    .navbar-brand {
        font-size: 14px;
    }
    
    
    .navbar-brand {
        font-size: 11px;
    }
    .profile-photo {
        margin-left: auto;
        display: block;
    }
    section h2 {
        font-size: 20px;
        font-weight: 600;
    } 
    h3 {
        font-size: 18px;
        text-align: center;
        line-height: 20px;
    }       
} 

@media(max-width:899px) {
    header .intro-text .name {
        font-size: 50px;
    }
    header .intro-text .skills {
        font-size: 20px;
    } 
    .img-responsive {
        width: 100%;
        display: block;
    }
    .navbar-brand {
        font-size: 12px;
    }
    .logo {
        padding-top:50px;
        width: 150px;
        height:auto;
    }
    section h2 {
        font-size: 25px;
        font-weight: 600;
    }
    .profile-photo {
        margin: auto;
        display: block;
        padding-bottom: 20px;
    } 
    h3 {
        font-size: 24px;
        text-align: center;
        line-height: 30px;
        color:#58585a;
    }
    section.first {
        padding-top: 75px;
    }
}@media(min-width:900px) {
    .navbar-brand {
    float: left;
    padding: 19.5px 1px;
    font-size: 25px;
    }
    header .container {
        padding-top: 200px;
        padding-bottom: 100px;
    }
    header .intro-text .skills {
        font-size: 25px;
    } 
    section h2 {
        font-size: 25px;
        font-weight: 600
    }                   
    h3 {
        text-align: center;
        font-size: 30px;
        line-height: 40px;
        color: #58585a;
    }
    .navbar-brand {
    float: left;
    padding: 19.5px 1px;
    font-size: 20px;
    }
    .navbar-fixed-top {
        padding: 1px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }
    .navbar-nav>li>a {
    padding-top: 32px;

    }

    .navbar-fixed-top .navbar-brand {
        font-size: 1.5em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
    .profile-photo {
    float: right;
    padding: 7px 0 20px 40px;
    width: 250px;
    }
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
    .img-responsive {
    width: 100%;
    text-align: center;
    margin: auto;
    }
}
@media(min-width:990px) {
    .navbar-fixed-top {
    padding: 10px 0;
    }
    header {
    min-height: 100%;
    }

    section h2 {
        font-size: 30px;
        font-weight:600;
    }

    .img-responsive {
    width: 500px;
    }
    h3 {
        font-size: 27px;
        line-height: 35px;
        text-align: center;
        color: #58585a;
    }
}
