/*
Theme Name: CBP WordPress Theme
Theme URI: http://underscores.me/
Author: 株式会社ケアビジネスパートナーズ
Author URI: http://carebp.com
Description: 株式会社ケアビジネスパートナーズの社内用テーマです
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cbpwptheme
Tags:
*/

img {
	-webkit-backface-visibility: hidden;
}
a {
	color: #8f0c2e;
}
.fontfamily_ja,
.fontfamily_ja h1,
.fontfamily_ja h2,
.fontfamily_ja h3,
.fontfamily_ja p,
.fontfamily_ja li {
	font-family: "メイリオ", meiryo, verdana, "ＭＳ Ｐゴシック","ヒラギノ角ゴ Pro W3" ,Osaka ,arial ,sans-serif;
}
.maintitle i {
	margin-bottom: 10px;
}
.maintitle2 {
	padding-bottom: 10px;
}
.maintitle3 {
	margin-top: 15px;
	padding-bottom: 5px;
}
.maintitle3 i {
	font-size: 100%;
	margin-left: 5px;
	margin-right: 7px;
	margin-top: 1px;
}
img[usemap] {
	border: none;
	height: auto;
	max-width: 100%;
	width: auto;
}

#theHeader {
	background-color: #ffffff;
	overflow: hidden;
	position: fixed;
	z-index: 10;
	top: 0px;
	left: 0;
	display: block;
	text-align: left;
	font-size: 14px;
	width: 100%;
	height: 85px;
	line-height: 40px;
}
.headerlogotitle {
	margin-top: 18px;
	padding: 0;
}
.headerlogo {
}
.headerlogo_s {
	display: none;
}
#headerwrap {
	background-color: #8f0c2e;
	background-image: none;
	/*background: url(../img/top_bg_mainimg.png) repeat-x center 85px;*/
	min-height: 480px;
	padding-top: 85px;
	min-height: 107px;
}
#headerwrap img {
	margin: 0 auto;
	width: 100%;
	max-width: 1280px;
	height: 100%;
}
#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%;
}

/* 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;
}

/* 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: #eee;
	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: #2f2f2f;
	margin-top: 0px;
	padding-top: 40px;
	padding-bottom: 40px;
	color: #fff;
}
#footerbox li {
	margin-bottom: 5px;
}
#footerbox li a {
	color: #fff;
}

/* contentsheader Wrap */
.contentsheaderwrap {
	display: block;
	margin-top: 80px;
	margin-bottom: 40px;
	background-color: #ac143b;
	color: #fff;
}
.contentsheaderwrap2 {
	display: block;
	margin-top: 150px;
	margin-bottom: 40px;
	border-top: double 3px #ac143b;
	border-bottom: double 3px #ac143b;
}
.contentsheaderwrap3 {
	display: block;
	background-color: #ffe6ff;
	margin-bottom: 40px;
}
.contentsheaderbox {
	padding: 40px;
}
.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;
}
.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;
}

/* Large devices Desktops (≥1200px) */
@media (max-width: 1200px) {
.maintitle3 {
	margin-bottom: 40px;
}
.text {
	margin-bottom: 40px;
}
.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;
}
}

.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;
}


#theBlog #theHeader {
	border-bottom: 4px solid #8f0c2e;
}
#theBlog .blogboxwrap {
	border-top: dotted 3px #ccc;
	padding-top: 120px;
}
.entry-content {
	margin: 0 25px 25px;
}
.entry-content h1 {
	margin-bottom: 25px;
	line-height: 1.7;
	clear: both;
}
.entry-content h2 {
	margin-bottom: 25px;
	line-height: 1.7;
	background-color: #ddd;
	border-radius: 6px;
	padding: 5px 10px 2px;
	clear: both;
}
.entry-content h3 {
	margin-bottom: 25px;
	line-height: 1.7;
	border-bottom: double 3px #aaa;
	padding: 5px;
	clear: both;
}
.entry-content p {
	margin-bottom: 25px;
	line-height: 1.7;
}
.entry-content ul,
.entry-content ol {
	margin-bottom: 25px;
	line-height: 1.7;
}
.entry-title,.page-title {
	margin-bottom: 20px;
	font-size: 160%;
}
.entry-meta {
	margin-bottom: 20px;
	text-align: right;
}
.entry-footer {
	padding-bottom: 40px;
}
.widget-title {
	font-size: 120%;
	margin-left: 20px;
	margin-bottom: 15px;
	font-weight: normal;
}
.screen-reader-text {
	display: none;
}
.widget {
	margin-bottom: 40px;
}
.widget li {
	margin-left: 10px;
	margin-bottom: 5px;
	line-height: 1.5;
}
.widget select {
	margin-left: 40px;
}
.search-field,
.search-submit {
	margin-left: 20px;
}
.search-field {
	width: 17em;
}

.page-header {
	margin: 0 0 20px;
}

.entry-content-f {
	overflow: hidden;
}
.entry-content-f p {
}
.entry-content-f img {
	margin-top: 20px;
}
.entry-content-f li {
	overflow: hidden;
	margin-bottom: 20px;
}

/* 記事下部 前後記事のナビゲーション */
.nav-links {
	margin: 0 0 40px;
  display: -webkit-flex;
  display: flex;
}
.nav-previous {
  width: 48%;
  background-color: #F0EFEF;
  border-radius: 100% 5px 5px 100%;
  padding: 15px 0px 15px 25px;
  margin-right: auto;
}
.nav-next {
  width: 48%;
  background-color: #F0EFEF;
  border-radius: 5px 100% 100% 5px;
  padding: 15px 25px 15px 0px;
  text-align: right;
}
@media screen and (max-width: 700px) {
	.nav-links {
		-webkit-flex-direction: column;
    flex-direction: column;
	}
}

.alignleft {
	float: left;
	vertical-align: middle;
	margin: 0 25px 15px 0;
}
.alignright {
	float: right;
	margin: 0 0 15px 25px;
}
/* Small devices Tablets (≥768px) */
@media (max-width: 768px) {
.alignleft {
	float: none;
	display: block;
	margin: 10px auto;
}
.alignright {
	float: none;
	display: block;
	margin: 10px auto;
}
}