html {
  /* ヘッダーの高さ+α */
  scroll-padding-top: calc(80px + 20px);
}
body {
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, helvetica, arial, sans-serif;
  font-size: 16px;
}
main {
  /* ヘッダーの高さ分マージン取る */
  margin-top: 80px;
  @media screen and (max-width: 1024px) {
    margin-top: 50px;
  }
}

/* ----------- */
/* ヘッダー */
/* ----------- */
.header {
  display: flex;
  width: 100%;
  height: 80px;
  padding-left: 20px;
  position: fixed;
  top: 0;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0px 5px 6px rgb(0 0 0 / 12%);
  transition: all .4s;
  @media screen and (max-width: 1024px) {
    height: 50px;
  }
}

.header_inner {
  display: flex;
  align-items: center;
  width: 100%;
  @media screen and (max-width: 1024px) {
    justify-content: space-between;
  }
}

.header_title {
  display: flex;
  align-items: center;
}

.header_title_link {
  display: flex;
  align-items: center;
  &:hover {
    transition: all .2s;
    opacity: .6;
  }
}

.header_title_img {
  @media screen and (max-width: 1024px) {
    height: 30px;
  }
}

.header_nav {
  display: block;
  margin-left: auto;
  margin-right: 60px;
  @media screen and (max-width: 1024px) {
    display: none;
  }
}
.header_nav_list {
  display: flex;
  gap: 30px;
}

.header_nav_list_item {
  font-size: 16px;
}

.header_nav_link:hover {
  text-decoration: underline;
}

.header_link {
  display: grid;
  place-items: center;
  height: 100%;
  background-color: #1F85FD;
  font-size: 16px;
  color: #fff;
  padding: 0 32px;
  &:hover {
    transition: all .2s;
    opacity: .6;
  }
  @media screen and (max-width: 1024px) {
    display: none;
  }
}

.header_menu-default {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 80px;
  height: 100%;
  padding: 30px 20px;
  &.is-active {
    .header_menu-default-line {
      opacity: 0;
    } 
  }
  @media screen and (max-width: 1024px) {
    width: 50px;
    height: 50px;
    padding: 18px 15px;
  }
}

.header_menu-default-line {
  width: 100%;
  height: 1px;
  background: #000;
  transition: all 1s;
}

.header_drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 640px;
  height: 100vh;
  background-color: rgba(31, 133, 253, 0.94);
  transition: all 0.4s;
  &.is-show {
    right: 0;
  }
  @media screen and (max-width: 1024px) {
    width: calc(100% - 12.82051282051282%);
    transition-duration: 0.3s;
  }
  @media screen and (max-width: 640px) {
    transition-duration: 0.2s;
  }
}

.header_drawer-close {
  display: block;
  position: relative;
  width: 80px;
  height: 80px;
  background-color: #fff;
  margin-left: auto;
  @media screen and (max-width: 1024px) {
    width: 50px;
    height: 50px;
  }
}
.header_drawer-close-line {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 1px;
  background-color: #000;
  &:nth-child(1) {
    transform: rotate(-45deg);
  }
  &:nth-child(2) {
    transform: rotate(45deg);
  }
  @media screen and (max-width: 1024px) {
    width: 28px;
  }
}

.header_drawer-body {
  color: #fff;
  margin-top: 32px;
  margin-inline: 80px;
  @media screen and (max-width: 768px) {
    margin-top: 20px;
    margin-inline: 40px;
  }
}

.header_drawer-group {
  margin-bottom: 60px;
  @media screen and (max-width: 1024px) {
    max-width: 480px;
    margin-inline: auto;
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 20px;
    &.sp-hidden {
      display: none;
    }
  }
}

.header_drawer-group-title {
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  padding-bottom: 12px;
  margin-bottom: 12px;
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.header_drawer-group-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 60px;
  font-size: 16px;
  color: #fff;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 20px;
  }
}

