
.rb-main-content {
}
.rb-main-content h4 {
    color: #101e28;
}
.rb-main-content p {
    color: #999;
    line-height: 1.7;
}

.rb-main-content h4 {
    font-size: 1.6rem;
    font-weight: normal;
}

.rb-main-content p {
    font-size: 0.9rem;
}

.main-video {
    position: relative;
}

.main-video .main-video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-video .main-video-text {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.main-video .main-video-text p {
    font-size: 1.3rem;
    color: #FFF;
    margin-bottom: 0.5rem;
}

.main-video .main-video-text p:first-child {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.main-video .main-video-text p:nth-child(4) {
    font-size: 1.1rem;
    margin: 2rem 0 1.2rem 0;
}

.main-video .main-video-text a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFF;
}

.main-video .main-video-text a:hover {
    color: #000;
}

.main-sub-1 {
}

.main-sub-2 {
    padding: 170px 60px 50px 40px;
}

.main-sub-2 .flex {
    display: flex;
}

.main-sub-2 .flex div {
    width: 50%;
}

.main-sub-2 .flex div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-sub-2 .flex div p {
}

.main-sub-2 .flex div a {
    font-size: 1rem;
    display: block;
    margin-top: 20px;
    color: #64bcff;
}

.main-sub-2 .flex div a:hover {
}

.main-sub-3 {
    background-color: #f2f5fa;
    padding: 70px 0;
}

.main-sub-3 .flex {
    display: flex;
    justify-content: space-between;
}

.main-sub-3 .flex a {
    /* width: 33.33%; */
    width: 50%;
    text-align: center;
}
.main-sub-3 .flex a h4 {
    font-size: 1.4rem;
    color: #555;
    margin: 30px 0 20px 0;
    letter-spacing: 0;
}
.main-sub-3 .flex a p {
    font-size: 0.8rem;
}
.main-sub-4 {
    padding: 150px 0 100px 0;
    text-align: center;
}
.main-sub-4 h4 {
    letter-spacing: 0;
    margin-bottom: 30px;
}
.main-sub-5 {
    background-color: #373c42;
    text-align: center;
}
.main-sub-5 .inner {
    /* display: flex;
    justify-content: space-between;
    align-items: stretch; */
    position: relative;
}
.main-sub-5 .main-sub-5-text {
    /* flex-basis: 40%; */
    padding: 70px 50px;
    width: 40%; 
}
.main-sub-5 h4 {
    color: #FFF;
    margin-bottom: 50px;
    letter-spacing: 0;
}
.main-sub-5 p {
    color: #FFF;
    margin-bottom: 40px;
}
.main-sub-5 .main-sub-5-video {
    aspect-ratio: 16 / 9;
    position: absolute;
    top: 0;
    right: 0; 
    width: 60%;
    height: 100%;
    background-color: #000;
    /* flex-basis: 60%; */
    /* display: flex;
    justify-content: flex-end; */
}
.main-sub-6 {
    padding: 160px 0 100px 0;
    text-align: center;
}
.main-sub-6 h4 {
    letter-spacing: 0;
    margin-bottom: 40px;
}
.main-sub-6 p {
}
.main-sub-7 {
    text-align: center;
    background-color: #3d3836;
}
.main-sub-7 .inner {
    /* display: flex;
    justify-content: space-between;
    align-items: stretch; */
    position: relative;
}
.main-sub-7 .main-sub-7-text {
    width: 40%; 
    padding: 70px 50px;
    margin-left: 60%;
}
.main-sub-7 .main-sub-7-video {
    aspect-ratio: 16 / 9;
    position: absolute;
    top: 0;
    left: 0; 
    width: 60%;
    height: 100%;
    background-color: #000;
    /* flex-basis: 60%; */
    /* display: flex;
    justify-content: flex-end; */
}
.main-sub-7 h4 {
    letter-spacing: 0;
    color: #FFF;
    margin-bottom: 50px;
}
.main-sub-7 p {
    color: #FFF;
    margin-bottom: 40px;
}
.main-sub-72 {
    background-color: #665E5B;
    text-align: center;
    margin-top: 4rem;
}
.main-sub-72 .inner {
    /* display: flex;
    justify-content: space-between;
    align-items: stretch; */
    position: relative;
}
.main-sub-72 .main-sub-72-text {
    /* flex-basis: 40%; */
    padding: 70px 50px;
    width: 40%; 
}
.main-sub-72 h4 {
    color: #FFF;
    margin-bottom: 50px;
    letter-spacing: 0;
}
.main-sub-72 p {
    color: #FFF;
    margin-bottom: 40px;
}
.main-sub-72 .main-sub-72-video {
    aspect-ratio: 16 / 9;
    position: absolute;
    top: 0;
    right: 0; 
    width: 60%;
    height: 100%;
    background-color: #000;
    /* flex-basis: 60%; */
    /* display: flex;
    justify-content: flex-end; */
}
.main-sub-8 {
    padding: 120px 0 160px 0;
}
.main-sub-8 .main-sub-8-text {
    margin-left: 50%; 
    padding-right: 40px;
}
.main-sub-8 h4 {
    letter-spacing: 0;
    margin-bottom: 40px;
}
.main-sub-8 p {
    margin-bottom: 20px;
}
.main-sub-8 a {
    color: #64bcff;
}
.main-sub-8 a:hover {
    color: #1370b0;
}
.main-sub-9 {
    height: 540px;
    text-align: center;
    position: relative;
}
.main-sub-9 .main-sub-9-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main-sub-9 .main-sub-9-text h4 {
    letter-spacing: 0;
    color: #FFF;
    margin-bottom: 20px;
}
.main-sub-10 {
    padding: 160px 0 80px 0;
    text-align: center;
}
.main-sub-10 h4 {
    letter-spacing: 0;
    margin-bottom: 40px;
}
.main-sub-11 {
    padding: 0;
    text-align: center;
}
.main-sub-11 ul {
    display: inline-flex;          /* 가로 배치 */
    border: 1px solid #ececec;        /* 전체 테두리 */
    border-radius: 6px;           /* 둥근 모서리 */
    overflow: hidden;              /* border-radius 안쪽 li 잘리게 */
    padding: 0;
    margin: 0;
    list-style: none;
}
.main-sub-11 ul li {
    list-style: none;
    display: inline-block;
    border-right: 1px solid #ececec;
}
.main-sub-11 ul li:last-child {
    border-right: none;            /* 마지막 li는 오른쪽선 제거 */
}

.main-sub-11 ul li.active {
    background: #3fa9f5;           /* 파란 배경 */
    color: #fff;
}
.main-sub-11 ul li a {
    display: inline-block;
    font-size: 0.8rem;
    color: #999;
    padding: 8px 15px;
    letter-spacing: 0;
}
.main-sub-11 ul li.active {
    background: #3fa9f5;           /* 파란 배경 */
}
.main-sub-11 ul li.active a {
    color: #FFF;
}
.main-sub-12 {
    text-align: center;
}
.main-sub-12 ul { 
    list-style: none;
    font-size: 0;
}
.main-sub-12 ul li {
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0;
}
.main-sub-12 ul li img {
    display: block;
}

/* S: 레이어팝업 */
#popup-notice {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.6);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
#popup-notice .inner {
    background: #FFF;
    /* padding: 2rem; */
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 333px;
    /* max-width: 400px; */
    position: relative;
}
#popup-notice .popup-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #2b251f;
    font-size: 2rem;
}
#popup-notice h4 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}
#popup-notice .content {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #2b251f;
}
#popup-notice .popup-footer {
    font-size: 0.8rem;
    padding: 0 1rem 1rem 1rem;
    /* margin-top: 2rem; */
}
#popup-notice .popup-footer label {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #2b251f;
}
/* #popup-notice .popup-footer label input[type="checkbox"] {
    margin-right: 0.5rem;
    vertical-align: middle;
    border: 3px solid #2b251f;
    width: 1.3rem;
    height: 1.3rem;
}
#popup-notice .popup-footer label input[type="checkbox"]:checked + span {
    color: #333;
    vertical-align: middle;
    display: inline-block;
} */
#popup-notice .popup-footer label input[type="checkbox"] {
    appearance: none;       /* 크롬, 사파리 */
    -webkit-appearance: none;
    -moz-appearance: none;  /* 파이어폭스 */
    width: 24px;
    height: 24px;
    border: 2px solid #CFCFCF; /* 테두리 3px */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 0.5rem;
  }
  
  /* 체크된 상태 */
  #popup-notice .popup-footer label input[type="checkbox"]:checked {
    background-color: #D6CBB3;
    border-color: #333;
  }
  
  /* 체크 표시 모양 (옵션) */
  #popup-notice .popup-footer label input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 55%;
    left: 52%;
    transform: translate(-50%, -60%);
    font-size: 14px;
    color: #333;
  }

