@charset 'UTF-8';

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

	ブログ用css

■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */



/* ================================================================================

	PC・SP共通部分

================================================================================ */

.blog_wrap table {
	width: auto !important;
	margin-top: 0.5em;
}
.blog_wrap table th {
	border: 1px solid;
	padding: 8px;
	width: auto !important;
	vertical-align: middle;
}
.blog_wrap table td {
	border: 1px solid;
	padding: 8px;
	width: auto !important;
	vertical-align: middle;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

.alignleft {
	float: none;
}

.alignright {
	float: none;
}

.embed-youtube iframe,
.blog_wrap iframe {
	width: 100%;
}


/* 次の記事・前の記事 */
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}




/* ================================================================================

	カテゴリアイコン	※カテゴリごとの色変更は「.cate_投稿カテゴリスラッグ名」

================================================================================ */
.blog_icon {
	background-color: #154a74;
	color: #ffffff;
	padding: 0 4px 1px;
	margin-right: 8px;
}

.cate_news_list {
}
.cate_blog_list {
}




/* ================================================================================

	タグアイコン

================================================================================ */
.blog_tag a {
	display: block;
	background-color: #154a74;
	color: #fff;
	padding: 0 0.3em;
}

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
	.blog_tag {
		margin-top: 20px;
	}
	.blog_tag ul li {
		display: inline-block;
		margin: 0 6px 6px 0;
	}
	.blog_tag ul li:last-of-type {
		margin-right: 0;
	}
	.blog_tag ul li a {
		font-size: 14px;
	}
}


/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
	.blog_tag {
		margin-top: 3vw;
	}
	.blog_tag ul {
	}
	.blog_tag ul li {
		display: inline-block;
		margin: 0 2vw 2vw 0;
	}
	.blog_tag ul li:last-of-type {
		margin-right: 0;
	}
	.blog_tag ul li a {
		font-size: 3.3vw;
	}
}




/* ================================================================================

	いいねボタン

================================================================================ */

/* いいねボタンのボーダーカラー */
.blog_iine > div {
	border-color: #604d3f;
	margin: 1em 0 0 0;
}


/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
	.blog_iine {
		margin: 20px 0 0 0;
	}
}


/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
	.blog_iine {
		margin: 4vw 0 0 0;
	}
}




/* ================================================================================

	ページネーション

================================================================================ */

/* 整列位置 (左・真ん中・右) */
.wp-pagenavi {
	clear: both;
	text-align: left;
}


/* ページ色 */
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	background-color: #4883b1;
	color: #ffffff;
	font-size: 13px;
	border: none;
	padding: 6px 12px 7px;
	margin: 0 2px 4px;
	white-space: nowrap;
	border-radius: 3px;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	vertical-align: top;
	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
	transition-delay: 0s;
}

/* 現在のページ色 */
.wp-pagenavi span.current {
	background-color: #154a74;
	font-weight: bold;
}

/* ページ以外のリンク色 */
.wp-pagenavi span.extend,
.wp-pagenavi span.pages {
	color: #ffffff;
	background-color: #154a74;
}

/* ホバー色 */
.wp-pagenavi a:hover {
	opacity: 1;
	background-color: #154a74;
}



/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
	.wp-pagenavi {
		margin: 40px auto;
	}

	/* 次の記事・前の記事 */
	.prevnext-nav {
		margin: 24px auto;
	}
}



/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
	.wp-pagenavi {
		margin: 4vw auto;
	}

	/* 次の記事・前の記事 */
	.prevnext-nav {
		margin: 4vw auto;
	}
}




/* ================================================================================

	ブログ

================================================================================ */

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {

	/* 月別アーカイブ・タグページタイトル */
	.category_title {
		margin-bottom: 40px;
		font-size: 32px;
		text-align: center;
	}


	/* ブログレイアウト */
	.blog_wrap {
		max-width: 1000px;
		width: 100%;
		margin: 0 auto;
	}
	.blog_wrap > ul > li {
		background-color: #ffffff;
		margin-bottom: 60px;
		padding: 48px;
	}
	.blog_wrap > ul > li:last-of-type {
		margin-bottom: 0;
	}


	/* 日付 */
	.blog_title_date {
		font-size: 18px;
		margin-bottom: 8px;
	}

	/* タイトル */
	.blog_title_link {
		font-size: 28px;
		margin-bottom: 24px;
		line-height: 1.3;
	}


	/* 記事の内容：pタグ */
	.blog_wrap p {
		overflow: hidden;
	}

	/* 記事の内容：画像 */
	.blog_wrap img {
		max-width: 100%;
		height: auto;
		margin: 16px 0;
		display: block;
	}
}



