@charset "UTF-8";
/*====================================================================================
1. START COMMON ONLY CHILD PAGE.
====================================================================================*/
/*---------- START TITLE PAGE ----------*/
.c-ttlpage {
  position: relative;
  height: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}
.c-ttlpage h1 {
  font-size: 2.4rem;
  font-weight: 900;
}

@media only screen and (max-width: 767px) {
  .c-ttlpage {
    background: url(../images/top/sp_mv-bg.webp) no-repeat top 0.8rem center, var(--gray);
    background-size: 100%;
  }
}
@media only screen and (min-width: 768px) {
  .c-ttlpage {
    background: url(../images/top/mv-bg.webp) no-repeat top 1.8rem center, var(--gray);
    height: 25rem;
  }
  .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;
}

@media only screen and (min-width: 768px) {
  .c-main-page {
    padding: 0 0 15rem;
  }
}
/*---------- PADDING SECTION ----------*/
/*====================================================================================
2. START PAGE news
====================================================================================*/
.p-news__main .c-detail__head {
  margin-bottom: 2rem;
}
@media only screen and (min-width: 768px) {
  .p-news__main .c-detail__head {
    margin-bottom: 4rem;
  }
}

.c-list-news {
  display: flex;
  flex-flow: column;
  gap: 1rem;
}

.c-list-news__item {
  width: 100%;
}

.c-list-news__link {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  background: var(--gray);
  border-radius: 1rem;
  padding: 1rem;
  text-decoration: none;
  gap: 1rem 2rem;
}

.c-list-news .date {
  width: 100%;
  color: var(--orange);
  font-weight: bold;
}
.c-list-news .text {
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

@media only screen and (min-width: 768px) {
  .c-list-news__link {
    padding: 2.5rem 3rem;
  }
  .c-list-news__link:hover .text {
    color: var(--orange);
  }
  .c-list-news .date {
    width: 10rem;
  }
  .c-list-news .text {
    width: calc(100% - 12rem);
  }
}
/*---------- 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 #000;
  width: 3rem;
  height: 3rem;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.2s;
}
.pagination .page:hover, .pagination .page.active {
  background: var(--yellow);
  color: #000;
}
.pagination .nav:hover, .pagination .nav.active {
  background: var(--yellow);
  color: #000;
}
.pagination .page {
  background: #fff;
}

.pagination__detail {
  border-top: 1px solid #000;
}

@media only screen and (min-width: 768px) {
  .pagination {
    margin-top: 6rem;
  }
}
/*====================================================================================
3. START PAGE detail
====================================================================================*/
.c-detail__head {
  background: var(--gray);
  border-radius: 1rem;
  padding: 1.5rem;
}
.c-detail__head .text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  word-break: break-word;
}

@media only screen and (min-width: 768px) {
  .c-detail__head {
    padding: 2.5rem 3rem;
  }
  .c-detail__head .text {
    font-size: 2.8rem;
  }
}
.single__WYSIWYG a {
  color: var(--orange);
}
.single__WYSIWYG h1, .single__WYSIWYG h2, .single__WYSIWYG h3, .single__WYSIWYG h4, .single__WYSIWYG h5, .single__WYSIWYG h6 {
  font-weight: bold;
}
.single__WYSIWYG h2 {
  background: var(--yellow);
}
.single__WYSIWYG h2 + table {
  border: 1px solid #aaa;
}
.single__WYSIWYG h2 + table td {
  padding-left: 1rem;
  border: 1px solid #aaa;
}
.single__WYSIWYG h3 {
  border-left: 8px solid var(--yellow);
  padding-left: 1.5rem;
}
.single__WYSIWYG h4 {
  position: relative;
  border-bottom: 2px dashed #000;
}
.single__WYSIWYG h5 {
  position: relative;
  padding-left: 2rem;
}
.single__WYSIWYG h5:after {
  position: absolute;
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  background: var(--yellow);
  border-radius: 50%;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.single__WYSIWYG figure {
  display: block;
  overflow: hidden;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}
.single__WYSIWYG figure.size-small {
  width: 35%;
}
.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 {
  text-align: center;
  margin-top: 2rem;
}
.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) " ";
}
.single__WYSIWYG #toc_container.no_bullets {
  border: 2px solid #000;
  border-radius: 2rem;
  max-width: 100%;
  margin: auto;
  padding: 2rem 1rem;
}
.single__WYSIWYG #toc_container.no_bullets .toc_title {
  position: relative;
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
}
.single__WYSIWYG #toc_container.no_bullets .toc_title:after {
  position: absolute;
  content: "";
  width: 12rem;
  height: 1px;
  background: #000;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.single__WYSIWYG #toc_container.no_bullets .toc_list li:after {
  display: none;
}

