@media screen and (min-width:1185px) {
/* ここにPC向けのCSS指定 */
  #ham-menu {
	display: none;
 }
 
  body {
      font-size: 17px;
  }
  
  #notpc {
   display: none;
  }
  
  .heading06 {
   -ms-writing-mode: tb-rl;
   writing-mode: vertical-rl;
   text-orientation: upright;
  }
  
  .heading06 span::before {
    width: 1px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  
  #kjinfo {
   -ms-writing-mode: tb-rl;
   writing-mode: vertical-rl;
   text-orientation: upright;
  }
  
  #contentsimg .heading06 {
   float: right;
  }
  
  #contentsimg #kjinfo {
     float: right;
     margin-top: 80px;
     height: 500px;
  }
  
}

@media screen and (max-width: 1770px) {
  
  .site-branding-sub .site-title {
   font-size: 2rem;
  }
  
  .site-branding-sub .site-title #site-title-en{
   font-size: 1rem;
  }
  
}

@media screen and (max-width: 1521px) {
	#site-header-logo {
		font-size: 2.4rem;
	}
	
	.site-branding-sub .site-title2 {
		padding-top: 10%;
	}
}

@media screen and (max-width: 1477px) {
	#site-header-logo {
		font-size: 2.2rem;
	}
}

@media screen and (max-width: 1420px) {
  .site-branding {
   top: 10vw;
  }
  
  .site-title {
   font-size: 2rem;
  }
  
  #contentsimg .photomaru {
   margin-top: 10vw;
  }
  
}

@media screen and (max-width: 1388px) {
	#site-header-logo {
		font-size: 2rem;
	}
}

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

@media screen and (max-width: 1280px) {
	#site-header-logo {
		font-size: 2.2rem;
	}
	
	.site-title2 {
		font-size: 1.8rem;
		padding-top: 9%;
	}
	
	.site-title2 #site-title-en {
		font-size: 1.5rem;
	}
}

@media screen and (max-width: 1263px) {
	#site-header-logo {
		font-size: 2rem;
	}
}

@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: 40vw;
	  right: 10vw;
  }
  
  #topimg {
   padding-bottom: 76%;
  }
  
  .site-title {
   font-size: 2.5rem;
   margin-left: auto;
   margin-right: auto;
  }
  
  .site-title #site-title-en {
   font-size: 1.8rem;
  }
  
  #logo {
   width: 23%
  }
      
  #topcontents {
   padding-top: 50px;
  }
      
   #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;
   }
      
   #w60 {
    max-width: none;
   }    
      
   #topcontents .heading06 {
    margin-left: 15px;
   }
      
  .heading06 span::before {
    width: 40px;
    height: 1px;
  }
  
  #topcontents-sub .heading06 {
   margin-left: 15px;
  }
  
  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%;
  }
  
  #contact {
   text-align: left;
  }
  
  #contact #mailformbtn {
   text-align: center;
   margin-left: auto;
   margin-right: auto;
  }
  
  #ft {
   margin-top: -6vw;
   padding-top: 6vw;
  }
  
  #topcontents-sub {
   margin-top: -1vw;
   padding-top: 50px;
  }
  
  #page-top{
      width: 7%;
  }
  
	.site-title2 {
		font-size: 2rem;
	}
} 

@media screen and (max-width: 1142px) {
  #pickup #bkititle {
    font-size: 1.3em;
    left: 22vw;
    margin-top: 6vw;
    padding: 10px;
  }
	
	.site-branding {
   top: 40vw;
	  right: 15vw;
  }
}

@media screen and (max-width: 1024px) {
	.site-title2 {
		margin-right: 12%;
		padding-top: 18%;
		font-size: 1.7rem;
	}
	
	.site-title2 #site-title-en {
		font-size: 1.3rem;
	}
	
	.site-branding-sub .site-title2 {
		padding-top: 18%;
	}
}

@media screen and (max-width: 910px) {
	#logo {
		max-width: 300px;
	}
	
	#site-header-logo {
		font-size: 2rem;
	}
}

