@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Roboto:wght@900&display=swap"); /* ---- main_visual ---- */

body {
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-weight: normal;
  font-feature-settings: "palt";
}
#career div.main_visual {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 56.25vw;
  /* ↑これは入れるか迷ってる */
  z-index: 2;
}
#career div.main_visual img {
  position: absolute;
  width: 71%;
  height: 100%;
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 100% 0%, 17% 0%);
  right: 0;
  object-fit: cover;
  z-index: -1;
}
#career div.main_visual::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -2;
}
#career div.main_visual h1 {
  position: absolute;
  left: 7%;
  top: 9vw;
}
#career div.main_visual h1 p {
  font-size: 7vw;
  font-weight: 500;
  width: fit-content;
  display: flex;
  flex-direction: column;
  color: #fff;
  align-items: flex-start;
  text-shadow: 0 0 0.1em #00000040;
}
#career div.main_visual h1 abbr {
  font-family: "Noto Sans JP", sans-serif;
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-size: clamp(12px, 2vw, 13px);
  font-family: "HondaGlobalFontENJP-ExBold", "Noto Sans JP", sans-serif;
  font-weight: 900;
  color: #ca0813;
  position: absolute;
  left: 0;
  transition-delay: 1.8s;
  width: 100%;
  bottom: -4em;
  text-shadow: 0 1px 4px #fff, 0 -1px 4px #fff;
}
/* ---- main_visual ---- */

/* ---- CEO ---- */
#career div.MESSAGE_FROM_CEO {
  margin: 150px auto 10%;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  z-index: 1;
}
#career div.MESSAGE_FROM_CEO::before {
  content: "CEO\A MESSAGE";
  font-family: "Roboto", sans-serif;
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-size: clamp(15px, 21vw, 385px);
  color: #d3d3d3;
  height: 3em;
  max-height: 1000px;
  font-family: "HondaGlobalFontENJP-ExBold", "Noto Sans JP", sans-serif;
  font-weight: 900;
  white-space: pre;
  margin-left: -0.1em;
  line-height: 0.9em;
  position: absolute;
  z-index: -1;
  top: -150px;
  opacity: 0.1;
  background: var(--careergrad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#career div.MESSAGE_FROM_CEO h3 {
  order: 1;
  width: 40%;
  text-align: right;
  font-size: 20px;
  padding: 0.75em 3em;
  background: #c00;
  color: #fff;
  font-family: "HondaGlobalFontENJP-ExBold", "Noto Sans JP", sans-serif;
  font-weight: 900;
  margin-right: 10%;
  height: fit-content;
  font-size: clamp(12px, 2vw, 13px);
}

#career div.MESSAGE_FROM_CEO h2 {
  order: 2;
  width: 50%;
  font-size: 4vw;
  font-size: clamp(20px, 4vw, 35px);
}
#career div.MESSAGE_FROM_CEO img {
  order: 3;
  width: 50%;
  object-fit: contain;
  margin-left: 0%;
  object-position: center;
  margin-bottom: -2%;
  max-height: 1000px;
}
#career div.MESSAGE_FROM_CEO div.message {
  order: 4;
  width: 50%;
  font-size: 1.8vw;
  padding: 1em;
  padding-right: 5vw;
  box-sizing: border-box;
  font-size: clamp(18px, 1.6vw, 18px);
}
#career div.MESSAGE_FROM_CEO div.message > p {
  font-weight: 400;
  line-height: 2;
  margin-bottom: 2em;
  max-width: 1000px;
}
#career div.MESSAGE_FROM_CEO div.message .CEO_post p {
  margin-bottom: 0.5em;
}
#career div.MESSAGE_FROM_CEO div.message .CEO_post b {
  font-size: 3.2vw;
  font-size: clamp(20px, 3.2vw, 30px);
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: 700;
}
/* ---- CEO ---- */

/* ---- five_MINUTES ---- */
#career .five_MINUTES {
  height: 100vw;
  padding: 20% 15%;
  background-image: url(/HMJ/recruit/images/5min_bg.jpg),
    linear-gradient(
      to left,
      #07173240 0%,
      #07173240 22%,
      #2d4b8740 72%,
      #507bd540 100%
    );
  background-position: 60% 80%;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: luminosity;
  max-height: 100vh;
  height: unset;
  padding: 0 15%;
  padding-top: 10%;
  padding-bottom: calc(10vw + 10vh);
  position: relative;
  z-index: 5;
}
#career .five_MINUTES h3 {
  font-size: 2vw;
  color: #c00;
  font-family: "Lato", sans-serif;
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 13px);
}
#career .five_MINUTES h2 {
  font-size: 4vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 0.7em;
  font-size: clamp(20px, 4vw, 35px);
}
#career .five_MINUTES p {
  font-size: 1.8vw;
  color: #000;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 2em;
  font-size: clamp(18px, 1.6vw, 18px);
}
#career .five_MINUTES a.top_button_01 {
  font-size: 2vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1;
  padding: 1.3em 2em 1.3em 2em;
  border: 0.1em solid #000;
  border-radius: 10em;
  display: inline-block;
  position: relative;
  font-size: clamp(18px, 1.6vw, 18px);
  transition: 0.2s cubic-bezier(0, 0, 1, 1);
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-gap: 1em;
  max-width: 500px;
  justify-content: space-between;
  z-index: 2;
}
#career .five_MINUTES a.top_button_01::after {
  position: relative;
  content: "";
  width: 2.5em;
  height: 0.6em;
  background-image: url(/HMJ/recruit/images/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  color: #000;
  min-width: 2.5em;
}
#career .five_MINUTES a.top_button_01:hover {
  scale: 1.05;
  z-index: 5;
  color: unset !important;
  text-decoration: unset;
}
/* ---- five_MINUTES ---- */

