/*====================================================================================
1. START COMMON ONLY CHILD PAGE.
====================================================================================*/
/*---------- START TITLE PAGE ----------*/
.c-ttlpage {
  position: relative;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}
.c-ttlpage:after {
  position: absolute;
  content: "";
  background: var(--bg-linear-gradient);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.25;
  z-index: -1;
}
.c-ttlpage:before {
  position: absolute;
  content: "";
  width: 4.8rem;
  height: 0.6rem;
  background: linear-gradient(to right, #00AEEF 0% 25%, #EC008C 25% 50%, #FFF200 50% 75%, #000000 75% 100%);
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.c-ttlpage h1 {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: var(--font-Noto-jp);
}
@media only screen and (min-width: 768px) {
  .c-ttlpage {
    height: 20rem;
  }
  .c-ttlpage:before {
    width: 9.6rem;
    height: 1.2rem;
  }
  .c-ttlpage h1 {
    font-size: 4.5rem;
  }
}

/*---------- START BREADCRUMB ----------*/
.c-breadcrumb {
  position: relative;
  padding: 1.7rem 0 8rem;
  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;
  }
}

.c-main-page {
  padding: 3rem 0 5rem;
}
.c-main-page__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.c-main-page__left {
  width: 100%;
}
.c-main-page__right {
  width: 100%;
}
@media only screen and (max-width: 767px) {
  .c-main-page__inner {
    gap: 2rem;
  }
}
@media only screen and (min-width: 768px) {
  .c-main-page {
    padding: 0 0 15rem;
  }
  .c-main-page__left {
    width: 21.5rem;
  }
  .c-main-page__right {
    width: calc(100% - 25rem);
  }
}

/*====================================================================================
2. START PAGE works
====================================================================================*/
.c-list_tag {
  width: 100%;
}
.c-list_tag__item {
  width: 100%;
}
.c-list_tag__item.item-detail {
  border-bottom: 1px solid var(--gray);
  padding: 1rem 2rem;
  font-size: 1.6rem;
}
.c-list_tag__item.item-detail strong {
  display: block;
  margin-bottom: 0.5rem;
}
.c-list_tag__link {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 1.6rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gray);
  padding: 1rem 2rem;
  z-index: 2;
}
.c-list_tag__link:after {
  position: absolute;
  content: "";
  background: var(--blue);
  width: 0;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  transition: all 0.5s;
  z-index: -1;
}
.c-list_tag__link.active {
  background: var(--blue);
  color: #fff;
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .c-list_tag__link {
    font-size: 1.8rem;
  }
  .c-list_tag__link:hover {
    color: #fff;
    font-weight: bold;
  }
  .c-list_tag__link:hover:after {
    width: 100%;
  }
}

.c-list-news {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.c-list-news__item {
  width: 100%;
}
.c-list-news__link {
  position: relative;
  text-decoration: none;
}
.c-list-news__img {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 5/3;
}
.c-list-news__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}
.c-list-news__infor {
  width: 100%;
  background: var(--gray);
  padding: 2rem;
}
.c-list-news__title {
  font-size: 1.6rem;
  font-weight: bold;
}
.c-list-news__tag {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.c-list-news__tag-item {
  position: relative;
  display: inline-block;
  background: #fff;
  border: 1px solid #ccc;
  color: var(--blue);
  font-weight: 500;
  font-size: 1.4rem;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  line-height: normal;
  z-index: 3;
}
@media only screen and (min-width: 768px) {
  .c-list-news__item {
    width: calc((100% - 4rem) / 3);
  }
  .c-list-news__link:hover .c-list-news__img img {
    transform: scale(1.1);
  }
  .c-list-news__title {
    font-size: 1.8rem;
  }
}

/*---------- START pagination ----------*/
.pagination {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 1rem;
  margin-top: 3rem;
}
.pagination .page,
.pagination .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}
.pagination .page:hover, .pagination .page.active,
.pagination .nav:hover,
.pagination .nav.active {
  background: var(--purple);
  color: #fff;
}
.pagination .nav {
  background: #fff url("../images/works/nav-arr.webp") no-repeat center top 0.8rem;
  border-color: var(--purple);
  border-radius: 50%;
}
.pagination .nav.next {
  transform: scale(-1, 1);
}
.pagination__detail {
  border-top: 1px solid #000;
}
@media only screen and (min-width: 768px) {
  .pagination {
    margin-top: 6rem;
  }
  .pagination .nav:hover {
    background: var(--purple) url("../images/works/nav-arr_white.webp") no-repeat center top 0.8rem;
  }
}

