.fontfamily_ja,
.fontfamily_ja h1,
.fontfamily_ja h2,
.fontfamily_ja h3,
.fontfamily_ja h4,
.fontfamily_ja p,
.fontfamily_ja li,
.headernav li {
	font-family: "メイリオ", meiryo, verdana, "ヒラギノ叔ゴ Pro W3" ,Osaka ,arial ,sans-serif;
	color: #333;
}
main p {
	line-height: 1.8;
}
#theHeader {
	overflow: hidden;
	display: block;
	text-align: left;
	width: 100%;
	height: 6rem;
}
.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
}
.headernav ul {
	background: #4C2D39;
	background: #8f0c2e;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
}
.headernav li {
	list-style: none;
	text-align: center;
}
.headernav li a {
	display: block;
	padding: 20px;
	text-decoration: none;
	color: #FFF;
	height: 6rem;
	font-size: 90%;
}
.headernav li a:hover {
	color: #000;
	background: #D68EA1;
	height: 6rem;
}



#headerwrap {
	background-color: #fff;
}
#headerwrap img {
	margin: 0 auto;
	width: 100%;
	height: 100%;
}
div#headerwrap,div#topImgBox,div#topImgBox ul,div#topImgBox ul li,div#topImgBox ul img,#topImgBox ul a {
	margin: 0;
	padding: 0;
	border: 0;
}
#topImgBox {
	position: relative;
	overflow: hidden;
}
#topImgBox ul li {
	position: absolute;
}

#theMenu {
	display: none;
}

.maintitle {
	color: #444;
}
.maintitle span {
	border-bottom: 5px solid #D68EA1;
}
p.btn-normal {
	color: #FFF;
	background-color:#AC153B;
	border: none;
	line-height: 1.2;
	padding: 15px 20px;
	margin-top: 10px;
}
p.btn-normal:hover {
	background-color: #A73E48;
}
.bk-normal {
	background-color: #FFEBF0;
}


/* membersbox Wrap */
#membersbox {
	display: block;
	margin-top: 80px;
	padding-bottom: 80px;
	background-color: #eee;
}
.membersbox h1 {
	margin-bottom: 80px;
}
.membersbox img:hover {
	opacity: 0.8;
	border: 2px solid #ccc;
}
.img-center {
	margin-left: auto;
	margin-right: auto;
}

.topbox {
	margin-top: 0px;
	padding-top: 30px;
}
}
/* servicewrap Wrap */
.servicesbox_add {
	margin-top: 80px;
	border-top: dotted 3px #ccc;
	padding-top: 80px;
}

/* table */
#companybox .table {
	border-bottom: 1px solid #ddd;
	margin-bottom: 80px;
}
#companybox .table th {
	background-color: #f5f5f5;
	text-align: right;
	width: 11em;
	font-weight: normal;
	padding: 15px 20px;
}
#companybox .table td {
	text-align: left;
	padding: 15px 20px;
}
#contactbox .table td {
	text-align: left;
}

/* Contact Wrap */
#contactwrap .title {
	margin-top: 10px;
}

/* Footer Wrap */
#footerbox {
	background-color: #4C2D39;
	margin-top: 0px;
	padding-top: 40px;
	padding-bottom: 40px;
	color: #fff;
}
#footerbox p {
	color: #fff;
}
#footerbox li {
	margin-bottom: 5px;
	list-style-type: none;
}
#footerbox li:before {
	content: '';
	width: 6px;
	height: 6px;
	display: inline-block;
	border-radius: 100%;
	background: #fff;
	position: relative;
	left: -15px;
	top: -3px;
}
#footerbox li a {
	color: #fff;
}

