@charset "UTF-8";
/* essencimo3.0.1: インタビュー（/interview/・/interview/xx/）
   配色は既存テーマに準拠：紺 #0a2671 / 黄 #ffec58 / 淡青 #b6bfd5 / 地 #fffef7 */

.p-interview-container {
  background: #fffef7;
}

/* ---------------- 全体レイアウト ---------------- */
.p-interview {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 100px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.p-interview__main {
  flex: 1 1 auto;
  min-width: 0;
}

.p-interview__side {
  flex: 0 0 280px;
  width: 280px;
}

/* ---------------- 絞り込み中の表示 ---------------- */
.p-interview__active {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f5f8ff;
  border: 2px solid #b6bfd5;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.p-interview__active-label {
  font-size: 13px;
  font-weight: 700;
  color: #0a2671;
}

.p-interview__active-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-interview__active-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a2671;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  text-decoration: none;
  transition: 0.2s background;
}

.p-interview__active-tag:hover {
  background: #133177;
}

.p-interview__active-tag span {
  font-size: 12px;
  color: #ffec58;
}

.p-interview__active-reset {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #0a2671;
  text-decoration: underline;
}

/* ---------------- 件数 ---------------- */
.p-interview__count {
  font-size: 14px;
  font-weight: 700;
  color: #0a2671;
  margin-bottom: 16px;
}

.p-interview__count span {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  margin-right: 4px;
}

.p-interview__none {
  background: #fff;
  border: 2px solid #b6bfd5;
  padding: 40px 24px;
  text-align: center;
  font-weight: 700;
  color: #0a2671;
}

/* ---------------- カード ---------------- */
.p-interview__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-ivcard {
  background: #fff;
  border: 2px solid #0a2671;
  position: relative;
  display: flex;
}

.c-ivcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 38px 38px 0 0;
  border-color: #ffec58 transparent transparent transparent;
  z-index: 2;
  pointer-events: none;
}

.c-ivcard__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.c-ivcard__thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f0f3f8;
}

.c-ivcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s transform;
}

.c-ivcard__link:hover .c-ivcard__img {
  transform: scale(1.08);
}

.c-ivcard__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.c-ivcard__company {
  font-size: 13px;
  font-weight: 700;
  color: #465b8b;
  line-height: 1.6;
  margin-bottom: 6px;
}

.c-ivcard__pref {
  font-weight: 500;
}

.c-ivcard__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #0a2671;
  margin-bottom: 16px;
}

.c-ivcard__link:hover .c-ivcard__title {
  text-decoration: underline;
}

/* カード内のタグ行（課題 / 補助金 / 業種） */
.c-ivcard__set {
  margin: auto 0 0;
  border-top: 1px dashed #b6bfd5;
  padding-top: 12px;
}

.c-ivcard__set-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}

.c-ivcard__set-tit {
  flex: 0 0 48px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #0a2671;
  text-align: center;
  line-height: 1;
  padding: 6px 0;
  margin: 1px 0 0;
}

.c-ivcard__set-body {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.c-ivcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-ivcard__tag {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a2671;
  background: #f0f3f8;
  border: 1px solid #b6bfd5;
  border-radius: 999px;
  padding: 3px 12px;
}

.c-ivcard__date {
  font-size: 13px;
  font-weight: 700;
  color: #b6bfd5;
  text-align: right;
  margin-top: 12px;
}

/* ---------------- ページャー ---------------- */
.p-interview__pager {
  margin-top: 48px;
  text-align: center;
}

.p-interview__pager .wp-pagenavi,
.p-interview__pager .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.p-interview__pager a,
.p-interview__pager span {
  display: inline-block;
  min-width: 42px;
  padding: 9px 12px;
  border: 2px solid #0a2671;
  background: #fff;
  color: #0a2671;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  text-decoration: none;
  transition: 0.2s all;
}

.p-interview__pager a:hover {
  background: #ffec58;
}

.p-interview__pager .current {
  background: #0a2671;
  color: #fff;
}

/* ---------------- サイドバー ---------------- */
.c-ivside {
  background: #fff;
  border: 2px solid #0a2671;
  padding: 20px;
  margin-bottom: 24px;
}

.c-ivside__title {
  font-size: 16px;
  font-weight: 700;
  color: #0a2671;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 3px solid #ffec58;
}

.c-ivside__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-ivside__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a2671;
  background: #f5f8ff;
  border: 1px solid #b6bfd5;
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
  transition: 0.2s all;
}

