* {
box-sizing: border-box;
}

html {
margin: 0;
padding: 0;
font-size: 16px;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background: #ffffff;
color: #172326;
font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
line-height: 1.65;
}

a {
color: inherit;
text-decoration: none;
}

img {
display: block;
max-width: 100%;
height: auto;
}

.header {
background: #ffffff;
border-bottom: 1px solid #dce8e8;
}

.inner {
width: min(1120px, calc(100% - 36px));
margin: 0 auto;
}

.header .inner {
height: 78px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

.logo {
display: flex;
align-items: center;
flex: 0 0 auto;
}

.logo a {
display: flex;
align-items: center;
}

.logo img {
display: block;
}

.menu {
display: block;
}

.menu ul {
display: flex;
align-items: center;
gap: 18px;
margin: 0;
padding: 0;
list-style: none;
}

.menu li {
margin: 0;
padding: 0;
}

.menu a {
position: relative;
display: block;
padding: 8px 0;
font-size: 15px;
font-weight: 800;
letter-spacing: -0.025em;
color: #415052;
}

.menu a::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: #167c80;
transform: scaleX(0);
transform-origin: left center;
transition: transform 0.18s ease;
}

.menu a:hover {
color: #167c80;
}

.menu a:hover::after {
transform: scaleX(1);
}

.menu a[aria-current="page"] {
color: #167c80;
}

.menu a[aria-current="page"]::after {
transform: scaleX(1);
}

.burger {
display: none;
width: 42px;
height: 42px;
margin: 0;
padding: 0;
border: 0;
background: #ffffff;
cursor: pointer;
}

.burger span {
display: block;
width: 22px;
height: 2px;
margin: 5px auto;
border-radius: 2px;
background: #167c80;
}

.content {
width: min(1120px, calc(100% - 36px));
margin: 0 auto 66px;
background: #ffffff;
}

.post {
margin: 0;
padding: 0;
background: #ffffff;
}

.post-header {
margin: 0;
padding: 38px 0 30px;
background: #ffffff;
}

.post-title {
position: relative;
margin: 0;
padding: 0;
font-size: 38px;
line-height: 1.22;
font-weight: 900;
letter-spacing: -0.06em;
color: #172326;
}

.post-title::before {
display: block;
margin: 0 0 11px;
font-size: 12px;
line-height: 1;
font-weight: 900;
letter-spacing: 0.14em;
color: #167c80;
}

.post-title::after {
content: "";
display: block;
width: 76px;
height: 3px;
margin-top: 17px;
background: #167c80;
}

.post-list {
margin: 0 0 50px;
padding: 0;
background: #ffffff;
border-top: 1px solid #dce8e8;
}

.item-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0;
margin: 0;
padding: 0;
list-style: none;
background: #ffffff;
border-left: 1px solid #dce8e8;
}

.item-list li {
display: flex;
flex-direction: column;
min-width: 0;
background: #ffffff;
border-right: 1px solid #dce8e8;
border-bottom: 1px solid #dce8e8;
}

.item-list li > a:first-child {
display: block;
padding: 18px 18px 0;
background: #ffffff;
overflow: hidden;
}

.item-list li > a:first-child img {
width: 100%;
aspect-ratio: 2 / 1;
object-fit: cover;
transition: transform 0.22s ease;
}

.item-list li > a:first-child:hover img {
transform: scale(1.025);
}

.item-list strong {
display: block;
margin: 0;
padding: 18px 18px 10px;
font-size: 20px;
line-height: 1.35;
font-weight: 900;
letter-spacing: -0.045em;
color: #172326;
word-break: keep-all;
}

.item-list span {
display: block;
margin: 0;
padding: 0 18px;
font-size: 14px;
line-height: 1.56;
letter-spacing: -0.025em;
color: #526164;
word-break: keep-all;
}

.item-list span + span {
margin-top: 5px;
margin-bottom: 7px;
}

.item-list li > a:last-child {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius:5px;
margin: auto 18px 18px;
padding: 10px 16px;
background: #167c80;
color: #ffffff;
font-size: 14px;
font-weight: 900;
letter-spacing: -0.025em;
}

.item-list li > a:last-child::after {
content: ">";
font-size: 15px;
font-weight: 900;
line-height: 1;
}

.item-list li > a:last-child:hover {
background: #0f5e61;
color: #ffffff;
}

.post-content {
margin: 0;
padding: 0;
background: #ffffff;
}

.content-view {
background: #ffffff;
border-top: 2px solid #172326;
padding: 38px 0 0;
font-size: 17px;
line-height: 1.82;
color: #303c3f;
word-break: keep-all;
overflow-wrap: break-word;
}