/* ---- INTERVIEW ---- */
#career .INTERVIEW {
  padding: 20% 15%;
  background: unset;
  position: relative;
  padding: 0 15%;
  z-index: 2;
  margin: 10% 0;
}

#career .INTERVIEW h3 {
  font-size: 2vw;
  color: #c00;
  font-family: "Lato", sans-serif;
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 13px);
}
#career .INTERVIEW h2 {
  font-size: 4vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 0.7em;
  font-size: clamp(20px, 4vw, 35px);
}
#career .INTERVIEW p {
  font-size: 1.8vw;
  color: #000;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 2em;
  font-size: clamp(18px, 1.6vw, 18px);
}
#career .INTERVIEW a.top_button_02 {
  font-size: 2vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1;
  padding: 1.3em 2em 1.3em 2em;
  border-radius: 10em;
  position: relative;
  font-size: clamp(18px, 1.6vw, 18px);
  transition: 0.2s cubic-bezier(0, 0, 1, 1);
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-gap: 1em;
  max-width: 500px;
  justify-content: space-between;
  background-color: #fff;
  margin: 0 auto;
  box-shadow: 0 5px 20px #00000026;
}
#career .INTERVIEW a.top_button_02::after {
  position: relative;
  content: "";
  width: 2.5em;
  height: 0.6em;
  background-image: url(/HMJ/recruit/images/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  color: #000;
  min-width: 2.5em;
}
#career .INTERVIEW a.top_button_02:hover {
  scale: 1.05;
  z-index: 5;
  color: unset !important;
  text-decoration: unset;
}
#career div.INTERVIEW::before {
  content: "INTER\A VIEW";
  font-family: "Roboto", sans-serif;
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-size: clamp(15px, 21vw, 385px);
  color: #d3d3d3;
  font-family: "HondaGlobalFontENJP-ExBold", "Noto Sans JP", sans-serif;
  font-weight: 900;
  white-space: pre;
  margin-left: -0.1em;
  line-height: 0.9em;
  position: absolute;
  z-index: 0;
  top: -5vw;
  opacity: 0.12;
  right: -0.1em;
  text-align: right;
  background: var(--careergrad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ---- INTERVIEW ---- */

/* ---- RECRUIT_INFO ---- */
#career .RECRUIT_INFO {
  padding: 10% 15%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  background-blend-mode: soft-light;
  position: relative;
}
#career .RECRUIT_INFO h3 {
  font-size: 2vw;
  color: #c00;
  font-family: "Lato", sans-serif;
  font-family: "HondaGlobalFontJP-Regular", sans-serif;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 13px);
}
#career .RECRUIT_INFO h2 {
  font-size: 4vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 0.7em;
  font-size: clamp(20px, 4vw, 35px);
}
#career .RECRUIT_INFO p {
  font-size: 1.8vw;
  color: #000;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 2em;
  font-size: clamp(18px, 1.6vw, 18px);
}
#career .RECRUIT_INFO .more_hmj {
  display: flex;
  justify-content: center;
  grid-gap: 1em;
  flex-wrap: wrap;
}
#career .RECRUIT_INFO a {
  font-size: 2vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1;
  padding: 2em 1em;
  border-radius: 1em;
  background: #fff;
  display: inline-block;
  position: relative;
  font-size: clamp(18px, 1.6vw, 18px);
  width: 32%;
  transition: 0.2s cubic-bezier(0, 0, 1, 1);
  box-shadow: 0.2em 0.2em 0 #a8babb4d;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-width: 200px;
  max-width: 400px;
}
#career .RECRUIT_INFO a:first-child::after {
  position: relative;
  content: "";
  width: 1em;
  height: 0.7em;
  background-image: url(/HMJ/recruit/images/right_angle_bracket_symbol.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color: #000;
}
#career .RECRUIT_INFO a.external_links::after,
#career .RECRUIT_INFO a:nth-child(2):after {
  position: relative;
  content: "";
  width: 1em;
  height: 0.7em;
  background-image: url(/HMJ/recruit/images/external_links.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color: #000;
}

