/*
 * layout_sp.css 日テレスマホサイト 共通部分表示用CSSファイル
 * PC・スマホ別htmlバージョン(各要素の縦幅倍率を等倍に戻す)
 *
 * ■表示内容
 * 1.ヘッダ(日テレ)
 * 2.フッタ(日テレ)
 *
 * ○変更履歴
 * 2012.09.18 m.kameyama：新規作成(layout_sp.cssを複製)
 * 2014.10.03 m.megishi：ヘッダーメニュー周り色修正
 * 2015.03.19 m.kameyama：メニュー「映画・アニメ」を分割
 */


#pc {
    display: none;
}

#sp {
    display: block;
}

/* display:none */

#ad,
#oa,
#pr,
#recommend,
#blog,
#sponcerlink {
    display: none;
}

/* display:block */

#sp,
#recommend_app,
#sub-nav,
#adBanner,
#adSphone {
    display: block;
}

#wrapper #contents {
    width: auto;
    margin: 0;
    text-align: left;
    padding: 0px;
}

body #wrapper #contents {
    width: auto;
}

#wrapper #contents #main {
    float: none;
}

#wrapper #contents #main .section {
    width: auto;
    padding: 5px 0px 0px;
    margin-bottom: 0px;
}

#wrapper #contents #main .top {
    display: none;
}

#sp #global-nav {
    border-bottom-style: none;
    height: 38px;
    position: relative;
    overflow: hidden;
    background-image: none;
    margin: 0px;
    padding: 0px;
    background: rgb(255,255,255);
 /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 50%, rgba(238,238,238,1) 100%);
 /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(255,255,255,1)), color-stop(100%, rgba(238,238,238,1)));
 /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 50%, rgba(238,238,238,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 50%, rgba(238,238,238,1) 100%);
 /* Opera11.10+ */
    background: linear-gradient(top, rgba(255,255,255,1) 50%, rgba(238,238,238,1) 100%);
 /* W3C */
    -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
    z-index: 500;
}

*html #sp #global-nav {
    zoom: 1;
}

#sp #global-nav h1 {
    background-image: none;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    text-indent: 0px;
    height: 18px;
    width: 74px;
    margin: 0px 0px 10px;
    position: absolute;
    left: 10px;
    top: 10px;
}

#sp #global-nav h1 a {
    background-image: url(../images/title-ntv.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: 100% auto;
    text-indent: -9999px;
    height: 18px;
    width: 74px;
    display: block;
}

#sp #global-nav ul {
    float: right;
    margin-right: 5px;
    overflow: hidden;
    margin-top: 6px;
}

*html #sp #global-nav ul {
    zoom: 1;
}

#sp #global-nav li {
    float: left;
    list-style: none;
}

#sp #global-nav li a {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-align: left;
    display: block;
    line-height: 26px;
    height: 26px;
    margin-bottom: 5px;
    margin-left: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.5) inset;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5) inset;
}

#sp #global-nav li#btn-program a {
    width: 44px;
    padding-left: 30px;
    background: url(../images/icon_program_s.png) no-repeat 5px center, rgb(100,100,100);
 /* Old browsers */
    background: url(../images/icon_program_s.png) no-repeat 5px center, -moz-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* FF3.6+ */
    background: url(../images/icon_program_s.png) no-repeat 5px center, -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(100,100,100,1)), color-stop(100%, rgba(30,30,30,1)));
 /* Chrome,Safari4+ */
    background: url(../images/icon_program_s.png) no-repeat 5px center, -webkit-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: url(../images/icon_program_s.png) no-repeat 5px center, -o-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Opera11.10+ */
    background: url(../images/icon_program_s.png) no-repeat 5px center, linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* W3C */
}

#sp #global-nav li#btn-app a {
    width: 44px;
    padding-left: 25px;
    background: url(../images/icon_app_s.png) no-repeat 5px center, rgb(100,100,100);
 /* Old browsers */
    background: url(../images/icon_app_s.png) no-repeat 5px center, -moz-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* FF3.6+ */
    background: url(../images/icon_app_s.png) no-repeat 5px center, -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(100,100,100,1)), color-stop(100%, rgba(30,30,30,1)));
 /* Chrome,Safari4+ */
    background: url(../images/icon_app_s.png) no-repeat 5px center, -webkit-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: url(../images/icon_app_s.png) no-repeat 5px center, -o-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Opera11.10+ */
    background: url(../images/icon_app_s.png) no-repeat 5px center, linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* W3C */
}

#sp #global-nav li#btn-menu a {
    width: 64px;
    padding-left: 5px;
    background: url(../images/icon_pulldown-arrow_s.png) no-repeat right center, rgb(100,100,100);
 /* Old browsers */
    background: url(../images/icon_pulldown-arrow_s.png) no-repeat right center, -moz-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* FF3.6+ */
    background: url(../images/icon_pulldown-arrow_s.png) no-repeat right center, -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(100,100,100,1)), color-stop(100%, rgba(30,30,30,1)));
 /* Chrome,Safari4+ */
    background: url(../images/icon_pulldown-arrow_s.png) no-repeat right center, -webkit-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: url(../images/icon_pulldown-arrow_s.png) no-repeat right center, -o-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Opera11.10+ */
    background: url(../images/icon_pulldown-arrow_s.png) no-repeat right center, linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* W3C */
}

