@media screen and (min-width: 960px) {
  header .career-btm-wrap {
    margin-right: 16px;
  }
}
@media screen and (max-width: 959px) {
  header .application-wrap {
    display: none;
  }
  header .fresh-btm {
    display: none;
  }
  header .application-wrap a:first-of-type {
    margin-right: auto;
  }
}

main a:not(.career-btm) {
  color: #333;
  transition: opacity 0.2s ease;
}
main .section__title {
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: bold;
}
@media screen and (max-width: 959px) {
  main .section__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
}
main .section__text {
  line-height: 2;
}
main .section__text-note {
  display: block;
  font-size: 0.875rem;
}
@media screen and (max-width: 959px) {
  main .section__text {
    font-size: 0.875rem;
    line-height: 1.7;
  }
}
main section .contents-wrap {
  max-width: 1480px;
}
main #title-section h1 {
  background-image: url("/images/welfare/title-pc.jpg");
}
main #title-section h1 span {
  font-size: 68px;
}
main #title-section h1 em {
  padding-bottom: 0.5em;
  font-size: 24px;
}
@media screen and (max-width: 959px) {
  main #title-section h1 {
    background-image: url("/images/welfare/title-sp.jpg");
    background-position: top;
  }
  main #title-section h1 span {
    font-size: 2.5rem;
  }
  main #title-section h1 em {
    font-size: 1rem;
  }
}
main .lead .contents-wrap {
  padding-top: 35px;
  padding-bottom: 60px;
}
@media screen and (max-width: 959px) {
  main .lead .contents-wrap {
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 959px) {
  main .lead .career-btm {
    height: 60px;
    margin-top: 2rem;
    font-size: 1.125rem;
  }
}
main .nav .contents-wrap {
  padding-top: 0;
  padding-bottom: 62px;
}
main .nav__list {
  display: flex;
  justify-content: space-between;
}
main .nav__list li {
  width: calc((100% - 80px) / 3);
}
@media screen and (max-width: 959px) {
  main .nav__list li {
    width: auto;
    margin: 0;
  }
}
main .nav__list a {
  position: relative;
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
  background-color: #f2f2f2;
  transition: all 0.2s ease;
}
main .nav__list a::before {
  display: block;
  padding-top: 100%;
  content: "";
}
@media screen and (max-width: 959px) {
  main .nav__list a::before {
    content: none;
  }
}
main .nav__list a div {
  position: absolute;
  top: 50%;
  left: 50%;
  padding-top: 8rem;
  transform: translate(-50%, -50%);
}
main .nav__list a div::before {
  position: absolute;
  top: 30%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 959px) {
  main .nav__list a div::before {
    position: absolute;
    top: 50%;
    left: 83vw;
    margin: auto;
  }
}
@media screen and (max-width: 479px) {
  main .nav__list a div::before {
    left: 80vw;
  }
}
main .nav__list a div.nav__link-child::before {
  width: 120px;
  height: 120px;
  background: url("/images/welfare/child_pc.svg") no-repeat;
  background-size: contain;
  transition: all 0.2s ease;
}
@media screen and (max-width: 959px) {
  main .nav__list a div.nav__link-child::before {
    width: 52px;
    height: 52px;
    background: url("/images/welfare/child.svg") no-repeat;
    background-size: contain;
  }
}
main .nav__list a div.nav__link-holiday::before {
  width: 110px;
  height: 110px;
  background: url("/images/welfare/holiday_pc.svg") no-repeat;
  background-size: contain;
  transition: all 0.2s ease;
}
@media screen and (max-width: 959px) {
  main .nav__list a div.nav__link-holiday::before {
    width: 48px;
    height: 48px;
    background: url("/images/welfare/holiday.svg") no-repeat;
    background-size: contain;
  }
}
main .nav__list a div.nav__link-allowance::before {
  width: 110px;
  height: 110px;
  background: url("/images/welfare/allowance_pc.svg") no-repeat;
  background-size: contain;
  transition: all 0.2s ease;
}
@media screen and (max-width: 959px) {
  main .nav__list a div.nav__link-allowance::before {
    width: 48px;
    height: 48px;
    background: url("/images/welfare/allowance.svg") no-repeat;
    background-size: contain;
  }
}
@media screen and (max-width: 959px) {
  main .nav__list a div {
    position: relative;
    top: auto;
    left: auto;
    padding: 1rem;
    transform: none;
  }
}
main .nav__list a small {
  padding-left: 4px;
  font-size: 0.8em;
}
main .nav__list a span {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
  color: #697180;
}
@media screen and (max-width: 959px) {
  main .nav__list a span {
    margin-top: 3px;
    font-size: 10px;
  }
}
@media screen and (min-width: 960px) {
  main .nav__list a:hover {
    color: #10069f;
    background-color: #e7f3fa;
    opacity: 1;
  }
  main .nav__list a:hover span {
    color: #2c2a29;
  }
}
@media screen and (max-width: 959px) {
  main .nav__list a {
    margin: 0 0 0.5rem;
    text-align: left;
  }
}
@media screen and (max-width: 959px) {
  main .nav__list {
    display: block;
  }
}
main .welfare .contents-wrap {
  padding-bottom: 2.5rem;
}
@media screen and (max-width: 959px) {
  main .welfare .contents-wrap {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}
@media screen and (min-width: 960px) {
  main .welfare {
    padding-top: 90px;
    margin-top: -90px;
  }
}
main .welfare__title {
  position: relative;
  padding: 3rem;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}
main .welfare__title::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 180px;
  content: "";
  background: url("..//images/welfare/section-bg02.png");
}
@media screen and (max-width: 959px) {
  main .welfare__title::before {
    height: 102px;
    background: url("..//images/welfare/section-bg01.png");
  }
}
main .welfare__title::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 326px;
  height: 180px;
  margin: auto;
  content: "";
}
@media screen and (max-width: 959px) {
  main .welfare__title::after {
    width: 185px;
    height: 102px;
  }
}
main .welfare__title small {
  padding-left: 0.5rem;
  font-size: 0.8em;
}
main .welfare__title span {
  display: block;
  font-size: 1.25rem;
  font-weight: normal;
  color: #697180;
}
@media screen and (max-width: 959px) {
  main .welfare__title span {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 959px) {
  main .welfare__title {
    padding: 1.5rem;
    font-size: 1.5rem;
  }
}
main .welfare__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}
@media screen and (max-width: 959px) {
  main .welfare__list {
    display: block;
  }
}
main .welfare__list-item {
  width: calc((100% - 80px) / 2);
  margin-bottom: 5rem;
}
main .welfare__list-item h4 {
  padding-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}
