/* index.php reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ====== main visual ====== */
#index .mv {
  width: 100%;
  height: 820px;
  border-top: 10px #005b97 solid;
  position: relative;
  overflow: hidden;
}

#index .mv .mv_box {
  width: 100%;
  height: 100%;
  position: relative;
}
#index .mv li {
  width: 100%;
  height: 100%;
}
#index .mv .mv_img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#index .mv .mv_copy {
  font-family: "Zen Old Mincho", serif;
  font-size: calc(100vw / 32);
  font-weight: 900;
  line-height: 1.4;
  color: #000000;
  /* text-shadow: #000000cc 2px 2px 4px, #00000055 0px 0px 6px; */
  position: absolute;
  right: 5%;
  top: 30%;
  z-index: 10;
}
#index .mv li:nth-of-type(1) .mv_img {
  background: url(../images/index/mv_01.jpg) no-repeat center center;
  background-size: cover;
}
#index .mv li:nth-of-type(2) .mv_img {
  background: url(../images/index/mv_02.jpg) no-repeat center center;
  background-size: cover;
}
#index .mv li:nth-of-type(3) .mv_img {
  background: url(../images/index/mv_03.jpg) no-repeat center center;
  background-size: cover;
}
#index .mv .mv_box li .mv_img {
  overflow: hidden;
  opacity: 0;
  transform: perspective(1000px) translateZ(0);
  transition: transform 7s linear, opacity 0.5s ease-in-out;
}
#index .mv .mv_box li .mv_img.mv-fadein {
  overflow: visible;
  opacity: 1;
}
#index .mv .mv_box li .mv_img.mv-zoom {
  overflow: visible;
  opacity: 1;
  transform: perspective(100px) translateZ(1em);
  transition: transform 7s linear, opacity 0.5s ease-in-out;
}

@media screen and (max-width: 1500px) {
  #index .mv .mv_copy {
    font-size: calc(100vw / 24);
  }
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #index .mv .mv_copy {
    font-size: calc(100vw / 20);
  }
  #index .mv li:nth-of-type(1) .mv_img {
    background: url(../images/index/mv_01.jpg) no-repeat right 49% center;
    background-size: cover;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .mv {
    height: calc(var(--vh) * 75);
  }
  #index .mv .mv_copy {
    width: 100%;
    padding: 2vw 0;
    font-size: calc(100vw / 16);
    line-height: 1.2;
    text-align: center;
    background: #ffffffaa;
    top: 75%;
    right: auto;
    left: auto;
  }
  #index .mv li:nth-of-type(1) .mv_img {
    background: url(../images/index/mv_01.jpg) no-repeat left 22% center;
    background-size: cover;
  }
  #index .mv li:nth-of-type(2) .mv_img {
    background: url(../images/index/mv_02.jpg) no-repeat left 30% center;
    background-size: cover;
  }
  #index .mv li:nth-of-type(3) .mv_img {
    background: url(../images/index/mv_03.jpg) no-repeat left 48% center;
    background-size: cover;
  }
}
@media screen and (max-width: 431px) {
  #index .mv {
    height: calc(var(--vh) * 75);
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 12);
    line-height: 1.2;
    background: #ffffffaa;
  }
}

/* ====== introducs ====== */
#index .intro_box {
  margin: 120px auto 0;
  padding: 160px 120px 160px 0;
  position: relative;
  background: url(../images/index/intor_bg.jpg) no-repeat right top;
  background-attachment: fixed;
  background-size: cover;
}
#index .intro_box .intro_wpap {
  padding: 4vw 10vw 6vw;
  background: #ffffff99;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  position: relative;
}
#index .intro_box .intro_txt p {
  width: 100%;
  line-height: 2;
  text-align: center;
  font-size: 120%;
  position: relative;
}
#index .intro_box .intro_txt p::after {
  content: "";
  display: block;
  width: 40%;
  max-width: 310px;
  height: 30vw;
  background: url(../images/index/intro_copy.png) no-repeat;
  background-size: contain;
  position: absolute;
  right: -60px;
  left: auto;
}
#index .intro_box .intro_txt .intro_hl {
  width: 100%;
  height: calc(((100vw / 43) * 2) + 30px);
  margin: 0 0 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}
