#CONTENTS {
 margin-left: 5px;
 padding-top: 10px;
}
a:hover img.rollover {
filter: alpha(opacity=70);
opacity:0.7;
}
img {
    max-width: 100%;
    height: auto;
}

#INDEX-CONTENTS {
width: 100px;
}
#INDEX-CONTENTS .side {
background: none;
}
.box120 {
width: 210px;
}
.box120 a img {
 border: none;
}
.box120 a:hover img {
 border: none;
}
#right_model {
 margin-left: 4px;
}
.news_inner {
margin: 5px 7px 20px;
border: solid 1px #ccc;
height: 200px;
background-color: #f6f9fa;
overflow: scroll;
padding: 5px 5px 0px 5px;
font-size: 14px;
}
.news_inner hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#AISATSU {
 margin-top: 20px;
}
#AISATSU img {
 width: 690px;
}
#VOICE, #NEWS, #CHECKED, #MEDIA {
 margin-top: 30px;
}
.media_inner {
height: 460px;
background-color: #f2eeee;
padding-top: 15px;
padding-left: 10px;
margin: 5px 7px 15px 7px;
}
.media_inner ul li {
 padding: 0 8px;
 margin-bottom: 10px;
 list-style: none;
 text-align: center;
 float: center;
 font-size: 12px;
}
.main_bnr {
margin: 0px 0;
}
.voice_inner {
    margin: 2% 0px 2% ;
    border: solid 3px #ccc;
    width: 98%;
    height: 350px;
    background-color: #f6f9fa;
    overflow: scroll;
    padding: 2% 2%x 0px 2%;
    font-size: 14px;
}
.voice_inner ul li {
 display: block;
 width: 95%;
 padding: 2% 2%;
 margin-bottom: 10px;
 list-style: center;
 text-align: center;
 float: center;
 font-size: 12px;
}
.voice_inner ul li img {
 width: 95%;
}
.box120 a img {
margin-top: 10px;
margin-bottom: 10px;
}
.f12 {
 text-align: center;
}
.main-cat {
position: relative;
top: 10px;
left: 0;
margin-bottom: 10px;
padding: 5px;
}
.cat-bg {
width: 680px;
}
.main-cat ul li {
position: absolute;
float: left;
margin-right: 20px;
list-style: none;
}
.main-cat ul li.cat01 {
top: 27px;
left: 37px;
}
.main-cat ul li.cat02 {
top: 27px;
left: 358px;
}
.main-cat ul li.cat03 {
top: 217px;
left: 37px;
}
.main-cat ul li.cat04 {
top: 217px;
left: 358px;
}
.main-cat ul li.cat05 {
top: 407px;
left: 37px;
}
.main-cat ul li.cat06 {
top: 407px;
left: 358px;
}
.main-cat ul li.cat07 {
top: 597px;
left: 37px;
}
.main-cat ul li.cat08 {
top: 597px;
left: 358px;
}
.main-cat ul li.cat09 {
top: 787px;
left: 37px;
}


.main-catSP {
 position: absolute;
}
.main-catSP:first-child {
 padding-top: 100px;
}
.main-catSP ul {
 position: absolute;
 top: 25px;
 left: -10px;
}
.main-catSP ul li {
 float: left;
 max-width: 45%;
 margin-right: 5px;
}


.rankWrapper {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.rankBox {
  width: 32%;
}

@media (min-width: 769px) {
    /* PC */
  
  .ad-contain2{ display: none; visibility:hidden }
  
  /* line@モーダル部分 */
#modalLine {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 220px;
  z-index: 100;
}

#modalLine img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#modalLine #closeModalLine {
    position: absolute;
    top: -2.3rem;
    right: 0;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    background: #2cbe13;
    border-radius: 18px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    color: white;
    text-align: center;
}

/* //line@モーダル部分 */
  
  .bnrLine {
    display: none;
  }
}

@media (max-width: 768px) and (min-width: 641px)  {
    /* タブレット */
  
  .ad-contain2 {
    display: none;
    visibility: hidden;
}
 
  /* line@モーダル部分 */
#modalLine {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 220px;
  z-index: 100;
}

#modalLine img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#modalLine #closeModalLine {
    position: absolute;
    top: -2.3rem;
    right: 0;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    background: #2cbe13;
    border-radius: 18px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    color: white;
    text-align: center;
}

/* //line@モーダル部分 */
  
  .bnrLine {
    display: none;
  }
}

@media (max-width: 640px) {
  /* スマホ */
  
  /* カテゴリ表示を調整しています */
  .main-cat ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.main-cat ul li {
 width: 100%;
margin-bottom: 10px;
}

.main-cat ul li img {
 width: 100%;
  height: auto;
}
  /* /カテゴリ表示を調整しています */
  
  #modalLine {
    display: none !important;
  }
  
  /* line@バナー部分 */
.bnrLine {
  position: fixed;
  bottom: 0;
  left:0 ;
  width: 100%;
  z-index: 100;
  transition: left 500ms ease;
}
  
  .bnrLine.show {
    left: 50vw;
  }

.bnrLine img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

body {
  padding-bottom: 25vw;
}
/* //line@バナー部分 */
}

.squareBox {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.squareBox:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.squareBox a {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
}

.squareBox img {
    width: auto;
    height: 100%;
    vertical-align: middle;
}

.center {
  text-align: center;
}

@media (min-width: 600px) {
   .ad-contain2{ display: none; visibility:hidden }
}

@media (max-width: 600px) {
   .ad-contain{ display: none; visibility:hidden }
}