li {
  list-style: none;
}
* {
  margin: 0;
  padding: 0;
}

*,
:after,
:before {
  background-repeat: no-repeat;
  box-sizing: inherit;
}

header {
  position: fixed;
  inset: 0;
  background-color: white;
  border-radius: 84px;
  max-width: 1338px;
  margin: 24px auto 0;
  height: 84px;
  padding: 16px 40px;
  z-index: 10000;
  box-shadow: 0 4px 10px #c9c9c4;
  line-height: 52px;
  box-shadow: 0px 4px 10px 0px rgba(127, 3, 3, 0.25);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo h1 {
  line-height: 1px;
}
.logo a {
  display: block;
}
.logo a img {
  width: 180px;
  vertical-align: middle;
  padding-top: 8px;
}
.logo a {
  line-height: 0;
}
.header__nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav a {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  display: block;
}
.header__nav a:hover {
  color: #d7003a;
}
.header__nav .link-none:hover {
  color: #000000;
}
.header__nav .header__list-of-job a {
  color: white;
  font-size: 16px;
  background-color: #d7003a;
  border-radius: 24px;
  height: 52px;
  padding: 12px 48px;
  transition: all 0.2s ease;
  display: inline;
}
.header__nav .header__list-of-job a:hover {
  background-color: #434343;
}
.header__toggle {
  display: none;
}
.header__sp-nav {
  display: none;
  position: fixed;
}
.header__checkbox {
  display: none;
}

@media screen and (max-width: 1400px) {
  header {
    margin: 24px 20px 0;
  }
  .logo a img {
    width: 200px;
    padding-top: 6px;
  }
  .header__nav ul {
    gap: 20px;
  }
  .header__nav ul li a {
    font-size: 14px;
  }
  .header__nav .header__list-of-job a {
    color: white;
    font-size: 16px;
    background-color: #d7003a;
    border-radius: 24px;
    height: 52px;
    padding: 12px 38px;
  }
}
@media screen and (max-width: 1260px) {
  header {
    max-width: 1260px;
    margin: 20px 20px 0;
    padding: 0;
    position: fixed;
    z-index: 10000;
  }
  .header__inner {
    padding: 8px 30px;
    position: relative;
    height: 100%;
  }
  .logo {
    position: relative;
  }
  .logo a img {
    width: 260px;
    vertical-align: middle;
    padding: 0;
  }
  .header__nav {
    display: none;
  }
  .header__checkbox,
  .header__btn {
    position: fixed;
    top: 45px;
    right: 40px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
  }
  .header__btn {
    background-color: #d7003a;
    z-index: 10000;
  }
  .header__checkbox {
    opacity: 0;
    display: block;
    z-index: 100000;
  }
  .header__btn span {
    position: absolute;
    width: 16px;
    height: 1px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.2s ease;
  }
  .header__btn span:nth-of-type(1) {
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
  }
  .header__btn span:nth-of-type(2) {
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
  }
  .header__btn span:nth-of-type(3) {
    top: 21px;
    left: 50%;
    transform: translateX(-50%);
  }
  .header__checkbox:checked ~ .header__btn span:nth-of-type(1) {
    transform: translate(-8px, 4px) rotate(-45deg);
  }
  .header__checkbox:checked ~ .header__btn span:nth-of-type(2) {
    opacity: 0;
  }
  .header__checkbox:checked ~ .header__btn span:nth-of-type(3) {
    transform: translate(-8px, -4px) rotate(45deg);
  }

  .header__sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    z-index: -1;
    display: block;
    background-color: #f2f2f2;
    padding: 145px 52px 0 24px;
    transition: all 0.2s ease;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    overflow-y: scroll;
    padding-bottom: 120px;
  }
  .header__checkbox:checked ~ .header__sp-nav {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .header__sp-nav a:hover {
    color: #d7003a;
  }
  .header__sp-nav .link-none:hover {
    color: #000000;
  }
  .header__sp-nav a {
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    line-height: 175%;
  }
  .header__sp-nav .header__list-of-job {
    margin-top: 32px;
  }
  .header__sp-nav .header__list-of-job a {
    color: white;
    font-size: 16px;
    background-color: #d7003a;
    border-radius: 24px;
    height: 52px;
    padding: 12px 48px;
    transition: all 0.2s ease;
  }
  .header__sp-nav .header__list-of-job a:hover {
    background-color: #434343;
  }
  .header__accordion-head {
    position: relative;
  }
  .header__accordion-head::after {
    content: url("https://career.members.co.jp/img/header-arrow.svg");
    position: absolute;
    display: block;
    top: 0px;
    right: 8px;
    width: 4.5px;
    height: 9px;
    transform: rotate(0deg);
  }
  .header__accordion-head {
    display: block;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 175%;
    position: relative;
    width: 100%;
  }
  .header__accordion-head p {
    line-height: 175%;
  }
  .header__accordion-body {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
  }
  .header__nav-item .header__accordion-body li {
    margin-bottom: 12px;
  }
  .header__nav-item .header__accordion-body li a {
    font-size: 14px;
    font-weight: 400;
  }
  .header__toggle:checked ~ .header__accordion-body {
    height: auto;
  }
  .header__toggle:checked ~ .header__accordion-head::after {
    top: 20px;
    right: 0px;
    transform: rotate(180deg);
  }
  .header__toggle:checked ~ .header__accordion-body {
    margin-top: 16px;
  }
  .not-accordion li {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 768px) {
  header {
    height: 52px;
  }
  .header__inner {
    padding: 8px 20px;
  }
  .logo a img {
    width: 200px;
    vertical-align: middle;
    padding: 0;
  }
  .header__checkbox,
  .header__btn {
    position: fixed;
    top: 28px;
    right: 40px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
  }
  .header__sp-nav {
    padding-top: 112px;
  }
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  padding-top: 118px;
  font-family: "Noto Sans JP", sans-serif;
  background-color: #f2f2f2;
}
.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #000000;
}
img {
  width: 100%;
}

.mainvisual {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.breadcrumb {
  max-width: 1300px;
  margin: 0 auto 55px;
  padding: 0 40px;
  display: flex;
  gap: 3px;
  padding-top: 30px;
}
.breadcrumb span {
  color: #d7003a;
}
.breadcrumb__link {
  color: #d7003a;
  text-decoration: underline;
}
.current__link {
  text-decoration: underline;
}
.background-text {
  font-family: "Montserrat";
  position: absolute;
  font-size: 300px;
  font-weight: 700;
  color: #fbfbfb;
  top: -140px;
  left: 380px;
  z-index: 1;
}
.red-circle {
  font-size: 20px;
  font-weight: 700;
  font-family: "Montserrat";
  color: #d7003a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
  z-index: 2;
}
.red-circle::before {
  content: "";
  position: absolute;
  left: 0px;
  top: calc(50% - 7px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #d7003a;
}
.mainvisual h1 {
  font-size: 56px;
  font-weight: 700;
  color: #000000;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}
.mainvisual__text {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-bottom: 60px;
}
.mainvisual__text p {
  margin-bottom: 0;
  line-height: 1.8;
}

@media screen and (max-width: 1020px) {
  .breadcrumb {
    padding-left: 40px;
  }
  .mainvisual {
    max-width: 805px;
    margin: 0 auto;
    padding-left: 40px;
  }
  .red-circle {
    font-size: 20px;
    font-weight: 700;
    color: #d7003a;
    font-weight: 700;
    margin-left: 20px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 10px;
  }
  .red-circle::before {
    content: "";
    position: absolute;
    left: -10px;
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d7003a;
  }
  .mainvisual h1 {
    font-size: 40px;
    font-weight: 700;
  }
}

@media screen and (max-width: 768px) {
  body {
    /* ★ SPヘッダー分 (52px + 20px margin) */
    padding-top: 72px;
  }
  .breadcrumb {
    display: none;
  }
  .mainvisual {
    max-width: 100%;
    margin: 0;
    padding: 30px 20px;
  }
  .background-text {
    font-size: 64px;
    top: 0;
    left: 120px;
  }
  .red-circle {
    font-size: 16px;
    margin-left: 20px;
    margin-bottom: 16px;
  }
  .red-circle::before {
    left: -20px;
    top: calc(50% - 6.5px);
    width: 12px;
    height: 12px;
  }
  .mainvisual h1 {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .mainvisual__text {
    font-size: 13px;
    padding-bottom: 0;
  }
}
