@charset "utf-8";
/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Hahmlet:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
/* font awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css');
/* google icons */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0');


/* 공통선언 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    word-break: keep-all;
    /* outline: 1px solid blue; */
}

body .pageTop {
    position: fixed;
    right: 5%;
    bottom: 3%;
    width: 50px;
    height: 50px;
    background: url(/PROJECT/img/드림프로젝트/mainpage/Arrow_upward_sky.png) 50% 50% no-repeat;
    z-index: 5;
    border: none;
    text-indent: -1000px;
    overflow: hidden;
    cursor: pointer;
}

:root {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    --colorRed: #DD454F;
    --colorPink: #FF9C9C;
    --colorLightpink: #FFF8F8;
    --colorSky: #DDF3FF;
    --colorTable: #fbfbfb;
    --colorFontBlack: #000000;
    --colorFontBasic: #383838;
    --colorFontLight: #808080;
    --colorFontWhite: #ffffff;
}

section,
.section {
    width: 100%;
}

article,
.article {
    width: 100%;
}

.inner {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
}

li {
    list-style-type: none;
}

a:link,
a:visited {
    text-decoration: none;
    color: inherit;
}

i > span {
    display: inline-block;
    width: 0;
    height: 0;
    text-indent: -1000px;
    overflow: hidden;
}

.title {
    position: relative;
    padding: 0 0 20px;
}

.title::after {
    content: "";
    width: 40px;
    height: 5px;
    background: var(--colorRed);
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%, 0%);
}

table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

caption {
    position: absolute;
    left: -500px;
    width: 0;
    height: 0;
    overflow: hidden;
}

th,
td {
    border: 1px solid #ccc;
}

h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 60px;
    color: var(--colorFontWhite);
}

h2 {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 45px;
    letter-spacing: 0.02em;
}

h3 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 40px;
    letter-spacing: 0.02em;
}

h4 {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 30px;
}

p {
    font-size: 1.2rem;
    line-height: 27px;
    text-align: center;
    color: var(--colorFontBasic);
}

.source {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 25px;
    text-align: center;
    color: var(--colorFontBasic);
    margin: 10px 0 0;
}

