/*******************************************************
 * BBT NEWS スタイルシート
 * 
 * 2024 調整
 *******************************************************/

/* iOSでページ遷移時にページが拡大される問題の対応 */
html {
 -webkit-text-size-adjust: 100%;
}

body{
    font-family: 'メイリオ','Meiryo','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','Osaka','ＭＳ Ｐゴシック',sans-serif;
    background-color: #eeeeee;
    font-size: 1.1em;
}

img{
    border: 0;
    vertical-align: bottom;
}

a:link{
    color: #222222;
    font-weight: bold;
}

a:visited{
    color: slategray;
}

a:hover{
    color: deeppink;
    opacity: 1;
    transition-duration: 0;
}

a:hover img{
    opacity: 0.7;
}

/* ニュース一覧など リンクを一体化しているように見せる */
div.data:hover{
    cursor: pointer;
    background-color: #f4f9ff;
}
div.data:hover a{
    color: deeppink;
}
div.data:hover img{
    opacity: 0.7;
}

input[type="text"]{ font-size: 1.2em;text-indent: 1.0em; }
input[type="submit"]{ font-size: 1.2em; }
input[type="button"]{ font-size: 1.2em; }


ul{
    list-style: none;
}

/***
 * コンテンツ枠
 ***********************************************/

#contents{
    width: 910px;
    min-height: 1000px;
    float: left;
}

/***
 * ニュース番組ヘッダー画像
 ***********************************************/

img.header_log{
    width: 100%;
}

/***
 * コンテンツタイトル
 ***********************************************/

.subtitle{
    magin: 10px 2px;
    padding: 8px;
    border-radius: 5px;
    background-color: #B22222;
    color: #ffffff;
    font-size: 2.0em;
    font-weight: bold;
}

.subtitle span.base{
    display: inline-block;
    padding-right: 10px;
}

.subtitle span.info{
    display: inline-block;
    font-size: 0.6em;
    font-weight: normal;
    padding-left: 5px;
}

/***
 * ニュース一覧（トップページ）
 ***********************************************/

#news {
    width: 1180px;
    min-height: 700px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-top: 0;
    border-bottom: 0;
    background-color: #fff;
}

#news_cont{
    width: 910px;
    min-height: 50px;
    margin: 10px;
    padding: 10px 2px;
}

/* ニュースリスト ***/
.clearfix{
    display: block;
}

div.news_top_list .nodata{
    padding: 20px;
    font-size: 1.3em;
    color: #666;
}

div.news_top_list .dateinfo{
    font-size: 1.7em;
    margin: 20px auto 5px 10px;
    padding: 5px 20px 0px 15px;
    border-left: 10px solid royalblue;
}


div.news_top_list .data{
    font-size: 1.4em;
    line-height: 120%;
    margin: 0px;
    padding: 7px 5px;
    border-style: solid;
    border-color: #ccc;
    /* border-widh は PHP から指示 */
    
    color: #666;
}


div.news_top_list .data table{
    width: 100%;
}

div.news_top_list .title_td{
    vertical-align: top;
}


div.news_top_list .title{
    display: block;
    font-size: 1.2em;
    line-height: 110%;
    color: #222222;
    font-weight: bold;
}

div.news_top_list .thumb_td{
    vertical-align: top;
    width: 220px;
}

div.news_top_list img.thumb{
    width: 208px;
    height: 117px;
    border: 1px solid #eee;
    object-fit: cover;    /* 指定サイズを超える部分をトリミング */
}

div.news_top_list .day_td{
    vertical-align: bottom;
    font-size: 90%;
}

div.news_top_list div.category{
    display: inline-block;
    float: left;
}

/* カテゴリ アイコン風 */
div.news_top_list .category div{
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    padding: 2px 7px;
    margin: 2px;
    font-size: 0.8em;
}

div.news_top_list div.pubdate{
    display: inline-block;
    width: 110px;
    margin-top: 10px;
    padding: 0;
    float: left;
}

/* ニュース追加ボタン ***/
#addNews{
    width: 100%;
    height: 60px;
    appearance: none;
    border: 0;
    border-radius: 5px;
    background: cornflowerblue;
    color: #fff;
    font-size: 1.4em;
    margin: 10px 0;
    padding: 8px 16px;
    cursor: pointer;
    -webkit-appearance: none;    /* iOSのスタイルを使わない */
}

#addNews:hover{
  background: lightskyblue;
}


/* ニュース注意書き ***/

.warn{
    font-size: 1.2em;
    margin-left: 30px;
}

/***
 * 特集（トップページ）
 ***********************************************/

#special_cont{
    border: 1px #cccccc solid;
    width: 910px;
    min-height: 50px;
    margin: 20px 0 20px 10px;
    padding: 10px;
}