#index .intro_box .intro_txt .intro_hl span {
  display: block;
  width: 100%;
  padding: 10px 0 15px;
  font-size: calc(100vw / 40);
  font-family: "Zen Old Mincho", serif;
  font-weight: bold;
  color: #000000;
  position: absolute;
  bottom: calc((((100vw / 40) * 1.4) + 25px) * -1);
  z-index: 1;
  transition: all 0.5s;
}
#index .intro_box .intro_txt .intro_hl.is-active span {
  bottom: 0;
}

#index .intro_box .intro_txt .intro_hl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #147882;
  transition: all 0.5s;
}

#index .intro_box .intro_txt .intro_hl.is-active::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #index .intro_box {
    padding: 10vw 10vw 10vw 0;
    background-attachment: scroll;
  }
  #index .intro_box .intro_txt .intro_hl {
    margin: 30px 0 0;
  }
  #index .intro_box .intro_txt .intro_hl span {
    font-size: calc(100vw / 32);
  }
  #index .intro_box .intro_txt {
    line-height: 1.8;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .intro_box {
    margin: 14vw auto;
    padding: 16vw 5vw;
  }
  #index .intro_box .intro_wpap {
    padding: 4vw 5vw 16vw 5vw;
    background: #ffffff99;
    border-radius: 6vw;
    position: relative;
  }
  #index .intro_box .intro_txt {
    width: 100%;
    line-height: 1.8;
  }
  #index .intro_box .intro_txt .intro_hl {
    width: 100%;
    height: calc(((100vw / 16) * 2) + 8vw);
    margin: 4vw 0;
  }
  #index .intro_box .intro_txt .intro_hl span {
    padding: 1vw 2vw 2vw;
    font-size: calc(100vw / 18);
    line-height: 1.4;
    bottom: calc((((100vw / 18) * 2.8) + 3vw) * -1);
  }
  #index .intro_box .intro_txt p {
    padding-left: 0;
    font-size: 100%;
  }
  #index .intro_box .intro_txt p::after {
    content: "";
    display: block;
    width: 60vw;
    height: 30vw;
    background: url(../images/index/intro_copy.png) no-repeat;
    background-size: contain;
    max-width: none;
    bottom: -50vw;
    right: -7vw;
  }
}

/* ====== work ====== */
#index .work {
  background: #ebf0f2;
  padding: 80px 0;
}
#index .work .work_list {
  width: fit-content;
  margin: auto;
  padding: 30px;
}
#index .work .work_list .work_list_hl {
  width: fit-content;
  margin: 10px auto 40px;
  text-align: center;
  font-size: 2em;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 20px;
}
#index .work .work_list_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  gap: 40px;
}
#index .work .work_list_box .work_items {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: calc((90% / 3) - 40px);
  border: 2px solid #147882;
  background: #ffffff;
  transition: 0.4s;
  position: relative;
}
#index .work .work_list_box .work_items .work_name {
  padding: 10px;
  width: 100%;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.2em;
  text-align: center;
  color: #147882;
  position: relative;
  overflow: hidden;
}
#index .work .work_list_box .work_items .work_name::before {
  content: "";
  font-family: "Dancing Script", cursive;
  font-size: 2.8em;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  text-shadow: 3px 3px 0 #14788244;
  color: #147882;
  transform: rotate(-15deg);
}
#index .work .work_list_box .work_items:nth-of-type(1) .work_name::before {
  content: "01";
}
#index .work .work_list_box .work_items:nth-of-type(2) .work_name::before {
  content: "02";
}
#index .work .work_list_box .work_items:nth-of-type(3) .work_name::before {
  content: "03";
}
#index .work .work_list_box .work_items .work_name {
  font-size: 1.4em;
}
#index .work .work_list_box .work_items .work_names {
  line-height: 1.2;
  margin: auto;
  font-weight: 700;
}
#index .work .work_list_box .work_items .work_img {
  width: 100%;
  text-align: center;
  line-height: 0;
  overflow: hidden;
  transition: 0.4s;
  margin: auto;
}
#index .work .work_list_box .work_items .work_contnt ul {
  width: 100%;
  padding: 20px 20px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
