/*
 * ------------------------------------------------ Generic ----------
 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200&display=swap');
a:not(.btn), a:link:not(.btn) {
	color: #666666;
}
.fluid-box {
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #ccc;
}
.line-clamp-1 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.line-clamp-2 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.line-clamp-3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.line-clamp-4 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}
@media (min-width: 768px) {
	.dl-horizontal dt {
		float: left;
		width: 160px;
		overflow: hidden;
		clear: left;
		text-align: right;
		text-overflow: ellipsis;
		white-space: nowrap;
		padding-right: 1rem;
	}
	.dl-horizontal dd {
		margin-left: 160px;
	}
}
dt {
	font-weight: bold;
}
dt, dd {
	line-height: 1.42857143;
}
/*
* --------------------------------------------------- Body ----------
*/
html, body {
	height: 100%;
}
body {
	background-color: #f3f4f5;
}

/*
 * ------------------------------------------------- Button ----------
 */
button:focus {
	outline: none;
}

/*
 * ------------------------------------------------- Header ----------
 */
header {
	background-color: rgba(0, 0, 0, 0.8);
	height: 100px;
}
header a:not(.btn), a:link:not(.btn) {
	color: #FFFFFF;
}
header .humberger {
	cursor: pointer;
}
header .humberger .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
}
header .humberger .icon-bar + .icon-bar {
	margin-top: 6px;
}
header h1 {
	white-space: nowrap;
	overflow: hidden;
	text-indent: 100%;
	background-image: url(../img/logo-white-500x100.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	margin-bottom: 0 !important;
	max-width: 50vw;
}
header .navbar-collapse .dropdown-item:hover {
	background-color: rgba(255, 255, 255, 0.01);
}
header .navbar-collapse .dropdown-menu {
	background: rgb(51, 51, 51);
}
@media (max-width: 991px) {
	header .navbar-collapse {
		margin-left: 50vw;
		width: 50vw;
		position: absolute;
		top: 100px;
		background-color: rgba(0, 0, 0, 0.8);
		padding: 1rem;
	}
	header .navbar-collapse .dropdown-menu {
		background: transparent;
		border: 0;
	}
}

/*
 * ---------------------------------------------- Top Image ----------
 */
header + .main-image-container {
	margin-top: 100px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: rgba(255, 255, 255, 0.1);
	background-blend-mode: lighten;
	height: 30vh;
	font-family: 'Noto Serif JP';
	text-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
	margin-bottom: 1rem;
}
header + .main-image-container h2 {
	font-size: 1rem;
}
@media (min-width: 992px) {
	header + .main-image-container {
		height: 70vh;
	}
	header + .main-image-container h2 {
		font-size: 2rem;
	}
}

/*
 * ------------------------------------------------- Footer ----------
 */
footer {
	background-color: #333435;
	color: #fff;
	font-size: 0.9rem;
}
footer .copyright {
	font-size: 0.8em;
	text-align: center;
	padding: 1rem;
}
footer .navbar-nav {
	justify-content: center!important;
}
footer .navbar-nav a {
	color: #fff;
	padding: 0;
}
footer .navbar-nav .nav-item {
	text-align:center;
}
@media (min-width: 992px) {
	footer .navbar-nav .nav-link:after {
		display: inline-block;
		padding-left: .5rem;
		content: ' | ';
	}
	footer .navbar-nav .nav-item:last-child .nav-link:after {
		content: none;
	}
}

/*
 * --------------------------------------------------- Main ----------
 */
.breadcrumbs {
	margin-top: 100px;
	background-color: rgba(0, 0, 0, 0.85);
	margin-bottom: 1rem;
	color: #ccc;
	font-size: .8em;
	padding: .5em 0;
}
.breadcrumbs a {
	color: #ccc;
}
.breadcrumbs i {
	padding: 0 .5rem;
}
main {
	margin-bottom: 5rem;
}
main h2, main .h2 {
	margin: 4rem 0;
}
main h2:after, main .h2:after {
	content: '\A            ';
	white-space: pre;
	border-top: 2px #333 solid;
	font-size: .5em;
}
main .main-header {
	margin-top: -1rem;
	height: 30vh;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	font-family: 'Noto Serif JP';
	background-color: rgba(255, 255, 255, 0.1);
	background-blend-mode: lighten;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
	color: #fff;
	margin-bottom: 1rem;
}
main .main-header h1 {
	font-size: 1.5rem;
}
@media (min-width: 992px) {
	main .main-header h1 {
		font-size: 2.5rem;
	}
}
main .main-header h2:after {
	content: '';
	border-top: 0;
}

main img {
	max-width: 100%;
}
/*
 * --------------------------------------------------- Card ----------
 */
.card {
	margin-bottom: 2rem;
}
.card .card-img-top {
	position: relative;
	overflow:hidden;
	width: 100%;
	padding-top: 75%;
}
.card .card-img-top img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.2s all linear;
}
.card .card-body {
	transition: 0.2s all linear;
}
.card:hover {
	text-decoration: none;
}
.card:hover .card-img-top img {
	width: 105%;
}
.card:hover .card-body {
	opacity: .6;
}

