/* CH-1099 ヘッダー・フッター・行き来の帯・トップの最初の画面（HTML は template-parts/fcc-*.php・inc/chrome.php）。
   色・形は fs-create.net の子テーマ（assets/css/fsc-chrome.css・fsc-home.css・fsc-front.css）と同じ。
   Cocoon の CSS とぶつからないよう、.fcc-chrome の中だけに効かせる。 */

:root {
  --fcc-bg: #F3F4F1;
  --fcc-white: #fff;
  --fcc-card: #F8F9F7;
  --fcc-ink: #14202B;
  --fcc-text: #3A4754;
  --fcc-mute: #5A6672;
  --fcc-line: #DDE1DC;
  --fcc-green: #2271B1;
  --fcc-green-dark: #135E96;
  --fcc-green-light: #72AEE6;
  --fcc-dark-line: #2E3B48;
  --fcc-dark-text: #C3CBD3;
  --fcc-dark-sub: #AEB8C2;
  --fcc-sans: 'Noto Sans JP', system-ui, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', Meiryo, sans-serif;
  --fcc-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fcc-gutter: 24px;
}

.fcc-chrome {
  font-family: var(--fcc-sans);
  color: var(--fcc-ink);
  line-height: 1.8;
  font-size: 16px;
  text-align: left;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

.fcc-chrome *,
.fcc-chrome *::before,
.fcc-chrome *::after {
  box-sizing: border-box;
}

.fcc-chrome :where(p, nav, h1, h2, ul, li) {
  margin: 0;
  padding: 0;
}

.fcc-chrome :where(ul) {
  list-style: none;
}

.fcc-chrome .fcc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--fcc-gutter);
  padding-right: var(--fcc-gutter);
}

.fcc-chrome a:focus-visible {
  outline: 3px solid var(--fcc-green);
  outline-offset: 3px;
}

/* ---- 行き来の帯（template-parts/fcc-site-switch.php） ---- */
.fcc-chrome .fcc-switch {
  height: 30px;
  overflow: hidden;
  background: var(--fcc-white);
  border-bottom: 1px solid var(--fcc-line);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.fcc-chrome .fcc-switch__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.fcc-chrome .fcc-switch__item {
  display: inline-grid;
  grid-auto-flow: column;
  align-content: center;
  align-items: baseline;
  column-gap: 8px;
  height: 100%;
  padding: 0 14px;
  color: var(--fcc-mute);
  text-decoration: none;
}

.fcc-chrome .fcc-switch__item:first-child {
  padding-left: 0;
}

.fcc-chrome .fcc-switch__item + .fcc-switch__item {
  border-left: 1px solid var(--fcc-line);
}

.fcc-chrome a.fcc-switch__item:hover {
  color: var(--fcc-green-dark);
}

.fcc-chrome a.fcc-switch__item:hover .fcc-switch__name {
  text-decoration: underline;
}

.fcc-chrome .fcc-switch__name {
  letter-spacing: 0.04em;
}

.fcc-chrome .fcc-switch__item[aria-current="page"] {
  color: var(--fcc-green);
}

.fcc-chrome .fcc-switch__item[aria-current="page"] .fcc-switch__name {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.fcc-chrome .fcc-switch__brand {
  font-family: var(--fcc-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* ---- ヘッダー（template-parts/fcc-site-header.php） ---- */
.fcc-chrome--header {
  background: var(--fcc-bg);
  border-bottom: 1px solid var(--fcc-line);
}

.fcc-chrome .fcc-header__inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fcc-chrome .fcc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--fcc-ink);
  text-decoration: none;
}

.fcc-chrome .fcc-logo__mark {
  flex: none;
}

.fcc-chrome .fcc-logo__text {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.fcc-chrome .fcc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  font-size: 15px;
}

.fcc-chrome .fcc-nav__links {
  display: contents;
}

.fcc-chrome .fcc-nav a {
  color: var(--fcc-ink);
  text-decoration: none;
  padding: 10px 0;
}

.fcc-chrome .fcc-nav a:hover {
  color: var(--fcc-green);
}

.fcc-chrome .fcc-nav a[aria-current="page"] {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--fcc-green);
}

.fcc-chrome .fcc-nav .fcc-nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--fcc-ink);
  color: #fff;
  font-weight: 700;
}