@media only screen and (min-width: 768px) {
  .single__WYSIWYG h1, .single__WYSIWYG h2, .single__WYSIWYG h3, .single__WYSIWYG h4, .single__WYSIWYG h5, .single__WYSIWYG h6 {
    margin: 5rem 0 3rem;
  }
  .single__WYSIWYG h1 {
    font-size: 2.6rem;
  }
  .single__WYSIWYG h2 {
    font-size: 2.6rem;
    padding: 1rem;
  }
  .single__WYSIWYG h3 {
    font-size: 2.4rem;
  }
  .single__WYSIWYG h4, .single__WYSIWYG h5, .single__WYSIWYG h6 {
    font-size: 2rem;
  }
  .single__WYSIWYG figure {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .single__WYSIWYG figure img {
    width: 100%;
  }
  .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;
  }
  .single__WYSIWYG #toc_container.no_bullets {
    padding: 4rem;
  }
  .single__WYSIWYG #toc_container.no_bullets .toc_title {
    font-size: 2rem;
  }
}
@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: 2.5rem 0 1.5rem;
  }
  .single__WYSIWYG h1 {
    font-size: 2rem;
  }
  .single__WYSIWYG h2 {
    font-size: 2rem;
    padding: 0.5rem;
  }
  .single__WYSIWYG h3 {
    font-size: 1.8rem;
  }
  .single__WYSIWYG h4, .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;
  }
}
/*====================================================================================
4. START PAGE company
====================================================================================*/
.c-table01 {
  width: 100%;
}
.c-table01 th, .c-table01 td {
  border: 1px solid #aeaeae;
  text-align: left;
  padding: 1rem;
}
.c-table01 th {
  background: var(--gray);
  font-weight: bold;
}

@media only screen and (max-width: 767px) {
  .c-table01 {
    border-bottom: 1px solid #aeaeae;
  }
  .c-table01 th, .c-table01 td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
}
@media only screen and (min-width: 768px) {
  .c-table01 th, .c-table01 td {
    padding: 1.5rem 2rem;
  }
  .c-table01 th {
    width: 25%;
  }
  .c-table01 td {
    width: 70%;
  }
}
/*====================================================================================
5. START PAGE contact
====================================================================================*/
/*---------- START form ----------*/
.c-form {
  display: block;
  width: 100%;
}

.c-form__content-dl {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gray);
}

.c-form__content-dt {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  font-weight: bold;
}