#index .work .work_list_box .work_items .work_contnt {
  width: 90%;
  margin: 20px auto;
  font-size: 90%;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #index .work .work_list_box {
    gap: 20px;
  }
  #index .work .work_list {
    padding: 20px;
    border-radius: 20px;
  }
  #index .work .work_list .work_list_hl {
    width: fit-content;
    margin: 0 auto 20px;
    font-size: 180%;
    gap: 10px;
  }
  #index .work .work_list_box .work_items .work_contnt ul {
    padding: 10px 10px 20px 10px;
    gap: 5px 10px;
  }
  #index .work .work_list_box .work_items {
    width: calc((100% / 3) - 20px);
    position: relative;
  }
  #index .work .work_list_box .work_items .work_names {
    opacity: 1;
  }
  #index .work .work_list_box .work_items .work_contnt {
    font-size: 100%;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .work .work_list_box .work_items {
    max-width: 400px;
    width: 100%;
  }
  #index .work .work_list {
    width: 90%;
    padding: 6vw;
    border-radius: 10px;
  }
  #index .work .work_list .work_list_hl {
    margin: 3vw auto 8vw;
  }
  #index .work .work_list_box .work_items .work_names {
    font-size: 120%;
  }
  #index .work .work_box .work_img {
    width: 100%;
  }
  #index .work .work_box .work_cntns {
    width: 100%;
    padding: 10vw 5vw 3vw 5vw;
    margin: 0;
  }
  #index .work .work_box2 ul {
    gap: 10px;
  }
  #index .work .work_box2 ul li {
    max-width: 200px;
    width: calc((90vw - 30px) / 3);
  }
}

/* ====== recruit ====== */
.recruit {
  position: relative;
  overflow: hidden;
  background: #ebf0f2;
  z-index: 0;
}
.recruit::before {
  content: "";
  width: 100%;
  height: 50%;
  display: block;
  background: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.recruit .bgLRextend2.is-active::before {
  background: #ffffff;
}
#index .recruit .recruit_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 80px 0;
}
#index .recruit .recruit_box .recruit_img {
  width: 40%;
  overflow: hidden;
}
#index .recruit .recruit_box .recruit_img.sp {
  display: none;
}
#index .recruit .recruit_box .recruit_cntns {
  width: 60%;
  padding: 80px 50px 30px 10vw;
  position: relative;
}
#index .recruit .recruit_box .recruit_cntns dt {
  margin-bottom: 40px;
  position: relative;
  display: block;
}
#index .recruit .recruit_box .recruit_cntns dt h3 {
  font-size: calc(100vw / 46);
  font-weight: bold;
  transition: 0.8s;
  position: relative;
}
#index .recruit .recruit_box .recruit_cntns dt h3::after {
  content: "";
  display: block;
  margin: auto;
  height: 3px;
  width: 0;
  background: #00a99d;
  position: absolute;
  bottom: -10px;
  left: 0;
}
#index .recruit .recruit_box .recruit_cntns dt h3.is-active::after {
  width: 100%;
  transition: all 1.5s ease 0s;
}
#index .recruit .recruit_box .recruit_cntns dt h3 .ruby {
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  font-size: 60%;
  color: #666666;
  display: block;
  margin: -10px 0 0 auto;
  width: fit-content;
}
#index .recruit .recruit_box .recruit_cntns dd {
  font-size: 120%;
  line-height: 1.8;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #index .recruit .recruit_list_box {
    gap: 20px;
  }
  #index .recruit .recruit_box .recruit_cntns {
    padding: 5vw 3vw 0 3vw;
    margin-bottom: 20px;
  }
  #index .recruit .recruit_box .recruit_cntns dt {
    margin-bottom: 30px;
  }
  #index .recruit .recruit_box .recruit_cntns dt h3 {
    font-size: calc(90vw / 26);
    font-weight: bold;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .recruit .recruit_box {
    justify-content: center;
    margin-bottom: 6vw;
  }
  #index .recruit .recruit_box .recruit_cntns {
    width: 100%;
    padding: 0 5vw;
    margin-bottom: 20px;
  }
  #index .recruit .recruit_box .recruit_img.pc {
    display: none;
  }
  #index .recruit .recruit_box .recruit_img.sp {
    display: block;
    width: 90%;
    margin: 30px auto;
  }
  #index .recruit .recruit_box .recruit_cntns dt {
    margin-bottom: 8vw;
    position: relative;
  }
  #index .recruit .recruit_box .recruit_cntns dt h3 {
    font-size: calc(90vw / 14);
    font-weight: bold;
  }
  #index .recruit .recruit_box .recruit_cntns dd {
    font-size: 100%;
  }
}

