/* タイトルカットCSS */
.sanin2019_title {
  display: flex;
  align-items: flex-end;
  margin: 0 0 15px;
}

.sanin2019_title h2 a {
  display: inline-block;
}

.sanin2019_title h2 img {
  vertical-align: middle;
}

.sanin2019_title ul {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 50px;
}

.sanin2019_title li {
  width: 50%;
  height: 25px;
}

.sanin2019_title li:hover {
  opacity: .75;
}

.sanin2019_title li a {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  background: #e4004f;
}

/* 公示前 */
.sanin2019_title li:nth-child(1) a,
.sanin2019_title li:nth-child(2) a {
  border-bottom: 1px solid #fff;
}

.sanin2019_title li:nth-child(3) a,
.sanin2019_title li:nth-child(4) a {
  border-top: 1px solid #fff;
}

.sanin2019_title li:nth-child(odd) a {
  border-right: 2px solid #fff;
}

/* 公示後 */
.sanin2019_title .kouho {
  width: 100%;
}

.sanin2019_title .kouho::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  display: block;
  width: 1px;
  height: 50px;
  margin: auto;
  content: "";
  background: #e4004f;
}

.sanin2019_title .kouho li {
  height: 50px;
}

.sanin2019_title .kouho li a {
  border: none !important;
}

.sanin2019_title .kouho li:first-child a {
  border-right: 2px solid #fff !important;
}

/* -------------------------------------------------------------------------- */
/* サブメニューCSS */
.sanin2019_submenu {
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 30px;
  border-bottom: 2px solid #e4004f;
}

.sanin2019_submenu li {
  float: left;
  width: 25%;
  text-align: center;
  background: #ededed;
}

.sanin2019_submenu li a {
  display: block;
  padding: 2px 0 0;
}

.sanin2019_submenu li a:hover {
  text-decoration: none;
  color: #fff;
  background: #e4004f;
}

.sanin2019_submenu .select {
  background: #e4004f;
}

/* -----------------------------------------------------------------------------
ここから開票CSS
----------------------------------------------------------------------------- */
.sanin2019-cont .kouho-head {
  font-size: 1.6em;
  overflow: hidden;
  margin: 10px 0 20px;
  padding: 0 0 0 12px;
  border-left: 4px solid #c9e4f3;
}

.sanin2019-cont a {
  transition: all .2s;
  color: #06f;
}

.sanin2019-cont a:hover {
  opacity: .5;
}

.sanin2019-cont h2.midashi {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
  overflow: hidden;
  margin: 0 0 10px;
  padding: 5px 10px 3px;
  border: 1px solid #dedede;
  background: #f2f2f2;
}

.sanin2019-cont h2 span {
  font-size: .9em;
  font-weight: normal;
  line-height: 1.2;
  float: right;
}

.sanin2019-cont img {
  vertical-align: middle;
}

.kouho-box {
  overflow: hidden;
  margin: 0 0 2rem;
  padding: 0 10px 10px;
  border-top: 1px dotted #ccc;
}

.kouho-box h4 {
  font-size: 1.2rem;
  position: relative;
  margin: 0 0 10px;
  padding: 10px 0 0;
}

.kouho-box h4 .flower {
  display: none;
}

.kouho-box h4 .name {
  font-weight: bold;
}

.kouho-box h4 .ruby {
  font-size: .9rem;
  font-weight: bold;
}

.kouho-box h4 .age {
  font-size: .9rem;
  font-weight: normal;
}

.kouho-box h4 .tokuhyo {
  font-weight: bold;
  position: absolute;
  bottom: 0;
  left: 20rem;
  width: 12rem;
  text-align: right;
}

.kouho-box img {
  float: left;
  width: 125px;
}

.kouho-box dl {
  line-height: 1.4;
  float: left;
  max-width: 495px;
  margin: 0 0 0 10px;
}

.kouho-box dl dt,
.kouho-box dl dd {
  padding: 2px 0 1px 8px;
}

.kouho-box dl dt {
  font-weight: bold;
  float: left;
  width: 125px;
  background: #f2f2f2;
}

.kouho-box dl dd {
  margin: 0 0 2px 125px;
}

.kouho-box dl dd::after {
  display: block;
  clear: both;
  content: "";
}

.sanin2019-cont .annotation {
  margin: 40px 0 0;
}

/*** 当選 ***/

.kouho-box.tosen {
  background: #fff1f2;
}

.kouho-box.tosen .flower {
  display: inline-block;
  width: 19px;
  margin: 0 .5rem 0 0;
  background: url(/files/cont/sanin2019/flower.png) no-repeat center center;
  background-size: 19px 18px;
}

.kouho-box.tosen dl dt {
  background: #fff;
}

/* -------------------------------------------------------------------------- */

.sanin2019-cont01 .sanin2019_submenu .select_01,
.sanin2019-cont02 .sanin2019_submenu .select_02,
.sanin2019-cont03 .sanin2019_submenu .select_03,
.sanin2019-cont04 .sanin2019_submenu .select_04 {
  color: #fff;
  background: #e4004f;
}
