@charset "UTF-8";
.hover a:hover {
  opacity: 1;
}
.hover a:hover img {
  opacity: 0.8;
}

#main {
  padding-bottom: 75px;
}

/* ===============================================
  ココすご！職業図鑑 一覧
=============================================== */
body:not(.detail) #main {
  background: linear-gradient(180deg, transparent 0%, transparent 210px, #FFEA4B 210px, #FFEA4B 100%);
}
@media screen and (max-width: 768px) {
  body:not(.detail) #main {
    background: linear-gradient(180deg, transparent 0%, transparent 152px, #FFEA4B 152px, #FFEA4B 100%);
  }
}

.item {
  border: 1px solid #000;
}
.item:not(:last-of-type) {
  margin-bottom: 18px;
}
.item:not(:last-of-type):has(.close) {
  margin-bottom: 60px;
}
.item dt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 15px;
  background: #fff;
  padding: 20px 60px 20px 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.41;
  position: relative;
  cursor: pointer;
}
.item dt::before, .item dt::after {
  content: "";
  position: absolute;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
}
.item dt::before {
  border-top: 2px solid #F05A24;
  width: 20px;
  right: 33px;
}
.item dt.open::after {
  border-left: 2px solid #F05A24;
  height: 20px;
  right: 42px;
}
.item dt span {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 39.1px;
  aspect-ratio: 1/1;
}
.item dd {
  display: none;
  background: #FFFEDD;
  padding: 27px 37px;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.item dd ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0 30px;
  background: #fff;
  border: 1px solid #C9C9C9;
  border-radius: 15px;
  padding: 32px 35px 52px;
}
.item dd ul li {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 30%;
          flex: 1 0 30%;
  border-bottom: 1px solid #C9C9C9;
}
.item dd ul li a {
  display: block;
  padding: 20px 20px 19px 0;
  position: relative;
}
.item dd ul li a::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid #F05A24;
  border-left: 0;
  border-bottom: 0;
  -webkit-transform: translate(-4.5px, -50%) rotate(45deg);
          transform: translate(-4.5px, -50%) rotate(45deg);
  position: absolute;
  top: 50%;
  right: 0;
}
@media screen and (max-width: 768px) {
  .item {
    border: none;
    margin: 0 -23px;
  }
  .item:not(:last-of-type) {
    margin-bottom: 0;
  }
  .item:not(:last-of-type):has(.close) {
    margin-bottom: 0;
  }
  .item:last-of-type {
    border-bottom: 1px solid #000;
  }
  .item dt {
    border-top: 1px solid #000;
    padding: 15px 40px 15px 15px;
  }
  .item dt::before {
    width: 16px;
    right: 20px;
  }
  .item dt.open::after {
    height: 16px;
    right: 27px;
  }
  .item dt span {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 39.1px;
    aspect-ratio: 1/1;
  }
  .item dd {
    border-top: 1px solid #000;
    padding: 25px 14px;
  }
  .item dd ul {
    display: block;
    border: 1px solid #C9C9C9;
    border-radius: 15px;
    padding: 0;
  }
  .item dd ul li {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 30%;
            flex: 1 0 30%;
    border-bottom: 1px solid #C9C9C9;
  }
  .item dd ul li:last-child {
    border: none;
  }
  .item dd ul li a {
    padding: 20px 30px;
  }
  .item dd ul li a::after {
    right: 20px;
  }
}

.item#job-c01 dt span, .other_job p.job-c01::before {
  background-image: url(../img/job/job-c01.svg);
}

.item#job-c02 dt span, .other_job p.job-c02::before {
  background-image: url(../img/job/job-c02.svg);
}

.item#job-c03 dt span, .other_job p.job-c03::before {
  background-image: url(../img/job/job-c03.svg);
}

.item#job-c04 dt span, .other_job p.job-c04::before {
  background-image: url(../img/job/job-c04.svg);
}

