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

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

h2,h3{
	line-height:1.4;
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

div.carousel {
    height: 100%;
	background-position: center;
	background-size: cover;
}

div.carousel .item,
div.carousel .item.active,
div.carousel .carousel-inner {
    height: 100%;
}

div.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/*navi */
.navbar-inverse {
  background-color: #C50D45;
  border-color: #980E38;
}

.navbar-brand{
	padding:8px;
	width:100%;
}

.navbar-brand img{
	width:36%;
}

.navbar-inverse .navbar-nav>li>a {
  color: #E2C6C6;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
  color: #fff;
  background-color: #BB033B;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/*Pagination*/
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
  background-color: #C50D45;
  border-color: #980E38;
}
.pagination>li>a, .pagination>li>span {
  color: #C50D45;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
  color:  #959490;
  }

/* Footer Styles */

footer {
	width:100%;
	height:7%;
	font-size:10px;
	font-weight:normal;
	text-align:center;
	padding:10px 0 10px;
	color:#FA7691;
	background-color:#373139;
}

.main_box{
	margin-top:2%;
	margin-right:0px;
	padding:15px 25px;
	position:absolute;
	z-index:99;
}

/*name*/
.name{
	padding-top:26%;
	padding-right:40px;
}
.name img{
	width:100%;
}

/*Contact_form*/
.contact_form{
	padding:20px;
	border:2px solid #C50D45;
	background-color:rgba(255,255,255,0.65);
}
.contact_form img{
	width:100%;
}
input[type="image"] {
	width:100%;
}
input[type="image"]:hover {
  cursor: pointer;
  opacity: 0.5;
}
a img, input[type="submit"], input[type="image"] {
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
}
.form-control{
	height:45px;
}
.top_object{
	position:absolute;
	 top: -30px;
	width: 92%;
}
/*装飾*/
hr{
	margin:40px 0px;
}
.txt10{
	font-size:10px !important;
}

.txt12{
	font-size:12px !important;
}
.txt18{
	font-size:18px !important;
}
.btn{
	font-size:18px;
	width:85%;
	padding: 15px 40px;
}

.mt15{
	margin-top:15px;
}

.mt30{
	margin-top:30px;
}
.mb15{
	margin-bottom:15px;
}
.mb30{
	margin-bottom:30px;
}

/*スライド*/
#mainImg {
    margin: 0 auto;
    width: 100%;
    height: auto;
    text-align: left;
    position: relative;
}
 
#mainImg img {
    top: 0;
    left: 0;
    position: absolute;
}

.slider01{
	background-image: url(../img/slide01.jpg);
}

iframe{
	width:100%;
	height:180px;
	margin:10px 0
}
td{
	padding:10px;
}

/* Responsive Styles */
@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
	.navbar-brand{
		width:46%;
	}
	
	.navbar-brand img{
		width:100%;
	}
	
	.main_box {
		width:100%;
		padding: 15px 25px;
	}
	.contact_form{
		margin-top:85px;
	}
	img{
		width:100%;
	}
	.name {
		padding-top: 20%;
		margin-left:123px;
	}
	.box{
		height:400px
	}

}
@media(min-width:768px) and (max-width:992px) {
	.navbar-header{
		width:36%;
	}
		.navbar-brand{
		width:74%;
	}
	
	.navbar-brand img{
		width:100%;
	}
	
	div.carousel {
		height: 100%; 
	}
	
	.contact_form{
		margin-left:35px;
	}
}