button.close {
	color: #fff;
	display: block;
	right: 0;
	top: 0;
	position: absolute;
	padding: 10px;
}
* {box-sizing: border-box}
.slider1, .slider2, .slider3, .slider4, .slider5, .slider6, .slider7, .slider8, .slider9 {display: none}
img {vertical-align: middle;}


.slideshow-container {
	max-width: 1000px;
	position: relative;
	margin: auto;
}

.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	background-color: #515151;
}


.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}


.prev:hover, .next:hover {
	background-color: #f1f1f1;
	color: black;
}

.scrollMotion p {
	color: #000;
}

.scrollMotion p:before {
	background-color: #000;
}	
		
header .navWrap .logo {
	background: url(../img/logo_cpbcplus_d.svg) center center/cover no-repeat;
	width: 53px;
	height: 22px;
}

header .navWrap .btnWrap {
	display: flex;
	flex-direction: row;
}
button{
	cursor: pointer;
}
header .navWrap .btnWrap .shareBtn {
	margin-right: 10px;
	background: url(../images/shareBtn_d.svg) center center/cover no-repeat;
	width: 22px;
	height: 22px;
	border: 0;
}

header .navWrap .btnWrap .naviBtn {
	background: url(../images/naviBtn_d.svg) center center/cover no-repeat;
	width: 22px;
	height: 22px;
	border: 0;
}

header .navWrap .btnWrap .naviClose {
	background: url(../images/closeBtn.svg) center center/cover no-repeat;
	width: 22px;
	height: 22px;
	display: none;
	border: 0;  
}

header .navWrap .btnWrap img {
	width: 22px;
}
article section .innerWrap {
	font-size: 1.13rem;
	margin: 0 auto;
	text-align: left;
	max-width: 1080px;
	padding-bottom: 30px;	
}
.link a {
	text-decoration: none;
}
p {
	max-width: 1080px;
	text-align: left;
}
h3.Title {
	max-width: 100%;
	margin: 10px auto;
	letter-spacing: -1px;
	color: #b69b54;
	border-left: 5px solid #b69b54;
	padding-left: 10px;
}	
.outroWrap .innerWrap .naviWrap a.btnWrap {
	position: relative;
	width: 50%;
	height: 100px;
	margin: 50px 0;
}
.outroWrap .innerWrap .naviWrap a.btnWrap .title .titleInner h2 {
	margin: 0;
}
.footer .innerWrap{
	text-align: center;
}
.link {
	margin: 20px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 20px;
}
.titleWrap .center_wrap {
	top: 400px;
}
.timeline-text p {
	margin: 0 !important;
}

.history-wrap {
	max-width: 1080px;
	margin: 60px auto;
	padding: 0 20px;
}

.history-title {
	text-align: center;
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 50px;
	color:#b89d56;
}

.timeline {
	position: relative;
	padding: 20px 0;
}


.timeline::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 3px;
	height: 100%;
	background: #eeebeb;
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	width: 50%;
	padding: 20px 40px;
	margin-bottom: 30px;
}

.timeline-item.left p {
	text-align: right;
}

.timeline-item.left {
	left: 0;
	text-align: right;
}

.timeline-item.right {
	left: 50%;
	text-align: left;
}

.timeline-content {
	display: inline-block;
	max-width: 100%;
	border-radius: 16px;
	padding: 5px 11px;
	position: relative;
}

.timeline-year {
	font-size: 1.3rem;
	font-weight: 800;
	color: #b89d56;
	margin-bottom: 12px;
	margin-top: 6px;
}

.timeline-text {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #444;
}

.timeline-item::before {
	content: "";
	position: absolute;
	top: 32px;
	width: 18px;
	height: 18px;
	background: #b89d56;
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 4px #b89d56;
	z-index: 2;
}
.timeline-item.left::before {
  right: -13px;
}

.timeline-item.right::before {
  left: -13px;
}

.timeline-item.left .timeline-content::after {
	content: "";
	position: absolute;
	top: 28px;
	right: -10px;
	width: 20px;
	height: 20px;
	background: #fff;
	transform: rotate(45deg);
}

.timeline-item.right .timeline-content::after {
	content: "";
	position: absolute;
	top: 28px;
	left: -10px;
	width: 20px;
	height: 20px;
	background: #fff;
	transform: rotate(45deg);
}

.keyword-tags {
	display: flex;
	gap: 10px; 
	flex-wrap: wrap; 
	justify-content: center;
}

.kw-tag {
	display: inline-block;
	padding: 5px 12px;
	background-color: #f0f2f5; 
	color: #333; 
	border-radius: 20px; 
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease; 
	border: 1px solid #ddd; 
}

.kw-tag:hover {
	background-color: #e0e4e8;
	border-color: #ccc;
	transform: translateY(-2px); 
	cursor: pointer;
}


@media (min-width: 768px) and (max-width: 1080px){	
	article section.contentWrap .innerWrap {
        width: calc(100vw - 28px);
        margin: 0 auto;
    }
}


@media only screen and (max-width: 768px), (max-height: 380px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
        padding: 10px 0 10px 50px;
    }

    .timeline-item::before {
        left: 11px !important;
        right: auto;
    }

    .timeline-content {
        max-width: 100%;
        display: block;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -10px;
        right: auto;
    }
	.timeline-year,.timeline-text {
		text-align: left;
	}	
	.timeline-item.left p {
		text-align: left;
	}	 
		
}
@media (min-width: 481px) and (max-width: 767px){
	article section.contentWrap .innerWrap {
        width: calc(100vw - 28px);
        margin: 0 auto;
    }	
}	
@media (min-width: 200px) and (max-width: 480px){
	.titleWrap .center_wrap.episode_title img {
		width: 300px;
		margin: 0 0 -33px 0;
	}
	.episode_saint {
		text-align: center;
		background: #b89d56;
		padding: 45px 41px;
		width: 100%;
		position: relative;
		top: auto;
		min-height: 350px;		
	}
	.link{
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	
	.titleWrap .center_wrap {
		width: 100%;
		margin: 0 auto;
		top: 314px;
		transform: translate(-50%, -40%);
	}
	article section.contentWrap .innerWrap{
		width: calc(100vw - 28px);
		margin: 0 auto;		
	}
	blockquote {
		text-align: left;
		margin: 0 7px;
		padding: 20px;
	}	
	blockquote p {
		font-size: 1.0rem;
	}
	blockquote footer {
		padding-left: 0 !important;
		text-align:center;
	}	
}