.fcc-chrome .fcc-nav .fcc-nav__cta:hover {
  color: #fff;
  background: var(--fcc-green);
}

/* ---- トップの最初の画面（template-parts/fcc-front-hero.php） ---- */
.fcc-chrome--front {
  background: var(--fcc-bg);
}

.fcc-chrome .fcc-hero__inner {
  padding-top: 48px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas:
    "head panel"
    "links panel";
  gap: 32px 48px;
  align-items: start;
}

.fcc-chrome .fcc-hero__head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.fcc-chrome .fcc-hero__eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--fcc-green);
  letter-spacing: 0.04em;
}

.fcc-chrome .fcc-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--fcc-ink);
  border: 0;
  background: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.fcc-chrome .fcc-hero__lead {
  font-size: 16px;
  color: var(--fcc-text);
}

/* 記事を探す（トップの最初の画面・CH-1099） */
.fcc-chrome .fcc-hero__search {
  margin: 22px 0 0;
}
.fcc-chrome .fcc-hero__search-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fcc-ink);
}
.fcc-chrome .fcc-hero__search-row {
  display: flex;
  gap: 8px;
}
.fcc-chrome .fcc-hero__search-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  font-size: 16px;
  color: var(--fcc-ink);
  background: var(--fcc-white);
  border: 2px solid var(--fcc-line);
  border-radius: 12px;
  box-sizing: border-box;
}
.fcc-chrome .fcc-hero__search-input:focus {
  outline: none;
  border-color: var(--fcc-green);
}
.fcc-chrome .fcc-hero__search-btn {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--fcc-green);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.fcc-chrome .fcc-hero__search-btn:hover,
.fcc-chrome .fcc-hero__search-btn:focus-visible {
  background: var(--fcc-green-dark);
}
.fcc-chrome .fcc-hero__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.fcc-chrome .fcc-hero__cats li {
  margin: 0;
  padding: 0;
}
.fcc-chrome .fcc-hero__cats li::before {
  content: none;
}
.fcc-chrome .fcc-hero__cats a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--fcc-text);
  text-decoration: none;
  background: var(--fcc-white);
  border: 1px solid var(--fcc-line);
  border-radius: 999px;
}
.fcc-chrome .fcc-hero__cats a:hover {
  color: var(--fcc-green);
  border-color: var(--fcc-green);
}
.fcc-chrome .fcc-hero__cats span {
  font-size: 11px;
  color: var(--fcc-mute);
}

/* 右の濃い色の枠（fs-create.net の .fsc-proof と同じ形）：セキュリティー診断のフォーム */
.fcc-chrome .fcc-hero__panel {
  grid-area: panel;
  background: var(--fcc-ink);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.fcc-chrome .fcc-hero__panel-eyebrow {
  font-size: 14px;
  color: var(--fcc-green-light);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.fcc-chrome .fcc-hero__panel-title {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.fcc-chrome .fcc-hero__panel-title strong {
  color: var(--fcc-green-light);
}

.fcc-chrome .fcc-hero__panel-note {
  font-size: 13px;
  color: var(--fcc-dark-sub);
}

.fcc-chrome .fcc-hero__panel-link {
  font-size: 14px;
}

.fcc-chrome .fcc-hero__panel-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fcc-green-light);
  text-decoration: none;
}

.fcc-chrome .fcc-hero__panel-link a:hover {
  color: #fff;
}

/* このサイトの中身へのリンク */
.fcc-chrome .fcc-hero__links {
  grid-area: links;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.fcc-chrome .fcc-hero__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--fcc-line);
  border-radius: 14px;
  background: var(--fcc-white);
  color: var(--fcc-ink);
  text-decoration: none;
}

