

/*webfont*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/*全体*/
body{
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.75;
	font-weight: 400;
    color: #333333;

	  display: flex;
	  flex-flow: column;
	  min-height: 100vh;


        	@media screen and (max-width: 767px){
        		font-weight: 400;
        	}
}


::placeholder {
  color: #8c8a8a;
  opacity: 1;
  font-weight: 400;
}

a:hover{ 
    opacity: 0.6; 
    cursor: pointer;
}

.wrap{
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    display: block;
}

#header-style{
		position: sticky;
		top: 0;
		z-index: 1000;
		background: #fff;

    .header-read{ 
        background-color: #3f76b8;
        color: #fff;
        font-size: 12px;
		height: 22px;
		padding: 7px 0;
        @media screen and (max-width: 767px){
        	font-size: 8px;
			height: auto;
        }
    }
    .header-top{
        margin: 15px auto 16px;
        display: flex;
        justify-content: space-between;
        position: relative;
        .left-parts{
        	@media screen and (max-width: 767px){
        		width: 155px;
        		& h1{ width: 155px;}
        	}
        }

        .right-parts{
            display: flex;
            align-items: flex-start;
        }
        .search-word{
            margin: 0 15px 0 0;
            position: relative;

            
            #searchform{
	            position: relative;
	            
	            & button{
					background-image: url(../images/common/search.png);
					position: absolute;
					width: 21px;
					height: 26px;
					right: 13px;
					top: 50%;
					margin-top: -13px;
					background-repeat: no-repeat;
					cursor: pointer;
					&:hover{
						opacity: 0.6;
					}
	            }
            }
            
            & input{
                border: 1px solid #c1c1c1;
                border-radius: 16px;
                width: 275px;
                font-size: 12px;
                height: 33px;
                padding: 0 42px 0 15px;
                position: relative;                
                @media screen and (max-width: 767px){
                	max-width: 225px;
		            width: calc( 100% - 10px);
		            margin-left: 10px;
                }
            }


        }
        .individual{
            color:#3f76b8;
            width: 185px;
            line-height: 1;
            font-size: 14px;
            background-color: #d4e4fa;
            padding: 8px 15px 10px;
            text-align: center;
            border-radius: 5px;
            font-weight: 500;
            @media screen and (max-width: 767px){
            	display: none;
            }
        }
    }
}

#sp-menu-var{
    display: none;
	position: relative;
    width: 38px;
    height: 52px;
    cursor: pointer;
    
    
    @media screen and (max-width: 767px){
    	display: block;
    }

	> span{
		background-color: #417ec0;
		position: absolute;
	    left: 0px;
	    width: 38px;
	    height: 6px;
	    display: inline-block;
	    border-radius: 3px;
	    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
	    
			&:first-of-type {
			    top: 15px;
			  }
			&:nth-of-type(3){
				bottom: 15px;
			  }
	}
	
	&.open > span{
		opacity: 1;
		-webkit-transform: translateY(12px) rotate(-45deg);
	    transform: translateY(12px) rotate(-45deg);
    }
	&.open > span:first-of-type {
		opacity: 0;
    }
	&.open > span:nth-of-type(3){
		opacity: 1;
		-webkit-transform: translateY(-18px) rotate(45deg);
	    transform: translateY(-18px) rotate(45deg);
    }
}


/* PC版メニュー */

