@charset "utf-8"; 


/* main
------------------------------------------------------ */
.wrap{position:relative; }

.full_nav{position:fixed; top: 50%; right: 0; width: 100px; text-align: center; z-index: 105; transform:translateY(-50%); }
.full_nav > ul{position:relative; }
.full_nav > ul > li{}
.full_nav > ul > li p{position:absolute; top: -75px; left: 0; width: 100%; text-align: right; display:inline-block; text-transform: uppercase; font-weight:100; font-size:10px; letter-spacing:0.02em; color: #fff; transform:rotate(90deg);}
.full_nav > ul > li > ul{margin-top: 30px;}
.full_nav > ul > li > ul > li{width: 6px; height: 6px; background: #ddd; vertical-align: top; transition:0.5s; margin: 0 auto 26px; cursor: pointer; border-radius:50%}
.full_nav > ul > li > ul > li:last-of-type{margin-bottom:0;}
.full_nav > ul > li > ul > li p{font-size:0; overflow: hidden;}
.full_nav > ul > li > ul > li.on{width: 16px; height: 16px; box-sizing:border-box; border:1px solid #ddd; background: transparent; border-radius:50%}

.full_down{position:fixed; width: 100px; height: 100px; bottom: 0; right: 0; text-align: center; cursor: pointer; z-index: 10;}
.full_down i{color: #fff; text-align: center; line-height: 100px; font-size:20px;}

.top_btn{display:none; width: 100px; height: 100px; position:fixed; bottom: 0; right: 0; text-align: center; cursor: pointer; z-index: 10;}
.top_btn .p50{display:flex; flex-direction:column; justify-content:center; align-items:center; height: 100px;}
.top_btn i{color: #fff;}
.top_btn p{color: #fff; font-weight:bold; font-size:12px; margin-top: 5px;}

/* main visual */
#main_visual{ overflow:hidden; position:relative; z-index:1; height:calc(1000rem); color:#fff; text-align:center;}
#main_visual .bx-wrapper{height:100%; margin-bottom:0; background:transparent; border:0; box-shadow:none;}
#main_visual .bx-viewport{height:100% !important;}
#main_visual .slider{height:100%;}
#main_visual .roll{position:relative; height:100%;}
#main_visual .roll:after{content:""; position:absolute; z-index:1; top:0; right:0; bottom:0; left:0; pointer-events:none; background:linear-gradient(90deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.02) 100%);}
#main_visual .roll_txt{position:absolute; z-index:2; top:50%; left:50%; width:1400rem; max-width:calc(100% - 80rem); margin:0; transform:translate(-50%, -50%); text-align:left;}
#main_visual .roll_img{z-index:0; position:absolute; left:0; top:0; width:100%; height:100%; background-size:cover; background-position:center top; animation:imagescale 6s infinite; -webkit-animation:imagescale 6s infinite; -moz-animation:imagescale 6s infinite; -o-webkit-animation:imagescale 6s infinite;}
#main_visual .roll01{background-image:url(../img/main/visual01.jpg);}
#main_visual .roll02{background-image:url(../img/main/visual02.jpg);}
#main_visual .roll03{background-image:url(../img/main/visual03.jpg);}
#main_visual .roll04{background-image:url(../img/main/visual04.jpg);}
#main_visual span{display:block; margin:0 0 14rem; font-weight:800; font-size:20rem; color:rgba(255,255,255,.72); overflow:hidden; line-height:1.2; opacity:1;}
#main_visual h2{margin:0 0 20rem; font-weight:800; font-size:45rem; color:#fff; overflow:hidden; line-height:1.2; word-break:keep-all; text-shadow:1px 2px 5px rgba(0,0,0,.65); opacity:1;}
#main_visual p{max-width:950rem; margin:0; font-weight:800; line-height:1.35; color:#fff; font-size:33rem; letter-spacing:-.5px; word-break:keep-all; text-shadow:1px 2px 5px rgba(0,0,0,.65); opacity:1;}
#main_visual .roll.is-active .roll_txt > *{animation:down 1.1s .15s both;}
#main_visual .btn_more{margin-top:50rem}
#main_visual .roll_txt2{display:inline-block; margin-right:80rem; text-align:left;}
#main_visual .bx-controls{ z-index:100; width:100%; text-align:center;}
#main_visual .bx-controls-direction{}
#main_visual .bx-pager{display:inline-block; vertical-align:middle;}
#main_visual .bx-pager > div{display:inline-block;}
#main_visual .bx-pager a{display:inline-block; width:12rem; height:12rem; margin:0 5rem; border:2px solid #fff; font-size:0; text-indent:-9000px; border-radius:50%;}
#main_visual .bx-pager a.active{background:#fff;}
#main_visual .bx-controls-auto{display:inline-block; vertical-align:middle;}
#main_visual .bx-controls-auto > div{display:inline-block;}
#main_visual .bx-controls-auto a{display:inline-block; width:20px; height:20px; margin:0 5px; background-position:center; font-size:0; color:#fff; text-indent:-9000px; background-repeat:no-repeat;}
#main_visual .bx-controls-auto a.bx-start{background-image:url(../img/btn_play.png);}
#main_visual .bx-controls-auto a.bx-stop{background-image:url(../img/btn_pause.png);}
#main_visual .bx-controls-auto a.active{display:none;}

/* 이전다음버튼일때 */
#main_visual .bx-default-pager{display:none; position: absolute; left:0; width: 100%;bottom:30rem;z-index: 60;}
#main_visual .bx-controls-direction{position: absolute; left:0; width: 100%;top:48%;z-index: 60;}
#main_visual .bx-controls-direction a.bx-prev:After{transform:rotate(180deg); -webkit-transform:rotate(180deg);}
#main_visual .bx-controls-direction a:hover{}
#main_visual .bx-controls-direction a{display:block; position:absolute; overflow:hidden; width:28rem; height:46rem; text-indent:-9999px; transition:all 0.2s ease-out 0s;}
#main_visual .bx-controls-direction a:after{content:""; position:absolute; top:0; left:0; width:100%; height:100%; background:url(../img/layout/icon_btn_arrow.svg) no-repeat 50% 50%;}
#main_visual .bx-controls-direction a.bx-next{right:100rem;}
#main_visual .bx-controls-direction a.bx-prev{left:100rem;}

@keyframes imagescale {
  0% {
    transform: scale(1.1)  rotate(.001deg);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
  }

  100% {
    transform: scale(1)  rotate(.001deg);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
  }
}

@media (max-width:1700px){

	#main_visual .bx-controls-direction a.bx-prev{left:20rem;}
	#main_visual .bx-controls-direction a.bx-next{right:20rem;}
}

@media (max-width:1480px){
	#main_visual{height:1000rem;}
	#main_visual .roll_img{    background-position: 50%;}
}

@media (max-width:1023px) {
    #main_visual{margin-top:80rem; height:700rem;}
    #main_visual .roll_txt{width:auto; max-width:calc(100% - 64rem); text-align:center;}
    #main_visual h2{font-size:40rem;}
    #main_visual p{max-width:760rem; margin-right:auto; margin-left:auto; font-size:25rem;}
}


@media (max-width:860px){
	
	#main_visual .bx-default-pager{display:none;}
	#main_visual .bx-controls-direction{display:none;}



}

@media (max-width:540px) {
    #main_visual{height:520rem; height:calc(100svh - 80rem); min-height:480rem; max-height:620rem; margin-top:80rem;}
    #main_visual .roll:after{background:linear-gradient(180deg, rgba(0,0,0,.05) 8%, rgba(0,0,0,.16) 42%, rgba(0,0,0,.62) 100%);}
    #main_visual .roll_txt{top:auto; right:20rem; bottom:62rem; left:20rem; width:auto; max-width:none; transform:none; text-align:left;}
    #main_visual span{margin:0 0 10rem; font-size:11rem; line-height:1.3; letter-spacing:.08em;}
    #main_visual h2{margin:0; font-size:26rem; line-height:1.3;}
    #main_visual p{max-width:320rem; margin:12rem 0 0; font-size:14rem; line-height:1.55; font-weight:600;}
    #main_visual .btn_more{margin-top:25rem;}
    #main_visual .roll01{background-position:58% center;}
    #main_visual .roll02{background-position:50% center;}
    #main_visual .roll03{background-position:62% center;}
}

@media (prefers-reduced-motion:reduce) {
    #main_visual .roll_img,
    #main_visual .roll.is-active .roll_txt > *{animation:none !important;}
}

.mv{position:relative;}
.mv .slide_wrap{position:relative;}
.mv .slide_wrap .slide_ctn{}
.mv .slide_wrap .slide_ctn .item{width: 100%; height: 100vh; min-height: 600px; animation: imagescale 5s infinite; -webkit-animation: imagescale 5s infinite; -moz-animation: imagescale 5s infinite; -o-webkit-animation: imagescale 5s infinite;}
.mv .slide_wrap .slide_ctn .item .bg{background:url(../img/main/visual01.jpg) 50% 50% no-repeat; background-size:cover; height: 100vh; min-height: 600px; }
.mv .slide_wrap .slide_ctn .item .bg02{background:url(../img/main/visual02.jpg) 50% 50% no-repeat; background-size:cover;}
.mv .slide_wrap .slide_ctn .item .bg03{background:url(../img/main/visual03.jpg) 50% 50% no-repeat; background-size:cover;}

.mv .slide_wrap .slide_txt{position:absolute; top: 50%; left: 0; box-sizing:border-box; width: 100%; }
.mv .slide_wrap .slide_txt .item{display: flex; align-items: center; justify-content: center;  }

.mv .slide_wrap .slide_txt .item p{font-size:25px; font-weight:600; color: #fff; margin-top: 26px; animation:up 1.5s .8s forwards; opacity:0}
.mv .slide_wrap .slide_txt .item h2{font-weight:600; font-size:50rem; color: #fff; overflow: hidden;  line-height: 1.2em; animation:down 1.5s .5s forwards; opacity:0}

.mv .slide_wrap .slide_ui{position:absolute; bottom: 0; left: 50%; width: 100%; max-width: 1500px; transform:translateX(-50%);}
.mv .slide_wrap .slide_ui .chk_progress{display:flex; flex-wrap:wrap; position:relative;width: 100%; height: 10px;}
.mv .slide_wrap .slide_ui .chk_progress::after{content:''; position:absolute; top: 0; left: 0; width: 100%; height: 100%; background: #1b1464; opacity: 0.2;}
.mv .slide_wrap .slide_ui .chk_progress .item{position: relative; top: 0; left: 0; width: 33.33%; height: 100%;}
.mv .slide_wrap .slide_ui .chk_progress .item .txt{text-align: right; position: relative; margin-top: -28px;}
.mv .slide_wrap .slide_ui .chk_progress .item .txt p{font-weight:300; font-size:12px; color: #fff; opacity: 0.3; transition:0.2s;}
.mv .slide_wrap .slide_ui .chk_progress .item .bar{position:absolute; top: 0; left: 0; width: 0; height: 100%; background: #1b1464;}


@media screen and (max-width: 1800px){
	.mv .slide_wrap .slide_ui{margin: 0 120px; left: 0; max-width: none; width: calc(100% - 240px); transform:translateX(0);}
}

@media screen and (max-width: 1500px){
	.mv .slide_wrap .slide_txt{}	
	.mv .slide_wrap .slide_ui{margin: 0 120px 0 40px; width: calc(100% - 160px);}
	
}

@media screen and (max-width: 1200px){
	.mv .slide_wrap .slide_ui{width: 100%; margin: 0; padding: 0 16px; box-sizing:border-box;}
	.mv .slide_wrap .slide_ctn .item .bg{margin-right: 0; }
}

@media screen and (max-width: 1023px){
	.mv .slide_wrap .slide_ctn .item{height: 88vh;}
	.mv .slide_wrap .slide_txt .item{ margin-top: 46px;}
	.mv .slide_wrap .slide_txt .item h2{font-size:50px;}
	.mv .slide_wrap .slide_txt .item p{font-size:20px; margin-top:16px;}
}

@media screen and (max-width: 600px){
	.mv .slide_wrap .slide_txt .item h2{font-size:30rem;}
}



/* =====================================================
   SEOUL FOREST NURSING HOME / Official baseline v1.0.0
   신규 스타일은 기존 공통 스타일과 분리한다.
===================================================== */
:root {
    --ilyoung-primary: #173f38;
    --ilyoung-primary-soft: #2f6658;
    --ilyoung-sage: #91a999;
    --ilyoung-gold: #caa35b;
    --ilyoung-ivory: #f6f3eb;
    --ilyoung-text: #22302c;
}
.ilyoung-main .side_nav span { display:flex; align-items:center; gap:10px; font-size:12px; color:#fff; }
.ilyoung-main .side_nav em { width:0; overflow:hidden; opacity:0; white-space:nowrap; transition:.35s; }
.ilyoung-main .side_nav li.act em { width:90px; opacity:1; }
.ilyoung-main .side_nav.black span { color:var(--ilyoung-primary); }
.ilyoung-visual-progress { position:absolute; left:50%; bottom:42px; z-index:80; width:220px; height:2px; background:rgba(255,255,255,.35); transform:translateX(-50%); }
.ilyoung-visual-progress span { display:block; width:0; height:100%; background:var(--ilyoung-gold); }

.ilyoung-about { min-height:850px; display:flex; align-items:center; background:var(--ilyoung-ivory); }
.ilyoung-about__inner { width:min(1500px,90%); margin:0 auto; display:grid; grid-template-columns:56% 44%; align-items:center; }
.ilyoung-about__visual { position:relative; min-height:650px; }
.ilyoung-about__main { position:absolute; inset:0 16% 0 0; overflow:hidden; border-radius:0 70px 0 0; }
.ilyoung-about__main img,.ilyoung-about__sub img { width:100%; height:100%; object-fit:cover; transition:transform 1.2s ease; }
.ilyoung-about__sub { position:absolute; right:0; bottom:-5%; width:40%; height:42%; overflow:hidden; border:12px solid var(--ilyoung-ivory); }
.ilyoung-about__copy { padding-left:8vw; }
.ilyoung-about .eyebrow,.ilyoung-daily .eyebrow,.ilyoung-intro-page .eyebrow { margin-bottom:20px; color:var(--ilyoung-gold); font-size:16px; font-weight:800; letter-spacing:.18em; }
.ilyoung-about h2,.ilyoung-daily h2 { color:var(--ilyoung-primary); font-size:50px; line-height:1.25; font-weight:800; }
.ilyoung-about .desc { margin:35px 0; color:#4d5a56; font-size:18px; line-height:1.9; }
.ilyoung-about .more_btn { display:inline-flex; align-items:center; justify-content:center; min-width:190px; height:56px; color:#fff; background:var(--ilyoung-primary); }

.ilyoung-main .index_service { background:var(--ilyoung-primary); }
.ilyoung-main .index_features .features_intro { background:var(--ilyoung-primary); }
.ilyoung-main .index_features .features_box .box:nth-child(2) { background:#ab6e3e; }
.ilyoung-main .index_features .features_box .box:nth-child(3) { background:var(--ilyoung-gold); }
.ilyoung-main .index_features .features_box .box:nth-child(4) { background:var(--ilyoung-primary-soft); }
.ilyoung-main .features_box .box:hover .img { transform:scale(1.06); }
.ilyoung-main .features_box .img { transition:transform 1s ease; }

.ilyoung-daily { min-height:900px; display:flex; align-items:center; background:#fff; }
.ilyoung-daily__inner { width:min(1500px,90%); margin:0 auto; }
.ilyoung-daily__head { margin-bottom:45px; }
.ilyoung-daily__body { display:grid; grid-template-columns:60% 40%; align-items:stretch; }
.ilyoung-daily__media { min-height:540px; overflow:hidden; }
.ilyoung-daily__media img { width:100%; height:100%; object-fit:cover; transition:opacity .45s ease,transform .9s ease; }
.ilyoung-daily__timeline { padding:30px 0 30px 70px; }
.ilyoung-daily__timeline ol { position:relative; }
.ilyoung-daily__timeline ol:before { content:""; position:absolute; left:20px; top:20px; bottom:20px; width:1px; background:#d8ddd9; }
.ilyoung-daily__timeline li { position:relative; margin-bottom:12px; }
.ilyoung-daily__timeline button { width:100%; padding:14px 10px 14px 65px; text-align:left; background:none; border:0; cursor:pointer; }
.ilyoung-daily__timeline em { position:absolute; left:0; top:13px; z-index:1; display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:var(--ilyoung-primary); background:#fff; border:1px solid #cfd7d2; font-weight:800; transition:.35s; }
.ilyoung-daily__timeline strong { display:block; color:var(--ilyoung-primary); font-size:24px; }
.ilyoung-daily__timeline span { display:block; max-height:0; margin-top:0; overflow:hidden; color:#65706c; font-size:16px; line-height:1.7; opacity:0; transition:.4s; }
.ilyoung-daily__timeline li.is-active em { color:#fff; background:var(--ilyoung-gold); border-color:var(--ilyoung-gold); }
.ilyoung-daily__timeline li.is-active span { max-height:90px; margin-top:10px; opacity:1; }

.ilyoung-main .index_review .facility-no { display:block; margin-top:15px; color:var(--ilyoung-primary); font-weight:800; letter-spacing:.12em; }
.ilyoung-main .esti_box { background-image:linear-gradient(rgba(16,52,45,.76),rgba(16,52,45,.76)),url(../img/main/customer_bg.jpg); }
.ilyoung-main .esti_box .r { display:block; }

.ilyoung-intro-page { padding:100px 0 0; }
.ilyoung-intro-lead { display:grid; grid-template-columns:46% 54%; align-items:center; gap:70px; }
.ilyoung-intro-copy .sub_tit h3 { padding-bottom:28px; color:var(--ilyoung-primary); font-size:45px; line-height:1.35; }
.ilyoung-intro-text p { margin-bottom:18px; color:#4a5551; font-size:17px; line-height:1.85; }
.ilyoung-intro-collage { position:relative; min-height:620px; }
.ilyoung-intro-collage .main { position:absolute; inset:0 12% 8% 0; overflow:hidden; border-radius:0 55px 0 0; }
.ilyoung-intro-collage .sub { position:absolute; right:0; bottom:0; width:42%; height:40%; border:10px solid #fff; overflow:hidden; }
.ilyoung-intro-collage img { width:100%; height:100%; object-fit:cover; }
.ilyoung-values { padding:120px 0; }
.ilyoung-values__head { margin-bottom:45px; text-align:center; }
.ilyoung-values__head h3 { color:var(--ilyoung-primary); font-size:36px; }
.ilyoung-values__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ilyoung-values__grid article { min-height:260px; padding:45px 38px; background:var(--ilyoung-ivory); border-top:4px solid var(--ilyoung-primary); }
.ilyoung-values__grid em { color:var(--ilyoung-gold); font-size:16px; font-weight:800; }
.ilyoung-values__grid h4 { margin:28px 0 18px; color:var(--ilyoung-primary); font-size:27px; }
.ilyoung-values__grid p { color:#596460; font-size:16px; line-height:1.75; }
.ilyoung-intro-promise { position:relative; height:650px; overflow:hidden; }
.ilyoung-intro-promise__image { position:absolute; inset:-5%; background:url(../img/sub/intro_bottom.jpg) center/cover no-repeat; animation:ilyoungZoom 12s ease-out infinite alternate; }
.ilyoung-intro-promise:after { content:""; position:absolute; inset:0; background:rgba(17,58,50,.58); }
.ilyoung-intro-promise__copy { position:relative; z-index:1; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; text-align:center; }
.ilyoung-intro-promise__copy span { width:75px; height:2px; margin-bottom:30px; background:var(--ilyoung-gold); }
.ilyoung-intro-promise__copy p { font-size:38px; line-height:1.5; font-weight:700; }
#sub_visual.sub10 { background-image:linear-gradient(rgba(13,48,41,.42),rgba(13,48,41,.42)),url(../img/sub/sub01_top.jpg); }
@keyframes ilyoungZoom { from{transform:scale(1.08)} to{transform:scale(1)} }

@media (max-width:1200px) {
    .ilyoung-about__inner,.ilyoung-daily__body,.ilyoung-intro-lead { grid-template-columns:1fr; }
    .ilyoung-about { padding:100px 0; }
    .ilyoung-about__visual { min-height:560px; }
    .ilyoung-about__copy { padding:70px 0 0; }
    .ilyoung-daily { padding:100px 0; }
    .ilyoung-daily__timeline { padding:35px 0 0; }
    .ilyoung-intro-lead { gap:45px; }
}
@media (max-width:768px) {
    .ilyoung-main .side_nav { display:none; }
    .ilyoung-about,.ilyoung-daily { min-height:auto; padding:75px 0; }
    .ilyoung-about__visual { min-height:420px; }
    .ilyoung-about__main { inset:0; border-radius:0 35px 0 0; }
    .ilyoung-about__sub { display:none; }
    .ilyoung-about h2,.ilyoung-daily h2 { font-size:34px; }
    .ilyoung-daily__body { display:block; }
    .ilyoung-daily__media { min-height:320px; }
    .ilyoung-daily__timeline ol:before { display:none; }
    .ilyoung-daily__timeline button { padding-left:56px; }
    .ilyoung-intro-page { padding-top:60px; }
    .ilyoung-intro-copy .sub_tit h3 { font-size:32px; }
    .ilyoung-intro-collage { min-height:420px; }
    .ilyoung-intro-collage .main { inset:0; border-radius:0 35px 0 0; }
    .ilyoung-intro-collage .sub { display:none; }
    .ilyoung-values { padding:75px 0; }
    .ilyoung-values__head h3 { font-size:29px; }
    .ilyoung-values__grid { grid-template-columns:1fr; }
    .ilyoung-intro-promise { height:430px; }
    .ilyoung-intro-promise__copy p { padding:0 25px; font-size:27px; }
}

/* SEOUL FOREST v1.1.1 - feature background depth */
.index_features {
    position: relative;
    isolation: isolate;
    background: #123e34;
}

.index_features::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../img/main/introduction_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: .18;
    transform: scale(1.08);
    transition: transform 1.8s ease;
}

.index_features::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(12, 55, 46, .92), rgba(24, 78, 65, .84));
    pointer-events: none;
}

.index_features.active::before,
.index_features.act::before {
    transform: scale(1);
}

.index_features > * {
    position: relative;
    z-index: 1;
}

/* SEOUL FOREST v1.1.1 - daily timeline progress */
.ilyoung-daily__timeline ol::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 20px;
    width: 2px;
    height: var(--daily-progress, 0%);
    max-height: calc(100% - 40px);
    background: var(--ilyoung-gold);
    transition: height .45s ease;
}

.ilyoung-daily__timeline li,
.ilyoung-daily__timeline li em {
    z-index: 2;
}


/* SEOUL FOREST v1.1.2 - final contact and timeline refinement */
.ilyoung-main .side_nav {
    display: none !important;
}

.ilyoung-contact {
    min-height: 620px !important;
    height: auto !important;
    padding: 65px 0 !important;
}

.ilyoung-contact .ss_container {
    min-height: 490px;
}

.ilyoung-contact .info_box_lst ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ilyoung-contact .info_box_lst li {
    width: auto !important;
}

.ilyoung-contact .info_box_lst li a {
    display: block;
    height: 100%;
    padding: 30px 22px;
    color: inherit;
}

.ilyoung-contact .info_box_lst .t2 {
    line-height: 1.55;
    word-break: keep-all;
}

.ilyoung-daily__media img {
    transition: opacity .48s ease, transform .65s ease;
}

.ilyoung-daily__timeline em {
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.ilyoung-daily__timeline span {
    transition: max-height .3s ease, margin .3s ease, opacity .3s ease;
}

@media all and (max-width: 767px) {
    .ilyoung-contact {
        min-height: 0 !important;
        padding: 55px 0 !important;
    }

    .ilyoung-contact .ss_container {
        min-height: 0;
    }

    .ilyoung-contact .info_box_lst ul {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SEOUL FOREST NURSING HOME
   MOBILE MAIN WIDTH / CONTACT BASELINE v1.1.7
   ========================================================= */
@media all and (max-width: 767px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body #wrap,
    body .ilyoung-main,
    body .ilyoung-main.index_wrap,
    body .ilyoung-main > .sect,
    body .ilyoung-main .index_slide,
    body .ilyoung-main #main_visual,
    body .ilyoung-main #main_visual .bx-wrapper,
    body .ilyoung-main #main_visual .bx-viewport,
    body .ilyoung-main #main_visual .slider,
    body .ilyoung-main #main_visual .roll,
    body .ilyoung-main #main_visual .roll_img {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box;
    }

    body .ilyoung-main .container,
    body .ilyoung-main .s_container,
    body .ilyoung-main .ss_container,
    body .ilyoung-main .wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        box-sizing: border-box;
    }

    .ilyoung-contact {
        min-height: 0 !important;
        height: auto !important;
        padding: 38px 14px 42px !important;
        background-position: center center;
    }

    .ilyoung-contact .ss_container,
    .ilyoung-contact .wrap {
        min-height: 0 !important;
    }

    .ilyoung-contact .wrap {
        display: block;
        padding: 0 !important;
    }

    .ilyoung-contact .wrap .l {
        width: 100% !important;
        margin: 0 0 24px !important;
        text-align: center;
    }

    .ilyoung-contact .wrap .l .t1 {
        font-size: 13px !important;
    }

    .ilyoung-contact .wrap .l .t2 {
        margin-top: 8px !important;
        font-size: 30px !important;
        line-height: 1.22;
    }

    .ilyoung-contact .wrap .l .t3 {
        max-width: 330px;
        margin: 14px auto 0 !important;
        font-size: 15px !important;
        line-height: 1.6;
    }

    .ilyoung-contact .wrap .r {
        width: 100% !important;
    }

    .ilyoung-contact .info_box_lst ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .ilyoung-contact .info_box_lst li {
        width: auto !important;
        min-width: 0;
        height: auto !important;
        min-height: 190px;
    }

    .ilyoung-contact .info_box_lst li a {
        display: flex;
        min-height: 190px;
        height: 100%;
        padding: 22px 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .ilyoung-contact .info_box_lst .ico {
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 14px !important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .ilyoung-contact .info_box_lst .t1 {
        font-size: 15px !important;
        line-height: 1.35;
    }

    .ilyoung-contact .info_box_lst .t2 {
        margin-top: 10px !important;
        font-size: 14px !important;
        line-height: 1.45;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .ilyoung-contact .info_box_lst li:first-child .t2 {
        white-space: nowrap;
    }

    .ilyoung-contact .info_box_lst li:last-child .t2 {
        max-width: 145px;
    }
}

@media all and (max-width: 390px) {
    .ilyoung-contact {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .ilyoung-contact .info_box_lst ul {
        gap: 7px !important;
    }

    .ilyoung-contact .info_box_lst li,
    .ilyoung-contact .info_box_lst li a {
        min-height: 180px;
    }

    .ilyoung-contact .info_box_lst li a {
        padding: 20px 8px;
    }

    .ilyoung-contact .info_box_lst .t2 {
        font-size: 13px !important;
    }
}

/* SEOUL FOREST NURSING HOME MAIN VISUAL MOBILE TEXT BASELINE v1.1.8 / 2026-07-31 */

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.1 (2026-08-05)
   - Main visual: 4 slides -> 3 slides
   - Feature photos: overlay intensity reduced
   - Contact background: photo visibility improved
   ========================================================================== */

/* Main visual image focal points */
#main_visual .roll01 {
    background-position: 58% center;
}

#main_visual .roll02 {
    background-position: 50% center;
}

#main_visual .roll03 {
    background-position: 43% center;
}

/* Feature image visibility */
.ilyoung-main .index_features .features_box .box .img {
    filter: brightness(1.04) saturate(1.03);
}

.ilyoung-main .index_features .features_box .box .img::after {
    opacity: 1;
}

.ilyoung-main .index_features .features_box .box:nth-child(1) .img::after,
.ilyoung-main .index_features .features_box .box:nth-child(4) .img::after {
    background:
        linear-gradient(
            135deg,
            rgba(5, 46, 32, .66) 0%,
            rgba(5, 46, 32, .48) 55%,
            rgba(5, 46, 32, .34) 100%
        );
}

.ilyoung-main .index_features .features_box .box:nth-child(2) .img::after {
    background:
        linear-gradient(
            135deg,
            rgba(218, 132, 0, .62) 0%,
            rgba(243, 154, 0, .46) 55%,
            rgba(243, 154, 0, .30) 100%
        );
}

.ilyoung-main .index_features .features_box .box:nth-child(3) .img::after {
    background:
        linear-gradient(
            135deg,
            rgba(222, 153, 0, .60) 0%,
            rgba(255, 186, 19, .44) 55%,
            rgba(255, 186, 19, .28) 100%
        );
}

.ilyoung-main .index_features .features_box .box .tit {
    z-index: 3;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, .36),
        0 1px 2px rgba(0, 0, 0, .24);
}

/* Admission consultation background visibility */
.ilyoung-main .esti_box {
    background-image:
        linear-gradient(
            90deg,
            rgba(10, 48, 40, .72) 0%,
            rgba(10, 48, 40, .62) 42%,
            rgba(10, 48, 40, .48) 72%,
            rgba(10, 48, 40, .42) 100%
        ),
        url(../img/main/customer_bg.jpg);
    background-position: center;
    background-size: cover;
}

.ilyoung-main .esti_box .wrap .r .info_box_lst > ul > li {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(8, 42, 35, .06);
}

@media (max-width: 767px) {
    #main_visual .roll01 {
        background-position: 63% center;
    }

    #main_visual .roll02 {
        background-position: 50% center;
    }

    #main_visual .roll03 {
        background-position: 40% center;
    }

    .ilyoung-main .index_features .features_box .box .img::after {
        filter: brightness(.96);
    }

    .ilyoung-main .esti_box {
        background-image:
            linear-gradient(
                rgba(10, 48, 40, .64),
                rgba(10, 48, 40, .64)
            ),
            url(../img/main/customer_bg.jpg);
        background-position: 57% center;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.2 (2026-08-05)
   - Main visual image ratio: original panorama 33:14
   - Desktop visual height follows viewport width
   - Tablet and mobile retain readable text height
   ========================================================================== */

/* Desktop panorama: 2640 x 1120 (33:14) */
body .ilyoung-main #main_visual {
    width: 100%;
    height: 42.4242vw;
    min-height: 580px;
    max-height: 860px;
}

body .ilyoung-main #main_visual .roll_img {
    background-repeat: no-repeat;
    background-size: cover;
}

body .ilyoung-main #main_visual .roll01 {
    background-position: 56% center;
}

body .ilyoung-main #main_visual .roll02 {
    background-position: 50% center;
}

body .ilyoung-main #main_visual .roll03 {
    background-position: 46% center;
}

/* Medium desktop */
@media all and (max-width: 1480px) and (min-width: 1024px) {
    body .ilyoung-main #main_visual {
        height: 42.4242vw;
        min-height: 580px;
        max-height: 720px;
    }

    body .ilyoung-main #main_visual h2 {
        font-size: 40rem;
    }

    body .ilyoung-main #main_visual p {
        font-size: 27rem;
    }
}

/* Tablet: preserve sufficient height for copy */
@media all and (max-width: 1023px) and (min-width: 768px) {
    body .ilyoung-main #main_visual {
        height: 60vw;
        min-height: 560px;
        max-height: 700px;
        margin-top: 80rem;
    }

    body .ilyoung-main #main_visual .roll01 {
        background-position: 58% center;
    }

    body .ilyoung-main #main_visual .roll02 {
        background-position: 50% center;
    }

    body .ilyoung-main #main_visual .roll03 {
        background-position: 48% center;
    }
}

/* Mobile: panorama image is cropped, but text remains readable */
@media all and (max-width: 767px) {
    body .ilyoung-main #main_visual {
        height: calc(100vh - 80px);
        height: calc(100svh - 80px);
        min-height: 480px;
        max-height: 620px;
        margin-top: 80px;
    }

    body .ilyoung-main #main_visual .roll01 {
        background-position: 63% center;
    }

    body .ilyoung-main #main_visual .roll02 {
        background-position: 50% center;
    }

    body .ilyoung-main #main_visual .roll03 {
        background-position: 40% center;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.3 (2026-08-05)
   - Remove legacy fixed height from the first slide section
   - Attach the second section directly below the panorama
   - Move tablet/mobile header spacing from child margin to parent padding
   ========================================================================== */

/* Main visual section: follow the actual panorama height */
body .ilyoung-main > .index_slide {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove bottom gaps created by slider wrappers */
body .ilyoung-main #main_visual,
body .ilyoung-main #main_visual .bx-wrapper,
body .ilyoung-main #main_visual .bx-viewport,
body .ilyoung-main #main_visual .slider,
body .ilyoung-main #main_visual .roll {
    margin-bottom: 0 !important;
}

/* Keep the second section directly connected to the visual */
body .ilyoung-main > .ilyoung-about {
    margin-top: 0 !important;
}

/* Tablet: reserve header space on the parent section */
@media all and (max-width: 1023px) and (min-width: 768px) {
    body .ilyoung-main > .index_slide {
        padding-top: 80rem !important;
    }

    body .ilyoung-main #main_visual {
        margin-top: 0 !important;
    }
}

/* Mobile: reserve header space on the parent section */
@media all and (max-width: 767px) {
    body .ilyoung-main > .index_slide {
        padding-top: 80px !important;
    }

    body .ilyoung-main #main_visual {
        margin-top: 0 !important;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.4 (2026-08-05)
   - Replace feature 03 copy with Seoul accessibility message
   - Add the unique certification number to main/sub footer information
   - Keep long Korean copy and footer information readable responsively
   ========================================================================== */

/* Feature 03: accessibility copy */
.ilyoung-main .index_features .features_box .feature-access .tit {
    width: 92%;
    font-size: 40rem;
    line-height: 1.35;
    word-break: keep-all;
}

.ilyoung-main .index_features_slide .txt .t1 {
    word-break: keep-all;
}

/* Footer company information */
#footer .foo_b .info .line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 34px;
}

#footer .foo_b .info .line > span {
    display: inline-flex;
    align-items: center;
    margin: 0;
    white-space: nowrap;
}

#footer .foo_b .info .line > span em {
    margin-right: 12px;
}

@media all and (max-width: 1500px) and (min-width: 1024px) {
    .ilyoung-main .index_features .features_box .feature-access .tit {
        font-size: 34rem;
    }

    #footer .foo_b .info .line {
        gap: 8px 24px;
    }
}

@media all and (max-width: 767px) {
    .ilyoung-main .index_features .features_box .box .tit,
    .ilyoung-main .index_features .features_box .feature-access .tit {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 92%;
        min-height: 2.64em;
        font-size: 23rem !important;
        line-height: 1.32;
        letter-spacing: -0.03em;
        text-align: center;
        word-break: keep-all;
    }

    #footer .foo_b .info .line {
        justify-content: center;
        gap: 7px 18px;
    }

    #footer .foo_b .info .line > span {
        font-size: 13px !important;
    }

    #footer .foo_b .info .line:first-child > span:last-child {
        width: 100%;
        justify-content: center;
    }
}



