/* ここから */

.content {
  background-color: #eff5f9;
  width: 100%;
}

.content_inner {
  width: min(100% - 20px, 1280px);
  margin-inline: auto;
}

.content_inner h2 {
  color: #000;
  letter-spacing: 1.4px;
  font-size: calc(2em + 4px);
  font-weight: bold;
  padding-block: 24px 32px;
}

.my_course {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.25rem;
  border: 1px solid #eaeaea;
}

.item_card {
  width: 100%;

  margin: 5px;
  padding: 10px;
  border: 1px double #ccc;
}

.card_title {
  font-size: 2rem;
}

.account {
  margin: 20px;
}

.course_remain {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.course_remain span {
  font-size: 25px;
}

.course_extension {
  font-size: 16px;
  margin-top: 15px;
}

.course_extension a {
  text-decoration: underline;
  font-weight: bold;
}

.course_extension a:hover {
  color: #ED2D5E;
}

/* 円グラフ周りのCSS ここから*/

.account-info {
  /* padding: 50px 0;
  width: 50vw; */
}
@media screen and (max-width: 1024px) {
  .account-info {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
/*
.account-sec {
  margin-bottom: 20px;
} */
.account-sec--menta {
  padding-bottom: 60px;
  border-bottom: 1px solid #fff;
}
.account-sec-title {
  text-align: center;
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
}
@media screen and (max-width: 1024px) {
  .account-sec-title {
    font-size: 2rem;
  }
}

.badge {
  width: 85%;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  .badge {
    width: 100%;
    display: block;
  }
}
.badge li {
  position: relative;
  margin-bottom: 15px;
  z-index: 10;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 2rem;
}
.badge li:hover {
  opacity: 0.7;
}
@media screen and (min-width: 1025px) {
  .badge li:nth-child(2n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 1024px) {
  .badge li {
    width: 100%;
    font-size: 1.7rem;
  }
}
@media screen and (max-width: 1280px) {
  .badge li {
    width: 100%;
    margin-right: 0;
  }
}
.badge li a {
  position: relative;
  display: block;
  width: 100%;
  padding: 25px 35px 25px 15px;
  z-index: 10;
  min-height: 120px;
}
@media screen and (max-width: 1024px) {
  .badge li a {
    padding: 18px 35px 18px 15px;
  }
}
.badge li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.45);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%) !important;
  border-radius: 5px;
}
.badge li span {
  display: block;
  position: absolute;
  font-weight: bold;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 10%;
}
.badge li img {
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.badge li.comp:after {
  position: absolute;
  top: -10px;
  right: 0px;
  content: "";
  width: 42px;
  height: 58px;
  background: url(/assets/img/comp_badge.png) no-repeat;
  background-size: cover;
  z-index: 10;
}

.myChart {
  display: block;
  box-sizing: border-box;
  height: 192px;
  width: 192px;
}

.chart-wrap {
  position: relative;
}
.chart-wrap .chart-container {
  position: relative;
  margin: 0 auto;
}
.chart-wrap .achievement {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 4.2rem;
  color: #111C38;
  font-family: "Montaga", serif;
  letter-spacing: 1px;
}
.chart-wrap .achievement span {
  font-size: 2.8rem;
}

.mypage-user-id {
  text-align: center;
  color: #fff;
  font-size: 13px;
}

/* 円グラフ周りのCSS ここまで*/

/* フラッシュメッセージ */
.alert {
  position: fixed;
  z-index: 100;
  width: 100%;
  padding: 2rem 1.75rem;
  border: 1px solid transparent;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.alert.fade-out {
  opacity: 0;
}

.alert-danger {
  color: #721c24;
  font-weight: bold;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
