@charset "UTF-8";
/* ad.css  for PC*/

/* -----------------------------------------------------
    ad module 20190808
-----------------------------------------------------*/
.ad,
.ad > div,
.ad img {
    vertical-align: top;
}

/* home home_top */
.ad-home_top {
    display: inline-block;
    position: relative;
    max-width: 728px;
    max-height: 90px;
    margin: 0; 
    line-height: auto;
}
.ad-home_top > div {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}
.ad.ad-header > div img {
    width: 100%;
    height: auto;
}


/* home home_right */
.ad.ad-home_right {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    text-align: center;
}
.ad.ad-home_right > div {
    display: inline-block;
    max-width: 336px;
    max-height: 280px;
    text-align: center;
}


/* header */
.ad.ad-header {
    display: inline-block;
    position: relative;
    width: 728px;
    height: 90px;
    max-width: 728px;
    max-height: 90px;
    margin: 0 16px 16px 0; 
    line-height: 90px;
}
.ad.ad-header > div {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}
.ad.ad-header > div img {
    width: 100%;
    height: auto;
}

.ad.ad-header img { margin: 0; }


/* detail menuunder */
.ad.ad-menuunder {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    text-align: center;
}
.ad.ad-menuunder > div {
    display: inline-block;
    /*max-width: 970px;
    width: auto;
    margin-right: 16px;*/
    text-align: center;
}
.ad.ad-menuunder > div:last-child { margin-right: 0; }

/* detail contentBottom */
.ad.ad-contentBottom {
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    padding: 25px 0;
    text-align: center;
    background: #edece7;
}
#program.plus .ad.ad-contentBottom {
    background: none;
}
@media screen and ( min-width : 1251px ){
 
    .ad.ad-contentBottom {/* new */
        width: 100vw;
        padding-left: calc( 50vw - 625px );
        padding-right: calc( 50vw - 625px );
    }
    
}/*==== // end @media */
.ad.ad-contentBottom > div {
    display: inline-block;
    max-width: 336px;
    margin-right: 90px;
    text-align: center;
}
.ad.ad-contentBottom > div:last-child { margin-right: 0; }

/* detail rightSide */
.ad.ad-rightSide {
    display: block;
    position: absolute;
    width: 300px;
    height: 600px;
	right: -310px;
	top: 0px;
    z-index: 100;
}
@media screen and ( max-width : 1885px ){
 
    .ad.ad-rightSide,
    .ad.ad-rightSide.fixed,
    .ad.ad-rightSide > div {
        display: none !important;
    }
    
}/*==== // end @media */
.ad.ad-rightSide.fixed {
    position: fixed;
	left: calc( (100vw - 1250px ) / 2 + 1260px );
	top: 130px;
}
.ad.ad-rightSide > div {
    display: inline-block;
    width: 300px;
    text-align: left;
}

#main .fixed2 {
    position: absolute;
	right: -310px;
    left: auto;
	top: auto;
    bottom: -275px;
}

/* detail ad-content-rightSide */
.ad.ad-content-rightSide {
    display: block;
    position: relative;
    width: 250px;
    height: auto;
    margin: 0 -10px;
	right:0px;
	top: 0px;
    z-index: 100;
    text-align: center;
}
.ad.ad-content-rightSide > div {
    display: inline-block;
    width: auto;
    max-width: 250px;
    height: auto;
    margin: 10px 0;
    text-align: center;
}
.ad.ad-content-rightSide > div img {
    width: auto;
    max-width: 250px;
    height: auto;
}

/* top newsInner-right */
/*
#JP_BS11_pc_all_right img {
    border: solid 1px #dadee7;
}
*/
#JP_BS11_pc_all_right {
    border: solid 1px #dadee7;
}

/* topBanner */
/*
#JP_BS11_pc_top_header img,
#JP_BS11_pc_top_header + a img {
    border: solid 1px #dadee7;
}
*/
#JP_BS11_pc_top_header {
    border: solid 1px #dadee7;
}