/*
Theme Name : ミキモト　スタッフコンテンツ
Author: xchange-creative
Version: 1.0
*/

/* フォームリセット用 */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
/* --フォームリセット用-- */
/* フォーム調整用 */
.searchform {
  width: 1000px;
  margin: auto;
  text-align: right;
  padding-top: 20px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .searchform {
    width: 100%;
  } 
}

.searchform .searchfield {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.searchform .searchfield:focus {
  background: none;
}

.searchform .searchsubmit {
  width: 16px;
  bottom: 8px;
  position: absolute;
  right: 6px;
}

.searchform .searchsubmit:hover {
  opacity: .5;
}
@media screen and (max-width: 768px) {
  .searchform .searchfield {
    margin-right: 5.3vw;
  }
  .searchform .searchsubmit {
    right: 24px;
  }
}

/* .searchform input.btn_submit {
  cursor: pointer;
  display: block;
  width: 150px;
  height: 50px;
  border: none;
  text-indent: -9999px;
  background: url(assets/img/icon_search.png) no-repeat 0 0;
}
 
.searchform input.btn_submit:hover {
  background: url(assets/img/icon_search.png) no-repeat 0 -50px;
} */
/* --フォーム調整用-- */


/* common */
@media screen and (max-width: 768px) {
  .items {
    position: relative;
    top: 14.6vw;
  } 
}

.staff-contents a {
  display: block;
}

@media screen and (min-width: 769px) {
  .staff-contents a:hover {
    opacity: .7;
    transition: .3s;
  }

  .staff-contents li a:not(.btn-shop) {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    width: 100%;
  }
}

.staff-contents .photo img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .staff-contents .photo img {
    height: auto;
  } 
}

.staff-contents #staffList ul {
  display: flex;
  margin-top: 50px;
  flex-wrap: wrap;
}

.staff-contents #staffList li {
  margin-top: 80px;
}

.staff-contents #staffList .type_ttl {
  font-size: 18px;
  text-align: center;
  width: 1000px;
  margin: 80px auto 0;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .staff-contents #staffList .type_ttl {
    width: 100%;
    margin: 80px 5.3vw 0;
    width: auto;
  }
}

/* 一覧 */
.staff-contents #staffList.list li {
  position:relative;
}

@media screen and (min-width: 769px) {
  .staff-contents #staffList.list li {
    width: calc((100% - 80px) / 3);
    display: flex;
  }

  .staff-contents #staffList.list li:not(:nth-child(3n+1)) {
    margin-left: 40px;
  }

  .staff-contents #staffList.list ul li:nth-of-type(-n+3) {
    margin-top: 0;
  }

  .staff-contents #staffList .head-tl {
    width: 100%;
  }
}

.staff-contents #staffList .text {
  display: block;
  padding-top: 20px;
}

.staff-contents #staffList .date {
  font-size: 12px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.staff-contents #staffList .date::before {
  background: #ddd;
  content: "";
  flex-grow: 1;
  height: 1px;
  min-width: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.staff-contents #staffList .text h3 {
  font-size: 20px;
  font-family: '游明朝','Yu Mincho','游明朝体','YuMincho','ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','HiraMinProN-W3','HGS明朝E','ＭＳ Ｐ明朝','MS PMincho',serif;
  line-height: 1.4;
  padding-bottom: 5px;
}

.staff-contents #staffList .intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.staff-contents #staffList .name-wrap {
  display: flex;
  align-items: center;
}

.staff-contents #staffList .name-wrap .icon {
  border-radius: 100px;
  width: 45px;
  height: 45px;
  overflow: hidden;
  background: #d5d5d5;
  margin-right: 10px;
}

.staff-contents #staffList .name-wrap .icon img {
  width: 100%;
}

.staff-contents #staffList .btn {
  margin: 80px auto 0px;
}
.staff-contents #staffList .more {
  font-size: 16px;
  padding: 10px 40px 10px 30px;
}
@media screen and (max-width: 768px) {
  .staff-contents #staffList .more {
    font-size: 18px;
    width: 180px;
    padding: 12px 40px;
    line-height: normal;
  } 
}
/* アーカイブページ */
.back_link{
  width: 1000px;
  margin: auto;
  text-align: left;
  position: relative;
  display: block;
  bottom: 20px;
  transition: .3s;
}
@media screen and (max-width: 768px) {
  .back_link{
    width: 100%;
    margin-left: 20px;
  }
}
.back_link:hover{
  opacity: .7;
}
.staff-contents .pagination{
  width: 20%;
  margin: 120px auto 0;
}
@media screen and (max-width: 768px) {
  .staff-contents .pagination{
    width: 40%;
    margin: 120px auto 0;
    font-size: 30px;
  } 
}
.staff-contents #staffList.list .pagination ul{
  justify-content: center;
}
.staff-contents #staffList.list .pagination ul li{
  width: inherit;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .staff-contents #staffList.list .pagination ul li{
    width: inherit;
    margin: auto;
  } 
}
.staff-contents .pagination .current{
  width: 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
  text-align: center;
  font-weight: bold;
}

