@charset "utf-8";
/*
Theme Name: BIJOUX Child with MVPdevelop
Author URI: https://tf-kirin.info/
Template: bijoux_tcd117
Version: 1.1.0
Description: BIJOUX 親テーマ（bijoux_tcd117）の子テーマ。TFきりんの『多動力』サイト用カスタマイズを格納します。
Author: TFきりん
*/

/* アイキャッチ右上 カテゴリバッジ */
.c-thumbnail {
    position: relative;
    display: block;
}
.parent-cat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

/* ===== 旧2ボタン版スイッチ（記事内ハードコードの「▼ 当ページ」付き）を非表示 ===== */
.article-switch:not(.article-switch--3) {
  display: none !important;
}

/* ===== article-switch 一体型スイッチデザイン（共通） ===== */
.article-switch {
  margin: 2em 0 !important;
  padding: 1.5em 1.2em !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  background: #fafafa !important;
  text-align: center !important;
}
.article-switch__label {
  margin: 0 0 0.8em !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.article-switch__buttons {
  display: flex !important;
  justify-content: center !important;
  padding-top: 30px !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}
.article-switch__toggle {
  display: inline-flex !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  border: 2px solid #2d2d2d !important;
}
.article-switch__button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 180px !important;
  min-width: unset !important;
  padding: 14px 20px !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  border: none !important;
  position: relative !important;
}
.article-switch__button:not(.is-active) {
  background: #fff !important;
  color: #333 !important;
}
.article-switch__button.is-active {
  background: #2d2d2d !important;
  color: #fff !important;
  cursor: default !important;
  pointer-events: none !important;
  flex-direction: column !important;
}

/* 黒ボタンの上段「当頁はこちら」（プロフィールと同じ） */
.article-switch__toggle .article-switch__button.is-active::before {
  content: "当頁はこちら" !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: inherit !important;
  margin: 0 0 2px !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  opacity: 0.9 !important;
}
/* ===== /article-switch ===== */

/* toggle-wrapとcurrent-label */
.article-switch__toggle-wrap {
  position: relative;
  display: inline-block;
}
.article-switch__current-label {
  position: absolute;
  top: -24px;
  left: 0;
  width: 50%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  pointer-events: none;
}
.article-switch__button.is-active:first-child ~ .article-switch__button + .article-switch__current-label {
  left: 0;
  right: 50%;
}
.article-switch__button:first-child:not(.is-active) ~ .article-switch__button.is-active + .article-switch__current-label {
  left: 50%;
  right: 0;
}
.article-switch__current-label--right {
  left: 50% !important;
  right: 0 !important;
  width: 50% !important;
}

/* ===== tfk-speech-balloon ===== */
.tfk-speech-balloon {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 2em;
}
.tfk-speech-balloon--right {
  flex-direction: row-reverse;
}
.tfk-speech-balloon__user {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 80px;
}
.tfk-speech-balloon__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.tfk-speech-balloon__name {
  font-size: 12px;
  text-align: center;
  margin-top: 6px;
  color: #555;
  line-height: 1.3;
}
.tfk-speech-balloon__body {
  position: relative;
  padding: 14px 18px;
  border-radius: 8px;
  max-width: calc(100% - 96px);
  line-height: 1.7;
}
.tfk-speech-balloon--left .tfk-speech-balloon__body::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  border-style: solid;
  border-width: 8px 10px 8px 0;
  border-color: transparent;
}
.tfk-speech-balloon--right .tfk-speech-balloon__body::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -10px;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent;
}
.tfk-balloon-green {
  background-color: #e6ffd8;
}
.tfk-speech-balloon--left .tfk-balloon-green::before {
  border-right-color: #e6ffd8;
}
.tfk-speech-balloon--right .tfk-balloon-green::before {
  border-left-color: #e6ffd8;
}
.tfk-balloon-blue {
  background-color: #d4f9f4;
}
.tfk-speech-balloon--left .tfk-balloon-blue::before {
  border-right-color: #d4f9f4;
}
.tfk-speech-balloon--right .tfk-balloon-blue::before {
  border-left-color: #d4f9f4;
}
.tfk-speech-balloon__text p {
  margin: 0 0 0.5em;
}
.tfk-speech-balloon__text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .tfk-speech-balloon {
    gap: 10px;
  }
  .tfk-speech-balloon__user {
    width: 60px;
  }
  .tfk-speech-balloon__img {
    width: 56px;
    height: 56px;
  }
  .tfk-speech-balloon__body {
    max-width: calc(100% - 70px);
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ================================================
   tfk-clink カードリンク
================================================ */
.tfk-clink {
  margin: 1.5em 0;
}
.tfk-clink__inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  padding: 0;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
}
.tfk-clink__inner:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  text-decoration: none;
}
.tfk-clink__thumb {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
  min-width: 180px !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}
