/* midcareer共通 */

/* ========================================================================== */
/* header */
/* ========================================================================== */
.career-header {
  height: 100px;
  align-items: flex-start;
  padding-top: 15px;
}

@media screen and (min-width: 768px) {
  .career-header {
    align-items: center;
    padding-top: 0;
  }
}

.container-nav a p {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0d3955;
}

.container-nav a:hover:active p {
  background-color: rgba(0, 122, 255, 0.1);
  color: #09283b;
  border-radius: 4px;
}

@media (hover: hover) {
  .container-nav a:hover p {
    text-decoration: underline;
  }
}

.sp-nav-menu-midcareer {
  top: 97px;
}

.border-none {
  border: none;
}

.subhead-header {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .subhead-header {
    top: 50%;
    left: clamp(430px, 55.4vw, 465px);
    transform: translate(0, -50%);
  }
}

.container-subhead {
  background-color: #0d3955;
  padding: 5px clamp(15px, 2vw, 25px);
}

.container-subhead p {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .container-subhead {
    font-size: 1.6rem;
  }
}

/* ========================================================================== */
/* end header */
/* ========================================================================== */

/* ========================================================================== */
/* FV */
/* ========================================================================== */
.plus-padding {
  padding-top: 100px;
}

@media screen and (min-width: 768px) {
  .main-catch-midcareer-01 {
    left: 60%;
    bottom: 37%;
  }

  .main-catch-midcareer-02 {
    left: 60%;
    bottom: 15%;
  }

  .main-catch-midcareer-03 {
    left: 60%;
    bottom: 55%;
  }
}

/* ========================================================================== */
/* end FV */
/* ========================================================================== */

/* ========================================================================== */
/* anker */
/* ========================================================================== */

.sleepcounselor-grid {
  width: 90%;
  grid-template-columns: 1fr 1fr;
}

