@media screen and (min-width:1185px) {
/* ここにPC向けのCSS指定 */
  #ham-menu {
	display: none;
 }
 
  body {
      font-size: 17px;
  }
  
  #notpc {
   display: none;
  }
}

@media screen and (max-width: 1302px) {
  #site-header-container {
   width: 99%;
  }
}

@media screen and (max-width: 1184px) {
/* ここにpad向けのcss */
  body {
      font-size: 17px;
  }
  
  #global-nav {
   display: none;
  }
  
  #notsp {
   display: none;
  }
  
  #ham-menu h3 {
   font-size: 1.8rem
  }
  
  #ham-menu li {
   font-size: 1.5rem;
  }
  
  .site-branding {
   top: 100vw;
  }
  
  /*#topimg {
   padding-bottom: 130%;
  }*/
  
  .site-branding-sub {
   top: 18vw;
  }
  
  .site-title {
   font-size: 2.5rem;
   width: 90%;
   margin-left: auto;
   margin-right: auto;
   line-height: 2.5rem;
  }
  
  .site-title #site-title-en {
   font-size: 1.8rem;
  }
  
  #logo {
   width: 40%
  }
   
   #contentsimg #w50 {
    width: 99%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    float: none;
    clear: both;
    margin-bottom: 20px;
   }
   
   #contentsimg #w50right {
    width: 99%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    float: none;
    clear: both;
    margin-bottom: 20px;
   }
   
  p#kjinfo {
	width: 94%;
	margin-left: 3%;
	margin-right: 3%;
	font-size: 23px;
  }
  
  #kjinfoimg {
      width: 94%;
      margin-left: 3%;
      margin-right: 3%;
      text-align: center;
  }

  .news dl dd {
   width: 90%;
  }
  
  #ft {
   margin-top: -6vw;
   padding-top: 6vw;
  }
  
  #topcontents-sub {
   margin-top: -1vw;
  }
  
  #page-top{
      width: 7%;
  }
  
} 


@media screen and (max-width: 1024px){
	
	 .site-branding {
        top: 20vw;
    }
	
	#topimg {
    /* height: 100vh; */
    max-height: 100%;
    padding-bottom: 70%;
    overflow: hidden;
    position: relative;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
	}
	
	#topcontents {
    width: 100%;
    background-color: #ffffff;
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 80px;
	}
	
	#topcontents h2 {
    margin-top: 0;
    padding-top: 5vw;
	}
	
}
	
@media screen and (max-width: 912px){
    
	.site-branding {
        top: 50vw;
    }
	
	.site-branding-sub {
   top: 33vw;
  }

	#topimg {
    /* height: 100vh; */
    max-height: 100%;
    padding-bottom: 80%;
    overflow: hidden;
    position: relative;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
	}
	
	#topcontents {
    width: 100%;
    background-color: #ffffff;
    padding-top: 0;
    padding-bottom: 80px;
	}
	
	#topcontents h2 {
    /* margin-top: 100px; */
    padding-top: 5vw;
	}
	
	.heading06 {
    font-size: 26px;
	}
	
}

@media screen and (max-width: 853px){
	
	.site-branding {
		top: 50vw;
	}
	
	.site-title {
		font-size: 2.0rem;
	}
	
	#topcontents {
		width: 100%;
		background-color: #ffffff;
		padding-top: 0;
		padding-bottom: 80px;
		
	}
	
	#topcontents h2 {
		padding-top: 5vw;
	}
	
	
}

@media screen and (max-width: 500px){
/* ここにスマホ向けのcss */
  body {
      font-size: 14px;
  }

  #global-nav {
   display: none;
  }

  #notsp {
   display: none;
  }
  
  #notsponly {
   display: none;
  }
	
	.site-branding-sub {
	   top: 33vw;
	  }
	
  .site-title {
   font-size: 1.2rem;
   line-height: 1.4rem;
  }
  
  .site-title #site-title-en {
   font-size: 1.0rem;
  }
  
  #ham-menu h3 {
   font-size: 1.0rem
  }
  
  #ham-menu li {
   font-size: 1.0rem;
  }
  
  #topcontents h2 {
   margin-top: 10px;
  }
  
  #topcontents {
   padding-bottom: 20px;
   /*padding-top: 50px;*/
  }
  
  .heading06 {
   font-size: 17px;
  }
  
  .heading06::after {
   height: 2px;
  }
  
  .heading06::before {
   font-size: 20px;
  }

  #topcontents-sub h3 {
    position: relative;
    color: #333;
    text-shadow: 0 0 2px white;
    padding-left: 10px;
    font-size: 17px;
    margin-bottom: 4%;
	}
	
	h4 {
		font-size: 16px;
	}
	
	h5 {
		font-size: 15px;
	}
	
  p#kjinfo{
  font-size: 15px;
  }
  
  #site-header-logo {
   font-size: 1.2rem;
  }
  
  #backblue {
   padding-top: 10px;
   padding-bottom: 10px;
   background-position: center top;
  }
  
  #banner30 {
   width: 80%;
   margin-left: auto;
   margin-right: auto;
   float: none;
   clear: both;
   margin-top: 10px;
   margin-bottom: 10px;
  }
  
  .news dl dt {
   font-size: 15px;
  }
  
  .news dl dd {
   padding-left: 5px;
   padding-right: 5px;
   font-size: 14px;
   line-height: 20px;
   margin-left: 15px;
   margin-bottom: 20px;
  }
  
  #pickup {
   margin-top: 80px;
  }
  
  #w50 {
   width: 99%;
   margin-left: 0.5%;
   margin-right: 0.5%;
   margin-top: 15px;
   margin-bottom: 2px;
   float: none;
   clear: both;
  }
  
  #pickup #bkititle {
   height: 55.5vw;
  }
  
  .btn, a.btn, button.btn {
   font-size: 14px;
  }
  
  #topcontents-sub {
   padding-bottom: 20px;
  }
  
  #ft #banner30 h3 {
   font-size: 15px;
   line-height: 20px;
   margin-top: 0px;
   margin-bottom: 10px;
   padding-top: 30px;
  }
    
  th {
   font-size: 15px;
   width: 50%;
   line-height: 23px;
   display: block;
   padding-left: 5px;
   margin-top: 5px;
   margin-bottom: 5px;
   border-right: none;
  }
  
  td {
   font-size: 14px;
   width: 92%;
   line-height: 23px;
   display: block;
   padding-left: 5px;
   margin-top: 5px;
   margin-bottom: 15px;
   margin-left: 5%;
  }
  
  #photo30 {
   width: 99%;
   margin-left: 0.5%;
   margin-right: 0.5%;
   margin-top: 15px;
   margin-bottom: 2px;
   float: none;
   clear: both;
  }
  
  h3 {
   font-size: 15px;
  }
  
  #page-top{
      width: 10%;
  }
  
      #topcontents-sub #w97 #naiyoutable th {
   display: table-cell;
   font-size: 15px;
  }
  
  #topcontents-sub #w97 #naiyoutable td {
   display: table-cell;
   font-size: 14px;
  }
	
}