.art1_1 .inner,
.art1_2 > .inner {
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

/*main header*/
header {
    height: 45px;
    width: 100%;
    background: #ffffff;
    position: relative;
    left: 0;
    top: 0;
    z-index: 10;
}

nav.inner {
    align-items: center;
    justify-content: space-between;
}

header .logo {
    width: 100px; 
    height: 45px;
    display: block;
    text-indent: -1000px;
    overflow: hidden;
    background: url(/PROJECT/img/드림프로젝트/mainpage/logo2_project.png) no-repeat 50% 45%/ cover;
}

header .more_bt {
    cursor: pointer;
    display: none;
}

header .gnb {
    display: flex; 
    align-items: center;
}

header .gnb li {
    margin: 0 0 0 40px; 
}

header .gnb a.c{
    font-weight: 600;
    font-size: 1.15rem;
    text-align: center;
    color: black;
}

header .gnb a.c.on{
    color: var(--colorRed);
}


/* sub page: title */
.sec01 {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(/PROJECT/img/드림프로젝트/sub3page/sub3_title.png) no-repeat 0% 60% / cover;
}

.sec01 .inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.sec01 .inner p {
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 35px;
    letter-spacing: -0.05em;
    color: var(--colorFontWhite);
}

.sec01 .textBox {
    margin: 30px 0 0;
}

.sec01 .textBox > .ico_wh {
    margin: 0 10px 0 0;
    color: var(--colorFontWhite);
}

.sec01 .textBox > span{
    font-size: 1.1rem;
    color: var(--colorFontWhite);
}

/* sub page: tab */
.sec02 .tabButton {
    height: 40px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: #ffffff;
}

.sec02 .tabButton .inner {
    align-items: center;
}

.sec02 .tabButton .inner li {
    flex: 1 1 50%;
    height: 100%
}

.sec02 .tabButton .inner li.on {
    background-color: var(--colorRed);
}

.sec02 .tabButton .inner li:last-child::after {
    display: none;
}

.sec02 .tabButton .inner li h2 {
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 40px;
    text-align: center;
    color: var(--colorFontBlack);
}

.sec02 .tabButton .inner li.on h2 {
    color: var(--colorFontWhite);
}

.sec02 .tabButton .pages {
    display: none;
}

/* tab Content */
.sec02 .tabContent .pages {
    display: none;
}

.sec02 .tabContent .pages.on {
    display: block;
}

/* tab Content - tab01 */
/* 대장암 예방방법 */
.art1_1 .destorySwiper5 {
    width: 100%;
}

.art1_1 .swiper-wrapper {
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 80px;
    padding: 5px;
}

.art1_1 .slide_card {
    display: flex;
    flex-direction: column;
    flex: 1 1 45%;
    padding: 30px;
    background: #ffffff;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
    transition: all 0.3s;
}

.art1_1 .slide_card:hover {
    transform: translate(0, -15px);
    transition: all 0.3s;
}

.art1_1 .slide_card img {
    max-width: 100%;
}

.art1_1 .textBox {
    margin-top: -20px;
}

.art1_1 .textBox .box {
    margin: 5px 0 0;
}

.art1_1 .textBox .box:nth-of-type(1) {
    margin: 15px 0 0;
}

.art1_1 .textBox h4 {
    display: inline-block;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 27px;
    padding: 5px 20px;    
    margin-left: 20px;
    color: var(--colorFontWhite);
    background-color: var(--colorRed);
}

.art1_1 .textBox strong {
    font-size: 1.25rem;
    line-height: 30px;
    color: var(--colorFontBasic);
    padding: 0 0 0 20px;
    position: relative;
}

.art1_1 .textBox strong::before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 50%;
    background-color: var(--colorRed);
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(0%, -50%);
}

.art1_1 .textBox p {   
    text-align: left;
    padding: 0 0 0 20px;
}

.art1_1 .swiper-pagination-bullet {
    display: none;
}

/* 암의 예방 */
.art1_2 .backTitle {
    height: 300px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(/PROJECT/img/드림프로젝트/sub3page/question_1.png) no-repeat 0% 13% / cover;
}

.art1_2 .backTitle .inner {
    align-items: center;
}

.art1_2 .backTitle .title {
    padding: 0;
}

.art1_2 .backTitle .title::after {
    content: none;
}

.art1_2 .backTitle .title h2 {
    padding: 0 0 0 60px;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 50px;
    color: var(--colorFontWhite);
}

.art1_2 .backTitle .title h2:nth-child(1) {
    background: url(/PROJECT/img/드림프로젝트/sub3page/emoji__talke.png) no-repeat 0% 50% / contain;
}

.art1_2 .backTitle .title h2:nth-child(2) {
    background: url(/PROJECT/img/드림프로젝트/sub3page/emoji_talkq.png) no-repeat 0% 50% / contain;
}

.art1_2 .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.art1_2 .content > p {
    align-self: flex-start;
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0 0 15px;
}

.art1_2 .content > p > span {
    color: var(--colorRed);
}

.art1_2 .content .more {
    display: flex;
    flex-direction: row;
}

.art1_2 .content .more li {
    flex: 1 1 50%;
    font-size: 1.1rem;
    line-height: 24px;
    color: var(--colorFontBasic);
}

.art1_2 .content h4 {
    font-size: 1.5rem;
    line-height: 30px;
    text-align: center;
}

.art1_2 .content h4 > span {
    display: block;    
    color: var(--colorRed);
}

.art1_2 .table_content {
    width: 90%;
    padding: 40px 0;
}

.art1_2 .table_content table::before {
    content: "";
    width: 2px;
    height: 100%;
    position: absolute;
    left: -1px;
    top: 0;
    background: var(--colorFontWhite);
}