.content-view h2 {
position: relative;
margin: 48px 0 20px;
padding: 0 0 16px;
border-bottom: 1px solid #dce8e8;
font-size: 27px;
line-height: 1.36;
font-weight: 900;
letter-spacing: -0.055em;
color: #172326;
}

.content-view h2:first-child {
margin-top: 0;
}

.content-view h2::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 74px;
height: 3px;
background: #167c80;
}

.content-view h3 {
position: relative;
margin: 34px 0 14px;
padding-left: 18px;
font-size: 21px;
line-height: 1.42;
font-weight: 900;
letter-spacing: -0.045em;
color: #172326;
}

.content-view h3::before {
content: "";
position: absolute;
left: 0;
top: 0.37em;
width: 5px;
height: 1.1em;
background: #167c80;
}

.content-view p {
margin: 0 0 17px;
}

.content-view ul {
margin: 16px 0 28px;
padding: 0;
list-style: none;
border-top: 1px solid #dce8e8;
background: #ffffff;
}

.content-view li {
position: relative;
margin: 0;
padding: 13px 0 13px 24px;
border-bottom: 1px solid #dce8e8;
}

.content-view li::before {
content: "";
position: absolute;
left: 3px;
top: 1.24em;
width: 7px;
height: 7px;
background: #167c80;
}

.content-view table {
width: 100%;
margin: 20px 0 30px;
border-collapse: collapse;
border-top: 2px solid #167c80;
font-size: 15px;
line-height: 1.58;
background: #ffffff;
}

.content-view th {
background: #ffffff;
font-weight: 900;
color: #167c80;
}

.content-view th,
.content-view td {
padding: 15px 16px;
border-bottom: 1px solid #dce8e8;
text-align: left;
vertical-align: top;
}

.content-view td:first-child {
font-weight: 850;
color: #172326;
}

.content-view strong {
font-weight: 900;
color: #167c80;
}

.footer {
background: #ffffff;
border-top: 1px solid #dce8e8;
}

.footer .inner {
min-height: 76px;
display: flex;
align-items: center;
justify-content: center;
}

.footer p {
margin: 0;
font-size: 14px;
color: #2b384b;
}

@media (max-width: 920px) {
.item-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-title {
font-size: 34px;
}
}

@media (max-width: 760px) {
.header .inner {
height: 66px;
}

.burger {
display: block;
}

.menu {
position: absolute;
top: 67px;
left: 0;
right: 0;
z-index: 40;
display: none;
background: #ffffff;
border-top: 1px solid #dce8e8;
border-bottom: 1px solid #dce8e8;
}

.menu.is-open {
display: block;
}

.menu ul {
width: min(1120px, calc(100% - 28px));
margin: 0 auto;
padding: 12px 0;
display: grid;
grid-template-columns: 1fr;
gap: 8px;
}

.menu a {
padding: 12px 10px;
border: 1px solid #dce8e8;
font-size: 14px;
text-align: center;
}

.menu a::after {
display: none;
}

.menu a[aria-current="page"] {
background: #167c80;
border-color: #167c80;
color: #ffffff;
}

.content {
width: min(100% - 24px, 1120px);
margin-bottom: 50px;
}

.post-header {
padding: 32px 0 26px;
}

.post-title {
font-size: 29px;
}

.post-title::before {
font-size: 11px;
}

.post-title::after {
width: 62px;
margin-top: 14px;
}

.post-list {
margin-bottom: 42px;
}

.item-list {
grid-template-columns: 1fr;
border-left: 0;
border-top: 1px solid #dce8e8;
}

.item-list li {
border-left: 0;
border-right: 0;
}

.item-list li > a:first-child {
padding: 16px 0 0;
}

.item-list strong {
padding: 16px 0 9px;
font-size: 19px;
}

.item-list span {
padding: 0;
font-size: 14px;
}

.item-list li > a:last-child {
margin: auto 0 18px;
}

.content-view {
padding-top: 32px;
font-size: 16px;
line-height: 1.78;
}

.content-view h2 {
margin-top: 40px;
font-size: 23px;
}

.content-view h3 {
margin-top: 28px;
font-size: 19px;
}

.content-view table {
display: block;
width: 100%;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
font-size: 14px;
}
}

@media (max-width: 460px) {
.inner {
width: calc(100% - 24px);
}

.content {
width: calc(100% - 24px);
}

.logo img {
height: auto;
}

.post-title {
font-size: 26px;
}

.item-list strong {
font-size: 18px;
}

.content-view h2 {
font-size: 21px;
}

.content-view h3 {
font-size: 18px;
}
}