@charset "UTF-8";

@import "./common/layout.css";



/*-------------------------------------------------------------------------
	HEADER
/*-----------------------------------------------------------------------*/


    #header-index {
	width: 100%;
	background-image: url(http://www.yamadamatsu.co.jp/files/img/common/header/bg01.jpg);
	background-position: center;
}

	#header-index .wrap {
	height: 344px;
	background: url(http://www.yamadamatsu.co.jp/files/img/common/header/bg02.png) no-repeat;
	}
    

    
		#header-index .wrap h1 {
			position: relative;
			top: 75px;
			left: 261px;
			width: 434px;
		}
		#header-index .wrap .snavi {
			position: absolute;
			top: 40px;
			right: 24px;
		}
			#header-index .wrap .snavi li {
				float: left;
				margin-right: 20px;
			}
		#header-index .wrap .gnavi {
			position: relative;
			top: 300px;

		}

			#header-index .wrap .gnavi li {
				float: left;
				margin-right: 60px;
			}
			#header-index .wrap .gnavi li:last-child {
				margin-right: 0;
			}

#main-menu .menu-item{
	float: left;
	margin: 0 0px 0 0px;
	padding: 0 30px 0 30px;
}
#main-menu .menu-item .dropdown-content{
	padding: 0 0 0 0;
	border:solid 1px red;

}

/*-----------------------------------
siteimage
/*-----------------------------------*/

	#siteimage {
		margin: 0px auto 0 auto;
		padding: 0px;
		overflow:hidden;
		width:100%;
    	position:relative;
    	height:344px;
	}
		#siteimage #view {
			position: absolute;
			width:1600px;
			height:344px;
			top:0;
			left:50%;
			overflow:hidden;
			margin:0 0 0 -800px;
		}
		#siteimage #view p {
			position: absolute;
		}


.column {
  float: left;
  width: 50%;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}
/*-------------------------------------------------------------------------
	content
/*-----------------------------------------------------------------------*/
.image-gallery-link{
	padding: 5px;
	margin: 0 0 0 0 ;
}

.gallery-image-text{
	width: 100%;
	margin:10px;
	padding:0px;
	border:1px solid #adb5bd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.gallery-image{
	width: 100%;
	border:1px solid #adb5bd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.gallery-image1{
	width:100%;
	height: 180px;
	border:1px solid #adb5bd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.gallery-image2{
	height:230px;
	border:1px solid #adb5bd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.gallery-image3{
	border:1px solid #adb5bd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*  */
#fullwidth-image{
	width: 100%;
	height: 400px;
}
#fullwidth-image1{
	width: 600px;
	height: 400px;
}
#fullwidth-image2{
	width: 700px;
	height: 400px;
}
#fullwidth-image3{
	/* width: 100%; */
	height: 350px;
}
#fullwidth-image4{
	width: 100%;
	height: 400px;
}
#fullwidth-image5{
	width: 100%;
	height: 400px;
}
/*  */
#fullheight-image{
	height: 100%;
}
#fullheight-image1{
	height: 350px;
}
#fullheight-image2{
	height: 400px;
}

/*  Menu Start*/

.bs-example nav{
	margin-top:10px;
	background-image: url("./images/style/header02.png") !important;
}
.nav-link{
	font-size: 18px !important;
	color: #000000 !important;	
	padding-right: 20px !important;
}
.nav-link:hover{
	color: rgb(210, 149, 85) !important;
}

.item-selected{
	color: rgb(210, 149, 85) !important;
}
.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0;
}
.dropdown-item{
	border-bottom: solid 1px rgb(210, 149, 85);
}
.dropdown{

}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: medium;
    color: #212529;
    text-align: left;
    list-style: seagreen;
    background-color: #fff;
    background-clip: inherit;
    border: 1px solid rgb(226, 173, 20);
    border-radius: inherit;
}
/* Menu End*/










#content-div{
    margin-top:10px;

}
#content-video{
	padding: -35px 0 -45px 0;
	margin: 0 19px 18px 0;
	float: left;
}

#content-index ul li {
	margin: 0 19px 18px 0;
	float: left;
	/* border: solid 1px rgba(83, 80, 80, 0.1); */
}

	#content-index .news {
		margin-top: 20px;
	}
		#content-index .news h2 {
			margin-right: 65px;
			width: 44px;
			float: left;
		}
			#content-index .news .box {
				margin: 0 45px 45px 0;
				width: 380px;
				float: left;
			}
			#content-index .news .box2 {
				margin: 0 15px 45px 0;
				width: 400px;
				float: right;
			}
			#content-index .news .box3 {
				margin: 0 15px 45px 0;
				float: right;
				width: 840px;
			}
				#content-index .news .box h3,
				#content-index .news .box2 h3,
				#content-index .news .box3 h3 {
					padding-bottom: 13px;
					/* background: url(http://www.yamadamatsu.co.jp/files/img/index/line.gif) repeat-x bottom; */
				}
					#content-index .news .box h3 span,
					#content-index .news .box2 h3 span,
					#content-index .news .box3 h3 span {
						padding-top: 3px;
						width: 90px;
						float: right;
					}
					#content-index .news .box dl dt,
					#content-index .news .box2 dl dt,
					#content-index .news .box3 dl dt {
						width: 10em;
						float: left;
					}
					#content-index .news .box dl dd,
					#content-index .news .box2 dl dd,
					#content-index .news .box3 dl dd {
						padding-left: 10em;
					}
						#content-index .news .box dl dd dl dt,
						#content-index .news .box2 dl dd dl dt,
						#content-index .news .box3 dl dd dl dt {
							width: 100%;
							font-weight: bold;
						}
						#content-index .news .box dl dd dl dd,
						#content-index .news .box2 dl dd dl dd,
						#content-index .news .box3 dl dd dl dd {
							padding-left: 0;
						}
							#content-index .news .box3 dl dd dl dd .redtext {
								color: #990000;
							}