.tfk-clink__thumb img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 15%;
  display: block;
}
.tfk-clink__body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  min-height: 180px;
}
.tfk-clink__title {
  margin: 0;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #1a1a1a !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfk-clink__desc {
  margin: 0;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #555 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfk-clink__site {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px !important;
  line-height: 1 !important;
  color: #888 !important;
  white-space: nowrap;
}
.tfk-clink__favicon {
  border-radius: 2px;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .tfk-clink__inner {
    flex-direction: column !important;
  }
  .tfk-clink__thumb {
    flex: none;
    width: 100% !important;
    height: 160px !important;
    max-height: 160px;
    align-self: auto;
  }
  .tfk-clink__body {
    min-height: auto;
    padding: 12px 14px;
  }
  .tfk-clink__title {
    font-size: 14px !important;
    white-space: normal;
  }
  .tfk-clink__desc {
    white-space: normal;
  }
}

/* ===== Product Archive ===== */
.tfk-pa-wrap{max-width:1200px;margin:40px auto;padding:0 16px;}
.tfk-pa-pagetitle{text-align:center;font-size:28px;font-weight:700;margin:30px 0 40px;}
.tfk-pa-group{background:#dbeafe;border-radius:24px;padding:32px 24px;margin-bottom:48px;}
.tfk-pa-group__name{text-align:center;font-size:24px;font-weight:700;margin:0 0 24px;}
.tfk-pa-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.tfk-pa-cards--2{grid-template-columns:repeat(2,1fr);max-width:820px;margin:0 auto;}
.tfk-pa-cards--1{grid-template-columns:1fr;max-width:420px;margin:0 auto;}
.tfk-pa-card{background:#fff;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 3px rgba(0,0,0,.08);}
.tfk-pa-card__head{color:#fff;text-align:center;font-weight:700;font-size:13px;padding:8px 6px;}
.tfk-pa-card__head--plan{background:#3b9ef0;}
.tfk-pa-card__head--build{background:#69c46b;}
.tfk-pa-card__head--verify{background:#f0a23c;}
.tfk-pa-card__head--other{background:#999;}
.tfk-pa-card__inner{padding:14px 14px 18px;display:flex;flex-direction:column;gap:10px;flex:1;}
.tfk-pa-card__thumb{position:relative;display:block;border-radius:6px;overflow:hidden;aspect-ratio:16/10;background:#e5e5e5;}
.tfk-pa-card__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.tfk-pa-card__noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-size:18px;font-weight:600;background:#bdbdbd;aspect-ratio:16/10;}
.tfk-pa-card__overlay{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:6px;padding:6px 8px;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0));}
.tfk-pa-card__overlay-name{color:#fff;font-size:12px;font-weight:700;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tfk-pa-card__overlay-cat{font-size:11px;font-weight:700;color:#fff;padding:2px 6px;border-radius:3px;}
.tfk-pa-card__overlay-cat--plan{background:#3b9ef0;}
.tfk-pa-card__overlay-cat--build{background:#69c46b;}
.tfk-pa-card__overlay-cat--verify{background:#f0a23c;}
.tfk-pa-card__overlay-cat--other{background:#666;}
.tfk-pa-card__overlay-sub{font-size:11px;color:#fff;background:rgba(255,255,255,.18);padding:2px 6px;border-radius:3px;}
.tfk-pa-card__breadcrumb{font-size:11px;color:#666;line-height:1.4;}
.tfk-pa-card__title{font-size:14px;font-weight:700;line-height:1.5;color:#1a1a1a;text-decoration:none;display:block;}
.tfk-pa-card__title:hover{text-decoration:underline;}
.tfk-pa-card__dates{display:flex;gap:14px;font-size:11px;color:#777;margin-top:auto;padding-top:6px;}
.tfk-pa-card__dates span{display:inline-flex;align-items:center;gap:3px;}
@media(max-width:900px){.tfk-pa-cards,.tfk-pa-cards--2{grid-template-columns:1fr;max-width:420px;margin:0 auto;}}

/* ===== TFK 3ボタン版（プロフィールページと同じ .article-switch を流用） ===== */
.article-switch--3 .article-switch__buttons {
  padding-top: 0 !important;
}
.article-switch--3 .article-switch__toggle {
  display: inline-flex !important;
}
.article-switch--3 .article-switch__button {
  width: 180px !important;
  border-right: 1px solid rgba(45, 45, 45, 0.25) !important;
}
.article-switch--3 .article-switch__button:last-child {
  border-right: none !important;
}

/* 非活性ボタン（IDなし or 非公開） */
.article-switch--3 .article-switch__button.is-disabled {
  background: #f2f2f2 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* スマホ：3列が窮屈なら可変幅へ */
@media (max-width: 600px) {
  .article-switch--3 .article-switch__button {
    width: auto !important;
    flex: 1 !important;
    padding: 12px 8px !important;
    font-size: 13px !important;
  }
  .article-switch--3 .article-switch__toggle .article-switch__button.is-active::before,
  .article-switch--3 .article-switch__toggle a.article-switch__button::before,
  .article-switch--3 .article-switch__toggle .article-switch__button.is-disabled::before {
    font-size: 10px !important;
  }
}

/* ===== 区切りアイコン（FILL=1 / 薄グレー） ===== */
.article-switch--3 .article-switch__sep {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: #9a9a9a !important;
  width: 24px !important;
  flex: 0 0 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}
.article-switch--3 .article-switch__sep.material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-feature-settings: 'liga' !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  direction: ltr !important;
}

/* ===== サブタイトル：状態別ラベル（最高詳細度・<a>含む全ボタンを2行レイアウトに） ===== */

/* すべての3ボタン版ボタンを縦並びに強制（白＝<a> も含む） */
.article-switch.article-switch--3 .article-switch__toggle a.article-switch__button,
.article-switch.article-switch--3 .article-switch__toggle span.article-switch__button,
.article-switch.article-switch--3 .article-switch__toggle .article-switch__button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 活性・白ボタン（リンク <a>） => 「閲覧記事あり」 */
.article-switch.article-switch--3 .article-switch__toggle a.article-switch__button:not(.is-active):not(.is-disabled)::before {
  content: "閲覧記事あり" !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  opacity: 0.9 !important;
  text-decoration: none !important;
  visibility: visible !important;
}

/* 念のため <span> 版の白ボタンにも同ラベル */
.article-switch.article-switch--3 .article-switch__toggle span.article-switch__button:not(.is-active):not(.is-disabled)::before {
  content: "閲覧記事あり" !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  opacity: 0.9 !important;
  visibility: visible !important;
}

/* 活性・黒ボタン（is-active） => 「当頁はこちら」 */
.article-switch.article-switch--3 .article-switch__toggle .article-switch__button.is-active::before {
  content: "当頁はこちら" !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  opacity: 0.9 !important;
  visibility: visible !important;
}

/* 非活性・灰ボタン => 「閲覧記事なし」 */
.article-switch.article-switch--3 .article-switch__toggle .article-switch__button.is-disabled,
.article-switch.article-switch--3 .article-switch__toggle .article-switch__button.is-disabled:hover {
  background: #f2f2f2 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
}
.article-switch.article-switch--3 .article-switch__toggle .article-switch__button.is-disabled::before {
  content: "閲覧記事なし" !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  opacity: 0.9 !important;
  visibility: visible !important;
}