/* タイトルカットCSS */
.sanin2022{
  margin: 0 0 10px;
  position: relative;
}
.sanin2022-title {
/*  background: #3c73a9; */
/*  display: flex; */
}
.sanin2022-title > li {
/*  border-right: solid 1px #ccc; */
  display: inline-block;
  transition: all 0.3s;
  background: #ebedec;
  margin-top: 3px;
}
.sanin2022-title > li > a {
  color: #313131;
  display: block;
  font-size: 1.05rem;
/*  font-weight: bold; */
  padding: 4px 8px;
  transition: background 0.3s ease;
}
.sanin2022-title > li > a.is_active,
.sanin2022-title > li > a:hover {
  background: #858585;
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* サブメニューCSS */
.sanin2022_submenu {
  overflow: hidden;
  box-sizing: border-box;
  margin: 30px 0 15px;
  border-bottom: 2px solid #00aaaa;
}
.sanin2022_submenu li {
  float: left;
  width: 25%;
  text-align: center;
  background: #ededed;
}
.sanin2022_submenu li a {
  display: block;
  padding: 5px 0 0;
  height: 30px;
}
.sanin2022_submenu li a:hover {
  text-decoration: none;
  color: #fff;
  background: #68c5c5;
}
.sanin2022_submenu .select {
  background: #e4004f;
}
.sanin2022-cont01 .sanin2022_submenu .select_01,
.sanin2022-cont02 .sanin2022_submenu .select_02,
.sanin2022-cont03 .sanin2022_submenu .select_03,
.sanin2022-cont04 .sanin2022_submenu .select_04 {
  color: #fff;
  background: #00aaaa;
}

/* ---------------------------------
 候補者リスト 
-----------------------------------*/
.sanin2022kouho_heading {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f2f2;
  border: solid 1px #dedede;
  padding: 4px 10px 2px;
}
.sanin2022kouho_heading > h,
.sanin2022kouho_heading > time {
  line-height: 1;
}
.sanin2022kouho_heading > h2 {
  font-size: 1.15rem;
}
.sanin2022kouho_heading > time {
  font-size: 0.9rem;
}
.kouho {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  /* 花表示用余白 */
  padding-left: 8px;
}
.kouho_list > li {
  border-bottom: solid 1px #bbb;
  padding: 10px 0;
}
.kouho_photo {
  flex: 0 0 80px;
}
.kouho_photo > img {
  max-width: 100%;
  vertical-align: top;
}
.kouho_txt {
  flex: 1 0 0%;
}
.kouho_result {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  padding: 4px 0;
}
.kouho_result > li {
  line-height: 1;
}
.kouho_name {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 0;
  border-bottom: dashed 1px #ccc;
  margin-bottom: 5px;
}
.kouho_name_kana {
  font-size: 1rem;
  font-weight: 400;
}
.kouho_detail {
  font-size: 0;
}
.kouho_detail > li {
  display: inline;
  font-size: 1rem;
  line-height: 1.7;
  border-right: dashed 1px #ccc;
  padding: 0 6px;
}
.kouho_detail > li:first-of-type {
  padding-left: 0;
}
.kouho_detail > li:last-of-type {
  border-right: none;
}
/* -----------------------------------------------------------------------------
ここから開票CSS
----------------------------------------------------------------------------- */
.kouho_result .vote {
  font-size: 1.15rem;
}

/* 写真上に花パターン */
.kouho.tosen .kouho_photo {
  position: relative;
}

.kouho.tosen .kouho_photo::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background-image: url("/files/o/files/senkyo/sanin2022/flower.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-40%, -20%);
}

/* 得票数前に花パターン */
.kouho.win .kouho_result .vote {
  display: flex;
  align-items: center;
}

.kouho.win .kouho_result .vote::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("//www.hokkaido-np.co.jp/files/senkyo/sanin2022/flower.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 6px;
}