/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

	/* 月別アーカイブ・タグページタイトル */
	.category_title {
		margin-bottom: 8vw;
		font-size: 5.6vw;
		text-align: center;
	}


	/* ブログレイアウト */
	.blog_wrap > ul > li {
		background-color: #ffffff;
		margin-bottom: 8vw;
		padding: 6vw;
	}
	.blog_wrap > ul > li:last-of-type {
		margin-bottom: 0;
	}


	/* 日付 */
	.blog_title_date {
		font-size: 3.3vw;
		margin-bottom: 1vw;
	}

	/* タイトル */
	.blog_title_link {
		font-size: 5vw;
		margin-bottom: 1em;
		line-height: 1.3;
	}


	/* 記事の内容：画像 */
	.blog_wrap img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 1em auto;
	}

	/* 記事の内容：iframe */
	.blog_wrap iframe {
		max-width: 100%;
		width: 100%;
		margin: 4vw auto;
	}
}




/* ================================================================================

	最近の投稿・アーカイブ・カテゴリ

================================================================================ */

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {

	.blog_function_wrap {
		position: relative;
	}
	.blog_function_wrap_inner {
		padding: 40px 0;
	}
	.blog_function_wrap_inner > ul {
		overflow: auto;
		width: 1000px;
		padding: 0 30px;
		margin: 0 auto;
		font-weight: 700;
	}
	.blog_function_wrap_inner > ul > li a {
		font-size: 16px;
	}

	/* カテゴリを表示しない場合 */
	.blog_function_wrap_inner > ul > li:nth-of-type(1) {
		width: 50%;
		padding: 0 30px 16px;
		float: left;
	}
	.blog_function_wrap_inner > ul > li:nth-of-type(2) {
		width: 50%;
		padding: 0 30px 16px;
		float: left;
	}

	/* ★カテゴリを表示する場合
		page-〇〇〇.phpとshingle-blog.phpにあるカテゴリ部分の
		コメントアウトを外して、下記cssに差し替えてください。
	----------------------------------------------- */
	/* 
	.blog_function_wrap_inner > ul > li:nth-of-type(1) {
		width: 44%;
		padding: 0 20px 16px;
		float: left;
	}
	.blog_function_wrap_inner > ul > li:nth-of-type(2) {
		width: 28%;
		padding: 0 20px 16px;
		float: left;
	}
	.blog_function_wrap_inner > ul > li:nth-of-type(3) {
		width: 28%;
		padding: 0 20px 16px;
		float: left;
	}
	*/

	.blog_function_wrap_inner > ul > li > ul {
		width: 100%;
		max-height: 176px;
		height: 100%;
		overflow: auto;
		text-align: center;
		padding: 0 8px;
	}
	.blog_function_wrap_inner > ul > li > ul > li {
		font-size: 16px;
		line-height: 1.4;
		margin-top: 1em;
	}
	.blog_function_wrap_inner > ul > li > ul > li:first-of-type {
		margin-top: 0;
	}
	.blog_function_wrap_inner h2 {
		text-align: center;
		font-size: 24px;
		font-weight: 900;
		border-bottom: 1px solid;
		margin: 8px auto 24px;
	}
	.blog_function_wrap_inner .recent_title_text {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		width: 76%;
		display: block;
		float: left;
		text-align: left;
		font-weight: 700;
	}
	.blog_function_wrap_inner .recent_title_date {
		font-size: 14px;
		width: 24%;
		display: block;
		float: left;
		text-align: right;
		font-weight: 700;
	}
}



/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

	.blog_function_wrap {
		position: relative;
	}
	.blog_function_wrap_inner {
		padding: 8vw 0 0 0;
	}
	.blog_function_wrap_inner > ul {
		overflow: auto;
	}
	.blog_function_wrap_inner > ul > li > ul {
		width: 100%;
		max-height: 44vw;
		height: 100%;
		overflow: auto;
		text-align: center;
		padding: 0 2vw;
		margin-bottom: 12vw;
	}
	.blog_function_wrap_inner > ul > li > ul > li {
		font-size: 3.5vw;
		line-height: 1.4;
		margin-top: 1.4em;
	}
	.blog_function_wrap_inner > ul > li > ul > li:first-of-type {
		margin-top: 0;
	}
	.blog_function_wrap_inner h2 {
		text-align: center;
		font-size: 5vw;
		border-bottom: 1px solid;
		margin: 4vw auto 6vw;
	}
	.blog_function_wrap_inner .recent_title_text {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		width: 62%;
		display: block;
		float: left;
		text-align: left;
	}
	.blog_function_wrap_inner .recent_title_date {
		width: 38%;
		display: block;
		float: left;
		text-align: right;
	}
}





