/* =============================================================
   詳細
   =============================================================
*/
html {
  background-position: 0 12vw;
}

.inner_s {
  width: 600px;
  margin: 0 auto;
}

.detail .box {
  padding: 20px;
  margin-bottom: 20px;
}

.file-list {
  width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.detail .box > .flex {
  justify-content: left;
  padding: 10px 0 7px;
}

.detail .detail_date {
  font-size: 13px;
  margin-right: 10px;
  white-space: nowrap;
}

.detail .detail_category {
  font-size: 10px;
  background-color: #29519c;
  padding: 2px 1em;
  text-align: center;
  color: #fff;
  border-radius: 3px;
}

.detail_title {
  font-size: 20px;
  border-bottom: 1px solid #dedede;
  padding-bottom: 16px;
  margin-bottom: 21px;
}

.detail .detail_body {
  font-size: 14px;
  line-height: 2.2;
}
.detail .detail_body * {
  all: revert;
}

.detail .detail_body a {
  color: #29519c;
  text-decoration: underline;
}

.detail .detail_table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.detail .detail_table th {
  font-size: 10px;
  color: #585858;
  padding-bottom: 4px;
  border-bottom: 1px solid #dedede;
}

.detail .detail_table tr > th:first-child {
  width: calc(100% - 195px);
}

.detail .detail_table tr > th:last-child {
  width: 195px;
  padding-left: 8px;
  border-left: 1px solid #dedede;
}

.detail .detail_table td {
  padding: 4px 0;
  border-bottom: 1px solid #dedede;
}

.detail .detail_table td p {
  font-size: 14px;
  font-weight: 500;
}

.detail .detail_table tr td:last-child {
  padding-left: 8px;
  border-left: 1px solid #dedede;
}

.detail .detail_table td button {
  font-size: 11px;
  color: #fff;
  background-color: #585858;
  font-weight: bold;
  border-radius: 3px;
  display: inline-block;
  width: 85px;
  padding: 5px 0;
  text-align: center;
}

.detail .detail_table td button:first-child {
  margin-right: 3px;
}

.detail .detail_table tr:last-child td {
  border-bottom: none;
}

.company {
  padding: 32px;
}

.company .flex {
  justify-content: start;
  margin-bottom: 9px;
}

.company .sibu,
.company .todouhuken {
  font-size: 10px;
  font-weight: bold;
  display: inline-block;
  border: 1px solid;
  text-align: center;
  border-radius: 3px;
  padding: 1px 10px;
  min-width: 100px;
  margin-right: 7px;
  height: 22px;
  padding-top: 2px;
}

.company .sibu {
  color: #29519c;
}

.company .todouhuken {
  color: #fff;
  background-color: #29519c;
}

.company .name {
  font-size: 28px;
  font-weight: bold;
}

.company .ttl_blue.mt {
  margin-top: 50px;
}

.imgs {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.imgs img {
  width: 100%;
}

.breadcrumb li:last-child {
  width: max-content;
  max-width: 20em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company_a {
  color: #29519c;
}

.company_a::after {
  content: url("");
  margin-left: 5px;
  width: 18px;
  height: 18px;
  display: inline-block;
  background-image: url("../img/link.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

@media screen and (max-width: 600px) {
  .breadcrumb li:last-child {
    max-width: 8em;
  }

  .inner_s {
    width: 90%;
  }

  .detail .box {
    padding: 15px;
  }

  .detail_title {
    padding-bottom: 9px;
    margin-bottom: 12px;
  }

  .detail .detail_body {
    font-size: 14px;
    line-height: 1.8;
  }

  .detail .box > .flex {
    padding: 2px 0 7px;
  }

  .detail .detail_table td button {
    display: block;
    width: 80px;
  }

  .detail .detail_table tr > th:first-child {
    width: calc(100% - 80px);
  }

  .detail .detail_table tr > th:last-child {
    width: 80px;
  }

  .detail .detail_table td button:first-child {
    margin-right: 0;
    margin-bottom: 3px;
  }

  .contents_block .bg {
    padding-bottom: 30px;
  }

  .company {
    padding: 20px 10px;
  }

  .company .name {
    font-size: 20px;
  }

  .company .ttl_blue.mt {
    margin-top: 30px;
  }

  .imgs {
    margin-top: 15px;
    gap: 10px;
  }

  .company .sibu,
  .company .todouhuken {
    margin-bottom: 2px;
  }

  .file-list {
    width: auto;
  }

  .company_a::after {
    width: 15px;
    height: 15px;
  }
}

@media (hover: hover) {
  .detail .detail_body a:hover {
    text-decoration: none;
  }
  .detail .detail_table td button:hover {
    background-color: #29519c;
  }
  .company_a:hover {
    opacity: 0.7;
  }
}

@media (hover: none) {
  .detail .detail_body a:active {
    text-decoration: none;
  }
  .detail .detail_table td button:active {
    background-color: #29519c;
  }
  .company_a:active {
    opacity: 0.7;
  }
}
