@charset "utf-8";

/*共通*/

.button--arrowRight {
  box-sizing: border-box;
}

#monthly {
  width: 900px;
  margin: 0px auto 0 auto;
  padding: 0px;
  font-size:16px;
}
#monthly p {
  line-height: 1.6;
  letter-spacing:0.05em;
  text-indent:1em;
  margin-bottom:0.6em;
}
#monthly p.ketujyo {
  margin-bottom:10px;
  text-align:left;
  text-indent:0;
}
#monthly .midashi{
  width:900px;
}

#monthly br.clear {
  clear: both;}

#monthly .cf:before,
.cf:after {
    content: " ";
    display: table;
}

#monthly .cf:after {
    clear: both;
}

#monthly a {
  text-decoration: underline;
}

#monthly a:hover {
  text-decoration: none;
}


/*各ページ*/

#monthly .title {
  position: relative; /* 親要素を基準にする */
  width: 900px;       /* 必要に応じて調整 */
  height: 30px;      /* 必要に応じて調整 */
}

#monthly .background-image {
  width: 100%;       /* 親要素に合わせる */
  height: auto;      /* 画像のアスペクト比を維持 */
}

#monthly .black-background {
  font-weight: bold;
  font-size: 27px;
  color: white;
  background-color: black;
  padding: 0px 11px 0px 3px;
  display: inline-block;
  position: absolute;
  left: 12%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 7px 6px 6px 6px;
}

#monthly .outlined-text {
  font-weight: bold;
  font-size: 30px;
  color: white;
  text-shadow: 
  -1px -1px 0 black,
  1px -1px 0 black,
  -1px 1px 0 black,
  1px 1px 0 black;
  position: absolute; /* 絶対位置で配置 */
  left: 36%;          /* 横中央 */
  top: 55%;           /* 縦中央 */
  transform: translate(-50%, -50%); /* 完全に中央に配置 */
  margin: 5px 0;      /* テキスト間の余白 */
}


#monthly .data_table_title {
  display: flex;
  margin-top: 20px;
  width: 900px;
  background-color: #CBBD00;
  color: #231916;
  align-items: baseline;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding-top: 6px;
  /* padding-bottom: 6px; */
}

#monthly .six {
  font-weight: bold;
  font-size: 30px;
  margin-left: 20px;
  color:#FFFFFF;
  text-shadow: 0px 0px 9px black;
}

#monthly .period {
  margin-left: auto; /* 自動的に右寄せ */   
}

#monthly .results_course {
  font-weight: bold;
  font-size: 30px;
  margin-left: 10px;
  border-left: 2px dashed #231916;
  padding-left: 10px;  
}

#monthly .course_t1 {
  width: 100%;
  margin-bottom: 40px;
}

#monthly table {
  border-collapse:separate;
  /* border-collapse:collapse; */
  border: 2px solid black; 
  border-spacing: 0;
  /* border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;  */
  color: #231916;
  width: 100%;
}

#monthly th {
  background-color: #CBBD00;
  color: #231916;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #231916;
  font-weight: normal;
}

#monthly td {
  border-top: 0.5px solid black;   /* 上の横線を1pxに */
  border-bottom: 0.5px solid black; /* 下の横線を1pxに */
  border-left: 1px solid black;
  border-right: 1px solid black;
  padding: 0px 3px 0px 6px;
  font-weight: bold;
  text-align: right;
  word-wrap: break-word;
}

#monthly .kimaritebetsu{
  border-bottom: 0.5px solid #231916;
}

#monthly .line-spacing {
  margin-bottom: -7px; /* 改行の下に20pxの余白を追加 */
}

#monthly .kimarite{
  background-color: #595757;
  border-top: none;
  color: white;
  padding-top: 1px;
}

#monthly .scaled-text {
  transform: scale(0.8, 1); /* 横方向に縮める */
  display: inline-block; /* transformが効くように */
  white-space: nowrap; /* 改行を防ぐ */
}

#monthly .vertical-border{
  border-right: 1px solid white;
  border-left: 1px solid white;
}

#monthly .megumare{
  border-left: 1px solid white;
}

#monthly .nige{
  border-right: 1px solid white;
}

#monthly .box_course {
  text-align: center;
}

#monthly .course {
  background-color: #595757;
  color: #FFFFFF;
  text-align: center;
}

#monthly .results {
  background-color: #DFF2FC;
}

#monthly .number {
  font-size: 1.3rem;
  display: inline; /* 改行を防ぐ */
  margin-right: 3px;
}

#monthly .hyphen {
  text-align: center;
}