.contents {
  width: 430px;
  position: relative;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
}

.contents#oudanmaku h3 {
  width: 312px;
  height: 44px;
  text-align: center;
  line-height: 44px;
  background-color: #0f1643;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  margin: 0 auto;
  font-size: 24px;
  font-weight: 700;
  text-shadow: #000 2px 2px 2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 8;
}

/* レースタイトル
------------------------------------------------------------*/
#race_name {
  width: 430px;
  margin: 0;
  font-weight: bold;
}

#race_name table {
  width: 100%;
}

#race_name table tr th {
  width: 60px;
}

#race_name table tr td {
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  line-height: 120%;
  padding: 8px 5px;
}

/* 日程
------------------------------------------------------------*/
span.hol {
  color: #cc1616;
}

span.sat {
  color: #1f7ad5;
}

.yoso_days_c {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  width: 96%;
  height: 26px;
  padding: 4px 2%;
}

.yoso_days_c span {
  background: #666;
  border-radius: 50%;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  margin: 0 4px 0 4px;
  padding: 3px 4px 4px;
}

.yoso_days_c span:last-child {
  margin: 0 0 0 4px;
}

.yoso_days_c span.hol {
  background: #cc1616;
  color: #fff;
}

.yoso_days_c span.sat {
  background: #1f7ad5;
  color: #fff;
}

/* 7日間開催 */
.yoso_days_c.seven span {
  margin: 0 16px 0 6px;
}

/* グレード
------------------------------------------------------------*/
.sg table tr th {
  background: url(../images/tenbo_sg.png) no-repeat center / 85% auto, #ce0000;
}

.g1 table tr th {
  background: url(../images/tenbo_g1.png) no-repeat center / 85% auto, #eb6e00;
}

.g2 table tr th {
  background: url(../images/tenbo_g2.png) no-repeat center / 85% auto, #00b892;
}

.g3 table tr th {
  background: url(../images/tenbo_g3.png) no-repeat center / 85% auto, #159ef9;
}

.ip table tr th {
  background: url(../images/tenbo_ip.png) no-repeat center / 85% auto, #4c4f75;
}

.grade {
  width: 50px;
  position: relative;
  z-index: 2;
}

.sg.grade {
  background: url(../images/tenbo_sg.png) no-repeat center / 80% auto, #ce0000;
}

.g1.grade {
  background: url(../images/tenbo_g1.png) no-repeat center / 80% auto, #eb6e00;
}

.g2.grade {
  background: url(../images/tenbo_g2.png) no-repeat center / 80% auto, #00b892;
}

.g3.grade {
  background: url(../images/tenbo_g3.png) no-repeat center / 80% auto, #159ef9;
}

.ip.grade {
  background: url(../images/tenbo_ip.png) no-repeat center / 70% auto, #4c4f75;
}

.point {
  width: 340px;
  height: 63px;
  background: url(../images/oudanmaku_point.png) no-repeat center / 100%;
  margin: 30px auto;
}

#massage {
  background: url("../images/oudanmakubanner.png") no-repeat center / contain;
  width: 100%;
  height: 290px;
  margin: -10px auto 10px;
  /* position: relative;
  overflow-x: scroll; */
}
/* 
#massage .banner {
  background: url("../images/oudanmaku.png") no-repeat center / contain;
  width: 1020px;
  height: 228px;
} */

.lead {
  background: #159EF980;
  color: #fff;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 160%;
  padding: 20px 0;
  text-align: center;
}

.info {
  margin: 30px auto;
  padding: 0 15px;
}

.info h4 {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
  padding: 10px 0;
  position: relative;
  width: 399px;
  top: -1px;
  left: -2px;
}

.info .kikaku,
.info .chui {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  position: relative;
}

.info .kikaku::after,
.info .chui::after {
  content: '';
  background: #159EF9;
  position: absolute;
  width: 3px;
  height: 35px;
  transform: rotate(45deg);
  right: 5px;
  bottom: -15px;
}

.info .chui::after {
  background: #CC2EC1;
}

.info .kikaku {
  background: #159EF94d;
  border: solid 3px #159EF9;
  margin-bottom: 15px;
}

.info .kikaku h4 {
  background: #159EF9;
}

.info .chui h4 {
  background: #CC2EC1;
}

.kikaku ul {
  font-size: 16px;
  font-weight: 700;
  line-height: 2em;
  padding: 0 2px 15px;
}

.info .chui {
  background: #CC2EC14d;
  font-size: 14px;
  border: solid 3px #CC2EC1;
}

.chui ul {

  padding: 0 15px 15px;
}


.chui ul.gazo {
  padding: 0;
  margin-top: -20px;
}

.chui li {
  text-indent: -1em;
  margin-left: 1em;
}

.gazo li {
  text-indent: -1em;
  margin-left: 1em;
}


.error {
  background: #AB0002;
  color: #fff;
  width: 390px;
  font-size: 16px;
  line-height: 1.8em;
  padding: 20px;
  margin: 0 auto 30px;
}

.error span {
  color: #ffff00;
}

