/*
font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
font-family: "Noto Serif KR", serif;
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
	line-height: 1.6;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	vertical-align: top;
}
.clearfix::after {
	content: '';
	display: block;
	clear: both;
}
::selection {
    background: rgba(254,183,41,1);
    color: white;
    text-shadow: none;
}
::-moz-selection {
    background: rgba(254,183,41,1);
    color: white;
    text-shadow: none;
}
::-webkit-selection {
    background: rgba(254,183,41,1);
    color: white;
    text-shadow: none;
}

.hidden, .screen-reader-text {
	display: none;
}
.menu-item-has-children {
	cursor: pointer;
}
/*layout*/
html, body {
	height: 100%;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
}
.wrapper {
	width:100%;
	max-width: 1000px;
	padding:0 16px;
	margin: 0 auto;
}
div.content {
	min-height: calc(100% - 477px);
}
body.home div.content {
	height: 100%;
}
.front-content {
	width:100%;
	height:100%;
}
.inner-content {
	padding-top: 50px;
	padding-bottom: 227px;
}
/*font*/
body {
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
	font-weight:400;
	color:#202b31;
	font-size:16px;
}
.gn-hd {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.pg-hd {
	font-size:20px;
	font-weight:800;
	display: inline-block;
	margin-bottom: 60px;
	position: relative;
	box-sizing: border-box;
}

.bk-hd {
	font-family: "Noto Serif KR", serif;
	font-size:36px;
}
.post-hd {
	font-family: 'Noto Serif TC', "Noto Serif KR", serif;
	font-size:30px;
}
.cl-wh {
	color: white;
}
.cl-lgry {
	color: #ababab;
}
.cl-gry {
	color: #666;
}
.cl-bl {
	color: #0024b3;
}
.cl-yl {
	color: #feb729;
}
.sm-caption {
	font-size: 14px;
}
.post-content * {
	line-height: 1.9;
}
/*header*/

header.main {
	padding: 18px 0 47px;
}

.upper-header form, .mobile form {
	float: right;
	display: flex;
	width: 205px;
	height: 40px;
	border-radius: 20px;
	padding: 0 10px;
	border: silver solid 1px;
}
.mobile form  {
	float: none;
}
#s, #searchsubmit {
	outline: none;
	border: none;
	background: transparent;
}
#s {
	width:85%;
	padding-left: 10px;
}
#s::placeholder {
	color: #d0d0d0;
}
#searchsubmit {
	width: 15%;
	line-height: 40px;
	padding: 0;
	text-indent: -9999em;
	background: transparent url(../img/mg_icon.svg) no-repeat center center;
}
/*span.search-keyword {
	font-size: 35px;
}*/
h1.logo {
	text-align: center;
	margin: 42px 0 20px;
}
h1.logo a{
	text-indent: -999em;
	width: 219px;
	height: 23px;
	background-size: 219px 23px;	
	background: url(../img/logo.svg) no-repeat;
	display: inline-block;
}

