@charset "UTF-8";

.articles {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.articles-inner {
  display: grid;
  grid-template-rows: auto auto auto auto;
  grid-template-columns: 100%;
}

.articles-header {
  grid-row: 1;
}

.articles-primary {
  grid-row: 2;
}

.articles-secondary {
  grid-row: 3;
}

.articles-footer {
  grid-row: 4;
}

.articles-nav-btn {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -10px;
  padding: 20px 4vw;
}

.articles-nav-btn-item {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 70px;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 3px 15px 4px;
  border: 1px solid #08287F;
  background: #fff;
  border-radius: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #08287F;
}

.articles-nav-btn-item:focus-visible {
  outline-offset: 2px;
}

.articles-nav-btn-item:first-child {
  font-size: 14px;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.articles-nav-btn-item:not(:last-child) {
  margin-right: 10px;
}

.articles-nav-btn-item:empty::before {
  content: '　';
}

.articles-nav-btn-item::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #08287F;
  background: linear-gradient(120deg, #4B76D2 0%, #08287F 50%);
  border-radius: 0 4px 4px 0;
  transform: translateX(-100%);
}

.articles-nav-btn-item[data-current='true'] {
  color: #fff;
  transition: none;
}

.articles-nav-btn-item[data-current='true']::after {
  transform: translateX(0);
  transition: none;
}

.articles-nav-filter {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 2px solid #08287F;
  border-bottom: 1px solid #CCCCCC;
}

.articles-nav-filter-btn {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding: 0 4vw;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #08287F;
}

.articles-nav-filter-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 4vw;
  width: 30px;
  height: 30px;
  overflow: hidden;
  background: #4b76d2;
  background: linear-gradient(120deg, #4b76d2 0%, #08287f 50%);
  border-radius: 100%;
  transform: translateY(-50%);
}

.articles-nav-filter-btn *[class^='icon-'] {
  font-size: 24px;
  color: #fff;
}

.articles-nav-filter-tag {
  display: none;
}

.articles-nav-filter-tag[data-visible='true'] {
  padding: 10px 0;
}

.articles-nav-filter-tag-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.articles-nav-filter-tag-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 4vw;
  background-color: #F0F0F0;
  border-radius: 4px;
}

.articles-nav-filter-tag-item[data-visible='false'] {
  opacity: 0;
  transform: translate3d(20%, 0, 0);
  transition: opacity 250ms ease-in, transform 250ms ease-out;
}

.articles-nav-filter-tag-text {
  width: calc(100% - 20px - 13px);
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  color: #08287F;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.articles-nav-filter-tag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 100%;
}

.articles-nav-filter-tag-icon *[class^='icon-'] {
  font-size: 18px;
  color: #08287F;
}

.articles-nav-filter-tag-btn {
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  color: #08287F;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.06em;
  border-bottom: solid 1px #08287F;
  margin-top: 18px;
}

.articles-nav-tag {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4vw 8vw;
  padding-left: 4vw;
  padding-right: 4vw;
}

.articles-nav-tag-wrap {
  width: 100%;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.articles-nav-tag-wrap::-webkit-scrollbar {
  display: none;
}

.articles-nav-tag-item {
  white-space: nowrap;
}

.articles-nav-tag-item .input-check input:focus-visible + .input-check-inner .input-check-text-JP span {
  padding: 0 2px;
  outline-offset: -2px;
}

.articles-secondary-navmenu {
  position: sticky;
  top: 60px;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  z-index: 1;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.16);
  margin-bottom: 50px;
  pointer-events: none;
}

.articles-secondary-navmenu *[class*='icon-'] {
  display: inline-block;
  position: relative;
  top: 3px;
  margin-right: 4px;
  font-size: 20px;
  color: #4D4D4D;
}

.articles-secondary-navmenu *[class*='text-'] {
  letter-spacing: 0.04em;
}

.articles-secondary-navmenu p {
  opacity: 0;
  transition: opacity 200ms;
}

.articles-secondary-navmenu[data-active='true'] {
  pointer-events: auto;
}

.articles-secondary-navmenu[data-active='true'] p {
  opacity: 1;
}

.articles-secondary .card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 4vw;
  width: 92vw;
  margin: 0 auto;
}

.articles-secondary .card-item-date:empty::before {
  content: '　';
  display: block;
}

.articles-secondary .card-item-title:empty::before {
  content: '　';
  display: block;
  width: 100%;
  background: #F0F0F0;
}

.articles-secondary .card-item-tag:empty::before {
  content: '　';
  display: block;
  width: 10em;
}

.articles-footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.scrollbar-width-checker1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  overflow-x: hidden;
  overflow-y: scroll;
  visibility: hidden;
}

