@charset "utf-8";

.xylophone#section { }
.xylophone .xylophone_wrap { position: absolute; top: 274px; left: 50%; transform: translateX(-50%); width: 84%; height: 650px; }
.xylophone_wrap .bg_img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; }
.xylophone_wrap .bg { position: absolute; top: -64px; left: 50%; transform: translateX(-50%); width: 1650px; opacity: 0.5; max-width: none; }
.xylophone .xy_key { width: 108px; background-size: 100%; cursor: pointer; position: absolute; top: 0px; z-index: 5; }
.xylophone .xy_key.bottom { top: 311px; z-index: 1; }
.xylophone .act2 { display: none; }
.xylophone .xy_key.active .act2 { display: block; }
.xylophone .xy_key.active .act1 { display: none; }
#xy_key1 { height: 383px; left: 105px; top: -41px; }
#xy_key2 { height: 378px; left: 227px; top: -39px; }
#xy_key3 { height: 371px; left: 458px; top: -34px; }
#xy_key4 { height: 369px; left: 580px; top: -30px; }
#xy_key5 { height: 365px; left: 700px; top: -25px; }
#xy_key6 { height: 359px; left: 928px; top: -21px; }
#xy_key7 { height: 357px; left: 1051px; top: -18px; }
#xy_key8 { height: 352px; left: 1285px; top: -13px; }
#xy_key9 { height: 357px; left: 1405px; top: -9px; }
#xy_key10 { left: 45px; height: 426px; }
#xy_key11 { left: 163px; height: 410px; }
#xy_key12 { left: 281px; height: 400px; }
#xy_key13 { left: 399px; height: 385px; }
#xy_key14 { left: 518px; height: 374px; }
#xy_key15 { left: 636px; height: 357px; }
#xy_key16 { left: 755px; height: 347px; }
#xy_key17 { left: 872px; height: 332px; }
#xy_key18 { left: 991px; height: 321px; }
#xy_key19 { left: 1110px; height: 308px; }
#xy_key20 { left: 1227px; height: 295px; }
#xy_key21 { left: 1344px; height: 287px; }
#xy_key22 { left: 1463px; height: 273px; }
.xylophone .note { 
    font-family: 'NanumSquareNeo-dEb'; 
    display: none;
    background-color: #ffffff;
    border: 2px solid #333333;
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1;
}
.xylophone .note.on { display: block; }
.xylophone .note_top span { display: block; }
.xylophone .note_top { 
    text-align: center; 
    font-size: 18px; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 40px;
}
.xylophone .note_bottom { 
    position: absolute; 
    font-size: 24px; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}
.xylophone .kb { 
    color: #3f52ff; 
    font-family: 'NanumSquareNeo-dEb'; 
    display: none;
    background-color: #ffffff;
    border: 2px solid #3f52ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.xylophone .kb.on { display: flex; }
.xylophone .kb_top { 
    font-size: 28px; 
    position: absolute; 
    top: 22%; 
    left: 50%; 
    transform: translateX(-50%);
}
.xylophone .kb_bottom { 
    position: absolute; 
    font-size: 32px; 
    bottom: 62%; 
    left: 50%; 
    transform: translateX(-50%);
}