@media screen and (min-width: 768px){

#sp-nav .individual{ display: none;}

#header-style.invert {
	border-bottom: 1px solid #d1cfcf;
}

		.global-nav{
		    display: flex !important;
		    width: 100%;
		    padding: 5px 0 0px;
		    > li{
		        display: block;
		        flex: 1;
		        text-align: center;
		        position: relative;
		        font-size: 16px;
		        font-weight: 600;
		        padding-bottom: 17px;
		        @media screen and (max-width: 1000px){ font-size: 1.5vw; }
		        > a{
		           display: block;
		           width: 100%; 
		        }
		        > a:hover{
		            color: #7faee7;
		            opacity: 1;
		        }
		        &::after{
		            content: "";
			        background-color: #d1cfcf;
			        width: 1px;
			        height: 33px;
			        display: block;
			        position: absolute;
			        top: 0;
			        margin-top: 0;
		        }
		    }
		    > li.open{
		    	color: #2e6bb3;
		    }
		    > li.active{ color: #2e6bb3;}
		    > li:first-child{
		        &::after{ display: none;}
		    }
		}
		.global-nav2{
		    position: absolute;
		    width: 100%;
		    background-color: #fff;
		    box-shadow: 5px 5px 6px rgba(0,0,0,0.1);
		    top: 45px;
		    left: 0;
		    border-bottom: 1px solid #c9c9c9;
		    border-top:4px solid #488ad9;
		    text-align: left;
		    box-sizing: border-box;
		    line-height: 1.7;
		    z-index: 5;
		    font-size: 15px;
		    display:none;
		    
		    @media screen and (max-width: 1000px){
			    width: 100%;
		        margin-left: 0;
		        left: 0;
		        font-size: 14px;
		        top: 44px;
		    }
		    
		    
		    > li{
		        color: #374f6c;
		        position: relative;
		        > a{
					position: relative;
		            display: block;
		            width: 100%;
		            padding: 8px 5px 8px 19px;
				    border-left: 1px solid #b7c7e2;
				    border-right: 1px solid #b7c7e2;

				    @media screen and (max-width: 1000px){
				            padding: 8px 10px 8px 15px;
				    }
				    
				    &:hover{
				    	opacity: 1;
				    }
				    

		        }
		    }
		    > li::after{
				content: "";
				background-size: 4px 1px;
		        background-image: linear-gradient(to right, #676767 1px, transparent 1px);
		        background-repeat: repeat-x;
		        background-position: left top;
				position: absolute;
				width: calc( 100% - 38px);
				height: 1px;
				left: 19px;
				top: 0;
		    }
		    > li:first-child::after{
		    	display:none;
		    }
		    > li.accordion{
		    	position: relative;
		    	
		    	> a{
		    		padding:8px 30px 8px 19px;

				    @media screen and (max-width: 1000px){
				            padding: 8px 30px 8px 19px;
				    }
		    	}
		    	
				&::before {
					content: "";
			        display: block;
			        width: 7px;
			        height: 14px;
			        background-image: url("../images/common/nav-icon_01.png");
			        right: 18px;
			        top: 50%;
			        position: absolute;
			        margin-top: -7px;
			        position: absolute;
			        color: #374f6c;
			    }
			    @media screen and (max-width: 1000px){
			            &::before {  right: 15px; }
			    }
		    }    

		    > li.accordion.open{
		    	background-color: #dbe9fb;
		    	color: #2476c9;
				&::before {
			        background-image: url("../images/common/nav-icon_02.png");
			    }
		    	&::after{
		    		display: none;
		    	}		    	
		    	&:hover{
		    		opacity: 1;
		    	}
		    }

		    > li:hover{
		    	&::after{
		    		display: none;
		    	}
		    }
		    > li:hover{
		    	background-color: #dbe9fb;
		    	color: #2476c9;
				&::before {
			        background-image: url("../images/common/nav-icon_02.png");
			    }
		    	&::after{
		    		display: none;
		    	}
		    	&:hover{
		    		opacity: 1;
		    	}
		    }
		    > li:hover + li{
		    	&::after{
		    		display: none;
		    	}
		    }



		}

		.global-nav3{
		    background-color: #f0f5ff;
		    border-top: 4px solid #87b6ee;
		    border-bottom: 1px solid #b7c7e2;
		    border-left: 1px solid #b7c7e2;
		    border-right: 1px solid #b7c7e2;
		    position: absolute;
		    top: 0px;
		    left: calc( 100% - 1px );
		    width: 100%;
		    display:none;
		    padding: 5px 0 5px 0;
		     box-shadow: 5px 5px 6px rgba(0,0,0,0.1);
		    > li{
		    	line-height: 1.4;
		    	position: relative;
		        > a{
		            display: block;
		            width: 100%;
		            padding: 4px 26px 4px 34px;
		            font-size: 15px;
		            color: #2f3f57;
		            position: relative;
		            font-weight: 400;
		            position: relative;

					    @media screen and (max-width: 1000px){
					        font-size: 13px;	    
					        padding: 4px 15px 0 18px;
					    }

		        }


		        > a:hover{
		        	color: #347cd1;
		        	opacity: 1;
		        	font-weight: 500;
		        }
		    }
	}
	
	.global-nav2 li:first-child .global-nav3{   top: -4px;  }
	
	
	
}

@media print {
#sp-nav .individual{display:none}#header-style.invert{border-bottom:1px solid #d1cfcf}.global-nav{display:flex!important;width:100%;padding:5px 0 0;>li{display:block;flex:1;text-align:center;position:relative;font-size:16px;font-weight:600;padding-bottom:17px;@media screen and (max-width:1000px){font-size:1.5vw}>a{display:block;width:100%}>a:hover{color:#7faee7;opacity:1}&::after{content:"";background-color:#d1cfcf;width:1px;height:33px;display:block;position:absolute;top:0;margin-top:0}}>li.open{color:#2e6bb3}>li.active{color:#2e6bb3}>li:first-child{&::after{display:none}}}.global-nav2{position:absolute;width:100%;background-color:#fff;box-shadow:5px 5px 6px rgba(0,0,0,.1);top:45px;left:0;border-bottom:1px solid #c9c9c9;border-top:4px solid #488ad9;text-align:left;box-sizing:border-box;line-height:1.7;z-index:5;font-size:15px;display:none;@media screen and (max-width:1000px){width:100%;margin-left:0;left:0;font-size:14px;top:44px}>li{color:#374f6c;position:relative;>a{position:relative;display:block;width:100%;padding:8px 5px 8px 19px;border-left:1px solid #b7c7e2;border-right:1px solid #b7c7e2;@media screen and (max-width:1000px){padding:8px 10px 8px 15px}&:hover{opacity:1}}}>li::after{content:"";background-size:4px 1px;background-image:linear-gradient(to right,#676767 1px,transparent 1px);background-repeat:repeat-x;background-position:left top;position:absolute;width:calc(100% - 38px);height:1px;left:19px;top:0}>li:first-child::after{display:none}>li.accordion{position:relative;>a{padding:8px 30px 8px 19px;@media screen and (max-width:1000px){padding:8px 30px 8px 19px}}&::before{content:"";display:block;width:7px;height:14px;background-image:url(../images/common/nav-icon_01.png);right:18px;top:50%;position:absolute;margin-top:-7px;position:absolute;color:#374f6c}@media screen and (max-width:1000px){&::before{right:15px}}}>li.accordion.open{background-color:#dbe9fb;color:#2476c9;&::before{background-image:url(../images/common/nav-icon_02.png)}&::after{display:none}&:hover{opacity:1}}>li:hover{&::after{display:none}}>li:hover{background-color:#dbe9fb;color:#2476c9;&::before{background-image:url(../images/common/nav-icon_02.png)}&::after{display:none}&:hover{opacity:1}}>li:hover+li{&::after{display:none}}}.global-nav3{background-color:#f0f5ff;border-top:4px solid #87b6ee;border-bottom:1px solid #b7c7e2;border-left:1px solid #b7c7e2;border-right:1px solid #b7c7e2;position:absolute;top:0;left:calc(100% - 1px);width:100%;display:none;padding:5px 0 5px 0;box-shadow:5px 5px 6px rgba(0,0,0,.1);>li{line-height:1.4;position:relative;>a{display:block;width:100%;padding:4px 26px 4px 34px;font-size:15px;color:#2f3f57;position:relative;font-weight:400;position:relative;@media screen and (max-width:1000px){font-size:13px;padding:4px 15px 0 18px}}>a:hover{color:#347cd1;opacity:1;font-weight:500}}}.global-nav2 li:first-child .global-nav3{top:-4px}
}

/* スマホ版メニュー */

@media screen and (max-width: 767px){

	#header-style {
	  height: 85px;
	}
	
	.header-lower{
		border-bottom: 1px solid #a3a9b5;
	}
	
	.invert{
		border-bottom: 1px solid #a3a9b5;
	}

  #sp-nav-back {
    background-color: #1a2847;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    opacity: 0.4;
    display:none;
  }
  #sp-nav-back.open{
  	display: block;
  }  

	#sp-nav{
		display: none;
		line-height: 1.7;
		border-top: 4px solid #488ad9;
	    background-color: #fff;
	    box-shadow: 0px 5px 3px rgba(62,86,115,0.4);
	    width: 320px;
	    position: absolute;
	    right: 0;
	    z-index: 5;
	    top: 85px;
	    overflow-y: scroll;
	    max-height: calc( 100vh - 100px );
	}
	
	#sp-nav .individual {
      color: #3f76b8;
      width: 190px;
      line-height: 1;
      font-size: 14px;
      background-color: #d4e4fa;
      padding: 8px 15px 10px;
      text-align: center;
      border-radius: 5px;
      font-weight: 500;
      display: block;
	}
	
	.button-area{
		display: flex;
		margin: 10px 20px;
		justify-content: right;
	}


		.global-nav{
		    > li{
		    	font-size: 15px;
		    	color: #374f6c;
		    	position: relative;
		    	font-weight: 500;
		        > a{
		        	padding: 14px 20px;
		        	display: block;
		        	position: relative;
		        	font-weight: 600;
		        }
		        > a:hover{
		        }
		        &::before{
		        	content: "";
			        position: absolute;
			        background-color: #bebebe;
			        height: 1px;
			        width: calc(100% - 40px);
			        margin-left: 20px;
		        }
		        &:first-child::before{ display: none;}
		    }
		    > li.accordion > a::after{
		        	content: "＋";
			        position: absolute;
			        top: 50%;
			        right: 20px;
			        margin-top: -14px;
		    }
		    > li.open + li::before{ display:none; }
		    > li.accordion.open > a::after{
		        	content: "－";
		    }

		    > li.open{
		    	color: #388be0;
		    }
		    > li.active{ }

		}
		.global-nav2{
			display: none;
			background-color: #e8effa;
			border-top: 1px solid #a7a7a7;
			border-bottom: 1px solid #a7a7a7;

		    > li{
		    	color: #334764;
		    	font-weight: 400;
		        > a{
		        	padding: 14px 50px 14px 30px;
			        display: block;
			        position: relative;
			        font-weight: 600;
		        }
		        &::before{
		        	content: "";
			        position: absolute;
			        background-color: #a6b3bd;
			        height: 1px;
			        width: calc(100% - 60px);
			        margin-left: 30px;
		        }
		        &:first-child::before{ display: none;}
		    }
		    > li.accordion{
		    	position: relative;

		    	.accordion-button{
		    		width: 45px;
			        height: 100%;
			        display: block;
			        position: absolute;
			        top: 0;
			        right: 0;
			        cursor: pointer;
		    	}

		    	&::after {
		        	content: "＋";
			        position: absolute;
			        top: 5px;
			        right: 15px;
			        margin-top: 0;
			        padding: 10px 15px;
			    }
		    }    
		    > li.accordion.open{
		    	color: #5292e0;
		    	&::after {
		        	content: "－";
		        }
		    }

		    > li.accordion.open + li::before{
		    	display: none;
		    }

		}

		.global-nav3{
			display: none;
			border-top: 1px solid #afbdd3;
			border-bottom: 1px solid #afbdd3;
			background-color: #e1e8f3;
			
		    > li{
		    	color: #22324b;
		    	font-weight: 400;
		    	position: relative;
		    	font-size: 14px;
		        > a{
		        	padding: 10px 40px 10px 54px;
			        display: block;
			        position: relative;
			        font-weight: 600;
			        }
		        > a::before{
		        	content: "-";
			        position: absolute;
			        top: 8px;
			        left: 40px;
		        }
		        > a:hover{
		        }
		    }
		    > li::after{
				content: "";
			    position: absolute;
			    width: calc( 100% - 80px);
			    height: 0;
			    bottom: 0;
			    left: 40px;
				background-size: 4px 1px;
		        background-image: linear-gradient(to right, #676767 1px, transparent 1px);
		        background-repeat: repeat-x;
		        background-position: left top;
				padding-bottom: 1px;
		    }

		    > li:last-child::after{
		    	display: none;
		    }
	}
}


