@charset "UTF-8";
/*===============================================
 ベース
===============================================*/
/* レイアウト */
.wrapper {
  display: grid;
  grid-template-columns: 1fr 351px;
  gap: 30px;
  margin-bottom: 40px;
}
.wrapper main {
  display: grid;
  align-content: start;
  gap: 50px;
}
.wrapper main section {
  display: grid;
  gap: 20px;
}
.wrapper aside {
  display: grid;
  align-content: start;
  gap: 50px;
  border-left: 1px solid #ddd;
  padding-left: 30px;
}
.wrapper aside section {
  display: grid;
  gap: 20px;
}

/* 見出し */
.headline-lv1 {
  background-color: #31459f;
  padding: 1em 1.6em;
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  border-radius: 6px;
  background-image: url(../img/title_ornament.png);
  background-repeat: no-repeat;
  background-size: 300px auto;
  background-position: 100% 100%;
}

aside .headline-lv1 {
  font-size: 16px;
}

.headline-lv2 {
  color: #31459f;
  font-size: 15px;
  line-height: 1;
  border-bottom: 1px solid rgba(49,69,159,.5);
  padding-bottom: .5em;
  margin-bottom: -.8em;
}

/* リード文 */
.lead_text {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  color: #333;
}

/* 注釈文 */
.annotation {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  margin: -10px 0;
  line-height: 1.4;
  color: #333;
}

/* バナー */
.bana img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(49,69,159,.3);
}

/*===============================================
 トップページ
===============================================*/
/* タイトル */
.title_top {
  margin-bottom: 30px;
  border-bottom: 1px solid #31459f;
}

/* 選挙スケジュール */
.senkyo_schedul {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "palt";
  font-size: 13px;
  color: #333;
}
.senkyo_schedul td,.senkyo_schedul th {
  border: 1px solid rgba(49,69,159,.3);
  padding: .5em;
  text-align: center;
}
.senkyo_schedul .label {
  background-color: rgba(49,69,159,.15);
  font-size: .8em;
}
.senkyo_schedul .touhyoubi {
  font-weight: 700;
  color: #ff5050;
  font-size: 1.1em;
}

.senkyo_list {
  display: grid;
  gap: 20px;
}
.senkyo_list h4 {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #ff5050;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.senkyo_list h4 span {
  background-color: #ff5050;
  color: #fff;
  padding: 8px 12px;
  margin: 0 10px 0 0;
  border-radius: 100px;
  font-size: 14px !important;
  line-height: 1;
}
.senkyo_list__set {
  display: grid;
  gap: 10px;
}
.senkyo_list__set p {
  display: flex;
  align-items: center;
  gap: .5em;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: #666;
}
.senkyo_list__set p:before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f0d7";
  color: #31459f;
}
.senkyo_list__set ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.senkyo_list__set ul li a {
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  padding: .9em;
  color: #333;
  border: 2px solid rgba(49,69,159,.7);
  text-decoration: none;
  border-radius: 4px;
  transition: all .2s;
}
.senkyo_list__set ul li a:hover {
  background-color: #31459f;
  color: #fff;
}
.senkyo_list__set ul li a.disabled {
  pointer-events: none;
  color: #888;
  font-weight: 400;
  border: 2px solid rgba(0,0,0,.2);
}

.senkyosen {
  position: relative;
}
.senkyosen:after {
  content: "選挙戦";
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff5050;
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 11px;
  color: #fff;
  border-radius: 2px;
  line-height: 1;
}
.senkyosen:before {
  content: "";
  position: absolute;
  top: 8px;
  right: 12px;
  margin-left: 10px;
  border: 5px solid transparent;
  border-top: 13px solid #ff5050;
  transform: rotate(20deg);
}

