@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================
   voice archive / taxonomy 共通設定
   対象:
   - お客様の声一覧: .post-type-archive-voice
   - タグ別一覧: .tax-voice_tag
========================================= */

.post-type-archive-voice .l-sidebar,
.tax-voice_tag .l-sidebar {
  display: none !important;
}

.post-type-archive-voice #main_content,
.tax-voice_tag #main_content {
  width: 100% !important;
  max-width: 100% !important;
}

.post-type-archive-voice .l-container,
.tax-voice_tag .l-container {
  max-width: 1240px !important;
}

/* アーカイブ全体 */
.post-type-archive-voice .voice-archive,
.tax-voice_tag .voice-archive {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 0 80px;
}

/* ヘッダー */
.post-type-archive-voice .voice-archive__header,
.tax-voice_tag .voice-archive__header {
  text-align: center;
  margin-bottom: 32px;
}

.post-type-archive-voice .voice-archive__title,
.tax-voice_tag .voice-archive__title {
  font-size: 34px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.post-type-archive-voice .voice-archive__title::before,
.post-type-archive-voice .voice-archive__title::after,
.tax-voice_tag .voice-archive__title::before,
.tax-voice_tag .voice-archive__title::after {
  content: none !important;
  display: none !important;
}

.post-type-archive-voice .voice-archive__lead,
.tax-voice_tag .voice-archive__lead {
  font-size: 15px;
  line-height: 1.9;
  color: #6f6a66;
  margin: 0;
}

/* 上部タグリンク */
.post-type-archive-voice .voice-archive__tags,
.tax-voice_tag .voice-archive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.post-type-archive-voice .voice-archive__taglink,
.tax-voice_tag .voice-archive__taglink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color_main) 22%, #fff);
  color: var(--color_main);
  font-size: 13px;
  text-decoration: none;
  transition: .25s;
}

.post-type-archive-voice .voice-archive__taglink:hover,
.post-type-archive-voice .voice-archive__taglink.is-current,
.tax-voice_tag .voice-archive__taglink:hover,
.tax-voice_tag .voice-archive__taglink.is-current {
  background: color-mix(in srgb, var(--color_main) 10%, #fff);
  color: var(--color_main);
}

/* 一覧グリッド */
.post-type-archive-voice .voice-archive__grid,
.tax-voice_tag .voice-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.post-type-archive-voice .voice-archive-card,
.tax-voice_tag .voice-archive-card {
  height: 100%;
}

/* カード */
.post-type-archive-voice .voice-archive-card__link,
.tax-voice_tag .voice-archive-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px 22px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform .25s, box-shadow .25s;
}

.post-type-archive-voice .voice-archive-card__link:hover,
.tax-voice_tag .voice-archive-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.post-type-archive-voice .voice-archive-card__tags,
.tax-voice_tag .voice-archive-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.post-type-archive-voice .voice-archive-card__tag,
.tax-voice_tag .voice-archive-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .02em;
}

.post-type-archive-voice .voice-archive-card__tag--mind,
.tax-voice_tag .voice-archive-card__tag--mind {
  background: #efe7f7;
  color: #6d5b87;
}

.post-type-archive-voice .voice-archive-card__tag--body,
.tax-voice_tag .voice-archive-card__tag--body {
  background: #e6f4ee;
  color: #4f7567;
}

.post-type-archive-voice .voice-archive-card__tag--life,
.tax-voice_tag .voice-archive-card__tag--life {
  background: #e7f1fb;
  color: #4f6f96;
}

.post-type-archive-voice .voice-archive-card__title,
.tax-voice_tag .voice-archive-card__title {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 500;
  color: #3f3a37;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.post-type-archive-voice .voice-archive-card__title::before,
.post-type-archive-voice .voice-archive-card__title::after,
.tax-voice_tag .voice-archive-card__title::before,
.tax-voice_tag .voice-archive-card__title::after {
  content: none !important;
  display: none !important;
}

.post-type-archive-voice .voice-archive__title,
.tax-voice_tag .voice-archive__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.post-type-archive-voice .voice-archive__title-main,
.tax-voice_tag .voice-archive__title-main {
  display: block;
}

.post-type-archive-voice .voice-archive__title-sub,
.tax-voice_tag .voice-archive__title-sub {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #8a847d;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .post-type-archive-voice .voice-archive__title-sub,
  .tax-voice_tag .voice-archive__title-sub {
    font-size: 13px;
  }
}

.post-type-archive-voice .voice-archive-card__divider,
.tax-voice_tag .voice-archive-card__divider {
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--color_main) 28%, #fff);
  margin-bottom: 16px;
}