nav .gnb {
	display: flex;
	flex-flow: row wrap;
	text-align: center;
	justify-content: center;
}
nav .gnb > li {
	width: 150px;
	position: relative;
	font-size: 18px;
	font-weight: 700;
	line-height: 47px;
	padding-bottom: 8px;
}
nav .gnb > li::after {
	content: '';
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	left: calc(50% - 3.5px);
	bottom: 1px;
	background: #beb8eb;
	z-index: 9999;
	transition: all 0.5s;
}
nav .gnb > li:hover::after, nav .gnb > li.current-menu-ancestor::after, nav .gnb > li.current-menu-item::after, nav .gnb > li.current-menu-parent::after, nav .gnb > li.current-w-tmnl-ancestor::after, nav .gnb > li.current-wo-tmnl-ancestor::after{
	transform: scale(2.5);
	background: linear-gradient(0deg, #beb8eb 0%, #beb8eb 50%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
}
nav .gnb > li a {
	display: inline-block;
	width: 100%;
}
.sub-menu {
	z-index: 1000;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	line-height: 40px;
	transform: scaleY(0);
	transform-origin: top;
	overflow: hidden;
	background: white;
	font-weight: 400;
	border-radius: 0 0 15px 15px;
	padding: 30px 0 20px;
	transition: all 0.7s;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
}

.gnb .sub-menu li {
	height: 43px;
	padding: 0 12px;
}

.sub-menu li a {
	display: inline-block;
	line-height: 35px;
	width: 100%;
	border-radius: 20px;
	font-weight: 300;
	transition: all 0.7s;
	box-sizing: border-box;
	background: rgba(190,184,235,0);
}
.sub-menu li a:hover{
	background: rgba(190,184,235,.3);
}

.sub-menu li.current-menu-item a, .sub-menu li.current-wo-tmnl-parent a, .sub-menu li.current-w-tmnl-parent a {
	background: rgba(190,184,235,.6);
}

.gnb > li:hover .sub-menu{
	transform: scaleY(1);
}



/*mobile nav*/
.mobile {
	display: none;
	background: white;
}
div.menu-bar {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
	align-items: center;
	padding: 16px;
	position: fixed;
	background: white;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100000;
}
.menu-bar::after{
	content:'';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 1px;
	background-image: linear-gradient(to bottom, #dbdbdb 0%, #dbdbdb 51%, transparent 51%);
    background-size: 100% 1px;
}
.mobile h1.logo {
	margin: 0;
	height: 19px;
}
.mobile h1.logo a {
	width: 180px;
	height: 19px;
}
.gnb-mobile {
	position: fixed;
	top: 57px;
	left: 0;
	right: 0;
	bottom: 100%;
	z-index: 100000;
	background: white;
	transition: all 0.5s ease-in-out;
	-webkit-transition-timing-function: ease-in-out;
	overflow: hidden;
}
.gnb-mobile.shown {
	bottom: 0;
}
.gnb-mobile .gnb {
	flex-flow: column wrap;
	align-content: center;
	padding-top: 20px;
}

.gnb-mobile .gnb .sub-menu {
	transform: none;
	position: static;
	padding: 0;
	margin-bottom: 20px;
	line-height: 27px;
}

.gnb-mobile .gnb .sub-menu:last-child {
	margin-bottom: 0;
}
.gnb-mobile .gnb > li::after {
	content:none;
}
.toggle-btn #toggle-top, .toggle-btn.active #toggle-ctr, .toggle-btn #toggle-btm {
	transition: all 0.35s;
}
.toggle-btn.active #toggle-top {
	transform-origin: 100% 0%;
	transform: translate(0, 5px) rotate(-29deg);
}
.toggle-btn.active #toggle-btm {
	transform-origin: 100% 100%;
	transform: translate(0, -5px) rotate(29deg);
}
.toggle-btn.active #toggle-ctr {
	opacity: 0;
}
#toggle {
	overflow: visible;
	padding: 2px;
	box-sizing: border-box;
	width: 25px;
}
.mobile-search {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
/*slider*/
.swiper-container {
	height: 100%;
	position: relative;
}
.main_slider {
	width: 100%;
	position: relative;
}
.slide {
	width: 100%;
	height: 100%;
}
.slide::before {
	content: '';
	position:absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left:0;
	bottom: 0;
	right: 0;
	background: rgb(0,0,.8);
	background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 100%);
}
.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slide_meta {
	position: absolute;
	right: 0;
	left: 0;
	top:0;
	bottom:0;
}

.slide_meta section {
	position: absolute;
	right: 5%;
	bottom: 20%;
	width: 50%;
}

.slide_meta section::before {
	content:'';
	position: absolute;
	width: 10px;
	height: 100%;
	right: 104%;
	background: #0024b3;
}

.slide_meta span {
	display: inline-block;
	margin: 10px 0 15px;
	font-weight: 700;
}

.slide_meta p {
	margin-bottom: 20px;
}

.slide_meta a {
	display: inline-block;
	padding: 0 20px;
	line-height: 35px;
	background: #beb8eb;
	border-radius: 20px;
	float: right;
}

.slider_nav_wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
}
.slider_nav {
	display: flex;
	width: 80%;
	justify-content: center;
}
span.swiper-pagination-bullet {
	display: inline-block;
	text-indent: -9999em;
	width: 16%;
	height: 3px;
	border-radius: 15px;
	background: white;
}
span.swiper-pagination-bullet-active {
	background: #beb8eb;
}