/*====================================================================================
3. START PAGE detail
====================================================================================*/
.c-detail .c-list-news__infor {
  margin-bottom: 2rem;
}
.c-detail .c-list-news__title {
  font-size: 2rem;
}
.c-detail .c-main-page__inner {
  border-bottom: 1px solid #000;
}
.c-detail .pagination .c-btn__link {
  min-width: auto;
  width: 20rem;
}
@media only screen and (min-width: 768px) {
  .c-detail .c-list-news__infor {
    margin-bottom: 4rem;
  }
  .c-detail .c-list-news__title {
    font-size: 3rem;
  }
  .c-detail .pagination .c-btn__link {
    width: 30rem;
  }
}

.single__WYSIWYG {
  font-size: 1.4rem;
}
.single__WYSIWYG a {
  color: var(--purple);
}
.single__WYSIWYG h1,
.single__WYSIWYG h2,
.single__WYSIWYG h3,
.single__WYSIWYG h4,
.single__WYSIWYG h5,
.single__WYSIWYG h6 {
  font-weight: bold;
}
.single__WYSIWYG h1:first-child,
.single__WYSIWYG h2:first-child,
.single__WYSIWYG h3:first-child,
.single__WYSIWYG h4:first-child,
.single__WYSIWYG h5:first-child,
.single__WYSIWYG h6:first-child {
  margin-top: 0;
}
.single__WYSIWYG h2 {
  background: var(--gray);
}
.single__WYSIWYG h3 {
  border-left: 5px solid var(--purple);
  padding-left: 1rem;
}
.single__WYSIWYG h4 {
  position: relative;
  border-bottom: 1px solid #000;
}
.single__WYSIWYG h5 {
  position: relative;
  padding-left: 2rem;
}
.single__WYSIWYG h5:after {
  position: absolute;
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  background: var(--blue);
  left: 0;
  top: 0.7rem;
  margin: auto;
}
.single__WYSIWYG figure {
  display: block;
  overflow: hidden;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}