/*
 * -------------------------------------------- Post Detail ----------
 */
.post-detail .title {
	margin: 3rem 0;
} 
.post-detail .meta {
	border-width: 1px 0;
	border-color: rgba(0, 0, 0, .25);
	border-style: solid;
	padding: 1rem;
	margin-bottom: 3rem;
}
.post-detail .eyecatch {
	height: 60vh;
	position: relative;
	margin-bottom: 3rem;
}
.post-detail .eyecatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * --------------------------------------------- Pagination ----------
 */
.pagination .number a {
	position: relative;
	display: inline-block;
	padding: .5rem .75rem;
	line-height: 1.25;
	border: 1px solid;
	color: #321fdb;
	background-color: #fff;
	border-color: #d8dbe0;
	margin-left: -1px;
	width: 2.5rem;
	text-align: center;
}
.pagination .number.current {
	position: relative;
	display: inline-block;
	padding: .5rem .75rem;
	line-height: 1.25;
	border: 1px solid;
	background-color: #321fdb;
	color: #fff;
	border-color: #321fdb;
	margin-left: -1px;
	width: 2.5rem;
	text-align: center;
}
.pagination .prev {
	position: relative;
	display: inline-block;
	padding: .5rem .75rem;
	line-height: 1.25;
	border: 1px solid;
	color: #321fdb;
	background-color: #fff;
	border-color: #d8dbe0;
	margin-left: -1px;
	text-align: center;
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem;
}
.pagination .prev.disabled,
.pagination .next.disabled {
	color: #d8dbe0;
}
.pagination .next {
	position: relative;
	display: inline-block;
	padding: .5rem .75rem;
	line-height: 1.25;
	border: 1px solid;
	color: #321fdb;
	background-color: #fff;
	border-color: #d8dbe0;
	margin-left: -1px;
	text-align: center;
	border-top-right-radius: .25rem;
	border-bottom-right-radius: .25rem;
}
/*
 * --------------------------------------------------- Home ----------
 */
#Home main .topics-container {
	margin: 5rem 0;
}
#Home main .topics-container h2 {
	text-align: center;
	line-height: 1;
}
@media (min-width: 992px) {
	#Home main .topics-container h2 {
		margin: 0;
		margin-right: 1em;
	}
	#Home main .topics-container h2:after {
		content: '';
	}
	#Home main .topics-container h2 span {
		display: inline-block;
		writing-mode: vertical-rl;
	}
}
#Home main .topics-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#Home main .topics-container ul li a,
#Home main .topics-container ul li > span {
	margin-bottom: 5rem;
	color: #333;
}
#Home main .topics-container ul li a:hover {
	text-decoration: none;
	color: #000;
}
#Home main .topics-container .img-box {
	position: relative;
	overflow:hidden;
	width: 100%;
	padding-top: 100%;
	margin-bottom: 1rem;
}
#Home main .topics-container .img-box img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.2s all linear;
}
#Home main .topics-container ul li h3 {
	font-size: 1.2rem;
}
#Home main .topics-container ul li .date {
	font-family: 'Montserrat';
	font-weight: 200;
	font-size: .9rem;
}
#Home main .topics-container .more {
	margin: 0;
	margin-left: 1em;
	white-space: nowrap;
	font-family: 'Montserrat';
	font-size: .8rem;
	text-align: center;
}
#Home main .topics-container .more a {
	transition: .2s all linear;
}
#Home main .topics-container .more a:hover .circle-icon {
	border-color: rgba(0, 0, 0, .3);
}
#Home main .topics-container .more .circle-icon {
	display: block;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 20px;
	margin: 0 auto;
}
#Home main .topics-container .more .circle-icon i {
	display: inline-block;
	width: 100%;
	text-align: center;
	line-height: 40px;
	color: rgba(0, 0, 0, .3);
}