.header_drawer-group-item {
  @media screen and (max-width: 768px) {
    &.sp-hidden {
      display: none;
    }
  }
}

.header_drawer-group-anchor {
  &:hover {
    text-decoration: underline;
  }
}

.header_drawer-to-recruitment {
  display: grid;
  place-items: center;
  width: 320px;
  height: 60px;
  background-color: #fff;
  font-size: 16px;
  font-weight: bold;
  color: #1F85FD;
  margin: auto;
  margin-top: 100px;
  transition: 0.2s;
  &:hover {
    opacity: 0.8;
  }
  @media screen and (max-width: 1024px) {
    width: 240px;
    height: 48px;
    font-size: 14px;
    margin-top: 60px;
  }
}

/* ----------- */
/* メインイメージ */
/* ----------- */
.main_img {
  width: 100%;
}

/* ----------- */
/* コンテンツ */
/* ----------- */
.contents {
  max-width: 1072px;
  padding: 60px 40px 40px;
  margin: 0 auto;
  position: relative;
}

.contents_link {
  position: absolute;
  right: 40px;
  top: calc(60px + 52px); 
}

.contents_title_main {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 12px;
}

.contents_title_sub {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  /* 768px以下に適用されるCSS（スマホ用） */
  .contents_wrap {
    margin-top: 0;
  }
  .contents {
    padding: 20px 12px;
  }
  .contents_link {
    position: absolute;
    top: unset;
    right: unset;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
  }
  .contents_title_main {
    font-size: 36px;
    margin-bottom: 4px;
  }
  .contents_title_sub {
    font-size: 14px;
    margin-bottom: 16px;
  }
}

/* ----------- */
/* リンク */
/* ----------- */

/* 配下ページのリンク箇所のレイアウト */
.link_wrap {
  margin: 100px 0;
}
.link_layout {
  display: flex;
  justify-content: center;
}
.link_layout+.link_layout {
  margin-top: 16px;
}

