/*============================
    firstview
============================*/
.top-mv {
  width: 100%;
  height: 890px;
  /*background: url(../images/kv_img01.jpg)no-repeat center top / cover;*/
  /* display: grid; */
  place-content: center;
  place-items: center;
  position: relative;
  padding-top: 0px;
  overflow: hidden;
}

/* slider 高さ調整 */
.slider__mv,
.slider__mv .slick-list,
.slider__mv .slick-track,
.slick-slide img {
  height: inherit;
}

.slick-slide img {
  object-fit: cover;
}

.mv__copy {
  text-align: center;
  white-space: nowrap;
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
}


@media screen and (max-width: 1400px) {
  .top-mv {
    height: 850px;
  }

}

@media screen and (max-width: 1280px) {
  .top-mv {
    height: 650px;
  }

  .mv__copy {
    bottom: 18%;
  }
}


@media screen and (max-width: 1024px) {
  .top-mv {
    height: 550px;
  }

  .mv__copy {
    bottom: 18%;
  }

}

@media screen and (max-width: 768px) {
  .top-mv {
    height: 400px;
  }

}

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

/*============================
    about
============================*/

.top-about {
  padding: 120px 0 200px;
}


.textarea {
  width: 50%;
}

.top-about .flexbox__img {
  width: 50%;
  flex: 1;
  margin-right: calc(57% - 50vw);
  margin-left: 7%;
}


@media screen and (max-width: 1280px) {
  .top-about {
    padding: 100px 0 150px;
  }

  .top-about .btn_wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .textarea {
    width: 100%;
    margin-bottom: 50px;
  }

  .top-about .flexbox__img {
    flex: auto;
    margin: auto;
    text-align: center;
  }

}

@media screen and (max-width:1024px) {
  .top-about {
    padding: 90px 0;
    ;
  }
}


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

  .top-about .btn_wrap {
    column-gap: 0;
  }

}

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

  .top-about .btn01 {
    margin-bottom: 20px;
  }
}

/*============================
    hena
============================*/

.top-hena {
  padding: 315px 0 190px;
  position: relative;
}

.top-hena::before {
  content: "";
  position: absolute;
  width: 100%;
  max-width: 1920px;
  height: 55%;
  max-height: 600px;
  background: url(https://calicohairworks.com/system_panel/uploads/images/hena_bg_wood.jpg) no-repeat;
  top: 0;
  left: 0;
  z-index: 0;
}

.top-hena::after {
  content: "";
  position: absolute;
  width: 100%;
  max-width: 1510px;
  height: 100%;
  max-height: 870px;
  background: url(https://calicohairworks.com/system_panel/uploads/images/hena_bg.png) no-repeat;
  background-size: contain;
  background-position: right;
  top: 100px;
  right: 0;
  z-index: 1;
}

.top-hena .flex-btw {
  position: relative;
  z-index: 2;
}

.top-hena .flexbox__img {
  width: 50%;
  flex: 1;
  margin-left: calc(57% - 50vw);
  margin-right: 7%;
}

.top-hena .flexbox__img {
  position: relative;
  margin: 50px;
}

.top-hena .flexbox__img img {
  width: 100%;
  max-width: 907px;
}

.hena__img__btm {
  max-width: 276px;
  position: absolute;
  bottom: 70px;
  right: -75px;
}

@media screen and (max-width: 1500px) {
  .top-hena .row-reverse {
    flex-direction: row;
    -webkit-flex-direction: row;
  }

  .top-hena .flexbox__img {
    margin-top: 200px;
    width: 50%;
    flex: 1;
    margin-right: calc(57% - 50vw);
    margin-left: 7%;
  }

}


@media screen and (max-width: 1280px) {
  .top-hena {
    padding: 180px 0 150px;
  }

  .top-hena::after {
    top: 40px;
  }

  .top-hena .textarea {
    margin-bottom: 0;
  }

  .top-hena .btn_wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .top-hena .flexbox__img {
    flex: auto;
    margin: auto;
    text-align: center;
  }

}

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

  .top-hena {
    padding: 100px 0 90px !important;
  }

  .top-hena::after {
    background: rgba(219, 194, 169, .7);
    background-size: auto;
    top: 5%;
  }
}

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


  .top-hena .flexbox__img {
    position: relative;
    /* margin: -100px; */
  }
}

/*============================
    menu
============================*/

.top-menu {
  padding: 0 0 100px;
}

.top-menu .inner {
  max-width: 1560px;
  width: 98%;
  margin: 0 auto;
}

