.important-notice {
  align-items: stretch;
  background-color: #f4e4e7;
  display: flex;
  margin-top: 50px;
  line-height: 1.5;
  min-height: 53px;
}

.important-notice__article {
  align-items: center;
  color: #1a1a1a;
  display: flex;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
  gap: 1em;
}

.important-notice__label {
  align-items: center;
  align-self: stretch;
  border-radius: 5px 0 0 5px;
  background-color: #872d3f;
  color: #fff;
  display: flex;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.55;
  font-weight: bold;
  border: 2px solid #872d3f;
  justify-content: center;
  min-width: 98px;
  min-height: 48px;
  padding: 0px 16px;
  flex: 0 0 auto;
}

.important-wrapper {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 0;
}

.important-notice__date {
  font-weight: 700;
  padding-left: 30px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.75;
  font-family: "Noto Sans JP", sans-serif;
  color: #000000;
  margin-right: 20px;
}

.important-notice__category {
  background-color: #fff;
  border: 1px solid #872d3f;
  color: #872d3f;
  font-size: 14px;
  line-height: 1.6;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  padding: 0px 14px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.important-notice__title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 20px;
  margin-left: 20px;
}

.important-notice__title-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: fit-content;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  color: #872d3f;
  line-height: 1.75;
  font-weight: bold;
  border-bottom: 1px solid #964656;
  padding-bottom: 2px;
}

.important-notice__archive {
  align-items: center;
  color: #454545;
  display: flex;
  font-size: 14px;
  gap: 17px;
  justify-content: center;
  padding-right: 35px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 2;
  flex: 0 0 auto;
}

.important-notice__archive svg {
  flex: 0 0 auto;
}

.important-notice__article:hover,
.important-notice__archive:hover {
  opacity: 0.7;
}

.acceptable #top-mv {
  max-width: none !important;
  height: auto !important;
  background: none !important;
  margin-bottom: 50px !important;
  position: static !important;
}

.acceptable #top-mv dl {
  position: static !important;
}

.acceptable {
  padding-top: 0 !important;
}

.acceptable .top-flex02 {
  margin-top: 0 !important;
}

.acceptable.to-cv-area {
  background: none !important;
  padding-bottom: 100px !important;
}

.acceptable .top-flex li {
  width: 100% !important;
  margin: auto !important;
}

.acceptable .top-flex li a {
  background-color: #2d5150 !important;
}

@media (max-width: 767px) {
  .acceptable {
    padding: 0 2%;
  }

  .top-cnt #top-mv {
    width: 100% !important;
  }

  .important-notice {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    margin-top: 50px;
    min-height: 0;
  }

  .top-inner {
    padding: 0 2%;
  }

  .important-notice__article,
  .important-wrapper {
    display: contents;
  }

  .important-notice__label {
    font-size: 14px;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    min-width: auto;
    padding: 2px 15px;
    min-height: auto;
    border-radius: 5px 0 0 0;
  }

  .acceptable.to-cv-area {
    padding-bottom: 50px !important;
  }

  .important-notice__date {
    align-self: center;
    grid-column: 2;
    font-size: 14px;
    grid-row: 1;
    margin: 0;
    padding: 8px 10px;
  }

  .important-notice__category {
    align-self: center;
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    margin: 0;
    padding: 0 8px;
  }

  .important-notice__title {
    align-self: center;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 10px 12px;
    width: auto;
  }

  .important-notice__archive {
    align-self: center;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    margin: 0;
    padding: 4px 12px 10px;
  }
}
