

/* --------------------------------
   main
-------------------------------- */
.mainimg {
  position: relative;
  background-image: url(../images/index/mainnmg01.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top 20% right 0;
  height: 400px;
}
.mainimg h2 {
  position: absolute;
  top: 100px;
  width: 400px;
  padding: 26px;
  background: #1B3E96;
  color: #fff;
  font-size: 28px;
  text-align: right;
  letter-spacing: 4px;
}
#wrapper {
  padding: 82px 0 0 0;
}
.content {
  width: 100%;
  max-width: 800px;
  margin: 60px auto;
  line-height: 2.5;
}

.a_table {
  margin:20px 0px 30px 0px;
  border-left:1px solid #cccccc;
  border-bottom:1px solid #cccccc;
  overflow: hidden;
}

.a_table th { 
  background:#f0f5ff;
  border-right:1px solid #cccccc;
  border-top:1px solid #cccccc;
  padding:26px 10px;
  font-weight:normal;
  text-align:left;
  line-height: 1.6;
}
.a_table td {	
  background:#ffffff;
  text-align:left;
  border-right:1px solid #cccccc;
  border-top:1px solid #cccccc;
  padding:3px 0px 3px 10px;
}

.a_table td.item {
  color:#1e979f;font-weight:bold;
}
.a_table td.kin {
  text-align:right;
  padding:3px 12px 3px 0px;
}


.b_table {
  width:540px;
  margin:10px auto 10px;
  border-bottom:1px solid #cccccc;
  border-right:1px solid #cccccc;
  overflow: hidden;
}

.b_table th{
  background:#f0f5ff;
  color:#7d582d;
  border-left:1px solid #cccccc;
  border-top:1px solid #cccccc;
  padding:3px;
  text-align:center;
}

.b_table td {
  background:#ffffff;
  border-left:1px solid #cccccc;
  border-top:1px solid #cccccc;
  padding:3px;
  text-align:center;
}

.b_table td.item {
  background:#f0fdff;
  color:#6e6e6e;
  font-weight:bold;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.btn,
a.btn,
button.btn {

  font-weight: 700;

  position: relative;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #eb6100;
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
}
a.btn--orange.btn--border-solid {
  border: 2px solid #b84c00;
}

@media screen and (max-width: 1250px) {
  #wrapper {
    padding: 49px 0 0 0;
  }
}
@media screen and (max-width: 900px) {
.mainimg {
  height: 200px;
}
.mainimg h2 {
  top: initial;
  bottom: 0;
  width: 240px;
  padding: 12px;
  font-size: 20px;
}
.content {
  width: 90%;
  margin: 17px auto;
  line-height: 1.9;
}
.intro {
  width: 90%;
  margin: 10px auto;
  line-height: 1.8;
}
#jigyou h2,
#contact h2,
footer h2 {
  font-size: 20px;
}
#jigyou {
  padding: 20px 0;
}
#jigyou ul.jigyoubox {
  display: block;
  margin: 30px auto 30px auto;
}
#jigyou ul.jigyoubox li {
  width: 100%;
  max-width: initial;
  margin: 20px auto;
}
#jigyou ul.jigyoubox li ul.jigyouinner li {
  margin: 0 auto;
}
.contactform {
  padding: 0 10px;
}
.contactform dl dt {
  float: none;
  width: 100%;
  padding: 12px 0;
}
.contactform dl .mailcheck {
  float: none;
  padding: 12px 0;
  line-height: 1.3;
  font-size: 14px;
  color: #666;
}
.contactform dl dd {
  width: 100%;
  padding: 0px 0 22px 0;
}
button, input, select, textarea,
.contactform input[type="text"], .contactform input[type="submit"], .contactform select {
  width: 100%;
}
.list input{
  width: auto;
  min-height: auto;
}
.contactform dl dt .req, .contactform dl dt .opt {
  float: none;
}
footer .contentsbox {
  padding: 50px 10px 0 10px;
}
#footer_inner .footdetail {
  width: 100%;
}
.btn--orange, 
a.btn--orange {
  line-height: 3.5;
}
}


.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 2em 0;
	color: #1b2538;
}
.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}
/* 質問 */
.cp_qa .cp_actab label {
	font-weight: bold;
	line-height: 1.6em;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 1em 2em 1em 2.5em;
	cursor: pointer;
	text-indent: 1em;
	border-radius: 0.5em;
	background: rgba(27,37,56,0.1);
}
.cp_qa .cp_actab:nth-child(2n) label {
  background: #c6e4ff;
}
.cp_qa .cp_actab label::before {
	font-family: serif;
	font-size: 1.5em;
	margin-left: -2em;
	padding-right: 0.5em;
	content: 'Q';
}
.cp_qa .cp_actab label:hover {
	transition: all 0.3s;
	color: #00838f;
}
/* --質問の＋アイコン */
.cp_qa .cp_actab label::after {
	font-size: 1.7em;
	font-weight: bold;
	line-height: 2em;
	position: absolute;
	top: 0;
	right: 0;
	content: '×';
	display: inline-block;
	width: 2em;
	height: 2em;
	-webkit-transition: transform 0.4s;
	        transition: transform 0.4s;
}
/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 0 0 2.5em;
	-webkit-transition: max-height 0.2s;
	        transition: max-height 0.2s;
	border-radius: 0 0 0.5em 0.5em;
}
.cp_qa .cp_actab .cp_actab-content::before {
	font-family: serif;
	font-size: 1.5em;
	position: absolute;
	margin: 0.4em 0 0 -1em;
	padding: 0;
	content: 'A';
}
.cp_qa .cp_actab .cp_actab-content p {
	margin: 10px 1em 0 0;
  font-size: 16px;
  line-height: 1.6;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 40em;
	border: 10px solid rgba(27,37,56,0.1);
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab input:checked ~ label {
	color: #00838f;
	border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

@media screen and (max-width: 900px) { 
  .cp_qa .cp_actab input:checked ~ .cp_actab-content {
    max-height: 45em;
    padding: 10px 10px 10px 2.5em;
  }
}
