/* 共通
-----------------------------------------*/
/* フォント */
@import url('https://fonts.googleapis.com/css?family=Mitr:500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap');

/* html/body */
html {
  overflow: auto;
}

body {
  overflow: hidden;
  /*min-width: 900px;*/
}


header {
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 75px;
}

/* Fixed */
header.fixed {
  background: #fff;
  background: rgba(255, 255, 255, 1.0);
  transition: all 300ms;
}

header .header_logo {
  position: absolute;
  left: 25px;
  top: 50%;
  display: block;
  width: 338px;
  transform: translate(0, -50%);
}

header .header_logo .logo-pc {
  display: block;
}

header .header_logo .logo-sp {
  display: none;
}

.hd_entry,
header .hd_internship,
header .hd_humanities,
header .hd_corp_link {
  position: absolute !important;
  top: 50%;
  transform: translate(0, -50%);
}

.hd_entry,
header .hd_internship,
header .hd_humanities {
  font-size: 1.4rem;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  gap: 10px;
  white-space: nowrap;
}

.hd_entry {
  right: 100px;
  width: 100px;
}

footer .hd_entry {
  display: none !important;
}

header .hd_internship {
  width: 150px;
  right: 210px;
  background: #004e88;
}

header .hd_humanities {
  width: 190px;
  right: 370px;
  background: #00885e;
}

header .hd_humanities::before {
  content: "";
  display: block;
  width: 33px;
  height: 22px;
  background: url(../img/common/icon_humanities_wh.png) no-repeat center;
  background-size: contain;
  transition: .3s
}

header .hd_corp_link {
  right: 430px;
}

header .hd_internship:hover {
  border: solid 2px #004e88;
  color: #004e88;
}

header .hd_humanities:hover {

  border: solid 2px #00885e;
  color: #00885e;
}

header .hd_humanities:hover::before {
  background: url(../img/common/icon_humanities_green.png) no-repeat center;
  background-size: contain;
}

@media screen and (max-width: 1024px) {

  header .header_logo {
    left: 15px;
    width: 240px;
  }

  header .header_logo .logo-pc {
    display: none;
  }

  header .header_logo .logo-sp {
    display: block;
  }

  .hd_entry,
  header .hd_internship,
  header .hd_humanities {
    height: 58px;
    flex-direction: column;
    gap: 2px;
    padding: 0;
  }

  .hd_entry {
    width: 80px;
    right: 90px;
  }

  header .hd_internship {
    width: 130px;
    right: 180px;
  }

  header .hd_humanities {
    width: 130px;
    right: 320px;
  }

  header .hd_humanities::before {
    width: 24px;
    height: 17px;
  }

  header .hd_corp_link {
    right: 310px;
  }
}

@media screen and (max-width: 768px) {

  header .header_logo {
    left: 10px;
    width: 200px;
  }

  header .hd_internship,
  header .hd_humanities {
    font-size: 1.1rem;
    padding: 0 8px;
  }

  .hd_entry {
    position: fixed !important;
    top: auto;
    right: auto;
    left: 20px;
    bottom: 30px;
    width: 130px;
    font-size: 1.4rem;
    transform: none;
  }

  header .hd_entry {
    display: none !important;
  }

  footer .hd_entry {
    display: flex !important;
  }

  header .hd_internship {
    width: 100px;
    right: 85px;
  }

  header .hd_humanities {
    width: 100px;
    right: 190px;
  }

}

@media screen and (max-width: 480px) {

  header {
    height: 60px;
  }

  header .header_logo {
    left: 5px;
    width: 180px;
  }
}

@media screen and (max-width: 480px) {

  header {
    height: 50px;
  }

  header .header_logo {
    width: 150px;
  }

  header .hd_internship,
  header .hd_humanities {
    height: 40px;
    font-size: 0.9rem;
    padding: 0 5px;
  }

  header .hd_internship {
    width: 80px;
    right: 55px;
  }

  header .hd_humanities {
    width: 80px;
    right: 138px;
  }

  header .hd_humanities::before {
    width: 18px;
    height: 13px;
  }

  .hd_entry {
    width: 120px;
    left: 15px;
    height: 45px;
  }

}

@media screen and (max-width: 360px) {
  header .header_logo {
    width: 130px;
  }
}

/* contents
-----------------------------------------*/

#contents {
  font-size: 1.1vw;
}


.text_center {
  text-align: center;
}


.flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}

.wrap {
  position: relative;
  width: 75%;
  margin: 0 auto;
  padding: 70px 0;
}

@media screen and (max-width: 769px) {
  #contents {
    font-size: 1.2rem;
  }

  .wrap {
    width: 90%;
    padding: 70px 20px;
  }
}