.c-ivside__tag:hover {
  background: #ffec58;
  border-color: #ffec58;
}

.c-ivside__tag.is-empty {
  color: #b6bfd5;
  background: #fafafa;
  border-color: #e4e8f0;
  cursor: default;
}

.c-ivside__tag.is-empty .c-ivside__count {
  color: #cfd6e4;
}

.c-ivside__tag.is-active {
  background: #0a2671;
  border-color: #0a2671;
  color: #fff;
}

.c-ivside__count {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  color: #465b8b;
  margin-left: 6px;
}

.c-ivside__tag.is-active .c-ivside__count {
  color: #ffec58;
}

/* サイドCTA */
.c-ivside--cta {
  background: #0a2671;
  border-color: #0a2671;
  text-align: center;
}

.c-ivside__cta-lead {
  font-size: 17px;
  font-weight: 700;
  color: #ffec58;
  margin-bottom: 8px;
}

.c-ivside__cta-text {
  font-size: 13px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 16px;
}

.c-ivside__cta-btn {
  display: block;
  background: #ffec58;
  color: #0a2671;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 10px;
  text-decoration: none;
  transition: 0.2s opacity;
}

.c-ivside__cta-btn:hover {
  opacity: 0.85;
}

.c-ivside__cta-sub {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}

/* ---------------- 詳細ページ ---------------- */
.p-interview--single .p-interview__main {
  background: #fff;
  border: 2px solid #0a2671;
  padding: 40px;
}

.p-ivsingle__head {
  border-bottom: 3px solid #ffec58;
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.p-ivsingle__date {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  color: #b6bfd5;
  margin-bottom: 10px;
}

.p-ivsingle__company {
  font-size: 15px;
  font-weight: 700;
  color: #465b8b;
  margin-bottom: 8px;
}

.p-ivsingle__pref {
  font-weight: 500;
}

.p-ivsingle__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: #0a2671;
}

.p-ivsingle__thumb {
  margin-bottom: 24px;
}

.p-ivsingle__img {
  width: 100%;
  height: auto;
  display: block;
}

.p-ivsingle__meta {
  background: #f5f8ff;
  border: 1px solid #b6bfd5;
  padding: 16px 20px;
  margin-bottom: 32px;
}

.p-ivsingle__meta .c-ivcard__set {
  margin: 0;
  border-top: none;
  padding-top: 0;
}

.p-ivsingle__meta .c-ivcard__tag:hover {
  background: #ffec58;
  border-color: #ffec58;
}

.p-ivsingle__body {
  font-size: 16px;
  line-height: 2;
  color: #222;
}

.p-ivsingle__nav {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}

.p-ivsingle__nav-link {
  flex: 1 1 0;
  min-width: 0;
  border: 2px solid #0a2671;
  padding: 14px 18px;
  text-decoration: none;
  transition: 0.2s background;
}

.p-ivsingle__nav-link:hover {
  background: #f5f8ff;
}

.p-ivsingle__nav-link--next {
  margin-left: auto;
  text-align: right;
}

.p-ivsingle__nav-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #b6bfd5;
  margin-bottom: 6px;
}

.p-ivsingle__nav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #0a2671;
}

.p-ivsingle__back {
  margin-top: 40px;
  text-align: center;
}

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 1024px) {
  .p-interview {
    width: 89.3%;
  }

  .p-interview {
    display: block;
    padding: 28px 0 70px;
  }

  .p-interview__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .p-interview__side {
    width: 100%;
    margin-top: 40px;
  }

  .p-interview__active-reset {
    margin-left: 0;
  }

  .c-ivcard__title {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .p-interview--single .p-interview__main {
    padding: 24px 18px;
  }

  .p-ivsingle__title {
    font-size: 21px;
  }

  .p-ivsingle__nav {
    display: block;
  }

  .p-ivsingle__nav-link {
    display: block;
    margin-bottom: 12px;
  }

  .p-ivsingle__nav-link--next {
    text-align: left;
  }
}
