@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: #eb671b;
	color: #ffffff;
	padding: 0 4px 1px;
	margin-right: 8px;
}

.cate_news_list {
}
.cate_advisor_list {
	background-color: #1e4b9f;
}




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

	タグアイコン

================================================================================ */
.blog_tag a {
	color: #ec661b;
	border: 1px solid #ec661b;
}

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
	.blog_tag {
		margin: 1em 0 0 0;
	}
	.blog_tag ul li {
		display: inline-block;
		margin: 0 6px 6px 0;
	}
	.blog_tag ul li a {
		display: block;
		font-size: 14px;
		padding: 0 4px 2px;
	}
}


/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
	.blog_tag {
		margin: 1em 0 0 0;
	}
	.blog_tag ul li {
		display: inline-block;
		margin: 0 2vw 2vw 0;
	}
	.blog_tag ul li a {
		display: block;
		font-size: 3.3vw;
		padding: 0 2vw 0.1em;
	}
}




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

	いいねボタン

================================================================================ */
.blog_iine {
	margin: 24px 0 0 0;
}

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




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

	ページネーション

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

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


/* ページ色 */
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	background-color: #ec661b;
	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: #ec661b;
	font-weight: bold;
}

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

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



/* 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: url(../img/bg_grid.jpg) center top -1px / auto 12px repeat;
		border: 1px solid #fff3e9;
		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;
	}

	/* 記事インデント */
	.category-customer_list .outer_wrap p {
		padding-left: 2em;
		text-indent: -2em;
	}
	.category-customer_list .outer_wrap p.no_interview {
		padding-left: 0;
		text-indent: 0;
	}
}



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

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


	/* ブログレイアウト */
	.blog_wrap > ul > li {
		background: url(../img/bg_grid.jpg) center top -1px / auto 12px repeat;
		border: 1px solid #fff3e9;
		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;
	}

	/* 記事インデント */
	.category-customer_list .outer_wrap p {
		padding-left: 2em;
		text-indent: -2em;
	}
	.category-customer_list .outer_wrap p.no_interview {
		padding-left: 0;
		text-indent: 0;
	}
}




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

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

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

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

	.blog_function_wrap {
		position: relative;
	}
	.blog_function_wrap_inner {
		padding: 40px 0 0 0;
	}
	.blog_function_wrap_inner > ul {
		overflow: auto;
		width: 1000px;
		padding: 0 30px;
		margin: 0 auto;
	}
	.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: 210px;
		height: 100%;
		overflow: auto;
		text-align: center;
	}
	.blog_function_wrap_inner > ul > li > ul {
		width: 100%;
		max-height: 210px;
		height: 100%;
		overflow: auto;
		text-align: center;
		padding: 0 8px;
	}
	.blog_function_wrap_inner > ul > li > ul > li {
		font-size: 16px;
		line-height: 40px;
	}
	.blog_function_wrap_inner h2 {
		text-align: center;
		font-size: 24px;
		font-weight: 300;
		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;
	}
	.blog_function_wrap_inner .recent_title_date {
		font-size: 14px;
		width: 24%;
		display: block;
		float: left;
		text-align: right;
	}
}



/* 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 {
		line-height: 2.5;
	}
	.blog_function_wrap_inner h2 {
		text-align: center;
		font-size: 5vw;
		border-bottom: 1px solid;
		margin: 4vw auto;
		font-weight: 300;
	}
	.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;
	}
}







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

	事例紹介

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


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

	.works_wrap{
		position: relative;
		width: 1000px;
		margin: 0 auto;
	}
	.works_wrap ul {
		overflow: hidden;
	}
	.works_wrap ul li {
		float: left;
		width: 480px;
		margin-top: 60px;
	}
	.works_wrap ul li:nth-of-type(odd) {
		margin-right: 40px;
	}
	.works_wrap ul li:nth-of-type(1),
	.works_wrap ul li:nth-of-type(2) {
		margin-top: 0;
	}

	/* サムネイル */
	.works_thumb {
		width: 100%;
	}
	.works_thumb img {
		width: 100%;
		height: 298px;
		object-fit: cover;
		font-family: 'object-fit: cover;'; /* IE対策 */
		box-shadow: 0 10px 15px -10px rgba(0,0,0,0.4);
	}

	/* 日付 */
	.works_date {
		font-size: 14px;
		margin-top: 0.5em;
	}

	/* タイトル */
	.works_title a {
		font-size: 18px;
		font-weight: 400;
		line-height: 1.5;
		display:block;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
	}
}



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

	.works_wrap {
		padding: 0 6vw;
	}
	.works_wrap ul {
		width: 100%;
	}
	.works_wrap ul li {
		margin-top: 12vw;
	}
	.works_wrap ul li:first-of-type {
		margin-top: 0;
	}

	/* サムネイル */
	.works_thumb {
		width: 100%;
	}
	.works_thumb img {
		width: 100%;
		height: 50vw;
		object-fit: cover;
		font-family: 'object-fit: cover;'; /* IE対策 */
		box-shadow: 0 10px 15px -10px rgba(0,0,0,0.4);
	}

	/* 日付 */
	.works_date {
		font-size: 3.2vw;
		margin-top: 0.5em;
	}

	/* タイトル */
	.works_title a {
		font-size: 4.5vw;
		font-weight: 400;
		line-height: 1.5;
		display:block;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		-webkit-text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
	}
}