@charset "UTF-8";

/*-----------------------------------

	base

-----------------------------------*/
html {
	overflow-y: auto;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-size: 62.5%;
	overflow-x: hidden;
}
body {
	font-family: "Noto Sans Japanese","メイリオ","Meiryo",verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	font-size: 14px;
	font-size: 1.4em;
	color: #333434;
	line-height: 1.8em;
	letter-spacing:0.03rem;
	font-weight: 400;
	background: #fff;
	margin:0 !important;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
	z-index: 999;
}
.contents_inner{
	width: 1000px;
	margin: 0 auto;
}
img {
	max-width: 100%;
	height: auto;
}
a, a:link, a:visited {
	color:#333434;
	text-decoration:none;
	cursor: pointer;
}
a:hover {
	color:#333434;
	text-decoration:none;
}
a img{
	transition : 0.2s ;
	-webkit-transition : 0.2s ;
	-moz-transition    : 0.2s ;
	-o-transition      : 0.2s ;
	-ms-transition     : 0.2s ;
}
a:hover img {
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}
#contents {
	display: block;
	margin: 5% auto;
}
.sp_mode {
	display:none;
}
.pc_mode {
	display:block;
}

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

	.contents_inner{
		width: 95%;
		margin: 0 auto;
	}

}

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

	body {
		font-size: 13px;
		font-size: 1.3em;
		line-height: 1.6em;
		font-weight: normal;
		letter-spacing: 0.05rem;
	}
	.sp_mode {
		display:block;
	}
	.pc_mode {
		display:none;
	}
	.minus_t_40 {
		margin-top: 0;
	}

}

/*-----------------------------------

	clearfix

-----------------------------------*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}

/*-----------------------------------

	mainvisual

-----------------------------------*/
#mainvisual {
	width:100%;
}
#mainvisual .pc_mode {
	display: block;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
}
#mainvisual .sp_mode {
	display:none;
}

@media screen and (max-width: 840px) {
	
	#mainvisual .pc_mode {
		display: none;
	}
	#mainvisual .sp_mode {
		display:block;
	}
	#mainvisual {
		background:none;
		height:auto;
	}

}


/*-----------------------------------

	sentence_block

-----------------------------------*/

#sentence_block {
      text-align: center;
      width: 90%;
      max-width: 700px;
      display: block;
      margin: 0 auto;
}


/*-----------------------------------

	pdf_block

-----------------------------------*/

#pdf_block {
      text-align: center;
      width: 90%;
      max-width: 600px;
      display: block;
      margin:2% auto 5%;
}
#pdf_block img{
	margin-bottom: 5%;
}

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

}

/*-----------------------------------

	map

-----------------------------------*/

#map {
      text-align: center;
      display: block;
}

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

}

/*-----------------------------------

	flex

-----------------------------------*/

/*.flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}*/
.flex .item {
  /*width: calc(50% - 10px);*/
  margin-bottom: 20px;
}

@media screen and (max-width: 640px) {
	.flex{
	display: block;
}
	.flex .item {
	width: 100%;
	margin-bottom: 20px;
}
}

/*----------------------------------------

    pagetop

----------------------------------------*/
#fixed_box {
    position: absolute;
    left:50%;
    bottom: 0;
	width: 90%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
    z-index: 999;
}
#fixed_box.fixed {
	position: fixed;
	bottom: 30px;
}
#fixed_box .pagetop_btn {
    position: absolute;
    right: 0;
	bottom: 0;
    width: 60px;
    transition: .3s;
    cursor: pointer;
}
@media screen and (min-width: 1101px) {
	#fixed_box {
		position: fixed !important;
	}
}
@media screen and (max-width: 1100px) {
	#fixed_box {
		position: fixed;
		left: 0;
		width: 100%;
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
	#fixed_box .pagetop_btn {
		top: -60px;
	}
}

/*----------------------------------------

	   footer

----------------------------------------*/
	footer {
		background:#790028;
		color: #fff;
	}
	footer .footer_info {
		padding: 90px 0;
		display: flex;
		justify-content: center;
		align-items: center;
		column-gap: 40px;
	}
	footer .footer_info .footer_logo {
		width: 279px;
	}
	footer .footer_info .emphasis {
		font-size: 18px;
		font-weight: 500;
	}
	footer .footer_info .address {
		font-size: 14px;
		font-weight: 400;
	}
	footer .footer_info .address br {
		display: none;
	}
	footer address {
		text-align: center;
		font-size: 14px;
		font-style: normal;
		padding-bottom: 30px;
	}
	@media screen and (max-width: 840px) {
  footer .footer_info {
    flex-direction: column;
    gap: 20px 0;
  }
  footer .footer_info .address br {
    display: inline-block;
  }
}
@media screen and (max-width: 640px) {
  footer .footer_info {
    padding: 50px 0;
  }
  footer .footer_info .footer_logo {
    width: 229px;
  }
  footer address {
    font-size: 11px;
  }
}