.item#job-c05 dt span, .other_job p.job-c05::before {
  background-image: url(../img/job/job-c05.svg);
}

.item#job-c06 dt span, .other_job p.job-c06::before {
  background-image: url(../img/job/job-c06.svg);
}

.item#job-c07 dt span, .other_job p.job-c07::before {
  background-image: url(../img/job/job-c07.svg);
}

.item#job-c08 dt span, .other_job p.job-c08::before {
  background-image: url(../img/job/job-c08.svg);
}

.item#job-c09 dt span, .other_job p.job-c09::before {
  background-image: url(../img/job/job-c09.svg);
}

.item#job-c10 dt span, .other_job p.job-c10::before {
  background-image: url(../img/job/job-c10.svg);
}

.item#job-c11 dt span, .other_job p.job-c11::before {
  background-image: url(../img/job/job-c11.svg);
}

.item#job-c12 dt span, .other_job p.job-c12::before {
  background-image: url(../img/job/job-c12.svg);
}

.item#job-c13 dt span, .other_job p.job-c13::before {
  background-image: url(../img/job/job-c13.svg);
}

.item#job-c14 dt span, .other_job p.job-c14::before {
  background-image: url(../img/job/job-c14.svg);
}

.item#job-c15 dt span, .other_job p.job-c15::before {
  background-image: url(../img/job/job-c15.svg);
}

.item#job-c16 dt span, .other_job p.job-c16::before {
  background-image: url(../img/job/job-c16.svg);
}

/* ===============================================
  ココすご！職業図鑑 詳細
=============================================== */
body.detail #main {
  background: linear-gradient(180deg, transparent 0%, transparent 600px, #FFFEDD 0px, #FFFEDD 100%);
  padding-bottom: 0;
}
@media screen and (max-width: 900px) {
  body.detail #main {
    padding-bottom: 0;
  }
}
@media screen and (max-width: 768px) {
  body.detail {
    background: linear-gradient(180deg, transparent 0%, transparent 400px, #FFFEDD 0px, #FFFEDD 100%);
  }
  body.detail .pagetop {
    bottom: 65px;
  }
}

.contents_wrap {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0 58px;
}
@media screen and (max-width: 900px) {
  .contents_wrap {
    display: block;
  }
}

.bg {
  padding-bottom: 176px;
  position: relative;
  z-index: 1;
}
.bg::before, .bg::after {
  content: "";
  -webkit-clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 calc(100% - 126px));
          clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 calc(100% - 126px));
  z-index: -1;
  width: 100vw;
  position: absolute;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  left: calc(50% + 150px);
}
.bg::before {
  background: #000;
  height: calc(100% - 98px);
  bottom: 0;
}
.bg::after {
  background: #FFEA4B;
  height: calc(100% - 103px);
  bottom: 2.5px;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .bg {
    padding-bottom: 70px;
  }
  .bg::before, .bg::after {
    -webkit-clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 calc(100% - 35px));
            clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 calc(100% - 35px));
    left: 50%;
    width: calc(100% + 46px);
  }
  .bg::before {
    background: #000;
    height: calc(100% - 98px);
    bottom: 0;
  }
  .bg::after {
    background: #FFEA4B;
    height: calc(100% - 101px);
    bottom: 1.5px;
    z-index: -1;
  }
}

.mv {
  margin-bottom: 30px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .mv {
    margin: 0 0 20px;
  }
}
.mv .ph_wrap {
  border-radius: 30px;
  border: 2.5px solid #000;
  -webkit-box-shadow: 5px 0 0 #000;
          box-shadow: 5px 0 0 #000;
  overflow: hidden;
  aspect-ratio: 1/0.74;
}
.mv .ph_wrap img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .mv .ph_wrap {
    border-radius: 20px;
    border-width: 1.5px;
    -webkit-box-shadow: 3px 0 0 #000;
            box-shadow: 3px 0 0 #000;
  }
}