.fcc-chrome .fcc-hero__card:hover {
  border-color: var(--fcc-green);
}

.fcc-chrome .fcc-hero__card-label {
  font-weight: 700;
  font-size: 16px;
}

.fcc-chrome .fcc-hero__card-label::after {
  content: " →";
  color: var(--fcc-green);
}

.fcc-chrome .fcc-hero__card-desc {
  font-size: 13px;
  color: var(--fcc-mute);
  line-height: 1.6;
}

/* 特集と作業実績の帯 */
.fcc-chrome .fcc-front-band {
  background: var(--fcc-white);
  border-top: 1px solid var(--fcc-line);
  border-bottom: 1px solid var(--fcc-line);
}

.fcc-chrome .fcc-front-band__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
}

.fcc-chrome .fcc-front-band__block {
  min-width: 0;
}

.fcc-chrome .fcc-front-band__title {
  margin-bottom: 16px;
  padding: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--fcc-ink);
  background: none;
  border: 0;
}

.fcc-chrome .fcc-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fcc-chrome .fcc-feature a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--fcc-ink);
  text-decoration: none;
}

.fcc-chrome .fcc-feature__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 361 / 221;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--fcc-line);
}

.fcc-chrome .fcc-feature__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.fcc-chrome .fcc-feature a:hover .fcc-feature__title {
  color: var(--fcc-green);
}

.fcc-chrome .fcc-voices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fcc-chrome .fcc-voice {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--fcc-card);
  border: 1px solid var(--fcc-line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fcc-text);
}

.fcc-chrome .fcc-front-band__more {
  margin-top: 12px;
  font-size: 14px;
}

.fcc-chrome .fcc-front-band__more a {
  color: var(--fcc-green);
}

.fcc-chrome .fcc-front-band__title--sub {
  margin-top: 28px;
}

.fcc-chrome .fcc-works {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--fcc-line);
}

.fcc-chrome .fcc-works li {
  border-bottom: 1px solid var(--fcc-line);
}

.fcc-chrome .fcc-works a {
  display: block;
  padding: 10px 2px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fcc-ink);
  text-decoration: none;
}

.fcc-chrome .fcc-works a:hover {
  color: var(--fcc-green);
}

/* プラグイン Amazon Trend Search の枠（トップ・dio と同じもの） */
.fcc-chrome .fcc-front-ats {
  padding: 24px 0 0;
}

/* ---- フッター（template-parts/fcc-site-footer.php） ---- */
#footer:has(.fcc-chrome--footer) {
  background: var(--fcc-bg);
  padding: 0;
}

#footer:has(.fcc-chrome--footer) .footer-in {
  max-width: none;
  padding: 0;
}

.fcc-chrome--footer .fcc-footer {
  border-top: 1px solid var(--fcc-line);
  background: var(--fcc-bg);
}

.fcc-chrome .fcc-footer__inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--fcc-mute);
}

.fcc-chrome .fcc-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

.fcc-chrome .fcc-footer__nav a,
.fcc-chrome .fcc-footer__site-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fcc-ink);
  text-decoration: none;
}

.fcc-chrome .fcc-footer__nav a:hover,
.fcc-chrome .fcc-footer__site-list a:hover {
  color: var(--fcc-green);
}

.fcc-chrome .fcc-footer__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fcc-chrome .fcc-footer__site-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.fcc-chrome .fcc-footer__ads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.fcc-chrome .fcc-footer__ads .desc {
  margin: 0;
}

.fcc-chrome .fcc-footer__ads .plink {
  line-height: 1.6;
  text-underline-offset: 4px;
}

.fcc-chrome .fcc-footer__banner img {
  display: block;
  max-width: 100%;
  height: auto;
}

