section{
    width: 95%;
    margin: 0 auto;
}

.section1{
    margin-top: 15px;
	margin-bottom : 15px;
}

.brick-BOX {
    display: flex;
    flex-direction: column;
    gap: 10px;  /* 아이템 간격 */
}

.graph_container{
    width: 100%;
}

.graph_title{
    width: 100%;
    height: 45px;
    line-height: 45px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: #C0D9EE;
    text-align: center;
    box-sizing: border-box;
}

.graph_title>p{
    font-size: 18px;
    font-family:'NotoSansKR-Bold' ;
    color: #20285D;
}

.graph_area{
    width: 100%;
    text-align: center;
}

.graph_area>p{
    margin-top: 10px;
    color: #22285A;
    font-size: 15px;
    font-family:'NotoSansKR-Regular' ;
}

.graph_img{
    width: 95%;
    margin: 10px auto;
}

.graph_img>img{
    width: 100%;
    height: 170px;
}

.sos_horse{
    width: 100%;
    height: 70px;
    /*margin-top: 20px;*/
    background: url(../img/sos_bg.png) center center no-repeat;
    background-size: 100% 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.horse{
    border: 1px solid rgba(255,255,255,0.3);
    width: 40%;
    height: 64px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.sos_horse_text{
    border-top: 1px solid rgba(255,255,255,0.3);
    border-right: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 60%;
    height: 66px;
    text-align: center;
    padding-top: 5px;
    box-sizing: border-box;
}

.text_sos{
    color: #fff;
    font-size: 16px;
    font-family:'NotoSansKR-Bold' ;
}

.num_sos{
    color: #fff;
    font-size: 26px;
    font-family:'NotoSansKR-Bold' ;
    line-height: 1;
}

.expert_container{
    width: 100%;
    margin: 0 auto;
}

.section2 .expert_container{
    position: relative; /* 버튼 절대 위치 기준 */
}

.expert_title{
    width: 100%;
    height: 25px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #C5D8EC;
    text-align: center;
    line-height: 25px;
}

.expert_title3{
    width: 90%;
    height: 35px;
    border-radius: 15px;
    background-color: #C5D8EC;
    text-align: center;
    line-height: 35px;
	margin: 20px auto 0;
}

.expert_title>p{
    color: #191919;
    font-size: 13px;
    font-family:'NotoSansKR-Bold' ;
}

.btn-enlarge {
  position: absolute;
  top: 2px;
  right: 12px;
  /* transform: translateY(-50%);   수직 가운데 정렬 */
  z-index: 10;                   /* 위에 떠 있게 */
  height: 58px;
  width: 80px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: rgba(255,255,255);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  background: url(../img/btn_bg.jpg) center / 100% no-repeat;

    /* 글자 */
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;

    /* 가운데 정렬 */
    display: flex;
    align-items: center;
    justify-content: center;

    /* 그림자 */
    text-shadow:
        0 1px 2px rgba(0,0,0,.9),
        0 0 6px rgba(0,170,255,.6);  
}

.btn-enlarge1{
    position:absolute;
    top:8px;
    right:12px;

    width:110px;
    height:42px;

    background:#1565c0;
    color:#fff;

    border:none;
    border-radius:8px;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    box-shadow:0 3px 8px rgba(0,0,0,.25);

    transition:.2s;
}

.btn-enlarge1:hover{
    background:#0d47a1;
}


.expert_subtitle{
    width: 100%;
    height: 25px;
    background-color: #C5D8EC;
    text-align: center;
    line-height: 25px;
    display: flex;
    border-top: 1px solid rgba(112,112,112,0.3);
    border-bottom: 1px solid rgba(112,112,112,0.3);
}

.expert_subtitle_expert{
    width: 30%;
    box-sizing: border-box;
    border-right: 1px solid rgba(112,112,112,0.3);
    text-align: center;
}

.expert_subtitle_expert>p{
    color: #191919;
    font-size: 13px;
    font-family:'NotoSansKR-Bold' ;
}

.expert_subtitle_contents{
    width: 70%;
    text-align: center;
}

.expert_subtitle_contents>p{
    color: #191919;
    font-size: 13px;
    font-family:'NotoSansKR-Bold' ;
}

.expert_contnets_area{
    width: 100%;
    position: relative;
}

.expert_contnets{
    width: 100%;
    height: auto;
    line-height: 2;
    display: flex;
    border-bottom: 1px solid rgba(112,112,112,0.3);
    position: relative;
}

.service_pay{
    width: 100%;
    margin: 20px auto 0;
    text-align: center;
}

.service_pay1{
    width: 85%;
    margin: 20px auto 0;
    text-align: center;
    display: flex;
}

.service_text{
    width: 100%;
}

.service_text>p{
    font-family:'NotoSansKR-Bold' ;
    color: #26284E;
    font-size: 16px;
}

.btn_expert_setting>button, .btn_expert_setting2>button{
    width: 200px;
    height: 35px;
    line-height: 35px;
    border: 0;
    border-radius: 17px;
    background-color: #374775;
    color: #fff;
    font-family:'NotoSansKR-Bold' ;
    font-size: 18px;
    cursor: pointer;
}

.btn_expert_setting1>button{
    width: 120px;
    height: 35px;
    line-height: 35px;
    border: 0;
    border-radius: 17px;
    background-color: #374775;
    color: #fff;
    font-family:'NotoSansKR-Bold' ;
    font-size: 18px;
    cursor: pointer;
}

.btn_expert_setting2{
	margin-left: auto;
}

.name{
    width: 30%;
    text-align: center;
    border-right: 1px solid rgba(112,112,112,0.3);
    box-sizing: border-box;
    color: #191919;
    font-size: 12px;
    font-family:'NotoSansKR-Regular' ;
}

.contents{
    width: 70%;
    text-align: left;
    padding-left: 5px;
    box-sizing: border-box;
    color: #191919;
    font-size: 10px;
    font-family:'NotoSansKR-Regular' ;
    letter-spacing: normal;
}

.recommend_box{
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    background: url(../img/green_bg.png) center/100% no-repeat;
    position: absolute;
    top: 3px;
    left: 10px;
}

.recommend_box>p{
    color: #fff;
    font-family:'NotoSansKR-Bold' ;
    font-size: 10px;
    position: absolute;
    top: -1px;
    left: 4px;
}

.section3, .section4{
    margin-top: 40px;
	margin-bottom : 40px;
}

.expert_title2{
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(112,112,112,0.3);
}

.expert_title2>p{
    color: #232857;
    font-family:'NotoSansKR-Bold' ;
    font-size: 16px;
    margin-bottom: 10px;
}

 .expert_title3>p{
    color: #232857;
    font-family:'NotoSansKR-Bold' ;
    font-size: 16px;
}

.expert_select_area_top {
    width: 100%;
    height: 50px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #C0D9EE;
    display: flex;
    align-items: center;
}

.expert_select_area_title {
    width: 26%;
    text-align: center;
}

.expert_select_area_title2 {
    width: 26%;
    text-align: center;
    line-height: 50px;
    box-sizing: border-box;
    border-left: 1px solid rgba(112,112,112,0.3);
}

.accumulate {
    width: 24%;
}

.expert_select_area_title>p, .expert_select_area_title2>p {
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 15px;
}

.accumulate_title {
    width: 100%;
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 12px;
    text-align: center;
    height: 23px;
    line-height: 23px;
    box-sizing: border-box;
    border-left: 1px solid rgba(112,112,112,0.3);
}

.accumulate_sub_title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 25px;
    border-top: 1px solid rgba(112,112,112,0.3);
}

.main, .total {
    width: 50%;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-left: 1px solid rgba(112,112,112,0.3);
    box-sizing: border-box;
}

.main>p, .total>p {
    font-size: 12px;
    font-family: 'NotoSansKR-Regular';
    color: #242854;
}

.expert_info {
    display: flex;
    align-items: center;
    width: 100%;
    height: 20px;
    line-height: 20px;
    border-bottom: 1px solid rgba(112,112,112,0.3);
}

.name3 {
    width: 20%;
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
}

.name4 {
    width: 20%;
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    border-left: 1px solid rgba(112,112,112,0.3);
}

.ranking1, .total_per1, .ranking2, .total_per2 {
    width: 18%;
    text-align: center;
    border-left: 1px solid rgba(112,112,112,0.3);
    box-sizing: border-box;
}

.ranking1, .total_per1, .total_per2{
    border-right: 1px solid rgba(112,112,112,0.3);
}

.ranking1>p, .total_per1>p, .ranking2>p, .total_per2>p {
    color: #191919;
    font-family: 'NotoSansKR-Regular';
    font-size: 14px;
}

.footer_space {
	/*margin-bottom: 190px; */
	display: block;
	width: 100%;
	color: #ffffff;
	height: 1px;
}

.brick-vowel_1 {
    order: 2;
}

.brick-vowel_2 {
    order: 1;
}

.brick-vowel_3 {
    order: 3;
}


/* 미디어 쿼리 */
@media screen and (max-width: 800px) {

    * { box-sizing: border-box; }

    /* 툴바 기본 스타일 (아래 display 제어 규칙과 중복됨) */
    .fs-toolbar {
        position: sticky; top:0; display:flex; justify-content:flex-end; gap:8px; padding:8px 0 12px;
        background: linear-gradient(#fff, rgba(255,255,255,.9)); z-index: 2;
    }
    .fs-close { border:1px solid #ddd; background:#fff; border-radius:6px; padding:6px 10px; font-size:12px; cursor:pointer; }

    /* ───────────────── 폴백 오버레이 (Fullscreen 미지원/실패 시) */
    .fs-overlay {
        position:fixed; inset:0; width:100vw; height:100dvh; background:#fff; z-index:99999; overflow:auto; padding:16px;
        padding-top: max(16px, env(safe-area-inset-top));
        padding-bottom: max(16px, env(safe-area-inset-bottom));
        overscroll-behavior: contain;
    }
    .fs-overlay .fs-toolbar { position: sticky; top: 0; }

    .body-lock { overflow:hidden; } /* 오버레이가 열렸을 때 배경 스크롤 방지 */

    @supports (-webkit-touch-callout:none) {
        /* iOS 보강. 
        ※ 핀치 확대가 필요하면 position:fixed; width:100%는 주석 처리 권장 */
        .body-lock { position:fixed; width:100%; }
    }

    /* ───────────────── 표시 제어(초기엔 툴바 숨김, 활성 상태에서만 보이기) */
    /* 아래 규칙은 위의 .fs-toolbar 기본 display:flex를 덮어씁니다(더 나중에 선언됨) */
    .fs-toolbar { display: none; }              /* 기본 숨김 */
    .fs-active .fs-toolbar { display: flex; }   /* 활성 상태에서만 표시 */

    /* 오버레이 안에 '뷰포트' 래퍼를 하나 두고, 이걸 회전시킵니다 */
    .fs-overlay { position: fixed; inset: 0; background: #fff; z-index: 99999; }
    .fs-overlay .fs-toolbar { position: sticky; top: 0; display: flex; justify-content: flex-end; gap: 8px; padding: 8px 12px; background: linear-gradient(#fff, rgba(255,255,255,.9)); }
    .fs-overlay .fs-viewport { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: auto; }

    /* 가로(landscape) 토글 시: 콘텐츠만 90도 회전 */
    .fs-overlay.landscape .fs-viewport {
    /* rotate(90deg) 후 세로 길이만큼 위로 올려서 0,0 맞추기 */
    transform: rotate(90deg) translateY(-100%);
    transform-origin: top left;
    /* 회전했으니 폭/높이를 바꿔 잡아줍니다 (dvh/dvw는 최신 브라우저에서 주소창 변화 대응) */
    width: 100dvh;
    height: 100dvw;
    overflow: auto;
    }		    
    
    /* 
    .btn-enlarge {
        display: block;
    }*/
}

/* 
@media screen and (min-width: 801px) {
    .btn-enlarge {
        display: none;
    }
}*/



/* 공지사항이 흐르는 전체 틀 (전광판) */
.service_text {
    width: 100%;            /* 원하는 너비 설정 (기본 전체 너비) */
    overflow: hidden;       /* 틀 밖으로 나가는 글자는 숨김 */
    white-space: nowrap;    /* 글자가 아래로 줄바꿈되지 않도록 고정 */
    background-color: #f8f9fa; /* (선택) 배경색이 필요하다면 추가 */
    padding: 10px 0;        /* (선택) 위아래 여백 */
    box-sizing: border-box;
}

/* 2개의 텍스트를 가로로 묶어주는 역할 */
.marquee-wrapper {
    display: inline-block;
    white-space: nowrap;
    /* 15초 동안 무한 반복 (글자 길이에 따라 시간 조절) */
    animation: marquee-continuous 15s linear infinite; 
}

/* 흐르는 텍스트 각각의 스타일 */
.marquee-text {
    display: inline-block;
    margin: 0;
    padding-right: 50px; /* 글자와 글자 사이의 여백(간격)을 지정합니다 */
}

/* 마우스 올리면 일시정지 (선택사항) */
.service_text:hover .marquee-wrapper {
    animation-play-state: paused;
}

/* 핵심: 전체가 아닌 딱 '절반(글자 1개 세트)' 만큼만 이동 후 리셋 */
@keyframes marquee-continuous {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* -100%가 아니라 -50%입니다! */
    }
}


@media all and (min-width:374px){
	.sos_horse{
		height: 80px;
		background-size: 100% 80px;
	}

	.horse{
		height: 74px;
	}

	.sos_horse_text{
		height: 76px;
		padding-top: 8px;
	}

	.text_sos{
		font-size: 18px;
	}

	.num_sos{
		font-size: 28px;
	}

	.section2{
		margin-top: 15px;
		margin-bottom : 40px;
	}

	.expert_title{
		height: 30px;
		line-height: 30px;
	}

	.expert_title>p{
		font-size: 14px;
	}

	.expert_subtitle{
		height: 30px;
		line-height: 30px;
	}

	.expert_subtitle_expert{
		width: 22%;
	}

	.expert_subtitle_expert>p{
		font-size: 14px;
	}

	.expert_subtitle_contents{
		width: 78%;
	}

	.expert_subtitle_contents>p{
		font-size: 14px;
	}

	.name{
		width: 22%;
		font-size: 12px;
	}

	.contents{
		width: 78%;
		font-size: 13px;
	}

	.recommend_box{
		width: 24px;
		height: 24px;
		top: 2px;
		left: 5px;
	}

	.recommend_box>p{
		top: 1px;
		left: 5px;
	}
}


@media all and (min-width:800px){

    .brick-BOX {
        display: grid;
        grid-template-columns: 1.2fr 1fr;  /* 2개의 열 */
        grid-template-rows: auto auto;    /* 2개의 행 */
    }

	.brick-vowel_1, .brick-vowel_2 {
	  display: inline-block;
	  vertical-align: top; /* 가로 정렬 기준 설정 (상단, 중앙, 하단 중 선택) */
	}

	.brick-vowel_1 {
        grid-column: 1;  /* 왼쪽 열 */
        grid-row: 1;        
	}

	.brick-vowel_2 {
        grid-column: 2;  /* 오른쪽 열 */
        grid-row: 1;        
	}
	.brick-vowel_3 {
		display: inline-block;
		vertical-align: top;
        grid-column: 1 / span 2;  /* 두 열을 모두 차지 */
        grid-row: 2;
	}

	.brick-vowel_sub,
	.brick-vowel_sub2 {
		width: 100%;
		display: block;
	}

	.section3 {
		margin-top: 15px;
		/*margin-bottom: 15px;*/
	}

	.graph_title>p{
		font-size: 18px;
		font-family:'NotoSansKR-Bold' ;
		color: #20285D;
	}
}


@media all and (min-width:1200px){

    .brick-BOX {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }    


	.brick-vowel_1 {
        flex: 1; 
        order: 2;
	}

	.brick-vowel_2 {
        flex: 0.8; 
        order: 1;
	}

	.brick-vowel_3 {
        flex: 1.2; 
        order: 3;
	}
    
	.brick-vowel_sub,
	.brick-vowel_sub2 {
		flex: 1;
	}
    
	.expert_subtitle_expert {
		width: 20%;
	}
	.expert_subtitle_contents {
		width: 80%;
	}
	.name {
		width: 20%;
		font-size: 13px;
	}
	.contents {
		width: 80%;
		font-size: 14px;
	}

	.expert_title2{
		width: 100%;
		height: 45px;
		line-height: 45px;
		border-top-left-radius: 15px;
		border-top-right-radius: 15px;
		background: #C0D9EE;
		text-align: center;
		box-sizing: border-box;
	}    
    .expert_info {
        height: 30px;
        line-height: 30px;
    }
    
}