/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* 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. */
}

.txtcenter{
    text-align: center;
}
.txtleft{
    text-align: left;
}
.txtright{
    text-align: right;
}
.img-portfolio {
    margin-bottom: 30px;
}

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

.head_txt {
	text-align:right;
	padding:5px 5px 5px 5px;
	font-weight:bold;
	color:#fff;
	background-color:#6666cc;
	width:75%;
	float:right;
	text-align:center;
}

/* Home Page Carousel */
.top_pic{
	margin:0 auto 10px auto;
	text-align:center;
}

.top_pic　img{
	max-width: 100%;
    height: auto;
}
/* Home Page Carousel */

header.carousel {
    height: 50%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    width: 100%;
}

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

#s0 ,#s1 , #s2 , #s3 , #s4 , #s5 , #s6 , #s7 , #s8 , #s9 , #s10{
  margin-top: -100px;
  padding-top: 100px;
}

/* title */
.title_deco h1 {
    width: 100%;
    height: 100%;
    background-position: center;
    background: linear-gradient(45deg, #003399, #33ccff);
	color:#fff;
	padding:30px 0 30px 30px;
	font-weight: 300;
	margin:75px 0 20px 0;
	font-family: "Mplus 1p";
}

.title_deco small {
	color:#fff;
}

.menu_tag {
    background-color: #3399cc;
	color:#fff;
	padding:20px 0 20px 20px;

}

.menu_tag a{
 	color:#fff;
}

.menu_deco1 {
	padding-left:20px;
	background-image:url(../img/sidecip.png);
	background-repeat:no-repeat;
	background-position:0 3px 0;
}

.back_1 {
    background-color: #99ccff;
}
.width{
    width:100%;
}
.fa-stack2 {
    position: relative;
    display: inline-block;
    width: 3em;
    height: 2em;
    line-height: 2em;
    vertical-align: middle;
}
/* 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;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/*　ニュース　*/
.title_news{
	background-color:#fff;
	border-bottom:#003989 1px solid;
	height:35px;
	width:100%;
}

.title_news h3{
	color:#333 !important;
	border:none !important;
	background-color:transparent !important;
	margin:10px 0px 0px 0px !important;
	font-size:16px;
	font-weight:bold;
	float:left;
	width:100% !important;
}

.title_news img{
	float:right;
	margin:3px 5px;
}

.title_news span{
	float:right;
	line-height:40px;
	margin-right:10px;
}

.itiran{
	float:right;
	margin-right:20px;
	margin-top:10px;
	
}

.itiran a{
	text-decoration:underline;
}

.messege{
	border-bottom:1px #999999 dashed;
	width:100%;
	margin:5px auto;
	padding-bottom:5px;
	text-align:left;
}

.messege a{
	color:#3366ff;
}
.messege span{
	margin:auto 10px;
}

/*  footer */
footer {
	height: 100%;
	background-color: #304FA1;
	text-align: left;
	margin: 0 auto;
}
.footernav{
	padding:20px 0 0 0;
	margin-bottom:20px;
	margin-left:auto;
	margin-right:auto;
	font-size:11px;
}

.footernav a:link{
	color:#FFF;
}

.footernav a:visited{
	color:#FFF;
}

.footernav a:hover{
	color:#0FF;
}

.footernav a:action{
	color:#0FF;
}



.footernav li{
	display:block;
	padding-left:10px;
	height:16px;
	line-height:16px;

}

.footernav h4{
	font-size:14px;
	padding-left:30px;
	height:16px;
	line-height:16px;
	background-image:url(../img/arrow.png);
	background-repeat:no-repeat;
	background-position:10px 3px;
}

.footercopy{
	color:#FFF;
	font-size:12px;
	line-height:30px;
	height:30px;
}

.column_first{
	float:left;
	}
	
.column_second{
	float:left;
	border-left:#979797 1px solid; 
	}
	
.column_three{
	float:left;
	border-left:#979797 1px solid; 
	}

.column_four{
	float:left;
	border-left:#979797 1px solid; 
	}

.works_box{
    text-align:center;
}

.works h4{
    margin:0;
}

.media .media-body {
    color: #777;
	padding:0 0 0 10px;
}
.rinen {
    text-align:center;
}

.sidemenu {
    background-color:#ebf8ff;
}

.sidemenu h3{
    color:#333;
}
.sidemenu ul{
	width:100%;
}

.sidemenu li{
    margin:10px;
	padding:5px;
	text-align:center;
	width:94%;
	background-color:#6699ff;
	font-size:16px;
	border-radius: 4px;
	font-weight:bold;
}

.sidemenu li a{
	padding:5px 30px;
	text-align:center;
	color:#fff;
}

.sidemenu li a:hover{
    color:#009;
}

section table	{ width: 100%; }
section th, section td	{ padding: 10px; border: 1px solid #ddd; }
section th	{ background: #f4f4f4; }

.dangumi th	{ width: 30%; text-align: left; }

.red{
	color:#F00;
}

.blue{
	color:#3333cc;
}

.bold{
	font-weight:bold;
}

.contact{
	text-align:center;
}


.contact input{
	margin:20px 5px;
}

.sitemap li{
	line-height:24px;
	list-style-image:url(../img/arrow.png);
	
}

/* Responsive Styles */


@media(max-width:991px) {
.top_pic{
	margin:0 auto 10px auto;
	text-align:center;
}

.top_pic img{
	max-width:100%;
    height: auto;
}
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: -30px;
	width:200px;
}
.navbar-brand img{
    width:85%;
	padding-top:3px;
}

.head_txt {
	width:75%;
}
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
	
	.column_second{
	float:left;
	border:0;
	}
	
.column_three{
	float:left;
	border:0;
	}

.column_four{
	float:left;
	border:0;
	}
	
}

@media(max-width:767px) {
.carousel {
    margin-top: 13px;
}	

.carousel-indicators {
    bottom: -10px;
}
	
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: 5px;
    width: 180px;
}

.head_txt {
	width:72%;
}
.top_pic{
	margin:0 auto 10px auto;
	text-align:center;
}

.top_pic　img{
	max-width: 100%;
    height: auto;
}

.title_deco h1 {
	margin:20px 0;
}

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

header.carousel .carousel {
    height: 70%;
}

.navbar-brand img {
    width:85%;
	padding-top:8px;
}

.rinen h3{
    font-size:16px;
	font-weight:bold;
}

.media{
    margin:3px 0 0 0;
}
.media-body h4{
    font-size:14px;
}


	
.column_second{
	float:left;
	border:0;
	}
	
.column_three{
	float:left;
	border:0;
	}

.column_four{
	float:left;
	border:0;
	}
    .google-maps {
    position: relative;
    padding-bottom: 75%; // これが縦横比
    height: 0;
    overflow: hidden;
    }
	
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.tabpic img {
    width: 100% !important;
}

.form_dangumi	{ margin: 0; }
.form_dangumi th,
.form_dangumi td{
	width: 100%;
	display: block;
	border-top: none;
}
.form_dangumi tr:first-child th	{
	 border-top: 1px solid #ddd; 
}

		
}

@media only screen and (max-width:480px){
.head_txt {
	padding:3px 3px 3px 3px;
}

.dangumi	{ margin: 0 -10px; }
.dangumi th,
.dangumi td{
	width: 100%;
	display: block;
	border-top: none;
}
.dangumi tr:first-child th	{
	 border-top: 1px solid #ddd; 
}

.form_dangumi	{ margin: 0; }
.form_dangumi th,
.form_dangumi td{
	width: 100%;
	display: block;
	border-top: none;
}
.form_dangumi tr:first-child th	{
	 border-top: 1px solid #ddd; 
}


}
