/* ===================================
html base style
=================================== */
html {
	font-size: 1vw;
	-webkit-text-size-adjust:100%;
}
@media screen and (max-width:1280px){
	html {
		font-size:0.95vw;
		-webkit-text-size-adjust:100%;
	}
}

@media screen and (max-width:991px){
	html {
		font-size: 2vw;
		-webkit-text-size-adjust:100%;
	}
}

@media screen and (max-width:540px){
	html {
		font-size: 4vw;
		-webkit-text-size-adjust:100%;
	}
}

body {
  font-family: "Zen Old Mincho", serif;
  	font-weight: 400;
    line-height: 2;
    letter-spacing: 1.5px;
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
    box-sizing: border-box;
	font-optical-sizing: auto;
	color: #1f1b1b;
}

@media screen and (max-width:540px) {
	body {
		font-family: "Zen Old Mincho", serif;
  	font-weight: 400;
		text-align:left;
		line-height: 2;
    letter-spacing: 0px;
		width: 100%;
		height: 100%;
		margin:0;
		padding:0;
		box-sizing: border-box;
		font-optical-sizing: auto;
			color: #1f1b1b;
	}
}

*:focus {
	outline: none;
}

html{
    scroll-behavior: smooth;
}
.container-fluid {
	padding: 0;
}

ul {
    list-style: none;
}

a {
    	color: #1f1b1b;
    text-decoration: none;
    transition: 0.5s ease-in-out;
    font-size: 0.8rem;
}
a:hover {
    color: #164499;
    text-decoration: none;
    transition: 0.5s ease-in-out;
}

h1 {
	font-size: 2.2rem;
}

h2 {
	font-size: 1.5rem;
  font-weight: 300;
}
h3 {
	font-size: 1.5rem;
}
p {
	margin-bottom: 0;
	font-size: 0.9rem;
}

.big_font {
  font-size: 1.5rem;
}
figcaption {
  margin-top: 0.2rem;
}

/** google font **/
.zen_kaku {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.instrument {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}
.font_din {
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/** adobe font **/
.impact {
  font-family: "impact", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/****/


img {
	width: 100%;
  height: auto;
}
.img_rabius {
  border-radius: 0.5rem;
}
.img_shadow {
  box-shadow: 0px 3px 6px #D6D6D6;
}
.img_zone {
  padding: 0;
}
.title_img_zone {
  box-shadow: none !important;
}
.bg_color {
  background-color: #F6F6F6;
  padding-top: 3.5rem;
}
iframe {
  filter: grayscale(100%);
  border-radius: 10px;
}
table {
  width: 100%;
}
table tr {
  font-size: 0.9rem;
}
@media screen and (max-width:1080px) {
  p {
    margin-bottom: 0;
  
  }
}

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

  }

  h2 {

    font-weight: 300;
  }
  h3 {

  }
  p {
    margin-bottom: 0;
    font-size: 1rem;
  }
  .big_font {
    font-size: 1.7rem;
  }
  a {
    text-decoration: none;
    transition: 0.5s ease-in-out;
    font-weight: lighter;
  }
  .bg_color {
    background-color: #F6F6F6;
    padding-top: 2rem;
  }
  table tr {
    font-size: 1rem;
  }
}

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

    font-weight: 300;
  }
  p {
    margin-bottom: 0;

  }
  .big_font {
    font-size: 1.3rem;
  }
}



.wrap {
	margin: auto;
}
.margin_170 {
  margin: auto;
  margin-top: 8rem;
}
.margin_100 {
    margin: auto;
    margin-top: 5rem;
}
.inner_margin {
	margin: auto;
	margin-top: 3.5rem;
}

@media screen and (max-width:991px) {
  .res_inner_margin{
    margin-top: 2.5rem !important;
  }

	.margin_170 {
    margin: auto;
    margin-top: 5rem;
  }
  .margin_100 {
    margin: auto;
    margin-top: 3.5rem;
  }
	.inner_margin {
		margin: auto;
		margin-top: 2.5rem;
	}
}


@media screen and (max-width:540px) {
  .res_inner_margin{
    margin-top: 2rem !important;
  }

	.margin_170 {
    margin: auto;
    margin-top: 5rem;
  }
  .margin_100 {
    margin: auto;
    margin-top: 3.5rem;
  }
	.inner_margin {
		margin: auto;
		margin-top: 2rem;
	}
}



/**reponsive**/
.res_991 {
	display: none !important;
}
.res_540 {
	display: none !important;
}
.res_1280 {
	display: none !important;
}
.tab_991 {
  display: none !important;
}
@media screen and (max-width:1280px) {
	.pc_1280 {
		display: none !important;
	}
	.res_1280 {
		display: block !important;
	}
}
@media screen and (max-width:991px) {
  .tab_991 {
    display: block !important;
  }
	.pc_991 {
		display: none !important;
	}
	.res_991 {
		display: block !important;
	}
	
}
@media screen and (max-width:540px) {
  .tab_991 {
    display: none !important;
  }
	.pc_540 {
		display: none !important;
	}
	.res_540 {
		display: block !important;
	}
	.res_padding_top {
        padding-top: 40px !important;
    }
    .res_margin00 {
        margin-top: 0 !important;
    }
}