/* 人シルエットアイコンの場合 */
.staff-contents #staffList .name-wrap .icon.default {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.staff-contents #staffList .name-wrap .icon.default img {
  width: 80%;
}

.staff-contents #staffList .shop {
  background: #333;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
}

.staff-contents #staffList.list .btn-shop {
  position: absolute;
  display: inline-block;
  right: 0;
  bottom: 15px;
}

.staff-contents #staffList.list .shop {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .staff-contents #staffList {
    font-size: 3.4vw
  }

  .staff-contents #staffList ul.inner {
    margin-top: 12.8vw;
    justify-content: unset;
  }

  .staff-contents #staffList.list li {
    width: 100%
  }

  .staff-contents #staffList li {
    margin-top: 12.8vw;
  }

  .staff-contents #staffList.list li:first-child {
    margin-top: 0;
  }

  .staff-contents #staffList .text {
    padding-top: 4vw;
  }

  .staff-contents #staffList .date {
    font-size: 2.6vw;
    padding-bottom: 2.5vw;
  }

  .staff-contents #staffList .date::before {
    margin-right: 2.5vw;
  }

  .staff-contents #staffList .text h3 {
    font-size: 4.5vw;
    font-family: 'ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','HiraMinProN-W3','HGS明朝E','ＭＳ Ｐ明朝','MS PMincho',serif;
    padding-bottom: 2.5vw;
  }

  .staff-contents #staffList .intro {
    width: 100%;
  }

  .staff-contents #staffList .shop {
    padding: 1.5vw 3vw;
    font-size: 2.6vw;
  }
  
  .staff-contents #staffList .name-wrap .icon {
    width: 10vw;
    height: 10vw;
    margin-right: 2.5vw;
  }

  .staff-contents #staffList.list .btn-shop {
    bottom: 2.5vw;
  }
}

/* 詳細 */
.staff-contents #staffList.detail li {
  width: 460px;
  margin-top: 0;
}

.staff-contents #staffList.detail >  div.inner {
  padding-top: 85px;
  padding-bottom: 40px;
}

.staff-contents #staffList.detail >  div.inner + .inner {
  margin-top: 0;
  justify-content: space-between;
}

.staff-contents #staffList.detail .inner:last-of-type {
  padding-bottom: 0;
}

.staff-contents #staffList.detail .text {
  padding-top: 0;
}

.staff-contents #staffList.detail .desc {
  line-height: 1.8;
}

.staff-contents #staffList.detail .head-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.staff-contents #staffList.detail .text h3 {
  font-size: 28px;
}

.staff-contents #staffList.detail .intro .name {
  padding-right: 20px;
}

.staff-contents #staffList.detail .name-wrap .icon {
  width: 30px;
  height: 30px;
}

.staff-contents #staffList.detail .date {
  padding-top: 5px;
  padding-bottom: 0;
}

.staff-contents #staffList.detail .product-link {
  position: relative;
  text-align: right;
}

.staff-contents #staffList.detail .product-link a {
  display: inline-block;
  padding-right: 25px;
}

.staff-contents #staffList.detail .product-link ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
}

.staff-contents #staffList.detail .product-link:not(:first-child) {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .staff-contents #staffList.detail .product-link:not(:first-child) {
    margin-top: 8vw;
  }
}

.staff-contents #staffList.detail .product-link ul li:last-of-type {
  width: auto;
}

.staff-contents #staffList.detail .product-img {
  border-radius: 100px;
  width: 70px;
  height: 70px;
  border: 1px solid #ddd;
  margin-right: 15px;
  position: relative;
  text-align: center;
}

.staff-contents #staffList.detail .product-img::before {
  content: "使用アイテム";
  position: absolute;
  top: -15px;
  font-size: 11px;
  left: 0;
  right: 0;
  margin: auto;
  white-space: nowrap;
}

