/*
.c_company_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: url(../images/company/company_bg.webp) center center no-repeat;
    background-size: cover;
}
*/
.c_company .main {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.company_info {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  z-index: 1;
}

.company_map {
  position: relative;
  width: 36.145%;
  min-width: 600px;
  padding-top: 22.239%;
  transition: filter 0.4s linear;
  flex: 0 0 36.145%;
  margin-left: 15%;
  filter: invert(0%) saturate(50%) grayscale(100%);
}

.c_company iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.company_map:after {
  position: absolute;
  display: block;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.3);
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 1;
  transition-duration: 0.4s;
}

.company_map:hover {
  filter: invert(95%) saturate(50%) grayscale(70%);
}

.company_map:hover:after {
  opacity: 0;
}

.company_detail {
  position: relative;
  display: inline-flex;
  min-width: 600px;
  min-height: 600px;
  flex-direction: column;
  justify-content: justify-content;
  align-items: center;
  box-sizing: border-box;
}

.company_detail h2 {
  display: inline-block;
  height: 13.88%;
  margin-bottom: 10%;
}

.company_detail h2 img {
  display: block;
  width: auto;
  height: 100%;
}

.company_detail_text {
  position: relative;
  width: 100%;
  height: 70.657%;
  font-family: "M PLUS 1", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: max(0.78125vw, 15px);
  line-height: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.company_detail .dl {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  vertical-align: bottom;
}

.company_detail .dl:last-child {
  margin-bottom: 0;
}

.company_detail .dt {
  display: inline-block;
  font-size: max(0.6770833333vw, 13px);
  vertical-align: bottom;
  margin-bottom: 1%;
}

.company_detail .dd.company_address {
  line-height: 1.53;
}

.postalcodefont {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}

.company_detail .period {
  margin-right: 0.5em;
}

.company_detail .dd {
  font-size: max(0.78125vw, 15px);
  display: inline-block;
  text-align: center;
}

.company_detail .bsp {
  display: none;
}

@media screen and (max-width: 1500px) {
  .company_map {
    margin-left: 10%;
  }
}
@media screen and (max-width: 1100px) {
  .company_map {
    margin-left: 5%;
  }
}
/*
@include media-max($bp-md) {
    .c_company .main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
    }
    .company_info {
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
    }
    .company_map {
        margin-top: 25%;
        min-width: unset;
        width: 90%;
        padding-top: 50%;
    }
    .company_detail {
        margin-top: 12%;
        margin-left: auto;
        margin-right: auto;
        min-width: unset;
        width: 90%;
        margin-bottom: 15%;
    }
    .company_detail {
        box-sizing: border-box;
        border: 1px solid transparent;
    }
    .company_detail h2 {
        display: block;
        margin-bottom: 10%;
        width: 44.95%;
        height: auto;
    }
    .company_detail h2 img {
        width: 100%;
        height: auto;
    }
    .company_detail .dl {
        line-height: 1.5;
        margin-bottom: 1.5em;
    }
    .company_detail dt {
        width: 24%;
        margin-right: 5%;
        text-align: right;
    }
    .company_detail dd {
        width: auto;
    }
    .company_detail_text {
        height: auto;
        @include font-size-calc(24, $bp-sp);
    }
    .company_detail .bsp {
        display: block;
    }
}
*/
@media screen and (max-width: 767px) {
  .c_company .main {
    display: block;
    height: auto;
  }
  .company_info {
    display: block;
    text-align: center;
  }
  .company_map {
    min-width: unset;
    min-height: unset;
    width: 90%;
    margin: 25% auto 0 auto;
    padding-top: 75%;
  }
  .company_map iframe {
    min-height: unset;
  }
  .company_detail {
    display: block;
    min-width: unset;
    min-height: unset;
    margin-top: 35%;
    margin-left: auto;
    margin-right: auto;
    min-width: unset;
    width: 90%;
    margin-bottom: 15%;
    text-align: center;
  }
  .company_detail {
    box-sizing: border-box;
  }
  .company_detail h2 {
    display: inline-block;
    margin-bottom: 10%;
    width: 44.95%;
    height: auto;
  }
  .company_detail h2 img {
    width: 100%;
    height: auto;
  }
  .company_detail .dl {
    line-height: 1.5;
    margin-bottom: 1.2em;
  }
  .company_detail_text {
    height: auto;
    font-size: 3.1290743155vw;
  }
  .company_detail .bsp {
    display: block;
  }
  .company_map {
    animation: a_map_filter 2s 2s linear forwards;
  }
  .c_company iframe {
    width: 100%;
    height: 100%;
  }
  .company_detail .dt {
    font-size: max(1.6949152542vw, 13px);
    margin-bottom: 1%;
  }
  .company_detail .dd {
    font-size: max(1.9556714472vw, 15px);
    width: auto;
  }
}
@keyframes a_map_filter {
  0% {
    filter: invert(0%) saturate(100%) grayscale(0%);
  }
  100% {
    filter: invert(95%) saturate(40%) grayscale(70%);
  }
}