/**=================
header
==================**/

.header_logo {
    position: fixed;
    top: 2.5rem;
    left: 2.5rem;
    width:5.3rem;
    height: auto;
    z-index: 1;
}

header .outlink {
    margin: auto;
    margin-top: 40px;
}
header .outlink a {
    display: inline-block;
    margin-bottom: 20px;
}
.fixed_menu {
    display: inline-block;
    position: fixed;
    left: 30rem;
}
.fixed_menu {
    position: fixed;
    left: 3rem;
    top: 30%;
}
.fixed_menu p {
    width: 2.5rem;
    height: auto;
    margin-bottom: 1.7rem;
}
.fixed_menu ul {
    padding-left: 0;
}
.fixed_menu a {
    font-size: 0.8rem;
    font-weight: 500;
}



.sticky_menu {
    display: inline-block;
    position: sticky;
    left: 3rem;
    top: 20%;
    z-index: 2;
    /**height: 0;**/
    margin-top: 100px;
}
.sticky_menu p {
    width: 2.5rem;
    height: auto;
    margin-bottom: 1.7rem;
}
.sticky_menu ul {
    padding-left: 0;
}
.sticky_menu a {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  letter-spacing: 1px;
}

#form, #contents, #aboutus, #recruit, #privacypolicy, #news,
#index {
  margin-top: -20rem;
}

@media screen and (max-width:991px) {
  #form, #contents, #aboutus, #recruit, #privacypolicy, #news, 
#index {
  margin-top: 5rem !important;
}
  header p.main_logo img {
    width: 2rem;
    height: auto;
  }
  header p.main_logo {
    display: inline-block;
    position: fixed;
    top: 1.8rem;
    left: 2rem;
    z-index: 3;
  }
}

@media screen and (max-width:540px) {
  header p.main_logo {
    display: inline-block;
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 3;
  }
}


/**=================
footer
==================**/
.arrow_img {
  width:0.7rem;
  height: auto;
}
footer {
  margin-top: 11rem;
  background: linear-gradient(0.25turn,#D8DFEE, #F3D7DC);
  padding-top: 8rem;
  padding-bottom: 4rem;
}
footer .left_zone {
  margin: auto;
}
footer .left_zone a {
  color: #484848;
}

footer .footer_arrow {
  width: 0.7rem;
  height: auto;
}
footer .right_zone .grade_link a span.btn_text{
  padding: 0.5rem 3.5rem;
}
footer .right_zone .grade_link a  img.arrow_img {
	width: 1rem;
	margin: 0 1rem;
  vertical-align: sub;
}

footer .right_zone .link_zone {
  display: flex;
  justify-content: space-between;
}
footer .right_zone .link02 a span{
  padding: 0.5rem 1.2rem;
}
footer .right_zone .link02 a span:last-child {
  border-right: none !important;
}
footer .right_zone .com_info {
  display: flex;
}
footer .right_zone .footer_logo {
  width: 3rem;
  height: auto;
  height: intrinsic;
  margin-top: 5px;
}
footer .right_zone .com_info p:nth-child(2) {
  font-size: 0.7rem;
 font-weight: 500;
  color: #484848;
  margin-left: 1rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;
}
footer .right_zone li a {

  font-size: 0.7rem;
    font-weight: 500;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;
    letter-spacing: 1px;
  color: #484848 !important;


}
footer .right_zone ul:first-child {
  padding-left: 0;
  margin-right: 1rem;
}

footer .right_zone .link_list {
  margin-left: 4rem;
  display: flex;
}




/**==================
copyright
====================**/
#copyright {
  color: #484848;
}


@media screen and (max-width:1280px) {
  footer .right_zone .link_zone {
    display: flex;
    justify-content: flex-start;
  }
  footer .right_zone .link02 {
    margin-left: 2rem;
  }
}