/*latest-posts*/
.latest-posts .pg-hd {
	margin: 40px 0 20px;
}
.latest-item {
	padding: 7px 0;
}
.latest-item:not(:last-child) {
	border-bottom: 0.8px solid lightgray;
}
.latest-item h4 {
	display: inline-block;
	/*border-bottom: 2px dotted #feb729;*/
}
.latest-item a {
	line-height: 1;
}
.latest-item h4 .sm-caption {
	font-weight:  400;
	display: inline-block;
	margin-right: 15px;
	vertical-align: middle;
	font-size: 0.7em;
	padding-bottom: 1px;
	color: gray;
}

/*footer*/
footer {
	background: #e0e0e0;
	padding: 32px 0 18px;
}

footer h2 {
	font-weight: 700;
}

footer address {
	margin: 20px 0;
}
footer address p {
	display: inline-block;
	margin-right: 20px;
}
footer address p:last-child {
	margin-right: 0;
}
footer address span {
	font-weight: 700;
}
p.copyright {
	line-height: 1.4;
}
/*thumbnail list*/

.thumb-list {
	width: 100%;
}
.thumb-item{
	width: 100%;
	height: 300px;
	margin-bottom: 16px;
	display: flex;
	align-items: flex-start;
	position: relative;
	overflow: hidden;
}
.thumb-item .thumb-holder {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.thumb-item img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.thumb-item-inner {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: flex-start;
	position: absolute;
	padding: 24px;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: rgba(0,0,0,.5);
	transition: all 0.8s
}
.thumb-item:hover .thumb-item-inner {
	/*background-color: rgba(0,36,179,.8);*/
	background-color: rgba(0,13,115,.8);
}
.thumb-item:last-child {
	margin-bottom: 0;
}
.thumb-item span {
	display: block;
}
.thumb-item h3 {
	font-size: 28px;
	line-height: 1.35;
}
.thumb-item p {
	padding: 0 10%;
}
.thumb-item .tag {
	font-weight: 700;
	margin-top: 12px;
	padding-top: 22px;
	position: relative;
}
.thumb-item .tag::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 5px;
	margin: 10px auto;
	background: #beb8eb;
}
/* .thumb-item .tag::after {
	content: '';
	display: block;
	width: 70px;
	height: 5px;
	margin: 10px auto;
	background: #beb8eb;
} */
.thumb-item .date {
	font-weight: 300;
	font-size: 0.9em;
	line-height: 1.2;
}


/*post list*/

.post-item {
	display: flex;
	align-items: center;
	min-height: 130px;
	padding: 20px 0;
	position: relative;
}
.post-item .tag {
	font-weight: bold;
}
.post-item .tag::after {
	content: '\00B7';
	display: inline-block;
	margin: 0 10px;
}
.post-item h3 {
	font-size: 20px;
	padding: 15px 0 3px;
}
.post-item::after {
	content: '';
	display: block;
	position: absolute;
	bottom:-2px;
	width: 45px;
	height: 2px;
	background: #beb8eb;
	transition: all 0.6s;
}
.post-item:hover::after {
	width: 50%;
}
.post-item:hover {
	background: rgba(190,184,235,.3);
	transition: all 0.6s;
}
.post-item-inner {
	padding: 0 7px;
}

/* article with banner */
.banner img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.banner p {
	text-align: right;
	line-height: 35px;
}
.banner p a {
	text-decoration: underline;
}
.post-meta-core {
	text-align: center;
}
.w-banner .post-hd {
	margin: 40px auto 16px;
}
.banner img {
	width: 100%;
	height: auto;
}
.banner p {
	text-align: right;
	line-height: 35px;
}
.post-date::after{
	content: '';
	display: block;
	width: 15%;
	height: 5px;
	margin: 20px auto 90px;
	background: #beb8eb;
}
.w-banner .inner-post-content > p:first-child::first-letter {
	font-size: 2em;
}
/*.inner-post-content p {
	text-indent: 24px;
}*/

