@charset "utf-8";
/* 共通style */
.page #mainv {
	height: 50vh;
	background: #242424;
}
.page #mainv img {
	opacity: 0.2;
}
.page #mainv #txt {
	position: absolute;
	top: 0;
	left: 50%;
	width: 90%;
	margin-left: -45%;
	height: 100%;
	display: flex;
	align-items: center;
}
.page #mainv #txt h2 {
	margin-top: 50px;
}
.page #mainv #txt p {
  font-size: 0.95rem;
	margin-top: 0.5em;
}
.page hgroup {
	margin-bottom: 3em;
}
.page hgroup h3 {
	font-size: 1.7rem;
}
.page #concept hgroup p {
	color: #120e02 !important;
	margin-top: 3em;
	font-size: 1rem;
}
.page #menu ul li {
	margin-bottom: 5%;
	/* width: 100%; */
}
.page #menu ul li a div {
  background: #fff;
  width: 85%;
  position: relative;
  margin: -10% auto 0;
  padding: 4%;
  /* min-height: 10em; */
  -webkit-box-shadow: 0px 5px 20px -10px rgba(5,5,5,.1);
  box-shadow:0px 5px 20px -10px rgba(5,5,5,.1);
  -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
  transition: all 1s cubic-bezier(.19,1,.22,1);
  -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
  transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.page #menu ul li a:hover div {
  -webkit-box-shadow: 0px 5px 20px -10px rgba(143, 0, 0, 0.5);
  box-shadow:0px 5px 20px -10px rgba(143, 0, 0, 0.5);
}
.page #menu ul li a figure {
	padding-top: 60%;
	width: 100%;
	position: relative;
	overflow: hidden;
}
.page #menu ul li a figure img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
  -webkit-transition: all .5s cubic-bezier(.19,1,.22,1);
  transition: all .5s cubic-bezier(.19,1,.22,1);
  -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
  transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.page #menu ul li a:hover figure img {
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.page #menu ul li a div h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
	color: #f7112e;
	text-align: center;
}
.page #menu ul li:first-child a div h3 {
  margin-bottom: 0.6em;
}
.page .menu form a {
	color: #f7112e;
}
.page form label {
	margin-top: 1em;
	display: block;
}
.page form label input {
	margin-top: 0.4em;
}
.page table {
  
  line-height: 1.5;
  text-align: left;
  border-spacing: 0;
}
.page td, .page th {
  padding: 1.25em 0.75em;
  vertical-align: center;
  
  line-height: 2;
}
.page td:last-child, .page th:last-child {
  /*border-right: solid 1px #ededed;*/
}
.page tr:last-child>th, .page tr:last-child>td {
  /*border-bottom: solid 1px #ededed;*/
}
.page .menu td, .page .menu th {
  padding: 1.25em 0.2em;
}
.page #map figure {
  padding-top: 50%;
  width: 100%;
  margin: auto;
  position: relative;
}
.page #map figure iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
}
.page#contact .form table th, .page#contact .form table td {
	
}
.page#contact .form .privacyarea {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: 80%;
  height: 130px;
  overflow: scroll;
  font-size: 87%;
  border: solid 1px #ddd;
  padding: 10px;
  background: #fff;
}
.page#service #detail section section {
	margin-bottom: 5%;
}
.page#service #detail section section div {
  background: #fff;
  width: 85%;
  position: relative;
  margin: -10% auto 0;
  padding: 4%;
  /* min-height: 10em; */
  -webkit-box-shadow: 0px 5px 20px -10px rgba(5,5,5,.1);
  box-shadow:0px 5px 20px -10px rgba(5,5,5,.1);
  -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
  transition: all 1s cubic-bezier(.19,1,.22,1);
  -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
  transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.page#service #detail section section figure {
	padding-top: 60%;
	width: 100%;
	position: relative;
	overflow: hidden;
}
.page#service #detail section section figure img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
  -webkit-transition: all .5s cubic-bezier(.19,1,.22,1);
  transition: all .5s cubic-bezier(.19,1,.22,1);
  -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
  transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.page#service #detail section section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
	color: #f7112e;
	text-align: center;
}
.page#service #detail section section h3 {
  margin-bottom: 0.6em;
}
.page#qa #qa_li {
}
.page#qa #qa_li dl {
  background: #fff;
  text-align: left;
	border-bottom: solid 1px #ebebeb;
  margin-bottom: 1.5em;
	padding-bottom: 1.5em;
}
.page#qa #qa_li dl em {
	position: absolute;
  left: 15px;
	top: 11px;
  line-height: 1.6;
  background: #000;
  padding: 8px 15px 10px;
  color: #fff;
  margin: 0 10px 0 0;
	font-style: normal;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}
.page#qa #qa_li dl dd em {
  background: #f7112e;
  padding: 8px 16px 10px;
	margin: 0 12px 0 -70px;
	font-style: normal;
	position: relative;
	top: 0;
	left: 0;
}
.page#qa #qa_li dl dt {
  cursor: pointer;
  position: relative;
  padding: 20px 70px;
  color: #000;
}
.page#qa #qa_li dl dt span {
  display: block;
  width: 2rem;
  height: 2rem;
  top: 1rem;
  right: 1rem;
  position: absolute;
}
.page#qa #qa_li dl dt span::before, .page#qa #qa_li dl dt span::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 0;
  background-color: #000;
  -webkit-transition: opacity .12s linear,-webkit-transform .2s cubic-bezier(.215,.61,.355,1);
  transition: opacity .12s linear,-webkit-transform .2s cubic-bezier(.215,.61,.355,1);
  -o-transition: opacity .12s linear,transform .2s cubic-bezier(.215,.61,.355,1);
  transition: opacity .12s linear,transform .2s cubic-bezier(.215,.61,.355,1);
  transition: opacity .12s linear,transform .2s cubic-bezier(.215,.61,.355,1),-webkit-transform .2s cubic-bezier(.215,.61,.355,1);
}
.page#qa #qa_li dl dt span::after {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.page#qa #qa_li dl dt.active span::before {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.page#qa #qa_li dl dt.active span::after {
  opacity: 0;
}
.page#qa #qa_li dl dd {
  display: none;
  padding: 20px 20px 20px 80px;
	margin-left: 20px;
	position: relative;
}

@media all and (min-width: 960px){
}
@media all and (max-width: 960px){
	.page #mainv #txt h2 {
    font-size: 1.3rem;
	}
	.page #mainv #txt p {
    font-size: 0.9rem;
    line-height: 1.5;
	}
	.page hgroup h3 {
    font-size: 1.2rem;
	}
	.page hgroup h3 br {
		display: none;
	}
	.full > section {
		padding-left: 5vw;
		padding-right: 5vw;
	}
	.page th {
			min-width: 4em;
	}
	.page td, .page th {
		line-height: 1.6;
	}
	.form table th, .form table td {
		display: block;
	}
	.form table th {
		padding: 0.25em 0.75em;
	}
	.form table td {
		padding: 0.25em 0.75em 1.5em;
	}
	.form table .inquiryform tr:nth-last-of-type(2) {
		display: none;
	}
	.page #map > section > section {
		width: 100%;
	}
	.page#service #detail section section {
		margin-bottom: 5%;
		width: 100%;
	}
	.page#qa #qa_li dl dd {
		padding: 10px 20px 20px 62px;
	}
	.page#qa #qa_li dl dd em {
		margin: 0;
    left: 10px;
    position: absolute;
	}
}