@media screen and (min-width: 768px) {
  .sleepcounselor-grid {
    width: auto;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media screen and (min-width: 1024px) {
  .sleepcounselor-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}

/* ========================================================================== */
/* end anker */
/* ========================================================================== */

/* ========================================================================== */
/* personnnel */
/* ========================================================================== */

.container-personnel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 10px;
  margin-bottom: 50px;
}

@media screen and (min-width: 640px) {
  .container-personnel {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.box-personnel-detail {
  background-color: #f2f2f2;
  padding: 25px;
}

@media screen and (min-width: 640px) {
  .box-personnel-detail {
    padding: 40px;
  }
}

.box-personnel-detail h3 {
  font-size: clamp(1.8rem, 1.87vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #0d3955;
  margin-bottom: 10px;
}

.box-personnel-detail p {
  font-size: clamp(1.4rem, 1.4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
  white-space: pre-wrap;
}

/* ========================================================================== */
/* end personnel */
/* ========================================================================== */

/* ========================================================================== */
/* career wrapper */
/* ========================================================================== */
.wrapper-midcareer {
  width: 92%;
  margin: 0 auto;
}

/* ========================================================================== */
/* end career wrapper */
/* ========================================================================== */

/* ========================================================================== */
/* midcareer_d 暫定css */
/* ========================================================================== */
.btn-sleep_d p {
  font-size: 1.3rem;
}

@media screen and (min-width: 640px) {
  .btn-sleep_d p {
    font-size: clamp(1.4rem, 1.3vw, 1.6rem);
  }
}

.btn-sleep_d a::before,
.btn-sleep_d a::after {
  right: 12px;
}

@media screen and (min-width: 1280px) {
  .btn-sleep_d a::before,
  .btn-sleep_d a::after {
    right: 20px;
  }
}

/* ========================================================================== */
/* end FV */
/* ========================================================================== */

/* ========================================================================== */
/* recruit */
/* ========================================================================== */

.wrapper-midcareer-recruit {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .wrapper-midcareer-recruit {
    width: 93%;
  }
}

.content-recruit-padding {
  padding-bottom: 10px;
  padding-right: 0;
}

@media screen and (min-width: 768px) {
  .content-recruit-padding {
    padding-right: 5px;
  }
}

.container-midcareer-recruit {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-midcareer-recruit h3 {
  font-size: 2.0rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #808080;
  padding-left: 10px;
}

@media screen and (min-width: 640px) {
  .container-midcareer-recruit h3 {
    font-size: 2.8rem;
    padding-left: 30px;
  }
}

@media screen and (min-width: 768px) {
  .container-midcareer-recruit h3 {
    padding-left: 45px;
  }
}

.btn-readmore {
  width: 200px;
}

@media screen and (min-width: 768px) {
  .btn-readmore {
    width: 270px;
  }
}

.container-recruit-detail {
  height: 0;
  margin-top: 10px;
  overflow: hidden;
}

.box-recruit-detail {
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  padding: 25px 0;
}

.box-recruit-detail:last-of-type {
  border-bottom: none;
}

@media screen and (min-width: 640px) {
  .box-recruit-detail {
    font-size: 2.8rem;
    flex-direction: row;
    gap: 50px;
  }
}

.box-recruit-detail h4 {
  min-width: 165px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #567588;
  padding-left: 0;
}

@media screen and (min-width: 640px) {
  .box-recruit-detail h4 {
    font-size: 2.0rem;
    padding-left: 30px;
  }
}

.box-recruit-detail p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #4d4d4d;
  white-space: pre-wrap;
  padding-left: 0;
}

@media screen and (min-width: 640px) {
  .box-recruit-detail p {
    font-size: 1.6rem;
    line-height: 1.7;
    padding-left: 20px;
  }
}

/* ========================================================================== */
/* end recruit */
/* ========================================================================== */

/* ========================================================================== */
/* entry */
/* ========================================================================== */

.space-entry-top,
.space-entry-bottom {
  width: 100%;
}

.space-entry-top {
  height: 0;
}

@media screen and (min-width: 768px) {
  .space-entry-top {
    height: 80px;
  }
}

.space-entry-bottom {
  height: 50px;
}

@media screen and (min-width: 768px) {
  .space-entry-bottom {
    height: 200px;
  }
}

.wrapper-midcareer-entry {
  position: relative;
  height: 100px;
}

@media screen and (min-width: 768px) {
  .wrapper-midcareer-entry {
    height: 140px;
  }
}

.container-midcareer-entry {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(222, 237, 245, 0.8);
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 5;
  will-change: transform;
}

@media screen and (min-width: 768px) {
  .container-midcareer-entry {
    height: 140px;
  }
}

.btn-element {
  position: relative;
  display: inline-block;
  background-color: #fff;
  border: 1px solid #567588;
  border-radius: 8px;
  padding: 15px 45px 15px 25px;
  transition: background-color 0.4s ease, transform 0.4s ease;
}

.btn-element:hover:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .btn-element:hover {
    background-color: #e6e6e6;
  }
}

@media screen and (min-width: 768px) {
  .btn-element {
    padding: 20px 135px 20px 85px;
  }
}

.btn-element::before,
.btn-element::after {
  content: '';
  position: absolute;
  right: 20px;
  width: 12px;
  height: 2px;
  margin: auto;
  background: #0d3955;
}

@media screen and (min-width: 768px) {
  .btn-element::before,
  .btn-element::after {
    right: 90px;
    width: 20px;
    height: 3px;
  }
}

.btn-element::before {
  top: 26px;
  transform: rotate(35deg);
}

@media screen and (min-width: 768px) {
  .btn-element::before {
    top: 35.5px;
  }
}

.btn-element::after {
  bottom: 26px;
  transform: rotate(-35deg);
}

@media screen and (min-width: 768px) {
  .btn-element::after {
    bottom: 35.5px;
  }
}

.btn-element p {
  font-size: 2.0rem;
  font-weight: 500;
  color: #567588;
}

@media screen and (min-width: 768px) {
  .btn-element p {
    font-size: 3.0rem;
  }
}

/* ========================================================================== */
/* end entry */
/* ========================================================================== */