/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.5 (2026-08-05)
   - Unify all four mobile feature-title sizes
   - Keep the longer accessibility title balanced in two lines
   - Reduce only the long title on extra-small mobile screens
   ========================================================================== */

@media all and (max-width: 360px) {
    .ilyoung-main .index_features .features_box .feature-access .tit {
        width: 94%;
        font-size: 21rem !important;
        letter-spacing: -0.045em;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.6 (2026-08-06)
   - Align the PC menu and representative phone number on one vertical center
   - Normalize the phone icon and number baseline
   - Add a consistent ADMIN link to the main and sub-page footers
   ========================================================================== */

/* PC header: menu and representative phone share the same center line */
@media all and (min-width: 1024px) {
    #header .header-inner {
        position: relative;
        display: flex;
        align-items: center;
        height: 100rem;
    }

    #header .gnb {
        display: flex;
        align-items: center;
        height: 100%;
        margin-left: auto;
        float: none;
    }

    #header .gnb > ul {
        display: flex;
        align-items: center;
        height: 100%;
        margin-top: 0;
    }

    #header .gnb .depth1 {
        display: flex;
        align-items: center;
        height: 100%;
    }

    #header .gnb .depth1 > a {
        display: inline-flex;
        align-items: center;
        height: 100%;
        line-height: 1.2;
    }

    #header .user {
        position: relative;
        right: auto;
        display: flex;
        align-items: center;
        height: 100%;
        margin-top: 0;
        margin-left: 20rem;
        float: none;
    }

    #header .user > ul,
    #header .user li {
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0;
    }

    #header .user li {
        gap: 10rem;
    }

    #header .user i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 30rem;
        height: 30rem;
        line-height: 1;
    }

    #header .user i img {
        display: block;
        width: 30rem;
        height: 30rem;
        object-fit: contain;
    }

    #header .user .header-call {
        display: inline-flex;
        align-items: center;
        height: 30rem;
        line-height: 1;
        white-space: nowrap;
    }
}

