/* CSS Document */

/*--------------------
Base
---------------------*/


html{
	font-size:68.75%;/*16px×62.5%=10px*/
}
body{
background-color: white;
color:black;
font-family: "游明朝";
font-size: 1.4rem;
line-height: 1;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}
.text-center{
	text-align: center;
}
a:hover{
  opacity: 0.8;
  
}

ul{
	list-style: none;
}

#loading{
	display:none;
	width:100%;
	height:100%;
	background-color:#fff;
	background-image:url(/common/images/loading.gif);
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-size:100px auto;
	position:fixed;
	/*position:relative;*/
	top:0;
	z-index:10000;
}

/*--------------------
header
---------------------*/

.hr{
	border-top: solid 7px #FF0004  ;
	width: 100%;
    display: block;
	z-index: 18;
    /*background-color: white;*/
	opacity: 0.99;
	position: relative;/* 追記 */
}


.header-inner{
	margin: 0 2%  ;
		 
}
.logo-title{
	width:400px;
	display: flex;
	margin: 4px 0;
	justify-content: flex-start;
    font-size:14px;

}


.logo{
	width: 8%;
	margin-top: 20px;
	
}

/*アクセス・問い合わせ*/

.header-nav1{

	 float:  right;
	width: 300px;
    font-size:18px;
	
}


.header-nav1 .nav-list-first .nav-item-first{
	
    width: 120px;
	float: right;
   text-align: center;
	margin: 10px;
    padding: 2px 2px;

    /*box-shadow: 0 2px 5px #ccc;*/
	background-color: #fff;
	box-shadow:0px 0px 2px 0px inset #333;

}
 .nav-list-first .nav-item-first >a{
	display: inline;
      background-color: white;
    font-size: 14px;
	 
}


/* ＰＣメニュー*/

.header-nav-sp{
  display:none;
}



.header-nav .nav-list{
	list-style: none;
	padding: 0;
	
}


ul {
margin:0px;
padding:0px;
}
.gnav {
	display: flex;
	justify-content: flex-end;
	font-size: 18px ;
	position: relative;
	top:-20px;
}
@media screen and (max-width:1500px){
.gnav {
	top:0;
}
}



.gnav li {
  max-width: 250px;
  width: 100%;
	
  }

/* 追記ここから */
.gnav > li {
	/*width:10%;*/
	height:20px;
	margin-right:1%;
	padding: 10px 0 10px;
	background-color:#fff;
	box-shadow:0px 0px 2px 0px inset #333;
	/*border:1px solid #999;*/
}
.gnav > li:nth-last-of-type(1){
	margin-right:0;
}

.gnav li ul{
	margin-top: 11px;
	padding-top: 2px;
	background-color: #fff;
	/*box-shadow:0px 0px 2px 0px #666;*/
	border-left:1px solid #aaa;
	border-right:1px solid #aaa;
	border-bottom:1px solid #aaa;
	box-sizing:content-box;
	position: relative;
	top:-2px;
}
/* 追記ここまで */

.gnav li ul li {
	width: 100%;
    height: 0;
    overflow: hidden;
    transition: .5s;
	font-size:18px;	
    border-right: none;
	
}

.gnav li:hover > ul {
    padding-bottom: 5px;
}

.gnav li:hover > ul > li {
    height: 3rem;
    overflow: visible;
}

.gnav li:hover > ul > li >a{
    line-height: 3rem;
  	color: #000000;
   text-decoration: none;
		
}
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
.navigation  ul > li >a:hover{
	border-bottom: dashed 2px  #FF0004	;}
.nav-item-2{

	background: white;
}


/*------------------
	 * footer
	 ------------------*/
.saiyou-banner {
    color: white;
    text-align: center;
	margin-top:10px;
}
	.footer{
		background-color:  #800000;
		position: relative;
		padding: 80px 0;

		
		
	}
	.footer .footer-logo img{
	  width:80%;
      }
    .nav-item-footer>a{
	color: #fff;
	font-size:18px;
	line-height: 5px;
		
}

.works-list-b-second img{   
	width: 160px; 
    height: auto;
	
}


.nav-list-footer{
	display: flex;
	justify-content: space-around;
	line-height:50px; 
  	position: relative; top: -100px; z-index: 2;
}
.logo-background {
	position: relative; top: 250px; z-index: 1;
  
}


	.footer .nav-list-footer{
		margin-bottom: 24px;
	
	}
	.footer .nav-list-footer:last-of-type{
		margin-bottom: 64px;
	}
	.footer .nav-list-footer .nav-item-footer:first-of-type{
		margin-left: 0;
	}
	.address{
		margin-bottom: 80px;
	}
.footer-last{
	color: #fff;
}


.works-list-b-second{
	display:flex;
	flex-wrap: wrap;
    justify-content: center;
	margin-bottom:10%; 
	
}

.works-list-b-second img{
	width: 100%;


}






/* 20240319西森追記 */
.works-list-item-bunner:nth-of-type(1){
	width: 240px;
	margin: 5% 5% 0;
}
.works-list-item-bunner:nth-of-type(3){
	width: 234px;
	margin: 5% 5% 0;
}
			
@media screen and (max-width:591px){
.works-list-item-bunner:nth-of-type(1){
	width: 240px !important;
	margin: 0 5% 5%;
}
.works-list-item-bunner:nth-of-type(3){
	width: 234px;
}
}

/* 20250516西森追記 */
.works-list-item-bunner:nth-of-type(1) a:nth-of-type(2) img{
	width:auto;
	display: block;
	margin: 20px auto 0;
}
