* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: source-han-serif-japanese, serif;
  letter-spacing: 0.08rem;
  background: #ffffff;
  color: #333;
}

main {
  max-width: 2000px;
  margin: auto;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #333;
}

img,
video {
  object-fit: cover;
}

:root {
  --accent-color: #c4291c;
  --secondary-color: #faf7f2;
  --border-color: #afacac;
}

.container {
  width: 80%;
  max-width: 1100px;
  margin: auto;
}

.link_hover {
  transition: color 0.1s ease-in-out;
}

.link_hover:hover {
  color: rgba(51, 51, 51, 60%);
}

.btn {
  font-family: noto-sans, sans-serif;
  letter-spacing: 0.02rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
}

.btn_dot {
  position: relative;
  padding-left: 1rem;
}

.btn_dot:before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.btn_dot:hover:before {
  transform: translateY(-50%), scale(1);
  border: solid 1px #333;
  background: #ffffff;
}

/* ----------     sticky nav     ---------- */
header {
  background: #ffffff;
  height: 6.25rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

#header_container {
  width: 100%;
  height: 100%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

#logo {
  height: 70%;
  position: relative;
}

#logo img {
  height: 100%;
}

nav {
  height: 6.25rem;
}

nav > ul {
  display: flex;
}

nav > ul > li {
  margin-left: 3.5rem;
}

.nl_box {
  font-size: 1.25rem;
  line-height: 6.25rem;
}

.nl_box:hover {
  cursor: pointer;
}

#wu_nl,
#ini_nl {
  position: relative;
}

.nav_dot:after {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent-color);
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
}

#wu_nl:hover .nav_dot:after,
#ini_nl:hover .nav_dot:after {
  transform: translateX(-50%), scale(1);
  border: solid 1px #333333;
  background: #ffffff;
}

.nav_dropdown {
  word-break: keep-all;
  font-family: noto-sans, sans-serif;
  font-weight: 600;
  height: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 25px 0 rgba(51, 51, 51, 0.5);
  text-align: center;
  position: absolute;
  top: 6.25rem;
  left: 50%;
  transform: translateX(-50%);
  transition: height 0.3s ease-in-out;
}

#wu_nl:hover .wu_nd {
  height: 16rem;
  transition: height 0.3s ease-in-out 0.2s;
}

#ini_nl:hover .ini_nd {
  height: 10rem;
  transition: height 0.3s ease-in-out 0.2s;
}

.wu_nd ul {
  margin: 2rem;
}

.ini_nd ul {
  margin: 2.5rem 3.5rem;
}

.nav_dropdown li {
  margin: 1.8rem 0rem;
}

.mrg_left {
  margin-left: 0.6rem;
}

.dd_hover {
  transition: all 0.2s ease-in-out;
}

.dd_hover:hover {
  color: var(--accent-color);
}

.nv_lecture {
  color: rgba(51, 51, 51, 0.5);
}

#hamburger_menu {
  display: none;
}

/*      title      */
#partnerships p {
  font-family: noto-sans, sans-serif;
  text-align: justify;
  font-weight: 300;
}

section {
  margin-bottom: 12rem;
}

#recruit_title {
  padding-left: 2rem;
  position: relative;
  margin: 12rem 0 8rem;
}

#recruit_title:before {
  content: "";
  width: 3px;
  height: 100%;
  background: var(--accent-color);
  position: absolute;
  top: 0;
  left: 0;
}

.jpns_title {
  font-weight: normal;
  font-size: 1.125em;
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
}

.eng_title {
  font-family: minion-pro, serif;
  font-weight: normal;
  font-size: 3.5em;
  line-height: 3.5rem;
  margin-bottom: 2.5rem;
}

#recruit_title p {
  font-size: 1rem;
  line-height: 2rem;
  text-align: justify;
}

#title_wrapper {
  overflow: hidden;
}

#recruit_title h1,
#recruit_title h2 {
  transform: matrix(1, 0, 0, 1, 0, 100);
  animation: fadeup1 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeup1 {
  0% {
    transform: matrix(1, 0, 0, 1, 0, 100);
  }
  100% {
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

.subtitle {
  text-align: left;
  margin-bottom: 5rem;
  letter-spacing: 0.2rem;
}

.subtitle h3 {
  color: var(--accent-color);
  font-size: 1.25em;
  margin-bottom: 1rem;
}

.subtitle h4 {
  font-family: minion-pro, serif;
  font-weight: normal;
  font-size: 2.5em;
  line-height: 3.5rem;
}

/* ----------     partnerships     ---------- */
#cad_pro {
  display: flex;
  justify-content: space-between;
}

#cadpro_imgbox {
  width: 45%;
  height: 18rem;
  margin-top: auto;

  overflow: hidden;
}