/* Main/sub footer ADMIN link */
#footer .footer-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54rem;
    height: 24rem;
    margin-left: 10rem;
    padding: 0 10rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11rem;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

#footer .footer-admin-link:hover,
#footer .footer-admin-link:focus {
    border-color: rgba(255, 255, 255, 0.75);
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@media all and (max-width: 767px) {
    #footer .footer-admin-link {
        min-width: 48px;
        height: 22px;
        margin-left: 7px;
        padding: 0 8px;
        font-size: 10px;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.7 (2026-08-06)
   - Fix the PC header into three stable zones: logo / centered menu / phone
   - Pin the representative phone number to the far right of the header wrap
   - Keep the phone number and menu on the same vertical center line
   ========================================================================== */

@media all and (min-width: 1024px) {
    #header .header-inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100rem;
    }

    /* Left zone: logo does not participate in flex ordering. */
    #header h1 {
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 3;
        margin: 0;
        transform: translateY(-50%);
    }

    /* Center zone: navigation remains centered in the header wrap. */
    #header .gnb {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: 100%;
        margin: 0 auto;
        float: none;
    }

    #header .gnb > ul {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        margin: 0;
    }

    #header .gnb .depth1,
    #header .gnb .depth1 > a {
        display: flex;
        align-items: center;
        height: 100%;
    }

    /* Right zone: phone number is anchored to the far right. */
    #header .user {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 4;
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0;
        float: none;
    }

    #header .user > ul,
    #header .user li {
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0;
    }

    #header .user li {
        gap: 10rem;
    }

    #header .user i,
    #header .user i img {
        width: 30rem;
        height: 30rem;
    }

    #header .user i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 30rem;
        line-height: 1;
    }

    #header .user i img {
        display: block;
        object-fit: contain;
    }

    #header .user .header-call {
        display: inline-flex;
        align-items: center;
        height: 30rem;
        line-height: 1;
        white-space: nowrap;
    }
}

