@charset "UTF-8";

/*////////////////////////////////////////////////////////////////
PC
////////////////////////////////////////////////////////////////*/	
@media print, screen and (min-width: 641px) {
#page .main_box {
	margin: 10px 0px 10px 0px;
	overflow: hidden;
}

#kaiyaku h2 {
color: #355674;
font-size: 18px;
margin-bottom: 10px;
font-weight: bold;
}


#kaiyaku h3 {
font-size: 16px;
padding: 10px;
background-color: #355674;
color: #fff;
}


#kaiyaku p {
	font-size: 16px;
line-height: 2em;
}

#kaiyaku p .link_txt {
color: #3399FF;
text-decoration: underline;
}



.element {
padding-top: 40px;
}

.tx-stress {
font-weight: 700;
}

.txt_orange {
color: #FFA500;
}

.txt_Lblue {
color: #3399FF;
}

.txt_gray {
color: #AAAAAA !important;
}

.txt_red {
color: #FF3300;
}

.txt_blue {
color: #0000CC;
} 

.txt_big {
font-size: 120%;
}



.kaiyaku_btn {
width: 50%;
margin: 0 auto;
}

.kaiyaku_btn a.btn_flat {
  overflow: hidden;
  padding: 1.2rem 1.0rem;
  color: #fff;
  border-radius: 0;
  background: #333;
  position: relative;
  display: block;
  margin: 40px 0;
  text-align: center;
  font-size: 1.2rem;
		line-height: 1.4em;
}


.kaiyaku_btn a.btn_flat::before {
  position: absolute;
  top: 0;
  left: calc(-100% + 10px);
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
  background: #226D07;
}


.kaiyaku_btn a.btn_flat span {
  position: relative;
  z-index: 1;
}


.kaiyaku_btn a.btn_flat::after {
  position: absolute;
  top: 0;
  right: calc(-100% + 10px);
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
  background: #226D07;
}

.kaiyaku_btn a.btn_flat:hover {
  opacity: 1;
}

.kaiyaku_btn a.btn_flat:hover::before {
  -webkit-transform: translateX(50%) translateY(0);
  transform: translateX(50%) translateY(0);
}

.kaiyaku_btn a.btn_flat:hover::after {
  -webkit-transform: translateX(-50%) translateY(0);
  transform: translateX(-50%) translateY(0);
}

.mail_ph {
width: 40%;
}


}

/*////////////////////////////////////////////////////////////////
SP
////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 640px) {
#page .main_box {
	margin: 10px 0px 30px 0px;
	overflow: hidden;
}

#kaiyaku h2 {
color: #355674;
font-size: 18px;
margin-bottom: 10px;
font-weight: bold;
line-height: 1.6em;
}


#kaiyaku h3 {
font-size: 16px;
padding: 10px;
background-color: #355674;
color: #fff;
line-height: 1.6em;
}



#kaiyaku p {
	font-size: 14px;
line-height: 2em;
}

#kaiyaku p .link_txt {
color: #3399FF;
text-decoration: underline;
}



.element {
padding-top: 40px;
}

.tx-stress {
font-weight: 700;
}

.txt_orange {
color: #FFA500;
}

.txt_Lblue {
color: #3399FF;
}

.txt_gray {
color: #AAAAAA !important;
}

.txt_red {
color: #FF3300;
}

.txt_blue {
color: #0000CC;
} 

.txt_big {
font-size: 120%;
}



.kaiyaku_btn {
width: 90%;
margin: 0 auto;
}

.kaiyaku_btn a.btn_flat {
  overflow: hidden;
  padding: 1.2rem 1.0rem;
  color: #fff;
  border-radius: 0;
  background: #333;
  position: relative;
  display: block;
  margin-top: 30px;
  text-align: center;
  font-size: .9rem;
}


.kaiyaku_btn a.btn_flat::before {
  position: absolute;
  top: 0;
  left: calc(-100% + 10px);
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
  background: #146d5f;
}


.kaiyaku_btn a.btn_flat span {
  position: relative;
  z-index: 1;
}


.kaiyaku_btn a.btn_flat::after {
  position: absolute;
  top: 0;
  right: calc(-100% + 10px);
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
  background: #146d5f;
}

.kaiyaku_btn a.btn_flat:hover {
  opacity: 1;
}

.kaiyaku_btn a.btn_flat:hover::before {
  -webkit-transform: translateX(50%) translateY(0);
  transform: translateX(50%) translateY(0);
}

.kaiyaku_btn a.btn_flat:hover::after {
  -webkit-transform: translateX(-50%) translateY(0);
  transform: translateX(-50%) translateY(0);
}

.mail_ph {
width: 80%;
margin: 0 auto;
}




}
