/*====================================================================================
1. START COMMON ONLY CHILD PAGE.
====================================================================================*/
.l-header {
  border-bottom: 1px solid var(--theme-color-3);
}

.l-main {
  background: var(--theme-color-4);
  padding-top: var(--headerH);
}

@media only screen and (max-width: 767px) {
  .c-main-page {
    padding: 4rem 0;
  }
}
@media only screen and (min-width: 768px) {
  .c-main-page {
    padding: 10rem 0;
  }
}

/*---------- START PADDING  ----------*/
.u-pd-start_sec {
  padding-top: 4rem;
}
@media only screen and (min-width: 768px) {
  .u-pd-start_sec {
    padding-top: 8rem;
  }
}

/*---------- START TITLE PAGE ----------*/
/*---------- START BREADCRUMB ----------*/
.c-breadcrumb {
  position: relative;
  padding-top: 1rem;
  z-index: 3;
}
.c-breadcrumb__list {
  display: flex;
}
.c-breadcrumb__item {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 2.5rem;
  font-size: 1.2rem;
  color: #000;
  line-height: 1;
}
.c-breadcrumb__item:after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 0;
  right: 1rem;
  margin: auto;
  width: 0;
  height: 0;
  border: solid #000;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.c-breadcrumb__item:last-child {
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 0;
}
.c-breadcrumb__item:last-child:after {
  content: none;
}
.c-breadcrumb__item:nth-child(2) {
  white-space: nowrap;
}
.c-breadcrumb__link {
  line-height: 1.2;
  text-decoration: none;
  color: #000;
}
@media only screen and (max-width: 767px) {
  .c-breadcrumb {
    display: none;
  }
}

