@charset "UTF-8";
/*common.css*/
/* 書式設定
------------------------------------------ */
html {
  font-size: 16px;
}
body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #6A5750;
  line-height: 1.6;
  background-color: #FFF;
}
.format {
  max-width: 1128px;
  margin: auto;
  padding: 42px 24px;
}
a {
  color: #6A5750;
}
a:hover {
  opacity: 0.7;
}
.txt_center {
  text-align: center;
}
.txt_left {
  text-align: left;
}
.bold {
  font-weight: bold;
}
/* カラー設定
------------------------------------------ */
.acColor_pink {
  background-color: #FF8E79;
}
.acColor_blue {
  background-color: #72D0FF;
}
.fontColor_pink {
  color: #FF8E79;
}
.fontColor_blue {
  color: #72D0FF;
}
.fontColor_blue02 {
  color: #5A97B5;
}
.fontColor_brown {
  color: #6A5750;
}
.fontColor_white {
  color: #FFF;
}
.fontColor_pink {
  color: #FF8E79;
}
.bgColor_blue {
  background-color: #E7F7FF;
}
.bgColor_blue {
  background-color: #E7F7FF;
}
.bgColor_blue02 {
  background-color: #5A97B5;
}
.bgColor_white {
  background-color: #FFF;
}
.bgColor_beige {
  background-color: #FFF7EE;
}
.bgColor_green {
  background-color: #B5D6C5;
}
.common_bg {
  position: relative;
}
.common_bg::before {
  content: '';
  display: inline-block;
  width: 110%;
  height: 620px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  top: -46px;
  left: -5%;
}
.common_bg_green::before {
/*  background-image: url("../img/common/wave_green.svg");*/
  background-image: url("../img/common/wave_green.png");
}
.common_bg_yellow::before {
  background-image: url("../img/index/recruit/wave_yellow.svg");
}
.wave_pig {
  position: relative;
}
.wave_pig::before {
  content: '';
  display: inline-block;
  width: 70%;
  max-width: 420px;
  height: 576px;
  background-image: url(../img/common/pig_line.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  top: -72px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
}
/* パーツ設定
------------------------------------------ */
.arrow {
  position: relative;
}
.arrow::before, .arrow::after {
  content: "";
  width: 2px;
  height: 10px;
  background-color: #5A97B5;
  position: absolute;
  top: 34px;
  right: 12px;
  transform-origin: 50% calc(100% - 1px);
}
.arrow::before {
  transform: rotate(43deg);
}
.arrow::after {
  transform: rotate(-43deg);
}
.sc_ttl {
  font-weight: 600;
  position: relative;
}
.sc_ttl_EN {
  font-size: 32px;
}
.btn {
  width: 146px;
  margin: 30px auto 0;
}
.btn a {
  display: block;
  width: 100%;
  padding: 8px 32px 8px 18px;
  color: #FFF;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
}
.btn a:hover {
  opacity: 1;
}
.btn:hover {
  opacity: 0.7;
}
.btn.arrow::before, .btn.arrow::after {
  height: 8px;
  background-color: #FFF;
  top: 8px;
  right: 18px;
}
.btn.arrow::before {
  transform: rotate(-40deg);
}
.btn.arrow::after {
  transform: rotate(-140deg);
}
.link_btn.arrow::before, .link_btn.arrow::after {
  height: 9px;
  top: 12.5px;
  right: 16px;
}
.btn.link_btn02 {
  width: 80%;
  max-width: 280px;
  margin: auto;
}
.btn.link_btn02 a {
  display: block;
  width: 100%;
  padding: 8px 32px 8px 18px;
  border: 2px solid #5A97B5;
  color: #5A97B5;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
}
.btn.link_btn02.arrow::before, .btn.link_btn02.arrow::after {
  background-color: #5A97B5;
  top: 14px;
  right: 30%;
}
.fade_trigger {
  opacity: 0;
}
.fade_up {
  animation-name: fadeUpAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* header
------------------------------------------ */
header {
  padding: 26px 15px;
}
header .h_logo {
  width: 155px;
  position: relative;
}
header.active .h_logo {
  position: relative;
  z-index: 999;
}
/* ハンバーガーボタン*/
header .hamburger {
  width: 28px;
  height: 20px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 15px;
  z-index: 999;
}
header .hamburger div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
header .hamburger span {
  display: inline-block;
  width: 100%;
  height: 2px;
  background: #5A97B5;
  border-radius: 5px;
  transition: all .3s;
}
header .hamburger.active span {
  position: absolute;
  top: 0;
  right: 0;
}
header .hamburger.active span:nth-of-type(1) {
  transform: translateY(6px) rotate(-45deg);
}
header .hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
header .hamburger.active span:nth-of-type(3) {
  top: 12px;
  transform: translateY(-6px) rotate(45deg);
}
/* g_nav
------------------------------------------ */
.g_nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #FFF;
  padding: 80px 15px 0;
  transition: right 0.3s ease;
  z-index: 100;
}
.g_nav.active {
  right: 0;
}
.g_nav_list .has_submenu {
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  position: relative;
}
.g_nav_list .has_submenu:hover {
  opacity: 0.7;
}
.g_nav_list .has_submenu:first-child.open {
  border-bottom: none;
}
.g_nav_list .has_submenu::before {
  content: '';
  display: inline-block;
  width: 42px;
  height: 42px;
  background-image: url("../img/common/pig.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  top: 16px;
  left: 0;
}
.g_nav_list .has_submenu:nth-child(2)::before {
  background-image: url("../img/common/house.png");
}
.g_nav_list .has_submenu span {
  display: block;
  padding: 24px 6px 24px 54px;
  font-weight: 600;
}
.g_nav_list .has_submenu ul {
  padding: 16px;
  border-top: 1px solid #DDD;
  display: none;
  flex-direction: column;
  gap: 16px;
}
.g_nav_list .has_submenu.open ul {
  display: flex;
}
.g_nav_list .has_submenu.open .arrow::before, .open .arrow::after {
  top: 26px;
}
.g_nav_list .has_submenu.open .arrow::before {
  transform: rotate(135deg);
}
.g_nav_list .has_submenu.open .arrow::after {
  transform: rotate(-135deg);
}
.g_nav_btn {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.g_nav_btn {
  width: 100%;
  position: relative;
  padding-bottom: 100px;
}
.g_nav_btn::after {
  content: '';
  display: inline-block;
  width: 133px;
  height: 86px;
  background-image: url("../img/common/pig02.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.g_nav_btn li a {
  display: block;
  width: 100%;
  padding: 16px 0;
  border-radius: 10px;
  color: #FFF;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.15em;
}
/* footer
------------------------------------------ */
footer {
  background: url("../img/common/footer_bg.png") repeat-y center top;
  color: #FFF
}
footer .format {
  max-width: 340px;
  margin: auto;
}
footer a {
  color: #FFF
}
footer .f_logo {
  width: 180px;
margin-bottom: 24px;
}
footer .f_link {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  font-size: 11px;
  color: #806E65;
  font-weight: 600;
  background-color: #FFF;
  border-radius: 10px;
}
footer .h_head {
  font-weight: 600;
  font-size: 20px;
}
footer .f_adress {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
footer .f_adress .f_tel {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
}
footer .f_adress .f_tel::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  background-image: url(../img/common/f_tel.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: relative;
  top: -3px;
}
footer .f_nav01 {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
footer .f_nav01 ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
footer .f_nav01 ul {
  padding: 0 0 4px 10px;
  border-left: 1px solid #ecc4bb;
}
footer .f_nav01 ul li {
  display: flex;
  flex-direction: column;
}
footer .f_nav01 ul li p {
  font-weight: 600;
}
footer .f_nav02 {
  margin: 16px 0;
  display: flex;
  gap: 16px;
}
footer .f_nav02 li .h_head {
  font-size: 16px;
}
footer .f_copy_link {
  display: flex;
  gap: 40px;
}
footer .f_copy, footer .f_copy a {
  font-size: 14px;
  line-height: 1.4;
}
/* youtube
------------------------------------------ */
.youtube {
  padding-bottom: 26px;
  font-weight: 600;
  text-align: center;
  background-color: #ecc4bb;
  position: relative;
  z-index: 2;
}
.youtube::before {
  content: '';
  display: inline-block;
  width: 250%;
  height: 72px;
  background-image: url("../img/common/youtube_bg01.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  top: 0;
  left: -40%;
  transform: translate(0, -50%);
  z-index: 1;
}
.youtube a {
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 5
}
.youtube a figure {
  width: 88px;
}
.youtube a p {
  font-size: 24px;
}
.youtube .youtube_txt {
  margin-top: 8px;
  font-size: 20px;
  position: relative;
  z-index: 5
}
/* page_top
------------------------------------------ */
#page_top {
  width: 40px;
  height: 40px;
  background-color: rgba(90,151,181,0.8);
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10;
}
#page_top a {
  display: block;
  width: 2px;
  height: 16px;
  line-height: 1;
  background: #FFF;
  position: relative;
  top: 12px;
  left: 50%;
}
#page_top a::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid #FFF;
  position: absolute;
  box-sizing: border-box;
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top left;
  top: 0;
  left: 1px;
}
#page_top:hover {
  opacity: 0.7;
  cursor: pointer;
}
#page_top a:hover {
  opacity: 1;
}

/* レスポンシブ設定
------------------------------------------ */
@media (min-width:440px) {
  .common_bg::before {
    top: -60px;
  }
  .wave_pig::before {
    top: -90px;
  }
  /*--- g_nav ---*/
  .g_nav_list, .g_nav_btn {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  /*--- youtube ---*/
  .youtube {
    padding: 22px;
  }
}
@media (min-width:768px) {
  .common_bg::before {
    top: -86px;
  }
  .wave_pig::before {
    top: -120px;
  }
  /*--- footer ---*/
  footer .format {
    max-width: 534px;
  }
  footer .f_logo {
    width: 200px;
  }
  footer .f_nav01 {
    flex-direction: row;
  }
  footer .f_nav01 ul:first-child {
    flex-direction: column;
    justify-content: center;
  }
  footer .f_nav01 ul {
    padding: 0 0 4px 20px;
    border-color: #FFF;
  }
  /*--- youtube ---*/
  .youtube a figure {
    width: 100px;
  }
  .youtube a p {
    font-size: 32px;
  }
  .youtube .youtube_txt {
    margin-top: 0;
    font-size: 26px;
  }
}
@media (min-width:980px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
  .sc_ttl {
    font-size: 1.15em;
    font-weight: 600;
  }
  .sc_ttl_EN {
    font-size: 48px;
  }
  .common_bg::before {
    top: -130px;
  }
  .wave_pig::before {
    max-width: 820px;
    background-image: url("../img/common/pig_line_PC.png");
    top: -200px;
  }
  #page_top {
    width: 56px;
    height: 54px;
    bottom: 32px;
}
  #page_top a {
    top: 20px;
  }
  /*--- header ---*/
  header {
    padding: 38px 15px 56px;
    position: relative;
  }
  header .hamburger {
    display: none;
  }
  /*--- g_nav ---*/
  .g_nav {
    padding: 0;
    position: static;
    background: transparent;
  }
  .g_nav_list {
    margin: inherit;
    display: flex;
    gap: 30px;
    position: absolute;
    top: 16px;
    right: 330px;
  }
  .g_nav_list .has_submenu {
    cursor: default;
  }
  .g_nav_list .has_submenu:hover {
    opacity: 1;
  }
  .g_nav_list .has_submenu::before {
    top: -6px;
  }
  .g_nav_list .has_submenu .arrow::before, .g_nav_list .has_submenu .arrow::after {
    display: none;
  }
  .g_nav_list .has_submenu {
    border: none;
  }
  
  .g_nav_list .has_submenu span {
    padding: 0 0 0 56px;
  }
.g_nav_list .has_submenu ul {
    display: block;
    padding: 6px 0 0 56px;
    border: none;
  }
  .g_nav_list .has_submenu.open ul {
    display: block;
  }
  .g_nav_list .has_submenu ul li a {
    font-size: 0.93em;
  }
  .g_nav_btn {
    width: 280px;
    max-width: inherit;
    margin: inherit;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 15px;
  }
  .g_nav_btn::after {
    background-image: none;
  }
  .g_nav_btn li {
    width: 146px;
  }
  .g_nav_btn li a {
    padding: 46px 0;
    border-radius: 0 0 20px 20px;
  }
  .g_nav_btn li a {
    padding: 48px 0;
    border-radius: 0 0 20px 20px;
  }
  .g_nav_btn li:last-child a {
    padding: 37px 0 57px;
    position: relative;
  }
  .g_nav_btn li:last-child a::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 23px;
    background-image: url("../img/common/nav_mail_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /*--- footer ---*/
  footer {
    margin-bottom: -20px;
  }
  footer::before {
  content: '';
  display: inline-block;
  width: 100%;
  height: 150px;
  background-image: url("../img/common/youtube_bg02.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: relative;
  top: -20px;
  }
  footer .format {
    max-width: 950px;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    top: -58px;
  }
  footer .f_wrap02 {
    display: flex;
  }
  footer .f_nav01 ul:first-child, footer .f_nav01 ul:nth-child(2), footer .f_nav02 {
    width: 290px;
  }
  footer .f_nav01 ul:first-child, footer .f_nav01 ul:nth-child(2) {
    width: 290px;
  }
  footer .f_nav02 {
    margin-top: 40px;
    padding: 0 0 4px 20px;
    border-left: 1px solid #FFF;
    flex-direction: column;
    gap: 10px;
  }
  footer .f_nav02 li .h_head {
    font-size: 20px;
  }
  footer .f_copy {
    margin-top: 42px;
    display: flex;
    justify-content: space-between;
  }
  /*--- youtube ---*/
  .youtube {
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 36px;
    align-items: center;
  }
  .youtube::before, .youtube::after {
    width: 100%;
    height: 150px;
    left: 0;
    transform: translate(0, -30%);
  }
}
@media (min-width:1240px) {
  .format {
    padding: 64px 24px;
  }
  .wave_pig::before {
    top: -220px;
  }
  .common_bg::before {
    width: 100%;
    left: 0;
  }
  /*--- header ---*/
  header {
    padding: 38px 24px 60px;
  }
  header .h_logo {
    width: 190px;
  }
  /*--- g_nav ---*/
  .g_nav_list {
    gap: 46px;
    right: 380px;
  }
  .g_nav_list .has_submenu::before {
    width: 70px;
    height: 70px;
    top: 8px;
  }
  .g_nav_list .has_submenu span {
    padding: 0 0 0 90px;
    font-size: 17px;
  }
  .g_nav_list .has_submenu ul {
    padding: 8px 0 0 90px;
  }
  .g_nav_list .has_submenu ul li a {
    font-size: 1em;
  }
  .g_nav_btn {
    width: 300px;
    padding-bottom: 0;
  }
  .g_nav_btn li a {
    padding: 46px 0;
  }
  /*--- footer ---*/
      footer::before {
        top: -40px;
    }
  footer .format {
    max-width: 1192px;
  }
  footer .f_wrap01 {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
  footer .f_wrap01 .f_wrap01_box {
    width: 348px;
  }
  footer .f_wrap02 {
  }
  footer .f_nav01 ul:first-child, footer .f_nav01 ul:nth-child(2), footer .f_nav02 {
    width: 260px;
  }
}
@media (min-width:1400px) {
  .common_bg::before {
    top: -190px;
  }
  .wave_pig::before {
    top: -250px;
  }
  /*--- footer ---*/
  footer::before {
    top: -64px;
  }
  footer .format {
    max-width: 1288px;
  }
  footer .f_wrap01 .f_wrap01_box {}
  footer .f_wrap02 {}
  footer .f_nav01 ul:first-child, footer .f_nav01 ul:nth-child(2), footer .f_nav02 {
    width: 280px;
  }
}