/*
Theme Name: NANO Child
Template: nano_tcd065
Version: 1.0
*/

/* ----------------------------
トップ用CSS
---------------------------- */

.p-cover {
  height: 550px;
}
.l-header{
  border-bottom: none;
}

.l-header__logo {
  margin-top: 0;
}
.l-contents {
  border-top: none;
}
.p-breadcrumb {
  margin-block-start: 100px;
}

.l-contents .l-inner {
  inline-size: unset;
  padding-inline: unset;
}
.l-header {
  position: fixed;
  background-color: transparent !important;
}

.l-header__inner {
  height: auto;
}
@media screen and (max-width: 1199px) {
  .l-header {
    height: auto;
  }
  .l-header .l-header__inner {
    position: relative;
  }
}

@media screen and (max-width: 768px) {
  .l-gnav__link,
  .l-gnav__button {
    line-height: normal;
  }
}
/* ----------------------------
news用CSS
---------------------------- */

@media screen and (max-width: 767px) {
  .p-news-tab-list {
    margin: auto;
  }
}

.p-news-tab-list__tabs {
  gap: 12px;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .p-news-tab-list__tabs {
    width: auto;
  }
}

.p-news-tab-list__tabs-item {
  font-size: 14px;
  width: auto;
}

.p-news-tab-list__tabs-item a {
  height: auto;
  display: inline-block;
  border: 1px solid #004097;
  border-radius: 100vw;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.56px;
  line-height: 0.85;
  padding: 12px 16px;
  transition: all 0.25s;
  background: #fff;
}

.p-news-tab-list__tabs-item.is-active a,
.p-news-tab-list__tabs-item a:hover {
  background: #004097;
  border-color: #004097;
}

.p-news-tab-list__tabs,
.p-news-tab-list__tabs2 {
  background: none;
}

.news_list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  inline-size: 100%;
  margin-block-start: 40px;
}
@media screen and (max-width: 767px) {
  .news_list {
    margin-block-start: 30px;
  }
}
.p-news-list__item.p-article04.item.animate {
  background: unset;
  border: unset;
}
.p-news-list__item.p-article04.item.animate a {
  align-items: center;
  background: #fff;
  display: block;
  display: grid;
  grid-template-columns: 95px 125px auto;
  grid-template-rows: 1fr;
  gap: 16px;
  height: auto;
  padding: 30px 98px 30px 48px;
  line-height: normal;
  position: relative;
}
@media screen and (max-width: 767px) {
  .p-news-list__item.p-article04.item.animate a {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    padding: 8px 66px 8px 16px;
    gap: 12px 16px;
  }
}

.p-news-list__item.p-article04.item.animate a::after {
  content: "";
  background: url(/assets/img/ui/icons/service-link-arrow-blue.svg) no-repeat
    center center/contain;
  block-size: 38px;
  content: "";
  inline-size: 38px;
  inset-block-start: 50%;
  inset-inline-end: clamp(1rem, 0.2571428571rem + 3.0476190476vi, 3rem);
  pointer-events: none;
  position: absolute;
  transition: all 0.25s;
  translate: 0 -50%;
}

.p-news-list__item.p-article04.item.animate a:hover:after {
  background: url(/assets/img/ui/icons/service-link-arrow-gray.webp) no-repeat
    center center/contain;
}

.p-article04__date {
  margin-right: 16px;
  font-size: 16px;
  grid-column: 1/2;
  grid-row: 1/2;
}

.p-cat {
  background: #333;
  font-size: 13px;
  min-height: 20px;
  height: auto;
  border-radius: 0;
  min-width: 125px;
  line-height: 20px;
  grid-column: 2/3;
  grid-row: 1/2;
}

.p-news-list__item.p-article04.item.animate:hover .p-cat {
  background: #bcbcbc;
}

.p-news-list__item.p-article04.item.animate:hover .p-article04__title,
.p-news-list__item.p-article04.item.animate:hover .p-article04__date {
  color: #bcbcbc;
}

.p-cat.p-cat--15,
.p-cat.p-cat--12,
.p-cat.p-cat--20,
.p-cat.p-cat--9,
.p-cat.p-cat--3 {
  color: #fff;
  border: none;
}

#js-news-tab-list .entry-more {
  background: #1887e8;
  border: none;
  width: auto;
  max-width: 265px;
  color: #fffafa;
  padding-inline: 53px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  border-radius: 100vw;
}
#js-news-tab-list .entry-more:hover {
  background: #a6a8ab;
}
#js-news-tab-list .entry-more::after {
  background: url(/assets/img/ui/icons/button-arrow-circle.svg) no-repeat center
    center / contain;
  block-size: 38px;
  content: "";
  inline-size: 38px;
  inset-block-start: 50%;
  inset-inline-end: 23px;
  position: absolute;
  translate: 0 -50%;
  inset-inline-end: 11.5px;
}

#js-news-tab-list .entry-more span {
  font-size: 13px;
  font-weight: 700;
}

.p-article04__title {
  font-size: 20px;
  color: #333;
  font-weight: 700;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.25s;
  grid-column: 3/4;
  grid-row: 1/2;
}

@media screen and (max-width: 767px) {
  .p-article04__title {
    grid-column: 1/3;
    grid-row: 2/3;
  }
}

/* ----------------------------
news - single用CSS
---------------------------- */

/* お知らせsingleページ内下部の最新記事セクション */
.p-latest-news .p-article04__title {
  font-size: 14px;
  font-weight: 400;
  flex: 1;
  margin-bottom: 0;
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-latest-news .p-cat {
  border-radius: 100vw;
}