x#career .RECRUIT_INFO a:nth-child(3) {
  background: #f5f5f5;
  color: #a9a9a9;
}
x#career .RECRUIT_INFO a:nth-child(3):after {
  position: relative;
  content: "Coming soon";
  font-size: 0.5em;
  color: #a9a9a9;
}
#career .RECRUIT_INFO a:hover {
  scale: 1.05;
  z-index: 5;
  color: unset !important;
  text-decoration: unset;
}
#career .RECRUIT_INFO a.nolink:hover {
  scale: 1;
  z-index: 5;
  color: #a9a9a9 !important;
  text-decoration: unset;
}

/* ---- RECRUIT_INFO ---- */

/* ---- NEWS ---- */
#career .NEWS {
  padding: 10% 15%;
  background-color: #ffffff;
}

#career .NEWS h3 {
  font-size: 2vw;
  color: #c00;
  font-family: "Lato", sans-serif;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 13px);
  text-align: center;
}
#career .NEWS h2 {
  font-size: 4vw;
  color: #000;
  font-family: "HondaGlobalFontJP-Bold","Noto Sans JP", sans-serif;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 0.7em;
  font-size: clamp(20px, 4vw, 35px);
  text-align: center;
}
#career .NEWS p {
  font-size: 1.8vw;
  color: #000;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 2em;
  font-size: clamp(18px, 1.6vw, 18px);
}

#career .NEWS ul li a {
  display: flex;
  margin-bottom: 1em;
  padding-bottom: 1em;
  position: relative;
}

#career .NEWS ul li a p {
  margin-bottom: unset;
  width: calc(100% - 9em);
}

#career .NEWS ul li a p:first-child {
  width: 9em;
}
#career .NEWS a:hover {
  scale: 1;
  z-index: 5;
  text-decoration: unset;
}

/* ---- NEWS ---- */

@media screen and (max-width: 1000px) {
  #career div.MESSAGE_FROM_CEO {
    margin-top: 100px;
    flex-direction: column;
  }
  #career div.MESSAGE_FROM_CEO::before {
    top: -100px;
  }
  #career div.MESSAGE_FROM_CEO h3 {
    width: 70%;
    padding: 0.75em 1em;
    max-width: 500px;
    font-size: clamp(12px, 2vw, 13px);
    margin: unset;
  }
  #career div.MESSAGE_FROM_CEO img {
    width: 90%;
    margin: 0 auto;
    max-width: 500px;
  }
  #career div.MESSAGE_FROM_CEO h2 {
    font-size: clamp(24px, 5vw, 35px);
    width: 100%;
    text-align: center;
    padding: 1em;
  }
  #career div.MESSAGE_FROM_CEO div.message {
    width: 100%;
    font-size: 16px;
  }
  #career div.MESSAGE_FROM_CEO div.message .CEO_post {
    text-align: right;
  }
  #career div.MESSAGE_FROM_CEO div.message .CEO_post b {
    font-size: 24px;
  }
  #career .five_MINUTES {
    padding: 16% 5%;
  }
  #career div.INTERVIEW {
    padding: 0 5%;
  }
  #career .RECRUIT_INFO {
    padding: 10% 5%;
  }
  #career .INTERVIEW p {
    font-size: clamp(15px, 1.4vw, 17px);
  }
}

@media screen and (max-width: 500px) {
  #career div.main_visual {
    min-height: calc(100vh - 130px);
  }
  #career div.main_visual::before {
    height: calc(100% - 3vw - 76px);
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 100% 75%, 0% 100%);
    width: 100%;
  }
  #career div.main_visual img {
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 100% 0%, 0% 15vh);
    object-position: 60% 50%;
    top: unset;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 43vw - 130px);
  }
  #career div.main_visual h1 p {
    font-size: 11.5vw;
    line-height: 1.2;
  }
  #career .NEWS ul li a {
    flex-direction: column;
  }
  #career .NEWS ul li a p:first-child {
    line-height: 1em;
    padding-bottom: 0.5em;
  }
  #career .NEWS ul li a p {
    width: 100%;
    line-height: 1.6;
  }
  #career div.INTERVIEW::before {
    top: 0;
  }
}

#career .NEWS ul li a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.1em;
  background: var(--careergrad);
  bottom: 0;
}
#career div.main_visual::before {
  background: linear-gradient(
    -75deg,
    #071732 0%,
    #071732 50%,
    #2d4b87 75%,
    #507bd5 100%
  );
}
#career .RECRUIT_INFO {
  background-image: url(/HMJ/recruit/images/recruit_info_bg.jpg),
    linear-gradient(
      -75deg,
      #07173240 0%,
      #07173240 22%,
      #2d4b8740 72%,
      #507bd540 100%
    );
}