.art1_2 .table_content table::after {
    content: "";
    width: 2px;
    height: 100%;
    position: absolute;
    right: -1px;
    top: 0;
    background: var(--colorFontWhite);
}

.art1_2 .table_content table .c1 {
    width: 20%;
} 

.art1_2 .table_content table .c2 {
    width: 40%;
}

.art1_2 .table_content table th {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 30px;
    text-align: center;
    padding: 10px 0;
    background: var(--colorTable);
}

.art1_2 .table_content table td {
    padding: 15px 5px;
    font-size: 1.125rem;
    line-height: 25px;
    text-align: center;
    color: var(--colorFontBasic)
}

/* tab Content - tab02 */
/* 대장암 O,X 퀴즈 */
.art2_1 {
    padding: 60px 0 0;
}
.art2_1 .title {
    text-align: center;
    position: relative;
}

.art2_1 h3,
.art2_1 p {
    font-family: 'Hahmlet', serif;
}

.art2_1 button,
.art2_1 .result-box p,
.art2_1 .result-box div,
.art2_1 .answer-box .quiz-answer,
.art2_1 .answer-box .quiz-commentary {
    font-family: 'Noto Sans KR', sans-serif;
}

.art2_1 .home-box, 
.art2_1 .quiz-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    height: 350px;
    margin: 40px auto;
    border-radius: 10px;
    background: var(--colorSky);
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.2);
}

/* 퀴즈 시작화면 */
.art2_1 .home-box {
    gap: 30px;
}

.art2_1 .home-box h3, 
.art2_1 .home-box p {
    color: var(--colorFontBasic);
}

.art2_1 .home-box h3 {
    display: flex;
    position: relative;
    font-size: 2rem;
    line-height: 45px;
    text-transform: capitalize;
}

.art2_1 .home-box h3 > .ico_b {
    font-size: 40px;
    align-self: center;
}

.art2_1 .home-box img {
    display: block;
    width: 100%;
    margin: 0 auto;
} 

.art2_1 .home-box p {
    font-size: 2.5rem;
    line-height: 40px;
}

.art2_1 .home-box button {
    cursor: pointer;
    padding: 5px 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--colorFontBasic);
    background-color: transparent;
    border: 2px solid #383838;
    border-radius: 5px;
}

.art2_1 .home-box button:hover {
    color: var(--colorFontWhite);
    background-color: #383838;
}

/* 퀴즈 */
.art2_1 .quiz-box > div,
.art2_1 form {
    width: 750px;
}

.art2_1 .quiz-box > div {
    padding: 20px 50px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.art2_1 .quiz-box .question-number {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 25px;
    text-align: center;
    color: var(--colorFontBasic);
}

.art2_1 .quiz-box .question-text {
    font-family: 'Hahmlet', serif;
    font-weight: 500;
    font-size: 1.8rem;
    text-align: center;
    margin: 5px 0 0;
}

.art2_1 .quiz-box form {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 0;
    padding: 0px 80px;
}

.art2_1 .quiz-box form input[type="radio"] {
    cursor: pointer;
    width: 100px;
    height: 100px;
    outline: none;
    appearance: none;
}

.art2_1 .quiz-box form input[type="radio"]:nth-child(1) {
    background: url(/PROJECT/img/드림프로젝트/sub3page/icon_true.png) no-repeat 50% 50% / cover;
}

.art2_1 .quiz-box form input[type="radio"]:nth-child(1):hover {
    background: url(/PROJECT/img/드림프로젝트/sub3page/icon_true_hover.png) no-repeat 50% 50% / cover;;
}

.art2_1 .quiz-box form input[type="radio"]:nth-child(2) {
    background: url(/PROJECT/img/드림프로젝트/sub3page/icon_false.png) no-repeat 50% 50% / cover;
}

.art2_1 .quiz-box form input[type="radio"]:nth-child(2):hover {
    background: url(/PROJECT/img/드림프로젝트/sub3page/icon_false_hover.png) no-repeat 50% 50% / cover;;
}

/* 퀴즈 결과화면 */
.art2_1 .result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 45px 0;
}

