/* topmenu */
header { width:100%; margin: 0 auto; position:fixed;z-index: 99; }
header h1 { position: absolute;left:5rem;top: 8px;width:60px; height: 60px; background-image: url("../images/common/top_logo.png"); background-position: center; background-repeat: no-repeat; background-size: contain;z-index: 100;}
header nav { background: transparent;display: block;
  position: absolute; 
  width: 90%;height:80px; padding-top:12px;
  top:0;left: 50%;text-align: center;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);}
.rsmm ul li { display: inline-block; }

.rsmm ul li a {
  color: #fff;
    font-size:20px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  padding:15px 45px;
}

.rsmm ul li a:focus { outline: 0; }

.rsmm ul li:after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: transparent;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.rsmm ul li:hover:after {
  background: #fff;
  width: 100%;
}

.nav-shrink { width: 100%; 
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: fixed;
  background: #ef497c;
}


.rsmm-mobile-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: 300px;
    height: 100%;
    background: #fafafa;
    -webkit-transform: translate3d(999px, 0, 0);
    transform: translate3d(999px, 0, 0);
    -webkit-transition: -webkit-transform .14s;
    transition: -webkit-transform .14s;
    -o-transition: transform .14s;
    transition: transform .14s;
    transition: transform .14s, -webkit-transform .14s;
}

.rsmm-mobile-wrapper.show {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.rsmm-mobile {
    padding-top: 55px;
    overflow-y: auto;
    max-height: 100%;
}

.rsmm-mobile__close {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 2.5rem;
    top: 1.2rem;
    overflow: hidden;
    text-indent: 1rem;
    font-size: .75rem;
    border: none;
    background: 0 0;
    color: transparent;
    cursor: pointer;
}

.rsmm-mobile__close::after,
.rsmm-mobile__close::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    background: #ef497c;
}

.rsmm-mobile__close::before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.rsmm-mobile__close::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.rsmm-mobile ul {
	list-style: none;
	padding: 0;
	margin: 0;
} 
 
.rsmm-mobile > ul > li {
    border-bottom: 1px solid #f6f7f1;
}

.rsmm-mobile a {
    padding: 10px 20px;
    display: block;
    font-size: 1.2rem;
    text-decoration: none;
}

.rsmm-mobile > ul > li > a:hover {
    background: #ef497c; color: #fff;
}

.rsmm-mobile > ul > li > a {
    color: #5e5e5e;
}

.rsmm-open-button {
    position: fixed;
    top:12px;
    right:30px;
    z-index: 1000;
    border: none;
    font-size: 1.5rem;
    color: transparent;
background: transparent; 
    cursor: pointer;
    padding: 0; 
    display: none;
}

.rsmm-open-button__icon { padding-top: 10px;
    font-size: 1.3rem;width:40px; height: 40px;background-color: #222; border-radius: 50%;
    color:#fff; text-align: center;
    
}


.rsmm-mask {
    background: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    -webkit-transition: opacity .14s, -webkit-transform 0s .14s;
    transition: opacity .14s, -webkit-transform 0s .14s;
    -o-transition: opacity .14s, transform 0s .14s;
    transition: opacity .14s, transform 0s .14s;
    transition: opacity .14s, transform 0s .14s, -webkit-transform 0s .14s;
    -webkit-transition-timing-function: cubic-bezier(.7, 0, .3, 1);
    -o-transition-timing-function: cubic-bezier(.7, 0, .3, 1);
    transition-timing-function: cubic-bezier(.7, 0, .3, 1);
}

.rsmm-mask.show {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition-timing-function: cubic-bezier(.7, 0, .3, 1);
    -o-transition-timing-function: cubic-bezier(.7, 0, .3, 1);
    transition-timing-function: cubic-bezier(.7, 0, .3, 1);
    opacity: 1;
}

.top_sns {position: absolute;right:5rem;top: 20px;}
.top_sns a {display:inline-block;width:40px; height: 40px; border-radius: 50%; background-color: #222; padding:5px; margin-left: 5px;transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;}

.top_sns a.utb_link { background-image: url("../images/common/top_ytb.png"); background-position: center; background-repeat:no-repeat; background-size:50% auto;}
.top_sns a.utb_link:hover { background-color: #ff2430;}
.top_sns a.insta_link { background-image: url("../images/common/top_insta.png"); background-position: center; background-repeat:no-repeat;background-size:50% auto;}
.top_sns a.insta_link:hover { background-color: #ff79de;}

@media screen and (max-width: 1200px) {
     header h1 {left: 1.5rem;}
    .top_sns {right:1.5rem;}
}
@media screen and (max-width: 1024px) {
    header {height: 60px;background-color:#ef497c;}
    header h1 {left: 2rem;top:5px;width:50px; height: 50px;}
    .top_sns {top:12px;right:5rem;}
    
}
@media screen and (max-width: 768px) {
    header h1 {left:1.5rem;}
    
}
@media (max-width: 480px) {
    .rsmm-open-button {top:16px;}
   .rsmm-open-button__icon { padding-top: 9px;
    font-size: .8rem;width:30px; height: 30px; }
    .top_sns {width:80px; top:16px;right:65px;}
    .top_sns a {width:30px; height: 30px;}
}
@media (max-width: 375px) {
    
}