@media screen and (max-width: 480px) {
  /*#contents { font-size: 4vw; }*/

  .wrap {
    width: 100%;
    padding: 40px 20px;
  }
}


/* #recruit-link
-----------------------------------------*/
#recruit-link {
  background: url(../img/index/recruit_bg.png) repeat;
  color: #fff;
}

#recruit-link .wrap {
  width: 56%;
}

#recruit-link h3 {
  font-size: 2.6vw;
  text-align: center;
  margin-bottom: 5px;
  font-family: 'Mitr', sans-serif;
}

#recruit-link h3+p {
  text-align: center;
}

#recruit-link .grid-wrap {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px 20px;
  grid-auto-flow: row;
  grid-template-areas:
    "guideline ojt humanities"
    "welfare faq humanities";
  margin: 0 auto;
}

#recruit-link .grid-wrap .btn02 {
  width: 100% !important;
  margin: 0 auto !important;
}

#recruit-link .guideline {
  grid-area: guideline;
}

#recruit-link .ojt {
  grid-area: ojt;
}

#recruit-link .welfare {
  grid-area: welfare;
}

#recruit-link .faq {
  grid-area: faq;
}

#recruit-link .humanities {
  grid-area: humanities;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#recruit-link .humanities .icon {
  position: relative;
}

#recruit-link .humanities .icon::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%;
  display: block;
  width: 33px;
  height: 22px;
  background: url(../img/common/icon_humanities_wh.png) no-repeat center;
  background-size: contain;
  transform: translate(0, -50%);
}

#recruit-link .humanities .em {
  display: block;
  font-size: 120%;
  font-weight: bold;
  line-height: 1.5;
  text-align: right;
}

#recruit-link .humanities .em .large {
  display: block;
  font-size: 150%;
}

@media screen and (max-width: 1200px) {

  #recruit-link .grid-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-auto-flow: row;
    grid-template-areas:
      "guideline ojt"
      "welfare faq"
      "humanities humanities";
  }

}

@media screen and (max-width: 769px) {

  #recruit-link .wrap {
    width: 100%;
  }

  #recruit-link .grid-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-auto-flow: row;
    grid-template-areas:
      "guideline"
      "ojt"
      "welfare"
      "faq"
      "humanities";
  }

  #recruit-link .grid-wrap .btn02 {
    width: 250px !important;
  }

}

@media screen and (max-width: 480px) {
  #recruit-link h3 {
    font-size: 2.4rem;
  }
}

/* footer
-----------------------------------------*/
footer {
  text-align: center;
}

/* entry-link */
#entry-link {
  background: #f4901e;
  color: #fff;
  font-size: 2.4rem;
}

#entry-link .wrap {
  padding: 30px 0;
}

#entry-link {
  padding: 15px 20px !important;
  margin: 0 auto 0 !important;
  width: 100% !important;
  display: block !important;
  background-color: #f4901e !important;
  color: #fff !important;
  background-size: 200% 100% !important;
  background-image: -webkit-linear-gradient(left, transparent 50%, rgba(220, 30, 15, 1) 50%) !important;
  background-image: linear-gradient(to right, transparent 50%, rgba(220, 30, 15, 1) 50%) !important;
  -webkit-transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease !important;
  transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease !important;
  position: relative;
  text-align: center;
}

#entry-link:hover {
  opacity: 1.0 !important;
  background-color: #dc1e0f !important;
  background-position: -100% 100% !important;
}

#entry-link .link_entry {
  display: block;
}

#entry-link .entry {
  font-family: 'Mitr', sans-serif;
  font-size: 3.0rem;
  margin-top: 30px;
}

#entry-link a:link, #entry-link a:visited {
  color: #FFF;
}

@media screen and (max-width: 480px) {
  #entry-link {
    font-size: 1.8rem;
  }

  #entry-link .wrap {
    padding: 30px 10px;
  }
}

/* copy */

#copy {
  position: relative;
  display: block;
  padding: 0 10px 30px;
  background: #fff;
}

#copy:before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-bottom: 15px solid #fff;
}

#copy .footer_logo {
  display: block;
  margin: 30px auto 10px;
  max-width: 310px;
}

#copy .corporate {
  display: inline-block;
  font-size: 1.4rem;
  font-family: 'Mitr', sans-serif;
  color: #000;
}

#copy .copyright {
  padding: 10px;
  font-weight: bold;
  margin: 20px 0 0;
}

@media screen and (max-width: 769px) {

  #copy {
    padding: 0 10px 80px;
  }

  #copy .corporate {
    position: relative;
    left: 0;
    bottom: 0;
  }
}

@media screen and (max-width: 480px) {

  #copy .footer_logo {
    display: block;
    margin: 30px auto 10px;
    max-width: 80%;
  }

  #copy .copyright {
    font-size: 9px;
  }

}