.fcc-chrome .fcc-footer__about {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.fcc-chrome .fcc-footer__copy {
  font-size: 12px;
}

/* Cocoon の本文の地の色をヘッダーと合わせる */
body.public-page {
  background-color: var(--fcc-bg);
}

/* ---- スマホ ---- */
@media (max-width: 900px) {
  .fcc-chrome .fcc-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "panel"
      "links";
    gap: 24px;
  }

  .fcc-chrome .fcc-front-band__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .fcc-chrome {
    --fcc-gutter: 16px;
  }

  .fcc-chrome .fcc-switch__brand {
    display: none;
  }

  .fcc-chrome .fcc-switch__item {
    padding: 0 10px;
  }

  .fcc-chrome .fcc-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .fcc-chrome .fcc-logo__text {
    font-size: 16px;
  }

  .fcc-chrome .fcc-nav {
    display: contents;
  }

  .fcc-chrome .fcc-nav .fcc-nav__cta {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    padding: 0 16px;
  }

  .fcc-chrome .fcc-nav__links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    font-size: 14px;
  }

  .fcc-chrome .fcc-hero__inner {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .fcc-chrome .fcc-hero__panel {
    padding: 22px;
    border-radius: 20px;
  }

  .fcc-chrome .fcc-hero__panel-title {
    font-size: 18px;
  }

  .fcc-chrome .fcc-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* トップの記事の一覧の見出し（CH-1099）。Cocoon の本文の箱の外（.fcc-chrome の外）に出るので、クラスだけで決める */
.fcc-list-heading {
  margin: 0 0 18px;
  padding: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #14202B;
  background: none;
  border: 0;
  border-bottom: 2px solid #2271B1;
}
@media (max-width: 600px) {
  .fcc-list-heading {
    font-size: 19px;
  }
}

/* 記事の一覧（トップ・カテゴリー・タグ・検索）：記事ごとに枠で区切る（アイキャッチのない記事が多く、区切りが見えなかった・担当者さん 11/7）。
   日付とカテゴリーは右下から説明の下（左）へ。ログイン中だけ出る PV の行（.admin-pv）はそのまま */
.list .entry-card-wrap {
  display: block;
  margin: 0 0 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #DDE1DC;
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.list .entry-card-wrap:hover {
  border-color: #2271B1;
  box-shadow: 0 2px 10px rgba(20, 32, 43, .06);
  background: #fff;
}
.list .entry-card-wrap .entry-card {
  padding: 0;
}
.list .entry-card-wrap .entry-card-content {
  margin: 0;
  padding: 0;
}
.list .entry-card-wrap .entry-card-title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.5;
  color: #14202B;
}
.list .entry-card-wrap:hover .entry-card-title {
  color: #135E96;
}
.list .entry-card-wrap .entry-card-snippet {
  color: #3A4754;
  line-height: 1.7;
}
.list .entry-card-wrap .entry-card-meta {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed #DDE1DC;
  text-align: left;
  font-size: 12px;
  color: #5A6672;
}
.list .entry-card-wrap .entry-card-meta > * {
  margin: 0;
  text-align: left;
}
.list .entry-card-wrap .entry-card-categorys,
.list .entry-card-wrap .entry-card-post-author {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
}
@media (max-width: 600px) {
  .list .entry-card-wrap {
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  .list .entry-card-wrap .entry-card-title {
    font-size: 16px;
  }
}
/* 日付・カテゴリーの字が Cocoon の指定で小さすぎた（9px ほど）ので 12px にそろえる */
.list .entry-card-wrap .entry-card-meta * {
  font-size: 12px;
}

/* サイトマップのページ（固定ページ 332・inc/sitemap-page.php）：上の大きなアイキャッチを出さない・カテゴリーをカードで並べる（担当者さん 11/7） */
.page-id-332 .eye-catch-wrap,
.page-id-332 .eye-catch {
  display: none;
}
.fcc-sitemap__lead {
  margin: 0 0 12px;
  color: #3A4754;
}
.fcc-sitemap__search {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
}
.fcc-sitemap__search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #DDE1DC;
  border-radius: 8px;
  font-size: 15px;
}
.fcc-sitemap__search button {
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #2271B1;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.fcc-sitemap__search button:hover {
  background: #135E96;
}
.entry-content .fcc-sitemap__heading {
  margin: 28px 0 14px;
  padding: 0 0 8px;
  font-size: 20px;
  background: none;
  border: 0;
  border-bottom: 2px solid #2271B1;
  color: #14202B;
}
.fcc-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.fcc-sitemap__card {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #DDE1DC;
  border-radius: 10px;
}
.entry-content .fcc-sitemap__cat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  font-size: 17px;
  background: none;
  border: 0;
}
.entry-content .fcc-sitemap__cat a {
  color: #14202B;
  text-decoration: none;
}
.entry-content .fcc-sitemap__cat a:hover {
  color: #135E96;
  text-decoration: underline;
}
.fcc-sitemap__cat span {
  flex: none;
  font-size: 12px;
  font-weight: 400;
  color: #5A6672;
}
.entry-content .fcc-sitemap__posts {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.entry-content .fcc-sitemap__posts li {
  margin: 0;
  padding: 6px 0;
  border-top: 1px dashed #DDE1DC;
  font-size: 14px;
  line-height: 1.5;
}
.entry-content .fcc-sitemap__more {
  margin: 0;
  font-size: 13px;
}
.entry-content .fcc-sitemap__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry-content .fcc-sitemap__pages li {
  margin: 0;
  font-size: 14px;
}
@media (max-width: 760px) {
  .fcc-sitemap__grid {
    grid-template-columns: 1fr;
  }
}
/* 固定ページの一覧は 2 列（題の長さがばらばらで、横に流すと読みにくい） */
.entry-content .fcc-sitemap__pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.entry-content .fcc-sitemap__pages li {
  padding: 7px 0;
  border-top: 1px dashed #DDE1DC;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .entry-content .fcc-sitemap__pages {
    grid-template-columns: 1fr;
  }
}

