@charset "UTF-8";

/* keyvisual ------------------*/

#keyvisual {
  padding-top: 95px;
}

@media screen and (max-width: 1200px) {
  #keyvisual {
    padding-top: 0;
  }
}

/* news ------------------*/

#news {
  background-color: #feece8;
  padding: 6% 0;
}

/* banner ------------------*/

.banner-blc {
  background-color: #fefaf9;
  padding: 2% 4% 4%;
}

.banner-blc .inner-blc {
  max-width: 540px;
  border: 1px solid #d89597;
  margin: 0 auto;
  box-sizing: border-box;
}

.banner-blc .inner-blc a {
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.banner-blc .inner-blc a.animation-hide {
  opacity: 1;
}

.banner-blc .inner-blc a::before {
  content: "";
  background-color: #d89597;
  width: 100%;
  height: 0;
  position: absolute;
  top: -1px;
  left: 0;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.banner-blc .inner-blc a:hover::before {
  top: auto;
  bottom: 0;
  height: 100%;
}

.banner-blc .img-blc {
  width: 46%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
}

.banner-blc .img-blc .img {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 120px;
  transform: scale(1);
  transition: all 1000ms ease-in-out;
  box-sizing: border-box;
}

.banner-blc .txt-blc {
  color: #d89597;
  font-size: 120%;
  width: 54%;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  transition: all 600ms ease-in-out;
}

.banner-blc a:hover .txt-blc {
  color: #fff;
}

.banner-blc .txt-blc .inner {
  position: relative;
  overflow: hidden;
}

.banner-blc .txt-blc .txt01 {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
}

.banner-blc a.do-animate.no-first .txt-blc .txt01 {
  animation: none;
}

.banner-blc a.is-hover.no-first .txt-blc .txt01 {
  animation: hoverBannerText 0.8s 0.2s;
}

.banner-blc .txt-blc .txt02 {
  display: block;
  opacity: 0;
  visibility: hidden;
}

.banner-blc .txt-blc .arrow {
  width: 28px;
  height: 14px;
  margin: auto;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
}

.banner-blc .txt-blc .arrow::before {
  content: "";
  background: url(../img/common/arrow_right03.png) no-repeat center center;
  background-size: 100% auto;
  width: 11px;
  height: 14px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 11px);
  opacity: 1;
  transform: translateX(0);
  transition: all 600ms ease-in-out;
}

.banner-blc a.do-animate.no-first .txt-blc .arrow::before {
  animation: none;
}

.banner-blc a:hover .txt-blc .arrow::before {
  background-image: url(../img/common/arrow_right04.png);
}

.banner-blc a.is-hover.no-first .txt-blc .arrow::before {
  animation: hoverBannerArrow 0.8s forwards;
}

.banner-blc .txt-blc .arrow::after {
  content: "";
  background-color: #d89597;
  width: 18px;
  height: 2px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 29px);
  transition: all 600ms ease-in-out;
}

.banner-blc a:hover .txt-blc .arrow::after {
  background-color: #fff;
}

.banner-blc a.do-animate.no-first .txt-blc .arrow::after {
  animation: none;
}

.banner-blc a.is-hover.no-first .txt-blc .arrow::after {
  animation: hoverBannerLine 0.8s;
}

@keyframes hoverBannerText {
  0% {
    bottom: 0;
  }

  50% {
    bottom: 100%;
  }

  51% {
    bottom: auto;
    top: 100%;
  }

  100% {
    bottom: auto;
    top: 0;
  }
}

@keyframes hoverBannerArrow {
  0% {
    right: 0;
    opacity: 1;
  }

  50% {
    right: -11px;
    opacity: 0;
  }

  51% {
    left: calc(100% - 23px);
    right: auto;
    opacity: 0;
  }

  100% {
    left: calc(100% - 11px);
    right: auto;
    opacity: 1;
  }
}

@keyframes hoverBannerLine {
  0% {
    width: 18px;
    left: auto;
    right: 11px;
  }

  50% {
    width: 0px;
    left: auto;
    right: 11px;
  }

  51% {
    width: 0px;
    right: auto;
    left: calc(100% - 29px);
  }

  100% {
    width: 18px;
    right: auto;
    left: calc(100% - 29px);
  }
}