.c-form__content-dd {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.c-form__content-title {
  position: relative;
  width: 100%;
  font-weight: bold;
  color: #000;
  padding-right: 5rem;
}
.c-form__content-title:after {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  text-align: center;
  width: 4.8rem;
  height: 2.6rem;
  font-weight: normal;
  font-size: 1.6rem;
  padding-bottom: 0.1rem;
}
.c-form__content-title.hissu:after {
  background: var(--yellow);
  content: "必須";
}

.c-form__content .error {
  color: #ff0000;
  font-size: 1.2rem;
  font-weight: normal;
}

.c-form .selectable {
  width: 50%;
  appearance: auto;
}

.c-form__group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem auto 0;
  gap: 2rem;
}
.c-form__group-btn .contact-btn {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  padding: 0;
  margin-top: 0;
  z-index: 3;
}
.c-form__group-btn .contact-btn input {
  outline: none;
  border: none;
  display: inline-block;
  width: 100%;
  background: none !important;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  padding: 1.2rem;
}
.c-form__group-btn .contact-btn .c-btn__link {
  width: 100%;
  padding: 0;
}
.c-form__group-btn .c-btn__link {
  margin-top: 0;
}
.c-form__group-btn .disabled#submitButton {
  pointer-events: none;
}
.c-form__group-btn .disabled#submitButton .c-btn__link {
  background: var(--gray);
}

@media only screen and (max-width: 767px) {
  .c-form {
    margin: 2rem auto 0;
  }
  .c-form__content-dl {
    position: relative;
  }
  .c-form__content-dt {
    display: block;
    width: 100% !important;
    padding: 1.5rem 0;
  }
  .c-form__content-dd {
    display: block;
    width: 100% !important;
    padding: 1.5rem 0;
    padding-top: 0;
  }
  .c-form__content-title {
    display: block;
    width: 100%;
    font-size: 1.6rem;
  }
  .c-form__end {
    margin-top: 3rem;
  }
}
@media only screen and (min-width: 768px) {
  .c-form {
    margin: 5rem auto 0;
  }
  .c-form__content-dt, .c-form__content-dd {
    padding: 2rem 0;
  }
  .c-form__content-dt {
    width: 25rem;
  }
  .c-form__content-dd {
    width: calc(100% - 25rem);
    padding-left: 5rem;
  }
  .c-form__content-title {
    font-size: 1.8rem;
  }
  .c-form__end {
    margin-top: 5rem;
  }
  .c-form__group-btn {
    margin: 4rem auto 0;
  }
}
/*---------- START box-pp ----------*/
.box-pp p + h3, .box-pp ul + h3 {
  margin-top: 2.5rem;
}
.box-pp h3 {
  margin-bottom: 1rem;
}

@media only screen and (min-width: 768px) {
  .box-pp p + h3, .box-pp ul + h3 {
    margin-top: 5rem;
  }
  .box-pp h3 {
    margin-bottom: 2rem;
  }
}
/*---------- START list-dot ----------*/
.list-dot {
  width: 100%;
  background: var(--gray);
  padding: 2rem 1.5rem;
  margin: 3rem 0;
}
.list-dot li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}
.list-dot li:after {
  position: absolute;
  content: "";
  background: var(--orange);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  top: 0.6rem;
  left: 0;
}

@media only screen and (min-width: 768px) {
  .list-dot {
    padding: 4rem;
    margin: 6rem 0;
  }
  .list-dot li {
    padding-left: 2rem;
  }
  .list-dot li:after {
    top: 1rem;
  }
}
/*====================================================================================
6. START PAGE case
====================================================================================*/
.p-case__head {
  background: url("../images/case/bg.webp") var(--gray);
  padding: 4rem 0 3rem;
}

.p-case__main {
  padding-top: 4rem;
}

.p-case__main-detail .c-detail {
  margin-bottom: 5rem;
}
.p-case__main-detail .pagination__detail {
  border-top: none;
  margin-top: 0;
}

.p-case__list-detail {
  padding-top: 4rem;
}
.p-case__list-detail .c-list-case {
  margin: 2.5rem 0 1rem;
}
.p-case__list-detail .c-list-case__item {
  width: 100%;
}
.p-case__list-detail .c-list-case__text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p-case__list-detail .c-list-case__link {
  position: relative;
}