.post-type-archive-voice .voice-archive-card__text,
.tax-voice_tag .voice-archive-card__text {
  font-size: 14px;
  line-height: 1.9;
  color: #4e4a46;
  flex: 1;
}

.post-type-archive-voice .voice-archive-card__meta,
.tax-voice_tag .voice-archive-card__meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--color_main) 12%, #fff);
  font-size: 13px;
  line-height: 1.8;
  color: #6f6a66;
}

/* ページネーション */
.post-type-archive-voice .voice-archive__pagination,
.tax-voice_tag .voice-archive__pagination {
  margin-top: 40px;
}

.post-type-archive-voice .voice-archive__pagination .nav-links,
.tax-voice_tag .voice-archive__pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-type-archive-voice .voice-archive__pagination .page-numbers,
.tax-voice_tag .voice-archive__pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color_main);
  border-radius: 8px;
  background: #fff;
  color: var(--color_main);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.post-type-archive-voice .voice-archive__pagination a.page-numbers:hover,
.tax-voice_tag .voice-archive__pagination a.page-numbers:hover {
  background: color-mix(in srgb, var(--color_main) 10%, #fff);
  border-color: var(--color_main);
  color: var(--color_main);
}

.post-type-archive-voice .voice-archive__pagination .page-numbers.current,
.tax-voice_tag .voice-archive__pagination .page-numbers.current {
  background: var(--color_main);
  border-color: var(--color_main);
  color: #fff;
}

.post-type-archive-voice .voice-archive__pagination .page-numbers.next,
.post-type-archive-voice .voice-archive__pagination .page-numbers.prev,
.tax-voice_tag .voice-archive__pagination .page-numbers.next,
.tax-voice_tag .voice-archive__pagination .page-numbers.prev {
  padding: 0 16px;
}

.post-type-archive-voice .voice-archive__pagination .dots,
.tax-voice_tag .voice-archive__pagination .dots {
  border: none;
  background: transparent;
  min-width: auto;
  height: auto;
  padding: 0 4px;
  color: var(--color_main);
}

.post-type-archive-voice .voice-archive__pagination nav,
.post-type-archive-voice .voice-archive__pagination .navigation,
.post-type-archive-voice .voice-archive__pagination .pagination,
.tax-voice_tag .voice-archive__pagination nav,
.tax-voice_tag .voice-archive__pagination .navigation,
.tax-voice_tag .voice-archive__pagination .pagination {
  width: 100%;
}

.post-type-archive-voice .voice-archive__pagination .screen-reader-text,
.tax-voice_tag .voice-archive__pagination .screen-reader-text {
  position: absolute;
  left: -9999px;
}

.post-type-archive-voice .voice-archive__empty,
.tax-voice_tag .voice-archive__empty {
  text-align: center;
  color: #6f6a66;
}

/* タブレット */
@media (max-width: 1024px) {
  .post-type-archive-voice .voice-archive,
  .tax-voice_tag .voice-archive {
    max-width: 100%;
  }

  .post-type-archive-voice .voice-archive__grid,
  .tax-voice_tag .voice-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .post-type-archive-voice .voice-archive,
  .tax-voice_tag .voice-archive {
    padding: 0 0 60px;
  }

  .post-type-archive-voice .voice-archive__title,
  .tax-voice_tag .voice-archive__title {
    font-size: 28px;
  }

  .post-type-archive-voice .voice-archive__grid,
  .tax-voice_tag .voice-archive__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-type-archive-voice .voice-archive-card__link,
  .tax-voice_tag .voice-archive-card__link {
    min-height: 280px;
    border-radius: 12px;
    padding: 20px 18px 18px;
  }

  .post-type-archive-voice .voice-archive-card__title,
  .tax-voice_tag .voice-archive-card__title {
    font-size: 18px;
  }

  .post-type-archive-voice .voice-archive-card__text,
  .tax-voice_tag .voice-archive-card__text {
    font-size: 13px;
  }
}



/* =========================
   voice single
========================= */

.single-voice .l-sidebar {
  display: none !important;
}

.single-voice #main_content {
  width: 100% !important;
  max-width: 100% !important;
}

.single-voice .l-container {
  max-width: 980px !important;
}

