/* for top */

.p-top__bnrs li .text span, .p-download__bnr .text span {
  width: max-content;
  gap: 10px;
}
.p-top__bnrs li .text span {
  margin: 0 auto;
}

.p-top__bnrs.mod li:before{
  content:"";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 82, 166,0.48);
  z-index: 1;
}
.p-top__bnrs.mod li .text {
  z-index: 2;
}
.l-header__secondary.mod {
  display: none;
}
.l-header.is-add .l-header__content.mod .l-header__content__btns.mod {
  display: none;
}
.l-header__list.mod .js-header_ham {
  display: none;
}
/* header */
@media (min-width: 999px) {
  .l-header.is-add .l-header__content.mod {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
    padding-right: 40px;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__list {
    position: static;
    transform: none;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__list > ul {
    gap: 36px;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__list > ul > li {
    margin-right: 0;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btn.mod {
    display: none;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 356px;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: rgba(30, 82, 166, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: fit-content;
    padding: 0 20px;
    gap: 10px;
    opacity: 1;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a span {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a img {
    margin-right: 0;
    height: 28px;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a:nth-child(1) img {
    height: 24px;
  }
}
@media (min-width: 999px) and (max-width: 1439.98px) {
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a {
    font-size: 0.972vw;
    height: 3.889vw;
    padding: 0 1.389vw;
    gap: 0.694vw;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a span {
    max-width: 13.889vw;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a img {
    height: 1.944vw;
  }
  .l-header.is-add .l-header__content.mod .l-header__content__btns.mod a:nth-child(1) img {
    height: 1.667vw;
  }
}
@media (min-width: 999px) {
  .l-header__secondary.mod {
    padding: 9.5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 68px;
    position: fixed;
    width: 100%;
    top: 100px;
    z-index: 99;
    background-color: rgba(30, 82, 166, 1);
  }
  .l-header__secondary.mod button {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
  }
  .l-header__secondary.mod a, .l-header__secondary.mod button {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
  }
  .l-header__secondary.mod a span, .l-header__secondary.mod button span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }
  .l-header__secondary.mod a::after, .l-header__secondary.mod button::after {
    content: "";
    width: 6px;
    height: 12px;
    display: block;
    background-image: url(../img/icon_arrow_pc.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .l-header__secondary.mod button img {
    height: 28px;
  }
  .l-header__secondary.mod a img {
    height: 24px;
  }
  .l-header__secondary.mod a:nth-child(1) img {
    height: 33px;
  }
  .l-header__list.mod .l-header__list__content .is-wrap {
    position: relative;
  }
  .l-header__list.mod .js-header_ham {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    position: absolute;
    z-index: 150;
    right: 0;
    top: -10px;
    font-size: 45px;
    color: #1e52a6;
    width: fit-content;
    display: flex;
  }
}

/* footer */
.under_menu.mod {
  background-color: #fff;
  gap: 1px;
}

.under_menu.mod button {
  width: calc((100% - 2px) / 3);
}

.under_menu.mod a:nth-child(1), .under_menu.mod a:nth-child(2) {
  width: calc((100% - 1px) / 2);
}

.under_menu.mod a:nth-child(3), .under_menu.mod a:nth-child(4) {
  width: calc((100% - 2px) / 3);
}

.under_menu.mod a, .under_menu.mod button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.under_menu.mod img {
  max-width: 22px !important;
  margin: 0 !important;
}

/* download */
.p-download__bnr.mod .img:before{
  content:"";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 82, 166,0.48);
  z-index: 1;
  transition: transform 0.3s ease;
}
.p-download__bnr.mod .img .text {
  z-index: 2;
}
.p-download__bnr.mod a:hover .img:before{
  transform: scale(1.1);
}
.p-download__content__groups {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (min-width: 768px) {
  .p-download__content__groups {
    flex-direction: row;
    gap: 0;
  }
}
.p-download__content__group {
  flex: 1;
}
.p-download__content__group__head {
  background-color: #fff;
  text-align: center;
  padding: 15px 0;
}
.p-download__content__group__head span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
@media (min-width: 769px) {
  .p-download__content__group__head {
    padding: 22px 0;
  }
  .p-download__content__group__head span {
    font-size: 24px;
  }
}
.p-download__content__group.is-blue {
  border: 1px solid #1e52a6;
}
.p-download__content__group.is-blue .p-download__content__group__head span {
  color: #1e52a6;
}
.p-download__content__group.is-green {
  border: 1px solid #126031;
}
.p-download__content__group.is-green .p-download__content__group__head span {
  color: #126031;
}
.p-download__content__group.is-blue .p-download__content__group__cards {
  background-color: #1e52a6;
}
.p-download__content__group.is-green .p-download__content__group__cards {
  background-color: #126031;
}
.p-download__content__group__cards {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  padding: 20px;
}
@media (min-width: 1120px) {
  .p-download__content__group__cards {
    flex-direction: row;
    /* gap: 20px; */
    padding: 40px;
  }
}
.p-download__content__group__cards a {
  position: relative;
  display: block;
  flex: 1;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 350 / 200;
}
@media (min-width: 769px) {
  .p-download__content__group__cards a {
    aspect-ratio: 260 / 200;
  }
}
.p-download__content__group__cards a > img:first-child {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  max-width: none;
  width: 100%;
}
.p-download__content__group__cards a:hover > img:first-child {
  transform: scale(1.1);
}
.p-download__content__group__cards a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.p-download__content__group__cards a .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}
.p-download__content__group__cards a .text p {
  font-size: 15px;
  font-weight: 500;
}
.p-download__content__group__cards a .text h4 {
  font-size: 36px;
  margin: 10px 0;
  font-weight: 700;
}
.p-download__content__group__cards a .text span {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  /* gap: 6px; */
  font-size: 10px;
  /* text-decoration: underline; */
}
.p-download__content__group__cards a .text span img {
  width: 105px;
}

/* download list (catalog + cube library) */
.p-download__list {
  padding: 100px 0 0;
}
@media (min-width: 769px) {
  .p-download__list {
    padding: 240px 0 0;
  }
}
.p-download__list__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 40px;
}
.p-download__list__search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  margin-bottom: 4px;
  border: 1px solid transparent;
  background: #fff;
  box-sizing: border-box;
}
.p-download__list__search:focus-within {
  border-color: #1e52a6;
}
.p-download__list__search img {
  width: 16px;
  flex-shrink: 0;
}
.p-download__list__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}
@media (min-width: 769px) {
  .p-download__list__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 58px;
  }
  .p-download__list__search {
    width: 240px;
  }
  .p-download__list__search img {
    width: 20px;
  }
}
.p-download__list__box {
  border: 1px solid #1e52a6;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1150px) {
  .p-download__list__box {
    flex-direction: row;
  }
}
.p-download__list__catalog {
  display: flex;
  /* align-items: center; */
  gap: 16px;
  padding: 40px 28px;
  border-bottom: 1px solid #1e52a6;
}
@media (min-width: 1150px) {
  .p-download__list__catalog {
    width: 40%;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid #1e52a6;
    padding: 60px 40px;
  }
}
.p-download__list__catalog__img {
  flex-shrink: 0;
  width: 126px;
}
@media (min-width: 1150px) {
  .p-download__list__catalog__img {
    width: 168px;
  }
}
.p-download__list__catalog__img img {
  display: block;
  width: 100%;
}
.p-download__list__catalog__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e52a6;
  margin-bottom: 10px;
  line-height: 1;
}
@media (min-width: 1150px) {
  .p-download__list__catalog__body h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
}
.p-download__list__catalog__body p {
  font-size: 12px;
  line-height: 2;
  margin-bottom: 14px;
}
@media (min-width: 769px) {
  .p-download__list__catalog__body p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}
.p-download__list__catalog__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #1e52a6;
  margin-bottom: 12px;
}
@media (min-width: 769px) {
  .p-download__list__catalog__meta { 
    font-size: 14px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1150px) {
  .p-download__list__catalog__meta span {
    white-space: nowrap;
  }
}
.p-download__list__catalog__meta img {
  width: 22px;
}
.p-download__list__catalog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #1e52a6;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
  width: 92px;
  height: 20px;
  /* padding: 12px 20px; */
}
@media (min-width: 769px) {
  .p-download__list__catalog__btn {
    width: 132px;
    height: 30px;
    font-size: 12px;
  }
}
.p-download__list__catalog__btn img {
  width: 10px;
}
.p-download__list__cube {
  padding: 40px 30px 60px;
  flex: 1;
}
@media (min-width: 769px) {
  .p-download__list__catalog__btn img {
    width: 18px;
  }
  .p-download__list__cube {
    padding: 60px 40px 40px;
  }
}
.p-download__list__cube__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 769px) {
  .p-download__list__cube__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 20px;
  }
}
.p-download__list__cube__item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.p-download__list__cube__item.is-hidden,
.p-download__list__cube__item.is-search_hidden {
  display: none;
}
.p-download__list__cube__item__img {
  flex-shrink: 0;
  width: 62px;
  display: block;
}
.p-download__list__cube__item__img img {
  display: block;
  width: 100%;
}
.p-download__list__cube__item__info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.p-download__list__cube__item__info img {
  width: 24px;
  flex-shrink: 0;
  margin-top: 3px;
}
.p-download__list__cube__item__info .text {
  display: flex;
  flex-direction: column;
}
.p-download__list__cube__item__info .ttl {
  font-size: 16px;
  font-weight: 700;
  color: #1e52a6;
}
.p-download__list__cube__item__info .date {
  font-size: 8px;
  font-weight: 700;
  color: #1e52a6;
}
.p-download__list__cube__item__size {
  font-size: 16px;
  color: #1e52a6;
  font-weight: 700;
  flex-shrink: 0;
}
.p-download__list__cube__item__dl {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-color: #1e52a6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-download__list__cube__item__dl img {
  width: 18px;
}
.p-download__list__cube__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px auto 0;
  padding: 0 0 12px;
  border: none;
  border-bottom: 1px solid #1e52a6;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  width: 180px;
  color: #333;
  border-radius: 0;
}
.p-download__list__cube__toggle img {
  width: 12px;
  transition: transform 0.3s ease;
}
.p-download__list__cube__toggle.is-open img {
  transform: rotate(135deg);
}