.wp-contents{
flex: 1;
   @media screen and (max-width:767px) {
   }
}

.lower{
	padding-bottom: 100px;
	         @media screen and (max-width:767px) {
	         	padding-bottom: 50px;
	         }
}


#footer-style{
    background-color: #3f76b8;
    color: #fff;
    font-size: 14px;
    .footer-nav-area{
        padding: 50px 0 0;
        flex-wrap: wrap;
    	display: flex;
    	justify-content: center;
	            @media screen and (max-width: 767px){
	            	padding: 40px 0 0;
	            	display: block;
	            }

    }
        
    .footer-nav{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
	        @media screen and (max-width: 767px){
	        	margin-left: -40px;
	         }
        & li{
            padding: 0 14px;
            position: relative;
	            @media screen and (max-width: 767px){
		            &:nth-child(odd){
 			           padding: 0 14px 0 0;
		            }
		            &:nth-child(even){
		            	&::after{ display:none;}
		            }
					
					
				}            
            &::after{
                content: "｜";
                display: block;
                position: absolute;
                top: 0;
                right: -26px;
            }
        }
        
        & li.notarget{
        	padding: 0 0 0 10px;
            &::after{
            	right: -22px;
            }
        }

        & a{
            position: relative;
            padding-left: 20px;
        }
        
        & a[target="_blank"]{
            position: relative;
            padding-left: 20px;

            &::after{
                content: "";
                background-image: url(../images/common/blank-link-white.png);
                width: 1em;
                height: 1em;
                display: block;
                position: absolute;
                right: -18px;
                top: 3px;
            }
        }
        &:first-child  li:first-child{
            padding: 0 14px 0 0;
        }

        &:last-child  li:last-child{
            padding: 0 0 0 14px;
            &::after{
                display: none;
            }
        }
        
        
    }
    .copyright{
        display: block;
        text-align: center;
        display: block;
        text-align: center;
        padding: 30px 0 40px;
    }
}    