.single__WYSIWYG figure.size-small {
  width: 50%;
}
.single__WYSIWYG figure.size-medium {
  width: 70%;
}
.single__WYSIWYG figure.size-large {
  width: 100%;
}
.single__WYSIWYG figure.alignleft {
  float: left;
}
.single__WYSIWYG figure.alignright {
  float: right;
}
.single__WYSIWYG figure.aligncenter {
  margin: auto;
}
.single__WYSIWYG figure figcaption {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}
.single__WYSIWYG p img {
  display: block;
  overflow: hidden;
}
.single__WYSIWYG p img.size-small {
  width: 35%;
}
.single__WYSIWYG p img.size-medium {
  width: 70%;
}
.single__WYSIWYG p img.size-large {
  width: 100%;
}
.single__WYSIWYG p img.alignleft {
  float: left;
}
.single__WYSIWYG p img.alignright {
  float: right;
}
.single__WYSIWYG ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.single__WYSIWYG ul li:after {
  position: absolute;
  content: "";
  top: 1.2rem;
  left: 0;
  background: #383838;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
}
.single__WYSIWYG ol {
  list-style-type: decimal-leading-zero;
  counter-reset: section;
}
.single__WYSIWYG ol li {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.5rem;
}
.single__WYSIWYG ol > li {
  position: relative;
  counter-increment: section;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.single__WYSIWYG ol > li:before {
  content: counter(section) ".";
}
.single__WYSIWYG ol > li > ol {
  counter-reset: subsection;
  list-style-type: none;
  margin-top: 0.5rem;
  margin-left: 2rem;
}
.single__WYSIWYG ol > li > ol > li {
  position: relative;
  counter-increment: subsection;
  font-size: 1.4rem;
  font-weight: normal;
}
.single__WYSIWYG ol > li > ol > li:before {
  content: counter(section) "." counter(subsection) " ";
}
@media only screen and (min-width: 768px) {
  .single__WYSIWYG {
    font-size: 1.6rem;
  }
  .single__WYSIWYG h1, .single__WYSIWYG h2, .single__WYSIWYG h3, .single__WYSIWYG h4, .single__WYSIWYG h5, .single__WYSIWYG h6 {
    margin: 4rem 0 2rem;
  }
  .single__WYSIWYG h1 {
    font-size: 2.8rem;
  }
  .single__WYSIWYG h2 {
    font-size: 2.4rem;
    padding: 1rem;
  }
  .single__WYSIWYG h3 {
    font-size: 2.4rem;
  }
  .single__WYSIWYG h4 {
    font-size: 2.2rem;
  }
  .single__WYSIWYG h5, .single__WYSIWYG h6 {
    font-size: 1.8rem;
  }
  .single__WYSIWYG figure {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .single__WYSIWYG figure img {
    width: 100%;
  }
  .single__WYSIWYG figure figcaption {
    font-size: 1.8rem;
  }
  .single__WYSIWYG p {
    margin-bottom: 3rem;
  }
  .single__WYSIWYG p img {
    margin: 3rem 0;
  }
  .single__WYSIWYG p img.aligncenter {
    margin: 3rem auto 3rem;
  }
  .single__WYSIWYG p img.alignleft {
    margin-right: 5rem;
  }
  .single__WYSIWYG p img.alignright {
    margin-left: 5rem;
  }
  .single__WYSIWYG p iframe {
    width: 100%;
    height: 50rem;
  }
  .single__WYSIWYG ol, .single__WYSIWYG ul {
    margin-top: 3rem;
  }
  .single__WYSIWYG .box-youtube {
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    margin-top: 4rem;
  }
  .single__WYSIWYG .box-youtube img {
    margin-top: 0;
  }
  .single__WYSIWYG .box-youtube iframe {
    width: 100%;
    height: 50rem;
  }
  .single__WYSIWYG .aligncenter {
    text-align: center;
    max-width: 100%;
  }
  .single__WYSIWYG .alignright {
    text-align: right;
    max-width: 100%;
  }
  .single__WYSIWYG .cm-btn.btn-pdf {
    display: flex;
    justify-content: flex-start;
  }
  .single__WYSIWYG .cm-btn.btn-pdf a {
    display: flex;
    align-items: center;
    width: auto;
    font-size: 1.8rem;
    margin-left: 0;
  }
}
@media only screen and (max-width: 767px) {
  .single__WYSIWYG h1, .single__WYSIWYG h2, .single__WYSIWYG h3, .single__WYSIWYG h4, .single__WYSIWYG h5, .single__WYSIWYG h6 {
    margin: 2rem 0 1rem;
  }
  .single__WYSIWYG h1 {
    font-size: 2.2rem;
  }
  .single__WYSIWYG h2 {
    font-size: 2rem;
    padding: 0.5rem;
  }
  .single__WYSIWYG h3 {
    font-size: 2rem;
  }
  .single__WYSIWYG h4 {
    font-size: 1.8rem;
  }
  .single__WYSIWYG h5, .single__WYSIWYG h6 {
    font-size: 1.6rem;
  }
  .single__WYSIWYG p {
    margin-bottom: 1.5rem;
  }
  .single__WYSIWYG p img {
    margin: 1.5rem 0;
  }
  .single__WYSIWYG p img.aligncenter {
    margin: 1.5rem auto 1.5rem;
  }
  .single__WYSIWYG p img.alignleft {
    margin-right: 1.5rem;
  }
  .single__WYSIWYG p img.alignright {
    margin-left: 1.5rem;
  }
  .single__WYSIWYG p iframe {
    height: 25rem;
  }
  .single__WYSIWYG ol, .single__WYSIWYG ul {
    margin-top: 1.5rem;
  }
  .single__WYSIWYG .box-youtube {
    margin-top: 2rem;
  }
}