@media only screen and (max-width: 767px) {
  .p-case__main-detail .c-detail .c-case-detail {
    width: calc(100% - 2rem);
    margin: 2.5rem 1rem;
  }
}
@media only screen and (min-width: 768px) {
  .p-case__head {
    padding: 8rem 0 6rem;
  }
  .p-case__main {
    padding-top: 8rem;
  }
  .p-case__main-detail .c-detail {
    margin-bottom: 11rem;
  }
  .p-case__list-detail {
    padding-top: 9rem;
  }
  .p-case__list-detail .c-list-case {
    gap: 4rem 6rem;
    margin: 5rem 0 2rem;
  }
  .p-case__list-detail .c-list-case__item {
    width: calc((100% - 6rem) / 2);
  }
}
.c-filter {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 1.6rem;
  padding: 6rem 1rem 1.5rem 1rem;
}

.c-filter__heading {
  position: absolute;
  left: 0;
  right: 0;
  top: -2rem;
  text-align: center;
  margin: auto;
}
.c-filter__heading span {
  position: relative;
  display: inline-block;
  background: var(--yellow);
  max-width: 100%;
  min-width: 25rem;
  font-weight: bold;
  color: #000;
  padding: 0.7rem;
}
.c-filter__heading span:after {
  position: absolute;
  content: "";
  background: var(--yellow);
  clip-path: polygon(48% 100%, 0 0, 100% 0);
  width: 3rem;
  height: 1.5rem;
  left: 0;
  right: 0;
  bottom: -1.5rem;
  margin: auto;
}

.c-filter__box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}
.c-filter__box .reset-btn {
  display: inline-block;
  width: 10rem;
  min-width: 10rem;
  border-radius: 3rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid;
  padding: 0.25em 0.375em;
  cursor: pointer;
}