@media screen and (max-width: 840px) {
  #pickup #bkititle {
    font-size: 0.8em;
    margin-top: 5vw;
    padding: 5px;
  }
	
	.site-title2 {
		font-size: 1.7rem;
		margin-right: 12%;
		padding-top: 12%;
	}
	
	.site-title2 #site-title-en {
		font-size: 1.5rem;
	}
	
	.heading06 {
		font-size: 25px;
	}
}

@media screen and (max-width: 768px) {
	.site-title2 {
		font-size: 1.5rem;
		margin-right: 15%;
		padding-top: 15%;
	}
	
	.site-title2 #site-title-en {
		font-size: 1.2rem;
	}
	
	.heading06 {
		font-size: 25px;
	}
}

@media screen and (max-width: 700px) {
  #site-header-logo {
   font-size: 1.86rem;
  }
  
  .site-branding {
   top:42vw;
	  right: 11vw;
  }
  
  .site-title {
   font-size:1.85rem;
  }
  
  .site-branding-sub .site-title {
   font-size:  1.2rem;
  }
	
  .site-branding-sub .site-title2 {
   font-size:  1rem;
  }
  
  .site-branding-sub .site-title #site-title-en {
   font-size: 0.5rem;
  }
}
@media screen and (max-width: 612px) {
	.site-branding-sub .site-title2 {
   padding-top: 16%;
  }
}

@media screen and (max-width: 540px) {
	#site-header-logo {
		font-size: 1.4rem;
	}
	
	#logo {
		width: 22%;
	}
	
	.site-title2 {
		font-size: 1.3rem;
		padding-top: 15%;
		margin-right: 15%;
	}
	
	.site-title2 #site-title-en {
		font-size: 1rem;
	}
	
	.site-branding-sub .site-title2 {
		padding-top: 15%;
	}
}

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

  #global-nav {
   display: none;
  }

  #notsp {
   display: none;
  }
  
  #notsponly {
   display: none;
  }
  
  /*.site-branding .site-title {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }*/
  
	.site-branding {
		top: 40vw;
		right: 9vw;
	}
	
  .site-title {
   font-size: 1.4rem;
   line-height: 1.4rem;
  }
  
  .site-title #site-title-en {
   font-size: 1rem;
  }
  
  .site-branding-sub {
   text-align: center;
   top: 15vw;
  }
  
  #ham-menu h3 {
   font-size: 1.3rem
  }
  
  #ham-menu li {
   font-size: 1rem;
  }
  
  #topcontents h2 {
   margin-top: 10px;
  }
  
  #topcontents {
   padding-bottom: 20px;
  }
  
  .heading06 {
   font-size: 18px;
  }
  
  .heading06::after {
   height: 25px;
   top: 90px;
  }
  
  .heading06::before {
   font-size: 30px;
   top: 30px;
  }

  p#kjinfo{
  font-size: 17px;
  }
  
  #site-header-logo {
   font-size: 1.1rem;
   line-height: 1.2rem;
	 margin-top: 1vw;
     margin-left: 1vw;
  }
  
  #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 {
    font-size: 1.5em;
    margin-top: 10vw;
    left: 45%;
    padding: 5px;
  }
  
  .btn, a.btn, button.btn {
   font-size: 16px;
  }
  
  #topcontents-sub {
   padding-bottom: 20px;
   padding-top: 20px;
  }
  
  #topimg-sub {
   padding-bottom: 55%;
  }
  
  #ft #banner30 h3 {
   font-size: 17px;
   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;
  }
  
  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: 18px;
  }
  
  #page-top{
      width: 10%;
  }
	
	#topimg {
		margin-top: -20px;
	}
	
	#topimg-sub {
		margin-top: -20px;
	}
	
	#site-header {
		padding-top: 20px;
	}
	
	.site-title2 {
		font-size: 1.1rem;
		line-height: 1.4rem;
	}
	
	.site-title2 #site-title-en {
		font-size: 0.8rem;
	}
	
	#w800 {
	 width: 70%;
	 max-width: 600px;
	 margin-left: auto;
	 margin-right: auto;
	}
  
}