@charset "utf-8";

/*-------------------------------------------------------------------
    * info.css
    * site name : チャンスイットスマホ
    * description : お知らせ一覧・詳細
    * import : web/news/index.jsp
               web/news/detail.jsp
-------------------------------------------------------------------*/


/* お知らせ 共通 */
#news div#contents h1{
    margin-bottom: 10px;
    padding: 4px 0;
    background: #82D0D0;
    border-top: 4px solid #3DB1B1;
    font-family: "HiraKakuProN-W6";
    font-weight: bold;
    font-size: 17px;
    text-shadow: 0 -1px 1px #666;
    color: #fff;
}
#news div#contents h1:before {
    content:"";
    padding-left: 35px;
    background: url(../img/icon/ico_hl_list.png) no-repeat 0 -34px;
    background-size: 28px auto;
    -webkit-background-size: 28px auto;
}
#news section {
    padding: 0 10px;
}

#news article img {
    width: 100%;
}

/*-- お知らせ一覧 index.jsp
-------------------------------------------------------- */
#news section {
  word-wrap:break-word;
}
#news section ul {
    padding: 0 10px;
    border: 1px solid #C1C1C1;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    text-align: left;
}
#news section ul li.entry_box {
    padding: 15px 0;
    border-bottom: 1px dotted #7F7F7F;
}
#news section ul li.entry_box:last-child {
    border-bottom: none;
}
#news section ul li.entry_box a {
    -webkit-tap-highlight-color: rgba(218,255,234,0.5);
    text-decoration: none;
    color: #4A4A4A;
}
#news section .headline {
    font-size:14px;
}
#news section .headline .category {
    width: 60px;
    padding: 2px 3px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    color: #fff;
}
#news section .entry_box h2 {
    margin: 8px 0 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 16px;
    font-weight: bold;
}

/*-- お知らせ詳細 detail.jsp
-------------------------------------------------------- */
#news section.detail {
    padding:10px 20px;
    font-size: 16px;
    text-align: left;
}
section.detail h2 {
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #7F7F7F;
    font-size: 18px;
    font-weight: bold;
}
section.detail div.info_detail {
    margin-top: 10px;
}
section.detail div.info_detail strong {
    color: #ff3033;
    font-weight: bold;
}
section.detail div.btn_back {
    width: 200px;
    margin: 15px auto 0;
    background: #fff;
    border: 1px solid #535353;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	padding: 7px 0;
    position: relative;
}
section.detail div.btn_back a {
	display: block;
	text-decoration: none;
    text-align: center;
    font-size: 14px;
	color: #444444;
}
section.detail div.btn_back a:before {
    display: block;
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    left: 20px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #3DB1B1;
}
section.detail div.btn_back a:after {
    display: block;
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    left: 25px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #fff;
}


/*-- お知らせ種別アイコン
-------------------------------------------------------- */
/* 重要カテゴリカラー */
#news section .headline .category.important {
    background: #FF4366;
}
/* リリースカテゴリカラー */
#news section .headline .category.release {
    background: #48CC74;
}
/* 終了カテゴリカラー */
#news section .headline .category.finish {
    background: #6471BB;
}


/*-- ボタン
---------------------------- */
section.detail a.btn {
    margin: 10px auto 20px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #2fa1a1;
    background: #3db9b9;
    -webkit-box-shadow: inset 1px 1px 0 #b8e7e7;
    box-shadow: inset 1px 1px 0 #b8e7e7;
    font-weight: bold;
    text-align: center;
    color: #fff;
    display: block;
    font-weight: normal;
    line-height: 1.5;
    margin: 0 auto;
    padding: 12px 5px;
    text-decoration: none;
    width: 85%;
}