/* トップの作業実績（お客さまの声）：上へゆっくり流れて、最後まで行ったら最初に戻る（担当者さん 11/7・CSS だけ）。
   同じ並びを 2 回出しているので、ちょうど半分（-50%）動かすとつなぎ目なく元に戻る。マウス・タブで止まる */
.fcc-chrome .fcc-voices-ticker {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.fcc-chrome .fcc-voices-ticker:focus {
  outline: 2px solid var(--fcc-green);
  outline-offset: 2px;
}
.fcc-chrome .fcc-voices-ticker__track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fcc-voices-up var(--fcc-voice-sec, 100s) linear infinite;
}
.fcc-chrome .fcc-voices-ticker:hover .fcc-voices-ticker__track,
.fcc-chrome .fcc-voices-ticker:focus .fcc-voices-ticker__track,
.fcc-chrome .fcc-voices-ticker:focus-within .fcc-voices-ticker__track {
  animation-play-state: paused;
}
@keyframes fcc-voices-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 6px)); }
}
/* 動きを減らす設定の人には流さない：枠の中で手でスクロールできるように */
@media (prefers-reduced-motion: reduce) {
  .fcc-chrome .fcc-voices-ticker {
    overflow-y: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .fcc-chrome .fcc-voices-ticker__track {
    animation: none;
  }
  .fcc-chrome .fcc-voices-ticker__track > .fcc-voices[aria-hidden="true"] {
    display: none;
  }
}

/* フッターの広告の 1 行の「広告」の表示（CH-1398 の 6） */
.fcc-chrome .fcc-footer__ad-label {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid #AEB8C2;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: #AEB8C2;
}

/* 流れる声の「止める／流す」ボタン（assets/js/fcc-voices.js・CH-1399 の 3）。見出しの右上に小さく */
.fcc-chrome #fcc-voices {
  position: relative;
}
.fcc-chrome .fcc-voices-toggle {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--fcc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--fcc-text);
  font-size: 13px;
  cursor: pointer;
}
.fcc-chrome .fcc-voices-toggle:hover,
.fcc-chrome .fcc-voices-toggle:focus-visible {
  border-color: var(--fcc-green);
  color: var(--fcc-green-dark);
}
.fcc-chrome .fcc-voices-ticker.is-paused .fcc-voices-ticker__track {
  animation-play-state: paused;
}