@media screen and (max-width:991px) {
  footer {
    margin-top: 5rem;
    background: linear-gradient(0.25turn,#D8DFEE, #F3D7DC);
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  footer .right_zone .link_zone {
    display: flex;
    flex-direction: column;
  }
  footer .right_zone .link_zone .grade_link {
    width: auto;
    margin-top: 1rem;
  }
  footer .right_zone .link02 {
    margin-left: 0rem;
  }
 
  footer .res_991 a {
    color: #484848;
  }
  footer .right_zone .com_info {
    display: flex;
    flex-direction: column;
  }
  footer .right_zone .text_zone {
    text-align: left;
  }
  footer .right_zone .text_zone p.res_540 {
    font-size: 0.8rem;
    font-weight: 500;
  }
  footer .right_zone .link_list {
    margin-left: 0rem;
    display: flex;
    flex-direction: column;
  }
  footer .right_zone .link_list>ul {
    padding-left: 0;
  }
  footer .right_zone .com_info p:nth-child(2) {
    font-size: 0.8rem;
    font-weight: 500;
    color: #484848;
    margin-left: 0rem;
    margin-top: 1rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;
  }
  

  footer .right_zone li a {
    font-size: 0.8rem;
  }
  footer .right_zone ul:first-child {
    padding-left: 0;
    margin: 0;
  }

  footer .right_zone .link_list {
    margin-left: 0rem;
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  footer .right_zone .link_zone a {
    display: inline-block;
    padding: 0;
  }
  footer .right_zone .link_zone a span {
    display: inline-block;
  }
  footer .right_zone .link_zone .link01 {
    margin-top: 0 !important;
  }
  footer .right_zone .link_zone .link01 a span{
    padding: 0.5rem 4.7rem;
  }
  footer .right_zone .link_zone .link01 a img.arrow_img {
    width: 1rem;
    height: auto;
   margin-left: 4.1rem;
    margin-right: 4.1rem;
    vertical-align: sub;
  }
  footer .right_zone .link_zone .link02 a span{
    padding: 0.5rem 5.2rem;
  }
  footer .right_zone .link_zone .link02 a span:nth-child(2){
    padding: 0.5rem 1.8rem;
  }
  footer .copy_text_zone {
    text-align: right;
    margin-top: 1.5rem;
  }
  footer .copy_text_zone a {
    font-size: 1rem;
  }
  #copyright {
    color: #484848;
    line-height: 1;
  }
}

@media screen and (max-width:540px) {
  footer .right_zone .link_zone .link01 a span{
    padding: 0.5rem 2.8rem;
  }
  footer .right_zone .link_zone .link01 a img.arrow_img {
    width: 1rem;
    height: auto;
    margin-left: 3.5rem;
    margin-right: 3.5rem;
    vertical-align: sub;
  }
  footer .right_zone .link_zone .link02 a span{
    padding: 0.5rem 3.2rem;
  }
  footer .right_zone .link_zone .link02 a span:nth-child(2){
    padding: 0.5rem 1.8rem;
  }
  footer .right_zone .text_zone p.res_540 {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 1rem;
  }
}





/* ===================================
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
    position: fixed;
    right: 2.5rem;
    top: 2.5rem;
    /*width: 50px;
    height: 40px;*/
    cursor: pointer;
    z-index: 300;
}
.hamburger:hover {
    position: fixed;
    right: 2.5rem;
    top: 2.5rem;
    /*width: 50px;
    height: 40px;*/
    cursor: pointer;
    z-index: 300;
}
@media screen and (max-width:1440px) {
    .hamburger {
      position: fixed;
      right: 1.5rem;
      top: 2.5rem;
      /*width: 50px;
      height: 40px;*/
      cursor: pointer;
      z-index: 300;
  }
  .hamburger:hover {
      display: flex;
      position: fixed;
      right: 1.5rem;
      top: 2.5rem;
      /*width: 50px;
      height: 40px;*/
      cursor: pointer;
      z-index: 300;
  }
}
.hamburger p {
    font-family: "Changa", sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    position: absolute;
    top: 1.8rem;
    right: -5px;
}
.menu_border {
    position: relative;
    width: 3rem;
    height: 3rem;
}
.hamburger__line {
  position: absolute;
  width: 3rem;
  height: 1px;
  right: 0px;
  transition: all 0.5s;
  z-index: 1;
}

.hamburger__line--1 {
  top: 0.6rem;
}

.hamburger__line--2 {
  top: 0.9rem;
}

.hamburger__line--3 {
  top: 1.2rem;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 0.8rem;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 0.8rem;
}

.sp-nav {
  position: fixed;
  right: -100%;
  top: 0;
  width: 45%;
  height: 100vh;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
}
@media screen and (max-width:540px) {
  .sp-nav {
  position: fixed;
  right: -100%;
  top: 0;
  width: 90%;
  height: 100vh;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
}
}
.open .sp-nav {
  right: 0;
}

.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
}

.open .black-bg {
  opacity: 0.5;
  visibility: visible;
}


.open .sp-nav ul {
    margin: auto;
    margin-top: 25%;
    padding-left: 0;
}
.open .sp-nav ul li a {
  padding: 0.5rem;
  display:inline-block;
}
@media screen and (max-width:540px) {
  .open .sp-nav ul li a {
    font-size: 1.6rem;
    padding: 0.5rem;
    display:inline-block;
  }
}



.space{
  height: 100vh;
}

/*text animetions*/
@keyframes showTextFromBottom{
  0%{
    transform: translateY( 100% );
  }
  100%{
    transform: translateY( 0px );
  }
}
.anime-up.displayed span{
  animation: showText 1s backwards;
  display: inline-block;
}
.anime-up.displayed > span{
  overflow: hidden;
}
.anime-up.displayed > span > span{
  animation: showTextFromBottom 0.5s backwards;
}