@keyframes bannerHoverBgColor {
  0% {
    height: 0;
    bottom: 0;
    left: 0;
  }

  100% {
    height: 101%;
    bottom: 0;
    left: 0;
  }
}

@keyframes bannerOutBgColor {
  0% {
    height: 101%;
    top: 0;
    left: 0;
  }

  100% {
    height: 0;
    top: 0;
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .banner-blc .inner-blc a:hover::before {
    height: 0;
  }

  .banner-blc a.no-first::after {
    animation: none;
  }

  .banner-blc a:hover::after {
    animation: none;
  }

  .banner-blc .txt-blc {
    font-size: 100%;
  }

  .banner-blc a:hover .txt-blc {
    color: #d89597;
  }

  .banner-blc a.is-hover.no-first .txt-blc .txt01 {
    animation: none;
  }

  .banner-blc a:hover .txt-blc .arrow::before {
    background-image: url(../img/common/arrow_right03.png);
  }

  .banner-blc a.is-hover.no-first .txt-blc .arrow::before {
    animation: none;
  }

  .banner-blc a:hover .txt-blc .arrow::after {
    background-color: #d89597;
  }

  .banner-blc a.is-hover.no-first .txt-blc .arrow::after {
    animation: none;
  }
}

@media screen and (max-width: 380px) {
  .banner-blc .img-blc {
    width: 38%;
  }

  .banner-blc .img-blc .img {
    min-height: 100px;
  }

  .banner-blc .txt-blc {
    width: 62%;
  }
}

/* service ------------------*/

#service .inner-head {
  background-color: #fefaf9;
  padding: 2% 0 4%;
}

#service .inner-body {
  padding: 0 0 6%;
}

#service .txt-catch {
  font-size: 120%;
  text-align: center;
}

#service .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#service .list .item {
  width: calc(20% - 4px);
  margin: 0 5px 0 0;
}

#service .list .item:nth-of-type(5n+5) {
  margin-right: 0;
}

#service .list .item:last-of-type {
  margin-right: 0;
}

#service .list .item .head-blc {
  border: 1px solid #554345;
}

#service .list .item .img-blc {
  text-align: center;
  position: relative;
  overflow: hidden;
}

#service .list .item .img-blc.animation-hide {
  opacity: 1;
}

#service .list .item .img-blc .img-item {
  display: block !important;
}

#service .list .item .img-blc .img {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-top: 57%;
  text-align: center;
  position: relative;
  transform: scale(1);
  transition: all 1000ms ease-in-out;
}

#service .list .item .head-blc .subj {
  color: #d89597;
  text-align: center;
  font-size: 260%;
}

#service .list .item .txt-blc {
  padding: 5.5%;
}

#service .list .item .txt-blc .menu {
  border-top: 1px solid #fbf9f8;
}

#service .list .item .txt-blc .menu li {
  margin-bottom: 10px;
}

#service .list .item .txt-blc .menu li a {
  line-height: 1.6;
  text-decoration: none;
  border: 1px solid #554345;
  display: block;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

#service .list .item .txt-blc .menu li a.animation-hide {
  opacity: 1;
}

#service .list .item .txt-blc .menu li a::before {
  content: "";
  background-color: #d89597;
  width: 100%;
  height: 0;
  position: absolute;
  top: -1px;
  left: 0;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

#service .list .item .txt-blc .menu li a:hover::before {
  top: auto;
  bottom: 0;
  height: 100%;
}

#service .list .item .txt-blc .menu li a .arrow::before {
  content: "";
  background: url(../img/common/arrow_right02.png) no-repeat center center;
  background-size: 100% auto;
  width: 11px;
  height: 14px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 23px);
  opacity: 1;
  transform: translateX(0);
}

#service .list .item .txt-blc .menu li a:hover .arrow::before {
  background-image: url(../img/common/arrow_right04.png);
}

#service .list .item .txt-blc .menu li a.do-animate.no-first .arrow::before {
  animation: none;
}

#service .list .item .txt-blc .menu li a.is-hover.no-first .arrow::before {
  animation: serviceHoverBtnArrow 0.8s forwards;
}

#service .list .item .txt-blc .menu li a .arrow::after {
  content: "";
  background-color: #554345;
  width: 18px;
  height: 2px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 41px);
}

#service .list .item .txt-blc .menu li a:hover .arrow::after {
  background-color: #fff;
}

