@charset "UTF-8";
/* ============================================================
   導入事例 一覧・絞り込み
   /customer/ で使用。_inc/parts/customer-filter.php と対になります。
   2026-08-25 作成
   ============================================================ */

.p-cf {
  padding-block: 4rem 8rem;
}

/* ---------- 絞り込みパネル ---------- */
.p-cf__panel {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 3.2rem 3.2rem 2.4rem;
  margin-bottom: 4.8rem;
}

.p-cf__lead {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #5c6670;
  margin: 0 0 2.4rem;
}

.p-cf__facet {
  display: flex;
  gap: 1.6rem 2.4rem;
  align-items: baseline;
  padding-block: 1.2rem;
  border-top: 1px solid #eee;
}

.p-cf__facet:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.p-cf__facet-name {
  flex: none;
  width: 7em;
  font-size: 1.4rem;
  font-weight: 700;
  color: #11212f;
}

.p-cf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.p-cf__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 0.6rem 1.4rem;
  border: 1px solid #ccc;
  border-radius: 2rem;
  background: #fff;
  color: #11212f;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

@media (hover: hover) {
  .p-cf__chip:hover {
    border-color: #11212f;
    background: #f6f4ef;
  }
}

.p-cf__chip.is-on {
  background: #11212f;
  border-color: #11212f;
  color: #fff;
}

.p-cf__chip:focus-visible {
  outline: 2px solid #d89100;
  outline-offset: 2px;
}

.p-cf__chip-n {
  font-size: 1.2rem;
  opacity: .65;
  font-variant-numeric: tabular-nums;
}

/* 終売機種の事例しか無いチップは、トグルを入れるまで隠す */
.p-cf__chip[data-archive-only="1"] {
  display: none;
}

.p-cf.is-archive-shown .p-cf__chip[data-archive-only="1"] {
  display: inline-flex;
}

/* ---------- 件数バーとトグル ---------- */
.p-cf__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid #ddd;
}

.p-cf__count {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.p-cf__count .js-cf-shown {
  font-size: 1.9rem;
  font-variant-numeric: tabular-nums;
}

.p-cf__count-all {
  font-weight: 400;
  color: #7b8288;
  font-size: 1.4rem;
}

.p-cf__bar-right {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.p-cf__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: #5c6670;
  cursor: pointer;
}

.p-cf__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.p-cf__toggle-box {
  width: 3.6rem;
  height: 2rem;
  border-radius: 1rem;
  background: #c8c8c8;
  position: relative;
  flex: none;
  transition: background-color .2s;
}

.p-cf__toggle-box::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}

.p-cf__toggle input:checked + .p-cf__toggle-box {
  background: #11212f;
}

.p-cf__toggle input:checked + .p-cf__toggle-box::after {
  transform: translateX(1.6rem);
}

.p-cf__toggle input:focus-visible + .p-cf__toggle-box {
  outline: 2px solid #d89100;
  outline-offset: 2px;
}

.p-cf__reset {
  font-family: inherit;
  font-size: 1.35rem;
  color: #5c6670;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 0.2rem;
  cursor: pointer;
}

/* ---------- 一覧 ---------- */
.p-cf__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-cf__item.is-hidden {
  display: none;
}

.p-cf__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}

@media (hover: hover) {
  .p-cf__card:hover {
    box-shadow: 0 6px 24px -12px rgba(17, 33, 47, .35);
    transform: translateY(-2px);
  }
  .p-cf__card:hover .p-cf__more {
    background: #11212f;
    color: #fff;
  }
}

.p-cf__card:focus-visible {
  outline: 2px solid #d89100;
  outline-offset: 2px;
}

.p-cf__thumb {
  margin: 0;
  aspect-ratio: 330 / 206;
  overflow: hidden;
  position: relative;
  background: #f1efe9;
}

.p-cf__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-cf__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.6rem 1rem;
  background: rgba(17, 33, 47, .82);
  color: #fff;
}

.p-cf__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2.2rem 2.2rem;
}

.p-cf__catch {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}

.p-cf__dl {
  margin: 0 0 1.4rem;
  font-size: 1.35rem;
  line-height: 1.7;
}

.p-cf__dl > div {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
}

.p-cf__dl dt {
  color: #7b8288;
  margin: 0;
}

.p-cf__dl dd {
  margin: 0;
}

.p-cf__company {
  font-size: 1.4rem;
  font-weight: 700;
  margin: auto 0 1.6rem;
  padding-top: 1rem;
}