#content-index .wrap .news .box dl dd a {
	width: 280px;
}

#content-index .news .box3 dl dd dl {
	margin: 0.5em 0 1em 0;
}
#content-index .news .box3 dl dd dl dd {
padding: 0 0 1em 0;
border-bottom: dotted 1px #999;
}

/* .container {
	background-color: rgb(245, 243, 238);
  } */

* {
	box-sizing: border-box;
  }
  
  body {
	background-color: #f1f1f1;
	/* padding: 20px; */
	font-family: Arial;
  }
  
  /* Center website */
  .main {
	  width: 100%;
	  /* width: 2000px; */
	/* max-width: 2000px; */
	margin: auto;
	/* background-color: rgb(245, 243, 238); */
  }
  
  h1 {
	font-size: 50px;
	word-break: break-all;
  }
  
  .row {
	margin: 10px -16px;
  }
  
  /* Add padding BETWEEN each column */
  .row,
  .row > .column {
	padding: 8px;
  }
  
  /* Create three equal columns that floats next to each other */
  .column {
	float: left;
	width: 33.33%;
	height: 430px;
	display: none; /* Hide all elements by default */
  }
  
  
  /* Clear floats after rows */ 
  .row:after {
	content: "";
	display: table;
	clear: both;
  }
  
  /* Content */
  .content {
	/* background-color: rgb(241, 236, 226); */
	padding: 10px;
  }

  
  /* The "show" class is added to the filtered elements */
  .show {
	display: block;
  }
  
  /* Style the buttons */
  .btn {
	border: none;
	outline: none;
	padding: 12px 16px;
	background-color: white;
	cursor: pointer;
  }
  
  .btn:hover {
	background-color: #ddd;
  }
  
  .btn.active {
	background-color: #666;
	color: white;
  }


/* #header .wrap .gnavi .last-child img {
	padding-bottom: 35px;
} */

#category-image {
	background-image: url(../img/common/category_image.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-color: #000;
}

	#category-image .category-area {
	height: 147px;
	width: 1024px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}




/*-------------------------------------------------------------------------
	index.html
/*-----------------------------------------------------------------------*/

#exp {
	padding: 0px;
	margin: 0px;
}

#exp dl {
	margin: 0 35px 35px 0;
	width: 334px;
	float: left;
}
#exp dl.last-child {
	margin: 0 0 35px 0;
}
#exp dl dt img {
	width:100%;
}




/*-------------------------------------------------------------------------
	ordermade.html
/*-----------------------------------------------------------------------*/







/*-------------------------------------------------------------------------
	course01.html
/*-----------------------------------------------------------------------*/

	.monko-list dl {
	float: left;
	width: 150px;
	padding-right: 30px;
}


.monko {
	width: 703px;
	margin-top: 30px;
}
	.monko .detail {
		width: 440px;
		float: left;
	}
	.monko .detail p {
	padding-bottom: 15px;
}
	.monko .detail dl {
	width: 420px;
	padding-top: 5px;
	padding-bottom: 0px;
}
	.monko .detail dl dt {
	float: left;
	width: 100px;
	border-bottom: 1px dotted #666;
}
	.monko .detail dl dd {
	float: right;
	width: 300px;
	border-bottom: 1px dotted #666;
}
	.monko .picture {
		width: 220px;
		float: right;
	}





/*-------------------------------------------------------------------------
	course021.html
/*-----------------------------------------------------------------------*/


.choko-list dl {
	float: left;
	width: 150px;
	padding-right: 30px;
}


.choko {
	width: 703px;
	margin-top: 30px;
}
	.choko .detail {
		width: 440px;
		float: left;
	}
	.choko .detail p {
	padding-bottom: 15px;
}
	.choko .detail dl {
	width: 420px;
	padding-top: 5px;
	padding-bottom: 0px;
}
	.choko .detail dl dt {
	float: left;
	width: 100px;
	border-bottom: 1px dotted #666;
}
	.choko .detail dl dd {
	float: right;
	width: 300px;
	border-bottom: 1px dotted #666;
}
	
	
	.choko .picture {
		width: 220px;
		float: right;
	}


/*--------------------------------------------------------------*/
/*	margin */
/*--------------------------------------------------------------*/
.m-t24{
	margin-top:24px;
}
.m-t40{
	margin-top:40px;
}

/*--------------------------------------------------------------*/
/*	line-height */
/*--------------------------------------------------------------*/
.l-h0{
	line-height:0px;
}

#boxshadow-cat {
	position: relative;
	-moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
	-webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
	box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
	padding: 1px;
	background: rgba(235, 208, 203, 0.048);
  }
#boxshadow {
	position: relative;
	-moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
	-webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
	box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
	padding: 10px;
	background: rgba(235, 208, 203, 0.048);
  }
  
  /* Make the image fit the box */
  #boxshadow img {
	width: 100%;
	border: 1px solid #f8efe9;
	border-style: inset;
  }
  
  #boxshadow::after {
	content: '';
	position: absolute;
	z-index: -1; /* hide shadow behind image */
	-webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
	box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);        
	width: 70%; 
	left: 15%; /* one half of the remaining 30% */
	height: 100px;
	bottom: 0;
  }


  .dropdown {
	position: relative;
	display: inline-block;
  }
  .dropdown-toggle::after {
	  display:none;
  }
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 12px 16px;
	z-index: 1;
  }
  
  .dropdown:hover .dropdown-content {
	display: block;
  }
/*
#field_4{
	border:1px solid red;
}*/

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f221;
  padding: 20px;
}