#service .list .item .txt-blc .menu li a.do-animate.no-first .arrow::after {
  animation: none;
}

#service .list .item .txt-blc .menu li a.is-hover.no-first .arrow::after {
  animation: serviceHoverBtnLine 0.8s;
}

#service .list .item .txt-blc .menu li a .txt01 {
  width: 100%;
  height: 100%;
  padding: 12px 45px 12px 12px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}

#service .list .item .txt-blc .menu li a .txt02 {
  padding: 12px 45px 12px 12px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}

#service .list .item .txt-blc .menu li a:hover .txt01,
#service .list .item .txt-blc .menu li a:hover .txt02 {
  color: #fff;
}

#service .list .item .txt-blc .menu li a.do-animate.no-first .txt01 {
  animation: none;
}

#service .list .item .txt-blc .menu li a.is-hover.no-first .txt01 {
  animation: serviceHoverBtnText 0.8s 0.2s;
}

@keyframes serviceHoverBtnText {
  0% {
    bottom: 0;
  }

  50% {
    bottom: 100%;
  }

  51% {
    bottom: auto;
    top: 100%;
  }

  100% {
    bottom: auto;
    top: 0;
  }
}

@keyframes serviceHoverBtnArrow {
  0% {
    right: 12px;
    opacity: 1;
  }

  50% {
    right: 1px;
    opacity: 0;
  }

  51% {
    left: calc(100% - 34px);
    right: auto;
    opacity: 0;
  }

  100% {
    left: calc(100% - 23px);
    right: auto;
    opacity: 1;
  }
}

@keyframes serviceHoverBtnLine {
  0% {
    width: 18px;
    left: auto;
    right: 23px;
  }

  50% {
    width: 0px;
    left: auto;
    right: 23px;
  }

  51% {
    width: 0px;
    right: auto;
    left: calc(100% - 41px);
  }

  100% {
    width: 18px;
    right: auto;
    left: calc(100% - 41px);
  }
}

@media screen and (max-width: 1400px) {
  #service .list .item {
    width: calc(33.33% - 3.33px);
  }

  #service .list .item:nth-of-type(5n+5) {
    margin-right: 5px;
  }

  #service .list .item:nth-of-type(3n+3) {
    margin-right: 0;
  }

  #service .list .item:last-of-type {
    margin-right: 0;
  }

  #service .list .item .head-blc .subj {
    font-size: 230%;
  }
}

@media screen and (max-width: 1140px) {
  #service .list .item {
    margin-bottom: 4%;
  }
}

@media screen and (max-width: 850px) {
  #service .list .item {
    width: calc(50% - 2.5px);
  }

  #service .list .item:nth-of-type(3n+3) {
    margin-right: 5px;
  }

  #service .list .item:nth-of-type(2n+2) {
    margin-right: 0;
  }

  #service .list .item:last-of-type {
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  #service .txt-catch {
    font-size: 100%;
  }

  #service .list .item .txt-blc {
    padding: 4%;
  }

  #service .list .item .txt-blc .subj {
    font-size: 180%;
    margin-bottom: 12px;
  }

  #service .list .item .txt-blc .menu li a::before {
    display: none;
  }

  #service .list .item .txt-blc .menu li a:hover .arrow::before {
    background-image: url(../img/common/arrow_right02.png);
  }

  #service .list .item .txt-blc .menu li a.is-hover.no-first .arrow::before {
    animation: none;
  }

  #service .list .item .txt-blc .menu li a:hover .arrow::after {
    background-color: #554345;
  }

  #service .list .item .txt-blc .menu li a.is-hover.no-first .arrow::after {
    animation: none;
  }

  #service .list .item .txt-blc .menu li a:hover .txt01,
  #service .list .item .txt-blc .menu li a:hover .txt02 {
    color: #554345;
  }

  #service .list .item .txt-blc .menu li a.is-hover.no-first .txt01 {
    animation: none;
  }
}

@media screen and (max-width: 480px) {
  #service .list .item .txt-blc .subj {
    font-size: 150%;
  }

  #service .list .item .txt-blc .menu li a .arrow::after {
    opacity: 0;
    visibility: hidden;
  }

  #service .list .item .txt-blc .menu li a .txt01,
  #service .list .item .txt-blc .menu li a .txt02 {
    padding-right: 24px;
  }
}