.w-banner p:empty, .wo-banner p:empty, .meta-introduce p:empty {
	height: 1.4em;
}
.content figure {
	text-align: center;
	margin-top: 15px;
}
.content blockquote {
	text-align: left;
	width: 90%;
	margin: 0 auto;
	padding: 50px 0;
}
.wp-block-image img {
	max-width: 100%;
	height: auto;
}

.wp-block-image figcaption {
	font-size: 0.85em;
}
.gallery-width-control .blocks-gallery-grid {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
.w-banner h2 {
	font-family: "Noto Serif KR", serif;
	font-size:24px;
	margin: 40px 0 12px;
}
.origin {
	display: block;
	margin-bottom: 90px;
}
/*.inner-post-content > p:last-child {
	text-indent: 0;
}*/
.inner-post-content > p:last-child:not(:empty):after {
	content: "\e907";
	font-family: 'icomoon';
	display: inline-block;
	margin-left: 6px;
	color: #0024b3;
}

.post-content {
	margin: 0 auto;
	max-width: 800px;
}
.post-content strong, .meta-introduce strong {
	font-weight: 500;
}
.post-content h4, .post-content h5 {
	font-weight: 500;
	margin-bottom: 14px;
}
.post-content h4 {
	font-size: 1.2em;
	margin-top: 20px;
}
.post-content h6 {
	margin-top: 30px;
	font-size: 0.9em;
}
.wp-block-image {
	margin-bottom: 30px;
}
/*article without banner*/

.wo-banner .post-hd {
	margin: 0 auto 16px;
}
/*.post-tag {
	font-weight: 700;
}*/

.circle_btn {
	display: block;
	text-align: center;
	border-radius: 50%;
	line-height: 90px;
	width: 90px;
	width: 90px;
	border: 1px solid #a2bce0;
	color: #a2bce0;
	margin: 0 auto;
	transition: all 0.5s;
}
.circle_btn:hover {
	background: #a2bce0;
	color: #fff;
}
.post-content .circle_btn {
	margin-top: 80px; 
}
.ellipsis {
	margin-top: 20px;
}
/*book list*/
.book-list {
	display: flex;
	flex-flow: row wrap;
}

.book-item {
	width: 30%; /*mq*/
	margin-bottom: 50px;
}
.book-item:nth-child(3n-1) {
	margin-left: 5%;
	margin-right: 5%; /*mq*/
}
.book-item img {
	width: 100%;
	object-fit: cover;
	box-shadow: 5px 5px 11px -5px rgb(0,0,0,0.17);
}
.book-item h3{
	margin-top: 23px;
}
.book-item .writer {
	margin: 10px 0 7px;
}

/*book detail*/
.book-detail {
	display: flex;
	flex-flow: row wrap;
}
.book-detail .detail-img {
	width: 30%; /*mq*/
	position: sticky;
}
.book-detail .detail-img img {
	width: 100%;
	height: auto;
}
.book-detail .book-meta {
	width: 70%; /*mq*/
	padding-left: 10%;
}
.meta-core h1 {
	margin-bottom: 10px;
	display: inline-block;
}
.meta-introduce {
	margin: 60px 0 60px;
}
.book-meta span {
	display: block;
	font-weight: 700;
	margin-bottom: 25px;
	text-decoration: underline;
}
.book-meta .circle_btn {
	margin: 0 10px 0 0;
	display: inline-block;
}
.book-meta .circle_btn:last-child {
	margin-right: 0;
}


/*about*/
.about .post-hd {
	margin: 70px 0 5px;
}
.about .post-hd:fist-child {
	margin-top: 0;
}
/*.about ol {
	list-style: decimal;
	list-style-position: inside;
}*/
.about ol {
	font-weight: 700;
}
.about ol li ul{
	font-weight: 400;
	margin-top: 6px;
	margin-bottom: 40px;
	padding-left: 10px;
}
.about ol li ul li::before {
	content: "\e907";
	font-family: 'icomoon';
	display: inline-block;
	margin-right: 6px;
	color: #beb8eb;
}
.history {
	display: flex;
	flex-flow: row wrap;
}
.history div {
	padding: 10px 0;
}
.history .hi-date {
	width: 15%;
	position: relative;
}
.history .hi-content {
	width: 85%;
	padding-left: 10px; /*mq*/
}
.history .hi-date::before {
	content:'';
	display: block;
	position: absolute;
	top: 5px;
	width: 12px;
	height: 12px;
	background: #beb8eb;
	border-radius: 50%;
	z-index: -2;
	background: linear-gradient(180deg, #beb8eb 0%, #beb8eb 50%,rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
}

.about img {
	margin-top: 80px;
	width: 188px;
	height: auto;
}
/*place*/
#map {
	width: 100%;
	height: 600px;
}
.place p {
	margin-top: 30px;
}
/*footnote*/
.footnote_container_prepare > p > span:first-child {
	font-family: "Noto Serif KR", serif;
	padding-left: 0 !important;
	color: #ababab;
}
.footnote_container_prepare > p {
	border-bottom: none !important;
}
.footnote_references_container a{
	text-decoration: underline;
}


/*media query*/
@media screen and (max-width: 780px) {
	.main {
		display: none;
	}
	.mobile {
		display: block;
	}
	.content {
		margin-top: 57px;
	}
	.main_slider, .swiper-container, .swiper-slide {
		height: 600px;
	}
	.slide_meta section {
		bottom: 45px;
		width: 80%;
	}
	.thumb-item {
		height: 250px;
	}
	.thumb-item img {
		height: 250px;
	}
	.thumb-item h3 {
		font-size: 22px;
	}
	.post-item h3 {
		font-size: 22px;
	}
	.post-item-inner {
		padding: 0;
	}
	.book-item {
	width: 48%; /*mq*/
	margin-bottom: 50px;
	}
	.book-item:nth-child(3n-1) {
		margin: 0; /*mq*/
	}
	.book-list {
		justify-content: space-between;
	}
	#map {
		height: 300px;
	}
	.book-detail .detail-img {
		width: 100%; /*mq*/
		position: static;
	}
	.book-detail .book-meta {
		width: 100%; /*mq*/
		padding-left: 0;
	}
	.meta-core h1 {
		margin-top: 30px;
	}
	.mobile form {
		width: 50%;
	}

	.sub-menu li.current-menu-item a {
		width: inherit;
		border-radius: 0;
		padding: 0 10px;
		background: linear-gradient(0deg, rgba(190,184,235,1) 0%, rgba(190,184,235,1) 18%, rgba(190,184,235,0.7) 18%, rgba(190,184,235,0.7) 40%, rgba(190,184,235,0.3) 40%, rgba(190,184,235,0.3) 57%, rgba(190,184,235,0) 57%, rgba(190,184,235,0) 100%);
	}


}



