/* 헤더 */
header {
    z-index: 100;
    position:fixed;
    padding:0 2rem;
    left:0;top:0;
    height:5.5rem;width:100%;
    /* background-color: #fff; */
    /* border-bottom:1px solid #eee; */
    display:flex;align-items:center;
}
header .prev {
    width:1rem;height:2rem;
    margin-right:1.5rem;
    background:url('../img/prev.png') no-repeat center/contain;
}
header .share {
    width:2.5rem;height:2rem;
    background:url('../img/share.png') no-repeat center/contain;
}
header .dummy {
    width:1rem;height:2rem;
    margin-left:1.5rem;
}
header h1 {
    font-size:1.9rem;
    font-weight:600;
    display: flex;justify-content: center;align-items: center;
    width: 100%;
}
header .logo  {
    height: 2.4rem;
}
header.color {
    background-color: #0af;
}


/* home */
.home1 {
    padding-top: 5rem;
    background-image: linear-gradient(#0af 80%, #fff 100%);
}
.home1 img {
    width: 80%;
    margin: 0 auto;
    display: block;
}
.home2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1.5rem 2rem;
}
.home2 a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 4);
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}
.home2 a img {
    width: 9rem;
    padding: 1.5rem 1rem 1rem;
}
@media (max-width:330px) {
    .home2 a img {width: 7rem;}
}
@media (min-width:785px) {
    .home2 a img {width: 10rem;}
}
.home2 a:last-of-type {
    width: 100%;
    margin-top: 2rem;
    max-width: none;
}
.home2 a:last-of-type img {
    padding: 0;
    width: 100%;
}

/* home.php 컨텐츠 박스 */
.box {
    margin: 1.5rem;
    padding: 1.5rem;
    border-radius: 0 0 1rem 1rem;
    background-color: #fff;
    border-top: 3px solid #2b91fe;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .3);
}
.box h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2b91fe;
    margin-bottom: 1.5rem;
}
.box pre {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #6f6f71;
    margin-bottom: 2rem;
}
.box img {
    width: 100%;
}

/* sub.php 컨텐츠 */
.content_wrap {
    padding: 6rem 1.5rem 2rem;
}
.content_wrap {
    margin-bottom: 2.5rem;
}
.content_wrap h2 {
    position: relative;
    color: #6f6f71;
    font-weight: 500;
    font-size: 1.8rem;
    width: fit-content;
    border-radius: 10rem;
    padding: .5rem 1.5rem;
    margin: 5rem 0 1.5rem;
    box-shadow: 1px 1px 1px #ddd;
    border: 1px solid #2b91fe;
    background-color: #fafeff;
}
.content_wrap h2:first-of-type {
    margin-top: 2rem;
}
.content_wrap h2:nth-of-type(2n):after {content: "";position: absolute;left: -1.5rem;top: -2.5rem;width: calc(100vw * .8);height: 1px;background-color: #80d5ff;}
.content_wrap h2:nth-of-type(2n-1):after {content: "";position: absolute;left: calc(100vw * .2 - 1.8rem);top: -2.5rem;width: calc(100vw * .8);height: 1px;background-color: #80d5ff;}
.content_wrap h2:first-of-type:after {display: none;}
.content_wrap pre {
    font-size: 1.6rem;
    color: #6f6f71;
    line-height: 1.4;
}
.content_wrap img {
    width: 100%;
    margin-top: 2rem;
}
.point {
    font-weight: 600;
    font-size: inherit;
    line-height: inherit;
    color: #0af;
}