.scrollbar-width-checker2 {
  height: 1px;
}

.modal-overlay {
  display: none;
}

.modal-wrap {
  display: grid;
}

.modal-wrap.enter {
  grid-template-rows: 0fr;
}

.modal-wrap.enter-active,
.modal-wrap.enter-done {
  grid-template-rows: 1fr;
  transition: grid-template-rows 500ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.modal-wrap.exit {
  grid-template-rows: 1fr;
}

.modal-wrap.exit-active,
.modal-wrap.exit-done {
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  border-radius: 8px;
}

.modal-content .scrollbar_track {
  z-index: 1;
}

.modal-close {
  display: none;
}

.modal-nav {
  display: none;
}

.modal-nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.modal-block {
  display: flex;
  flex-direction: column;
  padding: 10px 4vw 30px;
}

.modal-block-item {
  display: flex;
  flex-direction: column;
}

.modal-block-item:not(:last-child) {
  margin-bottom: 30px;
}

.modal-block-item *[class*='title-'] {
  width: 100%;
}

.modal-block-item *[class*='title-']:not(:last-child) {
  margin-bottom: 20px;
}

.modal-block-item-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 4%;
  width: 100%;
}

.modal-block-item-content .input-check[data-span='2'] {
  grid-column: span 2;
}

.modal-block-item-content .input-check[data-span='full'] {
  grid-column: 1 / -1;
}

.modal-block-item-content .input-check-all .input-check-inner {
  color: #08287F;
}

.modal-block-item-content .input-check-all input[data-state='all'] + .input-check-inner .icon-ic-check {
  visibility: visible;
  color: #fff;
}

.modal-block-item-content .input-check-all input[data-state='all'] + .input-check-inner .icon-ic-check::before {
  content: '\e909';
}

.modal-block-item-content .input-check-all input[data-state='any'] + .input-check-inner .icon-ic-check {
  visibility: visible;
  color: #08287F;
}

.modal-block-item-content .input-check-all input[data-state='any'] + .input-check-inner .icon-ic-check::before {
  content: '\e911';
}

.modal-bottom {
  padding: 10px 0 10px;
  background: rgba(240, 240, 240, 0.9);
}

.modal-bottom-count {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 28px;
  font-weight: 700;
  color: #08287F;
  text-align: center;
  margin-bottom: 10px;
}

.modal-bottom-count strong {
  padding: 0 4px;
  font-size: 150%;
}

.modal-bottom-btns {
  display: flex;
  justify-content: center;
  gap: 2.66667vw;
}

.modal-bottom-btns .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #000;
}

#search .articles-header {
  color: #08287F;
  width: 92vw;
  padding: 16px;
  margin-inline: auto;
  border-bottom: solid 2px #08287F;
}

#search .articles-header .results {
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

#search .articles-header .results strong {
  font-size: 22px;
  margin-right: 0.25em;
}

#search .articles-secondary {
  position: relative;
}