#cadpro_imgbox img {
  width: 100%;
  height: 100%;
  object-position: 60% 50%;

  opacity: 0;
  transform: scale(1.2);
  animation: zoomout 0.8s cubic-bezier(0.58, 0.21, 0.91, 0.68) forwards;
}

@keyframes zoomout {
  from {
    opacity: 0;
    transform: scale(1.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#cadpro_texts {
  width: 50%;
}

#ba {
  margin-top: 10rem;
}

.ba_subtitle {
  margin-bottom: 2rem;
}

.babox_wrapper {
  overflow: hidden;
}

.ba_box {
  margin-top: 5rem;
  position: relative;
  transform: translateY(230px);
}

.ba_box::before {
  color: rgba(51, 51, 51, 5%);
  font-family: minion-pro, serif;
  font-size: 5rem;
  font-weight: 600;

  position: absolute;
  top: -5.1rem;
  right: 0;
  z-index: -2;
}

.outsourcing::before {
  content: "Outsoursing";
}

.matching::before {
  content: "Matching";
}

.fadeup {
  animation: fadeup2 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeup2 {
  0% {
    transform: translateY(230px);
  }
  100% {
    transform: translateY(0);
  }
}

.ba_texts {
  width: 100%;
  background: var(--secondary-color);
  border-radius: 20px;
  padding: 3rem;
}

.ba_texts h5 {
  font-family: noto-sans, sans-serif;
  margin-bottom: 2rem;
}

/* ----------      recruit     ---------- */
#jobd_imgbox {
  width: 100%;
  margin: auto;
  height: 30rem;
  overflow: hidden;
}

#jobd_imgbox img {
  width: 100%;
  height: 100%;
  object-position: 100% 30%;

  opacity: 0;
  transform: scale(1.2);
  animation: zoomout 0.8s cubic-bezier(0.58, 0.21, 0.91, 0.68) forwards;
}

.jobd_container {
  margin-top: 5rem;
}

.jobd_container .subtitle {
  text-align: center;
}

#info_table {
  width: 100%;
  text-align: left;
  font-size: 1.5rem;
  border-spacing: 0;
}

th[colspan] {
  font-size: 2rem;
}

#info_table th,
#info_table td {
  border-bottom: solid 1px var(--border-color);
}

#info_table th {
  width: 23%;
  font-weight: normal;
  letter-spacing: 0.2rem;
  padding: 1.25rem 0 1.25rem 1rem;
}

#info_table td {
  padding: 1.25rem 1rem 1.25rem 2rem;
  text-align: justify;
}

.underline {
  border-bottom: solid 1px var(--border-color);
  padding-bottom: 0.2rem;
}

/* ----------    contact     ---------- */
#contact {
  background: #ffffff;
  padding: 6rem 0;
  margin: 0;
  border-top: solid 1px var(--border-color);
}

.contact_container {
  display: flex;
  align-items: stretch;
}

.contact_el {
  width: 100%;
}

.contact_intro {
  padding: 1rem 6rem 1rem 0;
}

#contact_br {
  display: none;
}

#contact_title {
  padding-bottom: 4rem;
}

#contact_title > .jpns_title {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 0.9em;
  margin-bottom: 1rem;
}

#contact_title > .eng_title {
  font-size: 3em;
  font-weight: normal;
  line-height: 1em;
}

#contact_texts {
  font-family: noto-sans, sans-serif;
  font-weight: 300;
  line-height: 2rem;
}

.contact_info {
  text-align: center;
  position: relative;
}

.contact_info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--border-color);
}

.ci_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact_btn,
#phone_number {
  padding-top: 3rem;
}

.contact_icon p {
  padding-top: 1.5rem;
}

/* ----------     footer     ---------- */
#footer {
  background: #333333;
  color: #ffffff;
  padding: 4rem 0;
}

.footer_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#footer_info p {
  line-height: 2rem;
}

#brains {
  font-weight: bold;
  letter-spacing: 0.15rem;
  padding-bottom: 1.8rem;
}

.sns_icons ul {
  display: flex;
  justify-content: space-around;
}

.sns_icons i {
  color: #ffffff;
  transition: color 0.3s ease-in-out;
}

.sns_icons p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
}

.sns_icons .yt_icon:hover {
  color: #da1725;
}

.insta_icon:hover {
  color: #cf2e92;
}

.fb_icon:hover {
  color: #1877f2;
}
