.voice {
  background-color: #ffffff;
  padding: 12.375rem 0 11rem;
}
@media screen and (max-width: 768px) {
  .voice {
    padding: 5rem 0;
  }
}

.voice_inner {
  max-width: 1366px;
  margin-inline: auto;
}

.voice__items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  -webkit-column-gap: 2.125rem;
  -moz-column-gap: 2.125rem;
  column-gap: 2.125rem;
  row-gap: 5rem;
  margin-top: 4.875rem;
}
@media screen and (max-width: 768px) {
  .voice__items {
    grid-template-columns: 1fr;
  }
}

.voice__item {
  padding-right: 0.9375rem;
  padding-bottom: 0.9375rem;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 768px) {
  .voice__item {
    padding-right: 0;
    padding-bottom: 0;
  }
}

.voice__item:hover {
  -webkit-box-shadow: 6px 6px 10px 0px rgba(171, 143, 80, 0.15);
  box-shadow: 6px 6px 10px 0px rgba(171, 143, 80, 0.15);
}
@media screen and (max-width: 768px) {
  .voice__item:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

.voice__item:hover .voice__item-img::after {
  opacity: 0.4;
}

.voice__item-img {
  -webkit-filter: drop-shadow(2px 2px 2px rgba(128, 109, 86, 0.2)) drop-shadow(0px 0px 2px rgba(128, 109, 86, 0.2));
  filter: drop-shadow(2px 2px 2px rgba(128, 109, 86, 0.2)) drop-shadow(0px 0px 2px rgba(128, 109, 86, 0.2));
  position: relative;
}
@media screen and (max-width: 768px) {
  .voice__item-img {
    width: 100%;
  }
}

.voice__item-img img {
  aspect-ratio: 810/476;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 768px) {
  .voice__item-img img {
    aspect-ratio: 320/188;
  }
}

.voice__item-service {
  display: inline-block;
  background-color: #ab8f50;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.125rem 1.25rem;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .voice__item-service {
    font-size: 11px;
  }
}
@media screen and (max-width: 768px) {
  .voice__item-service {
    font-size: 10px;
  }
}

.voice__item-category {
  color: #1c2a48;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid #1c2a48;
  padding: 0.1rem 0.5rem;
  margin-top: 0.875rem;
  text-align: left;
  width: fit-content;
}
@media screen and (max-width: 1024px) {
  .voice__item-category {
    font-size: 11px;
  }
}
@media screen and (max-width: 768px) {
  .voice__item-category {
    font-size: 10px;
  }
}
.voice__item-category.voice__item-category--f {
  color: #1c2a48;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid #1c2a48;
  padding: 0.1rem 0.5rem;
  text-align: center;
  margin-top: 0;
}
@media screen and (max-width: 1024px) {
  .voice__item-category.voice__item-category--f {
    font-size: 11px;
  }
}
@media screen and (max-width: 768px) {
  .voice__item-category.voice__item-category--f {
    font-size: 10px;
  }
}

.voice__item-body {
  margin-top: 0.9375rem;
}
@media screen and (max-width: 768px) {
  .voice__item-body {
    margin-top: 0.86rem;
  }
}

.voice__item-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-column-gap: 0.625rem;
  -moz-column-gap: 0.625rem;
  column-gap: 0.625rem;
  margin-top: 0.875rem;
}
@media screen and (max-width: 768px) {
  .voice__item-name {
    -webkit-column-gap: 0.36rem;
    -moz-column-gap: 0.36rem;
    column-gap: 0.36rem;
  }
}

.voice__item-name.voice__item-name--flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.voice__item-name-i {
  max-width: 100px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .voice__item-name-i {
    max-width: 60px;
  }
}

.voice__item-name-i.voice__item-name-i--logo {
  max-width: 50px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .voice__item-name-i.voice__item-name-i--logo {
    max-width: 60px;
  }
}

.voice__item-name-i img {
  width: 100%;
  height: auto;
  aspect-ratio: 100/30;
  object-fit: contain;
}

.voice__item-name-t {
  color: #464646;
  font-size: 1rem !important;
  font-weight: 500;
  text-align: left;
}
@media screen and (max-width: 1024px) {
  .voice__item-name-t {
    font-size: 8px;
  }
}
@media screen and (max-width: 768px) {
  .voice__item-name-t {
    font-size: 14px;
  }
}

.voice__item-title {
  margin-top: 0.625rem;
}