.cat {
  background: #F05A24;
  display: inline-block;
  border-radius: 30px;
  padding: 7.5px 20px;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .cat {
    padding: 3.5px 19px;
    font-size: 12px;
  }
}

.subject {
  font-size: 27px;
  font-weight: 900;
}
@media screen and (max-width: 768px) {
  .subject {
    font-size: 20px;
  }
}

.read {
  font-size: 18px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .read {
    margin-bottom: 5px;
    font-size: 16px;
  }
}

.sns {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-top: 23px;
}
.sns .share_list li {
  margin-left: 10px;
}
.sns .share_list li img {
  width: 35px;
}
@media screen and (max-width: 768px) {
  .sns .share_list li .share_list li {
    margin-left: 10px;
  }
  .sns .share_list li .share_list li img {
    width: 32px;
  }
}

.toc {
  background: none;
  margin-top: 38px;
  position: relative;
}
.toc::after {
  content: "";
  background: url(../img/job/toc.bg.png) no-repeat center/contain;
  width: 93px;
  height: 83.5px;
  position: absolute;
  top: -40px;
  right: 35px;
  pointer-events: none;
}
.toc > ol {
  background: #fff;
  border: 1.5px solid #F05A24;
  border-radius: 30px;
  overflow: hidden;
  margin: 0;
  padding: 40px;
  counter-reset: num;
  list-style: none;
}
.toc > ol > li {
  font-size: 16px;
}
.toc > ol > li::before {
  display: none;
}
.toc > ol > li:not(:last-child) {
  margin-bottom: 25px;
}
.toc > ol > li > a {
  display: block;
  text-decoration: underline;
  font-weight: bold;
  position: relative;
}
.toc > ol > li > a::before {
  display: inline-block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  counter-increment: num;
  content: counter(num) ".";
}
.toc > ol > li > a:hover {
  text-decoration: none;
}
.toc > ol > li > a span {
  color: #000 !important;
}
.toc > ol > li > ol {
  padding: 0;
  margin: 20px 0 0;
  font-size: 14px;
}
.toc > ol > li > ol li::before {
  display: none;
}
@media screen and (max-width: 768px) {
  .toc {
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .toc::after {
    width: 72px;
    height: 64.65px;
    top: -40px;
    right: 25px;
  }
  .toc::before {
    border-width: 1.5px;
    border-radius: 20px;
  }
  .toc .contents_ttl {
    top: -18px;
  }
  .toc .contents_ttl img {
    height: 41px;
  }
  .toc > ol {
    border-radius: 20px;
    border-width: 1.5px;
    padding: 35px 20px;
    margin: 0;
  }
  .toc > ol > li > a {
    text-decoration: underline;
    font-weight: bold;
  }
  .toc > ol > li > a:hover {
    text-decoration: none;
  }
}

/* 記事内リスト */
article ol, article ul {
  font-size: 16px;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  article ol, article ul {
    font-size: 16px;
  }
}
article ol + ol, article ol + ul, article ul + ol, article ul + ul {
  margin-top: 15px;
}
article ol li:not(:last-child), article ul li:not(:last-child) {
  margin-bottom: 10px;
}
article ol {
  counter-reset: count 0;
}
article ol li {
  padding-left: 25px;
  position: relative;
}
article ol li::before {
  content: counter(count) " ";
  counter-increment: count 1;
  font-family: "Arial", "メイリオ";
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  width: 19px;
  height: 19px;
  line-height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 0;
}
@media screen and (max-width: 768px) {
  article ol li::before {
    top: 6px;
  }
}
article ul li {
  position: relative;
}
article ul li::before {
  content: "";
  position: absolute;
}
article ul:not(.disc) li {
  padding-left: 25px;
}
article ul:not(.disc) li::before {
  display: block;
  width: 9px;
  height: 3px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  z-index: 2;
}
article ul:not(.disc) li::after {
  content: "";
  border-radius: 3px;
  width: 18px;
  height: 18px;
  position: absolute;
  z-index: 1;
}
article ul:not(.check):not(.disc) li::before {
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  top: 13px;
  left: 3px;
}
@media screen and (max-width: 768px) {
  article ul:not(.check):not(.disc) li::before {
    top: 11px;
  }
}
article ul:not(.check):not(.disc) li::after {
  left: 0;
  top: 8px;
}
@media screen and (max-width: 768px) {
  article ul:not(.check):not(.disc) li::after {
    top: 6px;
  }
}
article ul.check li, article ul.disc li {
  padding: 6px 18px;
}
article ul.check {
  color: #fff;
}
article ul.check li {
  padding-left: 40px;
}
article ul.check li::before {
  top: 19px;
  left: 19px;
}
article ul.check li::after {
  border-radius: 50%;
  background: #fff;
  left: 15px;
  top: 13px;
}
article ul.disc li {
  padding-left: 35px;
}
article ul.disc li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 19px;
  left: 20px;
}

