/* --------------------------------------------------
	section size
-------------------------------------------------- */
/* voice common
---------------------------------------------------------------------------- */
.c-page-header {
  background: url("../images/voice-text/page_head.jpg") no-repeat center center;
  background-size: cover !important;
}
@media screen and (max-width: 767px) {
  .c-page-header {
    background: url("../images/voice-text/page_head_sp.jpg") no-repeat center center;
  }
}

.p-voice-section .voice-wrap {
  margin-top: 16px;
}
@media screen and (max-width: 767px) {
  .p-voice-section .voice-wrap {
    margin-top: 0;
    gap: 1.6rem 1.6rem;
  }
}
.p-voice-section .voice-box {
  width: 100%;
  padding: 2.4rem 0;
  border-bottom: 1px dashed #CECDC9;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .p-voice-section .voice-box {
    padding: 1.6rem 0;
  }
}
.p-voice-section .voice-box .name {
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 400;
  color: #998632;
}
@media screen and (max-width: 767px) {
  .p-voice-section .voice-box .name {
    font-size: 1.4rem;
    line-height: 1.7142857143;
    font-weight: 400;
    margin-bottom: 0.8rem;
  }
}
.p-voice-section .voice-box .text {
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .p-voice-section .voice-box .text {
    font-size: 1.4rem;
    line-height: 1.7142857143;
    font-weight: 400;
  }
}
.p-voice-section .voice-box:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.p-voice-section + .p-voice-section {
  padding-top: 40px;
  margin-top: 48px;
}
@media screen and (max-width: 767px) {
  .p-voice-section + .p-voice-section {
    padding-top: 2rem;
    margin-top: 5.2rem;
  }
}