/* 作業実績（お客さまの声）の枠を、左の「よく読まれている特集」と同じ高さに（担当者さん 11/8・CH-1405）。
   右の列を縦の flex にして、流れる枠に残りの高さを渡す。flex-basis 0 なので、行の高さは左の特集で決まる。
   1 列になる幅（900px 以下）では、今までどおり 300px */
.fcc-chrome .fcc-front-band__inner > #fcc-voices {
  display: flex;
  flex-direction: column;
}
.fcc-chrome #fcc-voices > .fcc-voices-ticker {
  flex: 1 1 0;
  height: auto;
  min-height: 160px;
}
.fcc-chrome #fcc-voices > .fcc-front-band__more {
  flex: none;
}
@media (max-width: 900px) {
  .fcc-chrome #fcc-voices > .fcc-voices-ticker {
    flex: none;
    height: 300px;
  }
}

/* ---- 記事のカード（fs-create.net の /labo と同じ形・template-parts/fcc-cards.php・CH-1405）---- */
.fcc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin: 0 0 32px;
}
a.fcc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #DDE1DC;
  border-radius: 18px;
  overflow: hidden;
  color: #14202B;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.fcc-card:hover {
  border-color: #2271B1;
  box-shadow: 0 2px 12px rgba(20, 32, 43, .07);
}
a.fcc-card:hover .fcc-card__title {
  color: #135E96;
}
.fcc-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: #E4E8E2;
}
.fcc-card__img--none {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #EEF0EC;
  color: #5A6672;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .04em;
}
.fcc-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 22px;
}
.fcc-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 12px;
  color: #5A6672;
}
.fcc-card__meta time {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.fcc-card__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: #E5EFF8;
  color: #135E96;
  font-weight: 700;
}
/* WordPress.org で公開している制作プラグインの札（inc/cards.php の fcc_card_cat()・担当者さん 11/8） */
.fcc-card__tag--wporg {
  background: #2271B1;
  color: #fff;
}
.entry-content .fcc-card__title,
.fcc-card__title {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: #14202B;
  background: none;
  border: 0;
}
/* 大きいカード：カードの中の幅が 840px からは画像が左・文が右、それより狭いと画像が上（fs-create.net と同じ） */
a.fcc-card--big {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  border-radius: 22px;
  container-type: inline-size;
}
@container (min-width: 840px) {
  .fcc-card--big .fcc-card__img {
    align-self: center;
  }
}
.fcc-card--big .fcc-card__body {
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
}
.fcc-card--big .fcc-card__meta {
  font-size: 13px;
}
.fcc-card--big .fcc-card__title {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  font-weight: 900;
}
.fcc-card__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3A4754;
}
.fcc-card__more {
  font-weight: 700;
  color: #135E96;
}
/* カスタマイズ事例・対応事例の一覧の頭（inc/cards.php の fcc_list_head） */
.fcc-list-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
}
.fcc-list-head__title {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.35;
  font-weight: 900;
  color: #14202B;
}
.fcc-list-head__desc {
  margin: 0;
  max-width: 760px;
  color: #3A4754;
}
.fcc-list-head__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fcc-list-head__cats a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid #DDE1DC;
  border-radius: 999px;
  background: #fff;
  color: #14202B;
  font-size: 14px;
  text-decoration: none;
}
.fcc-list-head__cats a[aria-current="page"] {
  border-color: #14202B;
  background: #14202B;
  color: #fff;
  font-weight: 700;
}

