/* フォームロゴエリア */
.form_header{
  height: 100px;
}
/* ロゴ */
.form_header > img{
  width: 250px;
}

/* フォーム全体 */
.main_container{
  display: block;
  position:relative;
  margin: 90px auto;
  padding: 30px 30px;
  width:480px;
  background-color: #fff;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.main_container .cf-turnstile{
  margin-top: 5px;
  display: block;
}

.main_container .error-message{
  color: crimson;
  margin-top: 5px;
  text-align: center;
}

/* ログインボタンエリア */
.button_group{
  display: flex;
}

/* ボタン */
.btn{
  margin-left: auto;
  position: relative;
  overflow: hidden;
  /*アニメーションの指定*/
  transition: ease .2s;
}

/*ボタン内文字エリア*/
.btn span {
	position: relative;
	z-index: 3;
	color:#fff;
}

/* ボタン背景 */
.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -130%;
	background:#1e90ff;
	width:120%;
	height: 100%;
	transform: skewX(-25deg);
}

/*hoverした時のアニメーション*/
.btn:hover::before {
	animation: skewanime .5s forwards;
}

@keyframes skewanime {
	100% {
		left:-10%;
	}
}

h5{
  padding: 0.25em 0.5em;
  color: #494949;
  background: transparent;
}
h5::after {
	content: attr(data-en);
	position: relative;
	margin-left: 20px;
	font-size: 16px;
	z-index: 2;
}

.news_container{
  margin: 20px;
  width:50%;
}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  /*border-bottom: 1px solid #CCC;*/
  padding: 20px 20px;
}
.news-list .item:first-child {
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: rgb(165, 154, 154);
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00F;
}

/* --------------------------------------------------
  幅768px以下のスタイル指定
-------------------------------------------------- */
@media screen and (max-width: 768px) {

  /* フォームロゴエリア調整 */
  .form_header{
    height: auto;
    margin-bottom: 20px;
  }
  /* ロゴ調整 */
  .form_header > img{
    width: 200px;
  }

  /* フォーム全体 */
  .main_container{
    width:auto;
    margin-left: 5px;
    margin-right: 5px;
  }

  .main_container .cf-turnstile{
    margin-top: 5px;
    display: block;
  }
  
  .main_container .error-message{
    color: crimson;
    margin-top: 5px;
    text-align: center;
  }

  /* ボタンエリア調整 */
  .button_group{
    display: block;
  }

  .news_container{
    margin-left: 5px !important;
    margin-right: 5px !important;
    width: 100%;
  }

  .news-list .item {
    flex-wrap: wrap;
  }
  .news-list .item .date{
    min-width: 100px;
  }
  .news-list .item .title{
    margin-top: 10px;
  }

}