.staff-contents #staffList.detail .product-img img {
  height: 100%;
  margin: 0 auto;
  border-radius: 100px;
}

.staff-contents #staffList.detail .product-link a::after,
.staff-contents #staffList.detail .pageNav a::after {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icon' !important;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  position: absolute;
  top: 50%;
  display: block;
  content: '\e902';
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  text-transform: none;
  speak: none;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  right: 0;
}

@media screen and (min-width: 769px) {
.staff-contents #staffList.detail a:hover::after
    {
        -webkit-animation: 'arrowCenterToRight' .25s ease 0s alternate forwards, 'arrowLeftToCenter' .25s ease .25s alternate forwards;
                animation: 'arrowCenterToRight' .25s ease 0s alternate forwards, 'arrowLeftToCenter' .25s ease .25s alternate forwards;
    }
}

.staff-contents #staffList.detail .pageNav {
  padding-top: 70px;
}

.staff-contents #staffList.detail .pageNav ul {
  width: 400px;
  margin: 0 auto 0;
}

.staff-contents #staffList.detail .pageNav li {
  width: 33%;
  text-align: center;
}

.staff-contents #staffList.detail .pageNav li:nth-of-type(-n+3) {
  margin-top: 0;
}

.staff-contents #staffList.detail .pageNav li {
  color: #ccc;
}

.staff-contents #staffList.detail .pageNav li a {
  display: inline-block;
  position: relative;
  color: #333;
}

.staff-contents #staffList.detail .pageNav .list a::after {
  content: "";
}

.staff-contents #staffList.detail .pageNav .back a {
  padding-left: 25px;
}

.staff-contents #staffList.detail .pageNav .next a {
  padding-right: 25px;
}

.staff-contents #staffList.detail .pageNav .back a::after {
  font-family: 'icon' !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    line-height: 1;

    position: absolute;
    top: 50%;
    left: 0;
        right: auto;
    content: '\e901';
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    text-transform: none;
    speak: none;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* slick */
.staff-contents #staffList.detail .photo-nav {
  margin-top: 20px;
}

.staff-contents #staffList.detail .photo-nav img {
  width: 100%;
}

.staff-contents #staffList.detail .photo-nav .slick-list {
  text-align: center;
  padding: 0 !important;
}

.staff-contents #staffList.detail .photo-nav .slick-track {
  transform: initial !important;
  display: inline-block;
  width: auto !important;
}

.staff-contents #staffList.detail .photo-nav .slick-slide {
  width: 50px !important;
  margin: 0 5px;
  border: 1px solid #ddd;
  opacity: .4;
  cursor: pointer;
  outline: none;
}

.staff-contents #staffList.detail .photo-nav .slick-slide.slick-current {
  opacity: 1;
}

.staff-contents #staffList.detail .photo-nav-wrap {
  position: relative;
}

.staff-contents #staffList.detail .photo-arrow button {
  z-index: 1;
}

.staff-contents #staffList.detail .photo-arrow .slick-prev,
.staff-contents #staffList.detail .photo-arrow .slick-next {
  width: 12px;
  height: 12px;
}

.staff-contents #staffList.detail .photo-arrow .slick-prev {
  left: 0;
}
.staff-contents #staffList.detail .photo-arrow .slick-next {
  right: 0;
}

.staff-contents #staffList.detail .photo-arrow .slick-prev {
  background: url('assets/img/icon_perv.svg') no-repeat center center;
  background-size: 100% auto;
}

.staff-contents #staffList.detail .photo-arrow .slick-next {
  background: url('assets/img/icon_next.svg') no-repeat center center;
  background-size: 100% auto;
}

.staff-contents #staffList.detail .photo-arrow .slick-prev::before,
.staff-contents #staffList.detail .photo-arrow .slick-next::before {
  content: "";
}