/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★

	お客様の声 ブログページ

★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */


/* カテゴリアイコン色 */
.voice_icon span {
	background-color: #604d3f;
	color: #ffffff;
}


/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {

	.voice_wrap {
		position: relative;
		width: 1000px;
		margin:0 auto;
	}
	.voice_wrap ul {
		font-size: 0;
	}
	.voice_wrap > ul > li {
		display: inline-block;
		vertical-align: top;
		width: 320px;
		margin-left: 20px;
		margin-top: 40px;
		font-size: 16px;
	}
	.voice_wrap > ul > li:nth-of-type(3n+1) {
		margin-left: 0;
	}
	.voice_wrap > ul > li:nth-of-type(1),
	.voice_wrap > ul > li:nth-of-type(2),
	.voice_wrap > ul > li:nth-of-type(3) {
		margin-top: 0;
	}


	.voice_wrap > ul > li > a {
		display: block;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		
		border: 1px solid #cccccc;
	}


	/* カテゴリアイコン */
	.voice_icon {
		position: relative;
		height: 0;
	}
	.voice_icon span {
		position: relative;
		display: inline-block;
		transform: translateY(16px);
		-webkit-transform: translateY(16px);
		-ms-transform: translateY(16px);
		padding: 0 0.5em 0.1em;
		z-index: 1;
	}


	/* サムネイル画像 */
	.voice_thumb img {
		width: 100%;
		height: 213px;
		object-fit: cover;
		font-family: 'object-fit: cover;'; /* IE対策 */
	}


	/* 投稿記事見出し */
	.voice_title {
		display: block;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		padding: 0.3em 0.5em;
		font-size: 18px;
	}


	/* タグ */
	.voice_wrap .blog_tag {
		margin-top: 0;
		padding: 0.7em 0.5em;
		border-top: 1px dotted #666666;
	}
}



/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

	.voice_wrap {
		position: relative;
		margin: 0 auto;
	}
	.voice_wrap > ul {
	}
	.voice_wrap > ul > li {
		position: relative;
		margin: 0 4vw 10vw;
		padding: 0;
	}
	.voice_wrap > ul > li > a {
		display: block;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		
		border: 1px solid #cccccc;
	}


	/* カテゴリアイコン */
	.voice_icon {
		position: relative;
		height: 0;
	}
	.voice_icon span {
		position: relative;
		display: inline-block;
		transform: translateY(4vw);
		-webkit-transform: translateY(4vw);
		-ms-transform: translateY(4vw);
		padding: 0 0.5em 0.1em;
		z-index: 1;
	}


	/* サムネイル画像 */
	.voice_thumb img {
		max-width: 100%;
		width: 100%;
		height: 61.335vw;
		object-fit: cover;
		font-family: 'object-fit: cover;';
	}


	/* 投稿記事見出し */
	.voice_title {
		display: block;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		padding: 0.3em 0.5em;
		font-size: 4vw;
	}


	/* タグ */
	.voice_wrap .blog_tag {
		margin-top: 0;
		padding: 0.7em 0.5em;
		border-top: 1px dotted #666666;
	}

}









/* ================================================================================

	ビフォーアフター

================================================================================ */


/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {

	/* Elementer記事の中身 */
	.ba_kiji img {
		width: 432px;
		height: 288px !important;
		object-fit: cover;
		font-family: 'object-fit: cover;'; /* IE対策 */
	}
	.ba_kiji h3 {
		text-align: center;
		color: #ff7f00;
		font-size: 24px;
	}
	.ba_kiji .left {
		padding: 0 20px 0 0;
	}
	.ba_kiji .left:after { /* 三角 */
		position: absolute;
		z-index: 1;
		top: 164px;
		left: 444px;
		content: '';
		display: inline-block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 20px 0 20px 20px;
		border-color: transparent transparent transparent #ff7f00;
		vertical-align: middle;
	}
	.ba_kiji .right {
		padding: 0 0 0 20px;
	}
}



/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

	/* Elementer記事の中身 */
	.ba_kiji img {
		width: 100%;
	}
	.ba_kiji h3 {
		text-align: center;
		color: #ff7f00;
		font-size: 4vw;
	}
	.ba_kiji .left {
	}
	.ba_kiji .left:after { /* 三角 */
		position: absolute;
		z-index: 1;
		bottom: -3vw;
		left: 36vw;
		content: '';
		display: inline-block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 3vw 3vw 0 3vw;
		border-color: #ff7f00 transparent transparent transparent;
		vertical-align: middle;
	}
	.ba_kiji .right {
		padding: 6vw 0 0 !important;
	}
}
