/*******************************************************
 * sub 페이지 공통
 */

/*--------------------------------------
 * 공통 헤더
 */
.sub-header {
    max-width: 100%;
    background: #FAFAFA;
    border-bottom: 1px solid #CCC;
}
.sub-header > h2 {
    font-family: NanumSquareEB;
    color: #2B2A6A;
    text-align: center;
}

/*--------------------------------------
 * 공통 메뉴 탭
 */
.sub-tab {
    list-style: none;
    padding: 0;
    display: grid;
    grid: auto / 1fr 1fr 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 10px;
}
.sub-tab > li {
    position: relative;
}
.sub-tab > li > a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.sub-tab > li > a:link,
.sub-tab > li > a:visited {
    text-decoration: none;
    color: #000;
}
.sub-tab > li:hover > a {
    color: #FFCD2D;
}

/*--------------------------------------
 * 공통 타이틀
 */
.sub-title {
    word-break: keep-all;
}
.sub-title > h3 {
    font-family: NanumSquareB;
}
.sub-title > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sub-title > ul > li:first-of-type {
    position: relative;
}
.sub-title > ul > li:first-of-type::before {
    content: "";
    position: absolute;
    top: 1px;
    left: -20px;
    background: url("http://pizza.joo.popol.website/images/home.png");
    width: 15px;
    height: 12px;
}
.sub-title > ul > li:nth-of-type(2n) {
    font-size: 0.7rem;
}
.sub-title > ul > li:last-of-type {
    color: #000;
}

/*--------------------------------------
 * 공통 콘텐츠
 */
.sub-content > div > img {
    width: 100%;
}
.sub-content > h4 {
    font-family: NanumSquareEB;
    color: #2B2A6A;
    word-break: keep-all;
}
.sub-content > h4 > span {
    background: #FFCD2D;
    padding: 3px;
}
.sub-content > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    word-break: keep-all;
}

/*--------------------------------------
 * 청년피자 이야기
 */
.about-content > h4:nth-of-type(2) {
    margin-top: 70px;
}
.about-content > div:nth-of-type(2) {
    text-align: right;
}
.about-content > div:nth-of-type(2) > img {
    width: 130px;
    height: 41px;
}
.about-content > span:last-of-type {
    display: block;
    text-align: right;
    margin-right: 70px;
    margin-bottom: 100px;
}

/*--------------------------------------
 * 비전
 */
.vision-content > h5 {
    font-weight: normal;
    font-size: 1.3rem;
    margin: 20px 0;
    word-break: keep-all;
}
.vision-content > ul {
    color: #666;
}
.vision-content > ul > li:last-of-type {
    padding-bottom: 30px;
    border-bottom: 2px dashed #EAEAEA;
}
.vision-content > ul:nth-of-type(1) > li:nth-of-type(3) > span {
    font-family: NanumSquareEB;
    color: #2B2A6A;
}
.vision-content > ul:nth-of-type(3) {
    margin-bottom: 70px
}
.vision-content > ul:nth-of-type(3) > li:last-of-type {
    border: none;
}

/*--------------------------------------
 * 정성
 */
.source {
    background: #DF4C25;
    display: grid;
    grid: auto / 1fr 1fr;
    align-items: center;
    margin-bottom: 60px;
}
.dough {
    background: #FFCD2D;
    display: grid;
    grid: auto / 1fr 1fr;
    align-items: center;
    margin-bottom: 60px;
}
.vegetable {
    background: #2B2A6A;
    display: grid;
    grid: auto / 1fr 1fr;
    align-items: center;
    margin-bottom: 60px;
}
.merit-content div > div {
    height: 100%;
}
.merit-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.merit-content ul {
    list-style: none;
    margin: 15px 20px;
    padding: 0;
    color: #FFF;
    text-align: center;
    line-height: 2rem;
    word-break: keep-all;
}
.dough > ul {
    color: #333;
}
.merit-content ul > li:first-of-type {
    font-family: TmonMonsori;
    font-size: 2rem;
    padding-bottom: 20px;
}

/*--------------------------------------
 * 사회와 함께하는 발걸음
 */
.board {
    display: grid;
    grid: auto / 10% 90%;
    align-items: center;
    margin-bottom: 30px;
}
.board > div > span {
    font-family: NanumSquareEB;
    color: #2B2A6A;
}
.search {
    text-align: right;
}
.search > select {
    font-family: NanumSquareB;
    font-size: 1rem;
    border: 1px solid #CCC;
    border-radius: 5px;
    padding: 10px 15px;
}
.search > input {
    border: 1px solid #CCC;
    border-radius: 5px;
    padding: 12px 15px;
    font-family: NanumSquareB;
    font-size: 1rem;
}
.search > button {
    border: none;
    border-radius: 5px;
    background: #2B2A6A;
    font-family: NanumSquareB;
    font-size: 1rem;
    color: #FFF;
    padding: 12px 20px;
}
.news {
    border: 1px solid #CCC;
    border-radius: 10px;
    display: grid;
    grid: "img content" / 35% 65%;
    margin-bottom: 40px;
}
.news:last-of-type {
    margin-bottom: 150px;
}
.news-img {
    grid-area: img;
}
.news-img > img {
    width: 100%;
}
.news-content {
    grid-area: content;
    word-break: keep-all;
}
.news-title {
    font-family: NanumSquareB;
    margin-bottom: 10px;
}
.news-date {
    font-family: NanumSquareB;
    color: #777;
}
.news-summary {
    line-height: 1.5rem;
}
.news-content > button {
    border: none;
    border-radius: 5px;
    background: #2B2A6A;
    padding: 12px 20px;
    float: right;
}
.news-content > button > a {
    white-space: nowrap;
}
.news-content > button > a:link,
.news-content > button > a:visited {
    text-decoration: none;
    font-family: NanumSquareB;
    font-size: 1rem;
    color: #FFF;
}

/*--------------------------------------
 * 오시는 길
 */
.map > iframe {
    width: 100%;
    border: 0;
}

/* 공통 */
.info {
    display: grid;
    margin-top: -5px;
}
.info > div {
    text-align: center;
}
.info > div > ul {
    list-style: none;
    margin: 0;
    line-height: 1.8rem;
    word-break: keep-all;
    display: inline-block;
    padding-left: 65px;
}
.info > div > ul > li {
    text-align: left;
}
.info > div > ul > li:first-of-type {
    font-family: NanumSquareB;
    font-size: 0.9rem;
}

/* 주소 */
.adress {
    background: #2B2A6A;
}
.adress > ul::before {
    content: "";
    position: absolute;
    left: 0;
    background: url("http://pizza.joo.popol.website/images/icon_map.png");
    background-size: cover;
}
.adress > ul {
    color: #FFF;
    position: relative;
}

/* 전화번호 */
.tel {
    background: #FFCD2D;
    color: #000;
}
.tel > ul {
    position: relative;
}
.tel > ul::before {
    content: "";
    position: absolute;
    top: calc(50% - 24px);
    left: 0;
    background: url("http://pizza.joo.popol.website/images/icon_tel.png");
    background-size: cover;
}