#search .articles-secondary .card {
  grid-template-columns: 100%;
  gap: 0;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .articles {
    width: 92%;
  }

  .articles-inner {
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 196px 1fr;
    gap: 0 4.34783%;
  }

  .articles-header {
    grid-row: 1;
    grid-column: 2 / 3;
  }

  .articles-primary {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }

  .articles-secondary {
    grid-row: 2;
    grid-column: 2 / 3;
  }

  .articles-footer {
    grid-row: 3;
    grid-column: 1 / 3;
  }

  .articles-nav {
    display: block;
  }

  .articles-nav-btn {
    flex-direction: column;
    padding: 0;
    margin-bottom: 30px;
  }

  .articles-nav-btn-item {
    width: 100%;
    padding: 8px 0 8px 10px;
    border: none;
    border-radius: 0 4px 4px 0;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #1A1A1A;
  }

  .articles-nav-btn-item:first-child {
    font-size: 16px;
  }

  .articles-nav-filter {
    padding: 10px 0;
  }

  .articles-nav-filter-btn {
    margin-bottom: 0;
    padding: 10px;
  }

  .articles-nav-filter-btn::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 8px;
    left: 10px;
    width: 7em;
    height: 2px;
    background: #08287F;
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform 500ms ease;
  }

  .articles-nav-filter-btn-icon {
    right: 10px;
    width: 20px;
    height: 20px;
    background: #F0F0F0;
    border-radius: 4px;
  }

  .articles-nav-filter-btn *[class^='icon-'] {
    font-size: 18px;
    color: #4D4D4D;
  }

  .articles-nav-filter-tag {
    display: block;
  }

  .articles-nav-filter-tag-item {
    padding: 6px 10px;
  }

  .articles-nav-tag {
    flex-direction: column;
    gap: 20px;
    padding-left: 10px;
    padding-right: 0;
  }

  .articles-secondary-navmenu {
    display: none;
  }

  .articles-secondary .card {
    width: 100%;
  }

  .articles-footer {
    margin-top: 80px;
  }

  html:has(.modal-wrap[data-visible='true']) {
    overflow: hidden;
    padding-right: var(--scroll-bar-width);
  }

  .modal-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100%;
    padding: 48px 0;
    background-color: #08287F;
    overflow-y: scroll;
    transition: opacity 400ms ease;
    opacity: 0;
  }

  .modal-wrap.enter {
    opacity: 0;
  }

  .modal-wrap.enter-active,
  .modal-wrap.enter-done {
    opacity: 1;
    transition: opacity 400ms ease;
  }

  .modal-wrap.exit {
    opacity: 1;
  }

  .modal-wrap.exit-active,
  .modal-wrap.exit-done {
    opacity: 0;
    transition: opacity 400ms ease;
  }

  .modal-content {
    display: flex;
    width: 84%;
    min-height: 34.28571vw;
    max-height: 100%;
    margin: auto;
  }

  .modal-inner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: auto;
    overscroll-behavior: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .modal-inner::-webkit-scrollbar {
    display: none;
  }

  .modal-close {
    display: flex;
    position: absolute;
    top: 15px;
    right: 4vw;
    top: 26px;
    right: 26px;
  }

  .modal-nav {
    display: block;
    position: sticky;
    top: 0;
    padding: 80px 4.7619% 30px;
    border-bottom: 1px solid #08287F;
    background: #fff;
    border-radius: 8px 8px 0 0;
    z-index: 1;
  }

  .modal-block {
    padding: 50px 4.7619%;
  }

  .modal-block-item {
    flex-direction: row;
  }

  .modal-block-item:not(:last-child) {
    margin-bottom: 50px;
  }

  .modal-block-item *[class*='title-'] {
    width: 168px;
  }

  .modal-block-item *[class*='title-']:not(:last-child) {
    margin-bottom: 0;
  }

  .modal-block-item-content {
    width: calc(100% - 168px);
  }

  .modal-bottom {
    position: sticky;
    bottom: 0;
    padding: 20px 0 30px;
    border-radius: 0 0 8px 8px;
  }

  .modal-bottom-count {
    font-size: 16px;
    line-height: 33px;
    margin-bottom: 20px;
  }

  .modal-bottom-btns {
    gap: 10px;
  }

  #search .articles-header {
    width: 100%;
    padding: 0 0 20px;
    border-bottom: 0;
  }

  #search .articles-header .results {
    font-size: 16px;
  }

  #search .articles-header .results strong {
    font-size: 28px;
  }

  #search .articles-secondary .card {
    border-top: solid 2px #08287F;
  }
}

@media screen and (min-width: 768px) and (max-height: 600px) {
  .modal-wrap {
    padding-top: 4vh;
    padding-bottom: 4vh;
  }

  .modal-nav {
    padding-top: 6.66667vh;
    padding-bottom: 2.5vh;
  }

  .modal-block {
    padding-top: 4.16667vh;
    padding-bottom: 4.16667vh;
  }

  .modal-bottom {
    padding-top: 1.66667vh;
    padding-bottom: 2.5vh;
  }

  .modal-bottom-count {
    margin-bottom: 1.66667vh;
  }

  .modal-bottom-btns .btn {
    padding-top: 1.91667vh;
    padding-bottom: 1.91667vh;
  }
}

@media screen and (min-width: 1025px) {
  .articles-secondary .card {
    grid-template-columns: 1fr;
    gap: 0 5.40541%;
    width: 100%;
    border-top: solid 2px #08287F;
  }

  .modal-block-item-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1366px) {
  .modal-block-item-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 767.8px) {
  .articles-nav-filter-btn *[class^='icon-']::before {
    content: '\e90a';
  }

  .articles-nav-filter-btn *[class^='icon-'][data-opened='true'] {
    transform: rotate(180deg);
  }
}

@media (hover: hover) {
  .articles-nav-btn-item {
    transition: color 500ms ease;
  }

  .articles-nav-btn-item:hover {
    color: #fff;
  }

  .articles-nav-btn-item:hover::after {
    transform: translateX(0);
  }

  .articles-nav-btn-item::after {
    transition: transform 500ms ease;
  }

  .articles-nav-filter-btn:hover::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
  }
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .articles-nav-btn-item:hover {
    color: #fff;
  }

  .articles-nav-btn-item:hover::after {
    transform: translateX(0);
  }

  .articles-nav-filter-btn:hover::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
  }
}