#sp #sub-nav {
    background: rgb(100,100,100);
 /* Old browsers */
    background: -moz-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(100,100,100,1)), color-stop(100%, rgba(30,30,30,1)));
 /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* Opera11.10+ */
    background: linear-gradient(top, rgba(100,100,100,1) 0%, rgba(30,30,30,1) 100%);
 /* W3C */
    display: none;
}

#sp #sub-nav ul {
    display: block;
    width: 300px;
    margin-left: auto;
    margin-right: 0px;
    overflow: hidden;
    padding: 5px 10px 0px 5px;
}

#sp #sub-nav ul li {
    display: block;
    float: left;
    width: 93px;
    height: 35px;
    margin-bottom: 5px;
    margin-left: 5px;
}

#sp #sub-nav ul li a {
    display: block;
    width: 93px;
    height: 35px;
    text-indent: -9999px;
    background-image: url(../images/btn_sub-nav_s.png);
    background-repeat: no-repeat;
}

#sp #sub-nav ul #btn-news a {
    background-position: 0px 0px;
}

#sp #sub-nav ul #btn-drama a {
    background-position: -99px 0px;
}

#sp #sub-nav ul #btn-variety a {
    background-position: -197px 0px;
}

#sp #sub-nav ul #btn-sports a {
    background-position: 0px -40px;
}

#sp #sub-nav ul #btn-moviemenu a {
    background-position: -99px -40px;
}

#sp #sub-nav ul #btn-anime a {
    background-position: -197px -40px;
}

#sp #sub-nav ul #btn-mini a {
    background-position: 0px -80px;
}

#sp #sub-nav ul #btn-event a {
    background-position: -99px -80px;
}

#sp #sub-nav ul #btn-shopping a {
    background-position: -197px -80px;
}

#sp #sub-nav ul #btn-dai2 a {
    background-position: 0px -120px;
}

#sp #sub-nav ul #btn-blog a,
#sp #sub-nav ul #btn-present a {
    background-position: -99px -120px;
}

#sp #sub-nav ul #btn-news24 a {
    background-position: -197px -120px;
}

#sp #sub-nav ul #btn-movie a {
    background-position: -0px -160px;
}

#sp #sub-nav ul #btn-twitter a {
    background-position: -99px -160px;
}

#sp .sub-nav-close {
    background: rgb(50,51,33);
 /* Old browsers */
    background: -moz-linear-gradient(top, rgba(50,51,33,1) 20%, rgba(0,0,0,1) 100%);
 /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(50,51,33,1)), color-stop(100%, rgba(0,0,0,1)));
 /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(50,51,33,1) 20%, rgba(0,0,0,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(50,51,33,1) 20%, rgba(0,0,0,1) 100%);
 /* Opera11.10+ */
    background: linear-gradient(top, rgba(50,51,33,1) 20%, rgba(0,0,0,1) 100%);
 /* W3C */
    padding-right: 30px;
}

#sp .sub-nav-close a {
    font-size: 14px;
    line-height: 26px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: block;
    width: auto;
    height: 26px;
    margin-right: 0px;
    margin-left: auto;
    padding-right: 20px;
    background-image: url(../images/icon-subnav-close_s.png);
    background-repeat: no-repeat;
    background-position: right center;
    text-align: right;
}

/* #side */

#wrapper #contents #side {
    float: none;
    padding-top: 0px;
    width: auto;
}

#wrapper #contents #side .box {
    border-style: none;
    width: auto;
}

#wrapper #contents #side div.title {
    border-radius: 0px;
    width: auto;
    position: relative;
}

#wrapper #contents #side div.title h4 {
    font-size: 14px;
    line-height: 26px;
    font-weight: bold;
    text-indent: 0px;
    background-image: none;
    height: 26px;
    padding: 0px 20px;
}

/* #hptopics */

#wrapper #side #topics .program {
    padding: 10px 10px;
}

#wrapper #contents #side #hptopics p img {
    width: 90px;
    height: 60px;
    padding: 0px 10px 14px 0px;
}

#wrapper #contents #side #hptopics p a,
#wrapper #contents #side #hptopics ul li {
    font-size: 12px;
    line-height: 100%;
}

#wrapper #contents #side #topics .program ul li {
    background: none;
    margin-left: 20px;
    padding: 5px 10px 5px 5px;
    list-style: disc;
}

/* #app */

#wrapper #contents #side #app {
    display: block;
}

#wrapper #contents #side #app ul {
    text-align: center;
    padding: 10px 12px;
}

#wrapper #contents #side #app ul li {
    display: inline-block;
    vertical-align: top;
    width: 120px;
}

#wrapper #contents #side #app ul li img {
    width: 90px;
    height: 90px;
}

*html #wrapper #contents #side #app ul li {
    display: inline;
}

#wrapper #contents #side #app ul li:first-child {
    margin-right: 15px;
}

#wrapper #contents #side #app ul li a {
    text-decoration: none;
}