.single-voice .voice-single {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 80px;
}

.single-voice .voice-single__header {
  text-align: center;
  margin-bottom: 36px;
}

.single-voice .voice-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.single-voice .voice-single__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .02em;
}

.single-voice .voice-single__tag--mind {
  background: #efe7f7;
  color: #6d5b87;
}

.single-voice .voice-single__tag--body {
  background: #e6f4ee;
  color: #4f7567;
}

.single-voice .voice-single__tag--life {
  background: #e7f1fb;
  color: #4f6f96;
}

.single-voice .voice-single__title {
  font-size: 26px;
  line-height: 1.7;
  font-weight: 500;
  color: #3f3a37;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.single-voice .voice-single__title::before,
.single-voice .voice-single__title::after {
  content: none !important;
  display: none !important;
}

.single-voice .voice-single__meta {
  font-size: 14px;
  line-height: 1.8;
  color: #6f6a66;
}

.single-voice .voice-single__content {
  background: #fff;
  border-radius: 10px;
  padding: 36px 34px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  line-height: 2;
  color: #4e4a46;
}

.single-voice .voice-single__content p:last-child {
  margin-bottom: 0;
}

.single-voice .voice-single__nav {
  margin-top: 48px;
  text-align: center;
}

.single-voice .voice-single__nav-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--color_main);
  border-radius: 0;
  color: var(--color_main);
  text-decoration: none;
  transition: .25s;
}

.single-voice .voice-single__nav-back a:hover {
  background: color-mix(in srgb, var(--color_main) 10%, #fff);
}

@media (max-width: 767px) {
  .single-voice .voice-single {
    padding-bottom: 56px;
  }

  .single-voice .voice-single__title {
    font-size: 28px;
  }

  .single-voice .voice-single__content {
    padding: 24px 20px;
  }
}

/* =========================
   voice related
========================= */

.single-voice .voice-related {
  margin-top: 48px;
}

.single-voice .voice-related__title {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  color: #3f3a37;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.single-voice .voice-related__title::before,
.single-voice .voice-related__title::after {
  content: none !important;
  display: none !important;
}

.single-voice .voice-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.single-voice .voice-related-card {
  height: 100%;
}

.single-voice .voice-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px 20px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform .25s, box-shadow .25s;
}

.single-voice .voice-related-card__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.single-voice .voice-related-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.single-voice .voice-related-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .02em;
}

.single-voice .voice-related-card__tag--mind {
  background: #efe7f7;
  color: #6d5b87;
}

.single-voice .voice-related-card__tag--body {
  background: #e6f4ee;
  color: #4f7567;
}

.single-voice .voice-related-card__tag--life {
  background: #e7f1fb;
  color: #4f6f96;
}

.single-voice .voice-related-card__title {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  color: #3f3a37;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.single-voice .voice-related-card__title::before,
.single-voice .voice-related-card__title::after {
  content: none !important;
  display: none !important;
}

.single-voice .voice-related-card__divider {
  width: 100%;
  height: 1px;
  background: #d8cfe6;
  margin-bottom: 14px;
}

.single-voice .voice-related-card__text {
  font-size: 14px;
  line-height: 1.9;
  color: #4e4a46;
  flex: 1;
}

.single-voice .voice-related-card__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #ece7f2;
  font-size: 13px;
  line-height: 1.8;
  color: #6f6a66;
}

@media (max-width: 1024px) {
  .single-voice .voice-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .single-voice .voice-related {
    margin-top: 40px;
  }

  .single-voice .voice-related__title {
    font-size: 22px;
  }

  .single-voice .voice-related__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-voice .voice-related-card__link {
    min-height: 240px;
    padding: 20px 18px 18px;
  }

  .single-voice .voice-related-card__title {
    font-size: 18px;
  }

  .single-voice .voice-related-card__text {
    font-size: 13px;
  }
}

/* single voice のSWELLデフォルトタイトルエリアを非表示 */
.single-voice .l-articleTop,
.single-voice .p-postHead,
.single-voice .p-entryHead,
.single-voice .c-pageTitle,
.single-voice .p-pageTitle,
.single-voice .l-pageTitle {
  display: none !important;
}

/* 上部のタイトル帯ごと消す */
.single-voice .l-topTitleArea,
.single-voice .l-articleTop,
.single-voice .p-topTitleArea,
.single-voice .p-postHeader {
  display: none !important;
}