@charset "utf-8";

body {
  background-image: none;
}

#fv {
  background-image: url(../img/company_fv.webp);
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/company_fv_sp.webp);
    height: 180px;
  }
}

#company .wrapper {
  max-width: 1000px;
}

#company .wrapper.wide {
  max-width: 1154px;
  text-align: center;
}

#company .ttl {
  text-align: center;
  font-size: 32px;
  color: #8A2222;
  letter-spacing: 1.5px;
}

#company .header {
  text-align: center;
  border-bottom: 1px solid #D1CAC4;
  padding-top: 70px;
  padding-bottom: 16px;
}

#company .header .icon .text {
  color: #B39E54;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 16px;
}

#company .header .ttl {
  font-size: 32px;
  color: #000000;
}

@media (max-width: 519px) {
  #company .header {
    padding-top: 40px;
  }
}

#company .body .img {
  padding: 30px 0;
}

#company .body .img img {
  max-width: 100%;
}

#company .body p {
  line-height: 1.8;
  color: #000;
  margin-bottom: 20px;
}

#company .safety {
  border: 1px solid #CFCABF;
  padding: 30px 40px;
  color: #000;
}

@media (max-width: 519px) {
  #company .safety {
    padding: 20px 20px;
  }
}

#company .safety .ttl {
  color: #CAAC69;
  font-size: 28px;
  font-weight: bold;
}

@media (max-width: 519px) {
  #company .safety .ttl {
    font-size: 24px;
    margin-bottom: 10px;
  }
}

#company .safety .subttl {
  font-size: 20px;
}

#company .bg-ttl {
  font-size: 24px;
  text-align: center;
  padding: 12px 0;
  color: #C1B074;
  background: center / cover url(../img/sub_tit_bg.webp) no-repeat;
  margin-bottom: 70px;
}

#detail {
  margin-top: 100px;
}

#detail .table {
  margin-top: 8px;
}

#detail .table th {
  width: 160px;
}

#detail p {
  margin-top: 30px;
  margin-bottom: 15px;
  font-family: var(--gothic);
}

#detail .outer {
  display: flex;
  justify-content: center;
}

#detail .file-list {
  margin-bottom: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  -moz-column-gap: 10px;
  -webkit-column-gap: 10px;
  column-gap: 10px;
  row-gap: 10px;
}

@media (max-width: 959px) {
  #detail .file-list {
    justify-content: center;
  }
}

@media (max-width: 519px) {
  #company .bg-ttl {
    margin-bottom: 40px;
  }

  #detail {
    margin-top: 60px;
  }

  #detail .table th {
    width: 100%;
  }
}

#detail .file-list .btn {
  border: 2px solid #B39E54;
  padding: 15px 30px;
  color: #000;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#detail .file-list .btn::after {
  content: '';
  display: inline-block;
  background: center / contain url(../img/pdf_ico.svg) no-repeat;
  width: 20px;
  height: 24px;
  margin-left: 10px;
  z-index: 3;
}

#detail .file-list .btn::before {
  background-color: #B39E54;
}

#detail .file-list .btn:hover {
  color: #fff;
}

#detail .file-list .btn:hover::after {
  background-image: url(../img/pdf_ico_w.svg);
}

@media (max-width: 519px) {
  #company .ttl {
    font-size: 22px;
  }
}