@charset "UTF-8";

/*
Theme Name:道央衛生株式会社
Template:cocoon-master
*/


/*================================================
 *  一般・共通設定
 ================================================*/
html {
	font-size: 62.5%;/*10px*/
	min-height: 100%;
}
body { 
	font-size:1.5rem;
	color:#333;
	font-family:"游ゴシック Medium", YuGothicM, "游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
	font-weight:500;
	background-color:#FFFEFE;
}
@font-face {
	font-family: "YuGothic M";
	src: local("Yu Gothic Medium");
}

h1{
	margin-bottom: 40px;
	padding: 0.5em;
	border-bottom: 1px solid #d1d1db;
	background: #f6f6f8;
}

h2 {
	position: relative; 
	overflow: hidden;
	margin: 0 !important;
	padding: 0.5em 0 !important;
	border-bottom: 0 !important;
	background:#FFF !important;
}
h2:before,
h2:after {
	content: ""; 
	position: absolute; 
	bottom: 0;
}
h2:before {
	border-bottom: 3px solid #4d4c61; 
	width: 100%;
}
h2:after {
	border-bottom: 3px solid #bbb; 
	width: 100%;
}

h3 {
	position: relative;
	margin:0.5em 0 !important;
	padding: 0.5em 0.5em 0.5em 1.5em !important;
	border-bottom: 1px dashed #4d4c61;
	background:#FFF !important;
	color: #4d4c61;
	font-size: 1.7rem !important;
	font-weight: 600;
}
h3::before {
	font-family: "Font Awesome 5 Free";
	/*ntent: "\105";*/
	content: "\f138";
	position: absolute;
	font-size: 1em;
	left: 0.25em;
	top: 0.5em;
	color: #4d4c61; /*アイコン色*/
	font-weight: 900 !important;
}

.article h3 {
	border: none !important;
}

.fontMN{
	font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}

p{
	line-height:1.7em;
}

ul,
ol{
	margin:0;
	padding:0 1em;
}

table th{
	white-space:nowrap;
}

/* セル幅を自動調整 */
th, td {
	width: auto !important;
}

/*メインメニュー*/
.item-label{font-weight:bold;}
ul.menu-header > li:hover > a {
	background:#AACEFF !important;
}
.menu-header ul > li:hover > a {
	background:#AACEFF !important;
}

/*サブメニュー*/
.menu-header ul.sub-menu{
	background-color:#FFF !important;
	border:solid 1px #AACEFF;
}

/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}
/*フロント固定ページのシェアボタンを非表示*/
.home.page .sns-share{
  display: none;
}
/*フロント固定ページのフォローボタンを非表示*/
.home.page .sns-follow{
  display: none;
}
/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{
  display: none;
}

.header-container {
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.04);
}

.header-img{
	background-image:url("https://www.douou-eisei.jp/_sys/wp-content/uploads/header.png");
	background-position:bottom;
	padding:5em 0;
	line-height:2em;
	text-shadow:2px 2px 2px rgba(255,255,255,0.8);
}

footer a:hover{
	color:#4d4c61 !important;
}
.footer{
	width:100% !important;
}

#sidebar ul li a{
	padding-left:1em !important;
}
	
/*ブログカード*/
.blogcard {
	padding: 1rem;
	color: #666;
	position: relative;
	border-color:#AACEFF !important; /* 枠線の色を変更 */
}
a.blogcard-wrap:hover{
	background-color: transparent !important;
	opacity: 0.8;
}
a.blogcard-wrap:hover img.blogcard-thumb-image{
	transform: scale(1.1);
	transition: .3s;
}
.blogcard-thumbnail {
	line-height: 0;
	margin-right: 1rem;
	overflow: hidden;
}
.blogcard-title{
	margin-bottom: .5rem;
}
.blogcard-snipet{
	font-size: 1.3rem;
	line-height: 1.5;
	padding-right: 10%;
}
@media screen and (max-width: 480px){
	.blogcard-thumbnail{
		width: 40%;
	}
	.blogcard-snipet{
		/*display: none;*/
	}
}
.internal-blogcard-footer{
	display: none !important; /* 内部ブログカードのアイコンとURLを非表示 */
}

.internal-blogcard::after{
	content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color:#003E8E; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

/*アイキャッチ画像を固定ページに表示しない*/
.eye-catch-wrap{
	display:none !important;
}

/* フローボックス（横） */
.flowBox_x {
	margin: 0 auto;
	width:100%;
	position: relative;
}
.flowBox{
	float:left;
}
/* 全体を囲う要素の中央に三角形を表示する */
.flowBox:after {
	margin: -20px 0 0 -10px; /* 三角形の大きさ分ネガティブマージンで位置調整 */
	border: 20px solid transparent;
	border-left-color: #FFC300;
	content: "";
	position: absolute;
	top: 50%; /* 上下中央寄せ */
	left: 50%; /* 左右中央寄せ */
}
/* ビフォーとアフターのボックス */
.flowBox:last-child:after {
	border: none; /* 最後のボックスだけ三角形を表示しない */
}

/* お問い合わせフォームの必須 */
.required-srt {
	font-size: 8pt;
	padding: 5px;
	background: #ce0000;
	color: #fff;
	border-radius: 3px;
	margin-left: 10px;
	vertical-align: middle;
}

/*送信ボタン*/
input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	font-size: 20px;
	font-weight: bold;
	width: 200px;
	margin:auto;
	padding: 10px;
	border-radius: 10px;
	background-color: #233b6c;
	border: none;
	color: #fff;
	cursor: pointer;
}
input[type="submit"]:hover {
	background-color: #354d7e;
	color: #FFF;
}
span.wpcf7-spinner {
	display: none;
}



/************************************
** サイドバー
************************************/
.sidebar h3 {
	position: relative;
	margin-bottom: 1.5em;
	padding: 0 5px;
	border-bottom: 2px solid #eeeef1;
	background: none;
	color: #58576f;
	font-size: 18px;
}
.sidebar h3::after {
	display: block;
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 30%;
	border-bottom: 2px solid #d1d1db;
	content: " ";
}

/************************************
 レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px){
table{
width:100%;
}
.scroll{
overflow: auto;
white-space: nowrap;
}
.scroll::-webkit-scrollbar{
 height: 5px;
}
.scroll::-webkit-scrollbar-track{
 background: #F1F1F1;
}
.scroll::-webkit-scrollbar-thumb {
 background: #BCBCBC;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