.blue-back{ 
	background-color: #f5f7fa; 
	padding: 75px 0 50px;
		@media screen and (max-width: 767px){
			padding: 30px 0 30px;
		}
}
.white-back{ 
	padding: 75px 0 50px;
		@media screen and (max-width: 767px){
			padding: 30px 0 30px;
		}	
}



#side-menu {
  width: 70px;
  position: fixed;
  bottom: 5%;
  right: 8px;
  display: block;
  height: 350px;
  background: #fff;
  margin: 0;
  border-radius: 43px;
  border: 1px solid #d4d4d4;
  box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.17);
  padding: 0 5px;
  z-index: 3;
  & img{ width: 46px;}
  & ul{ 
  	padding: 5px 0 0; 
  	 @media screen and (min-width:768px) {
		  	display: block !important;
     }
  	}
  
  & li{
	background-size: 4px 1px;
	background-image: linear-gradient(to right, #676767 1px, transparent 1px);
	background-repeat: repeat-x;
	background-position: left bottom;
  	padding: 10px 0 11px;
    text-align: center;
  }

  & li:last-child{
  	background:none;
  }
  
  & span {
    font-size: 10px;
    text-align: center;
    display: block;
    line-height: 1;
    padding: 5px 0 0;
    font-weight: 600;
  }
  
  .top-back-button{ opacity : 0.6;}
  .top-back-button:hover{ opacity : 1;}
  .sp{
  	display: none;
  }
  
  @media screen and (max-width:767px) {
      width: 85px;
      background: inherit;
      border: none;
      box-shadow: none;
      padding: 0;
      height: auto;
      margin: 0;
      bottom: 5%;
      transition: top 0.2s ease-in-out, top 0.2s ease-in-out;
    
    &.open{ bottom: 5%; }
      
    & ul{ 
		padding: 5px 6px 15px;
		border: 1px solid #d4d4d4;
		box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.17);
		background: #fff;
		border-radius: 43px;
		display:none;
 		}	
	& li:nth-child(3){
		background:none;
	}
	& span {
		font-size: 12px;
		text-align: center;
		display: block;
		line-height: 1;
		padding: 0;
		font-weight: 600;
	}
  	img{ width: 55px;
  		 height: auto;
  		}
  .pc{ display :none;}
  .sp{
      display: block;
      text-align: center;
      position: relative;
      top: -15px;
	    
	  	.js-sp-side-accordion-button{ margin: 0 0 5px;
	  		& a{ display:none;}
	  		& a.active{  display:block; }
	  	}
	  	.top-back-button{ margin: 5px 0 0; opacity : 1;}
	  	.top-back-button:hover{ opacity : 0.6;}
  }

  }
  
}