.c-filter__tags {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
  gap: 1rem 4rem;
  font-size: 1.4rem;
}
.c-filter__tags span.choice a {
  position: relative;
  color: var(--yellow) !important;
}
.c-filter__tags span.choice a:after {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .c-filter {
    padding: 6rem 2rem 3rem 5rem;
  }
  .c-filter .reset-btn:hover {
    background: var(--yellow);
  }
  .c-filter__tags {
    width: calc(100% - 14rem);
  }
}
.c-list-case {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.c-list-case__item {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid #000;
  padding: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.c-list-case__link {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.c-list-case__img {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
}
.c-list-case__img img {
  width: 100%;
  transition: all 0.5s;
}

.c-list-case__text {
  position: relative;
  text-decoration: underline;
}

.c-list-case__tags {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1rem;
}
.c-list-case__tags span {
  display: inline-block;
}

@media only screen and (min-width: 768px) {
  .c-list-case {
    gap: 3rem;
  }
  .c-list-case__item {
    width: calc((100% - 6rem) / 3);
    border-width: 3px;
    border-radius: 1.6rem;
    padding: 2rem;
  }
  .c-list-case__item:hover {
    border-color: var(--orange);
    color: var(--orange);
  }
  .c-list-case__item:hover .c-list-case__img img {
    transform: scale(1.1);
  }
  .c-list-case__img {
    margin-bottom: 1.5rem;
  }
}
.c-case-detail {
  width: 100%;
  background: var(--gray);
  border-radius: 1.6rem;
  padding: 2rem;
  margin: 2.5rem 0;
}

.c-case-detail__number {
  position: relative;
  z-index: 0;
  width: 20rem;
  margin-left: -2rem;
  margin-bottom: 1.5rem;
}
.c-case-detail__number:before {
  position: absolute;
  content: "";
  background: var(--gray);
  clip-path: polygon(calc(100% - 1.5rem) 0, 100% 50%, calc(100% - 1.5rem) 100%, 0 100%, 0 0);
  width: 100%;
  height: 100%;
  left: 0;
  top: 4px;
  z-index: -1;
}
.c-case-detail__number:after {
  position: absolute;
  content: "";
  background: #d0c400;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  width: 1rem;
  height: 1rem;
  bottom: -1rem;
  left: -1rem;
}
.c-case-detail__number span {
  position: relative;
  display: inline-block;
  width: calc(100% + 1rem);
  background: var(--yellow);
  clip-path: polygon(calc(100% - 1.5rem) 0, 100% 50%, calc(100% - 1.5rem) 100%, 0 100%, 0 0);
  text-align: center;
  font-size: 1.6rem;
  font-family: var(--font-Noto-en);
  font-weight: bold;
  color: #000;
  padding: 0.3rem;
  margin-left: -1rem;
  z-index: 0;
}

.c-case-detail__title {
  font-size: 1.6rem;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

@media only screen and (max-width: 767px) {
  .c-case-detail__number span {
    padding: 1rem 3rem;
  }
}
@media only screen and (min-width: 768px) {
  .c-case-detail {
    padding: 3rem;
    margin: 5rem 0;
  }
  .c-case-detail__number {
    margin-left: -3rem;
    margin-bottom: 3rem;
  }
  .c-case-detail__number:before {
    clip-path: polygon(calc(100% - 2.5rem) 0, 100% 50%, calc(100% - 2.5rem) 100%, 0 100%, 0 0);
  }
  .c-case-detail__number:after {
    width: 1.2rem;
    height: 1.2rem;
    bottom: -1.1rem;
    left: -1.2rem;
  }
  .c-case-detail__number span {
    width: calc(100% + 1.2rem);
    clip-path: polygon(calc(100% - 2.5rem) 0, 100% 50%, calc(100% - 2.5rem) 100%, 0 100%, 0 0);
    margin-left: -1.2rem;
    font-size: 2.4rem;
    padding: 0.3rem 4rem;
  }
  .c-case-detail__title {
    font-size: 2rem;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }
}
/*---------- ez-toc-counter  ----------*/
.ez-toc-counter {
  width: 100% !important;
  padding: 0 !important;
  border-color: var(--yellow) !important;
  margin: 3rem auto;
}
.ez-toc-counter .ez-toc-title-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--yellow);
  color: #fff;
  padding: 1rem;
  gap: 1rem;
}
.ez-toc-counter .ez-toc-title-container .ez-toc-title {
  width: auto;
  max-width: calc(100% - 6rem);
  padding: 0.5rem !important;
}
.ez-toc-counter .ez-toc-title-container .ez-toc-js-icon-con, .ez-toc-counter .ez-toc-title-container .ez-toc-toggle label, .ez-toc-counter .ez-toc-title-container .ez-toc-cssicon {
  border-color: #fff !important;
}
.ez-toc-counter .ez-toc-title-container .ez-toc-icon-toggle-span {
  border-color: #fff !important;
}
.ez-toc-counter .ez-toc-title-container .ez-toc-icon-toggle-span svg {
  fill: #fff !important;
  color: #fff !important;
}
.ez-toc-counter nav ul li:last-child {
  margin-bottom: 0 !important;
}
.ez-toc-counter nav .ez-toc-list {
  padding: 2rem 1rem !important;
}
.ez-toc-counter nav li {
  font-size: 1.4rem !important;
  margin-bottom: 0.5rem !important;
}
.ez-toc-counter nav li a {
  font-weight: bold !important;
  font-size: 100% !important;
}
.ez-toc-counter nav li a:before {
  color: var(--yellow);
}
.ez-toc-counter nav .ez-toc-list .ez-toc-heading-level-2 {
  margin-bottom: 2rem !important;
}

@media only screen and (min-width: 768px) {
  .ez-toc-counter {
    margin: 5rem auto;
  }
  .ez-toc-counter nav .ez-toc-list {
    padding: 2rem !important;
  }
}
/*====================================================================================
START PAGE error
====================================================================================*/
.error404 .error_common {
  padding: 3rem 0 5rem;
}
.error404 .error_common .inner {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}
@media only screen and (min-width: 768px) {
  .error404 .error_common {
    padding: 0 0 15rem;
  }
  .error404 .error_common .inner {
    max-width: 120rem;
    padding: 0 2rem;
  }
}