:root {
  --red-orange: #e8544a;
  --orange: #F65D38;
  --green: #002a11;
  --tr-green: #002a12b0;
  --beige: #fff9e9;
  --yellow: #ffdb44;
  --light-yellow: #fff0cb;
  --mid-yellow: #ffdc5fc1;
  --deep-yellow: #f4cc24;
  --tr-pink: #e5481d8f;
  --light-pink: #fff4f1;
  --pink: #e74291;
  --tr-pink2: #e74291a8;
  --white: #f2f2f2;
  --pure-white: #ffffff;
  --white-gray: #f5f8fa;
  --black: #333333;
  --blue: #33475b;
  --deep-blue: #120e6a;
  --light-blue: #ecf6fc;
  --mid-blue: #e9f2ff;
  --tr-blue: #437cd7b5;
  --tr-deep-blue: #06016a96;
  --red: #ff0000;
  --mid-red: #f72d3c;
  --deep-red: #c91623;
  --font-family-pr: "Noto Sans JP", "游ゴシック", "Yu Gothic", "游ゴシック体",
    "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    "Meiryo", "MS Pゴシック", "MS PGothic", Arial, sans-serif;
  --h1: 50px;
  --h2: 30px;
  --h3: 20px;
  --h4: 17px;
  --p: 14px;
  --font-weight-b: bold;
  --lp-sec-padding: 100px 4%;
}

/* header */
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 5px rgb(0 0 0 / 10%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}
.header-contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 12px;
}
.header-contents .header-btn-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 310px;
}
.header-contents .header-logo {
  width: 130px;
}
.header-btn-area a {
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
  font-weight: bold;
  line-height: 1.3;
  border-radius: 50px;
}
.header-btn-area a:first-child {
  width: 120px;
  background: var(--orange);
}
.header-btn-area a:last-child {
  width: 170px;
  border: 2px solid var(--orange);
  color: var(--orange);
}
header #g-navi {
  display: flex;
  width: 1050px;
  margin: 0 auto;
  justify-content: space-around;
}

/* ----------
スクロールすると出てくるメニュー
---------- */
#scrollmenu {
  position: fixed;
  width: 100%;
  z-index: 2;
  background: var(--tr-pink);
  color: #fff;
  padding: 15px 0;
}
#scrollmenu .g-nav-menu {
  display: flex;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-around;
  font-size: var(--p);
}

/*　上に上がる動き　*/
#scrollmenu.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#scrollmenu.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* cta_box */

.cta_box {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.cta_box a {
  margin: 0 20px;
}

.cta_box .career a.btn {
  background: var(--pure-white);
  color: var(--orange);
  border: 2px solid;
}

.cta_box .career a.btn::after {
  border-left: 10px solid var(--orange)!important;
}


.header__menu .career .btn {
  background: var(--pure-white);
  color: var(--orange);
  border: 2px solid;
  margin-top: 10px;
}

.btn {
  padding: 9px 13px 13px 13px!important;
}

.btn span {
  font-size: 13px;
  background:var(--pure-white);
  border-radius: 50px;
  padding: 3px 10px;
  color: var(--orange);
}

.career .btn span {
  font-size: 13px;
  background: var(--orange);
  border-radius: 50px;
  padding: 3px 10px;
  color: var(--pure-white);
}

/* 揺れるアニメーションの定義 */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

/* 揺れ効果用のクラス */
.shake {
  animation: shake 0.5s ease;
}

/* footer */
footer {
  background: var(--beige);
  padding: 65px 0 40px;
}
footer .footer-box {
  display: flex;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  color: var(--black);
  justify-content: space-between;
  align-items: center;
}
footer .footer-txt {
  font-size: 36px;
  font-weight: bold;
  margin-top: 20px;
}
footer .footer-logo {
  width: 340px;
}
footer .footer-link-box {
  display: flex;
  width: 550px;
  justify-content: space-between;
}
footer .footer-link-box ul.footer-s-link {
  font-weight: bold;
}
footer .footer-link-box ul.footer-s-link li {
  font-size: var(--p);
  margin-bottom: 10px;
}
footer .footer-link-box ul.footer-s-link li:first-child {
  font-size: var(--p);
  border-bottom: 1px solid;
}
footer .footer-link-box ul.footer-s-link li a small {
  margin-top: 0;
  text-align: left;
}
footer small {
  text-align: center;
  color: var(--black);
  display: block;
  margin-top: 60px;
}
.triangle {
  width: 0;
  height: 0;
  border-left: 7px solid var(--black);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 1px;
}

/* button*/
.btn {
  width: 280px;
  background: var(--orange);
  border: 2px solid;
  box-shadow: 2px 2px 4px #ddd;
  color: #fff;
  padding: 13px;
  text-align: center;
  font-weight: bold;
  margin: 50px auto 10px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 17px;
  border-radius: 50px;
  display: inline-block;
}
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--p);
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left: 10px solid #fff;
}
.btn:hover {
  opacity: 0.8;
}

