/* clearfix */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  display: inline-block;
}
/* for macIE \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
 h2.news-h2 {
    margin: 2% 0 0 !important;
    line-height: 1.5rem;
    padding: 6px 0 !important;
    width: 100%;
    display: block;
    background: #fff;
    font-weight: bold;
    color: #300;
    font-size: 1.2em;
    border-bottom: 2px solid #f60;
  }
  #newsbox {
	margin: 0 auto;
    padding: 0 2%;
    width: 96%;
    height: 200px;
    overflow: auto;
    background: #fff;
  }
  #newsbox div {
    margin: 0;
    padding: 0;
    width: 100% !important;
    text-align: left;
  }
  .cts {
    margin: 0 auto;
    padding: 0;
    width: 100%;
	  height: auto;
  }
  .cts div {
    margin: 0;
    padding: 0;
    text-align: left;
  }
  #detail {
    margin: 0 0 30px !important;
    padding: 0;
    width: 100%;
  }
  .cts h2 {
    font-size: 1.1em;
    margin: 20px 0 10px;
    font-weight: bold;
    text-align: left;
    color: #300;
    border-bottom: dotted 1px #666;
    line-height: 1.2em;
  }
  .cts h3 {
    margin: 0 auto 10px !important;
    line-height: 1.5em;
    padding: 6px 0 !important;
    width: 100%;
    display: block;
    background: #fff;
    font-weight: bold;
    color: #300;
    font-size: 1.1em;
    border-bottom: 2px solid #666;
    text-align: center !important;
  }
  #newsList div {
    margin: 20px 0 5px !important;
    padding: 0;
    width: 100% !important;
    text-align: left;
  }
  /*追加*/
  #newsWrap {
    margin: 0 0 30px 0;
    padding: 0 2% 2% 2%;
    width: 96% !important;
    text-align: left !important;
  }
  ul#newsList {
    margin: 0 0 15px;
    padding: 0;
	  width: 97%;
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.5em;
  }
  ul#newsList a {
    color: #300;
    text-decoration: underline !important;
  }
  ul#newsList a:link {
    color: #300;
    text-decoration: underline !important;
  }
  ul#newsList a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    text-decoration: underline !important;
  }
  ul#newsList li {
    color: #666;
    font-size: .9em;
    padding: 5px 0;
    width: 100%;
    height: auto;
    margin-bottom: 3px;
    border-bottom: 1px dotted #ccc;
    line-height: 150%;
    list-style-type: none;
    text-align: left;
  }
  .catName {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: .8em;
    line-height: 100%;
    margin: 0 2px;
  }
  .newMark {
    display: inline-block;
    border: 1px solid #F00;
    padding: 1px 4px;
    font-size: 11px;
    line-height: 100%;
    background: #F00;
    color: #fff;
    box-shadow: 1px 1px 1px #999;
    border-radius: 8px;
    font-style: italic;
  }
  .comment {
    display: block;
    padding: 3px 0;
    float: left;
    overflow: hidden;
    width: 80%; /* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
    color: #000;
	  font-size: 1em;
  }
  .thumbNailWrap {
    display: block;
    margin: 0 1% 0 0;
    width: 19%;
    float: left;
    height: auto;
    overflow: hidden;
    line-height: 1.5em;
  }
  /* Pager style（外部化可） */
  .pager {
    text-align: right;
    padding: 10px;
    clear: both;
  }
  #up_ymd {
    font-size: .6em;
    margin: 10px 0 30px !important;
    width: 100%;
    text-align: left;
    color: #666;
  }
  .detailUpfile {
    margin: 5px 0 35px;
    text-align: center;
  }
  .backORcloseBtn {
    text-align: center;
    padding: 0.3em 1em;
    width: 200px;
    line-height: 100%;
    margin: 15px auto 0 auto;
  }
  .backORcloseBtn a {
    display: inline-block;
    padding: 4px 15px;
    border: 1px solid #aaa;
    color: #999;
    border-radius: 6px;
    text-decoration: none;
    font-size: .8em;
    line-height: 1.5em;
  }
  .detailText {
    padding: 0 0 30px 0 !important;
    line-height: 1.5em;
    font-size: 100%;
    width: 100%;
  }
  .detailUpfile img {
    max-width: 100%;
    height: auto;
  }
  .pNav {
    margin: 0 0 10px 0 !important;
    padding: 0.5% !important;
    width: 98% !important;
    font-size: .8em;
    line-height: 1.5em;
    border: 1px solid #999;
    -moz-border-radius: 6px; /* Firefox */
    -webkit-border-radius: 6px; /* Safari,Chrome */
    border-radius: 6px; /* CSS3 */
  }
  .pNav a {
    color: #300;
    text-decoration: underline !important;
  }
  .pNav a:link {
    color: #300;
    text-decoration: underline !important;
  }
  .pNav a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    text-decoration: underline !important;
  }
  /*ページャーボタン*/
  .pager a {
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #333;
    font-size: .8em;
    padding: 3px 7px 2px;
    text-decoration: none;
    margin: 0 1px;
  }
  /*現在のページのボタン*/
  .pager a.current {
    background: #999;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size:.8em;
    padding: 3px 7px 2px;
    margin: 0 1px;
    text-decoration: none;
  }
  .pager a:hover {
    background: #999;
    color: #fff;
  }
  .overPagerPattern {
    padding: 0 2px;
  }