#popup-notice .popup-eos {
    /* background-image: url('/img/rayble/temp/img_notice_phone.png'); */
    /* background-image: url('/img/rayble/temp/img_notice_bouquet.png'); */
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: right bottom;
}
/* E: 레이어팝업 */

@media (max-width: 768px) {
    .main-sub-2 { 
        padding: 100px 40px 40px 40px;
    }
    .main-sub-2 .flex { 
        display: block;
    }
    .main-sub-2 .flex div {
        width: 100%;
    }
    .main-sub-3 .flex {
        display: block;
        text-align: center;
    }
    .main-sub-3 .flex a:first-child p {
        margin-bottom: 40px;
    }
    .main-sub-3 .flex div {
        width: 100%;
        margin-bottom: 40px;
    }
    .main-sub-3 .flex div:last-child {
        margin-bottom: 0;
    }
    .main-sub-4 {
        padding: 100px 40px 40px 40px;
    }
    .main-sub-5 .inner {
        width: 100%;
    }
    .main-sub-5 h4 { display: none; }
    .main-sub-5 a img { display: none; }
    .main-sub-5 .main-sub-5-text {
        padding: 40px;
        width: 100%;
        position: relative;
        /* z-index: 10; */
        aspect-ratio: 16 / 9; 
        /* opacity: 0.5; */
        /* background-color: #373c42; */
    }
    .main-sub-5 .main-sub-5-text p {
        display: none;
    }
    .main-sub-5 .main-sub-5-video {
        width: 100%;
        height: 100%;
        z-index: 1;
        /* padding-top: 56.25%; */
        overflow: hidden;
    }
    .main-sub-5 iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .main-sub-6 {
        padding: 100px 40px 40px 40px;
    }
    .main-sub-7 .inner {
        width: 100%;
    }
    .main-sub-7 h4 { display: none; }
    .main-sub-7 a img { display: none; }
    .main-sub-7 .main-sub-7-text {
        padding: 40px;
        width: 100%;
        position: relative;
        /* z-index: 10; */
        aspect-ratio: 16 / 9; 
        /* opacity: 0.5; */
        /* background-color: #373c42; */
        margin-left: 0;
    }
    .main-sub-7 .main-sub-7-text p {
        display: none;
    }
    .main-sub-7 .main-sub-7-video {
        width: 100%;
        height: 100%;
        z-index: 1;
        /* padding-top: 56.25%; */
        overflow: hidden;
    }
    .main-sub-7 iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .main-sub-72 .inner {
        width: 100%;
    }
    .main-sub-72 h4 { display: none; }
    .main-sub-72 a img { display: none; }
    .main-sub-72 .main-sub-72-text {
        padding: 40px;
        width: 100%;
        position: relative;
        /* z-index: 10; */
        aspect-ratio: 16 / 9; 
        /* opacity: 0.5; */
        /* background-color: #373c42; */
    }
    .main-sub-72 .main-sub-72-text p {
        display: none;
    }
    .main-sub-72 .main-sub-72-video {
        width: 100%;
        height: 100%;
        z-index: 1;
        /* padding-top: 56.25%; */
        overflow: hidden;
    }
    .main-sub-72 iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .main-sub-8 {
        padding: 100px 0 40px 0;
    }
    .main-sub-8 .main-sub-8-text {
        margin: 0 40px 40px 40px;
        padding-right: 0;
    }
    .main-sub-9 {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9;
    }
    .main-sub-10 {
        padding: 100px 40px 40px 40px;
    }
    .main-sub-11 {
        /* padding: 0 40px 40px 40px; */
    }
    .main-sub-12 {
        /* padding: 0 40px 40px 40px; */
    }
}
@media (max-width: 1000px) {
    .main-video .main-video-text p {
        display: none;
    }
    .main-sub-2 .flex div:first-child {
        padding-right: 30px;
    }
}