/* Compact desktop: prevent the center menu and right phone from colliding. */
@media all and (min-width: 1024px) and (max-width: 1350px) {
    #header .gnb .depth1 {
        margin-right: 18rem;
        margin-left: 18rem;
    }

    #header .gnb .depth1 > a {
        font-size: 16rem;
    }

    #header .user li {
        gap: 7rem;
    }

    #header .user i,
    #header .user i img {
        width: 26rem;
        height: 26rem;
    }

    #header .user i {
        flex-basis: 26rem;
    }

    #header .user .header-call {
        height: 26rem;
        font-size: 17rem;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.8 (2026-08-06)
   - Move the desktop navigation group closer to the right-side phone area
   - Remove unintended movement, scaling and position shifts on menu hover
   - Preserve the existing color-only hover state and submenu functionality
   ========================================================================== */

@media all and (min-width: 1024px) {
    /* Keep each top-level item fixed in place in every interaction state. */
    #header .gnb .depth1,
    #header .gnb .depth1:hover,
    #header .gnb .depth1:focus-within,
    #header .gnb .depth1 > a,
    #header .gnb .depth1 > a:hover,
    #header .gnb .depth1 > a:focus,
    #header .gnb .depth1 > a:active {
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    /* Do not animate position, size or transforms on top-level menu links. */
    #header .gnb .depth1 > a {
        transition: color 0.2s ease, opacity 0.2s ease !important;
    }

    #header .gnb .depth1 > a::before,
    #header .gnb .depth1 > a::after {
        transition: none !important;
    }
}