/* 一覧のページは /labo と同じく右の欄なしの全幅・灰色の地（inc/cards.php の fcc-cards-page・sidebar.php も出さない） */
body.fcc-cards-page,
body.fcc-cards-page #container,
body.fcc-cards-page .content {
  background: #F3F4F1;
}
/* 幅はヘッダーの .fcc-inner と同じ（1200px の中に左右 24px・/labo の .fsc-inner とそろえる・担当者さん 11/8「ヘッダーより下が横幅が広い」） */
.fcc-cards-page .content-in {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px var(--fcc-gutter, 24px) 64px;
}
.fcc-cards-page #main.main {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.fcc-cards-page #sidebar {
  display: none;
}
@media (max-width: 600px) {
  .fcc-cards-page .content-in {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 24px;
  }
}

/* トップのいちばん下の「ご依頼いただけること（WORK）」（template-parts/fcc-front-works.php・s-m.biz の「小さな道具」と同じ形・CH-1405） */
.fcc-works-band {
  margin: 8px 0 48px;
}
.fcc-works-band__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fcc-works-band__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #14202B;
}
.fcc-works-band__desc {
  margin: 0;
  color: #3A4754;
}
.fcc-works-band__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}
a.fcc-work-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid #DDE1DC;
  border-radius: 14px;
  background: #fff;
  color: #14202B;
  text-decoration: none;
}
a.fcc-work-card:hover {
  border-color: #2271B1;
}
.fcc-work-card__name {
  font-weight: 700;
  line-height: 1.6;
}
.fcc-work-card__price {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #135E96;
  font-weight: 700;
}
.fcc-work-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6672;
}
.fcc-works-band__more {
  margin: 0;
  font-weight: 700;
}
.fcc-works-band__more a {
  color: #135E96;
}

/* 一覧の下のページ送りは番号の並びだけ（Cocoon の大きな「次のページ」のボタンは出さない・/labo とそろえる・CH-1406 の 4） */
.fcc-cards-page .pagination-next {
  display: none;
}

/* 一覧（/archives/list）のいちばん下の SiteBeacon の案内（template-parts/fcc-siteb-band.php・CH-1405）。
   形は fs-create.net の /labo のいちばん下の相談の枠（fsc-chrome.css の .fsc-contact）と同じ。色は functions の青 */
.fcc-siteb {
  margin-top: 56px;
}
.fcc-siteb__box {
  background: var(--fcc-white, #fff);
  border: 1px solid var(--fcc-line, #DDE1DC);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  align-items: center;
}
.fcc-siteb__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.fcc-siteb__tag {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fcc-green, #2271B1);
}
.fcc-siteb .fcc-siteb__title {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fcc-ink, #14202B);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.35;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.fcc-siteb__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--fcc-text, #2B3640);
}
.fcc-siteb__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.fcc-siteb__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 64px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid var(--fcc-green, #2271B1);
  background: var(--fcc-green, #2271B1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
.fcc-siteb__btn svg {
  flex: none;
}
.fcc-siteb__btn:hover {
  background: var(--fcc-green-dark, #135E96);
  border-color: var(--fcc-green-dark, #135E96);
  color: #fff;
}
.fcc-siteb__btn--ghost {
  min-height: 56px;
  font-size: 16px;
  background: transparent;
  border-color: var(--fcc-ink, #14202B);
  color: var(--fcc-ink, #14202B);
}
.fcc-siteb__btn--ghost:hover {
  background: var(--fcc-ink, #14202B);
  border-color: var(--fcc-ink, #14202B);
  color: #fff;
}
.fcc-siteb__note {
  margin: 0;
  font-size: 13px;
  color: var(--fcc-mute, #5A6672);
  text-align: center;
}
@media (max-width: 600px) {
  .fcc-siteb {
    margin-top: 40px;
  }
  .fcc-siteb__btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}
