@charset 'UTF-8';

/*
 * dx_consultant_ex_styles.css
 * Version: 1.0.0
 * @package Plugin dx_consultant_ex
 * License: GPLv2 or later
 *
*/

/**
	画像サイズ
----------------------------------------------------- **/

.thumbnail-figure { max-width: 150px; }


/**
	ACF グーグルマップ
----------------------------------------------------- **/

.acf-map {
	width: 100%;
	height: 240px;
}


/** ----------------------------------------------------------
 * フッター関連
---------------------------------------------------------- **/

/**
	フッターコンタクト基本
----------------------------------------------------- **/

.foot-contact {
	text-align: center;
	padding: 40px 3%;
	position: relative;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.foot-contact.center-box { margin-bottom: 40px; }

.foot-contact:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.3);
}

.foot-contact,
.site-footer .foot-contact a:not(:hover),
.site-footer .foot-contact a:hover  { color: #fff; }

.foot-contact p {
	text-indent: 0;
	position: relative;
	z-index: 100;
}

.foot-contact a {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.25em;
	line-height: 1;
	display: inline-block;
	letter-spacing: 1px;
	border: 1px solid;
	padding: 0.4em 1em;
	margin-bottom: 0.5em;
}

.foot-contact a:hover {
	text-decoration: none;
	background: #ccc;
	border-color: #ccc;
}

@media screen and ( min-width: 728px )  {

	.foot-contact { padding: 80px 3%; }

	.foot-contact p {
		font-size: 24px;
		font-size: 1.5em;
	}
}

/** ----------------------------------------------------------
 * サイドバー関連
---------------------------------------------------------- **/

/* サイド バナーウィジェット
-----------------------------------*/

.bnrmenu_widg-container.widget-container {
	padding: 0;
	background: none;
}

.sidebanner-ul > li {
	margin: 1em auto 0;
	max-height: 80px;
}

.sidebanner-ul > li:first-child { margin-top: 0; }

/* 以下ブロックウィジェット共通 */

.widget_simpleimage {
	width: 300px;
	background: #ccc;
	position: relative;
}

.widget_simpleimage .widgettitle { display: none; }

.widget_simpleimage a:hover { text-decoration: none; }

.simple-image > a {
	text-align: right;
	display: block;
	position: relative;
}

.simple-image > a::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
}

.simple-image > a > img {
	width: auto;
	height: 80px;
}

.simple-image { position: relative; }


.simple-image a:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-filter: "alpha( opacity=100 )";
}

.widget_simpleimage {
	opacity: 1;
	-ms-transition: 0.5s;
	transition: 0.5s;
}

.widget_simpleimage:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}

.simple-image + p,
.widget_simpleimage p.more {
	position: absolute;
	width: 54%;
	left: 8px;
}

.simple-image + p {
	font-size: 13px;
	letter-spacing: 1px;
	top: 12px;
}

.widget_simpleimage .more {
	font-size: 17px;
	line-height: 1.2;
	text-shadow: 0 0 1px rgba( 0,0,0,0.5 );
	top: 56%;
	-webkit-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

/* フルサイズ 指定*/

@media screen and ( min-width: 641px ) {

	.width-full-widget .sidebanner-ul {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: calc( 600px + 3% );
		margin: 0 auto;
	}

	.width-full-widget .sidebanner-ul > li {
		margin-right: 0;
		margin-left: 0;
	}

	.width-full-widget .sidebanner-ul > li:not(:nth-child(2)) { margin-right: 3%; }

	.width-full-widget .sidebanner-ul > li:nth-child(2) { margin-top: 0; }
}

@media screen and ( min-width: 960px ) {

	.width-full-widget .sidebanner-ul {
		width: 100%;
	}

	.width-full-widget .sidebanner-ul > li:not(:nth-child(2)) ,
	.width-full-widget .sidebanner-ul > li:nth-child(2) { margin-right: calc( calc(100% - 900px) / 2 ); }

	.width-full-widget .sidebanner-ul > li:nth-child(3) {
		margin-top: 0;
		margin-right: 0;
	}
}

/** ----------------------------------------------------------
 * セミナーアーカイブ基本
---------------------------------------------------------- **/

.event-end-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.event-end-list > li {
	display: -ms-flexbox;
	display: flex;
}

.event-end-list > li:not(:last-child) {
	border-bottom: 1px dotted;
	margin-bottom: 16px;
	padding-bottom: 16px;
}

.event-end-list > li figure {
	width: 30%;
	margin: 0 1em 0 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
}

.end-semitit {
	font-size: 20px;
	font-size: 1.25rem;
	display: block;
}

/** ----------------------------------------------------------
 * 新着情報リスト 基本設定
---------------------------------------------------------- **/

.news-all-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.news-all-list > li {
	padding: 0.5em 1em 0.5em 0.5em ;
	border-bottom: 1px dotted;
	position: relative;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
}

.contents > .news-all-list li,
.content-bodywrap > .news-all-list li { margin: 0; }

.news-all-list > li:after {
	content: '';
	display: block;
	width: 0.8em;
	height: 0.8em;
	border-style: solid;
	border-width: 2px 2px 0 0;
	position: absolute;
	top: 50%;
	right: 0.5em;
	-ms-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}

.news-all-list .news-date,
.news-all-list .cat-links { display: inline-block; }

.news-all-list .news-date {
	font-size: 0.9em;
	min-width: 5.4em;
}

.news-all-list .cat-links {
	font-size: 0.8em;
	min-width: 7em;
}

.news-all-list .cat-links a {
	text-align: center;
	line-height: 1.1;
	display: block;
	padding: 0.2em 0.5em;
	border-radius: 2px;
	background: #999;
}

.news-all-list .cat-links a:hover {
	text-decoration: none;
	opacity:  0.8;
}

.news-all-list .title-link { display: block; }

@media screen and ( min-width: 641px )  {

	.news-all-list > li {
		padding: 0.8em 2em 0.8em 0.5em ;
		display: -ms-flexbox;
		display: flex;
		/*-ms-flex-align: center;
		align-items: center;*/
	}

	.news-all-list .title-link {
		-ms-flex: 1;
		flex: 1;
	}

	.news-all-list .cat-links { margin: 0 1em 0 0.3em; }
}

/** ----------------------------------------------------------
 * トップスライド テキスト
---------------------------------------------------------- **/

.slide-txtwrap {
	position: absolute;
	top: 48%;
	right: 0;
	left: 0;
	-webkit-transform: translate(0,-50%);
	-ms-transform: translateX(0) translateY(-50%);
	transform: translate(0,-50%);
}

.slide-txt-left .slide-txtinner,
.slide-txt-right .slide-txtinner { width: 90%; }

.slide-txt-left .slide-txtinner {
	text-align: left;
	margin: 0 auto 0 0;
}

.slide-txt-right .slide-txtinner {
	text-align: right;
	margin: 0 0 0 auto;
}

@media screen and ( min-width: 641px ) {

	.slide-txt-left .slide-txtinner,
	.slide-txt-right .slide-txtinner { width: 60%; }
}