.p-cf__more {
  display: block;
  text-align: center;
  font-size: 1.4rem;
  padding: 1.1rem 1rem;
  border: 1px solid #11212f;
  transition: background-color .2s, color .2s;
}

.p-cf__empty {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2;
  color: #5c6670;
  padding: 6rem 2rem;
  background: #fff;
  border: 1px solid #e5e5e5;
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 1023px) {
  .p-cf__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
  .p-cf__panel {
    padding: 2.4rem 2rem 1.8rem;
  }
}

@media screen and (max-width: 767px) {
  .p-cf {
    padding-block: 3rem 6rem;
  }
  .p-cf__list {
    grid-template-columns: 1fr;
  }
  .p-cf__facet {
    flex-direction: column;
    gap: 1rem;
  }
  .p-cf__facet-name {
    width: auto;
  }
  .p-cf__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-cf__card,
  .p-cf__chip,
  .p-cf__toggle-box,
  .p-cf__toggle-box::after,
  .p-cf__more {
    transition: none;
  }
}

/* ---------- ページ冒頭の説明 ---------- */
.p-cf__intro {
  padding-block: 4rem 0;
}

.p-cf__intro-text {
  font-size: 1.6rem;
  line-height: 2;
  margin: 0 0 2rem;
  max-width: 68ch;
}

.p-cf__intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.45rem;
}

.p-cf__intro-links a {
  color: #11212f;
  text-underline-offset: 4px;
}

@media screen and (max-width: 767px) {
  .p-cf__intro {
    padding-block: 2.4rem 0;
  }
  .p-cf__intro-text {
    font-size: 1.5rem;
  }
}

/* ---------- 事例ページ：合併に関する注記 ---------- */
.p-customer-single__note {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #5c6670;
  background: #f6f4ef;
  border-left: 3px solid #d89100;
  padding: 1.2rem 1.8rem;
  margin: 0 0 3.2rem;
}

@media screen and (max-width: 767px) {
  .p-customer-single__note {
    font-size: 1.3rem;
    padding: 1rem 1.4rem;
    margin-bottom: 2.4rem;
  }
}

/* ============================================================
   事例ページ下部：後継機種のご案内 ／ 関連事例
   _inc/parts/customer-related.php と対になります。
   ============================================================ */

/* ---------- 後継機種のご案内 ---------- */
.p-cr__succ {
  padding-block: 5rem 0;
}

.p-cr__succ-box {
  background: #f6f4ef;
  border: 1px solid #e0d9c9;
  border-left: 4px solid #d89100;
  padding: 2.8rem 3.2rem;
}

.p-cr__succ-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #b87a00;
  margin: 0 0 1rem;
}

.p-cr__succ-text {
  font-size: 1.55rem;
  line-height: 1.9;
  margin: 0 0 2rem;
}

.p-cr__succ-text strong {
  font-weight: 700;
}

.p-cr__succ-btn {
  display: inline-block;
}

/* ---------- 関連事例 ---------- */
.p-cr {
  padding-block: 6rem 2rem;
}

.p-cr__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
  list-style: none;
  margin: 4rem 0 0;
  padding: 0;
}

.p-cr__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}

@media (hover: hover) {
  .p-cr__card:hover {
    box-shadow: 0 6px 24px -12px rgba(17, 33, 47, .35);
    transform: translateY(-2px);
  }
}

.p-cr__card:focus-visible {
  outline: 2px solid #d89100;
  outline-offset: 2px;
}

.p-cr__thumb {
  margin: 0;
  aspect-ratio: 330 / 206;
  overflow: hidden;
  background: #f1efe9;
}

.p-cr__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-cr__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.8rem 2rem 2rem;
}

.p-cr__catch {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.p-cr__meta {
  font-size: 1.3rem;
  color: #7b8288;
  margin: 0 0 1rem;
}

.p-cr__company {
  font-size: 1.35rem;
  font-weight: 700;
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.p-cr__more {
  text-align: center;
  margin: 3.2rem 0 0;
  font-size: 1.45rem;
}

.p-cr__more a {
  color: #11212f;
  text-underline-offset: 4px;
}

@media screen and (max-width: 1023px) {
  .p-cr__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
}

@media screen and (max-width: 767px) {
  .p-cr__succ {
    padding-block: 3.2rem 0;
  }
  .p-cr__succ-box {
    padding: 2rem 1.8rem;
  }
  .p-cr__succ-text {
    font-size: 1.45rem;
  }
  .p-cr {
    padding-block: 4rem 1rem;
  }
  .p-cr__list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-cr__card {
    transition: none;
  }
}