/* 人材・法人 */

/* fv */
#fv {
  padding: 250px 0 100px;
  position: relative;
}
#fv p {
  text-align: left;
  font-weight: 600;
  margin-top: 10px;
}
#fv .fv_bk_img {
  width: 500px;
}
#fv .fv_box {
  width: 1150px;
  margin: 0 auto;
}
#fv .fv_box h1 {
  text-align: left;
  position: relative;
  font-size: 50px;
  font-weight: bold;
  color: var(--green);
}
#fv .fv_box h1 span {
  position: absolute;
  font-size: 35px;
  display: inline-block;
  margin: 1.5em 0;
  padding: 7px 10px;
  min-width: 100px;
  max-width: 100%;
  color: #fff;
  font-size: var(--h3);
  text-align: center;
  background: var(--green);
  border-radius: 5px;
}

#fv .fv_box h1 strong {
  color: var(--orange);
}

/* flow */
#flow {
  background: var(--white);
}
#flow .flow_box {
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
}
#flow .flow_box .flow_s_box {
  background: url(../img/example_bk.png) #fff;
  background-size: cover;
  border-radius: 5px;
  width: 16%;
}
#flow .flow_box .flow_s_box h3 {
  background: var(--green);
  position: relative;
  width: 100%;
  color: #fff;
  border-radius: 5px 5px 0 0;
  padding: 10px 0;
}
#flow .flow_box .flow_s_box h3::after {
  content: "";
  position: absolute;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--green);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}
#flow .flow_box .flow_s_box p {
  padding: 10px 10px 20px;
  text-align: left;
}

/* form */
#registration .inner_box {
  width: 45%;
  margin: 0 auto;
}
.hs-form-field label {
  text-align: left;
  font-size: var(--p);
  width: 130px;
  color: var(--blue);
  display: block;
  float: none;
  width: auto;
  font-weight: 500;
  line-height: 20px;
  padding-top: 0;
  margin-bottom: 0px;
  margin-top: 10px;
}
.hs-form-field label span {
  font-size: 12px;
  color: #111111;
  font-weight: 600;
}
.hs-form-field label span.hs-form-required {
  color: var(--red);
}
.input input {
  box-sizing: border-box;
  padding: 0 15px;
  min-height: 27px;
  width: 100%;
  max-width: 100%;
  margin-right: 0 !important;
  width: 100% !important;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.hs-input:not([type="file"]) {
  background-color: #f5f8fa;
}
.hs-input[type="file"] {
  background-color: #f5f8fa;
  border: none;
  padding: 0;
}
.hs-richtext {
  margin-top: 20px;
}
.hs-input {
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 9px 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--p);
  font-weight: normal;
  line-height: 22px;
  color: var(--blue);
  border: 1px solid #cbd6e2;
  box-sizing: border-box;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}
.hs-richtext p {
  color: #111111;
  font-size: 12px;
}
.hs-richtext p a {
  color: #120e6a;
  text-decoration: underline;
}
.actions input {
  background: var(--orange);
  border-color: #c95f19;
  color: #ffffff;
  font-size: var(--p);
  line-height: 14px;
  margin: 1.2vw auto 0.2vw;
  cursor: pointer;
  display: block;
  font-weight: bold;
  line-height: 12px;
  position: relative;
  text-align: center;
  transition: all 0.15s linear;
  color: #fff;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  font-size: var(--p);
  padding: 12px 24px;
  width: 70%;
}
legend.hs-field-desc {
  font-family: Noto Sans JP;
  color: #7c98b6;
  font-size: 11px;
}
.hs-input[type="file"] {
  background-color: #fff !important;
}
input.hs-input.error,
div.field.error input,
div.field.error textarea,
div.field.error .chzn-choices,
textarea.hs-input.error,
select.hs-input.error {
  border-color: #c87872;
}
.hs-error-msgs label {
  color: #f2545b;
}