#special_cont a{
}

.spe_data{
    margin: 10px;
    padding: 2px;
    line-height: 150%;
    border: 1px #898989 dotted;
}

.spe_icon{
    padding: 10px;
    width: 280px;
    vertical-align: top;
}

.spe_info{
    padding: 10px;
    width: 600px;
    line-height: 140%;
    font-size: 1.4em;
}

.spe_list{
    padding: 10px;
    width: 600px;
    line-height: 180%;
    font-size: 1.4em;
}

.spe_list img{
    vertical-align: middle;
}


/***
 * フッター BBT独自デザイン
 ***********************************************/

.bbt-ftr{
    position: relative;
    background-color: #424242;
    display: block;
}

/***
 * 右サイド BBT独自メニュー
 ***********************************************/

#bbt_menu{
    float: right;
    margin: 20px;
    width: 200px;
}

ul.bnr-area li{
    margin-bottom: 10px;
}

ul.bnr-area li img:hover{
    opacity: 0.6;
}

#bbt_menu .btn{
    background-color: #FF4F50;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.5em;
    color: #ffffff;
}

#bbt_menu .btn:hover{
    background-color: #F08080;
}

#bbt_menu #toi{
    margin-top: 10px;
    padding: 10px;
    line-height: 140%;
    background-color: #FA8072;
    border-radius: 5px;
    width: 200px;
    color: #000000;
    font-size: 1.2em;
}

#bbt_menu #toi a{
    color: #4682B4;
}

strong{
    font-weight: bold;
}

/***
 * レシポンシブ対応（スマートフォン）
 ***********************************************/
@media screen and (max-width: 767px){

    /***
     * ニュースコンテンツ
     ***********************************************/

    #news{
        width: 100%;
    }

    #contents{
        width: 100%;
    }

    /* ニュースヘッダー ***/
    .header_logo{
        width: 100%;
    }

    /* タイトル ***/
    .subtitle{
        font-size: 1.5em;
    }

    .subtitle .info{
        display: block;
        margin-top: 2px;
    }
    
    /* ニュース一覧 ***/
    #news_cont{
        width: 97%;
        margin: 5px 0 5px 5px;
    }
    
    /* ニュースリスト ***/
    div.news_top_list td{
    }
    
    div.news_top_list .thumb_td{
        width: 135px;
    }

    div.news_top_list .title_td{
        font-size: 0.9em;
    }
    
    div.news_top_list .title{
        font-size: 1.0em;
        line-height: 110%;
    }
    
    div.news_top_list .title_td .category{
    }

    div.news_top_list img.thumb{
        width: 128px;
        height: 72px;
    }
    
    
    div.news_top_list td.day_td{
    }

    div.news_top_list div.pubdate{
        width: 110px;
    }

    /* 注意書き ***/
    .warn{
        font-size: 1.2em;
        width: 98%;
        margin: 5px;
    }

    /***
     * 特集コンテンツ
     ***********************************************/

    #special_cont{
        width: 97%;
        margin: 5px 0 5px 5px;
    }
    
    #special_cont td {
        width: 100%;
        display: inline-block;
    }

    .spe_data{
        margin: 5px;
        padding: 5px;
    }
    
    .spe_icon{
        text-align: center;
    }
    .spe_list{
        font-size: 1.4em;
    }

    /***
     * BBT独自メニュー（右サイド→下へ）
     ***********************************************/

    #bbt_menu{
        width: 90%;
        margin-right: 5%;
    }
    
    #bbt_menu img{
        max-width: 100%;
    }

    #bbt_menu .btn{
        padding: auto;
        width: 100%;
    }

    #bbt_menu #toi{
        padding: auto;
        width: 100%;
    }

    /* topへ戻る ***/
    #PageTopBtn a {
        position: relative;
        top: 10px;
        left: 80%;
    }


}

/***
 * GoogleAdManager バナー表示対応
 ***********************************************/

#BannerMiddleArea{    /* 番組バナーとPC右側バナーのエリア */
    background-color: #dedede;
}

#BannerDetailArea{    /* ニュース詳細の下部分 */
    display: block;
    text-align: center;
}

#GoogleadManagerPC_Detail_1{
    display: inline-block;
    padding: 10px 20px;
}

#GoogleadManagerPC_Detail_2{
    display: inline-block;
    padding: 10px 20px;
}


#GoogleadManagerSP_Banner{
    display: none;
}


@media screen and (max-width: 767px){

    #BannerMiddleArea .header_logo{    /* バナーエリアに入れたときだけ、幅指定 */
        width: 100%;
    }

    #BannerDetailArea{
        display: none;
    }

    #GoogleadManagerSP_Banner{
        display: block;
        text-align: center;
        padding: 20px;
    }

}

