/*
css/2025senkyo.css
*/


/* ******************************************************************************** */
/**** 第27回参議院議員通常選挙ページ表示領域が768px以上の場合に適用するスタイル ****/
/* ******************************************************************************** */

/* ニュースリンクボタン */
.newsbutton {
  margin: 40px auto 85px;
}
.newsbutton a {
  background: #296391;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 50%;
  padding: 10px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  font-weight: bold;
  font-size: 125%;
}
.newsbutton a:hover {
  background: #8bc4c3;
  color: #fff;
}
.newsbutton a:after {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.newsbutton a:hover:after {
  border-color: #fff;
}

.senkyo_subtitle {
  border-bottom: double 5px #000;
  font-size: 175%;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 30px;
  /*color: #000;*/
}

.table_1 {
  margin: 30px 0 30px;
  width: 100%;
}
.table_1 th {
  /*border: solid 1px #000;*/
  /*background-color: #000080;*/
  /*color: #fff;*/
  width: 20%;
}
.table_1 td {
  /*border: solid 1px #000;*/
  font-size: 125%;
  font-weight: bold;
  text-align: center;
  /*background-color: #fff;*/
  vertical-align: middle;
  width: 30%;
}

/* バナーエリア */
.ntv_banner {
  text-align: center;
  padding: 32px 0;
}

.ntv_banner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 48px;
  padding: 16px;
}

.ntv_banner li {
  margin-top: 48px;
  width: calc( 95% / 3 );
}

.ntv_banner ul::after {
  display: block;
  content: "";
  width: calc( 95% / 3 );
}

/*.ntv_banner li:first-child {
  margin-top: 0;
}*/

/*.ntv_banner li:nth-child(2), .ntv_banner li:nth-child(3) {
  margin-top: 0;
}*/

.ntv_banner li a {
  background: #229918;
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.ntv_banner li a img {
  width: 100%;
}

.ntv_banner li a .title {
  line-height: 1.0;
  padding: 8px 0;
}




/* ******************************************************************************** */
/**** 第27回参議院議員通常選挙ページ表示領域が767px以下の場合に適用するスタイル ****/
/* ******************************************************************************** */

@media screen and (max-width:767px){

/* ニュースリンクボタン */
.newsbutton {
  margin: 25px auto 50px;
}
.newsbutton a {
  font-size: 87%;
  width: 90%;
}

.senkyo_subtitle {
  border-bottom: double 5px #000;
  display: block;
  font-size: 125%;
  font-weight: bold;
  line-height: 1.2;
  margin: 30px 5px 0;
  /*color: #000;*/
}

.table_1 {
  margin: 10px 0 30px;
  width: 100%;
}
.table_1 th, .table_1 td  {
  /*display: block;*/
  /*width: 30%;*/
  white-space: nowrap;
}
.table_1 th {
  padding: 20px 6px 0;
  width: 25%;
}
.table_1 td {
  font-size: 100%;
}
.table_1 tr {
  margin-bottom: 10px;
}

/* バナーエリア */
.ntv_banner {
  text-align: center;
  padding: 32px 0;
}

.ntv_banner ul {
  display: block;
  padding: 0;
}

.ntv_banner li {
  margin: 45px auto 0;
  width: 70%;
}

.ntv_banner li a {
  background: #229918;
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.ntv_banner li a img {
  width: 100%;
}

.ntv_banner li a .title {
  line-height: 1.0;
  padding: 8px 0;
}

}