.index_top,
.job_flow {
  background: #ebf5fc;
  padding: 1px 0 5% 0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.index_top > div h2 {
  padding: 2% 0 0 0;
}
.index_top > div + div:not(.index_top_text),
.flow {
  width: 80%;
  margin: 0% auto 2% auto;
}
.index_top > div + div > div {
  display: flex;
  flex-wrap: nowrap;
}
.index_top div[class^="disp_flag"] > div + div {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.index_top div[class^="disp_flag"] > div + div > div {
  margin: 2% 0;
}
.index_top div[class^="button_list"] {
  -webkit-box-align: center;
  align-items: center;
  background: #fff;
  display: block;
  width: 32%;
  border-radius: 2.5rem;
  float: none;
  margin: 0.5% 0.5%;
  padding: 2%;
  text-align: center;
}
.index_top div[class^="button_list"] figure + div {
  margin: 0;
}
.index_top div[class^="button_list"] img {
  width: 70%;
  min-height: 4rem;
  object-fit: contain;
}
.index_top_text {
  text-align: center;
  padding: 2% 11%;
}
.index_middle {
  margin: 5% 0;
}
.index_middle h2 {
  color: black !important;
  font-weight: bold;
  font-size: 42px !important;
}
.index_middle h4 {
  border: none !important;
  width: auto !important;
  margin: 0 0 2% 0 !important;
  text-align: left !important;
  padding: 0 !important;
}
.img_r {
  position: relative;
  width: 60%;
  z-index: 0;
}
.index_middle .img_r::before {
  z-index: -1;
  border-radius: 27% 73% 38% 62% / 66% 27% 73% 34%;
  top: -40px;
  right: -550px;
  background-color: #e5e5e5 !important;
}
.index_middle .img_r::after {
  bottom: -70px;
  left: -90px;
  border-radius: 50% 50% 58% 42% / 36% 64% 36% 64%;
}
.index_middle .img_r::before,
.index_middle .img_r::after {
  content: "";
  background-color: var(--main-color);
  background-blend-mode: multiply;
  mix-blend-mode: multiply;
  position: absolute;
  width: 35%;
  height: 40%;
  animation: fadeIn 5s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.index_middle .topimg_p {
  width: 100%;
  border-top-right-radius: 65px;
  -webkit-border-top-right-radius: 65px;
  -moz-border-radius-topright: 65px;
}
.topimg_p {
  width: 100%;
}
.txt {
  padding: 5%;
  box-sizing: border-box;
}
.index_middle .txt {
  padding: 7.3%;
  line-height: 2;
}
.contsAreaL,
.contsAreaR {
  position: relative;
  margin: 0 auto;
  z-index: 1;
}
.index_middle .textAreaL {
  right: -20px;
  text-align: left;
  z-index: 1;
  top: -455px;
  width: 55%;
}
.textAreaL {
  position: absolute;
  z-index: 1;
}

.index_middle .textAreaR {
  top: 100px;
  right: 500px;
  text-align: left;
}
.textAreaR {
  position: absolute;
}
.index_middle .textArea_inner {
  background-color: #fefefed1;
  border-radius: 0.3rem;
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  box-shadow: rgb(142 142 142 / 9%) 0px 6px 15px 0px;
  -webkit-box-shadow: rgb(142 142 142 / 9%) 0px 6px 15px 0px;
}
.textArea_inner {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  background-color: white;
}
.contsAreaL img {
  width: 700px;
  float: right;
}
.contsAreaR img {
  width: 700px;
}
.moreLinkText {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #666 !important;
  padding-left: 30px;
}
/*ホバーしたときに下線矢印も同時に色を変える*/
.moreLinkText:hover .lineArrow {
  border-bottom: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
}
.moreLinkText:hover {
  color: var(--main-color) !important;
}
.moreLinkText > div {
  width: 30%;
  height: 15px;
  border-bottom: 1px solid #666;
  border-right: 1px solid #666;
  /*傾きを調節*/
  transform: skew(45deg);
  /*下線矢印をテキストに合わせてうまい具合にはめる*/
  margin-bottom: 2%;
}
.page_text_bottom {
  margin: 0 0 0 auto;
  display: flex;
}
.txt_bottom {
  width: 38%;
  align-self: center;
  box-sizing: border-box;
}
.img_bottom {
  right: 0;
  width: 40%;
  position: absolute;
}
.img_bottom img {
  object-fit: cover;
  height: 50vh;
}
.c_bottom {
  position: relative;
  height: 30rem;
  background: #ebf5fc;
  margin-top: 10%;
  padding-bottom: 45%;
}
.c_bottom::before {
  width: 100vw;
  height: 11rem;
  position: absolute;
  top: -9.5rem;
  content: "";
  background: url(../images/contact_bottom.png) no-repeat;
  background-size: cover;
  z-index: 0;
  background-position: top center;
}
.c_bottom > ul {
  width: 80%;
  margin: auto;
  display: flex;
}
.c_bottom > ul > li,
c_bottom > ul > li + li {
  width: 50%;
  align-self: center;
  text-align: center;
  padding: 2%;
  box-sizing: border-box;
}
.c_bottom li > div {
  width: 90%;
  margin: 0 auto;
}
.c_bottom li a {
  font-size: 165%;
  display: block;
  font-weight: bold;
  text-align: center;
  color: var(--main-color);
}
.c_bottom li a > i {
  margin-right: 0.5em;
  line-height: 230%;
}
.btn-top {
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
  margin-bottom: 0.2em;
  text-align: center;
}
.btn-c {
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 0;
  margin: auto;
  font-size: 110% !important;
  width: 88%;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  background: var(--main-color);
  letter-spacing: 0.1em;
  color: white !important;
  border-radius: 0.5rem;
}
.btn-c:hover {
  background: #1393d9;
}
.ul_news {
  margin-bottom: 1rem;
}
.btn_link {
  text-align: right;
  display: block;
}
@media screen and (max-width: 1210px) {
  /* 横幅が1210px以下の場合に適用するスタイル（ipad縦/スマホ横） */
  .index_middle {
    margin: 0% calc(50% - 50vw) 15% calc(50% - 50vw);
    width: 100vw;
  }
  .index_middle .topimg_p {
    border-radius: 0;
    height: 60vh;
    object-position: 50% 30%;
    object-fit: cover;
  }
  .index_middle .img_r {
    width: 100%;
  }
  .index_middle .img_r::before,
  .index_middle .img_r::after {
    content: none;
  }
  .index_middle .textAreaL {
    margin: 3%;
    width: 45%;
    right: 15px;
    margin: 0;
  }
  .img_bottom {
    display: none;
  }
  .index_bottom .full {
    margin: 0;
    width: auto;
  }
  .txt_bottom {
    width: auto;
    padding: 0;
  }
  .page_text_bottom {
    width: auto;
    margin: 0;
    display: block;
  }
  .c_bottom {
    height: auto;
    margin-top: 0;
    padding: 0;
  }
  .c_bottom::before {
    background: none !important;
  }
  .c_bottom > ul {
    width: auto;
    display: block;
  }
  .c_bottom > ul > li,
  c_bottom > ul > li + li {
    width: 80%;
    margin: auto;
    box-sizing: border-box;
    padding: 5% 0;
  }
}
@media screen and (max-width: 960px) {
  .index_top > div + div > div {
    flex-wrap: wrap;
    margin: 8% 0;
  }
  .index_top div[class^="button_list"] {
    border-radius: 4vw;
    font-size: 80%;
  }
  .index_middle .img_r {
    margin: auto;
    padding: 0;
    width: 100%;
  }
  .index_middle h2 {
    font-size: 28px !important;
  }
  .index_top div[class^="disp_flag"] > div + div {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
}
@media screen and (max-width: 835px) {
  .index_middle .txt {
    padding: 5% 13%;
  }
  .topimg_p {
    height: 35vh;
  }
  .index_middle .textAreaL {
    position: static;
    width: 100%;
  }
  .textArea_inner {
    background-color: #fefefed1;
    box-sizing: initial;
    -webkit-box-sizing: initial;
    box-shadow: none;
    -webkit-box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
  }
}
@media screen and (max-width: 480px) {
  .index_top div[class^="button_list"] {
    width: 80%;
    margin: auto;
  }
  .index_top div[class^="button_list"] {
    border-radius: 4vw;
    margin: 1% auto;
    max-width: 80%;
  }
  .moreLinkText > div {
    width: 50%;
  }
}