/* グラデーションのリンク */
.link_read_more {
  display: block;
  text-align: center;
  justify-content: center;
  color: #fff;
  padding: 12px 0;
  width: 320px;
  background-image: linear-gradient( 90deg, #FF5F95, #FFD460);
  position: relative;
}

.link_read_more.is-arrow-right::after {
  content: "";
  display: block;
  height: 12px;
  width: 8px;
  background-image: url(/img/icon_arrow_link.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}

/* すべてを読むのリンク */
/* ----------- */
.link_read_all {
  display: inline-block;
  width: 160px;
  padding: 10px 33px 12px 25px;
  text-align: center;
  background-color: #000;
  font-size: 14px;
  color: #fff;
  position: relative;
}

.link_read_all::after {
  content: "";
  display: block;
  height: 12px;
  width: 8px;
  background-image: url(/img/icon_arrow_link.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}

/* TOPへ戻る */
/* ----------- */
.link_secondary {
  display: block;
  text-align: center;
  justify-content: center;
  padding: 12px 0;
  width: 320px;
  background-color: #FFEFF3;
  color: #E66B8F;
  border: 1px solid #E66B8F;
}

/* TOPへ戻る */
/* ----------- */
.link_back {
  display: block;
  text-align: center;
  justify-content: center;
  padding: 12px 0;
  width: 320px;
  background-color: #fff;
  color: #000;
  border: 1px solid #707070;
}

/* 募集職種を見る */
/* ----------- */
.link_job {
  display: block;
  text-align: center;
  justify-content: center;
  padding: 12px 0;
  width: 320px;
  color: #000;
  background-color: #fff;
}


.link_read_all:hover,
.link_read_more:hover,
.link_back:hover,
.link_job:hover {
  transition: all .2s;
  opacity: .6;
}

/* ----------- */
/* バナー */
/* ----------- */
.banner_wrap {
  max-width: 1072px;
  padding: 60px 40px 40px;
  margin: 0 auto;
}

.banner {
  margin-bottom: 40px;
}

.banner:hover {
  cursor: pointer;
  transition: all .2s;
  opacity: .6;
}

.banner_img {
  width: 100%;
  border-radius: 10px;
}
.banner_img_pc {
  width: 100%;
  border-radius: 10px;
}
.banner_img_sp {
  width: 100%;
  border-radius: 10px;
  display: none;
}

.bonus_link:hover {
  transition: all .2s;
  opacity: .6;
}

@media screen and (max-width: 768px) {
  .banner_wrap {
    max-width: 1072px;
    padding: 12px 12px 80px;
    margin: 0 auto;
  }
  .banner {
    margin-bottom: 12px;
  }
  .banner_img_pc {
    display: none;
  }
  .banner_img_sp {
    display: unset;
  }
}

/* ----------- */
/* フッター募集要項 */
/* ----------- */
.footer_job {
  padding-bottom: 240px;
  position: relative;
}
.footer_job_img_pc {
  width: 90%;
}
.footer_job_img_sp {
  display: none;
}
.footer_job_box_layout {
  width: 100%;
  position: absolute;
  bottom: 146px;
}
.footer_job_box {
  margin-left: 10%;
  padding: 32px 10% 28px 0;
  text-align: center;
  background-color: rgba(31,133,253,.9);
}
.footer_job_box_title {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
}
.footer_job_box_text {
  color: #fff;
  margin: 16px 0 32px;
  line-height: 1.6;
}

.footer_job_box_layout_button {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 959px) {
  /* 959px以下に適用されるCSS（タブレット用） */
  .footer_job_box_title {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {
  /* 768px以下に適用されるCSS（スマホ用） */
  .footer_job {
    padding-bottom: 180px;
  }
  .footer_job_img_pc {
    display: none;
  }
  .footer_job_img_sp {
    display: unset;
    width: calc(100% - 12px);
  }
  .footer_job_box_layout {
    bottom: 100px;
  }
  .footer_job_box {
    margin-left: 12px;
    padding: 12px 12px 12px 0;
    text-align: center;
    background-color: rgba(31,133,253,.9);
  }
  .footer_job_box_title {
    font-size: 16px;
  }
  .footer_job_box_text {
    font-size: 14px;
    margin: 12px 0;
  }
}


/* ----------- */
/* フッター */
/* ----------- */
.footer_wrap {
  background-color: #3A3E41;
}

.footer_nav {
  padding: 60px 40px;
  max-width: 1072px;
  margin: 0 auto;
}

.footer_nav_list {
  text-align: center;
}

.footer_nav_list_item {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  padding: 0 20px;
  margin-top: 20px;
}

.footer_nav_list_item + .footer_nav_list_item {
  border-left: 1px solid #fff;
}

.footer_nav_list_item_link:hover {
  text-decoration: underline;
}

.footer_copy {
  background-color: #20262B;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 12px 0;
}

@media screen and (max-width: 768px) {
  .join_img_pc {
    display: none;
  }
  
  .join_img_sp {
    display: block;
    width: 100%;
  }
  .footer_nav {
    padding: 20px 12px 40px;
    max-width: 1072px;
    margin: 0 auto;
  }
  .footer_nav_list_item {
    display: block;
  }
  .footer_nav_list_item + .footer_nav_list_item {
    border-left: none;
  }
  .footer_nav_list_br {
    display: none;
  }
}

.fixed-banner {
  display: none;
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgb(255 255 255 / 96%);
  @media screen and (max-width: 1024px) {
    display: block;
  }
}
.fixed-banner__inner {
  position: relative;
  padding: 12px;
}
.fixed-banner__anchor {
  display: block;
  width: 260px;
  text-align: center;
  background: linear-gradient( 90deg, #FF5F95, #FFD460);
  border-radius: 99px;
  font-size: 14px;
  color: #fff;
  margin: auto;
  padding: 12px;
}
.fixed-banner__btn {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  text-align: center;
  color: #7E7E7E;
}