#job article h2 {
  margin-top: 55px;
}
#job article h2 + p {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  #job article h2 {
    margin-top: 38px;
  }
}
#job article h2:not(.contents_ttl) {
  padding-left: 22px;
  font-size: 27px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
#job article h2:not(.contents_ttl)::before {
  content: "";
  border-left: 4px solid #F05A24;
  height: 100%;
  position: absolute;
  top: 5px;
  left: 0;
}
#job article h2:not(.contents_ttl) span {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(70%, #FFEE64));
  background: linear-gradient(transparent 70%, #FFEE64 70%);
}
@media screen and (max-width: 768px) {
  #job article h2:not(.contents_ttl) {
    padding-left: 16px;
    font-size: 20px;
  }
  #job article h2:not(.contents_ttl)::before {
    height: 100%;
    top: 7px;
  }
}
#job article h3 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
#job article h3 + p {
  margin-top: 15px;
}
@media screen and (max-width: 768px) {
  #job article h3 {
    font-size: 18px;
  }
}
#job article h3, #job article p, #job article > img, #job article > div {
  margin-top: 53px;
}
@media screen and (max-width: 768px) {
  #job article h3, #job article p, #job article > img, #job article > div {
    margin-top: 30px;
  }
}
#job article > img {
  border-radius: 10px;
}
#job article > div {
  background: #fff;
  border-radius: 20px;
  padding: 33px 40px;
}
#job article > div.cke_widget_wrapper {
  background-color: rgba(0, 0, 0, 0);
}
#job article > div *:first-child {
  margin-top: 0;
}
#job article > div h2 + p, #job article > div h3 + p {
  margin-top: 20px;
}
#job article > div h4 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  #job article > div {
    padding: 20px;
  }
  #job article > div h2 + p, #job article > div h3 + p {
    margin-top: 10px;
  }
  #job article > div h4 {
    margin-bottom: 8px;
    font-size: 18px;
  }
}
#job article hr {
  border-color: #000;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  #job article hr {
    margin-top: 45px;
  }
}
#job article ol, #job article ul {
  margin-top: 40px;
}
#job article ol + ol, #job article ol + ul, #job article ul + ol, #job article ul + ul {
  margin-top: 15px;
}
#job article ol li:not(:last-child), #job article ul li:not(:last-child) {
  margin-bottom: 10px;
}
#job article ol li::before {
  background: #F05A24;
}
#job article ul:not(.check):not(.disc) li::after {
  background: #F05A24;
}
#job article ul.check {
  background: #F05A24;
  color: #fff;
}
#job article ul.check li::before {
  border-left: 2px solid #F05A24;
  border-bottom: 2px solid #F05A24;
  top: 19px;
  left: 19px;
}
#job article ul.disc li {
  background: #FFD6C3;
}
#job article ul.disc li::before {
  background: #FF6F2A;
}
#job article a {
  color: #FF6F2A;
}
#job article a, #job article a:link, #job article a:visited, #job article a:active {
  text-decoration: underline;
}
#job article a:hover, #job article a:link:hover, #job article a:visited:hover, #job article a:active:hover {
  text-decoration: none;
}