/*===============================================
 個別ページ
===============================================*/
/* タイトル */
.title_page {
  display: grid;
  gap: 6px;
  background-image: url(../img/bg.png);
  background-repeat: no-repeat;
  background-size: 500px auto;
  background-position: 100% 0;
  padding: 30px 10px 20px;
  border-bottom: 1px solid #31459f;
}
.title_page h1 {
  display: flex;
  align-items: center;
  font-size: 34px;
  font-family: ヒラギノ明朝 Pro W6,Hiragino Mincho Pro,HGS明朝E,ＭＳ Ｐ明朝,serif;
}
.title_page h1 span {
  font-size: .6em;
}
.title_page p {
  font-weight: 700;
  margin: 0;
  font-size: 14px;
  padding-left: .3em;
}

.graph_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.graph_grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.graph_title {
  color: #31459f;
  font-size: 17px;
  border-bottom: 1px solid rgba(49,69,159,.4);
  padding-bottom: .6em;
  margin-top: .5em;
  margin-bottom: .5em;
  display: flex;
  align-items: center;
  gap: .3em;
  font-feature-settings: "palt";
  letter-spacing: .02em;
}
.graph_title span {
  flex-shrink: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6em;
  line-height: 1;
  padding: .6em 1em;
  background-color: #ff5050;
  color: #fff;
}

/*===============================================
 記事リスト
===============================================*/
/* 連載タイトル */
.series_title {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #31459f;
  border-left: 6px solid #31459f;
  padding: .8em 1em;
  line-height: 1.5;
}

/* サムネイルあり */
.kiji_large__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 30px;
}
.kiji_large__list__item {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 15px;
  border-top: 1px solid #ddd;
  padding: 12px 4px;
}
.kiji_large__list__item:first-child,.kiji_large__list__item:nth-child(2) {
  border: none;
}
.kiji_large__list__item:hover {
  text-decoration: none;
}
.kiji_large__list__item:hover h3 {
  color: #ff5050;
}
.kiji_large__list__item__thumb {
  background: no-repeat center 30%/cover;
  aspect-ratio: 1/1;
  border-radius: 4px;
  margin-top: 20px;
}
.kiji_large__list__item__text {
  display: grid;
  align-content: start;
  gap: 5px;
}
.kiji_large__list__item__text div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kiji_large__list__item__text div time {
  font-size: 12px;
  color: #666;
}
.kiji_large__list__item__text h3 {
  font-size: 17px;
  color: #333;
  line-height: 1.4;
  transition: color .2s;
}
.kiji_large__list__item__text p {
  margin: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.5;
}

/* テキストリストのみ */
.kiji_small__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 20px;
}
.kiji_small__list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  padding: 8px 4px;
}
.kiji_small__list__item:first-child,.kiji_small__list__item:nth-child(2) {
  border: none;
}
.kiji_small__list__item:hover {
  text-decoration: none;
}
.kiji_small__list__item:hover h3 {
  color: #ff5050;
}
.kiji_small__list__item__text {
  display: grid;
  gap: 3px;
}
.kiji_small__list__item__text div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kiji_small__list__item__text div time {
  font-size: 12px;
  color: #666;
}
.kiji_small__list__item__text h3 {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  transition: color .2s;
}
.kiji_small__list__item:after {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f105";
  color: #31459f;
}

aside .kiji_large__list__item:nth-child(2) {
  border-top: 1px solid #ddd;
}
aside .kiji_small__list__item:nth-child(2) {
  border-top: 1px solid #ddd;
}

/* 動画リスト */
.movie_large {
  display: grid;
  gap: 20px;
}
.movie_large__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 10px;
}
.movie_large__list__item {
  display: grid;
  align-content: start;
  gap: 6px;
}
.movie_large__list__item__thumb {
  position: relative;
}
.movie_large__list__item__thumb img {
  border-radius: 4px;
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
}
.movie_large__list__item__thumb:after {
  font-family: Font Awesome\ 5 Free;
  font-weight: 700;
  content: "\f144";
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  font-size: 30px;
  opacity: .8;
}
.movie_large__list__item h3 {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  display: flex;
  justify-content: center;
}
.movie_large__list__item:hover {
  text-decoration: none;
}

