@charset "utf-8";

.content{
  overflow: hidden;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, #c8c8c8, #ffffff, #c8c8c8);
	background: -webkit-linear-gradient(left, #c8c8c8, #ffffff, #c8c8c8);
	background: -moz-linear-gradient(left, #c8c8c8, #ffffff, #c8c8c8);
	background: -o-linear-gradient(left, #c8c8c8, #ffffff, #c8c8c8);
	background: -ms-linear-gradient(left, #c8c8c8, #ffffff, #c8c8c8);
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .content{
    max-width:1920px;
    margin:0 auto;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .content{
    width:100%;
  }
}
.bg-dotted{
  background: url("../img/bg-dotted.png");
}

h2 img{
  position: relative;
  top:40px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  h2 img{
    margin-bottom:100px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  h2 img{
    width:130%;
    margin-bottom:60px;
  }
}

.bg-line{
  background: url("../img/bg-line.png") repeat-y;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .bg-line{
    background-position: center 450px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .bg-line{
    background-size: 130%;
    background-position: center 150px;
  }
}

.topics-kazari{
  margin:0 auto;
  background-image: url("../img/kazari-right.png"), url("../img/kazari-left.png");
  background-position: right top, left bottom;
  background-repeat: no-repeat, no-repeat;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .topics-kazari{
    width:1350px;
    padding:20px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .topics-kazari{
    background-size: 100px;
    width:95%;
    padding:5px;
  }
}
.topics{
  border: 1px solid red;
  background-image: url("../img/kazari-center-left.png"), url("../img/kazari-center-right.png");
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .topics{
    padding:20px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .topics{
    padding:0;
  }
}

@media screen and ( min-width:640px ) { /* PC ==================== */
  .topics-body{
    width:1200px;
    margin:40px auto;
    min-height: 700px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .topics-body{
    width:95%;
    margin:5px auto;
    min-height: 300px;
  }
}
.topics-card{
  text-decoration: none;
  color: #000;
  float: left;
  padding:5px;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .topics-card{
    width:290px !important;
    margin: 0 5px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .topics-card{
    margin:5px auto !important;
  }
}
@media screen and ( max-width:428px ) { /* SP：iPhone 12 Pro Max ==================== */
  .topics-card{
    width:187px;
  }
}

@media screen and ( max-width:414px ) { /* SP：iPhone 11 / XR / 11 Pro Max / 6s / 7 / 8 plus ==================== */
  .topics-card{
    width:180px;
  }
}
@media screen and ( max-width:413px ) { /* SP：Android ==================== */
  .topics-card{
    width:179px;
  }
}
@media screen and ( max-width:390px ) { /* SP：iPhone 12 / 12 Pro ==================== */
  .topics-card{
    width:168px;
  }
}
@media screen and ( max-width:375px ) { /* SP：iPhone 12 mini / 11 Pro/ X / XS / SE2 / 6s / 7 / 8 ==================== */
  .topics-card{
    width:162px;
  }
}
.topics-card .topics-card-body{
  background: #fff;
  text-align: left;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .topics-card .topics-card-body{
    height:315px;
    border-bottom: 7px solid #dc0000;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .topics-card .topics-card-body{
    height:200px;
    border-bottom: 3px solid #dc0000;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
  }
}
.topics-card .topics-card-body .thumb{
}
.topics-card .topics-card-body .thumb img{
  width:100%;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .topics-card .topics-card-body div{
    padding:10px 20px;
  }
  .topics-card .topics-card-body div p{
    margin:5px 0 0 0;
    padding:0;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .topics-card .topics-card-body div{
    padding:5px 10px;
  }
  .topics-card .topics-card-body div p{
    margin:5px 0 0 0;
    padding:0;
    font-size: 14px;
    line-height: 1.3;
  }
}

.btn-morelink{
  margin: 30px 0;
}
.btn-morelink span{
  display: block;
  background: #000;
  border-radius: 10px 10px 10px 10px / 10px 10px 10px 10px;
  padding:5px 0;
}
.morelink{
	clear: both;
	cursor: pointer;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .btn-morelink{
    padding-bottom:10px;
  }
  .btn-morelink span{
    margin:0 5px 0 5px;
  }
  .btn-morelink span img{
    width:100px;
  }
}

.tomica-footer-bg{
  background: url("../../img/footer-bg.png") center top no-repeat;
  position: relative;
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .tomica-footer-bg{
    height:276px;
    margin-top:50px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .tomica-footer-bg{
    background-size: 130%;
    height:70px;
    margin-top:10px;
  }
}
.tomica-footer-bg a{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
@media screen and ( min-width:640px ) { /* PC ==================== */
  .tomica-footer-bg a{
    bottom:50px;
  }
}
@media screen and ( max-width:640px ) { /* SP  ==================== */
  .tomica-footer-bg a{
    width:100px;
    bottom:-5px;
  }
  .tomica-footer-bg a img{
    width:100%;
  }
}