/*====================================================================================
2. START PAGE login
====================================================================================*/
.p-login__box {
  width: 100%;
  background: var(--theme-color-2);
  max-width: 48rem;
  border: 4px solid var(--theme-color-3);
  border-radius: 2rem;
  margin: auto;
}
.p-login__header {
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-login__title {
  font-weight: 400;
}
.p-login__form label {
  display: block;
  color: var(--theme-color-3);
  font-weight: bold;
  margin: 2rem 0 0.5rem;
}
.p-login__form .error-msg {
  color: var(--theme-color-6);
  font-size: 1.28rem;
  margin-top: 2rem;
}
.p-login__note {
  font-size: 1.28rem;
  text-indent: -1.2em;
  padding-left: 1.2em;
}
.p-login__note .link {
  color: var(--theme-color-5);
}
@media only screen and (max-width: 767px) {
  .p-login__box {
    padding: 3.2rem 1.5rem;
  }
  .p-login__header {
    gap: 1.3rem;
  }
  .p-login__title {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 768px) {
  .p-login__box {
    padding: 6.4rem 3.2rem;
  }
  .p-login__header {
    gap: 2.6rem;
  }
  .p-login__title {
    font-size: 2.5rem;
  }
}

.c-btn-submit {
  display: block;
  width: 30rem;
  padding: 1.6rem;
  border: 2px solid var(--theme-color-8);
  border-radius: 9rem;
  background: var(--theme-color-2);
  color: var(--theme-color-8);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}
.c-btn-submit--blue {
  border-color: var(--theme-color-3);
  color: var(--theme-color-3);
}
@media only screen and (max-width: 767px) {
  .c-btn-submit {
    margin: 1.5rem auto;
  }
}
@media only screen and (min-width: 768px) {
  .c-btn-submit {
    margin: 3rem auto;
  }
  .c-btn-submit:hover {
    background: var(--theme-color-8);
    color: var(--theme-color-2);
  }
  .c-btn-submit--blue:hover {
    background: var(--theme-color-3);
  }
}

/*====================================================================================
2. START PAGE mypage
====================================================================================*/
.c-list-news__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.c-list-news__list {
  width: 100%;
  background: var(--theme-color-2);
  border-radius: 2rem;
}
@media only screen and (max-width: 767px) {
  .c-list-news__head {
    padding-bottom: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .c-list-news__list {
    padding: 1.5rem;
  }
  .c-list-news .c-btn {
    margin-top: 2rem;
  }
}
@media only screen and (min-width: 768px) {
  .c-list-news__head {
    padding-bottom: 2rem;
  }
  .c-list-news__list {
    padding: 3rem 4rem;
  }
}

/*============================== START c-news ==============================*/
.c-news {
  width: 100%;
}
.c-news__item:last-child .c-news__link {
  margin-bottom: 0;
}
.c-news__link {
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.c-news__date {
  font-weight: bold;
}
.c-news__tag {
  background: var(--theme-color-2);
  width: 16rem;
  border-radius: 1rem;
  font-weight: bold;
  border: 1px solid var(--theme-color-3);
  text-align: center;
  padding: 0.5rem;
  color: var(--theme-color-3);
}
@media only screen and (max-width: 767px) {
  .c-news__link {
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  .c-news__txt {
    width: 100%;
  }
}
@media only screen and (min-width: 768px) {
  .c-news__link {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .c-news__link:hover {
    color: var(--theme-color-3);
  }
}

.c-article-list .c-news--white {
  position: relative;
  z-index: 2;
}
.c-article-list .c-news--white:after {
  position: absolute;
  content: "";
  background: var(--theme-color-2);
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  z-index: -1;
}

.c-news_detail__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.c-news_detail__head .c-news__tag {
  width: auto;
}
.c-news_detail__head .c-news__txt {
  width: 100%;
  font-weight: 700;
  text-decoration: underline;
}
.c-news_detail__body--img-left .c-news_detail__img {
  float: left;
}
.c-news_detail__text p + p {
  margin-top: 1rem;
}
@media only screen and (max-width: 767px) {
  .c-news_detail {
    padding: 3rem 0;
  }
  .c-news_detail__head {
    margin-bottom: 1.5rem;
  }
  .c-news_detail__head .c-news__txt {
    font-size: 2rem;
  }
  .c-news_detail__img {
    margin-bottom: 1rem;
  }
}
@media only screen and (min-width: 768px) {
  .c-news_detail {
    padding: 6rem 0;
  }
  .c-news_detail__head {
    margin-bottom: 2rem;
  }
  .c-news_detail__head .c-news__txt {
    font-size: 2.6rem;
  }
  .c-news_detail__body--img-left .c-news_detail__img {
    float: left;
    margin: 0 4rem 3rem 0;
  }
  .c-news_detail__img {
    float: right;
    margin: 0 0 3rem 4rem;
  }
}

/*============================== START c-pagination ==============================*/
.c-pagination {
  position: relative;
  width: 100%;
}
.c-pagination .btn-prev {
  float: left;
}
.c-pagination .btn-next {
  float: right;
}
.c-pagination .btn-backtolist {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}
@media only screen and (max-width: 767px) {
  .c-pagination .c-btn__link {
    min-width: 10rem;
  }
}

/*====================================================================================
3. START PAGE event
====================================================================================*/
@media only screen and (max-width: 767px) {
  .p-event .c-pagination {
    margin-top: 2.5rem;
  }
}
@media only screen and (min-width: 768px) {
  .p-event .c-pagination {
    margin-top: 7rem;
  }
}

/*====================================================================================
3. START PAGE USER INFORMATION
====================================================================================*/
.c-form {
  width: 100%;
  margin-top: 2rem;
}
.c-form__body {
  display: table;
  width: 100%;
  background: var(--theme-color-2);
}
.c-form__group {
  width: 100%;
}
.c-form__group dt {
  color: var(--theme-color-3);
  font-weight: bold;
}
.c-form__group dt, .c-form__group dd {
  border: 1px solid var(--theme-color-3);
}
.c-form__btn {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
@media only screen and (max-width: 767px) {
  .c-form__group {
    flex-wrap: wrap;
  }
  .c-form__group:last-child dd {
    border-bottom: 1px solid var(--theme-color-3);
  }
  .c-form__group dt, .c-form__group dd {
    width: 100%;
    border-bottom: none;
    padding: 1.5rem;
  }
  .c-form__group dd {
    padding-top: 0;
    border-top: none;
  }
  .c-form__btn {
    margin-top: 1.5rem;
  }
}
@media only screen and (min-width: 768px) {
  .c-form__group {
    display: table-row;
  }
  .c-form__group:last-child dt, .c-form__group:last-child dd {
    border-bottom: 1px solid var(--theme-color-3);
  }
  .c-form__group dt, .c-form__group dd {
    display: table-cell;
    border-bottom: none;
    padding: 1.5rem 3rem;
  }
  .c-form__group dt {
    width: 29rem;
    border-right: none;
  }
  .c-form__group dd {
    width: calc(100% - 29rem);
  }
  .c-form__btn {
    margin-top: 3rem;
  }
}