@charset "UTF-8";
/* =========================================================
   導入実績一覧（archive-casestudies / taxonomy-casestudies-cat）
   ・絞り込みボタン／ページネーション：お知らせ一覧と共通デザイン
   ・背景グラデーション：セミナー一覧と同じ（全幅・上部は透明）
   ・カード：c-card ベース／SP1列・PC2列
   ========================================================= */
.p-casestudies {
  padding: 40px 0 0;
}
@media only screen and (min-width: 992px) {
  .p-casestudies {
    padding: 60px 0 0;
  }
}

.p-casestudies__inner {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 業種カテゴリー絞り込みボタン（SP2列 / PC横並び・数が増えたら折り返し） */
.p-casestudies__filter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 18px;
  margin-bottom: 40px;
  /* PCは5列固定。タブが少なくても1つあたり最大1/5幅（多いときは折り返す） */
}
@media only screen and (min-width: 992px) {
  .p-casestudies__filter {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
  }
}

.p-casestudies__filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid #C9D3DD;
  border-radius: 8px;
  background-color: #fff;
  color: #7A8CA3;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__filter-btn {
    min-height: 50px;
    font-size: 15px;
  }
}
.p-casestudies__filter-btn:hover {
  border-color: #0E63C4;
  color: #0E63C4;
}

.p-casestudies__filter-btn.is-active {
  border: 2px solid #0E63C4;
  color: #0E63C4;
  font-weight: 700;
}

/* 一覧ブロック（背景グラデーション：全幅・上から60pxは透明） */
.p-casestudies__sec {
  position: relative;
  z-index: 0;
  padding-bottom: 60px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__sec {
    padding-bottom: 80px;
  }
}

/* カード一覧（c-card ベース） */
.p-casestudies__cards {
  display: grid;
  gap: 30px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.p-casestudies__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(148, 170, 195, 0.16);
}
.p-casestudies__card .c-card__img img {
  aspect-ratio: 2/1;
}

.p-casestudies__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__body {
    padding: 22px 22px 30px;
  }
}

/* 業種ラベル（グラデーション・日本語フォント） */
.p-casestudies__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-casestudies__cat {
  padding: 2px 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__cat {
    font-size: 14px;
  }
}

/* 企業名 */
.p-casestudies__company {
  margin-top: 8px;
  color: #0E63C4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__company {
    font-size: 18px;
  }
}

/* タイトル（区切り線はリード文側の border-top で描く） */
.p-casestudies__ttl {
  width: 100%;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.6;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__ttl {
    font-size: 20px;
  }
}

/* リード文（上に区切り線。リード文が無いカードでは線ごと出ない） */
.p-casestudies__text {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #D9D9D9;
  color: #333;
}

/* 詳細を見る（共通 .c-btn2--card：サイズ・テキスト中央・矢印右端固定は共通側で定義）
   上の余白は固定。margin-top: auto にすると、カードに余白が無いとき（リード文なし等）に
   ボタンが直前の要素とくっついてしまうため使わない */
.p-casestudies__btn {
  margin-top: 20px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__btn {
    margin-top: 24px;
    font-size: 16px;
  }
}

.p-casestudies__empty {
  padding: 40px 0;
  text-align: center;
}

/* ページネーション（paginate_links の出力・数字のみ／お知らせ一覧と共通） */
.p-casestudies__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies__pagination {
    margin-top: 60px;
  }
}

.p-casestudies__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 40px;
  border-radius: 6px;
  background-color: #DEEBFF;
  color: #666;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s;
}
.p-casestudies__pagination .page-numbers:hover {
  background-color: #0E63C4;
  color: #fff;
}

.p-casestudies__pagination .page-numbers.current {
  background-color: #0E63C4;
  color: #fff;
  pointer-events: none;
}

.p-casestudies__pagination .page-numbers.dots {
  background: none;
  pointer-events: none;
}

/* =========================================================
   導入実績詳細（single-casestudies）
   ・カテゴリー → タイトル → アイキャッチ → 企業情報 → 本文セクション（ACF繰り返し） → 戻るボタン
   ・本文セクションの要素：テキスト / 番号付きリスト / 強調ボックス / VOICE
   ========================================================= */
.p-casestudies-single {
  padding: 40px 0 60px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single {
    padding: 60px 0 80px;
  }
}

.p-casestudies-single__inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 15px;
}

/* カテゴリー */
.p-casestudies-single__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.p-casestudies-single__cat {
  padding: 3px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.p-casestudies-single__cat:hover {
  opacity: 0.8;
}

/* タイトル */
.p-casestudies-single__ttl {
  margin-bottom: 20px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__ttl {
    margin-bottom: 30px;
    font-size: 28px;
  }
}

/* アイキャッチ */
.p-casestudies-single__thumb {
  overflow: hidden;
  border-radius: 8px;
}
.p-casestudies-single__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- 企業情報（グレーの角丸ボックス：ロゴ＋企業名＋事業内容・従業員数） ---- */
.p-casestudies-single__company {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 20px;
  background-color: #F5F5F5;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company {
    gap: 20px;
    margin-top: 60px;
    padding: 40px;
    border-radius: 30px;
  }
}

/* ロゴ（白い丸） */
.p-casestudies-single__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 12px;
  border-radius: 50%;
  background-color: #fff;
  overflow: hidden;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__logo {
    width: 180px;
    height: 180px;
    padding: 16px;
  }
}
.p-casestudies-single__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.p-casestudies-single__company-body {
  flex: 1;
  min-width: 0;
}