@media screen and (max-width: 768px) {
  .staff-contents #staffList.detail >  div.inner {
    padding-top: 12.8vw;
    padding-bottom: 5vw;
  }

  .staff-contents #staffList.detail >  div.inner + .inner {
    margin-top: 0;
  }

  .staff-contents #staffList.detail .inner:last-of-type {
    padding-bottom: 0;
  }

  .staff-contents #staffList.detail li {
    width: 100%;
  }

  .staff-contents #staffList.detail .text {
    padding-top: 0;
  }

  .staff-contents #staffList.detail .desc {
    line-height: 1.8;
    margin-top: 8vw;
  }

  .staff-contents #staffList.detail .head-detail {
    display: flex;
    justify-content: unset;
    align-items: unset;
    flex-wrap: wrap;
  }

  .staff-contents #staffList.detail .text h3 {
    font-size: 6vw;
    width: 100%;
  }

  .staff-contents #staffList.detail .intro .name {
    padding-right: 2.5vw;
  }

  .staff-contents #staffList.detail .name-wrap .icon {
    width: 7vw;
    height: 7vw;
  }

  .staff-contents #staffList.detail .date {
    padding-top: 2.5vw;
    padding-bottom: 0;
  }

  .staff-contents #staffList.detail .product-link {
    position: relative;
    text-align: right;
  }

  .staff-contents #staffList.detail .product-link a {
    padding-right: 5vw;
  }

  .staff-contents #staffList.detail .product-link ul li:last-of-type {
    margin: 1.5vw 0;
    line-height: 1.4;
  }

  .staff-contents #staffList.detail .product-img {
    width: 17vw;
    height: 17vw;
    margin-right: 2.5vw;
  }

  .staff-contents #staffList.detail .product-img::before {
    top: -3.5vw;
    font-size: 2.6vw;
  }

  .staff-contents #staffList.detail .product-img img {
    height: 100%;
    margin: 0 auto;
    border-radius: 100px;
  }

  .staff-contents #staffList.detail .pageNav {
    padding-top: 12.8vw;
  }

  .staff-contents #staffList.detail .pageNav ul {
    width: 100%;
    margin-top: 0;
  }

  .staff-contents #staffList.detail .pageNav li {
    width: 33%;
    text-align: center;
  }

  .staff-contents #staffList.detail .pageNav li:nth-of-type(-n+3) {
    margin-top: 0;
  }

  .staff-contents #staffList.detail .pageNav li {
    color: #ccc;
  }

  .staff-contents #staffList.detail .pageNav li a {
    display: inline-block;
    position: relative;
    color: #333;
  }

  .staff-contents #staffList.detail .pageNav .list a::after {
    content: "";
  }

  .staff-contents #staffList.detail .pageNav .back a {
    padding-left: 25px;
  }

  .staff-contents #staffList.detail .pageNav .next a {
    padding-right: 25px;
  }

  /* slick */
  .staff-contents #staffList.detail .photo-nav {
    margin-top: 20px;
  }

  .staff-contents #staffList.detail .photo-nav img {
    width: 100%;
  }

  .staff-contents #staffList.detail .photo-nav .slick-list {
    text-align: center;
    padding: 0 !important;
  }

  .staff-contents #staffList.detail .photo-nav .slick-track {
    transform: initial !important;
    display: inline-block;
    width: auto !important;
  }

  .staff-contents #staffList.detail .photo-nav .slick-slide {
    width: 11vw !important;
    margin: 0 1vw;
    outline: none;
  }

  .staff-contents #staffList.detail .photo-nav .slick-slide.slick-current {
    opacity: 1;
  }

  .staff-contents #staffList.detail .photo-nav-wrap {
    position: relative;
  }

  .staff-contents #staffList.detail .photo-arrow button {
    z-index: 1;
  }

  .staff-contents #staffList.detail .photo-arrow .slick-prev,
  .staff-contents #staffList.detail .photo-arrow .slick-next {
    width: 12px;
    height: 12px;
  }

  .staff-contents #staffList.detail .photo-arrow .slick-prev {
    left: 0;
  }
  .staff-contents #staffList.detail .photo-arrow .slick-next {
    right: 0;
  }

  .staff-contents #staffList.detail .photo-arrow .slick-prev {
    background: url('../img/staff_contents/icon_perv.svg') no-repeat center center;
    background-size: 100% auto;
  }

  .staff-contents #staffList.detail .photo-arrow .slick-next {
    background: url('../img/staff_contents/icon_next.svg') no-repeat center center;
    background-size: 100% auto;
  }

  .staff-contents #staffList.detail .photo-arrow .slick-prev::before,
  .staff-contents #staffList.detail .photo-arrow .slick-next::before {
    content: "";
  }
}

.staff-contents .photo.slide {
  display: none;
}

.staff-contents .photo.slide.slick-initialized {
  display: block; /*slick-initializedが付与されたら表示*/
}
.staff-contents .slick-slide {
  outline: 0;
}

/* 調整 */
.staff-contents .slick-slide {
  height: auto;
}

/* IE11 */
_:lang(x)::-ms-backdrop, .staff-contents #staffList.detail .photo-nav .slick-track {
  transform: none !important;
}