@media screen and (max-width: 440px) {
  #service .list .item {
    width: 100%;
    margin-right: 0;
  }

  #service .list .item:nth-of-type(5n+5) {
    margin-right: 0;
  }

  #service .list .item:nth-of-type(3n+3) {
    margin-right: 0;
  }

  #service .list .item:last-of-type {
    margin-right: 0;
  }

  #service .list .item .txt-blc .menu li a .arrow::after {
    opacity: 1;
    visibility: visible;
  }

  #service .list .item .txt-blc .menu li a .txt01,
  #service .list .item .txt-blc .menu li a .txt02 {
    padding-right: 45px;
  }

  #service .list .item .txt-blc .menu li a .txt01 br,
  #service .list .item .txt-blc .menu li a .txt02 br {
    display: none;
  }
}

@media screen and (max-width: 360px) {
  #service .list .item .txt-blc {
    padding: 2%;
  }

  #service .list .item .txt-blc .menu li a .arrow::before {
    left: calc(100% - 18px);
  }

  #service .list .item .txt-blc .menu li a .arrow::after {
    opacity: 0;
    visibility: hidden;
  }

  #service .list .item .txt-blc .menu li a .txt01,
  #service .list .item .txt-blc .menu li a .txt02 {
    padding-right: 18px;
  }

  @keyframes serviceDoBtnArrow {
    0% {
      right: 18px;
      opacity: 1;
    }

    50% {
      right: 6px;
      opacity: 0;
    }

    51% {
      left: calc(100% - 29px);
      right: auto;
      opacity: 0;
    }

    100% {
      left: calc(100% - 18px);
      right: auto;
      opacity: 1;
    }
  }
}

/* about ------------------*/

#about {
  background-color: #e3ddd1;
}

#about .part-blc {
  display: flex;
  flex-wrap: wrap;
}

#about .part-blc .img-blc {
  width: 50%;
  position: relative;
  overflow: hidden;
}

#about .part-blc .img-blc .img {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1000ms ease-in-out;
  /* transform: scale(1.2); */
  transform: scale(1);
}

#about .part-blc .img-blc+.txt-blc {
  width: 50%;
}

#about .part-blc .txt-blc {
  width: 100%;
  padding: 6% 4%;
  box-sizing: border-box;
}

#about .part-blc .txt-blc .inner-blc {
  max-width: 485px;
  margin: 0 auto;
}

#about .part-blc .txt-blc .ttl-style01 {
  text-align: left;
}

#about .part-blc .txt-blc .txt-intro {
  font-size: 120%;
}

#about .part-blc .txt-blc .menu {
  padding: 0 4%;
  margin-top: 6%;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

#about .part-blc .txt-blc .menu li {
  width: 49%;
  margin: 0 2% 2% 0;
}

#about .part-blc .txt-blc .menu li:nth-of-type(2n+2) {
  margin-right: 0;
}

#about .part-blc .txt-blc .menu li:nth-last-child(1),
#about .part-blc .txt-blc .menu li:nth-last-child(2) {
  margin-bottom: 0;
}

#about .part-blc .txt-blc .menu li:nth-of-type(1),
#about .part-blc .txt-blc .menu li:nth-of-type(2) {
  width: 100%;
  margin-right: 0;
}

#about .part-blc .txt-blc .menu li a {
  background-color: #fff;
  font-size: 120%;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  display: block;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

#about .part-blc .txt-blc .menu li a::before {
  content: "";
  background-color: #d89597;
  width: 100%;
  height: 0;
  position: absolute;
  top: -1px;
  left: 0;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

#about .part-blc .txt-blc .menu li a:hover::before {
  top: auto;
  bottom: 0;
  height: 100%;
}

#about .part-blc .txt-blc .menu li a.js-txt-btn>span {
  display: inline-block;
  vertical-align: top;
  opacity: 1;
  transform: translate(0%, 0%);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  z-index: 1;
}

#about .part-blc .txt-blc .menu li a.js-txt-btn:hover>span {
  color: #fff;
  animation: txt-btn-hover-in 0.6s forwards;
}