/* Compact desktop: use only a small rightward adjustment to avoid collision. */
@media all and (min-width: 1024px) and (max-width: 1359px) {
    #header .gnb {
        position: relative;
        left: 20rem;
    }
}

/* Standard/wide desktop: bring the menu group closer to the phone area. */
@media all and (min-width: 1360px) {
    #header .gnb {
        position: relative;
        left: 60rem;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.9 (2026-08-06)
   - Completely lock the top-level PC menu text position in all header states
   - Cancel legacy down/on margin changes that caused a slight vertical shift
   - Remove animated underline pseudo-elements while preserving submenu opening
   ========================================================================== */

@media all and (min-width: 1024px) {
    /* Limit header animation to the properties that actually need it. */
    #header {
        transition:
            height 0.3s ease,
            background-color 0.3s ease !important;
    }

    /* Keep the top-level list item fixed in every interaction/header state. */
    #header .gnb .depth1,
    #header.down .gnb .depth1,
    #header.on .gnb .depth1,
    #header .gnb .depth1:hover,
    #header .gnb .depth1:focus-within {
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important;
    }

    /* Cancel legacy margin/padding changes applied when #header gets down/on. */
    #header .gnb .depth1 > a,
    #header.down .gnb .depth1 > a,
    #header.on .gnb .depth1 > a,
    #header .gnb .depth1:hover > a,
    #header .gnb .depth1:focus-within > a,
    #header .gnb .depth1 > a:hover,
    #header .gnb .depth1 > a:focus,
    #header .gnb .depth1 > a:active {
        display: flex;
        align-items: center;
        height: 100%;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1 !important;
        transform: none !important;
        transition: color 0.2s ease !important;
    }

    /* Remove the animated underline/marker that made the item look as if it moved. */
    #header .gnb .depth1 > a::before,
    #header .gnb .depth1 > a::after,
    #header.down .gnb .depth1 > a::before,
    #header.down .gnb .depth1 > a::after,
    #header.on .gnb .depth1 > a::before,
    #header.on .gnb .depth1 > a::after {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.12 (2026-08-06)
   - Raise the top-level gold indicator further for clearer submenu separation
   - Keep the brighter gold tone with a tighter, softer glow
   - Keep the top-level menu text fully fixed during hover/focus
   ========================================================================== */