/* 応援メッセージ投稿
------------------------------------------------------------*/
#oudanmaku_left,
#oudanmaku_right {
  margin: auto 15px;
}

h5 {
  width: 100%;
  height: 40px;
}

#oudanmaku_left h5 {
  width: 100%;
  background: #C30600;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#oudanmaku_right h5 {
  width: 100%;
  background: #0079D1;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.ouen_read {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.ouen {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 15px 30px;
}

/* レースタイトル
------------------------------------------------------------*/
#banner h5 {
  width: 100%;
  background: #C30600;
  font-weight: 700;
  text-align: center;
  font-size: 22px;
  line-height: 2;
  height: 1lh;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}

.ouen_race {
  width: 100%;
  font-weight: bold;
  margin-bottom: calc(22.5px + 15px);
}

.ouen_race table {
  width: 100%;
}

.ouen_race table tr th {
  width: 60px;
}

.ouen_race table tr td {
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  line-height: 120%;
  padding: 8px 5px;
}

.ouen_race table tr td.sche {
  background: none;
  padding: 0;
}

.banner_upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
}

.banner_label {
  display: block;
  position: relative;
  width: 375px;
  height: 40px;
  flex-shrink: 0;
  background: #00378E;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.banner_btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
}

.file_name {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  overflow-wrap: anywhere;
  margin-top: 10px;
}

/**********************************
日程
***********************************/
.btn {
  float: left;
  width: 137px;
  height: 44px;
  line-height: 44px;
  background: #5500b9;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.btn a {
  color: #fff;
  line-height: 44px;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.btn a::after {
  content: "▶︎";
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  margin-left: 4px;
  margin-right: -4px;
}

.ouen_race .btn.non {
  opacity: 0.3;
  pointer-events: none;
}


.ouen_race td.ouen_form {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
}

.simekiri {
  background: #C45300;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 44px;
  width: calc(100% - 137px - 5px);
  text-align: center;
  height: 44px;
  margin-left: 5px;
  float: left;
}

.simekiri span {
  font-size: 17px;
  margin: 0 10px 0 4px;
  padding: 1px 4px;
  background: #000;
  border-radius: 14px;
  color: #fff;
}

#oudanmaku span.hol {
  background: #CC1616;
}

#oudanmaku span.sat {
  background: #1F7AD5;
}


select {
  width: 100%;
  height: 45px;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 10px;
  text-align: center;
}

input {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  margin-top: 10px;
}

.ouen_reset {
  background: url("../images/ouen_reset.png") no-repeat center / auto 100%;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ouen_add {
  background: url("../images/ouen_plus.png") no-repeat center / 100% auto;
  width: 45px;
  height: 45px;
  margin: 0 auto -32.5px;
}

#oudanmaku_pi {
  width: 100%;
}

#oudanmaku_pi dl {
  width: 100%;
}

#oudanmaku_pi dl dt,
#oudanmaku_pi dl dd {
  min-height: 30px;
}

#oudanmaku_pi dl dt {
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  line-height: 30px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

#oudanmaku_pi dl dd {
  line-height: 140%;
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  margin-bottom: 10px;
  padding-top: 10px;
}

#oudanmaku_pi dl dd.line2 {
  line-height: 140%;
  padding: 20px 0;
}

.txt {
  width: 40px;
  line-height: 76px;
  float: left;
  text-align: center;
}

#post1,
#post2 {
  /* width: 271px; */
  float: left;
}

#oudanmaku_pi input,
#oudanmaku_pi select {
  margin: 0;
}

.check {
  font-size: 13px;
  width: 365px;
  margin-left: 4px;
}

#confirm {
  width: 320px;
  height: 50px;
  margin: 20px auto 10px;
  background: #C30600;
  border-radius: 30px;
  color: #fff;
}

#confirm input {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}


#sign {
  width: 680px;
  height: 101px;
  background: rgba(60, 60, 60, 0.7);
}

.sign_size {
  width: 479px;
  height: 80px;
  padding: 20px 0px 0;
  text-align: left;
  font-size: 22px;
  line-height: 140%;
}

.success {
  width: 400px;
  margin: 30px auto 0;
  padding-top: 400px;
  background: url("../images/success.png") no-repeat center top /100%;
}

.sorry {
  width: 430px;
  margin: 30px auto 0;
  padding-top: 400px;
  background: url("../images/sorry.png") no-repeat center top /100%;
}

.confirm_back {
  width: 175px;
  height: 40px;
  background: #666;
  float: left;
  margin-left: 4px;
  border-radius: 20px;
}

.confirm_next {
  width: 175px;
  height: 40px;
  background: #00378E;
  margin-left: 10px;
  float: left;
  border-radius: 20px;
}

.check_01,
.check_02 {
  color: #000;
  width: 90%;
  margin: 0 auto 30px;
  font-size: 20px;
  line-height: 140%;
}

.check_01 h6,
.check_02 h6 {
  font-size: 16px;
  font-weight: 700;
  color: #6d11ac;
  height: 24px;
  line-height: 24px;
  border-bottom: 1px solid #6d11ac;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.thx {
  color: #FFDC00;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  margin: 50px auto;
}