.top-menu .section__title {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-menu .section__title img {
  width: 6%;
  max-width: 53px;
}

.top-menu .section__title .font-en {
  margin: 0 10px;
}

.menu__items {
  margin-bottom: 120px;
  row-gap: 100px;
}

.menu__item {
  width: 31%;
  max-width: 500px;
  position: relative;
}

.menu__btn {
  background: #fff;
  width: 250px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  bottom: -50px;
}

.menu__btn::after {
  content: "";
  position: absolute;
  background: url(https://calicohairworks.com/system_panel/uploads/images/btn_arw.png);
  width: 51px;
  height: 14px;
  bottom: 30px;
  right: -20px;
  transition: .3s;
  cursor: pointer;
}

.menu__item:hover .menu__btn::after {
  right: -40px;
}

.menu__btn p {
  font-size: 22px;
}

.menu__btb p.font-en {
  font-size: 18px;
}

@media screen and (max-width: 1280px) {
  .menu__btn {
    width: 200px;
    height: 150px;
  }

  .menu__btn::after {
    bottom: 15px;
  }


}

@media screen and (max-width:1024px) {
  .top-menu .inner {
    width: 94%;
  }

  .menu__btn {
    width: 150px;
    height: 100px;
    padding: 10px;
  }

  .menu__btn p {
    font-size: 16px;
  }

  .menu__btb p.font-en {
    font-size: 14px;
  }
}

@media screen and (max-width:768px) {
  .top-menu .inner {
    width: 92%;
  }

  .menu__items {
    row-gap: 80px;
  }

  .menu__item {
    width: 47%;
  }

  .menu__btn {
    height: 90px;
    bottom: -40px;
  }


  .menu__btn p {
    font-size: 14px;
  }

  .menu__btb p.font-en {
    font-size: 12px;
  }
}


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

  .menu__items {
    row-gap: 60px;
  }

  .menu__item {
    width: 100%;
  }

}


/*============================
    gallery
============================*/

.top-gallery {
  padding: 140px 0;
  max-height: 980px;
  background: url(https://calicohairworks.com/system_panel/uploads/images/gallery_bg.jpg) no-repeat center;
}

.top-gallery .inner {
  max-width: 100%;
  width: 96%;
  margin: 0 auto;
}

.gallery__item {
  width: 18%;
}


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

  .top-gallery {
    padding: 90px 0;
  }

  .gallery__items {
    row-gap: 20px;
  }

  .gallery__item:nth-child(1),
  .gallery__item:nth-child(2) {
    width: 47%;
  }

  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5) {
    width: 32%;
  }


}



/*============================
    beginner
    staff
============================*/
.top-contents {
  padding: 160px 0 150px;
}

.contents__item {
  position: relative;
  width: 48%;
  max-width: fit-content;
}

.contents__item a {
  color: #3e2709;
}

.contents__txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contents__txt p {
  text-align: center;
  font-size: 16px;
}

.contents__txt .font-en {
  font-size: 50px;
}

@media screen and (max-width:768px) {
  .top-contents {
    padding: 90px 0;
  }

  .contents__flex {
    text-align: center;
  }

  .contents__item {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }

  .contents__item:first-child {
    margin-bottom: 30px;
  }

  .contents__txt p {
    font-size: 14px;
  }

  .contents__txt .font-en {
    font-size: 30px;
  }
}

/*============================
    recruit
============================*/
.top-recruit {
  padding: 75px 0;
  background: url(https://calicohairworks.com/system_panel/uploads/images/recruit_bg.jpg) no-repeat;
}

.top-recruit .inner {
  max-width: 1100px;
}

.recruit__link {
  position: relative;
}

.recruit__link a {
  color: #3e2709;
}

.recruit__titlebox {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;
}

.recruit__titlebox img {
  margin-bottom: 20px;
  width: 32%;
  max-width: 100px;
}

.recruit__titlebox .font-jp {
  font-size: 22px;
  letter-spacing: 0.1em;
  font-weight: normal;
}


@media screen and (max-width:1024px) {
  .recruit__titlebox .font-en {
    font-size: 40px;
  }

  .recruit__titlebox .font-jp {
    font-size: 17px;
  }
}

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

  .top-recruit {
    padding: 60px 0;
  }

  .recruit__bg__board img {
    min-height: 190px;
    object-fit: cover;
    object-position: top left;
  }

  .recruit__titlebox .font-en {
    font-size: 20px;
  }

  .recruit__titlebox .font-jp {
    font-size: 14px;
  }
}


/*============================
    products
============================*/

.top-products {
  padding: 135px 0 120px;
}

.top-products .section__title .font-jp {
  margin-top: 20px;
  font-size: 20px;
}

.products__items {
  row-gap: 30px;
}

.products__item {
  max-width: 320px;
  width: 23%;
}

.products__img {
  margin-bottom: 30px;
}

.products__item p {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media screen and (max-width:1024px) {
  .top-products .section__title .font-jp {
    margin-top: 10px;
    font-size: 18px;
  }
}

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

  .top-products {
    padding: 90px 0;
  }

  .products__items {
    margin-bottom: 30px;
  }

  .products__item {
    max-width: 320px;
    width: 48%;
  }

  .products__item p span {
    font-size: 16px !important;
  }

  .products__img {
    margin-bottom: 10px;
  }

}