/* ====== workflow ====== */
#index .workflow {
  padding: 60px 0;
  background: #dceeec;
  position: relative;
}
#index .workflow .cotns_box {
  max-width: 980px;
}
#index .workflow [class^="workflow_img"] {
  opacity: 0;
  width: 40%;
  max-width: 420px;
  line-height: 0;
  box-shadow: -20px 30px 0 #98d8d4;
}
#index .workflow [class^="workflow_img"].is-active {
  opacity: 0.7;
}
#index .workflow [class^="workflow_img"]:nth-of-type(even) {
  box-shadow: 20px 30px 0 #98d8d4;
}
#index .workflow .workflow_img01 {
  position: absolute;
  top: 10%;
  right: 0;
  left: auto;
}
#index .workflow .workflow_img02 {
  position: absolute;
  top: 25%;
  left: 0;
  right: auto;
}
#index .workflow .workflow_img03 {
  position: absolute;
  bottom: 25%;
  right: 0;
  left: auto;
}
#index .workflow .workflow_img04 {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: auto;
}
#index .workflow .workflow_item {
  margin: 60px auto;
  width: 70%;
}
#index .workflow .workflow_item dl {
  width: 100%;
  position: relative;
  margin: 60px 0;
}
#index .workflow .workflow_item dl::after {
  content: "";
  display: block;
  width: 62px;
  height: 30px;
  background-color: #005b97;
  clip-path: polygon(60px 0, 0 0, 30px 25px);
  position: absolute;
  bottom: -50px;
  left: calc(50% - 30px);
}
#index .workflow .workflow_item dl:last-child::after {
  display: none;
}
#index .workflow .workflow_item dt {
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  background-image: linear-gradient(-45deg, #66cccc, #00a99d 30%, #147882);
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
}
#index .workflow .workflow_item dt::before {
  counter-increment: number 1;
  content: "0" counter(number) "-";
  font-family: "Dancing Script", cursive;
  font-size: 150%;
  width: 80px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  /* background: #66cccc; */
  color: #ffffff;
}
#index .workflow .workflow_item dd {
  background: #ffffff;
  padding: 20px 20px 20px 60px;
}
#index .workflow .workflow_item dd li {
  text-indent: -10px;
  padding-left: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}
#index .workflow .workflow_item dd li:before {
  content: "・";
  display: inline-block;
  margin-right: 4px;
}

@media screen and (max-width: 1500px) {
  #index .workflow [class^="workflow_img"] {
    width: 26vw;
    max-width: 420px;
  }
}
@media screen and (max-width: 1081px) {
  #index .workflow .workflow_item {
    margin: 60px auto;
    width: 60%;
  }
  #index .workflow .workflow_item dt {
    font-size: calc(60vw / 20);
  }
}
@media screen and (max-width: 768px) {
  #index .workflow .workflow_item {
    margin: 6vw auto;
    width: 100%;
  }
  #index .workflow .workflow_item dl {
    margin: 6vw 0 35vw;
  }
  #index .workflow .workflow_item dl::after {
    position: absolute;
    bottom: -20vw;
    left: calc(50% - 30px);
  }
  #index .workflow .workflow_item dt {
    height: 10vw;
    font-size: calc(100vw / 20);
  }
  #index .workflow .workflow_item dt::before {
    width: 15vw;
    height: 10vw;
  }
  #index .workflow .workflow_item dd {
    padding: 2vw 2vw 2vw 2vw;
    line-height: 1.6;
  }
  #index .workflow .workflow_item dd li {
    text-indent: -2vw;
    padding-left: 4vw;
    margin-bottom: 10px;
  }
  #index .workflow [class^="workflow_img"] {
    width: 38vw;
    box-shadow: -2vw 3vw 0 #98d8d4;
  }
  #index .workflow [class^="workflow_img"]:nth-of-type(even) {
    box-shadow: 2vw 3vw 0 #98d8d4;
  }
  #index .workflow .workflow_img01 {
    position: absolute;
    top: 12%;
    right: 0;
    left: auto;
  }
  #index .workflow .workflow_img02 {
    position: absolute;
    top: 27%;
    left: 0;
    right: auto;
  }
  #index .workflow .workflow_img03 {
    position: absolute;
    bottom: 30%;
    right: 0;
    left: auto;
  }
  #index .workflow .workflow_img04 {
    position: absolute;
    bottom: 3%;
    left: 0;
    right: auto;
  }
}