/* remodal */
.gallery-arrow {
  position: absolute;
  bottom: 50%;
  margin-top: -16px;
  display: block;
  width: 32px;
  height: 32px;
  background: url("../images/common/arrow_modal.png") no-repeat center center;
  background-size: 100% auto;
  text-align: center;
  left: 50%;
  cursor: pointer;
  z-index: 1046;
}
@media screen and (max-width: 767px) {
  .gallery-arrow {
    margin-top: -1.6rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}
.gallery-arrow.gallery-arrow-left {
  transform: scale(-1, 1);
}

.mfp-container {
  padding-left: 60px;
  padding-right: 60px;
}
@media screen and (max-width: 767px) {
  .mfp-container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

.mfp-container {
  padding-left: 0;
  padding-right: 0;
}

.mfp-content {
  width: 500px;
}
@media screen and (max-width: 767px) {
  .mfp-content {
    width: 90%;
  }
}

@media screen and (max-width: 767px) {
  .mfp-close {
    font-size: 48px;
  }
}
/* mfp-content */
.mfp-close {
  cursor: pointer !important;
}

.mfp-bg.mfp-fade01 {
  opacity: 0;
  transition: all 0.4s 0s ease-out;
}

.mfp-bg.mfp-fade01.mfp-ready {
  opacity: 1;
}

.p-voice-20s {
  margin-top: 0 !important;
}

.p-voice-50s {
  margin-bottom: 70px;
}
@media screen and (max-width: 767px) {
  .p-voice-50s {
    margin-bottom: 6.4rem;
  }
}

/*  p-voice-first
---------------------------------------------------------------------------- */
.p-voice-first .p-voice-count {
  position: relative;
  background: #DED8BD;
  height: 184px;
  padding: 26px 32px 32px 192px;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-count {
    height: auto;
    padding: 1.6rem;
  }
}
.p-voice-first .p-voice-count:before {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  content: "";
  background: url("../images/voice-text/img_count.png") no-repeat center center;
  background-size: 100% auto !important;
  width: 189px;
  height: 184px;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-count:before {
    top: 0.5rem;
    background: url("../images/voice-text/img_count_sp.png") no-repeat center center;
    width: 7.2rem;
    height: 9.2rem;
    z-index: 1;
  }
}
.p-voice-first .p-voice-count__lead {
  text-align: center;
  font-size: 2.2rem;
  line-height: 1.4545454545;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-count__lead {
    text-align: left;
    font-size: 1.8rem;
    line-height: 1.5555555556;
    font-weight: 700;
    padding-left: 7rem;
  }
}
.p-voice-first .p-voice-count .count-wrap {
  margin-top: 30px;
  padding: 13px 0 19px 0;
  background: #F5F6F5;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-count .count-wrap {
    position: relative;
    margin-top: 2.4rem;
    padding: 1rem 0 1.5rem 0;
    z-index: 2;
  }
}
.p-voice-first .p-voice-count .count-text {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-count .count-text {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 400;
  }
}
.p-voice-first .p-voice-count .count-text .num {
  position: relative;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-count .count-text .num {
    letter-spacing: -0.02em;
    margin: 0 0.2rem;
  }
}
.p-voice-first .p-voice-nav {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  align-content: stretch;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav {
    margin-top: 1.6rem;
    align-items: flex-end;
  }
}
.p-voice-first .p-voice-nav .page-nav .nav-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  align-content: stretch;
  gap: 0 8px;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-nav .nav-list {
    flex-wrap: wrap;
    gap: 0.8rem 0.8rem;
  }
}
.p-voice-first .p-voice-nav .page-nav .nav-list__item {
  width: 120px;
  border: 1px solid #CECDC9;
  border-left: 4px solid #CFC59B;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-nav .nav-list__item {
    width: 9.6rem;
    border-left: 0.4rem solid #CFC59B;
  }
}
.p-voice-first .p-voice-nav .page-nav .nav-list__item a {
  position: relative;
  display: block;
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 400;
  padding: 8px 32px 8px 16px;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-nav .nav-list__item a {
    font-size: 1.2rem;
    line-height: 1.3333333333;
    font-weight: 400;
    padding: 1.6rem 2.4rem 1.6rem 0.8rem;
  }
}
.p-voice-first .p-voice-nav .page-nav .nav-list__item a:after {
  right: 10px;
  top: 50%;
  margin-top: -2px;
  border-style: solid;
  border-width: 0 1px 1px 0;
  content: "";
  display: inline-block;
  position: absolute;
  height: 8px;
  width: 8px;
  border-color: #CECDC9;
  transform: rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-nav .nav-list__item a:after {
    right: 1rem;
    margin-top: -0.1rem;
    border-style: solid;
    border-width: 0 1px 1px 0;
    content: "";
    display: inline-block;
    position: absolute;
    height: 0.6rem;
    width: 0.6rem;
    border-color: #CECDC9;
    transform: rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }
}
@media screen and (min-width: 768px) {
  .p-voice-first .p-voice-nav .page-nav .nav-list__item a:hover {
    background: #F0ECD9;
    opacity: 1;
  }
}
.p-voice-first .p-voice-nav .page-link .p-button {
  position: relative;
  display: block;
  width: 224px;
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 400;
  padding: 8px 32px 8px 40px;
  border: 1px solid #CECDC9;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-link .p-button {
    width: 12rem;
    font-size: 1.2rem;
    line-height: 1.3333333333;
    font-weight: 400;
    padding: 0.75rem 2.4rem 0.75rem 3.2rem;
  }
}
.p-voice-first .p-voice-nav .page-link .p-button:before {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  content: "";
  background: url("../images/voice-text/ico_img.svg") no-repeat center center;
  background-size: 100% auto;
  width: 16px;
  height: 16px;
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-link .p-button:before {
    left: 0.8rem;
    width: 1.6rem;
    height: 1.6rem;
  }
}
.p-voice-first .p-voice-nav .page-link .p-button:after {
  right: 10px;
  top: 50%;
  margin-top: 1px;
  border-style: solid;
  border-width: 0 1px 1px 0;
  content: "";
  display: inline-block;
  position: absolute;
  height: 8px;
  width: 8px;
  border-color: #CECDC9;
  transform: rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}
@media screen and (max-width: 767px) {
  .p-voice-first .p-voice-nav .page-link .p-button:after {
    right: 1rem;
    margin-top: 0.1rem;
    border-style: solid;
    border-width: 0 1px 1px 0;
    content: "";
    display: inline-block;
    position: absolute;
    height: 0.6rem;
    width: 0.6rem;
    border-color: #CECDC9;
    transform: rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
  }
}
@media screen and (min-width: 768px) {
  .p-voice-first .p-voice-nav .page-link .p-button:hover {
    background: #F0ECD9;
    opacity: 1;
  }
}