.voice__item-lead {
  display: inline;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  position: relative;
  padding-bottom: 0.15em;
  text-decoration: none;
  background-image: -webkit-gradient(linear, left top, right top, from(#ab8f50), to(#ab8f50));
  background-image: linear-gradient(to right, #ab8f50 0%, #ab8f50 100%);
  background-size: 0% 1px; /* 初期状態で下線を隠す */
  background-repeat: no-repeat;
  background-position: left bottom;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 1024px) {
  .voice__item-lead {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .voice__item-lead {
    display: block;
    padding-bottom: 0;
  }
}

.voice__item:hover .voice__item-lead {
  color: #ab8f50;
  background-size: 100% 1px; /* ホバー時に左から右へ下線が伸びる */
}
@media screen and (max-width: 768px) {
  .voice__item:hover .voice__item-lead {
    background-size: 0;
  }
}

.voice__item-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-column-gap: 1.25rem;
  -moz-column-gap: 1.25rem;
  column-gap: 1.25rem;
  margin-top: 0.625rem;
}
@media screen and (max-width: 768px) {
  .voice__item-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 0.3125rem;
  }
}
.voice__item-before,
.voice__item-after {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .voice__item-before,
  .voice__item-after {
    width: 100%;
  }
}

.before-head,
.after-head {
  font-size: 1rem;
  font-weight: 900;
}
@media screen and (max-width: 1024px) {
  .before-head,
  .after-head {
    font-size: 14px;
  }
}

.before-text,
.after-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.3125rem;
}
@media screen and (max-width: 1024px) {
  .before-text,
  .after-text {
    font-size: 12px;
  }
}

.before-head {
  border-bottom: 1px solid #222;
}

.after-head {
  color: #e6ca2f;
  border-bottom: 1px solid #e6ca2f;
}

.voice__btn {
  margin-top: 5.3125rem;
  margin-left: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .voice__btn {
    margin-top: 2.5rem;
  }
}

.page-voice__container {
  padding-left: 7.875rem;
  padding-right: 8.5rem;
  max-width: 1366px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .page-voice__container {
    padding-left: 3.5rem;
    padding-right: 4.125rem;
  }
}
@media screen and (max-width: 768px) {
  .page-voice__container {
    padding: 0 27px;
    max-width: 654px;
    margin-inline: auto;
  }
}

.voice__wrap {
  max-width: 1366px;
  margin-inline: auto;
}

.voice__tablist {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
  padding-left: 1.875rem;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .voice__tablist {
    padding-left: 1.25rem;
  }
}
@media screen and (max-width: 768px) {
  .voice__tablist {
    -webkit-column-gap: 0.625rem;
    -moz-column-gap: 0.625rem;
    column-gap: 0.625rem;
    row-gap: 0.625rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
  }
}

.voice__tab {
  border: 1px solid #1c2a48;
  border-radius: 40px;
  color: #1c2a48;
  font-size: 1rem;
  font-weight: 700;
  line-height: normal;
  padding: 0.4375rem 2rem 0.5rem;
  text-align: center;
  text-transform: uppercase;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.voice__tab[aria-selected="true"] {
  background-color: #1c2a48 !important;
  color: #ffffff;
  position: relative;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .voice__tab {
    font-size: 10px;
    padding: 4px 20px;
  }
}

.voice__contents {
  margin-top: 5rem;
}
@media screen and (max-width: 768px) {
  .voice__contents {
    width: 100%;
    margin-top: 2.5rem;
  }
}

.voice__content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  height: 0;
  -webkit-transition: opacity 1s ease;
  transition: opacity 1s ease;
}
.voice__content-wrap.js-show {
  opacity: 1;
  visibility: visible;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (max-width: 768px) {
  .voice__content-wrap {
    grid-template-columns: 1fr;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    row-gap: 2.5rem;
  }
}

.page-voice__container .voice__item {
  padding-right: 0;
  position: relative;
}

.page-voice__container .voice__item a {
  display: inline-block;
  padding: 1.875rem 2.5rem;
}
@media screen and (max-width: 1024px) {
  .page-voice__container .voice__item a {
    padding: 1.25rem 1.875rem;
  }
}
@media screen and (max-width: 768px) {
  .page-voice__container .voice__item a {
    padding: 0;
  }
}

.page-voice__container .voice__item:hover {
  -webkit-box-shadow: 0px 0px 6px 0px rgba(34, 34, 34, 0.2), 4px 4px 4px 0px rgba(34, 34, 34, 0.3);
  box-shadow: 0px 0px 6px 0px rgba(34, 34, 34, 0.2), 4px 4px 4px 0px rgba(34, 34, 34, 0.3);
}
@media screen and (max-width: 768px) {
  .page-voice__container .voice__item:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

@media screen and (max-width: 768px) {
  .page-voice .voice__item-name {
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .page-voice .voice__item-body {
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .page-voice .voice__item-wrap {
    margin-top: 10px;
  }
}

.page-voice-detail .voice__item-service {
  display: block;
  margin-bottom: 0.498125rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: static;
}

.page-voice-detail .voice__item-lead {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4333333333;
}
@media screen and (max-width: 768px) {
  .page-voice-detail .voice__item-lead {
    font-size: 16px;
    line-height: 1.4375;
  }
}

.page-voice-detail .voice__item-name {
  margin-top: 1.25rem;
}
@media screen and (max-width: 768px) {
  .page-voice-detail .voice__item-name {
    margin-top: 10px;
  }
}

.page-voice-detail .voice__item-img {
  margin-top: 1.25rem;
}

.page-voice-detail .voice__item-name-t {
  margin-top: 0;
}

.page-voice-detail__contents h2,
.page-voice-detail__contents h3 {
  color: #ab8f50;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  padding-bottom: 1.25rem;
  margin-top: 5rem;
  position: relative;
}
@media screen and (max-width: 1024px) {
  .page-voice-detail__contents h2,
  .page-voice-detail__contents h3 {
    font-size: 16px;
    padding-bottom: 10px;
    margin-top: 3.75rem;
  }
}

.page-voice-detail__contents h2::before,
.page-voice-detail__contents h3::before {
  content: "";
  background-color: #ab8f50;
  background-position: bottom left;
  width: 7.5rem;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 768px) {
  .page-voice-detail__contents h2::before,
  .page-voice-detail__contents h3::before {
    height: 1px;
  }
}

.page-voice-detail__contents p {
  /* font-size: 0.875rem; */
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4285714286;
  margin-top: 1.25rem;
}
@media screen and (max-width: 1024px) {
  .page-voice-detail__contents p {
    font-size: 14px;
    margin-top: 10px;
  }
}

.article__container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-column-gap: 6.174375rem;
  -moz-column-gap: 6.174375rem;
  column-gap: 6.174375rem;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding-right: 8.3125rem;
  padding-left: 8.3125rem;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .article__container {
    padding-right: 1.6875rem;
    padding-left: 1.6875rem;
  }
}

.page-voice-detail .article__sidebar {
  width: 12.5rem;
  min-width: 140px;
  position: static;
}
@media screen and (max-width: 768px) {
  .page-voice-detail .article__sidebar {
    display: none;
  }
}

.page-voice__tab-list {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-column-gap: 1.25rem;
  -moz-column-gap: 1.25rem;
  column-gap: 1.25rem;
  row-gap: 1.25rem;
  padding-left: 3.125rem;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .page-voice__tab-list {
    -webkit-column-gap: 0.625rem;
    -moz-column-gap: 0.625rem;
    column-gap: 0.625rem;
    row-gap: 0.625rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
  }
}

.page-voice__tab-item .current {
  background-color: #1c2a48;
  color: #ffffff;
  position: relative;
  pointer-events: none;
}

.page-voice__tab-item a:hover {
  background-color: #1c2a48;
  color: #ffffff;
  cursor: pointer;
}

.page-voice__tab-item a {
  border: 1px solid #1c2a48;
  border-radius: 40px;
  color: #1c2a48;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: normal;
  padding: 0.4375rem 2rem 0.5rem;
  text-align: center;
  text-transform: uppercase;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  transition: background-color 0.4s, color 0.4s;
}
@media screen and (max-width: 768px) {
  .page-voice__tab-item a {
    font-size: 0.625rem;
    padding: 0.25rem 1.25rem;
  }
}

.voice__pagenavi {
  margin-top: 7.5rem;
}
@media screen and (max-width: 768px) {
  .voice__pagenavi {
    margin-top: 3.75rem;
  }
}

.pagenavi {
  color: #464646;
}

.pagenavi__inner {
  clear: both;
  text-align: center;
}

.pagenavi a,
.pagenavi span {
  align-items: center;
  background-color: #fff;
  border: 0.0625rem solid #464646;
  color: #464646;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  height: 1.875rem;
  justify-content: center;
  margin: 0 0.125rem;
  padding: 0.375rem 0.75rem;
  transition: 0.3s ease;
  width: 1.875rem;
}

.pagenavi a:hover {
  background-color: #464646;
  color: #fff;
  opacity: 1;
}

.pagenavi span.is-active {
  background-color: #464646;
  color: #fff;
}

.pagenavi .previouspostslink:hover::after {
  background-color: #464646;
  border-left: 0.0625rem solid #fff;
  border-top: 0.0625rem solid #fff;
  opacity: 1;
  transition: 0.3s ease;
}

.pagenavi .nextpostslink:hover::after {
  background-color: #464646;
  border-bottom: 0.0625rem solid #fff;
  border-right: 0.0625rem solid #fff;
  opacity: 1;
  transition: 0.3s ease;
}

.pagenavi a:hover,
.pagenavi span:hover {
  background-color: #623a14;
  color: #fff;
  opacity: 1;
  transition: 0.3s ease;
}

.pagenavi .previouspostslink {
  margin-left: 0;
  margin-right: max(1.875rem, min(2.291vw, 2.5rem));
  position: relative;
}

.pagenavi .previouspostslink::after {
  border-left: 0.0625rem solid #464646;
  border-top: 0.0625rem solid #464646;
  content: "";
  height: 0.625rem;
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 0.625rem;
}

.pagenavi .nextpostslink {
  margin-left: max(1.875rem, min(2.291vw, 2.5rem));
  margin-right: 0;
  position: relative;
}

.pagenavi .nextpostslink::after {
  border-bottom: 0.0625rem solid #464646;
  border-right: 0.0625rem solid #464646;
  content: "";
  height: 0.625rem;
  left: 32%;
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 0.625rem;
}

.fixed-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1rem 1.5rem;
  background: rgba(34, 34, 34, 0.8);
  pointer-events: auto;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media screen and (max-width: 768px) {
  .fixed-cta {
    padding: 0.75rem;
  }
}

.fixed-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fixed-cta__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-column-gap: 0.75rem;
     -moz-column-gap: 0.75rem;
          column-gap: 0.75rem;
  width: 100%;
  max-width: 52.5rem;
  pointer-events: auto;
}
@media screen and (max-width: 768px) {
  .fixed-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

.fixed-cta .contact-us__cta {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0;
          flex: 1 1 0;
  width: auto;
}
@media screen and (max-width: 768px) {
  .fixed-cta .contact-us__cta {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.4rem;
  }
  .fixed-cta .contact-us__cta--contact {
    grid-column: 1 / -1;
  }
  .fixed-cta .contact-us__cta-lead {
    display: none;
  }
}

body.post-type-archive-voice,
body.tax-voice_category {
  padding-bottom: 7.5rem;
}
@media screen and (max-width: 768px) {
  body.post-type-archive-voice,
  body.tax-voice_category {
    padding-bottom: 10rem;
  }
}

/* ==========================================================================
   お客様の声詳細：2拠点オフィス選択セクション（トップページ準拠）
   ========================================================================== */
.voice-office-select {
  margin: 56px 0 36px;
  padding: 36px 32px 40px;
  background: #faf8f5;
  border: 1px solid rgba(171, 143, 80, 0.28);
  border-radius: 6px;
  clear: both;
}

.voice-office-select__head {
  text-align: center;
  margin-bottom: 28px;
}

.voice-office-select__en {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #ab8f50;
  font-weight: 600;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.voice-office-select__title {
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-family: 'Noto Serif JP', serif !important;
  line-height: 1.5 !important;
  position: static !important;
  text-align: center;
}

.voice-office-select__title::before,
.voice-office-select__title::after {
  content: none !important;
  display: none !important;
}

.voice-office-select__lead {
  font-size: 13px;
  color: #5a5349;
  line-height: 1.75;
  margin: 0;
  text-align: center;
}

.voice-office-select__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
}

.voice-office-select .top-office__card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.voice-office-select .top-office__card-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  position: static !important;
}

.voice-office-select .top-office__card-name::before,
.voice-office-select .top-office__card-name::after {
  content: none !important;
  display: none !important;
}

.voice-office-select .top-office__card-name span {
  font-size: 13px;
  font-weight: 500;
  color: #666666;
}

@media screen and (max-width: 768px) {
  .voice-office-select {
    margin: 40px 0 28px;
    padding: 24px 16px 28px;
  }
  .voice-office-select__title {
    font-size: 18px !important;
  }
  .voice-office-select__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

