#contract { color: #003b83; }
#contract .m-auto {width: fit-content;}
#contract h2 { font-size: 2em; }
#contract .mt-4em {margin-top: 4em;}


/*ｰｰｰｰｰｰ　トラブル　ｰｰｰｰｰｰ*/
.trouble_man h2{ line-height: 1.5em; margin-bottom: 1em; }
.trouble_01,.trouble_02,.trouble_03,.trouble_04{ font-weight: bold; text-align: center; }
.trouble_01{ top: 6em; left: 6em; }
.trouble_02{ top: 3em; right: 3em; width: 40%; }
.trouble_03{ top: 5em; left: 5em; }
.trouble_04{ bottom: 2em; right: 2em; width: 29%; }
.solution h2 {
  background: #fc0;
  padding: 0.5em;
  margin: 2em 1em;
  line-height: 1em;
  border: 4px solid;
	text-align: center;
}

/*ｰｰｰｰｰｰ　info　ｰｰｰｰｰｰ*/
#contract .info{ width: 70%; margin: 4em auto; }
#contract .info h2 { margin: 3em auto 1em; }

/*ｰｰｰｰｰｰ　チェック　ｰｰｰｰｰｰ*/
#contract .check img { width: 100%; }
#contract .check h3 { font-size: 2em; margin: 2em auto 0.5em;}
#contract .check h3 span {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 80px;
  background-image: url('img/midasi.png');
	margin-right: 1em;
  padding: 23px 40px;
	transform: rotate(-3deg);
	font-size: 0.8em;
}
#contract .check details[open] summary.plus::before { content: "\f068"; }
#contract .check .accordion summary {
	position: relative;
  background: #f39999;
  width: 35%;
  margin: 1em auto;
  text-align: center;
  padding: 1em;
  font-weight: bold;
  font-size: 1.2em;
  color: #fff;
}
#contract .check .accordion summary.plus::before {  content: "\f067"; top: 1em; }
#contract .check .accordion details[open] summary::before { content: "\f068"; }
#contract .check .accordion summary::before { position: absolute; right: 15px; }
#contract .check .accordion table{ width: 50%; margin: 0 auto; }
#contract .check table.compare-table { border-collapse: collapse; width: 80%; }
#contract .check .compare-table th,
#contract .check .compare-table td { border: 1px solid #ddd; padding: 8px 12px; text-align: center; }
#contract .check .compare-table th { background-color: #f4f4f4; }
#contract .check .compare-table tbody td:first-child { background-color: #fafafa; }

/*ｰｰｰｰｰｰ　例　ｰｰｰｰｰｰ*/
#contract .case { width: 90%; margin: 2em auto; }
#contract .case .col2 {
  position: relative;
  margin: 2%;
  padding: 2em 2em 3em 2em;
  background: #fae0e0;
  text-align: center;
  z-index: 0;
  overflow: hidden;
}
#contract .case .col2::before,#contract .case .col2::after { content: ""; position: absolute; width: 100%; background-size: cover; z-index: -1; }
#contract .case .col2::before {
  top: 0; left: 0; height: 38px;
  background: url("img/casebox-top.gif") no-repeat center top;
}
#contract .case .col2::after {
  bottom: 0; left: 0; height: 21px;
  background: url("img/casebox-bottom.gif") no-repeat center bottom;
}
#contract .case .col2 h3 { font-size: 1.5em; margin-top: 0.5em; }
#contract .case dt{ font-size: 0.9em; margin-top: 1em; }
#contract .case dd{ font-size: 1.2em; font-weight: bold; margin-bottom: 1em; }
#contract .case .col2 h4 { margin: 2em auto 1em; }
#contract .case .col2 h4 { display: flex; align-items: center; }
#contract .case .col2 h4:before,
#contract .case .col2 h4:after { content: ""; height: 1px; flex-grow: 1; background-color: #003b83; }
#contract .case .col2 h4:before { margin-right: 1rem; }
#contract .case .col2 h4:after { margin-left: 1rem; }

/*ｰｰｰｰｰｰ　企業例　ｰｰｰｰｰｰ*/
#contract .case-box{ background: #fef3f3; margin: 3em auto; padding: 2em 3em; }
#contract .case-box .col2 {
  position: relative;
  text-align: center;
  line-height: 2em;
  border: 3px solid;
	margin: 1em 2em; 
  padding: 2em;
	background: #fff;
  z-index: 0;
  overflow: hidden;
}
#contract .case-box .col2::before {
  content: "";
  position: absolute;
  width: 100%;
  background-size: cover;
  z-index: -1;
  top: 0;
  left: 0;
  height: 43px;
  background: url("img/case-top.png") no-repeat center top;
}
#contract .case-box h3{
  border-bottom: 1px solid;
	margin-bottom: 2em;
}
#contract .case-box h3 span{
  display: block;
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

/*ｰｰｰｰｰｰ　お問い合わせ　ｰｰｰｰｰｰ*/
.inquiry { max-width: 800px; margin: 0 auto; }
.inquiry a { color: #003b83; }
.inquiry h3 { margin: 2em auto 1em; font-size: 1.5em; }
.inquiry dl { display: flex; flex-wrap: wrap; }
.inquiry dl dt, .inquiry dl dd { padding: 10px; margin: 0; margin-bottom: 15px; box-sizing: border-box;}
.inquiry dl dt { background: #003b83; color: #fff; width: 30%; position: relative; border-radius: 4px 0 0 4px; }
.inquiry dl dt::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: solid transparent;
  border-left-color: #003b83;
  border-width: 10px;
  pointer-events: none;
}
.inquiry dl dd { background: #fef3f3; width: 70%; padding-left: 20px; border-radius: 0 4px 4px 0; }






@media (min-width: 768px) {
#contract { font-size: 1.6rem; }
.trouble_man { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: fit-content; height: fit-content; }
.pa { left: 50%; transform: translateX(-50%); width: fit-content;}
.solution > img:nth-of-type(2){ display: none;}
#contract .case .col2 { width: calc(100% / 2 - 4%); }
#contract .case-box .col2 { width: calc(100% / 2 - 4em); }
}
@media screen and (max-width: 640px) {
#contract h2 { font-size: 1.5em; }
.trouble_man { position: relative; }
.trouble_man img { width: 85px; }
.trouble {margin: 1em;}
.trouble .col2{padding: 1em;}
.trouble_02 { top: 2em; width: 60%; }
.trouble_04 { bottom: 0em; right: 1em; width: 40%; }
.solution h2 { margin: 0.5em 1em auto; }
.solution > img:nth-of-type(1){ display: none;}
.solution > img:nth-of-type(2){ float: left; margin: 1em; }
.solution > img:nth-of-type(3){ float: right; margin: 1em; }
.solution .co.pa{ position: unset; margin: 5em auto 0; text-align: center; }
#contract .info { width: 90%; }
#contract .check h3 { font-size: 1.3em; text-align: center;}
#contract .check h3 span {
	display: block;
	width: 120px;
	height: 50px;
	padding: 9px 30px 0 15px;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 0 0.3em 0;
}
.check{ width: 90%; margin: 0 auto; }
#contract .check img { padding: 10px 0; }
#contract .check .accordion summary { width: 80%; }
#contract .case .col2 { margin-bottom: 4em; }
#contract .case-box { padding: 1em 2em; }
#contract .case-box .col2 { margin: 1em 0 2em; }
.inquiry{ padding: 1.5em; }
}
@media screen and (max-width: 767px) {
}