/* contentsheader Wrap */
.contentsheaderwrap {
	display: block;
	margin-top: 10px;
	margin-bottom: 40px;
	background-color: #ac143b;
	color: #fff;
}
.contentsheaderwrap2 {
	display: block;
	margin-top: 80px;
	margin-bottom: 40px;
	border-top: double 3px #ac143b;
	border-bottom: double 3px #ac143b;
}
.contentsheaderwrap3 {
	display: block;
	background-color: #ffe6ff;
	margin-bottom: 40px;
}
.contentsheaderwrap_cbpa {
	display: block;
	margin-top: 100px;
	margin-bottom: 40px;
	border-top: double 3px #ac143b;
	border-bottom: double 3px #ac143b;
}
.contentsheaderbox {
	padding: 30px;
}
.contentsheaderbox2 {
	padding: 10px;
}
.contentsheaderbox3 {
	padding: 10px;
}
/* servicecontents Wrap */
.contentswrap {
	display: block;
	margin-bottom: 60px;
}
.contentswrap_otu {
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #eee;
	margin-bottom: 40px;
}
.servicesbox .mt {
	margin-top: 30px
}
.messagebox .mt {
	margin-top: 30px
}
.messagebox p {
	margin-bottom: 20px;
}
/* memberbox Wrap */
.memberwrap {
	display: block;
	margin-bottom: 20px;
}
.memberbox .mt {
	margin-top: 20px
}
.memberbox p {
	margin-bottom: 20px;
}
.memberbox2 .mt {
	margin-top: 0px
}
.memberbox2 p {
	margin-bottom: 20px;
	line-height: 1.7;
}
.memberbox2 h4 {
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 300;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 10px;
	border-bottom: 4px double #bbb;
}
.memberbox2 ul {
	margin-bottom: 30px;
}
.memberbox2 li {
	margin-bottom: 10px;
}
.memberbox2 .blog-date {
	text-align: right;
}
.servicesboxL {
	text-align: right;
}
/* servicesboxR */
.servicecontlist {
	padding-left: 20px;
}
.servicecontlist li {
	line-height: 1.6;
	margin-bottom: 5px;
}
.teikyostyle {
	padding-left: 0px;
}
.teikyostyle li {
	line-height: 1.6;
	margin-bottom: 5px;
	list-style-type: none;
}
.teikyostyle i {
	margin-right: 5px;
}
.headerlogo_s {
	display: none;
}

/* Large devices Desktops (－1200px) */
@media (max-width: 1200px) {

.md3text {
	margin-bottom: 10px;
}
}
/* Medium devices Desktops (－992px) */
@media (max-width: 992px) {
.servicesboxL {
	text-align: left;
}
}
/* Small devices Tablets (－768px) */
@media (max-width: 768px) {
.headerlogo {
	display: none;
}
.headerlogo_s {
	display: block;
}
.forML {
	display: none;
}
}

.bg-danger {
	padding: 20px;
}
.caution {
	color: red;
	font-weight: bold;
}
#contactbox {
	margin-bottom: 80px;
}
#contactbox label.form-label-th {
	display: block;
	text-align: left;
	margin-top: 15px;
	margin-left: 5px;
	font-weight: normal;
}


.ulpostlist {
	text-align: left;
}
.ulpostlist li {
	list-style-type: none;
	margin-bottom: 10px;
}
.mt0 {
	margin-top: 0;
}
.mt20 {
	margin-top: 20px;
}
.mt30 {
	margin-top: 30px;
}
.mt50 {
	margin-top: 50px;
}
.mt70 {
	margin-top: 70px;
}
.mt90 {
	margin-top: 90px;
}

h1.headerlogotitle {
	padding-bottom: 10px;
}
.service .servicetxt {
	margin-right: 20px;
}
.service .servicetxt1 {
	margin-top: 20px;
	margin-bottom: 40px;
}
div.topUlpostBox {
	width:90%;margin:20px auto 30px;
}

/* Small devices Tablets (－768px)
@media (max-width: 768px) { */
/* Medium devices Desktops (－992px) */
/* Medium devices Desktops (－768px) */
@media (max-width: 768px) {
	div.topUlpostBox {
		width:100%;margin:20px auto 30px;
	}
	h1.headerlogotitle {
		margin-bottom: 0px;
	}
	.headernav ul li.hide768 {
		display: none;
	}
	.headernav li a {
		font-size: 70%;
		padding: 15px 10px;
		height: 4.5rem;
	}
	#theMenu {
		display: block;
	}
	#theMenu a {
		padding-left: 10px;
		font-weight: normal;
		color: #ccc;
		border-bottom: 1px #666 dotted;
		margin-right: 20px;
	}
	a.menu_home {
		border-top: 1px #666 dotted;
	}
	#theMenu a:hover {
		text-decoration: none;
		background-color: #666;
		padding-left: 10px;
		margin-right: 20px;
	}
	.menu-wrap {
		padding-top: 70px;
	}
	.menu-close {
		font-size: 150%;
	}
	.contentsheaderwrap {
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.contentsheaderwrap h1.maintitle {
		font-size: 160%;
		padding: 0px;
		margin: 0px auto;
	}
	.service .servicetxt1 {
		margin-bottom: 50px;
	}
}



/* -----------------------------------------
  - To Page Top
----------------------------------------- */
#page-top {
    position: fixed;
    bottom: 30px;
    right: 40px;
    font-size: 100%;
}
#page-top a {
    background: #BBACB1;
    text-decoration: none;
    color: #fff;
    width: 50px;
    padding: 15px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: #D68EA1;
}