@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;
}
#monthly p.ketujyo {
  margin-bottom:10px;
  text-align:left;
  text-indent:0;
}
#monthly .midashi{
  width:900px;
}

#monthly table {
  border-collapse:collapse;
}

#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;
}


/*各ページ*/

/* styles.css */

#monthly .top_title {
  position: relative;
  max-width: 900px;
  margin-bottom: 60px;
}

#monthly .image-background {
  position: relative;
  width: 100%;
  height: auto;
}

#monthly .image-background img {
  width: 100%;
  height: auto;
  display: block;
}

#monthly .text-image-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1000px;
}

#monthly .text_title {
  flex: 1;
  margin: 23px 20px 0px 0px;
  color: #fff;
  white-space: nowrap;
  text-shadow: 
    black 2px 0px 2px, black -2px 0px 2px,
    black 0px -2px 2px, black -2px 0px 2px,
    black 2px 2px 2px, black -2px 2px 2px,
    black 2px -2px 2px, black -2px -2px 2px,
    black 1px 2px 2px, black -1px 2px 2px,
    black 1px -2px 2px, black -1px -2px 2px,
    black 2px 1px 2px, black -2px 1px 2px,
    black 2px -1px 2px, black -2px -1px 2px,
    black 1px 1px 2px, black -1px 1px 2px,
    black 1px -1px 2px, black -1px -1px 2px;
}

#monthly .text_title h1 {
  margin: 0;
  font-size: 32px;
}

/* コンテナ全体のスタイル */
#monthly .racer_container {
  display: flex;
  flex-direction: row; /* 横並び */
  justify-content: space-around; /* 均等に配置 */
  align-items: center; /* 縦方向を中央揃え */
  flex-wrap: wrap; /* 横幅が足りない場合、次の行に折り返し */
}

/* 各レーサーのスタイル */
#monthly .racer {
  display: flex;
  flex-direction: column; /* 縦方向に配置 */
  align-items: center; /* 中央揃え */
  text-align: center;
  width: 200px; /* 各要素の幅 */
  height: 444px;
}

/* レーサーの画像 */
#monthly .racer_face {
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

#monthly .line {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* テキスト部分 */
#monthly .text_racer {
  display: flex;
  position: relative;
  max-width: 218px;
  height: 120px;
  top: -120px;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
  padding-top: 120px;
}

#monthly .text_year_location {
  font-size: 20px;
  font-weight: bold;
  color: #231916;
  margin-bottom: -6px;
  font-family: Arial, Helvetica, sans-serif;
}

#monthly .name_racer {
  font-size: 36px;
  font-weight: bold;
  color: #9B0583;
}

/* Adapt path to font file and format depending on your build settings. */


#monthly .warp__placeholder{
    position: absolute;
    color: transparent;
    font-size: .1px;
}

#monthly .count {
  font-size: 27px;
  color: #333;
  display: block;
  position: relative;
  width: 457px;
  font-family: Arial, Helvetica, sans-serif;
}

[class*='warp__'] {
    display: block;
    position: absolute;
}

#monthly .warp__0 {
  transform-origin: -8% -36px;
  transform: translate(60.6875px, 89.64269999999999px) rotate(-1.17rad);
}

#monthly .warp__1 {
  transform-origin: -197% -16px;
  transform: translate(95.7012px, 51.6464px) rotate(-0.79rad);
  font-size: 63px;
}

#monthly .warp__2 {
  transform-origin: -207% -106px;
  transform: translate(116.76060000000001px, 23.814899999999994px) rotate(-0.4rad);
}

#monthly .warp__3 {
  transform-origin: -117% 9px;
  transform: translate(95.7012px, 51.6464px) rotate(-0.92rad);
  font-size: 63px;
}

#monthly .warp__4 {
  transform-origin: -217% -29px;
  transform: translate(95.7012px, 51.6464px) rotate(-0.74rad);
  font-size: 63px;
}