@charset UTF-8;* {
    margin: 0;
    padding: 0
}

a:link {
    text-decoration: none
}

a:visited {
}

.clear {
    clear: both
}

body {
    font: 1em/1.5 'Noto Sans KR';
    background-color: #ac4574
}

#wrap {
    max-width: 1250px;
    margin: 10px auto
}

#wrap header #home {
    padding: 40px 0 30px 20px;
    ;cursor: pointer
}

#wrap #notice {
    font-size: .9em;
    font-weight: bold;
    color: #fce9ea;
    text-indent: 50px
}

#wrap article {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    text-align: center
}

#wrap section {
    flex-basis: 23%;
    flex-grow: 0;
    margin-bottom: 2%;
    border: 6px solid #c982a4;
    border-radius: 8px;
    box-shadow: 0 0 8px #ca8392;
    overflow: hidden;
    cursor: pointer
}

#wrap section #showpic {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 50% 50%;
    display: block
}

#wrap section #call {
    padding: 20px 0;
    background-color: #67394f;
    color: #fff;
    font-size: 1.2em;
    font-weight: 900
}

#wrap section #call img {
    padding-left: 10px
}

#wrap section #title {
    height: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
    background-color: #fff;
    font-size: .9em;
    color: #ea4c6e;
    overflow: hidden
}

#wrap section #content {
    height: 20px;
    padding-bottom: 30px;
    background-color: #fff;
    font-size: .9em;
    overflow: hidden
}

#detail_outter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50
}

#detail_inner {
    position: fixed;
    z-index: 51;
    top: 50%;
    left: 50%;
    background-color: #fff;
    padding: 30px;
    width: 440px;
    border: 6px solid #e9c2d7;
    border-radius: 20px;
    margin: -250px 0 0 -250px
}

#detail_inner #showpic {
    width: 100%;
    object-fit: auto;
    border: 4px solid #e9c2d7;
    border-radius: 20px
}

#detail_inner #call {
    width: 100%;
    margin-top: 30px;
    padding: 10px 0;
    font-size: 1.5em;
    font-weight: 900;
    text-align: center;
    background-color: #67394f;
    color: #fff;
    cursor: pointer
}

#detail_inner #title {
    font-size: 1.5em;
    font-weight: 700;
    text-align: left;
    color: #c982a3
}

#detail_inner #content {
    margin-bottom: 10px;
    font-size: 1.8em;
    font-weight: normal;
    text-align: left;
    color: #c982a3
}

#detail_inner img {
    vertical-align: middle
}

a.top {
    position: fixed;
    z-index: 999;
    right: 30px;
    bottom: 30px;
    margin-top: -25px;
    display: inline-block;
    width: 65px;
    height: 65px;
    background-image: url(../img/scrolltop.png);
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: alpha(opacity=80);
    -moz-opacity: 80%;
    -khtml-opacity: 80%;
    opacity: 80%
}

@media screen and (max-width: 1200px) {
    #wrap section {
        flex-basis:23%
    }
}

@media screen and (max-width: 960px) {
    #wrap section {
        flex-basis:30%
    }
}

@media screen and (max-width: 640px) {
    #wrap section {
        flex-basis:60%
    }
}

@media screen and (max-width: 502px) {
    #wrap section {
        flex-basis:70%
    }
}

@media screen and (max-width: 450px) {
    #wrap section {
        flex-basis:80%
    }
}

@media screen and (max-width: 340px) {
    #wrap section {
        flex-basis:90%
    }
}
