@charset "utf-8";
/* CSS Document */
/*全体の文字と画像で使用*/
.moji{
    font-weight:bold;
}
.waku {
    padding: 12px;
    border: 3px solid #385d8a;
    background-color: #dce6f2;
}
/*鉄道警察隊の正式名称で使用*/    
.Tshadow{
    color: #0000FF;
    background: rgba(203,203,255,0.8);
    font: bold 32px Arial;
    text-shadow:
        -1px -1px 1px #fff,
         1px  2px 2px #000;
 }
    
/* 「痴漢や盗撮の発生傾向」で使用している矢印用CSS */
.arrow3{
  width: 200px;
}
.arrow3::before{
  content: "";
  display: block;
  margin: 0 auto;
  width: 80px;
  height: 30px;
  background: #ff0000;
}
.arrow3::after{
  content: "";
  display:block;
  border-top: 60px solid #ff0000;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  transform-origin: left top;
  transform: scaleY(.5);
}

.setumei{
    font-size:0.8rem;
    color:gray;
    margin-top:0px;
}
.daimei{
    font-size:0.8rem;
    color:black;
    margin-top:0px;
    margin-bottom: 8px;
    border:1px solid blue;
    background-color: rgba(255,0,0,0.3);
    border-radius: 8px;
    line-height:1.6em;
    font-weight:bold;
}

/*鉄道警察隊ニュースのサムネイルで使用*/
.kakomi{
    border:1px solid blue;
    margin-top:0.5em;
}

/*メニュー部分*/
.content {
  width: auto;
  height: 120px;
}

.inner {
  padding-top: 12px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap:wrap;
}
.inner li{
    list-style-type: none;
}
.inner li a{
    text-decoration: none;
}
a.no-color-change {
  color: black;
}

.hekomi img:hover {
    position : relative;
    top : 3pt;
    left : 3pt;
}

@media screen and (max-width:700px){
	.content {
	  height: 245px;
	}
}
@media screen and (max-width:470px){
	.content {
	  height: 360px;
	}
}

/*「鉄道警察隊とは」の画像の切り替えで使用*/
.album {
	margin: auto;
	background-color: white;
	position: relative;
}

.album img {
	width: 100%;
	animation-name: album;
	-webkit-animation-name: album;
	animation-duration: 20s;
	-webkit-animation-duration: 20s;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	opacity: 0;
}

.album .img1 {
	display: block;
	margin: 0 auto;
}

.album .img2 {
	animation-delay:5s;
	-webkit-animation-delay:5s;
	position: absolute;
	top: 0;
}

.album .img3 {
	animation-delay:10s;
	-webkit-animation-delay:10s;
	position: absolute;
	top: 0;
}

.album .img4 {
	animation-delay:15s;
	-webkit-animation-delay:15s;
	position: absolute;
	top: 0;
}
@keyframes album {
	0% {
		opacity: 0;
	}
	
	8.3% {
		opacity: 1;
	}

	16.7% {
		opacity: 1;
	}
	33.3% {
		opacity: 0;
	}
}

@-webkit-keyframes album {
	0% {
		opacity: 0;
	}
	
	8.3% {
		opacity: 1;
	}

	16.7% {
		opacity: 1;
	}
	33.3% {
		opacity: 0;
	}
}



/*新着情報部分*/
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  border-bottom: 1px solid #CCC;
  padding: 0.3em;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #000;
  padding: 0 10px 0 0;
}

.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00F;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}

/* 装飾 */
 
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}