.p-casestudies-single__company-name {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company-name {
    font-size: 24px;
  }
}

.p-casestudies-single__company-list {
  margin-top: 10px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company-list {
    margin-top: 14px;
  }
}

.p-casestudies-single__company-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company-row {
    gap: 12px;
  }
}
.p-casestudies-single__company-row + .p-casestudies-single__company-row {
  margin-top: 6px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company-row + .p-casestudies-single__company-row {
    margin-top: 8px;
  }
}

/* 「事業内容」「従業員数」の小ラベル */
.p-casestudies-single__company-label {
  flex-shrink: 0;
  padding: 2px 8px;
  background-color: #0E63C4;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 20px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 30px;
  }
}

.p-casestudies-single__company-value {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__company-value {
    font-size: 16px;
  }
}

/* ---- 本文セクション ---- */
.p-casestudies-single__section {
  margin-top: 40px;
  /* 2つ目以降のセクション：間に区切り線（線が間隔の中央に来るよう margin と padding を半々に） */
  /* セクション内の要素同士の間隔 */
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__section {
    margin-top: 60px;
  }
}
.p-casestudies-single__section + .p-casestudies-single__section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #A8BED1;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__section + .p-casestudies-single__section {
    margin-top: 60px;
    padding-top: 60px;
  }
}
.p-casestudies-single__section > * + * {
  margin-top: 20px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__section > * + * {
    margin-top: 24px;
  }
}

/* 見出し（左に紺の斜めバー：.c-heading と共通のデザイン） */
.p-casestudies-single__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__heading {
    gap: 16px;
    font-size: 30px;
  }
}
.p-casestudies-single__heading::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 1.1em;
  background-color: #101F70;
  transform: skewX(-12deg);
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__heading::before {
    width: 9px;
    height: 1.2em;
  }
}

/* テキスト */
.p-casestudies-single__text {
  color: #333;
}

/* 番号付きリスト（青丸の番号＋青い見出し＋テキスト） */
.p-casestudies-single__steps {
  counter-reset: cs-step;
}

.p-casestudies-single__step {
  position: relative;
  padding-left: 32px;
  counter-increment: cs-step;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__step {
    padding-left: 40px;
  }
}
.p-casestudies-single__step + .p-casestudies-single__step {
  margin-top: 16px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__step + .p-casestudies-single__step {
    margin-top: 20px;
  }
}
.p-casestudies-single__step::before {
  content: counter(cs-step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #0E63C4;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__step::before {
    top: 1px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

.p-casestudies-single__step-ttl {
  color: #0E63C4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__step-ttl {
    font-size: 18px;
  }
}

.p-casestudies-single__step-text {
  margin-top: 6px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__step-text {
    font-size: 15px;
  }
}

/* 強調ボックス（青枠・大きな青文字） */
.p-casestudies-single__highlight {
  padding: 20px 16px;
  border: 2px solid #A8BED1;
  border-radius: 20px;
  color: #0E63C4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__highlight {
    padding: 28px 30px;
    font-size: 30px;
  }
}

/* VOICE（ラベル＋薄い水色のボックス） */
.p-casestudies-single__voice-label {
  display: inline-block;
  padding: 3px 10px;
  background-color: #101F70;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__voice-label {
    font-size: 14px;
  }
}

.p-casestudies-single__voice-box {
  margin-top: -10px;
  padding: 20px;
  background-color: #EBFBFF;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__voice-box {
    padding: 30px;
  }
}

.p-casestudies-single__voice-ttl {
  color: #0E63C4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__voice-ttl {
    font-size: 20px;
  }
}

.p-casestudies-single__voice-text {
  margin-top: 10px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.9;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__voice-text {
    font-size: 16px;
  }
}

/* ---- 本文エディタ（任意・the_content）：お知らせ詳細と同じ見た目 ---- */
.p-casestudies-single__content {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8571428571;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__content {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.875;
  }
}

.p-casestudies-single__content > * + * {
  margin-top: 24px;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__content > * + * {
    margin-top: 30px;
  }
}

/* 見出し（お知らせ・セミナー詳細の h2 と同じ見た目） */
.p-casestudies-single__content h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 50px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__content h2 {
    gap: 18px;
    margin-top: 60px;
    font-size: 30px;
  }
}

/* 縦長の平行四辺形（.c-heading と共通のデザイン） */
.p-casestudies-single__content h2::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 1.1em;
  background-color: #101F70;
  transform: skewX(-12deg);
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__content h2::before {
    width: 8px;
  }
}

.p-casestudies-single__content h3 {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__content h3 {
    font-size: 22px;
  }
}

.p-casestudies-single__content img {
  width: 100%;
  height: auto;
}

.p-casestudies-single__content figcaption {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

.p-casestudies-single__content a {
  color: #0E63C4;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.p-casestudies-single__content a:hover {
  opacity: 0.7;
}

.p-casestudies-single__content ul,
.p-casestudies-single__content ol {
  padding-left: 1.5em;
}

.p-casestudies-single__content ul {
  list-style: disc;
}

.p-casestudies-single__content ol {
  list-style: decimal;
}

/* 事例一覧へ戻る */
.p-casestudies-single__back {
  margin: 50px auto 0;
}
@media only screen and (min-width: 992px) {
  .p-casestudies-single__back {
    margin-top: 70px;
  }
}

/*# sourceMappingURL=casestudies.css.map */
