
@media(max-width:767px) {
.section-white h2{
  font-size:16px;
 
}
.section-white p{
  font-size:14px;
 margin-bottom:48px;
}
}

@media(min-width:768px) {
 
 .section-white h2{
  font-size:18px;
  
}
.section-white p{
  font-size:14px;
 margin-bottom:48px;
}
}


@media(max-width:767px) {
.section-white2 h2{
  font-size:24px;
  margin-bottom: 40px;
  
}
.section-white2 h3{
  font-size:24px;
  margin-bottom: 40px;
}

.section-white2 h2:before{
	content: url(../img/parts/phone-s.png);
	display:block;
	float:left;
    padding-left: :40px;
}
.section-white2 h3:before{
	content: url(../img/parts/mail-s.png);
	display:block;
	float:left;
	
}
}

@media(min-width:768px) {
 
 .section-white2 h2{
  font-size:40px;
  margin-top: 40px;
   margin-bottom: 40px;
   padding-left: :40px;
}
.section-white2 h3{
  font-size:36px;
   margin-bottom: 40px;
 
}
.section-white2 h2:before{
	content: url(../img/parts/phone.png);
	display:block;
	float:left;
 padding-left: :40px;
}
.section-white2 h3:before{
	content: url(../img/parts/mail.png);
	display:block;
	float:left;
	
}
}






#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    text-decoration: none;
    color: #fff;
    width: 50px;
    padding: 20px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
    opacity: 0.8; /* 55％不透明度(＝45％透過) */
    background-color: #333;

}
#page-top a:hover {
    text-decoration: none;
    background: #999;
}



.navbar-default {
    background-color: #FFF;
    border-color: #CCC;
}
.navbar {
	background:#111;
	background-image: url(../img/parts/header-bg2.jpg); 
	background-repeat: no-repeat;
	background-size:contain ;
}
@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }
	
    .top-nav-collapse {
        padding: 0;
    }
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #0066FF;
    color: #fff;
}

}
@media(max-width:767px) {
#main-slider .carousel .item {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0 !important;
  opacity: 0;
  top: 0;
  position: absolute;
  width: 100%;
  display: block !important;
  height: 200px;
  -webkit-transition: opacity ease-in-out 500ms;
  -moz-transition: opacity ease-in-out 500ms;
  -o-transition: opacity ease-in-out 500ms;
  transition: opacity ease-in-out 500ms;
}

#main-slider {
  margin-top:50px;
   position: relative;
}
#main-slider .carousel h2 {
  font-size: 18px;
  line-height:36px;
  color:#FFF;
  margin-top:5%;
  font-weight:700;
  padding-left:0;
  text-shadow: black 0 0 2px;

}
#main-slider .carousel p {
  font-size: 14px;
  line-height:18px;
  color:#fff;
  text-shadow: black 0 0 2px;

  font-weight:400;
  padding-left:0;
}
#main-slider  p span{

font-size: 12px;
  line-height:18px;
  color:#fff;
  font-weight: 700;
  text-shadow: black 0 0 2px;

}
}

@media(min-width:768px) {
 #main-slider {
  position: relative;
  margin-top:90px;
}
#main-slider .carousel .item {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0 !important;
  opacity: 0;
  top: 0;
  position: absolute;
  width: 100%;
  display: block !important;
  height: 900px;
  -webkit-transition: opacity ease-in-out 500ms;
  -moz-transition: opacity ease-in-out 500ms;
  -o-transition: opacity ease-in-out 500ms;
  transition: opacity ease-in-out 500ms;
}

#main-slider .carousel h2 {
  font-size: 48px;
  line-height:64px;
  color:#FFF;
 text-shadow: black 0 0 2px;

  margin-top:5%;
  font-weight:700;
  padding-left:0;

}
#main-slider .carousel p {
  font-size: 32px;
  line-height:20px;
  color:#fff;
 text-shadow: black 0 0 2px;

  font-weight:400;
  padding-left:0;
   margin-bottom:20px;
}
#main-slider  p span{

font-size: 24px;
  line-height:30px;
  color:#fff;
  font-weight: 700;
  text-shadow: black 0 0 2px;
 margin-bottom:20px;
}	
}

#main-slider .carousel .btn {
  color: #fff;
  border-radius: 0;
  margin-top: 5px;
}
#main-slider .carousel .btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
#main-slider .carousel .boxed {
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.8);
  display: inline-block;
}