.introduction {
  background-color: #FFEA4B;
  background-image: url(../img/lesson/introduction_img.png), url(../img/top/mv_parts04.png);
  background-size: 22%, 15%;
  background-repeat: no-repeat;
  background-position: 4% bottom, 93% 90%;
  border: 2px solid #000;
  border-radius: 20px;
  padding: 50px 23px 30px;
  margin: 95px auto 0;
  max-width: 700px;
  position: relative;
}
@media screen and (max-width: 1024px) {
  .introduction {
    background-size: 17%, 12%;
  }
}
@media screen and (max-width: 900px) {
  .introduction {
    margin: 29px auto 54px;
  }
}
@media screen and (max-width: 768px) {
  .introduction {
    background-image: none;
    border-width: 1.5px;
    padding: 112px 23px 30px;
    margin: 19px 0 54px;
  }
}
.introduction .contents_ttl {
  width: 100%;
  position: absolute;
  top: -29px;
  left: 0;
}
.introduction .contents_ttl img {
  max-height: 56px;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .introduction .contents_ttl {
    top: -19px;
  }
  .introduction .contents_ttl img {
    max-height: 117.5px;
  }
}
.introduction p {
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .introduction p {
    margin-bottom: 20px;
  }
}
.introduction .btn {
  margin: 0 auto;
}
.introduction .btn a {
  background: #FF6C00;
  padding: 0 20px 0 45px;
  color: #fff;
}
.introduction .btn a::before {
  border: none;
  background: url(../img/icon_btn_search.svg) no-repeat center/contain;
  width: 31px;
  height: 33px;
  left: 20px;
  right: auto;
}
.introduction .btn a::after {
  display: none;
}
.introduction .btn a:hover {
  background: #fff;
  color: #FF6C00;
}
.introduction .btn a:hover::before {
  background: url(../img/icon_btn_search_over.svg) no-repeat center/contain;
}
@media screen and (max-width: 768px) {
  .introduction .btn {
    width: 230px;
    font-size: 14px;
  }
  .introduction .btn a {
    padding: 0 20px;
    height: 65px;
  }
  .introduction .btn a::before {
    width: 21px;
    height: 23px;
    left: 20px;
  }
}

.area_box {
  position: relative;
}
.area_box .ttl {
  width: 100%;
  text-align: center;
  position: absolute;
  top: -26px;
  left: 0;
}
.area_box .ttl img {
  height: 52.73px;
}
.area_box .ttl.two_line {
  top: -73px;
}
.area_box .ttl.two_line img {
  height: 98.29px;
}
.area_box .inner {
  width: min(100%, 590px);
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .area_box {
    width: calc(100% + 46px);
    margin-left: -23px;
  }
  .area_box .ttl {
    top: -20px;
  }
  .area_box .ttl img {
    height: 80.5px !important;
  }
  .area_box .ttl.two_line {
    top: -58px;
  }
}

