.ad-gallery-contents
{
    text-align: center;
}

.ad-title
{
    margin: 74px 0 52px;

    text-align: center;
}

.ad-title img
{
    width: 100%;
    max-width: 1200px;
}

.ad-title-2
{
    margin-bottom: 22px;
}

.ad-pic-1
{
    position: relative;

    width: 800px;
    height: 450px;
    margin: 0 auto 103px;
}

.ad-pic-1 img
{
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.ad-pic-2
{
    margin-bottom: 150px;
}


.profile
{
    padding-top: 48px;
    padding-bottom: 60px;

    text-align: center;
}

.cm-list
{
    /*width: 800px;*/
    width:380px;
    margin: 0 auto;
}

.cm-item
{
    height: 286px;
    margin-bottom: 52px;
    list-style: none;
}

.cm-item-pic
{
    cursor: pointer;
}

.cm-item-title
{
    margin-bottom: 18px;
}

.cm-item-left
{
    float: left;
}

.cm-item-right
{
    float: right;
}

.youtube-iframe
{
    position: absolute;
    top: 0;
    left: 0;
}

.youtube-iframe iframe
{
    position: relative;
    top: 0;
    left: 0;
}

.tvcm-modal-container
{
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    opacity: 0;

    display: none;

    width: 100%;
    height: 100%;

    -webkit-animation: modalClose 0.25s ease-out;
    -o-animation: modalClose 0.25s ease-out;
    animation: modalClose 0.25s ease-out;
}

.gallery-modal-container-show
{
    display: block;
    opacity: 1;
    -webkit-animation: modalOpen 0.25s ease-out;
    -o-animation: modalOpen 0.25s ease-out;
    animation: modalOpen 0.25s ease-out;
}

@-webkit-keyframes modalOpen
{
    from
    {
        display: none;

        opacity: 0;
    }
    to
    {
        display: block;

        opacity: 1;
    }
}
@-o-keyframes modalOpen
{
    from
    {
        display: none;

        opacity: 0;
    }
    to
    {
        display: block;

        opacity: 1;
    }
}
@-moz-keyframes modalOpen
{
    from
    {
        display: none;

        opacity: 0;
    }
    to
    {
        display: block;

        opacity: 1;
    }
}
@keyframes modalOpen
{
    from
    {
        display: none;

        opacity: 0;
    }
    to
    {
        display: block;

        opacity: 1;
    }
}

@-webkit-keyframes modalClose
{
    from
    {
        display: block;

        opacity: 1;
    }
    to
    {
        display: none;

        opacity: 0;
    }
}
@-o-keyframes modalClose
{
    from
    {
        display: block;

        opacity: 1;
    }
    to
    {
        display: none;

        opacity: 0;
    }
}
@-moz-keyframes modalClose
{
    from
    {
        display: block;

        opacity: 1;
    }
    to
    {
        display: none;

        opacity: 0;
    }
}
@keyframes modalClose
{
    from
    {
        display: block;

        opacity: 1;
    }
    to
    {
        display: none;

        opacity: 0;
    }
}

.tvcm-modal-inner
{
    position: absolute;
    top: 50%;
    left: 50%;

    width: 800px;
    height: 532px;
    margin-top: -266px;
    margin-left: -400px;
}

.tvcm-modal-inner .youtube-iframe
{
    position: relative;

    background-color: #666;
}

.tvcm-modal-bg
{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    cursor: pointer;

/*    background-color: #000;*/
    background-color: rgba(0,0,0,0.80);
}

.tvcm-modal-title
{
    font-size: 18px;
	color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.tvcm-modal-close
{
    position: absolute;
    /* top: -24px; */
    right: 0;

    cursor: pointer;
}

.suscribe
{
    width: 122px;
    float: right;
}




/* PC
------------------------------------------------------*/
/*YOUTUBE*/
.youtube-iframe {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.youtube-iframe iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}
/* CM */
div.tvcm-modal-title {
	margin-top: 45px;
}
div.tvcm-modal-title img {
	height: auto;
	width: 80%;
	max-width: 350px;
}
.tvcm-modal-close img{
	width: 32px;
	height: auto;
}

/*YOUTUBE*/
body.open{
	overflow: hidden;
}
/*------------------------------------------------------*/

/* SP
------------------------------------------------------*/
@media screen and (max-width: 767px) {
/*YOUTUBE*/
.tvcm-modal-container {
	overflow: auto;
/*	background-color: #000;*/
} 

.tvcm-modal-title {
	margin-top: 30px;
}
.tvcm-modal-inner {
	position: relative;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: auto;
	height: auto;
	padding-top: 20%;
	padding-left: 5%;
	padding-right: 5%;
	margin: auto;
}
.youtube-count {
	padding-right: 5%;
	margin-bottom: 10%;
}
.tvcm-modal-close {
	position: absolute;
	top: initial;
	right: 5%;
	cursor: pointer;
	bottom: 70%;
}
.tvcm-modal-close img{
	width: 20px;
	height: auto;
}
.tvcm-modal-title{
    font-size: 16px;
}
.tvcm-modal-title img {
	height: 10px;
	width: auto;
}
.tvcm-modal-close img {
	height: auto;
}
.move_img {
	width: 100%;
}


}
/*------------------------------------------------------*/