.sec-cm-rec {
  position: relative;
  background:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('https://morikogyo-imabari.co.jp/wp-content/themes/morikogyo/img/com/cm-recruit-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 9;
}

.sec-cm-rec::after {
  position: absolute;
  left: 70px;
  top: -200px;
  content: '';
  width: 60%;
  height: auto;
  border: 5px solid white;
  border-radius: 50%;
  opacity: .2;
  aspect-ratio: 1 / 1;
}

.sec-cm-rec > div {
  z-index: 100;
}

.sec-cm-rec h2 {
  margin-top: 0;
  margin-bottom: 40px;
  font-family: var(--font-NotoSansJP)!important;
  font-weight: 100;
  font-size: 28.5pt;
  color: white;
}

.sec-cm-rec h2 > span {
  font-size: 15pt;
  letter-spacing: 20%;
}

.sec-cm-rec h2 > span:first-child {
  font-family: var(--font-FjallaOne);
  font-weight: 400;
}

.sec-cm-rec h2 > span:last-child {
  font-weight: bold;
  margin-left: 12px;
}

.sec-cm-rec div.cm-rec-columns {
  display: flex;
  flex-direction: row;
  column-gap: 40px;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column {
  width: calc(50% - 20px - 0.01px);
  position: relative;
  z-index: 1000;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child h3 {
  margin-top: 0;
  margin-bottom: 40px;
  font-family: var(--font-NotoSansJP);
  font-weight: 200;
  font-size: 28.5pt;
  letter-spacing: 20%;
  line-height: 1.75;
  color: white;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child p {
  font-family: var(--font-NotoSansJP);
  font-weight: 400;
  font-size: 12pt;
  letter-spacing: 10%;
  line-height: 2.25;
  color: white;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child a {
  margin-top: 24px;
  text-decoration: none;
  font-family: var(--font-NotoSansJP);
  font-weight: 700;
  font-size: 12pt;
  letter-spacing: 20%;
  color: white;

  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 1.5em;
  width: fit-content;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child a > span:first-child {
  width: 100px;
  aspect-ratio: 1 / 1;
  border: 1px solid white;
  border-radius: 50%;
  position: relative;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child a > span:first-child::after {
  content: "";
  aspect-ratio: 23 / 7;
  background-color: white;
  display: inline-block;
  width: 23px;
  height: auto;
  -webkit-mask: url('https://morikogyo-imabari.co.jp/wp-content/themes/morikogyo/svg/arrow.svg');
  -webkit-mask-size: cover;
  mask-size: cover;
  position: absolute;
  left: calc(50% - 10px);
  top: calc(50% - 3.5px);
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child a:hover > span:first-child {
  background: white;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child a:hover > span:first-child::after {
  background-color: var(--color-lightblue);
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column .img-box {
  aspect-ratio: 560 / 460;
  position: relative;
  z-index: 100;
}

.sec-cm-rec div.cm-rec-columns > .cm-rec-column .img-box > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .sec-cm-rec {
    position: relative;
    padding-bottom: 0;
  }

  .sec-cm-rec::after {
    top: 5.55%;
    left: -35.25%;
    width: 172vw;
  }

  .sec-cm-rec div.cm-rec-columns {
    flex-direction: column;
  }

  .sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child {
    width: 100%;
  }

  .sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child h3 {
    font-size: 22.5pt;
    /* margin-bottom: 24px; */
  }

  .sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child a {
    margin-top: 36px;
    margin-bottom: 100px;
  }

  .sec-cm-rec div.cm-rec-columns > .cm-rec-column:first-child p {
    line-height: 2;
  }

  .sec-cm-rec div.cm-rec-columns > .cm-rec-column:last-child {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}