.point {
  background: #FF9B52;
  border-radius: 20px;
  padding: 60px 20px 50px;
  margin-top: 80px;
}
.point .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 35px;
}
.point .txt {
  width: 100%;
  background: #fff;
  border-radius: 15px;
  border: 1.5px solid #000;
  padding: 25px 35px;
  font-size: 14px;
  position: relative;
  line-height: 1.63;
}
.point .txt::before {
  content: "";
  background: url(../img/job/balloon_wht.png) no-repeat center/contain;
  width: 20px;
  height: 15px;
  position: absolute;
  -webkit-transform: translateY(-50%) rotate(90deg);
          transform: translateY(-50%) rotate(90deg);
  top: 48%;
  left: -11px;
}
.point figure {
  width: 122px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: block;
}
.point figure span {
  border-radius: 50%;
  display: block;
  width: 104px;
  aspect-ratio: 1/1;
  margin: 0 auto 10px;
  overflow: hidden;
}
.point figure span img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.point figure figcaption {
  text-align: center;
  word-break: break-all;
}
@media screen and (max-width: 768px) {
  .point {
    border-radius: 0;
    padding: 82px 23px 33px;
  }
  .point .inner {
    display: block;
  }
  .point .txt {
    padding: 26px 30px;
    margin-bottom: 20px;
  }
  .point .txt::before {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    top: auto;
    left: 50%;
    bottom: -11px;
  }
  .point figure {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0 15px;
    width: calc(100% - 30px);
    margin: 0 auto;
  }
  .point figure span {
    margin: 0;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .point figure figcaption {
    font-size: 16px;
    text-align: left;
  }
}

.recommend {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 60px 20px 35px;
  margin-top: 117px;
}
@media screen and (max-width: 768px) {
  .recommend {
    border-radius: 0;
    padding: 45px 23px 53px;
    margin-top: 0;
  }
  .recommend .ttl {
    position: static;
    margin-bottom: 30px;
  }
}

.company_btn.org a {
  background: #FF6F2A;
  border-color: #FF6F2A;
}

.company_btn.ble a {
  background: #2E96FF;
  border-color: #2E96FF;
}

.company_btn.grn a {
  background: #23B16F;
  border-color: #23B16F;
}

.company_btn.red a {
  background: #DE2F2F;
  border-color: #DE2F2F;
}

.company_btn {
  width: min(100%, 590px);
  background: none;
  padding: 0;
  margin: 0 auto;
  font-size: 15px;
}
.company_btn:not(:last-of-type) {
  margin-bottom: 20px;
}
.company_btn a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 3px solid;
  border-radius: 20px;
  color: #fff;
  line-height: 1.57;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}
.company_btn a::before, .company_btn a::after {
  content: "";
  width: 25px;
  position: absolute;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  top: calc(100% - 20px);
  right: 20px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.company_btn a::before {
  border-top: 1px solid currentColor;
}
.company_btn a::after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2.5px 0 2.5px 5px;
  border-color: transparent transparent transparent currentColor;
}
.company_btn .ph {
  width: 230px;
  aspect-ratio: 1/0.648;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.company_btn .ph img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.company_btn p {
  width: 100%;
  padding: 0 20px;
  margin: 0;
  -ms-flex-line-pack: center;
      align-content: center;
}
@media screen and (min-width: 768px) {
  .company_btn a:hover {
    opacity: 1;
  }
  .company_btn a:hover::before, .company_btn a:hover::after {
    right: 10px;
  }
}
@media screen and (max-width: 768px) {
  .company_btn:not(:last-of-type) {
    margin-bottom: 15px;
  }
  .company_btn a {
    border-radius: 10px;
    font-size: 14px;
  }
  .company_btn a::before, .company_btn a::after {
    top: calc(100% - 15px);
    right: 12px;
  }
  .company_btn a::before {
    width: 18px;
  }
  .company_btn .ph {
    width: 48%;
  }
}

.other_job {
  background: #fff;
  border-radius: 20px;
  padding: 60px 20px 55px;
  margin-top: 117px;
}
.other_job .job {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 8px;
  margin-bottom: 13px;
  font-size: 17px;
  font-weight: 500;
}
.other_job .job::before {
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 45.36px;
  aspect-ratio: 1/1;
}
.other_job ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;
  padding: 0 5px;
}
.other_job ul li a {
  display: block;
  padding-left: 15px;
  font-size: 14px;
  position: relative;
}
.other_job ul li a::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid #F05A24;
  border-left: 0;
  border-bottom: 0;
  -webkit-transform: translate(-4.5px, -50%) rotate(45deg);
  transform: translate(-4.5px, -50%) rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0;
}
@media screen and (max-width: 768px) {
  .other_job {
    padding: 70px 23px 47px;
    margin-top: 98px;
  }
  .other_job ul {
    gap: 15px;
    padding: 0;
  }
}