.art2_1 .scoreBox .quiz-score {
    font-weight: 700;
    font-size: 4rem;
    line-height: 65px;
    letter-spacing: 0.05em;
}

.art2_1 .scoreBox .ico_b {
    font-size: 20px;
    transform: translateY(-40px);
}

.art2_1 .result-box ul {
    margin: 35px 0 0;
    text-align: center;
}

.art2_1 .result-box .result-text1 {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--colorRed);
}

.art2_1 .result-box .result-text2 {
    font-size: 1.3rem;
    color: var(--colorFontBasic);
}

.art2_1 .result-box .buttonBox {
    margin: 20px 0 0;
}

.art2_1 .result-box .buttonBox button {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--colorRed);
    background-color: transparent;
    border: 2px solid var(--colorRed);
    border-radius: 5px;
    padding: 3px 10px 4px;
}

.art2_1 .result-box .buttonBox .quiz-button {
    margin-right: 20px;
}

.art2_1 .result-box .buttonBox button:hover {
    color: var(--colorFontWhite);
    background-color: var(--colorRed);
}

/* 퀴즈 정답 및 해설 */
.art2_1 .answer-box .quiz-box {
    height: auto;
    padding: 40px 0;
    margin: 40px auto;
}

.art2_1 .answer-box .quiz-box:first-child {
    margin-top: 0;
}

.art2_1 .answer-box .quiz-box > div {
    padding: 15px 20px 20px;
}

.art2_1 .answer-box strong {
    color: var(--colorFontBlack);
}

.art2_1 .answer-box p {
    color: var(--colorFontBasic);
}

.art2_1 .answer-box .quiz-answer {
    font-size: 1.5rem;
    margin: 10px 0 0;
}

.art2_1 .answer-box .quiz-commentary {
    width: 800px;
    font-size: 1.1rem;
    line-height: 25px;
    white-space: pre-line;
    margin: 10px 0 0;
}

/* 퀴즈 숨김 */
.art2_1 .hide {
    display: none;
}

/* footer */
.fnb {
    background: var(--colorRed);
}

.fnb a, 
.fnb span,
.fnb p,
.fnb .copy-right {
    font-weight: 300;
    font-style: normal;
    line-height: normal;
    text-align: center;
    color: var(--colorFontWhite);
}

.fnb .inner {
    height: 100%;
    flex-direction: column;
    padding: 40px 0;
}

.fnb .top {
    margin: 0 auto;
}

.fnb .top a {
    display: inline-block;
}

.fnb .top .sns {
    text-align: center;
}

.fnb .top .sns a {
    margin: 0 5%;
}

.fnb .top .sns .ico_wh {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), rgba(213, 46, 57, 0.882);
}

.fnb .top .sns .ico_wh:hover {
    color: var(--colorRed);
    background-color: rgba(255, 255, 255, 0.848);
}

.fnb .top .logo {
    display: block;
    margin: 5px 0 0;
}

.fnb .top .logo > img {
    display: block;
    width: 100%;
}

.fnb .bottom {
    display: flex;
    flex-direction: column;
    margin: 10px 0 0;
}

.fnb .bottom .copy-right > a {
    font-weight: 400;
    color: var(--colorFontBlack);
}

.fnb .bottom address {
    text-align: center;
}

.fnb .bottom address a {
    position: relative;
    margin: 0 15px 0 0;
}

.fnb .bottom address a::before {
    content: "";
    width: 2px;
    height: 15px;
    display: block;
    background: var(--colorFontWhite);
    opacity: 0.8;
    position: absolute;
    top: 3px;
    left: -10px;
}

.fnb .bottom address a:nth-child(1)::before {
    display: none;
}    