#wrapper #contents #side #app ul li p {
    text-align: left;
    font-size: 12px;
    color: #000;
}

#wrapper #contents #side #app .title .btn-appli {
    width: 70px;
    height: 20px;
    position: absolute;
    top: 3px;
    right: 5px;
}

#wrapper #contents #side #app .title .btn-appli a {
    text-decoration: none;
    font-weight: bold;
    display: block;
    line-height: 20px;
    text-align: center;
    width: 70px;
    height: 20px;
    font-size: 12px;
}

#wrapper #contents #side #app ul li p a {
    color: #172c9f;
    text-decoration: none;
}

/* #footer */

#footer {
    width: auto;
    height: auto;
    margin-top: 35px;
    background: rgb(228,231,233);
 /* Old browsers */
    background: -moz-linear-gradient(top, rgba(228,231,233,1) 0%, rgba(255,255,255,1) 100%);
 /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(228,231,233,1)), color-stop(100%, rgba(255,255,255,1)));
 /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(228,231,233,1) 0%, rgba(255,255,255,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(228,231,233,1) 0%, rgba(255,255,255,1) 100%);
 /* Opera11.10+ */
    background: linear-gradient(top, rgba(228,231,233,1) 0%, rgba(255,255,255,1) 100%);
 /* W3C */
    -webkit-box-shadow: 0px -2px 2px rgba(0,0,0,0.3);
    box-shadow: 0px -2px 2px rgba(0,0,0,0.3);
}

#footer ul {
    display: block;
}

#footer #btn-footer {
    display: block;
    height: 44px;
    position: relative;
    z-index: 100;
}

#footer #btn-footer .btn-home,
#footer #btn-footer .btn-head {
    font-size: 12px;
    font-weight: bold;
    display: block;
    height: 44px;
    width: 130px;
    position: absolute;
    background: rgb(255,255,255);
 /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(238,238,238,1) 100%);
 /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(238,238,238,1)));
 /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(238,238,238,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(238,238,238,1) 100%);
 /* Opera11.10+ */
    background: linear-gradient(top, rgba(255,255,255,1) 0%, rgba(238,238,238,1) 100%);
 /* W3C */
    -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
    list-style: none;
}

#footer #btn-footer .btn-home {
    top: -24px;
    left: 0px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

#footer #btn-footer .btn-head {
    top: -24px;
    right: 0px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#footer #btn-footer .btn-home a,
#footer #btn-footer .btn-head a {
    line-height: 44px;
    color: #222;
    text-decoration: none;
    display: block;
    width: auto;
    height: 44px;
}

#footer #btn-footer .btn-home a {
    padding-right: 30px;
    text-align: right;
}

#footer #btn-footer .btn-head a {
    padding-left: 30px;
}

#footer #device-switch {
    display: block;
    width: 240px;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    margin-bottom: 10px;
    padding-right: 40px;
}

*html #footer #device-switch {
    zoom: 1;
}

#footer #device-switch p {
    line-height: 36px;
    display: block;
    width: 30px;
    height: 36px;
    float: left;
    font-size: 12px;
}

#footer #device-switch ul {
    float: right;
    text-align: center;
    height: 36px;
    overflow: hidden;
    background: rgb(255,255,255);
 /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(213,216,218,1) 100%);
 /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(213,216,218,1)));
 /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(213,216,218,1) 100%);
 /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(213,216,218,1) 100%);
 /* Opera11.10+ */
    background: linear-gradient(top, rgba(255,255,255,1) 0%, rgba(213,216,218,1) 100%);
 /* W3C */
    -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5) inset;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.5) inset;
    border-radius: 8px;
}

*html #device-switch ul {
    zoom: 1;
}

#footer #device-switch li {
    width: 100px;
    height: 36px;
    float: left;
    box-sizing: border-box;
    list-style: none;
    font-size: 12px;
}

#footer #device-switch li:first-child {
    border-right: solid 1px rgba(0,0,0,0.2);
}

#footer #device-switch li:last-child {
    border-left: solid 1px rgba(255,255,255,0.2);
}

#footer #device-switch li a {
    line-height: 36px;
    text-decoration: none;
    color: #000;
    display: block;
    width: 100px;
    height: 36px;
    float: left;
}

#footer #device-switch .switch-sp a {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#footer #device-switch .switch-pc a {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

#footer #device-switch ul .on a {
    background-color: rgba(0,0,0,0.2);
}

#footer .copyright {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    background-image: none;
    text-indent: 0px;
    width: auto;
    height: 36px;
    min-height: inherit;
    margin-bottom: 0;
    padding: 10px 0px;
    text-align: center;
    line-height: 36px;
    color: #fff;
    background-color: #000;
}

/* #adBanner */

#adBanner {
    background-color: #222;
    display: block;
}

#adBanner p {
    border-top: solid 1px #666;
    margin: 0px;
}

#adSphone img {
    max-width: 100%;
    height: auto;
}

/*-----------------------
高解像度端末用
-----------------------*/
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {

    #sp #sub-nav ul li a {
        background-image: url(../images/btn_sub-nav_l.png);
        background-size: 290px auto;
    }
}