#main-slider .carousel .item:first-child {
  top: auto;
  position: relative;
}
#main-slider .carousel .item.active {
  opacity: 1;
  -webkit-transition: opacity ease-in-out 500ms;
  -moz-transition: opacity ease-in-out 500ms;
  -o-transition: opacity ease-in-out 500ms;
  transition: opacity ease-in-out 500ms;
  z-index: 1;
}
#main-slider .prev,
#main-slider .next {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: inline-block;
  margin-top: -25px;
  font-size: 24px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 4px;
  z-index: 5;
  outline: 0;
}
#main-slider .prev:hover,
#main-slider .next:hover {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
#main-slider .prev {
  left: 10px;
}
#main-slider .next {
  right: 10px;
}
#main-slider .active .animation.animated-item-1 {
  -webkit-animation: fadeInUp 300ms linear 300ms both;
  -moz-animation: fadeInUp 300ms linear 300ms both;
  -o-animation: fadeInUp 300ms linear 300ms both;
  -ms-animation: fadeInUp 300ms linear 300ms both;
  animation: fadeInUp 300ms linear 300ms both;
}
#main-slider .active .animation.animated-item-2 {
  -webkit-animation: fadeInUp 300ms linear 600ms both;
  -moz-animation: fadeInUp 300ms linear 600ms both;
  -o-animation: fadeInUp 300ms linear 600ms both;
  -ms-animation: fadeInUp 300ms linear 600ms both;
  animation: fadeInUp 300ms linear 600ms both;
}
#main-slider .active .animation.animated-item-3 {
  -webkit-animation: fadeInUp 300ms linear 900ms both;
  -moz-animation: fadeInUp 300ms linear 900ms both;
  -o-animation: fadeInUp 300ms linear 900ms both;
  -ms-animation: fadeInUp 300ms linear 900ms both;
  animation: fadeInUp 300ms linear 900ms both;
}
#main-slider .active .animation.animated-item-4 {
  -webkit-animation: fadeInUp 300ms linear 1200ms both;
  -moz-animation: fadeInUp 300ms linear 1200ms both;
  -o-animation: fadeInUp 300ms linear 1200ms both;
  -ms-animation: fadeInUp 300ms linear 1200ms both;
  animation: fadeInUp 300ms linear 1200ms both;
}


/*--------------------------------------------------------------------------
    Table type1
--------------------------------------------------------------------------*/ 

@media screen and (min-width:768px) {
 
 table.type1 {

  margin-bottom:48px;
  table-layout: fixed;
  width: 100%;
}
table.type1 tr {
  background: #f9f9f9;
  
  padding: .35em;
  
}
table.type1 th{
   padding: 7px;
   text-align: left;
   border: 1px solid #ccc;
  border-collapse: collapse;
   background:#eee;
   width:40%;
  
}
table.type1 td {
  padding: 7px;
  text-align: left;
   border: 1px solid #ccc;
  border-collapse: collapse;
  width:60%;
  
}
  }   
 
 @media screen and (max-width:767px) {
    table.type1 {

  margin:0px;
  table-layout: fixed;
  width: 100%;
}
table.type1 tr {
  background: #f9f9f9;
  height:30px;
  padding: .35em;
  
}
table.type1 th{
    padding: .625em;
   text-align: left;
   border: 1px solid #ccc;
  border-collapse: collapse;
   background:#eee;
   width:100%;
   
}
table.type1 td {
  padding: .625em;
  text-align: left;
   border: 1px solid #ccc;
  border-collapse: collapse;
  width:100%;
}

table.type1 caption{
 padding-top:14px;  
 text-align: left;  
 font-size:16px;
}
    table.type1 td,th{
	width:100%;
	display:block;
}
 }   



/* Section Title */
@media(min-width:768px) {
	.section-title h1{
	font-size:28px;
	font-weight:700;
	margin-bottom:15px;
}

.section-title h1:before{
	content: url(../img/parts/title-before.png);
	display:block;
	float:left;
}
.section-title p{
	font-size:24px;
	line-height:26px;
	font-weight:500;
	margin-bottom:30px;
	margin-left:24px;
	margin-right:24px;
	
}

	
}

@media(max-width:767px) {
.section-title h1{
	font-size:18px;
	font-weight:500;
	margin-bottom:15px;
}

.section-title h1:before{
	content: url(../img/parts/title-before-s.png);
	display:block;
	float:left;
}
.section-title p{
	font-size:22px;
	line-height:26px;
	font-weight:500;
	margin-bottom:30px;
	margin-left:48px;
	margin-right:8px;
	
}
.section-title p{
	font-size:14px;
	font-weight:500;
	margin-bottom:30px;
	margin-left:5px;
}
}





/* Portfolio Grid and Hover Effects */

.grid {
	padding-top: 20px;
		padding-bottom: 20px;
			padding-left: 0px;
				padding-right: 5px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: left;
}

.grid figure {
	margin: 0;
	position: relative;
	margin-top:20px;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}
@media(max-width:767px) {
	
	.grid figcaption h3 {
	font-size:14px;
	margin: 0;
	padding: 0;
	color: #fff;
}
}	

@media(min-width:768px) {
	.grid figcaption h3 {
	font-size:18px;
	margin: 0;
	padding: 0;
	color: #fff;
}
	
}	
.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #000;
	color: #d45d00;
}



.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 0;
	display: inline-block;
	background: #d45d00;
	color: #fff;
}


.cs-style-3 figure {
	overflow: hidden;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}
.cs-style-3 figcaption {
	height: 60px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 1;
	
}
/*
.cs-style-3 figcaption {
	height: 80px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}*/

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 2 */
.cs-style-2 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-2 figure:hover img,
.cs-style-2 figure.cs-hover img {
	-webkit-transform: translateY(-90px);
	-moz-transform: translateY(-90px);
	-ms-transform: translateY(-90px);
	transform: translateY(-90px);
}

.cs-style-2 figcaption {
	height: 90px;
	width: 100%;
	top: auto;
	bottom: 0;
}

.cs-style-2 figcaption a {
	position: absolute;
	right: 20px;
	top: 30px;
}

.box2 {
    padding: 1em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: blue;/*文字色*/
    background: #FFF;
    border: solid 3px rgb(255, 0, 0);/*線*/
    border-radius: 10px;/*角の丸み*/
    text-align: center;
    font-size: x-large;
}
.box2 a {
    margin: 0; 
    padding: 0;
    color: rgb(0, 13, 172);/*文字色*/
    text-decoration: underline;
}


