@charset "UTF-8";

/*!
Theme Name: Vivit Game
Template:   cocoon-master
Version:    1.1.0
*/

/* common */
.mt1 { margin-top: 1em; }
.mt2 { margin-top: 2em; }
.mt3 { margin-top: 3em; }

.mr1 { margin-right: 1em; }

.ml1 { margin-left: 1em; }

.mb1 { margin-bottom: 1em; }
.mb2 { margin-bottom: 2em; }
.mb3 { margin-bottom: 3em; }

.w10 { width: 10%; }
.w13 { width: 13%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w33 { width: 33%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }

.flex {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
}

.wc3 {
	width: 33.33%;
	width: -webkit-calc(100% / 3);
	width: -moz-calc(100% / 3);
	width: calc(100% / 3);
}

.wc4 {
	width: 25%;
	width: -webkit-calc(100% / 4);
	width: -moz-calc(100% / 4);
	width: calc(100% / 4);
}

.wc5 {
	width: 20%;
	width: -webkit-calc(100% / 5);
	width: -moz-calc(100% / 5);
	width: calc(100% / 5);
}

.wc6 {
	width: 16.66%;
	width: -webkit-calc(100% / 6);
	width: -moz-calc(100% / 6);
	width: calc(100% / 6);
}

.wc7 {
	width: 14.28%;
	width: -webkit-calc(100% / 7);
	width: -moz-calc(100% / 7);
	width: calc(100% / 7);
}

.font-small { font-size: 0.7rem; }
.font-normal { font-weight: normal !important; }

.left { float: left; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.red-under,
.marker-under {
	font-weight: bold;
}

.gray {
	color: #777;
}

/* ads */
.ads-label {
	font-size: 15px;
	text-align: center;
	color: #888;
}

/* icon font */
i.fa { margin-right: 0.3em; }

/* header */
.header {
	background: #fff;
}

.navi {
	border: 1px solid #dcdcdc;
}

.site-name-text {
	font-size: 35px;
}

.logo,
.tagline {
	text-align: left;
}

.tagline {
	margin-bottom: 0;
	padding-left: 28px;
}

.logo-text {
	padding: 0px 0px 10px 28px;
}

.header .logo-text:before {
	position: relative;
	top: -6px;
	margin-right: 5px;
	content: "";
	display: inline-block;
	background-image: url("./images/logo_mini.png");
	background-size: contain;
	vertical-align: middle;
	width: 64px;
	height: 64px;
}

.toc{
	display: block;
	width: 80%;
	padding: 20px 25px;
	border: none;
	border-top: 5px solid;
	border-top-color: #6495ed;
	box-shadow: 0 2px 2px rgba(0,0,0,0.2);
	background: #f9f9f9;
}

.toc-title {
	text-align: left;
	margin: 0 20px 8px -16px;
	padding-left: -20px;
	font-size: 18px;
	font-weight: 700;
	color: #6495ed;
}

.toc-title:before {
	top: 0;
	left: -45px;
	width: 50px;
	height: 50px;
	margin-right: 5px;
	padding: 8px;
	font-family: FontAwesome;
	content : "\f0ca";
	font-size: 16px;
	color: #fff;
	background-color: #6495ed;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}

.toc-content ol {
	padding: 0 0.5em;
	position: relative;
}

.toc-content ol li {
	line-height: 1.5;
	padding: 0.7em 0 0.5em 1.4em;
	border-bottom: dashed 1px silver;
	list-style-type: none !important;
}

.toc-content ol li:last-of-type {
	border-bottom: none;
}

.toc-content .toc-list li {
	font-weight: 700;
}

.toc-content .toc-list > li:before {
	font-family: FontAwesome;
	content: "\f138";
	position: absolute;
	left : 0.5em;
	color: #6495ed;
}

.toc-content .toc-list li li {
	padding-left: 0;
	font-weight: normal;
}

/* index */
.ect-vertical-card .entry-card-wrap {
	width: 49%;
	margin-top: 12px;
}

.sidebar,
.main {
	box-shadow: 5px 5px 18px #e6e6e6, -5px -5px 18px #ffffff;
}

.frontpage-box,
.front-page-box .box-item,
.a-wrap {
	box-shadow: 2px 2px 6px #dbdbdb, -2px -2px 6px #ffffff;
}

.blogcard-wrap,
.frontpage-box,
.list .a-wrap {
	background: #f5f8fa;
}


/* front page */
.frontpage-box {
	padding: 8px;
}

.front-page-box .box-item {
	width: 33%;
	width: -webkit-calc(100% / 3 - 2px);
	width: -moz-calc(100% / 3 - 2px);
	width: calc(100% / 3 - 8px);
	margin-right: 8px;
	margin-bottom: 15px;
	box-sizing: border-box;
}

.front-page-box .box-item h3 {
	border: 0;
	margin: 0;
	padding: 0.5rem;
	text-align: center;
	font-size: 16px;
	color: #757575;
}

.front-page-box .box-item a {
	text-decoration: none;
}

.front-page-box .box-item h3:hover {
	text-decoration: underline;
	color: #1967d2;
}

.article h2,
.article .h2-front-style {
	position: relative;
	padding: 0.5rem 1.5rem;
	color: #fff;
	background-color: #1976d2;
}

.article h2::before,
.article h2::after,
.article .h2-front-style::before,
.article .h2-front-style::after {
	position: absolute;
	top: 100%;
	content: '';
	border: none;
	border-bottom: solid 15px transparent;
}

.article h2::before,
.article .h2-front-style::before {
	left: 0;
	border-right: solid 16px #01579b;
}

/* news feed */
.news-feed-box {
	position: relative;
	margin: 2em 0;
	padding: 0.5em 1em;
	border: solid 2px #90caf9;
	border-radius: 4px;
}

.news-feed-box .box-title {
	display: inline-block;
	position: absolute;
	top: -8px;
	left: 10px;
	padding: 0 9px;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;
	background: #fff;
	color: #e57373;
}

.news-feed {
	list-style: none;
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding-left: 1rem;
}

.news-feed a {
	color: #333;
	text-decoration: none;
}

.news-feed a:hover {
	color: #1967d2;
}

.news-feed li {
	border-bottom: dashed 1px silver;
}

.news-feed li::before {
	font-family: FontAwesome;
	content: "\f138";
	position: absolute;
	left: 0.6em;
	color: #90caf9;
}

.news-feed li span {
	padding: 0px 3px;
	margin-left: 0.4rem;
	font-size: 0.7rem;
	border-radius: 3px;
	color: #fff;
}

.news-feed .new span {
	background: #81c784;
}

.news-feed .new:first-child span {
	background: #f44336;
}

.news-feed .update span {
	background: #ffb74d;
}

/* content */

figcaption {
	text-align: center;
	font-size: 13px;
	color: #696969;
}

.main {
	padding: 9px 29px;
}

.entry-content {
	margin-top: 0;
}

.ect-vertical-card.ect-tile-card .card-snippet {
	min-height: 90px;
}

.article h3 {
	border-color: #1976d2;
}

img:hover {
	opacity: 0.9;
	filter: alpha(opacity=90);
	-moz-opacity: 0.9;
	-ms-filter: "alpha(opacity=90)";
}

.entry-categories-tags {
	margin-top: 20px;
}

.info-box,
.sp-info,
.info {
	border: 1px solid #01579b;
	border-radius: 2px;
	background: #fff;
}

ul.info-box {
	padding-left: 2em;
}

ol.info-box {
	counter-reset: my-counter;
	list-style: none;
}
 
ol.info-box li {
	margin-bottom: 10px;
	padding-left: 30px;
	position: relative;
}

ol.info-box li:before {
	content: counter(my-counter);
	counter-increment: my-counter;
	background: #01579b;
	color: #fff;
	display: block;
	float: left;
	line-height: 22px;
	margin-top: 4px;
	margin-left: -30px;
	text-align: center;
	height: 22px;
	width: 22px;
	border-radius: 50%;
}

.liststyle-none {
	list-style: none;
	padding-left: 0;
}

.source .badge {
	background: #999;
}

.source a {
	font-size: 12px;
	color: #999;
}

/* Toggle Box */

.toggle-button {
	border: 1px solid #90caf9;
	border-radius: 2px;
	background: #b3e5fc;
}

.toggle-checkbox:checked ~ .toggle-content {
	padding: 0 1em;
	border: 1px solid #90caf9;
}

.toggle-button::before {
	color: #333;
}

/* Video */
.video-container {
	margin: 0 auto;
}

/* sidebar */
.sidebar {
	color: #333;
}

.sidebar h3 {
	position: relative;
	padding: 0 0 0.5rem;
	background: #fff;
	color: #333;
}

.sidebar h3:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	content: '';
	border-radius: 3px;
	background-image: -webkit-gradient(linear, right top, left top, from(#64b5f6), to(#1976d2));
	background-image: -webkit-linear-gradient(right, #64b5f6 0%, #1976d2 100%);
	background-image: linear-gradient(to left, #64b5f6 0%, #1976d2 100%);
}

.menu-close-button {
	color: #333;
}

.widget .recent-comment-article,
.widget .recent-comment-date {
	font-size: 13px;
	color: #555;
}

.widget .recent-comment-article {
	margin-top: 0.5rem;
}

/* pagination */
.pagination-next-link {
	box-shadow: 2px 2px 6px #888;
	border: 1px solid #0d47a1;
	background: #0d47a1;
	color: #fff;
}

.pagination-next-link:hover {
	opacity: 0.8;
	background: #0d47a1;
	color: #fff;
}

.pagination .current {
	background: #eceff1;
}

.go-to-top .go-to-top-button {
	background: #1976d2;
}

/************************************
** Comment
************************************/

.comment-form-email,
.comment-form-url,
.comment-notes {
	display: none;
}

.comment-form .form-submit {
	margin-top: 1rem;
}

/************************************
** Modified Post
************************************/

.modified_post > div {
	margin-bottom: 16px;
	border-bottom: 1px solid #777;
}

.modified_post .modified_date {
	margin: 0 0 16px 0;
	font-size: 12px;
	color: #777;
}

.modified_post a {
	text-decoration: none;
	color: #333;
}

/************************************
** Table
************************************/

.top-center tbody td:first-child {
	text-align: center;
}

.top-bold tbody td:first-child {
	font-weight: bold;
}

.scroll {
	overflow-x: auto;
}

.article table ul {
	margin-bottom: 0;
	padding-left: 16px;
}

.article table ul.mb {
	margin-bottom: 1rem;
}

table ul li {
	list-style: none;
}


/************************************
** Custom
************************************/

.bg-gold {
	background: #ffeb3b;
}

.bg-purple {
	background: #d500f9;
}

.bg-blue {
	background: #2196f3;
}

.bg-green {
	background: #66bb6a;
}

.troops {
	text-align: center;
}

.troops .troops-place {
	display: inline-block;
}

.troops .troops-place p {
	margin: 0;
	font-weight: bold;
}

.troops .unit-place {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border: 1px solid #f5f5f5;
	float: left;
	margin: 3px;
}

.troops .unit-place .place-no {
	display: block;
	font-weight: bold;
	color: #fff;
	font-size: 22px;
}

.troops .defence .unit-place {
	background: #4169e1;
}

.troops .offense .unit-place {
	background: #f08080;
}

.troops .unit-place.dead {
	background: #464646;
}

.troops .unit-place.moribund {
	background: #ff9800;
}

/************************************
** Media Query
************************************/

/* 1023px以下 */
@media screen and (max-width: 1023px) {

	.mobile-menu-buttons {
		background: #01579b;
	}

	.mobile-menu-buttons .menu-icon,
	.mobile-menu-buttons .menu-button,
	.mobile-menu-buttons .menu-caption {
		color: #fff;
		font-weight: bold;
	}

	.mobile-menu-buttons .menu-button:hover {
		background: #01579b;
	}

}

/* 834px以下 */
@media screen and (max-width: 834px) {

	/* header */
	.logo,
	.tagline {
		text-align: center;
	}

	.logo-text,
	.tagline {
		padding-left: 0;
	}

	#header .site-name-text {
		font-size: 35px;
	}

	ol li {
		padding-left: 0;
	}

	ol.info-box {
		padding-left: 2.5em;
	}

}

/* 480px以下 */
@media screen and (max-width: 480px) {

	.sidebar,
	.main {
		box-shadow: 5px 5px 18px -5px #e6e6e6, -5px -5px 18px -5px #ffffff;
	}

	#header .site-name-text {
		font-size: 24px;
		font-weight: bold;
	}

	.header .logo-text:before {
		top: -8px;
	}

	.toc {
		width: 100%;
	}

	.article ul.news-feed {
		padding-left: 15px;
		font-size: 15px;
	}

	ol.info-box li {
		padding-left: 0;
	}

	.front-page-box .box-item h3 {
		font-size: 15px;
	}

}
