@charset "UTF-8";

#wrapper {
  background: var(--color-bg);
}

/* =====================
  month
===================== */

#month .month_column {
  display: grid;
}

#month .month_img {
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-sub);
}

#month .month_img img {
  height: 100%;
  object-fit: cover;
}

#month .month_text {
  min-width: 0;
}

#month .month_text .label_balloon {
  width: fit-content;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

#month .month_text .ttl_middle {
  margin-bottom: 0;
}

#month .month_text .text {
  line-height: 1.8;
}

/* =====================
  feature
===================== */

#feature .feature_item a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--box-shadow);
  position: relative;
}

#feature .label_new {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 8px 0;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
}

#feature .feature_img {
  aspect-ratio: 330 / 172;
  overflow: hidden;
  flex-shrink: 0;
}

#feature .feature_img img {
  height: 100%;
  object-fit: cover;
}

#feature .feature_text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#feature .feature_ttl {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#feature .feature_text .text {
  color: var(--color-gray);
  line-height: 1.7;
}

#feature .feature_text .text p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#feature .job_data {
  margin-right: 0;
  margin-left: 0;
}

#feature .job_data li.area::after {
  content: '';
  width: 10px;
  height: 13px;
  background: #fff;
  -webkit-mask: url(../img/common/icon_area.svg) no-repeat center / contain;
  mask: url(../img/common/icon_area.svg) no-repeat center / contain;
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
}

/*-------------------------------------------*/
/*  PC
/*-------------------------------------------*/

@media screen and (min-width:900px) {

  /* =====================
    container
  ===================== */

  /*　▼commonに切り替わったら移動　*/  
  
  #wrapper {
    overflow: clip;
  }

  #container {
    padding: 30px 0;
  }

  .inner {
    max-width: 90%;
  }

  /* =====================
    month
  ===================== */

  #month .month_column {
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    align-items: flex-start;
    gap: 45px;
  }

  #month .month_text {
    padding: 0;
  }

  #month .month_text .label_balloon {
    height: 30px;
    padding: 0 14px;
    margin-bottom: 18px;
    font-size: 13px;
  }

  #month .month_text .label_balloon::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    bottom: -5px;
  }

  #month .month_text .text {
    margin-top: 18px;
    font-size: 14px;
  }

  /* =====================
    feature
  ===================== */

  #feature .feature_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 27px;
    margin-top: 35px;
  }

  #feature .feature_item {
    max-width: 335px;
    width: calc((100% - 54px) / 3);
  }

  #feature .label_new {
    min-width: 54px;
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  #feature .feature_text {
    padding: 18px 20px 22px;
  }

  #feature .feature_ttl {
    font-size: 17px;
  }

  #feature .feature_text .text {
    margin: 10px 0 20px;
    font-size: 13px;
  }
}

/*-------------------------------------------*/
/*  SP
/*-------------------------------------------*/

@media screen and (max-width:899px) {

  /* =====================
    container
  ===================== */

  /*　▼commonに切り替わったら移動　*/  
  
  #container {
    padding: 10px 0 20px;
  }

  /* =====================
    month
  ===================== */

  #month .month_img {
    aspect-ratio: 3 / 2;
  }

  #month .month_text {
    padding: 18px 0 0;
  }

  #month .month_text .label_balloon {
    height: 26px;
    margin-bottom: 13px;
    font-size: 11px;
  }

  #month .month_text .label_balloon::after {
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
  }

  #month .month_text .text {
    margin-top: 12px;
    font-size: 12px;
  }

  /* =====================
    feature
  ===================== */

  #feature .feature_list {
    display: grid;
    gap: 18px;
    margin-top: 25px;
  }

  #feature .label_new {
    min-width: 46px;
    height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  #feature .feature_text {
    padding: 13px 14px 16px;
  }

  #feature .feature_ttl {
    font-size: 14px;
  }

  #feature .feature_text .text {
    margin-top: 8px;
    font-size: 12px;
  }

  #feature .job_data {
    padding-top: 12px;
  }

  #feature .job_data li.area::after {
    left: 5px;
  }

}
