/* breadcrumb-wrapper
-------------------------*/
.breadcrumb-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-block: 4px;
  }
  @media print, screen and (min-width: 769px) {
    .breadcrumb-wrapper {
      padding-inline: 16px;
    }
  }
  @media not all and (min-width: 769px) {
    .breadcrumb-wrapper {
      padding-left: 16px;
      padding-right: 7px;
    }
  }
  @media print, screen and (min-width: 769px) {
    .breadcrumb-wrapper__breadcrumb {
      max-width: calc(100% - 124px);
    }
  }
  @media not all and (min-width: 769px) {
    .breadcrumb-wrapper__breadcrumb {
      max-width: calc(100% - 112px);
    }
  }
  .breadcrumb-wrapper__breadcrumb .breadcrumb__inner {
    padding-inline: 0;
  }
  .breadcrumb-wrapper__button {
    flex-shrink: 0;
    font-family: "Noto Sans JP", sans-serif;
  }
  @media print, screen and (min-width: 769px) {
    .breadcrumb-wrapper__button {
      width: 104px;
      padding: 7px 13px;
      margin-left: auto;
    }
    .breadcrumb-wrapper__button .c-pill-button__text {
      font-size: 0.875rem;
      line-height: 0.71;
    }
  }
  @media not all and (min-width: 769px) {
    .breadcrumb-wrapper__button {
      width: 92px;
      align-items: center;
      padding: 5px 10px;
      margin-left: auto;
    }
    .breadcrumb-wrapper__button.c-pill-button[class*=icon]::before {
      width: 12px;
      height: 12px;
    }
    .breadcrumb-wrapper__button .c-pill-button__text {
      font-size: 0.75rem;
      line-height: 1;
    }
  }

  /* mv
  -------------------------*/
  .mv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url("../images/blog/mv.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px;
  }
  @media print, screen and (min-width: 769px) {
    .mv {
      min-width: 1144px;
    }
  }
  @media not all and (min-width: 769px) {
    .mv {
      min-height: 250px;
    }
  }
  .mv__title {
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  }
  @media print, screen and (min-width: 769px) {
    .mv__title {
      font-size: 2.5rem;
    }
  }
  @media not all and (min-width: 769px) {
    .mv__title {
      font-size: 2rem;
    }
  }
  .mv__title .mv__title-text {
    display: block;
    background-color: rgb(47 100 170 / 60%);
    padding: 5px 20px;
  }
  .mv__title .mv__title-subtext {
    display: block;
    font-size: 0.875rem;
    margin-top: 24px;
    background-color: rgb(47 100 170 / 60%);
    padding: 5px 20px;
  }
  @media print, screen and (min-width: 769px) {
    .mv__title .mv__title-subtext {
      font-size: 18px;
    }
  }

  /* base
  -------------------------*/
  @media print, screen and (min-width: 769px) {
    .base {
      padding-top: 32px;
    }
  }
  @media not all and (min-width: 769px) {
    .base {
      padding-top: 24px;
    }
  }
  .base + .base {
    padding-top: 0;
  }
  @media print, screen and (min-width: 769px) {
    .base + .base {
      margin-top: 122px;
    }
  }
  @media not all and (min-width: 769px) {
    .base + .base {
      margin-top: 32px;
    }
  }

  /* article
  -------------------------*/
  .article {
    display: grid;
  }
  @media print, screen and (min-width: 769px) {
    .article {
      gap: 24px 32px;
      grid-template-areas: "result result search" "new-list new-list recommend-list" "new-list new-list tags" "prev-link top-button .";
      grid-template-columns: max-content 1fr 344px;
      grid-template-rows: max-content max-content 1fr max-content;
    }
  }
  @media not all and (min-width: 769px) {
    .article {
      grid-template-areas: "search" "result" "new-list" "top-button" "prev-link" "recommend-list" "tags";
    }
  }
  .article__search {
    grid-area: search;
    height: -moz-fit-content;
    height: fit-content;
  }
  .article__result {
    grid-area: result;
    display: flex;
  }
  @media print, screen and (min-width: 769px) {
    .article__result {
      gap: 20px;
      justify-content: space-between;
      border-bottom: 1px solid #C0C5CC;
      padding-bottom: 24px;
    }
  }
  @media not all and (min-width: 769px) {
    .article__result {
      gap: 4px;
      flex-direction: column;
      margin-top: 16px;
    }
  }
  .article__terms, .article__result-number {
    font-size: 0.875rem;
  }
  .article__result-number {
    flex-shrink: 0;
  }
  .article__new-list {
    grid-area: new-list;
  }
  @media not all and (min-width: 769px) {
    .article__new-list {
      border-top: 1px solid #C0C5CC;
      padding-top: 24px;
      margin-top: 24px;
    }
  }
  .article__recommend-list {
    grid-area: recommend-list;
  }
  @media not all and (min-width: 769px) {
    .article__recommend-list {
      padding-top: 56px;
      margin-top: 30px;
      position: relative;
    }
    .article__recommend-list::before {
      display: block;
      content: "";
      width: calc(100% + 40px);
      height: 8px;
      background-color: #E9ECF2;
      position: absolute;
      top: 0;
      left: -20px;
    }
  }
  .article__tags {
    grid-area: tags;
    border-top: 1px solid #C0C5CC;
    padding-top: 24px;
  }
  @media not all and (min-width: 769px) {
    .article__tags {
      margin-top: 57px;
    }
  }
  .article__top-button {
    grid-area: top-button;
    width: 100%;
  }
  @media print, screen and (min-width: 769px) {
    .article__top-button {
      max-width: 336px;
      padding-right: 80px;
      margin: 44px auto 0;
    }
  }
  @media not all and (min-width: 769px) {
    .article__top-button {
      max-width: 256px;
      margin: 68px auto 0;
    }
  }
  .article__prev-link {
    grid-area: prev-link;
  }
  @media print, screen and (min-width: 769px) {
    .article__search {
      -ms-grid-row: 1;
      -ms-grid-column: 5;
    }
    .article__result {
      -ms-grid-row: 1;
      -ms-grid-column: 1;
      -ms-grid-column-span: 3;
    }
    .article__new-list {
      -ms-grid-row: 3;
      -ms-grid-row-span: 3;
      -ms-grid-column: 1;
      -ms-grid-column-span: 3;
    }
    .article__recommend-list {
      -ms-grid-row: 3;
      -ms-grid-column: 5;
    }
    .article__tags {
      -ms-grid-row: 5;
      -ms-grid-column: 5;
    }
    .article__top-button {
      -ms-grid-row: 7;
      -ms-grid-column: 3;
    }
    .article__prev-link {
      -ms-grid-row: 7;
      -ms-grid-column: 1;
    }
  }
  @media not all and (min-width: 769px) {
    .article__search {
      -ms-grid-row: 1;
      -ms-grid-column: 1;
    }
    .article__result {
      -ms-grid-row: 2;
      -ms-grid-column: 1;
      -ms-grid-column-span: 1;
    }
    .article__new-list {
      -ms-grid-row: 3;
      -ms-grid-row-span: 1;
      -ms-grid-column: 1;
      -ms-grid-column-span: 1;
    }
    .article__recommend-list {
      -ms-grid-row: 6;
      -ms-grid-column: 1;
    }
    .article__tags {
      -ms-grid-row: 7;
      -ms-grid-column: 1;
    }
    .article__top-button {
      -ms-grid-row: 4;
      -ms-grid-column: 1;
    }
    .article__prev-link {
      -ms-grid-row: 5;
      -ms-grid-column: 1;
    }
  }
  @media print, screen and (min-width: 769px) {
    .article__prev-link {
      margin-top: 44px;
      align-self: flex-end;
    }
  }
  @media not all and (min-width: 769px) {
    .article__prev-link {
      margin-top: 32px;
    }
  }

  /* new-articles
  -------------------------*/
  @media print, screen and (min-width: 769px) {
    .new-articles__heading {
      font-size: 1.625rem;
    }
  }
  @media not all and (min-width: 769px) {
    .new-articles__heading {
      font-size: 1.125rem;
      font-weight: bold;
    }
  }
  .new-articles__contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  @media print, screen and (min-width: 769px) {
    .new-articles__contents {
      gap: 40px 24px;
      margin-top: 24px;
    }
  }
  @media not all and (min-width: 769px) {
    .new-articles__contents {
      gap: 24px 16px;
      margin-top: 16px;
    }
  }
  @media print, screen and (min-width: 769px) {
    .new-articles__pagination {
      margin-top: 82px;
    }
  }
  @media not all and (min-width: 769px) {
    .new-articles__pagination {
      margin-top: 40px;
    }
  }

  /* new-article
  -------------------------*/
  .new-article {
    display: grid;
    row-gap: 8px;
    grid-template-rows: subgrid;
    /* grid-row: span 5; */
    grid-row: span 3;
    transition: opacity 0.3s;
  }
  @media (hover: hover) {
    .new-article:not(.is-disabled-hover):hover {
      opacity: 0.8;
    }
  }
  .new-article__image {
    display: block;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
  }
  @media print, screen and (min-width: 769px) {
    .new-article__image {
      aspect-ratio: 352/227;
    }
  }
  @media not all and (min-width: 769px) {
    .new-article__image {
      aspect-ratio: 159/102;
    }
  }
  .new-article__heading {
    font-weight: bold;
  }
  @media print, screen and (min-width: 769px) {
    .new-article__heading {
      font-size: 1.25rem;
    }
  }
  @media not all and (min-width: 769px) {
    .new-article__heading {
      font-size: 0.875rem;
    }
  }
  .new-article__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  @media print, screen and (min-width: 769px) {
    .new-article__text {
      font-size: 0.875rem;
      margin-top: 8px;
    }
  }
  @media not all and (min-width: 769px) {
    .new-article__text {
      font-size: 0.75rem;
    }
  }
  .new-article__date {
    font-size: 0.75rem;
    color: #697180;
    margin-left: auto;
  }
  .new-article .c-article-tag-list__item {
    font-size: 0.75rem;
  }

  /* recommend-articles
  -------------------------*/
  .recommend-articles__heading {
    font-size: 1.125rem;
    font-weight: bold;
  }
  .recommend-articles__contents {
    counter-reset: number 0;
    margin-top: 16px;
  }
  .recommend-articles__article + .recommend-articles__article {
    margin-top: 16px;
  }
  .c-recommend-article__link {
    display: grid;
    gap: 8px 16px;
    grid-template-areas:
        "image heading"
        "image date";
    grid-template-columns: 120px 1fr;
    grid-template-rows: max-content 1fr;
    transition: opacity 0.3s;
    position: relative;
}

  /* article-tags
  -------------------------*/
  .article-tags__heading {
    font-size: 1.125rem;
    font-weight: bold;
  }
  .article-tags__list {
    margin-top: 16px;
  }

  /* search button
  ----------------*/
  .c-pill-button__blog {
    min-width: 50px;
    width: 50px;
    min-height: 50px;
    height: 50px;
    border-radius: 8px;
}

.article__search-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-select-input-search {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  background-color: #FFFFFF;
  border: solid 1px #939DAD;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  width: 100%;
}
