/* Common
---------------------------------------------------------------------- */
.staff-voice {
  color: #756857;
}

.staff-voice a {
  -webkit-transition: .3s;
          transition: .3s;
  opacity: 1;
  color: #756857;
}

.staff-voice a:hover {
  opacity: .7;
}

/* Page navigation
---------------------------------------------------------------------- */
.staff-voice__nav {
  display: -webkit-box;
  display:    -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display:         flex;
  margin: 20px auto 50px;
  text-align: center;
  line-height: 1;

  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
     -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
}

.staff-voice__nav li {
  margin-bottom: .5em;
  padding: 0 1em;
  white-space: nowrap;
  border-right: 1px solid;
  border-left: 1px solid;
}

.staff-voice__nav li + li {
  margin-left: -1px;
}

/* Post items
---------------------------------------------------------------------- */
.staff-voice__post {
  width: 960px;
  margin: 60px auto 50px;
}

/* Breadcrumb */
.staff-voice__breadcrumb {
  margin-bottom: 40px;
  text-align: right;
  font-size: 0;
}

.staff-voice__breadcrumb a {
  text-decoration: underline;
  font-size: initial;
}

.staff-voice__breadcrumb .active-font {
  font-size: initial;
}

/* Heading */
.staff-voice__heading2 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.staff-voice__heading2 ~ .staff-voice__heading2 {
  margin-top: 60px;
}

.staff-voice__heading2::after {
  display: block;
  width: 2em;
  height: 1px;
  margin: auto;
  content: "";
  background: #756857;
}

/* Archive items */
.staff-voice__item-wrap {
  display: -webkit-box;
  display:    -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display:         flex;
  margin: 15px 0 15px -13px;

  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: start;
     -moz-box-pack: start;
     -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
}

.staff-voice__item {
  margin: 15px 0 15px 13px;
}

.staff-voice__img {
  position: relative;
  overflow: hidden;
  width: 230px;
  height: 200px;
  margin-bottom: .5em;
  box-shadow: 1px 1px 3px rgba(0,0,0,.5);
}

.staff-voice__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.staff-voice__text {
  font-size: 12px;
}

/* Single items */
.staff-voice__col2 {
  display: -webkit-box;
  display:    -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display:         flex;

  -webkit-box-pack: center;
     -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
}

.staff-voice__visual {
  width: 550px;
}

.staff-voice__iframe {
  position: relative;
  padding-top: 66.72727272727272%;
}

.attachment-staff_voice {
  width: 550px;
  height: auto;
}

.staff-voice__parts {
  margin-left: 30px;

  -webkit-box-flex: 1;
     -moz-box-flex: 1;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.single .staff-voice__heading3 {
  font-size: 24px;
  font-weight: bold;
}

.staff-voice__sns {
  margin-top: .5em;
}

.staff-voice__sns img {
  width: 28px;
  height: 28px;
}

.staff-voice__sns:empty {
  display: none;
}

.staff-voice__btn-wrap {
  margin-top: 50px;
}

.staff-voice .staff-voice__btn {
  display: block;
  padding: .25em;
  text-align: center;
  font-weight: bold;
  color: #fff;
  border-radius: 6px;
  background: #756857;
}

.staff-voice__btn + .staff-voice__btn {
  margin-top: 1em;
}

.staff-voice__comment {
  margin: 40px 0;
  text-align: justify;
  line-height: 1.8;
}

.staff-voice__back {
  display: table;
  margin: 0 0 30px auto;
}

/* Contact parts */
.section_recruit_contact_new {
  background-size: auto !important;
}

.section_recruit_contact_new .sec_header {
  text-align: center;
}

/* mediaquery
---------------------------------------------------------------------- */
@media (max-width: 768px) {
  .staff-voice {
    font-size: 80%;
  }

  .page_banner {
    padding: 58.45px 0 0;
  }

  .staff-voice__nav {
    margin: 10px auto;
  }

  .staff-voice__nav li {
    margin-bottom: 10px;
  }

  .staff-voice__post {
    width: 100%;
    margin: 10px auto;
  }

  .single .staff-voice__post {
    margin: 0;
    padding: 0 10px 10px;
    box-sizing: border-box;
  }

  .staff-voice__heading2 {
    margin-top: 40px;
    font-size: 130%;
  }

  .staff-voice__heading2 ~ .staff-voice__heading2 {
    margin-top: 40px;
  }

  .staff-voice__breadcrumb a,
  .staff-voice__breadcrumb .active-font {
    font-size: 13px;
  }

  .staff-voice__item-wrap {
    margin: 10px;
  }

  .staff-voice__item {
    width: 230px;
    margin: 10px 0 0;
  }

  .staff-voice__img {
    float: left;
    width: 100px;
    height: 100px;
    margin-right: 10px;
  }

  .staff-voice__heading3 {
    font-weight: bold;
  }

  .staff-voice__text span {
    display: block;
  }

  .staff-voice__col2 {
    width: 100%;
    -webkit-box-direction: normal;
       -moz-box-direction: normal;
    -webkit-box-orient: vertical;
       -moz-box-orient: vertical;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .staff-voice__visual {
    display: -webkit-box;
    display:    -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display:         flex;
    width: 100%;
    margin-bottom: 10px;
  }

  .staff-voice__iframe {
    width: 100%;
    margin-left: 5px;
    padding-top: 33.33333333333333%;
  }

  .staff-voice__btn-wrap {
    margin-top: 20px;
  }

  .attachment-staff_voice {
    width: 50%;
    height: 100%;
    margin-right: 5px;
  }

  .staff-voice__parts {
    margin-left: 0;
  }

  .staff-voice__comment {
    margin: 20px 0;
  }

  .staff-voice__back {
    text-align: right;
  }

  .section_recruit_contact_new {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 500px) {
  .staff-voice__col2 {
    display: block;
  }

  .staff-voice__breadcrumb {
    margin-bottom: 20px;
  }

  .staff-voice__breadcrumb a,
  .staff-voice__breadcrumb .active-font {
    font-size: 11px;
  }

  .attachment-staff_voice {
    /*display: table;*/
    /*margin: 0 auto 10px;*/
  }

  .single .staff-voice__heading3 {
    font-size: 130%;
  }

  .staff-voice__btn-wrap {
    margin-top: 10px;
  }

  .staff-voice__comment {
    margin: 10px 0;
  }

  .staff-voice__back {
    margin: 0 0 10px auto;
  }
}

@media (max-width: 490px) {
  .staff-voice__item {
    width: 100%;
  }
}

@media (max-width: 425px) {
  .staff-voice__visual {
    -webkit-box-direction: normal;
       -moz-box-direction: normal;
    -webkit-box-orient: vertical;
       -moz-box-orient: vertical;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .attachment-staff_voice {
    width: 100%;
    margin: 0;
  }
  .staff-voice__iframe {
    margin: 10px 0 0;
    padding-top: 66.58227848101265%;
  }
}
