@charset "UTF-8";


/***********************************
transition
************************************/
header,
h1,
h2,
p,
a,
strong,
span,
article {
  transition: all 1s ease-out;
}


/***********************************
html&body
************************************/
html {
	overflow-y: scroll;
  font-size: calc(100vw / 37.5);
}

html,body {
  height: auto;
  line-height: 1.5;
  /*文字詰め*/
  font-feature-settings: "palt";
  /*スマホの文字サイズ自動変更無効*/
	-webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeSpeed;
  font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (min-width: 768px) {  
    
  html {
    font-size: 62.5%;
  }
  
  body {
    font-size: 1.6rem;
  }
  
}

@media screen and (max-width:767px) {
  
  body {
    font-size: 1.4rem;
  }
  
}


/***********************************
Link Setting
************************************/
/*ページトップコントローラー*/
#topcontrol {
  display: block;
  background-image: url("../images/scrollTopControl_arrow.svg");
  background-position: center center;
  background-size: 40% auto;
  background-repeat: no-repeat;
  background-color: #8A8A8A;  
	border-radius: 100px;
	 -moz-border-radius: 100px;
	 -webkit-border-radius: 100px;
	 -khtml-border-radius: 100px;	
  height: 60px;
  width: 60px;
	position:relative;
  transition: all 1s ease-out;
}

@media print,screen and (min-width:768px) {
  
  a:hover {
    opacity: .5;
  }
  
  /*ページトップコントローラー*/
  #topcontrol:hover {
    opacity: .5 !important;
  }
  
}

@media screen and (max-width:767px) {
  
	a:hover {
		opacity: 1;
	}
  
  /*ページトップコントローラー*/
  #topcontrol {
    height: 45px;
    width: 45px;
  }  

}


/***********************************
main container
************************************/
#mainContainer img {
  width: 100%;
}

.in-box {
	margin-left:auto;
	margin-right:auto;
	max-width:1000px;
	width:95%;
}

@media print,screen and (min-width:768px) {
	
	.pc {
		display:block;
	}

  .sp {
		display:none;
	}
  
}

@media screen and (max-width:767px) {
  
	.pc {
		display: none;
	}

	.sp {
		display: block;
	}
  
}


/***********************************
header
************************************/
header {
  position: relative;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}

header h1,
header h2 {
  display: block;
}

header h1 {
  float: left;
}

header h2 {
  float: right;
}

@media print,screen and (min-width:768px) {
	
  header {
    padding: 1.5% 0;
  }
  
}


@media screen and (max-width:767px) {
  
  header {
    height: 50px;
  }
  
  header h1,
  header h2 {
    margin-top: 15px;
  }
  
  header h1 {
    width: 100px;
  }
  
  header h2 {
    width: 165px;
  }
  
}


/***********************************
main
************************************/
main {
  display: block;
  margin-bottom: 10%;
}

@media screen and (max-width:768px) {
  
  main {
    margin-bottom: 15%;
  }
  
}


/***********************************
footer
************************************/
footer {
  display: block;
  width: 100%;
  text-align: center;
}

footer h2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 270px;
  margin-bottom: 5%;
}

@media screen and (max-width:768px) {
  
  footer h2 {
    width: 165px;
  }
  
}