@media screen and (min-width:340px) and (max-width:768px) {
  h2.news-h2 {
    margin: 2% 0 0 !important;
    line-height: 1.5rem;
    padding: 6px 0 !important;
    width: 100%;
    display: block;
    background: #fff;
    font-weight: bold;
    color: #300;
    font-size: 150%;
    border-bottom: 2px solid #333;
  }
  #newsbox {
    padding: 0;
    width: 96%;
    height: 200px;
    overflow: auto;
    background: #fff;
  }
  #newsbox div {
    margin: 0;
    padding: 0;
    width: 100% !important;
    text-align: left;
  }
  .cts {
    margin: 30px auto 50px !important;
    padding: 0;
    width: 97%;
  }
  .cts div {
    margin: 0;
    padding: 0;
    text-align: left;
  }
  #detail {
    margin: 0 0 30px !important;
    padding: 0;
    width: 100%;
  }
  .cts h2 {
    font-size: 100%;
    margin: 20px 0 10px;
    font-weight: bold;
    text-align: left;
    color: #300;
    border-bottom: dotted 1px #666;
    line-height: 1.3em;
  }
  .cts h3 {
    margin: 2% auto 10px !important;
    line-height: 1.5rem;
    padding: 6px 0 !important;
    width: 100%;
    display: block;
    background: #fff;
    font-weight: bold;
    color: #300;
    font-size: 150%;
    border-bottom: 2px solid #666;
    text-align: center !important;
  }
  #newsList div {
    margin: 20px 0 5px !important;
    padding: 0;
    width: 100% !important;
    text-align: left;
  }
  /*追加*/
  #newsWrap {
    margin: 0 0 30px 0;
    padding: 0 2% 2% 2%;
    width: 96% !important;
    text-align: left !important;
  }
  ul#newsList {
    margin: 0 0 15px;
    padding: 0;
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.5em;
  }
  ul#newsList a {
    color: #300;
    text-decoration: underline !important;
  }
  ul#newsList a:link {
    color: #300;
    text-decoration: underline !important;
  }
  ul#newsList a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    text-decoration: underline !important;
  }
  ul#newsList li {
    color: #666;
    font-size: 100%;
    margin: 0;
    padding: 5px 0;
    width: 100%;
    height: auto;
    margin-bottom: 3px;
    border-bottom: 1px dotted #ccc;
    line-height: 150%;
    list-style-type: none;
    text-align: left;
  }
  .catName {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 11px;
    line-height: 100%;
    margin: 0 2px;
  }
  .newMark {
    display: inline-block;
    border: 1px solid #F00;
    padding: 1px 4px;
    font-size: 11px;
    line-height: 100%;
    background: #F00;
    color: #fff;
    box-shadow: 1px 1px 1px #999;
    border-radius: 8px;
    font-style: italic;
  }
  .comment {
    display: block;
    padding: 3px 0;
    overflow: hidden;
    width: 100%; /* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
    color: #000;
  }
  .thumbNailWrap {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    overflow: hidden;
    line-height: 1.5em;
  }
  /* Pager style（外部化可） */
  .pager {
    text-align: right;
    padding: 10px;
    clear: both;
  }
  #up_ymd {
    font-size: 80%;
    margin: 10px 0 30px !important;
    width: 100%;
    text-align: left;
    color: #666;
  }
  .detailUpfile {
    margin: 5px 0 35px;
    text-align: center;
  }
  .backORcloseBtn {
    text-align: center;
    padding: 0.3em 1em;
    width: 200px;
    line-height: 100%;
    margin: 15px auto 0 auto;
  }
  .backORcloseBtn a {
    display: inline-block;
    padding: 4px 15px;
    border: 1px solid #aaa;
    color: #999;
    border-radius: 6px;
    text-decoration: none;
    font-size: 100%;
    line-height: 1.5em;
  }
  .detailText {
    padding: 0 0 30px 0 !important;
    line-height: 1.5em;
    font-size: 100%;
    width: 100%;
  }
  .detailUpfile img {
    max-width: 100%;
    height: auto;
  }
  .pNav {
    margin: 0 0 10px 0 !important;
    padding: 0.5% !important;
    width: 98% !important;
    font-size: 100%;
    line-height: 1.5em;
    border: 1px solid #999;
    -moz-border-radius: 6px; /* Firefox */
    -webkit-border-radius: 6px; /* Safari,Chrome */
    border-radius: 6px; /* CSS3 */
  }
  .pNav a {
    color: #300;
    text-decoration: underline !important;
  }
  .pNav a:link {
    color: #300;
    text-decoration: underline !important;
  }
  .pNav a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    text-decoration: underline !important;
  }
  /*ページャーボタン*/
  .pager a {
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
    margin: 0 1px;
  }
  /*現在のページのボタン*/
  .pager a.current {
    background: #999;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px 2px;
    margin: 0 1px;
    text-decoration: none;
  }
  .pager a:hover {
    background: #999;
    color: #fff;
  }
  .overPagerPattern {
    padding: 0 2px;
  }
  /* /Pager style */
}