/* ページ内リンクはヘッダーの高さ分余白をとる
-----------------------------------------*/

area.anchor {
  display: block;
  padding-top: 200px;
  margin-top: -200px;
}


/* 各種ボタン
-----------------------------------------*/

/* Button01 */

.btn01 {
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  transition: border 0.3s, background-color 0.3s;
  padding: 15px 30px;
  font-weight: bold;
  background: #f4901e;
  color: #fff;
  border: solid transparent 2px;
}

.btn01:after {
  content: '';
  position: absolute;
  z-index: -1;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.btn01:hover,
.btn01:active {
  color: #f4901e;
  background: #fff;
  border: solid #f4901e 2px;
}

/* Button02 */
.btn02 {
  padding: 15px 20px !important;
  margin: 35px auto 0 !important;
  width: 250px !important;
  display: block !important;
  text-decoration: none !important;
  font-size: 1.5rem !important;
  background-color: #f4901e !important;
  color: #fff !important;
  background-size: 200% 100% !important;
  background-image: -webkit-linear-gradient(left, transparent 50%, rgba(220, 30, 15, 1) 50%) !important;
  background-image: linear-gradient(to right, transparent 50%, rgba(220, 30, 15, 1) 50%) !important;
  -webkit-transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease !important;
  transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease !important;
  position: relative;
  text-align: center;
}

.btn02::before {
  content: "";
  bottom: 3px;
  right: 3px;
  border-top: 10px solid transparent;
  border-right: 10px solid #fff;
  /* ラベルの色はここで変更 */
  position: absolute;
}

.btn02:hover {
  opacity: 1.0 !important;
  background-color: #dc1e0f !important;
  background-position: -100% 100% !important;
}


.btn02_ver01 {
  color: #0F0 !important;
  background-color: #004e8d !important;
  background-image: -webkit-linear-gradient(left, transparent 50%, rgba(0, 255, 0, 1) 50%) !important;
  background-image: linear-gradient(to right, transparent 50%, rgba(0, 255, 0, 1) 50%) !important;
  -webkit-transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease !important;
  transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease !important;
  border: solid 2px #0F0;

}


.btn02_ver01::before {
  border-right: 10px solid #004e90;
  /* ラベルの色はここで変更 */
}

.btn02_ver01:hover {
  opacity: 1.0 !important;
  background-color: #004e8d !important;
  color: #004e90 !important;
}


@media screen and (max-width: 480px) {
  .btn02 {
    margin: 20px auto 0 !important;
  }

}

/* Button03 */

.btn03 {
  height: 50px;
  margin: 20px auto 50px;
}

.btn03 a {
  display: inline-block;
  background-color: transparent;
  padding: 4px;

  -moz-border-radius: 0 0 25px 25px;
  -webkit-border-radius: 0 0 25px 25px;
  -o-border-radius: 0 0 25px 25px;
  -ms-border-radius: 0 0 25px 25px;
  border-radius: 0 0 25px 25px;
  border: solid #000 3px;
  border-top: none;
  height: 27px;
  position: relative;
  top: 25px;

  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  line-height: 1.6;
}

.btn03 a:hover {
  border: solid transparent 3px;
  border-top: none;
}

.btn03 a span {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  background-color: #000;
  padding: 8px 20px;
  border-radius: 25px;
  margin: 0 auto;
  position: relative;
  top: -25px;
  font-size: 1.4rem;
  border: solid #000 2px;

  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.btn03 a:hover span {
  background-color: #fff;
  color: #000;
  border: solid #000 2px;

}

.btn03 a span::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 7px;
  border-color: transparent transparent transparent #ffffff;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-right: 4px;

  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}


.btn03 a:hover span::before {
  border-color: transparent transparent transparent #000;
  /*margin-left:6px;
    margin-right: 4px;*/
}


@media screen and (max-width: 480px) {}

/* オンマウスエフェクト
-----------------------------------------*/

/* 拡大 */
.imgWrap {
  overflow: hidden;
  /*拡大時にはみ出た部分を隠す*/
}

.imgWrap img {
  display: block;
  transition-duration: 0.5s;
  /*変化に掛かる時間*/
}

.imgWrap img:hover {
  transform: scale(1.1);
  /*画像の拡大率*/
  transition-duration: 0.5s;
  /*変化に掛かる時間*/
}



/* TOPに戻るボタン
-----------------------------------------*/

.pageTop {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 3%;
  background-color: #004e90;
  border-radius: 50px;
  width: 60px;
  height: 60px;
  z-index: 0;
}

.pageTop::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}

.pageTop::after {
  content: "Top";
  font-size: 0.9rem;
  color: #FFF;
  position: absolute;
  bottom: 12px;
  left: 20px;
}

.number {
  font-family: sans-serif;
}