@keyframes txt-btn-hover-in {
  0% {
    opacity: 1;
    transform: translate(0%, 0%);
  }

  50% {
    opacity: 0;
    transform: translate(0%, -8px);
  }

  51% {
    opacity: 0;
    transform: translate(0%, 8px);
  }

  100% {
    opacity: 1;
    transform: translate(0%, 0%);
  }
}

@media screen and (max-width: 767px) {
  #about .part-blc .img-blc {
    width: 100%;
    padding-top: 50%;
  }

  #about .part-blc .img-blc+.txt-blc, #about .part-blc .txt-blc {
    width: 100%;
  }

  #about .part-blc .txt-blc .txt-intro {
    font-size: 100%;
  }

  #about .part-blc .txt-blc .menu {
    padding-left: 0;
    padding-right: 0;
  }

  #about .part-blc .txt-blc .menu li a {
    font-size: 100%;
  }

  #about .part-blc .txt-blc .menu li a:hover::before {
    top: 0;
    bottom: auto;
    height: 0;
  }

  #about .part-blc .txt-blc .menu li a.js-txt-btn:hover>span {
    color: inherit;
    animation: none;
  }
}

/* banner02 ------------------*/

#banner02 {
  background-color: transparent;
  padding: 4% 4% 2%;
}

/* blc-img-bg ------------------*/

.blc-img-bg {
  margin: 6% 0;
  box-sizing: border-box;
}

.blc-img-bg .inner-blc {
  display: flex;
  background-color: #fef3f0;
  overflow: hidden;
  position: relative;
}

.blc-img-bg .inner-blc .img-blc {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.blc-img-bg .inner-blc .img-blc .img {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1000ms ease-in-out;
  transform: scale(1);
}

.blc-img-bg .inner-blc .part-blc {
  width: 50%;
  padding: 5rem 2rem;
  box-sizing: border-box;
}

.blc-img-bg .inner-blc .part-blc .txt-catch {
  text-align: center;
  font-size: 180%;
  line-height: 1.5;
}

.blc-img-bg .btn-style05 {
  text-align: center;
  margin-top: 2rem;
}

@media screen and (max-width:1000px) {
  .blc-img-bg .inner-blc {
    flex-wrap: wrap;
    background-color: transparent;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .blc-img-bg .inner-blc .img-blc {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
  }

  .blc-img-bg .inner-blc .part-blc {
    width: 100%;
    position: relative;
    margin: 10rem 2rem;
    padding: 2rem;
    max-width: 500px;
    background-color: rgba(254, 243, 240, 0.8);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
  }
}

@media screen and (max-width:767px) {
  .blc-img-bg .inner-blc .part-blc .txt-catch {
    font-size: 130%;
  }

  .blc-img-bg .inner-blc .part-blc {
    margin: 15vw 2rem;
    padding: 2rem 4%;
    max-width: 400px;
  }
}

@media screen and (max-width:480px) {
  .blc-img-bg .inner-blc .part-blc {
    margin: 20vw 4%;
    max-width: 320px;
  }

  .blc-img-bg .btn-style05 {
    margin-top: 1rem;
  }
}

/* recruit ------------------*/

#recruit {
  padding: 0 0 6%;
}

@media screen and (max-width: 767px) {
  #recruit {
    padding-top: 6%;
  }
}

/* link ------------------*/

#link {
  padding: 0 0 6%;
}

#link .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#link .list li {
  width: 22%;
  text-align: center;
  margin: 0 4% 4% 0;
  box-sizing: border-box;
}

#link .list li:nth-of-type(4n+4) {
  margin-right: 0;
}

#link .list li:last-of-type {
  margin-right: 0;
}

#link .list li a {
  border: 1px solid #554345;
  display: block;
  transition: all 0.4s ease-in-out;
  box-sizing: border-box;
}

#link .list li a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  #link .list li {
    width: 30.66%;
  }

  #link .list li:nth-of-type(4n+4) {
    margin-right: 4%;
  }

  #link .list li:nth-of-type(3n+3) {
    margin-right: 0;
  }

  #link .list li:last-of-type {
    margin-right: 0;
  }
}

@media screen and (max-width: 540px) {
  #link .list li {
    width: 48%;
  }

  #link .list li:nth-of-type(3n+3) {
    margin-right: 4%;
  }

  #link .list li:nth-of-type(2n+2) {
    margin-right: 0;
  }

  #link .list li:last-of-type {
    margin-right: 0;
  }
}