@charset "utf-8";
/* CSS Document */

h3.business {
    /*position: relative;
  padding: 1.5rem 2.5rem;
  border: 4px solid #000;*/
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 1.5em;
    text-align: center;
}

/*h3.business:before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    content: '';
    border: 4px dotted #57A503;
}*/
h3.business2 {
    position: relative;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 60px;
    font-weight: bold;
}

h3.business2:before {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 30px);
    width: 60px;
    height: 5px;
    content: '';
    border-radius: 3px;
    background-color: #57A503;
}

h4.company {
    padding: 1rem 1rem;
    border-bottom: 3px solid #8B0000;
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 1.5em;
}

h5 {
    padding: 1rem 2rem;
    border-left: 5px dashed #000;
    font-size: 1.3rem;
    font-weight: bold;
	margin-bottom: 1.5em;
}

.kakko {
    position: relative;
    padding: 0.5em 1em;
    text-align: left;
    display: inline-block;
}

.kakko:before,
.kakko:after {
  position: absolute;
  content: '';
}

.kakko:after {
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
}

.kakko:before {
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}

.list_circle_num {
    padding: 0px;
    margin: 0px;
    list-style: none;
    counter-reset: list_circle_num_counter;
}

.list_circle_num > li {
    position: relative;
    padding: 0px 0px 0px 2em;
    counter-increment: list_circle_num_counter;
}
.list_circle_num > li::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 15px;
    left: 0px;
    transform: translateY(-50%);
    width: calc(1.5em);
    height: calc(1.5em);
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    content: counter(list_circle_num_counter);
}

.list_circle_num > li + li {
    margin: 1em 0px 0px;
}

.pattern-5{
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*align-items: center;*/
}

.accordion {
	    margin: 1rem auto;
    max-width: 100%;
}

.toggle {
	display: none;
}

.faq {
	position: relative;
	margin-bottom: 1rem;
}

.question,.anser {
	transform: translateZ(0);
	transition: all 0.3s;
}

.question {
	border: solid 1px #999;
	padding: 1rem 2.2rem 1rem 1rem;
	display: block;
	color: #333;
	cursor:pointer
}

.question span,.anser span {
    font-size: 160%;
    padding-right: 0.6rem;
    color: #c30a01;
    line-height: 0;
}

.question:after,.question:before {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 0;
  bottom: 0;
  margin: auto;
	width: 2px;
	height: 0.75rem;
	background-color: #999;
	transition: all 0.3s;
}

.question:after {
	transform: rotate(90deg);
}

.anser {
	max-height: 0;
	overflow: hidden;
}

.anser div {
	margin: 0;
	padding: 2rem 1rem 2rem;
	line-height: 1.8;
}

.toggle:checked + .question + .anser {
	max-height: 500px;
	transition: all 1.5s;
}

.toggle:checked + .question:before {
	transform: rotate(90deg) !important;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 991px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}