/*pop up*/
div.pop-up {
	text-align: center;
	padding: 60px;
	padding-bottom: 160px;
	position: fixed;
	top: 25%;
	left: calc(50% - 179.5px);
	z-index: 9999999999;
	background: white;
	border: 10px solid #feb729;
}
@keyframes radius {
	0% {border-radius: 50%;}
	10% {border-radius: 8px;}
	25% {transform: rotate(15deg);}
	50% {transform: rotate(90deg);}
	75% {transform: rotate(180deg);}
	100% {border-radius: 50%;}
}
div.pop-up:after {
	content: '';
	display: block;
	position: absolute;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #feb729;
	bottom: 30px;
	left: calc(50% - 40px);
	z-index: -10;
	animation: radius 3s ease-in-out infinite alternate;
}
.pop-up h1 {
	background: url(../img/logo.svg) no-repeat;
	width: 219px;
	height: 23px;
	margin: 0 auto;
	text-indent: -9999em;
}
.pop-up p {
	font-size: 20px;
}

/*pagenavi*/
.wp-pagenavi {
	margin-top: 160px;
	text-align: center;
}
.wp-pagenavi > a, .wp-pagenavi > span {
	display: inline-block;
	padding: 10px;
	color: silver;
}
.wp-pagenavi .current {
	font-weight: bold;
	color: #beb8eb;
	text-decoration: underline;
}
.wp-pagenavi > a:hover {
	color: black;
	transition: all 0.4s;
}