@media all and (min-width: 1024px) {
    /* The top-level menu item remains the positioning box for the gold line. */
    #header .gnb .depth1 {
        position: relative;
    }

    /*
     * Gold line is positioned above the submenu starting point.
     * Absolute positioning prevents any menu text or submenu layout shift.
     */
    #header .gnb .depth1::after {
        position: absolute;
        right: 0;
        bottom: 20rem;
        left: 0;
        z-index: 5;

        display: block;
        width: 0;
        height: 2rem;
        margin: 0 auto;

        background-color: #e2bd68;
        box-shadow: 0 0 3rem rgba(226, 189, 104, 0.22);

        content: "";
        pointer-events: none;
        transition: width 0.25s ease;
    }

    /* Show the line only for the active hovered/focused top-level menu item. */
    #header .gnb .depth1:hover::after,
    #header .gnb .depth1:focus-within::after {
        width: 100%;
    }
}

/* Compact desktop needs slightly more clearance above the first submenu row. */
@media all and (min-width: 1024px) and (max-width: 1359px) {
    #header .gnb .depth1::after {
        bottom: 22rem;
    }
}


/* ========================================================================== 
   SEOUL FOREST NURSING HOME BASELINE v1.2.14 QA FINAL (2026-08-18)
   - Desktop first-view fit: remove the ivory exposure below the main visual
   - Keep the current 100% horizontal visual width
   - Reserve the fixed 100px header in the parent section instead of shrinking width
   - Preserve tablet/mobile visual-height rules
   - Add dedicated focus positions for roll04
   ========================================================================== */

/* Desktop only: fixed header occupies the first 100px of the viewport. */
@media all and (min-width: 1024px) {
    body .ilyoung-main > .index_slide {
        padding-top: 100px !important;
        box-sizing: border-box;
    }

    body .ilyoung-main #main_visual {
        width: 100% !important;
        height: max(42.4242vw, calc(100vh - 100px));
        min-height: 580px;
        max-height: none;
        margin-top: 0 !important;
    }

    body .ilyoung-main #main_visual .roll_img {
        width: 100%;
        height: 100%;
        background-size: cover;
    }

    /* roll04: keep the residents and terrace as the visual focus. */
    body .ilyoung-main #main_visual .roll04 {
        background-position: 58% center;
    }
}

/* Tablet keeps the established v1.2.3 responsive height policy. */
@media all and (max-width: 1023px) and (min-width: 768px) {
    body .ilyoung-main #main_visual .roll04 {
        background-position: 60% center;
    }
}

/* Mobile keeps the established 100svh-based height policy. */
@media all and (max-width: 767px) {
    body .ilyoung-main #main_visual .roll04 {
        background-position: 66% center;
    }
}