aside {
  width: 240px;
  z-index: 2;
}
@media screen and (max-width: 900px) {
  aside {
    width: 100vw;
    padding: 40px 23px 70px;
    margin-top: 126px;
    margin-left: -23px;
    position: relative;
  }
}
@media screen and (max-width: 768px) {
  aside {
    padding: 35px 23px;
    margin-top: 0;
  }
}
aside .ttl {
  display: block;
  padding: 5px 0;
  margin: 10px auto 20px;
  width: 186px;
  height: 50px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  position: relative;
  -webkit-transform: rotate(3deg);
          transform: rotate(3deg);
}
aside .ttl::before, aside .ttl::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
}
aside .ttl::before {
  background: #000;
  -webkit-clip-path: polygon(5% 100%, 0% 0%, 100% 0%, 95% 100%);
          clip-path: polygon(5% 100%, 0% 0%, 100% 0%, 95% 100%);
  width: 100%;
  height: 100%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  top: 0;
}
@media screen and (min-width: 768px) {
  aside .ttl::before {
    border: 1px solid #FFF7F7;
  }
}
aside .ttl::after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 11px 0 0;
  border-color: #000 transparent transparent transparent;
  position: absolute;
  -webkit-transform: translate(-50%, 0) rotate(20deg);
          transform: translate(-50%, 0) rotate(20deg);
  bottom: -13px;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  aside .ttl {
    padding: 3px 0;
    width: 130px;
    height: 33px;
    font-size: 13px;
  }
  aside .ttl::after {
    border-width: 14px 9px 0 0;
    bottom: -11px;
  }
}
aside .ranking_list {
  display: block;
  margin: 35px auto 0;
  font-size: 14px;
  font-weight: 500;
  counter-reset: number 0;
  list-style: none;
}
aside .ranking_list li {
  position: relative;
}
aside .ranking_list li::before {
  content: counter(number) " ";
  counter-increment: number 1;
  color: #fff;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  font-size: 56px;
  font-weight: bold;
  line-height: 1;
  font-family: "Arial", "メイリオ";
  position: absolute;
  top: -26px;
  left: 18px;
  z-index: 1;
}
aside .ranking_list li:not(:last-child) {
  margin-bottom: 50px;
}
aside .ranking_list .ph {
  border-radius: 20px;
  border: 2.5px solid #000;
  -webkit-box-shadow: 3px 0 0 #000;
          box-shadow: 3px 0 0 #000;
  overflow: hidden;
  aspect-ratio: 1/0.74;
}
aside .ranking_list .ph img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
aside .ranking_list p {
  margin-top: 5px;
}
@media screen and (max-width: 900px) {
  aside .ranking_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 20px;
    margin: 0 auto;
  }
  aside .ranking_list li {
    width: 33.3333333333%;
  }
}
@media screen and (max-width: 768px) {
  aside .ranking_list {
    display: block;
  }
  aside .ranking_list li {
    width: 100%;
  }
  aside .ranking_list li::before {
    font-size: 36px;
    top: -18px;
    left: 13px;
  }
  aside .ranking_list li:not(:last-child) {
    margin-bottom: 25px;
  }
  aside .ranking_list a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  aside .ranking_list .ph {
    border-radius: 10px;
    border-width: 1.5px;
  }
  aside .ranking_list p {
    margin: 0;
  }
}

.bg2 {
  background: #000;
  -webkit-clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 100%);
  padding: 150px 23px 75px;
  position: relative;
  z-index: 1;
}
.bg2::before {
  content: "";
  background: #FFEA4B;
  width: 100%;
  height: 100%;
  z-index: -1;
  -webkit-clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
  position: absolute;
  top: 2.5px;
  left: 0;
}
.bg2 .btn {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .bg2 {
    padding: 65px 23px 45px;
    -webkit-clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%);
            clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%);
  }
  .bg2::before {
    -webkit-clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%);
            clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%);
    top: 1.5px;
  }
}