/* responsive */
@media screen and (max-width: 1050px) {
  .shake {
    animation: none!Important;
  }
  .inner_box {
    width: 90vw !important;
  }
  .header-btn-area a:first-child {
    width: 11vw;
  }
  .header-btn-area a:last-child {
    width: 15vw;
  }
  .header-contents {
    width: 94vw;
  }
  .header-contents .header-btn-area {
    width: 28vw;
  }
  #scrollmenu .g-nav-menu {
    font-size: 1.5vw;
  }
  footer .footer-box {
    width: 90vw !important;
  }
  footer .footer-logo {
    width: 33vw !important;
  }
  footer .footer-txt {
    font-size: 3vw;
  }
  footer .footer-link-box {
    width: 46vw !important;
  }
  footer .footer-link-box ul.footer-s-link li {
    font-size: 1.4vw;
  }
  .container_left .btn {
    display: block !important;
  }
  .container_left,
  .footer,
  .scrollmenu {
    width: 100% !important;
  }
  .container_right {
    display: none;
  }
  .footer_form {
    display: block !important;
  }
}

@media screen and (max-width: 780px) {
  .header-btn-area a:last-child {
    width: 16vw;
  }
  .header-contents .header-btn-area {
    width: 29vw;
  }
}

@media screen and (max-width: 750px) {
  .cta_box {
    display: block;
  }
  .cta_box a {
    margin: 10px 20px 10px;
  }
  .header-sp {
    position: fixed;
    background: rgba(255, 255, 255, 0);
    width: 100%;
    box-shadow: inherit;
  }
  .header-sp .header__inner {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #ffffff57;
  }
  .header-sp .header-logo {
    width: 90px;
    height: 28px;
  }
  .header-sp .header__menu {
    position: fixed;
    z-index: 50000;
    top: 50px;
    width: 100%;
    height: calc(100vh - 50px);
    background: var(--light-pink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    left: 0;
  }
  .header-sp .header__inner.active .header__menu {
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: 0;
    z-index: -1;
    height: 100vh;
    padding-top: 5rem;
  }
  .header-sp .menu__item {
    border-bottom: 1px solid var(--orange);
  }
  .header-sp .menu__link {
    display: block;
    padding: 13px 20px;
    color: var(--orange);
    font-size: var(--p);
    font-weight: bold;
  }
  .header-sp .header__menu-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .header-sp .header__menu-btn span:nth-child(-n + 3) {
    position: absolute;
    display: block;
    width: 30px;
    height: 2px;
    background: var(--black);
  }
  .header-sp .header__menu-btn span:nth-child(1) {
    top: 10px;
    transition: all 0.2s ease;
  }
  .header-sp .header__inner.active .header__menu-btn span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
  }
  .header-sp .header__menu-btn span:nth-child(2) {
    top: 18px;
    transition: opacity 0.2s ease;
  }
  .header-sp .header__inner.active .header__menu-btn span:nth-child(2) {
    opacity: 0;
  }
  .header-sp .header__menu-btn span:nth-child(3) {
    top: 26px;
    transition: all 0.2s ease;
  }
  .header-sp .header__inner.active .header__menu-btn span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
  }
  .header-sp .header__menu-btn span:nth-child(4) {
    font-size: 10px;
    color: #f5675b;
  }
  .fixbutton {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px 0;
    background-color: #ffffffbd;
    width: 100%;
    z-index: 100;
    justify-content: space-evenly;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
  }
  .fixbutton .btn {
    margin: 10px auto;
    display: block;
  }
  footer .footer-box {
    display: block;
  }
  footer .footer-logo {
    width: 100% !important;
  }
  footer .footer-logo div {
    width: 90% !important;
  }
  footer .footer-txt {
    font-size: var(--h3);
    margin: 10px 0 40px;
  }
  footer .footer-link-box {
    display: block;
    width: 80% !important;
  }
  footer .footer-link-box ul.footer-s-link li {
    font-size: var(--p);
  }
  footer .footer-link-box ul.footer-s-link {
    margin: 20px 0;
  }
  footer .footer-link-box ul.footer-s-link li:first-child {
    font-size: 13px;
  }
  footer {
    padding: 45px 0 110px;
  }
  h2 {
    font-size: 21px;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 15px;
  }
  section {
    padding: 50px 0;
  }
  .active {
    opacity: 1;
    visibility: visible;
  }
  .inner_box {
    width: 85% !important;
  }
  .heading {
    padding: 0px 10px;
  }
  .header-cta {
    padding: 15px 0;
  }
  .css-fukidashi {
    width: 25vw;
    height: 25vw;
  }
  .scrolldown4 span {
    font-size: 0.5rem;
  }
  .scrolldown4:after {
    bottom: 8px;
    height: 30px;
  }
  .scrolldown4:before {
    bottom: 8px;
  }
  .text {
    top: 11vw;
    right: 3vw;
  }
  p {
    font-size: 13px;
  }
  .tab {
    font-size: 13px;
  }
  #registration .inner_box {
    width: 90%;
  }
}