/* 共通 もっと見るリンク */
.kiji_link {
  display: flex;
  justify-content: flex-end;
}
.kiji_link a {
  margin-top: 5px;
  border: 1px solid #31459f;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  padding: .8em 1.5em;
  border-radius: 100px;
  color: #31459f;
  font-weight: 700;
  transition: all .2s;
  font-size: 13px;
}
.kiji_link a:hover {
  background-color: #31459f;
  color: #fff;
  text-decoration: none;
}
.kiji_link a:after {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f105";
}

/* 動画埋め込み枠 */
.video_embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.video_embed iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* テキストリンク */
.text_link li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.text_link li a {
  padding: .7em .3em;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
}
.text_link li a:after {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f105";
  color: #31459f;
}
.text_link li a:hover {
  text-decoration: none;
  color: #ff5050;
}
.text_link--column {
  display: grid;
  gap: 0 16px;
  grid-template-columns: repeat(2, 1fr);
}
.text_link--column li a {
  font-size: 14px;
  line-height: 1;
}

/*===============================================
 開票速報
===============================================*/
.kaihyo {
  display: grid;
  border: 6px solid rgba(255,80,80,.3);
  border-radius: 8px;
  padding: 24px;
}

.kaihyo__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;
}
.kaihyo__ttl h2 {
  font-size: 20px;
  color: #ff5050;
}
.kaihyo__ttl a {
  position: absolute;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  transition: color .2s;
  cursor: pointer;
  width: 30px;
}
.kaihyo__ttl a i {
  font-size: 18px;
}
.kaihyo__ttl a span {
  font-size: 10px;
}

.kaihyo__item {
  display: grid;
  grid-template-columns: 46px 1fr 90px;
  gap: 12px;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.kaihyo_img {
  border-radius: 4px;
}

.kaihyo_bar {
  background-color: #eee;
  height: 16px;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 8px;
  position: relative;
}

.kaihyo_bar_value {
  position: absolute;
  height: 100%;
  background-color: #ff5050;
  border-radius: 4px;
}

.kaihyo_name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 4px;
  line-height: 1;
}
.kaihyo_name .party {
  font-weight: 400;
  font-size: 11px;
  color: #444;
}
.kaihyo_name .tosen {
  color: #fff;
  background-color: #ff5050;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 100px;
}

.kaihyo_count {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: right;
  margin: 0;
  line-height: 1;
}
.kaihyo_count span {
  color: #ff5050;
  font-size: 1.4em;
}

.kaihyo__data {
  margin-top: 10px;
  display: flex;
  gap: 6px 12px;
  font-size: 14px !important;
  line-height: 1.4;
}
.kaihyo__data p {
  line-height: 1;
  margin: 0;
}
.kaihyo__data p.progress {
  margin-left: auto;
}
.kaihyo__data p:not(.progress):before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f0da";
  margin-right: .3em;
}

/*===============================================
 候補者リスト
===============================================*/
.kouho {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0 30px;
}

.kouho__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}
.kouho__item__img {
  border-radius: 6px;
}
.kouho__item__txt .furi {
  font-size: 11px;
  line-height: 1;
  color: #333;
  margin: 0 0 .4em;
}
.kouho__item__txt>div {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  margin-bottom: .6em;
}
.kouho__item__txt>div .name {
  font-size: 18px;
}
.kouho__item__txt>div p {
  line-height: 1;
  font-size: 13px;
  font-feature-settings: "palt";
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.kouho__item__txt .biography {
  font-size: 14px;
  line-height: 1.45;
  color: #333;
  margin: 0 0 .4em;
}
.kouho__item__txt .kouho_kiji_link {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em 1em;
}
.kouho__item__txt .kouho_kiji_link a {
  display: flex;
  align-items: center;
  gap: .2em;
  color: #31459f;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
}
.kouho__item__txt .kouho_kiji_link a:before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f0da";
}
.kouho__item__txt .kouho_kiji_link a:hover {
  text-decoration: none;
  color: #ff5050;
}

