/* ----------------------------------------------------------
Catalog Archives
---------------------------------------------------------- */

.nomtable01.catalog_table {
  width: 100%;
}

/* ----------------------------------------------------------
Table
---------------------------------------------------------- */

.catalog_table th,
.catalog_table td {
  vertical-align: middle !important;
}

/* 年度 */
.catalog_table th {
  line-height: 1.6em;
}

/* ----------------------------------------------------------
Catalog Item
---------------------------------------------------------- */

.catalog_item {
  width: 100%;
  min-height: 56px;

  display: flex;
  align-items: center;

  gap: 18px;
}

/* ----------------------------------------------------------
Catalog Cover
---------------------------------------------------------- */

.catalog_cover {
  width: 40px;
  flex: 0 0 40px;
}

.catalog_cover a {
  width: 100%;
  display: block;
}

.catalog_cover img {
  width: 100%;
  height: auto;
  display: block;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* hover時は浮かせない */
.catalog_cover a:hover img {
  opacity: 0.8;
}

/* ----------------------------------------------------------
Catalog Information
---------------------------------------------------------- */

.catalog_info {
  flex: 1;
  min-width: 0;

  display: flex;
  align-items: center;
}

/* カタログ名 */
.catalog_link {
  width: fit-content;

  display: inline-flex;
  align-items: center;

  font-size: inherit;
  line-height: 1.6em;

  color: var(--color-black);
  text-decoration: underline;
}

/* PDF icon */
.catalog_link::after {
  content: "";

  width: 20px;
  height: 20px;

  display: inline-block;
  flex: 0 0 20px;

  margin-left: 8px;

  background-image: url(../img/header/ic-pdf.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.catalog_link:hover {
  color: var(--color-1st);
  text-decoration: none;
}


/* ----------------------------------------------------------
PC
---------------------------------------------------------- */

@media screen and (min-width: 1025px) {

  /*
  basic.css の指定を確実に上書き
  */
  table.nomtable01.catalog_table th,
  table.nomtable01.catalog_table td {
    vertical-align: middle !important;
  }

  table.nomtable01.catalog_table th {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  table.nomtable01.catalog_table td {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .catalog_item {
    min-height: 56px;
    align-items: center;
  }

}


/* ----------------------------------------------------------
Tablet
---------------------------------------------------------- */

@media screen and (min-width: 769px) and (max-width: 1024px) {

  table.nomtable01.catalog_table th,
  table.nomtable01.catalog_table td {
    vertical-align: middle !important;
  }

  .catalog_item {
    min-height: 52px;
    gap: 16px;
  }

  .catalog_cover {
    width: 38px;
    flex: 0 0 38px;
  }

}


/* ----------------------------------------------------------
Smartphone
---------------------------------------------------------- */

@media screen and (max-width: 768px) {

  .catalog_table th {
    width: 100%;
    height: auto;

    display: block;

    padding: 0 0 5px 0;
  }

  .catalog_table td {
    width: 100%;
    height: auto;

    display: block;

    padding: 0 0 20px 0;
  }

  .catalog_item {
    min-height: 48px;

    display: flex;
    align-items: center;

    gap: 14px;
  }

  .catalog_cover {
    width: 36px;
    flex: 0 0 36px;
  }

  .catalog_info {
    flex: 1;

    display: flex;
    align-items: center;
  }

  .catalog_link {
    line-height: 1.6em;
  }

  .catalog_link::after {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    margin-left: 6px;
  }

}