@media screen and (max-width: 959px) {
  main .welfare__list-item h4 {
    padding-bottom: 0.5rem;
    font-size: 1rem;
  }
}
@media screen and (max-width: 959px) {
  main .welfare__list-item {
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: solid 1px #ccc;
  }
}
@media screen and (max-width: 959px) {
  main #holiday .welfare__list-item:last-child,
  main #allowance .welfare__list-item:last-child {
    border-bottom: none;
  }
}
main .child__title::after {
  background: url("/images/welfare/child_bg.svg") no-repeat;
  background-size: contain;
}
main .holiday__title::after {
  background: url("/images/welfare/holiday_bg.svg") no-repeat;
  background-size: contain;
}
main .allowance__title::after {
  background: url("/images/welfare/allowance_bg.svg") no-repeat;
  background-size: contain;
}
main .certification {
  margin: 2.5rem auto 0;
}
main .certification__title {
  font-size: 1.75rem;
  font-weight: bold;
}
@media screen and (max-width: 959px) {
  main .certification__title {
    font-size: 1.25rem;
  }
}
main .certification__list {
  display: flex;
  justify-content: space-between;
  margin: 5rem 0;
}
main .certification__list-item {
  display: flex;
  width: calc((100% - 80px) / 2);
}
main .certification__list-item img {
  width: 260px;
  height: 260px;
  border: 1px solid #ccc;
}
@media screen and (max-width: 1365px) {
  main .certification__list-item img {
    width: 19vw;
    height: 19vw;
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 959px) {
  main .certification__list-item img {
    width: 100%;
    max-width: 260px;
    height: auto;
  }
}
main .certification__list-item-text {
  position: relative;
  margin-left: 2.5rem;
}
main .certification__list-item-text h5 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}
@media screen and (max-width: 1365px) {
  main .certification__list-item-text h5 {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 959px) {
  main .certification__list-item-text h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
}
@media screen and (max-width: 479px) {
  main .certification__list-item-text h5 {
    min-height: 4.5em;
  }
}
@media screen and (max-width: 479px) {
  main .certification__list-item-text p {
    min-height: 8.5em;
  }
}
main .certification__list-item-text a {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.875rem;
  color: #697180;
}
main .certification__list-item-text a::after {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 0.5rem;
  content: "";
  background: url("/images/welfare/allow.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
main .certification__list-item-text a:hover::after {
  background: url("/images/welfare/allow_hov.svg");
  background-size: contain;
}
@media screen and (min-width: 960px) {
  main .certification__list-item-text a {
    transition: all 0.2s ease;
  }
  main .certification__list-item-text a::before {
    position: absolute;
    bottom: -4px;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    content: "";
    background-color: #10069f;
    transform: scale(0, 1);
    transform-origin: center right;
    transition: transform 0.2s ease;
  }
  main .certification__list-item-text a:hover {
    color: #10069f;
    opacity: 1;
  }
  main .certification__list-item-text a:hover::before {
    transform: scale(1, 1);
    transform-origin: center left;
  }
}
@media screen and (max-width: 1365px) {
  main .certification__list-item-text a {
    bottom: 1rem;
  }
}
@media screen and (width <= 1250px) {
  main .certification__list-item-text a {
    bottom: -2rem;
  }
}
@media screen and (max-width: 959px) {
  main .certification__list-item-text a {
    position: relative;
    bottom: -0.5rem;
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 1365px) {
  main .certification__list-item-text {
    margin-left: 1.5rem;
  }
}
@media screen and (max-width: 959px) {
  main .certification__list-item-text {
    margin: 0;
  }
}
@media screen and (max-width: 1365px) {
  main .certification__list-item {
    width: calc((100% - 40px) / 2);
  }
}
@media screen and (max-width: 959px) {
  main .certification__list-item {
    display: block;
    width: calc((100% - 20px) / 2);
  }
}
@media screen and (max-width: 959px) {
  main .certification__list {
    justify-content: space-between;
    margin: 1.5rem 0;
  }
}
@media screen and (max-width: 959px) {
  main .certification {
    margin-top: 2rem;
  }
}
main .welfare__note {
  margin: 0 auto 7.5rem;
}
@media screen and (max-width: 959px) {
  main .welfare__note {
    margin-bottom: 4rem;
    font-size: 0.875rem;
  }
}
main .welfare__note .contents-wrap {
  padding-top: 0;
  padding-bottom: 0;
}
