@charset "utf-8";
/* CSS Document */

/*@import url('https://googleapis.com');*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Jamie Oh! bold';
    src: url('\Jamie-Oh__bold.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}
@font-face {
    font-family: 'Jamie Oh! normal';
    src: url('\Jamie-Oh__normal.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}
@font-face {
    font-family: 'Jamie Oh! thin';
    src: url('Jamie-Oh__thin.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}

body {
	font-family: 'Noto Sans KR', 'Noto Sans JP','Noto Sans', sans-serif;
	font-weight: 350;
    margin: 0px;
	padding: 0px;
	color: #132b64;
	background-color: #f4f2f0;
	/*background-color: #ebeef0;*/
}
section {padding-bottom: 200px;}

a {text-decoration: none; color: inherit;}
a:visited {text-decoration: none;}
a:hover {color: #f7a98a;}


.box {
	height: 100%;
	padding-left: 40px;
	padding-right: 30px;
	margin-bottom: 10px;
	margin-top: 125px;
	position: fixed;
}
@media (max-width : 768px){
	.box{
		display: none;
		margin-top: 90px;
		padding-left: 20px;
		background-color: #09183b;
		opacity: 0.8;
	}
}


.category {
	color: #09183b;
	font-size: 19px;
	text-align: left;
	margin-top: 40px;
	font-weight: 500;
}
@media (max-width : 768px){
	.category{
		font-size: 18px;
		color: ghostwhite;
	}
}

ul {
	list-style: none;
	text-align: left;
	padding: 0px;
	font-size: 17px;
	font-weight: 240;
}
li {
	margin-bottom: 6px;
}
@media (max-width : 768px){
	li{
		font-size: 16px;
		color: white;
	}
}

#openMenu{
    display: none;
}
@media (max-width: 768px) {
    #openMenuLabel {
        display: block;
        position: absolute;
		margin-left: 700px;
        margin-right: 24px;
        margin-top: 30px;
        width: 25px;
        height: 18px;
        cursor: pointer;
    }
    #openMenuLabel span {
        display: block;
        position: absolute;
        width: 100%;
        height: 1.5px;
        border-radius: 10px;
        background: black;
    }
	#openMenuLabel span:nth-child(1) {
        top: 0;
    }
    #openMenuLabel span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    #openMenuLabel span:nth-child(3) {
        bottom: 0;
    }	
	#showMenu {
		width:100%;
        height: 100%;
		margin-top: 90px;
		padding-left: 20px;
		padding-right: 30px;
		background-color: #09183b;
		opacity: 0.8;
        position: fixed;
        transition: .6s;
    }
	#openMenu:checked ~ #showMenu {
        background-color: #09183b;
        top:0px;
		right: 0px;
        width: 300px;
        height: 100%;
        z-index: 3;
    }
	#openMenuLabel::after {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        display: none;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(2px);
    }
	#openMenu:checked ~ #openMenuLabel::after {
        display: inline;
        z-index: 2;
    }
	#menuButtons {
        position: absolute;
        display: block;
        width: 100%;
    }
}


.grid {
	text-align: center;
	width: calc(100% - 290px);
	margin-left: 290px;
	padding-top: 150px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	place-items: center;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-row: minmax(100px, auto);
	gap: 35px 25px;
	color: #09183b;
}

img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;  
}
.thumb {
    height: 205px;
	margin-bottom: 10px;
    overflow: hidden;
}

.thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.12s linear;
}
.Item1, .Item2, .Item3,
.Item4, .Item5, .Item6,
.Item7, .Item8, .Item9 {
    flex-basis: 350px;
}

.Item1:hover .thumb img,
.Item2:hover .thumb img,
.Item3:hover .thumb img,
.Item4:hover .thumb img,
.Item5:hover .thumb img,
.Item6:hover .thumb img,
.Item7:hover .thumb img,
.Item8:hover .thumb img,
.Item9:hover .thumb img {
    transform: scale(1.1);
}

/* grid-column, grid-row, order는 각자 값이 달라서 따로 유지 */
.Item1 {grid-column: 1/2; grid-row: 1/2; order:12;}
.Item2 {grid-column: 2/3; grid-row: 1/2; order:11;}
.Item3 {grid-column: 3/4; grid-row: 1/2; order:10;}
.Item4 {grid-column: 1/2; grid-row: 2/3; order:9;}
.Item5 {grid-column: 2/3; grid-row: 2/3; order:8;}
.Item6 {grid-column: 3/4; grid-row: 2/3; order:7;}
.Item7 {grid-column: 1/2; grid-row: 3/4; order:6;}
.Item8 {grid-column: 2/3; grid-row: 3/4; order:5;}
.Item9 {grid-column: 3/4; grid-row: 3/4; order:4;}