#giin-obihiro .kouho_kiji_link__movie {
  border: 1px solid rgba(255,80,80,.6);
  color: #ff5050;
  border-radius: 3px;
  padding: .3em .6em;
  font-size: 13px;
}
#giin-obihiro .kouho_kiji_link__movie:before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f144";
}
#giin-obihiro .kouho_kiji_link__movie:hover {
  background-color: #ff5050;
  color: #fff;
}

/*===============================================
 過去の選挙データ
===============================================*/
.senkyo-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.senkyo-data td,.senkyo-data th {
  border: 1px solid #ddd;
  padding: .4em .3em;
  text-align: center;
  box-sizing: border-box;
}
.senkyo-data th {
  background-color: #f2f2f2;
  font-size: .9em;
}
.senkyo-data td:nth-last-child(4) {
  white-space: nowrap;
  font-weight: 700;
}
.senkyo-data td:nth-last-child(1) {
  text-align: right;
}
.senkyo-data td:last-child {
  font-size: .9em;
}

/* accordion
-----------------------------------------------*/
.accordion_header {
  display: flex;
  align-items: center;
  background-color: #31459f;
  font-size: 16px;
  font-weight: 700;
  padding: 20px;
  color: #fff;
  cursor: pointer;
  transition-duration: .2s;
  border-radius: 6px;
}
.accordion_header.open {
  border-radius: 6px 6px 0 0;
}
.accordion_header.open:after {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f068";
  margin-left: auto;
}
.accordion_header:after {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f067";
  margin-left: auto;
}
.accordion_header:hover {
  opacity: .9;
}

.accordion_inner {
  display: none;
}

/* 戻るボタン */
a.prev_btn {
  display: flex;
  align-items: center;
  gap: .3em;
  font-size: 14px;
  color: #31459f;
  font-weight: 700;
  text-decoration: none;
}
a.prev_btn:before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f0a8";
}
a.prev_btn:hover {
  opacity: .8;
}
@media (max-width:900px){
  .wrapper {
    grid-template-columns: 1fr;
  }}
@media (max-width:600px){
  .wrapper aside {
    padding-left: 0;
    border: none;
  }
  .headline-lv1 {
    font-size: 16px;
  }
  .senkyo_list__set ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .title_page {
    background-size: 250px auto;
    background-position: 100% 100%;
    padding: 20px 10px;
  }
  .title_page h1 {
    font-size: 28px;
  }
  .graph_grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .series_title {
    font-size: 16px;
  }
  .kiji_large__list__item:nth-child(2) {
    border-top: 1px solid #ddd;
  }
  .kiji_small__list__item:nth-child(2) {
    border-top: 1px solid #ddd;
  }
  .kaihyo {
    padding: 16px;
    border: 4px solid rgba(255,80,80,.3);
  }
  .kaihyo__ttl h2 {
    font-size: 17px;
  }
  .kaihyo__item {
    grid-template-columns: 36px 1fr 90px;
    gap: 10px;
    padding: 8px 0;
  }
  .kaihyo_bar {
    height: 12px;
    margin-bottom: 6px;
  }
  .kaihyo_name {
    font-size: 15px;
  }
  .kaihyo_name .tosen {
    font-size: 10px;
  }
  .kaihyo__data {
    align-items: flex-start;
    flex-direction: column;
    font-size: 12px !important;
  }
  .kouho__item {
    gap: 12px;
    grid-template-columns: 80px 1fr;
  }
  .kouho__item__txt>div .name {
    font-size: 17px;
  }
  .senkyo-data {
    font-size: 10px;
  }}
