.modal__bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal__bg > * {
  min-height: 0%;
}

.company__container, .mv__hdg {
  box-sizing: content-box !important;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 768px) {
  .company__container, .mv__hdg {
    max-width: 89.3333333333vw;
    padding-left: 0;
    padding-right: 0;
  }
}

.modal__close, .company__modallink {
  color: inherit;
  transition: opacity 0.3s;
  cursor: pointer;
}
@media (hover: hover) {
  .modal__close:hover, .company__modallink:hover {
    opacity: 0.7;
  }
}

.company__table {
  border-spacing: 0;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .company__table {
    width: 100%;
  }
}

.company__table {
  font-size: 1.6rem;
  font-weight: 500;
  color: #665b3d;
  line-height: 1.8125;
}
@media screen and (max-width: 768px) {
  .company__table {
    line-height: 1.6875;
  }
}

.company__table-ttl {
  vertical-align: top;
  position: relative;
}
@media screen and (max-width: 768px) {
  .company__table-ttl {
    width: 100%;
    min-width: 0;
    display: block;
  }
}
.company__table-ttl::before {
  content: "";
  display: block;
  width: 100%;
  height: calc(100% - 4px);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  border-radius: 10px;
  background-color: #fff1cd;
}
@media screen and (max-width: 768px) {
  .company__table-ttl::before {
    height: 100%;
  }
}

.company__table-data {
  border-top: 2px solid #fff1cd;
}
@media screen and (max-width: 768px) {
  .company__table-data {
    width: 100%;
    display: block;
    border-top: none;
  }
}

@media screen and (min-width: 769px) {
  .company__table-data--last {
    border-bottom: 2px solid #fff1cd;
  }
}

.mv__hdg {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .mv__hdg {
    max-width: 100%;
  }
}
.mv__hdg::before {
  content: "";
  display: block;
  width: 100vw;
  height: 201px;
  position: absolute;
  right: calc(50% + 72px);
  bottom: 130px;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.9);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
@media screen and (max-width: 768px) {
  .mv__hdg::before {
    content: none;
  }
}

/* mv:start */
.mv__container {
  background-image: url(/company/images/pc/mv_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .mv__container {
    background-image: url(/company/images/sp/mv_bg.jpg);
  }
}
.mv__hdg::before {
  right: calc(50% + 166px);
}

/* mv:end */
.company__table-ttl {
  padding-top: 34px;
  padding-left: 40px;
  padding-right: 40px;
  width: 170px;
  font-weight: 500;
  color: #102b5d;
}
@media screen and (max-width: 768px) {
  .company__table-ttl {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
  }
}

/* company:start */
.company__container {
  padding-top: 80px;
  padding-bottom: 100px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .company__container {
    padding-top: 60px;
  }
}
.company__table {
  width: 100%;
}
.company__table-data {
  padding-top: 32px;
  padding-bottom: 32px;
  padding-left: 40px;
  letter-spacing: normal;
}
@media screen and (max-width: 768px) {
  .company__table-data {
    padding-top: 18px;
    padding-bottom: 36px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.company__tel {
  margin-top: 6px;
}
.company__txt-bold {
  font-weight: bold;
}
.company__modallink {
  margin-left: 1em;
  display: inline-block;
  border-bottom: 1px solid #bd4c08;
  color: #bd4c08;
  line-height: 1.1;
}
@media screen and (max-width: 768px) {
  .company__modallink {
    margin-top: 14px;
    margin-left: 0;
  }
}
.company__datalist-ttl {
  font-weight: bold;
}
.company__datalist-ttl:not(:first-of-type) {
  margin-top: 24px;
}
.company__datalist-data {
  margin-top: 4px;
}
@media screen and (max-width: 768px) {
  .company__datalist-data {
    margin-top: 10px;
  }
}
.company__datalist-phone {
  margin-top: 8px;
}
.company__authlist-item {
  display: flex;
}
@media screen and (max-width: 768px) {
  .company__authlist-item {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 768px) {
  .company__authlist-item:not(:first-child) {
    margin-top: 8px;
  }
}
.company__authlist-ttl {
  min-width: 216px;
}
@media screen and (max-width: 768px) {
  .company__authlist-ttl {
    min-width: 177px;
  }
}

/* company:end */
/* certificate:start */
.certificate {
  padding: 30px;
  background-color: #ffffff;
  overflow: auto;
  max-height: 80vh;
}
@media screen and (max-width: 768px) {
  .certificate {
    padding: 20px;
  }
}
.certificate__table {
  border-collapse: collapse;
  border: solid 1px black;
  text-align: center;
  margin: 2em auto;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #000000;
}
@media screen and (max-width: 768px) {
  .certificate__table {
    font-size: 1.2rem;
  }
}
.certificate__ttl {
  padding: 10px;
}
.certificate__category {
  border: solid 1px black;
  padding: 10px;
  vertical-align: middle;
  text-align: justify;
  text-align-last: justify;
  font-weight: bold;
}
.certificate__data {
  border: solid 1px black;
  padding: 10px;
  vertical-align: middle;
}

/* certificate:end */
/* modal:start */
.modal {
  position: relative;
  z-index: 1003;
}
.modal__bg {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
}
.modal__item {
  padding-top: 25px;
  position: relative;
  max-height: 90vh;
  max-width: 95%;
}
@media screen and (max-width: 768px) {
  .modal__item {
    max-height: 90dvh;
  }
}
.modal__close {
  position: absolute;
  right: 0;
  top: 0;
  margin-bottom: 5px;
  width: 20px;
  height: 20px;
}
.modal__close-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
}
.modal__close-icon::after, .modal__close-icon::before {
  display: block;
  content: " ";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
}
.modal__close-icon::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal__close-icon::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modalfade-enter-active {
  transition: opacity 0.3s;
}
.modalfade-leave-active {
  transition: opacity 0.3s;
}
.modalfade-enter-from, .modalfade-leave-to {
  opacity: 0;
}