@media screen and (max-width:768px) {
	.grid{
		width: 310px;
		grid-template-columns: repeat(1, 1fr);
	    grid-auto-row: minmax(66px, auto);
	    gap: 30px 20px;
		font-size: 14px;
    	padding-top: 100px;
	}
	.Item1 {grid-column: 1/2; grid-row: 1/2; flex-basis: 300px; order:12;}
    .Item2 {grid-column: 2/3; grid-row: 1/2; flex-basis: 300px; order:11;}
    .Item3 {grid-column: 3/4; grid-row: 1/2; flex-basis: 300px; order:10;}
    .Item4 {grid-column: 4/5; grid-row: 1/2; flex-basis: 300px; order:9;}
    .Item5 {grid-column: 5/6; grid-row: 1/2; flex-basis: 300px; order:8;}
    .Item6 {grid-column: 6/7; grid-row: 1/2; flex-basis: 300px; order:7;}
    .Item7 {grid-column: 7/8; grid-row: 1/2; flex-basis: 300px; order:6;}
    .Item8 {grid-column: 8/9; grid-row: 1/2; flex-basis: 300px; order:5;}
    .Item9 {grid-column: 9/10; grid-row: 1/2; flex-basis: 300px; order:4;}
}

#wrap {
	min-height:100vh;
	width:100%;
	position: relative;
}

.header {
	width: 100%;
	/*padding-bottom: 50px;*/
	/*padding-top: 60px;*/
	margin-left: 25px;
	position: fixed;
	color: #09183b;
	font-size: 30px;
	text-align: left;
}
.header img {
	display: block;
	width: auto;
	height: 170px;
	max-width: 300px;
}
@media (max-width: 768px) {
	.header {
		height: 1px;
	    padding-top: 30px;
    	padding-left: 20px;
		opacity: 0.8;
		font-size: 25px;
		padding-bottom: 60px;
	}
}

.title {
	display: inline-block;
}
.title a {
	display: inline-block;
}

/*footer {
	width: 100%;
	height: 120px;
	bottom: 0px;
	padding-top: 28px;
	padding-bottom: 4px;
	position: absolute;
	background-color: #09183b;
	color: white;
	text-align: left;
	font-size: 12px;
	opacity: 0.8;
}
footer img {
	display: block;
	width: 100px;
	height: auto;
	max-width: 100%;
}
@media (max-width:768px) {
	footer {
		height: 75px;
		font-size: 12px;
		padding-top: 0px;
	}
}

.right-footer {
	width: 49%;
	float: right;
	align-items: center;
}
@media (max-width:768px) {
	.right-footer {
		padding-top: 1px;
	}
}

.left-footer {
	width: 49%;
	font-size: 55px;
	font-family: 'Jamie Oh! bold';
	float: left;
	bottom: 12px;
	display: flex;
	justify-content: flex-end;
}
@media (max-width:768px) {
	.left-footer {
		font-size: 45px;
		padding-top: 16px;
	}
}*/
footer {
	width: 100%;
	height: 120px;
	bottom: 0px;
	padding-top: 28px;
	padding-bottom: 4px;
	position: absolute;
	background-color: #09183b;
	color: white;
	text-align: left;
	font-size: 12px;
	opacity: 0.8;
}
footer img {
	display: block;
	width: 100px;
	height: auto;
	max-width: 100%;
}
@media (max-width:768px) {
	footer {
		bottom: 0px;
		height: 75px;
		font-size: 8px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	footer img {
		width: 60px;
	}
}

.right-footer {
	width: 49%;
	float: right;
	align-items: center;
}

.left-footer {
	width: 49%;
	font-size: 55px;
	font-family: 'Jamie Oh! bold';
	float: left;
	bottom: 12px;
	display: flex;
	justify-content: flex-end;
}
@media (max-width:768px) {
	.left-footer {
		font-size: 45px;
		bottom: 10px;
	}
}

.text-list {
	text-align: left;
	margin-left: 290px;
	padding-top: 150px;
	width: calc(100% - 290px);
	display: flex;
	/*flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;*/
}
.text-chapter {
	color: #09183b;
	font-size: 19px;
	margin-top: 40px;
	font-weight: 450;
}
.text-title {
	font-size: 15px;
	margin-top: 40px;
	font-weight: 300;
}
hr {
  border: none;              /* 기본 입체 효과 제거 */
  height: 1px;               /* 선의 두께 */
  background-color: #132b64; /* 선의 색상 */
  margin: 20px;            /* 위아래 여백 */
  width: 50%;
}