/* ==========================================================================
   Flower Charme マーケット — 専用の外枠（記事サイトのテーマは読み込まない）
   ========================================================================== */
body.fcm-app {
  margin: 0; background: #fff; color: #222;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
body.fcm-app *, body.fcm-app *::before, body.fcm-app *::after { box-sizing: border-box; }
body.fcm-app img { max-width: 100%; height: auto; }
body.fcm-app a { color: #2e7d32; }
body.fcm-app h1, body.fcm-app h2, body.fcm-app h3, body.fcm-app p, body.fcm-app ul, body.fcm-app ol, body.fcm-app dl, body.fcm-app figure { margin-top: 0; }
body.fcm-app button, body.fcm-app input, body.fcm-app select, body.fcm-app textarea { font-family: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.fcm-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.fcm-skip:focus { left: 8px; top: 8px; }
.fcm-main { display: block; max-width: 1120px; margin: 0 auto; padding: 16px 20px 56px; min-height: 60vh; }

/* ヘッダー */
.fcm-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e3e6e3; }
.fcm-header__bar { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.fcm-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; line-height: 1; }
.fcm-header .fcm-brand__logo, .fcm-site-footer .fcm-brand__logo { display: block; height: 28px; width: auto; max-width: none; }
/* 「マーケット」はロゴの緑に合わせ、細い線で区切って添える */
.fcm-brand__sub { display: inline-flex; align-items: center; height: 24px; padding-left: 12px; border-left: 1px solid #c9cec9; font-size: 14px; font-weight: 700; color: #2e7d32; letter-spacing: .22em; white-space: nowrap; }
.fcm-header__search { flex: 1; max-width: 520px; display: flex; border: 1px solid #c9cec9; border-radius: 999px; overflow: hidden; background: #f7f8f7; }
.fcm-header__search:focus-within { border-color: #2e7d32; background: #fff; box-shadow: 0 0 0 1px #2e7d32; }
.fcm-header__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 16px; font-size: 15px; outline: none; }
.fcm-header__search button { border: 0; background: transparent; padding: 0 14px; color: #555; cursor: pointer; display: flex; align-items: center; }
.fcm-header__actions { display: flex; gap: 4px; margin-left: auto; flex: none; }
.fcm-header__action { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 10px; font-size: 11px; color: #444 !important; text-decoration: none; border-radius: 6px; }
.fcm-header__action:hover { background: #f2f4f2; color: #2e7d32 !important; }
.fcm-header svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fcm-header__icon { position: relative; display: inline-flex; }
.fcm-header__badge { position: absolute; top: -4px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #c2185b; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.fcm-header__badge[hidden] { display: none; }
.fcm-catnav { border-top: 1px solid #eef0ee; }
.fcm-catnav__inner { max-width: 1120px; margin: 0 auto; padding: 0 12px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.fcm-catnav__inner::-webkit-scrollbar { display: none; }
.fcm-catnav a { flex: none; padding: 9px 10px; font-size: 13px; color: #444; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.fcm-catnav a:hover { color: #2e7d32; border-bottom-color: #2e7d32; }
.fcm-catnav__sep { flex: none; width: 1px; margin: 10px 6px; background: #dfe3df; }

/* フッター */
.fcm-site-footer { background: #f5f7f5; border-top: 1px solid #e3e6e3; margin-top: 24px; }
.fcm-site-footer__inner { max-width: 1120px; margin: 0 auto; padding: 36px 20px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.fcm-site-footer__name { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fcm-site-footer .fcm-site-footer__name .fcm-brand__logo { height: 22px; }
.fcm-site-footer__name .fcm-brand__sub { height: 18px; padding-left: 10px; font-size: 12px; }
.fcm-site-footer__lead { font-size: 13px; color: #666; margin-bottom: 12px; }
.fcm-site-footer__media { font-size: 13px; }
.fcm-site-footer__col { display: flex; flex-direction: column; gap: 6px; }
.fcm-site-footer__title { font-weight: 700; font-size: 13px; color: #26302a; margin-bottom: 4px; }
.fcm-site-footer__col a { font-size: 13px; color: #555; text-decoration: none; }
.fcm-site-footer__col a:hover { color: #2e7d32; text-decoration: underline; }
.fcm-site-footer__copy { text-align: center; font-size: 12px; color: #888; margin: 0; padding: 16px; border-top: 1px solid #e3e6e3; }

/* ガイド・規約 */
.fcm-doc { max-width: 760px; margin: 0 auto; }
.fcm-doc__body { margin-top: 20px; }
.fcm-doc__body h2 { font-size: 19px; font-weight: 700; margin: 36px 0 12px; padding-bottom: 6px; border-bottom: 2px solid #e3e6e3; }
.fcm-doc__body h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; padding-left: 10px; border-left: 3px solid #2e7d32; }
.fcm-doc__body ol, .fcm-doc__body ul { padding-left: 1.5em; margin-bottom: 16px; }
.fcm-doc__body li { margin-bottom: 6px; }
.fcm-doc__body li > ul { margin-top: 6px; }
.fcm-doc__body p { margin-bottom: 14px; }

@media (max-width: 959px) {
  .fcm-site-footer__inner { grid-template-columns: 1fr 1fr; }
  .fcm-site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .fcm-header__bar { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .fcm-brand { gap: 8px; }
  .fcm-header .fcm-brand__logo { height: 22px; }
  .fcm-brand__sub { height: 18px; padding-left: 8px; font-size: 11px; letter-spacing: .15em; }
  .fcm-header__search { order: 3; flex-basis: 100%; max-width: none; }
  .fcm-header__search input { padding: 7px 14px; }
  .fcm-header__actions { gap: 0; }
  .fcm-header__action { padding: 6px 8px; }
  /* スマホはアイコンだけ（文字は読み上げ用に残す） */
  .fcm-header__action > span:not(.fcm-header__icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
  .fcm-main { padding: 12px 16px 48px; }
  .fcm-hero { padding-top: 12px; }
}

/* 画面の部品 */
.fcm {
  --fcm-accent: #2e7d32;
  --fcm-accent-dark: #1f5e23;
  --fcm-accent-soft: #eef5ee;
  --fcm-text: #222;
  --fcm-muted: #666;
  --fcm-border: #d9ddd9;
  --fcm-bg-soft: #f7f8f7;
  --fcm-error: #b3261e;
  --fcm-error-soft: #fbeceb;
  --fcm-radius: 6px;
  color: var(--fcm-text);
  font-size: 15px;
  line-height: 1.75;
}
.fcm.fcm--embed { padding: 0; }


.fcm *, .fcm *::before, .fcm *::after { box-sizing: border-box; }
.fcm a { color: var(--fcm-accent); }
.fcm p { margin: 0 0 12px; }

.fcm-narrow { max-width: 480px; margin: 0 auto; }
.fcm-narrow--wide { max-width: 640px; }

.fcm .fcm-title {
  font-size: 24px; line-height: 1.4; font-weight: 700; margin: 16px 0 12px; padding: 0;
  background: none; border: 0; color: var(--fcm-text); text-align: left;
}
.fcm .fcm-title::before, .fcm .fcm-title::after { display: none; }
.fcm-lead { color: var(--fcm-muted); margin-bottom: 24px !important; }
.fcm-muted { color: var(--fcm-muted); font-size: 14px; }
.fcm-back { margin: 8px 0 0 !important; font-size: 14px; }
.fcm-back a::before { content: "‹ "; }
.fcm-aside { text-align: center; font-size: 14px; margin-top: 20px !important; }
.fcm-divider { border-top: 1px solid var(--fcm-border); margin: 28px 0 8px; }

/* お知らせ */
.fcm-notice { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 12px 14px; margin: 0 auto 20px; max-width: 640px; font-size: 14px; }
.fcm-notice--success, .fcm-notice--info { border-color: #b9d6ba; background: var(--fcm-accent-soft); }
.fcm-notice--error { border-color: #e6b3af; background: var(--fcm-error-soft); color: var(--fcm-error); }

/* カード・区切り */
.fcm-card { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 16px 18px; margin-bottom: 16px; background: #fff; }
.fcm-card--soft { background: var(--fcm-bg-soft); }
.fcm-card__title { font-size: 16px !important; margin: 0 0 8px !important; padding: 0 !important; background: none !important; border: 0 !important; }
.fcm-section { border-top: 1px solid var(--fcm-border); padding-top: 20px; margin-top: 28px; }
.fcm h2.fcm-section__title, .fcm h2.fcm-card__title {
  font-size: 17px !important; font-weight: 700 !important; line-height: 1.5 !important; margin: 0 0 12px !important; padding: 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--fcm-text) !important; text-align: left !important;
}
.fcm h2.fcm-section__title::before, .fcm h2.fcm-section__title::after, .fcm h2.fcm-card__title::before, .fcm h2.fcm-card__title::after { display: none !important; content: none !important; }
.fcm h1.fcm-title { background: none !important; border: 0 !important; padding: 0 !important; }
.fcm .fcm-form h2.fcm-section__title { margin-top: 28px !important; padding-top: 20px !important; border-top: 1px solid var(--fcm-border) !important; }
.fcm .fcm-form h2.fcm-section__title:first-of-type { margin-top: 8px !important; padding-top: 0 !important; border-top: 0 !important; }
.fcm-quote { border-left: 3px solid var(--fcm-border); background: var(--fcm-bg-soft); padding: 10px 14px; margin: 0 0 16px; font-size: 14px; }
.fcm-quote__label { font-weight: 700; margin-bottom: 4px !important; }

/* フォーム */
.fcm-form { margin: 0; }
.fcm-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.fcm-field > label, .fcm-field > legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.fcm input[type="text"], .fcm input[type="email"], .fcm input[type="password"], .fcm input[type="url"], .fcm input[type="number"], .fcm input[type="tel"], .fcm input[type="search"], .fcm input[type="date"], .fcm select, .fcm textarea {
  width: 100%; max-width: 100%; font-size: 16px; line-height: 1.5; padding: 10px 12px; margin: 0;
  border: 1px solid #bfc4bf; border-radius: var(--fcm-radius); background: #fff; color: var(--fcm-text); box-shadow: none;
}
.fcm textarea { resize: vertical; }
.fcm input:focus, .fcm select:focus, .fcm textarea:focus { outline: 2px solid var(--fcm-accent); outline-offset: 0; border-color: var(--fcm-accent); }
.fcm [aria-invalid="true"] { border-color: var(--fcm-error) !important; }
.fcm-field__hint { color: var(--fcm-muted); font-size: 13px; margin: 6px 0 0 !important; }
.fcm-field__error { color: var(--fcm-error); font-size: 13px; margin: 6px 0 0 !important; font-weight: 700; }
.fcm-req, .fcm-opt { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.fcm-req { background: var(--fcm-accent); color: #fff; }
.fcm-opt { background: #e6e8e6; color: var(--fcm-muted); }

.fcm-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.fcm-check input { margin: 5px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--fcm-accent); }
.fcm-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.fcm-choice { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bfc4bf; border-radius: var(--fcm-radius); padding: 8px 12px; cursor: pointer; font-size: 14px; background: #fff; }
.fcm-choice input { margin: 0; accent-color: var(--fcm-accent); }
.fcm-choice:has(input:checked) { border-color: var(--fcm-accent); background: var(--fcm-accent-soft); }

.fcm-password { display: flex; }
.fcm-password input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.fcm-password__toggle { flex: none; border: 1px solid #bfc4bf; border-left: 0; background: var(--fcm-bg-soft); color: var(--fcm-text); padding: 0 14px; font-size: 13px; border-radius: 0 var(--fcm-radius) var(--fcm-radius) 0; cursor: pointer; }
.fcm-prefix-input { display: flex; align-items: stretch; }
.fcm-prefix-input__prefix { display: flex; align-items: center; padding: 0 10px; border: 1px solid #bfc4bf; border-right: 0; border-radius: var(--fcm-radius) 0 0 var(--fcm-radius); background: var(--fcm-bg-soft); color: var(--fcm-muted); font-size: 13px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.fcm-prefix-input input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; min-width: 0; }

.fcm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ボタン */
.fcm .fcm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 20px;
  border: 1px solid var(--fcm-accent); border-radius: var(--fcm-radius); background: #fff; color: var(--fcm-accent);
  font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer; box-shadow: none;
}
.fcm .fcm-btn:hover { background: var(--fcm-accent-soft); }
.fcm .fcm-btn--primary { background: var(--fcm-accent); color: #fff; }
.fcm .fcm-btn--primary:hover { background: var(--fcm-accent-dark); border-color: var(--fcm-accent-dark); }
.fcm .fcm-btn--ghost { border-color: var(--fcm-border); color: var(--fcm-muted); background: transparent; }
.fcm .fcm-btn--block { display: flex; width: 100%; }

/* マイページ */
.fcm-mypage { max-width: 640px; margin: 0 auto; }
.fcm-mypage__head { margin-bottom: 16px; }
.fcm-mypage__head .fcm-title { margin-bottom: 0; }
.fcm-menu { display: grid; border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); overflow: hidden; margin: 8px 0 24px; }
.fcm .fcm-menu__item { display: flex; flex-direction: column; padding: 14px 40px 14px 16px; border-top: 1px solid var(--fcm-border); text-decoration: none; color: var(--fcm-text); position: relative; background: #fff; }
.fcm .fcm-menu__item:first-child { border-top: 0; }
.fcm .fcm-menu__item:not(.is-disabled):hover { background: var(--fcm-bg-soft); }
.fcm .fcm-menu__item:not(.is-disabled)::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #9aa09a; border-right: 2px solid #9aa09a; transform: translateY(-50%) rotate(45deg); }
.fcm-menu__item.is-disabled { color: #9aa09a; cursor: default; }
.fcm-menu__label { font-weight: 700; }
.fcm-menu__note { font-size: 13px; color: var(--fcm-muted); }
.fcm-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 3px; background: #e6e8e6; color: var(--fcm-muted); vertical-align: 1px; }
.fcm-badge--approved { background: var(--fcm-accent); color: #fff; }
.fcm-badge--pending { background: #fff3cd; color: #7a5a00; }
.fcm-badge--rejected, .fcm-badge--suspended { background: var(--fcm-error-soft); color: var(--fcm-error); }
.fcm-logout { text-align: center; }

@media (max-width: 599px) {
  .fcm .fcm-title { font-size: 21px; }
}

/* ---- 出品者ダッシュボード ---- */
.fcm-dash { max-width: 880px; margin: 0 auto; }
.fcm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--fcm-border); margin: 4px 0 20px; overflow-x: auto; }
.fcm .fcm-tabs__item { padding: 10px 16px; text-decoration: none; color: var(--fcm-muted); font-weight: 700; font-size: 14px; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.fcm .fcm-tabs__item.is-current { color: var(--fcm-accent); border-bottom-color: var(--fcm-accent); }
.fcm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 16px; }
.fcm .fcm-stat { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); text-decoration: none; color: var(--fcm-text); background: #fff; }
.fcm .fcm-stat:hover { background: var(--fcm-bg-soft); }
.fcm-stat__num { font-size: 24px; font-weight: 700; line-height: 1.2; }
.fcm-stat__label { font-size: 13px; color: var(--fcm-muted); }
.fcm-actions { margin: 0 0 8px; }
.fcm-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fcm-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.fcm .fcm-filter__item { font-size: 13px; padding: 4px 10px; border: 1px solid var(--fcm-border); border-radius: 999px; text-decoration: none; color: var(--fcm-muted); background: #fff; }
.fcm .fcm-filter__item.is-current { border-color: var(--fcm-accent); color: var(--fcm-accent); background: var(--fcm-accent-soft); font-weight: 700; }

.fcm-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fcm-border); }
.fcm-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--fcm-border); margin: 0; }
.fcm-row::before { display: none !important; }
.fcm-row__thumb { display: block; width: 72px; height: 72px; border-radius: 4px; overflow: hidden; background: var(--fcm-bg-soft); }
.fcm-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-row__noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 11px; color: var(--fcm-muted); }
.fcm .fcm-row__title { font-weight: 700; color: var(--fcm-text); text-decoration: none; display: block; line-height: 1.5; }
.fcm-row__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13px; color: var(--fcm-muted); margin-top: 4px; }
.fcm-row__note { font-size: 13px; color: var(--fcm-error); margin: 4px 0 0 !important; }
.fcm-row__actions { display: flex; gap: 6px; align-items: center; }
.fcm-row__actions form { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.fcm .fcm-btn--small { min-height: 32px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.fcm .fcm-btn--danger { border-color: #e6b3af; color: var(--fcm-error); }
.fcm .fcm-btn--danger:hover { background: var(--fcm-error-soft); }
.fcm-badge--publish { background: var(--fcm-accent); color: #fff; }
.fcm-badge--draft { background: #e6e8e6; color: var(--fcm-muted); }
.fcm-badge--fcm_suspended { background: var(--fcm-error-soft); color: var(--fcm-error); }
.fcm-pager { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.fcm .fcm-pager__item { min-width: 36px; padding: 6px 10px; text-align: center; border: 1px solid var(--fcm-border); border-radius: 4px; text-decoration: none; color: var(--fcm-text); }
.fcm .fcm-pager__item.is-current { background: var(--fcm-accent); border-color: var(--fcm-accent); color: #fff; }
.fcm-status-line { display: flex; gap: 12px; align-items: center; font-size: 14px; }

.fcm-static { margin: 0 !important; color: var(--fcm-muted); font-size: 14px; word-break: break-all; }
.fcm-unit { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.fcm-unit input { text-align: right; }
.fcm-unit span { white-space: nowrap; font-size: 14px; }
.fcm-unit--inline { max-width: none; flex-wrap: wrap; margin-top: 8px; font-size: 14px; }
.fcm-unit--inline label { font-weight: 400; font-size: 14px; }
.fcm .fcm-unit--inline input { width: 80px; flex: none; }
.fcm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fcm-region-fees { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; }
.fcm-region-fee > label { display: block; font-size: 13px; margin-bottom: 4px; }
.fcm-choice--compact { padding: 6px 10px; font-size: 13px; }
.fcm-details { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 12px 14px; }
.fcm-details summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.fcm-pref-group { margin-top: 12px; }
.fcm-pref-group__name { font-size: 13px; font-weight: 700; margin: 0 0 6px !important; }
.fcm-current-image { margin-bottom: 8px; }
.fcm-current-image img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
.fcm-current-image--avatar img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.fcm-current-image--cover img { max-height: 160px; width: 100%; object-fit: cover; }
.fcm input[type="file"] { font-size: 14px; max-width: 100%; }

.fcm-gallery { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fcm-gallery:empty { display: none; }
.fcm-gallery__item { position: relative; margin: 0; border: 1px solid var(--fcm-border); border-radius: 4px; overflow: hidden; background: var(--fcm-bg-soft); aspect-ratio: 1; }
.fcm-gallery__item::before { display: none !important; }
.fcm-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-gallery__main { display: none; position: absolute; top: 6px; left: 6px; background: var(--fcm-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.fcm-gallery__item:first-child .fcm-gallery__main { display: block; }
.fcm-gallery__tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; }
.fcm-gallery__btn { flex: 1; border: 0; border-top: 1px solid var(--fcm-border); background: rgba(255, 255, 255, .95); font-size: 12px; padding: 6px 0; cursor: pointer; color: var(--fcm-text); }
.fcm-gallery__btn + .fcm-gallery__btn { border-left: 1px solid var(--fcm-border); }
.fcm-gallery__item:first-child [data-fcm-gallery-move] { visibility: hidden; }
.fcm-gallery__newlabel { position: absolute; top: 6px; left: 6px; background: #fff; border: 1px solid var(--fcm-border); font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.fcm-upload { display: block; border: 1px dashed #9aa09a; border-radius: var(--fcm-radius); padding: 16px; text-align: center; cursor: pointer; background: #fff; }
.fcm-upload:hover { background: var(--fcm-bg-soft); }
.fcm-upload__label { display: block; font-weight: 700; color: var(--fcm-accent); }
.fcm-upload__hint { display: block; font-size: 12px; color: var(--fcm-muted); margin-bottom: 8px; }
.fcm-submit-bar { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--fcm-border); margin-top: 24px; z-index: 5; }
.fcm [hidden] { display: none !important; }

@media (max-width: 599px) {
  .fcm-stats { grid-template-columns: repeat(2, 1fr); }
  .fcm-grid-2 { grid-template-columns: 1fr; }
  .fcm-row { grid-template-columns: 64px 1fr; }
  .fcm-row__thumb { width: 64px; height: 64px; }
  .fcm-row__actions { grid-column: 1 / -1; }
  .fcm-submit-bar .fcm-btn { flex: 1; }
}

/* ---- 公開ページ ---- */
.fcm-wide { max-width: 1080px; margin: 0 auto; }
.fcm-empty { color: var(--fcm-muted); padding: 24px 0; text-align: center; }

.fcm-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 12px; color: var(--fcm-muted); }
.fcm-crumbs li { margin: 0; padding: 0; }
.fcm-crumbs li::before { display: none !important; }
.fcm-crumbs li + li::before { content: "›" !important; display: inline !important; margin-right: 4px; position: static !important; background: none !important; }
.fcm .fcm-crumbs a { color: var(--fcm-muted); text-decoration: none; }

.fcm-hero { text-align: center; padding: 24px 0 0; }
.fcm .fcm-hero__title { font-size: 26px; font-weight: 700; margin: 0 0 8px; padding: 0; border: 0; background: none; line-height: 1.4; }
.fcm-hero__lead { color: var(--fcm-muted); margin-bottom: 20px !important; }

.fcm-search { display: flex; max-width: 560px; margin: 0 auto; border: 1px solid #bfc4bf; border-radius: 999px; overflow: hidden; background: #fff; }
.fcm .fcm-search input { border: 0 !important; border-radius: 0; padding: 12px 18px; outline: none; }
.fcm .fcm-search input:focus { outline: none; }
.fcm-search:focus-within { border-color: var(--fcm-accent); box-shadow: 0 0 0 1px var(--fcm-accent); }
.fcm-search button { border: 0; background: var(--fcm-accent); color: #fff; padding: 0 20px; cursor: pointer; display: flex; align-items: center; }
.fcm-search svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.fcm-block { margin: 36px 0 0; }
.fcm-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fcm h2.fcm-block__title { font-size: 19px !important; font-weight: 700 !important; margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; color: var(--fcm-text) !important; text-align: left !important; }
.fcm h2.fcm-block__title::before, .fcm h2.fcm-block__title::after { display: none !important; content: none !important; }
.fcm .fcm-block__more { font-size: 14px; white-space: nowrap; }
.fcm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fcm .fcm-chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--fcm-border); border-radius: 999px; text-decoration: none; color: var(--fcm-text); font-size: 14px; background: #fff; }
.fcm .fcm-chip:hover { border-color: var(--fcm-accent); color: var(--fcm-accent); }
.fcm-cta { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 24px; text-align: center; background: var(--fcm-bg-soft); margin-bottom: 16px; }
.fcm-cta .fcm-block__title { text-align: center !important; }

/* 商品カード */
.fcm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.fcm-card-item { position: relative; min-width: 0; }
.fcm .fcm-card-item__image { display: block; position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--fcm-bg-soft); }
.fcm-card-item__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .15s; }
.fcm .fcm-card-item__image:hover img { opacity: .88; }
.fcm-card-item__soldout { position: absolute; left: 8px; bottom: 8px; background: rgba(34, 34, 34, .85); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 3px; }
.fcm-card-item__body { padding-top: 8px; }
.fcm .fcm-card-item__title { font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; margin: 0 0 2px !important; padding: 0 !important; background: none !important; border: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcm .fcm-card-item__title::before, .fcm .fcm-card-item__title::after { display: none !important; content: none !important; }
.fcm .fcm-card-item__title a { color: var(--fcm-text); text-decoration: none; }
.fcm-card-item__price { font-weight: 700; margin: 0 !important; font-size: 15px; }
.fcm-card-item__price span { font-size: 12px; font-weight: 400; margin-left: 1px; }
.fcm-card-item__shop { font-size: 12px; color: var(--fcm-muted); margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* お気に入り */
.fcm-fav { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--fcm-border); background: #fff; color: #888; cursor: pointer; padding: 0; border-radius: 999px; }
.fcm-card-item > .fcm-fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-color: transparent; background: rgba(255, 255, 255, .92); }
.fcm-fav--labeled { padding: 8px 16px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--fcm-text); border-radius: var(--fcm-radius); }
.fcm-fav__icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fcm-fav.is-on { color: #c2185b; }
.fcm-fav.is-on .fcm-fav__icon { fill: currentColor; }
.fcm-fav:focus-visible { outline: 2px solid var(--fcm-accent); outline-offset: 2px; }

/* 作り手 */
.fcm-shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.fcm .fcm-shop-card, .fcm .fcm-shop-mini { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); text-decoration: none; color: var(--fcm-text); background: #fff; }
.fcm .fcm-shop-card:hover, .fcm .fcm-shop-mini:hover { background: var(--fcm-bg-soft); }
.fcm-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--fcm-accent-soft); color: var(--fcm-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.fcm-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-avatar--large { width: 72px; height: 72px; font-size: 26px; border: 3px solid #fff; }
.fcm-shop-card__body, .fcm-shop-mini__body { display: flex; flex-direction: column; min-width: 0; }
.fcm-shop-card__name, .fcm-shop-mini__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcm-shop-card__meta, .fcm-shop-mini__meta { font-size: 12px; color: var(--fcm-muted); }

/* 一覧 */
.fcm-list { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; margin-top: 12px; }
.fcm-filters { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 16px; background: #fff; position: sticky; top: 16px; }
.fcm-filters__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.fcm-filters__title { font-weight: 700; }
.fcm-filters__clear { font-size: 13px; }
.fcm-filters .fcm-field { margin-bottom: 14px; }
.fcm .fcm-filters input, .fcm .fcm-filters select { font-size: 15px; padding: 8px 10px; }
.fcm-range { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.fcm .fcm-range input { min-width: 0; }
.fcm-list__bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fcm-list__count { margin: 0 auto 0 0 !important; font-weight: 700; }
.fcm-list__filter-toggle { display: none !important; }
.fcm .fcm-sort select { width: auto; font-size: 14px; padding: 6px 10px; }
.fcm-pager__gap { padding: 6px 4px; color: var(--fcm-muted); }

/* 商品ページ */
.fcm-product__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 8px; }
.fcm-product__main { position: relative; aspect-ratio: 1; background: var(--fcm-bg-soft); border-radius: 4px; overflow: hidden; }
.fcm-product__slide { margin: 0; width: 100%; height: 100%; }
.fcm-product__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fcm-product__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.fcm-product__thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: var(--fcm-bg-soft); }
.fcm-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-product__thumb.is-active { border-color: var(--fcm-accent); }
.fcm-product__kind { font-size: 13px; margin: 0 0 4px !important; color: var(--fcm-muted); }
.fcm .fcm-product__kind a { color: var(--fcm-muted); }
.fcm h1.fcm-product__title { font-size: 22px !important; line-height: 1.5 !important; font-weight: 700 !important; margin: 0 0 12px !important; padding: 0 !important; background: none !important; border: 0 !important; text-align: left !important; }
.fcm-product__price { font-size: 26px; font-weight: 700; margin: 0 !important; }
.fcm-product__price span { font-size: 13px; font-weight: 400; margin-left: 4px; }
.fcm-product__ship-fee { font-size: 13px; color: var(--fcm-muted); margin: 2px 0 16px !important; }
.fcm-product__buy { display: grid; gap: 10px; margin-bottom: 20px; }
.fcm-product__buy .fcm-btn[disabled] { opacity: .6; cursor: not-allowed; }
.fcm-product__stock { font-size: 13px; color: var(--fcm-muted); margin: -4px 0 0 !important; text-align: center; }
.fcm-specs { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px 12px; margin: 0 0 20px; font-size: 14px; border-top: 1px solid var(--fcm-border); padding-top: 14px; }
.fcm-specs dt { font-weight: 700; color: var(--fcm-muted); margin: 0; }
.fcm-specs dd { margin: 0; }
.fcm-specs--wide { grid-template-columns: 10em 1fr; }
.fcm-inline-links { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.fcm-product__section { margin-top: 36px; max-width: 760px; }
.fcm-product__desc { white-space: normal; margin-bottom: 20px; }
.fcm .fcm-product__subtitle { font-size: 16px !important; font-weight: 700 !important; margin: 16px 0 8px !important; padding: 0 !important; background: none !important; border: 0 !important; }
.fcm .fcm-product__subtitle::before, .fcm .fcm-product__subtitle::after { display: none !important; content: none !important; }
.fcm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fcm .fcm-tag { font-size: 13px; padding: 2px 10px; background: var(--fcm-bg-soft); border-radius: 999px; text-decoration: none; color: var(--fcm-muted); }
.fcm-product__legal { font-size: 13px; margin-top: 16px !important; }
.fcm .fcm-product__legal a { color: var(--fcm-muted); }

/* 作家ページ */
.fcm-shop__head { margin-bottom: 8px; }
.fcm-shop__cover { aspect-ratio: 3 / 1; border-radius: 4px; overflow: hidden; background: var(--fcm-bg-soft); margin-bottom: -28px; }
.fcm-shop__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-shop__profile { display: flex; align-items: flex-end; gap: 14px; padding: 0 12px; position: relative; }
.fcm-shop__names { flex: 1; min-width: 0; }
.fcm h1.fcm-shop__name { font-size: 22px !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; text-align: left !important; line-height: 1.4 !important; }
.fcm-shop__meta { font-size: 13px; color: var(--fcm-muted); margin: 0 !important; }
.fcm-shop__catch { font-weight: 700; margin: 16px 0 8px !important; }
.fcm-shop__bio { font-size: 14px; }
.fcm-shop__ship { margin-top: 8px !important; }

@media (max-width: 959px) {
  .fcm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fcm-list { grid-template-columns: 1fr; gap: 0; }
  .fcm-filters { display: none; position: static; margin-bottom: 16px; }
  .fcm-filters.is-open { display: block; }
  .fcm-list__filter-toggle { display: inline-flex !important; }
  .fcm-product__top { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 599px) {
  .fcm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .fcm .fcm-hero__title { font-size: 22px; }
  .fcm-specs, .fcm-specs--wide { grid-template-columns: 1fr; gap: 2px; }
  .fcm-specs dd { margin-bottom: 8px; }
  .fcm-shop__profile { flex-wrap: wrap; }
}

/* ---- 購入 ---- */
.fcm-small { font-size: 12px; }
.fcm-steps { display: flex; list-style: none; margin: 0 0 20px; padding: 0; counter-reset: step; font-size: 13px; }
.fcm-steps li { flex: 1; text-align: center; padding: 8px 4px; border-bottom: 3px solid var(--fcm-border); color: var(--fcm-muted); margin: 0; }
.fcm-steps li::before { display: none !important; }
.fcm-steps li.is-current { border-color: var(--fcm-accent); color: var(--fcm-accent); font-weight: 700; }
.fcm-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.fcm-line { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--fcm-border); margin: 0; }
.fcm-line::before { display: none !important; }
.fcm-line:last-child { border-bottom: 0; }
.fcm-line__image { display: block; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: var(--fcm-bg-soft); }
.fcm-line__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm .fcm-line__title { color: var(--fcm-text); text-decoration: none; font-weight: 700; font-size: 14px; display: block; }
.fcm-line__price { font-size: 13px; color: var(--fcm-muted); margin: 2px 0 0 !important; display: flex; gap: 8px; align-items: center; }
.fcm-line__qty { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.fcm .fcm-line__qty select { width: auto; padding: 4px 8px; font-size: 14px; }
.fcm-line__total { font-weight: 700; margin: 0 !important; white-space: nowrap; }
.fcm-link-btn { border: 0; background: none; color: var(--fcm-muted); text-decoration: underline; font-size: 13px; cursor: pointer; padding: 0; }
.fcm-cart-group__ship { margin: 0 !important; }
.fcm-cart-total { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 16px 18px; background: var(--fcm-bg-soft); margin-top: 8px; }
.fcm-cart-total strong { font-size: 22px; margin-left: 8px; }
.fcm-amounts { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.fcm-amounts th, .fcm-amounts td { padding: 4px 0; border: 0; background: none; font-weight: 400; }
.fcm-amounts th { text-align: left; color: var(--fcm-muted); }
.fcm-amounts td { text-align: right; }
.fcm-amounts tr.is-total th, .fcm-amounts tr.is-total td { font-weight: 700; color: var(--fcm-text); border-top: 1px solid var(--fcm-border); padding-top: 8px; }
.fcm-buy { display: grid; gap: 10px; }
.fcm-buy__qty { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.fcm .fcm-buy__qty select { width: 90px; }
.fcm-plain-list { padding-left: 1.2em; }
.fcm-order-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fcm-border); }
.fcm-order-list li { margin: 0; padding: 0; }
.fcm-order-list li::before { display: none !important; }
.fcm .fcm-order-row { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--fcm-border); color: var(--fcm-text); text-decoration: none; }
.fcm .fcm-order-row:hover { background: var(--fcm-bg-soft); }
.fcm-order-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.fcm-order-row__title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcm-badge--paid { background: #fff3cd; color: #7a5a00; }
.fcm-badge--shipped { background: #e3f0fb; color: #1d5a8c; }
.fcm-badge--completed { background: var(--fcm-accent); color: #fff; }
.fcm-badge--cancelled { background: #e6e8e6; color: var(--fcm-muted); }
.fcm-timeline { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.fcm-timeline li { padding: 4px 0 4px 14px; border-left: 2px solid var(--fcm-border); margin: 0; }
.fcm-timeline li::before { display: none !important; }

@media (max-width: 599px) {
  .fcm-line { grid-template-columns: 56px 1fr auto; }
  .fcm-line__image { width: 56px; height: 56px; }
  .fcm-line__qty { grid-column: 2; }
  .fcm-line__total { grid-column: 3; grid-row: 1; }
}

/* ---- 記事の中の作品 ---- */
.fcm.fcm--embed { padding: 20px 0 8px; margin: 32px 0 16px; border-top: 1px solid var(--fcm-border); font-size: 15px; }
.fcm-embed__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.fcm .fcm-embed__title { font-weight: 700; font-size: 17px; margin: 0 !important; }
.fcm .fcm-embed__more { font-size: 14px; white-space: nowrap; }
.fcm--embed .fcm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.fcm--embed .fcm-card-item__image img { margin: 0 !important; max-width: 100% !important; }
@media (max-width: 599px) { .fcm--embed .fcm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fcm-card--accent { border-color: var(--fcm-accent); background: var(--fcm-accent-soft); }
.fcm-badge--paid { background: #fff3cd; color: #7a5a00; }
.fcm-badge--in_production { background: #ede7f6; color: #4a2a8a; }

/* ---- 取り込み ---- */
.fcm-toolbar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fcm-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 24px; font-weight: 700; letter-spacing: .08em; background: #fff; border: 1px dashed var(--fcm-accent); border-radius: var(--fcm-radius); padding: 12px; text-align: center; user-select: all; }
.fcm-progress { height: 10px; background: #e6e8e6; border-radius: 999px; overflow: hidden; margin: 8px 0 10px; }
.fcm-progress__bar { height: 100%; background: var(--fcm-accent); transition: width .4s; }
.fcm-import-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.fcm-import-items li { margin: 0; }
.fcm-import-item { display: grid; grid-template-columns: auto 56px 1fr; gap: 10px; align-items: center; border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 8px 10px; cursor: pointer; background: #fff; }
.fcm-import-item:has(input:checked) { border-color: var(--fcm-accent); background: var(--fcm-accent-soft); }
.fcm-import-item input { accent-color: var(--fcm-accent); width: 18px; height: 18px; margin: 0; }
.fcm-import-item__image { width: 56px; height: 56px; border-radius: 4px; overflow: hidden; background: var(--fcm-bg-soft); }
.fcm-import-item__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-import-item__body { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.fcm-import-item__title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcm-row__note--import { color: #7a5a00; }
.fcm-badge--import-done { background: var(--fcm-accent); color: #fff; }
.fcm-badge--import-failed, .fcm-badge--import-cancelled { background: #e6e8e6; color: var(--fcm-muted); }
.fcm-badge--import-verifying, .fcm-badge--import-ready { background: #fff3cd; color: #7a5a00; }
.fcm-badge--import-listing, .fcm-badge--import-importing { background: #e3f0fb; color: #1d5a8c; }

/* ---- 配送設定・オプション ---- */
.fcm .fcm-subhead { font-size: 15px; font-weight: 700; margin: 24px 0 10px; padding: 0; border: 0; background: none; }
.fcm-mt { margin-top: 16px; }
.fcm-method, .fcm-option-group { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 12px 14px 4px; margin: 0 0 12px; background: #fff; }
.fcm-method legend, .fcm-option-group legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
.fcm-transit { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 16px; }
.fcm-transit__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 400 !important; }
.fcm .fcm-transit__row select { width: auto; padding: 4px 8px; font-size: 14px; }
.fcm-packaging { display: grid; gap: 8px; margin-bottom: 6px; }
.fcm-packaging__row { display: grid; grid-template-columns: 1.2fr 140px 2fr; gap: 8px; align-items: center; }
.fcm-packaging__row .fcm-unit { max-width: none; }
.fcm-choices--stack { flex-direction: column; align-items: stretch; }
.fcm-choices--stack .fcm-choice span { display: flex; flex-direction: column; }
.fcm-choices--stack .fcm-choice small { font-size: 12px; }
.fcm-options { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 12px 14px 4px; background: var(--fcm-bg-soft); }
.fcm-options .fcm-field { margin-bottom: 12px; }
.fcm-options__total { margin: 4px 0 8px !important; font-size: 14px; }
.fcm-options__total strong { font-size: 18px; }
.fcm-free-ship { display: inline-block; font-size: 12px; font-weight: 700; color: var(--fcm-accent); }
.fcm-amounts .fcm-free-ship { margin-left: 6px; }
.fcm-line__options { font-size: 12px; color: var(--fcm-muted); margin: 2px 0 0 !important; }
.fcm-pack-line { display: block; }
.fcm-transit-table summary { cursor: pointer; font-size: 13px; color: var(--fcm-accent); }
.fcm-transit-table table { border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.fcm-transit-table th, .fcm-transit-table td { padding: 2px 12px 2px 0; text-align: left; font-weight: 400; border: 0; background: none; }
.fcm-transit-table th { color: var(--fcm-muted); }
@media (max-width: 599px) {
  .fcm-packaging__row { grid-template-columns: 1fr 120px; }
  .fcm-packaging__row input[name$="_note"] { grid-column: 1 / -1; }
}

/* ---- 作品ページ：送料・お届け目安 ---- */
.fcm-estimate { border: 1px solid var(--fcm-border); border-radius: var(--fcm-radius); padding: 12px 14px; margin: 0 0 16px; background: #fff; }
.fcm-estimate__head { display: flex; align-items: center; gap: 10px; }
.fcm-estimate__head label { font-weight: 700; font-size: 14px; white-space: nowrap; }
.fcm .fcm-estimate__head select { width: auto; flex: 1; padding: 6px 10px; font-size: 15px; }
.fcm-estimate__body { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 10px; margin: 10px 0 0; font-size: 14px; }
.fcm-estimate__body dt { color: var(--fcm-muted); font-weight: 700; margin: 0; }
.fcm-estimate__body dd { margin: 0; }
.fcm-estimate__hint { margin: 8px 0 0 !important; font-size: 13px; color: var(--fcm-muted); }
.fcm-estimate.is-unavailable [data-fcm-estimate-fee] { color: var(--fcm-error); font-weight: 700; }

/* ---- レビュー ---- */
.fcm-stars { color: #e0a100; letter-spacing: 1px; }
.fcm-rating { font-size: 14px; white-space: nowrap; }
.fcm .fcm-product__rating { margin: -6px 0 8px !important; }
.fcm .fcm-product__rating a { text-decoration: none; color: inherit; }
.fcm-review { border-top: 1px solid var(--fcm-border); padding: 14px 0; }
.fcm-review:first-of-type { border-top: 0; }
.fcm-review__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fcm-review__author { font-weight: 700; font-size: 14px; }
.fcm-review__comment { margin: 6px 0 0 !important; }
.fcm-review__photo { display: inline-block; margin-top: 8px; width: 96px; height: 96px; border-radius: 4px; overflow: hidden; }
.fcm-review__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcm-review__reply { margin: 10px 0 0 16px; padding: 8px 12px; border-left: 3px solid var(--fcm-accent); background: var(--fcm-bg-soft); font-size: 14px; }
.fcm-review__reply p { margin: 0 !important; }
.fcm-review__reply-head { font-weight: 700; font-size: 13px; color: var(--fcm-accent); }
.fcm-star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.fcm-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fcm-star-input label { font-size: 32px; color: #d6d9d6; cursor: pointer; line-height: 1; font-weight: 400 !important; margin: 0 !important; }
.fcm-star-input input:checked ~ label, .fcm-star-input label:hover, .fcm-star-input label:hover ~ label { color: #e0a100; }
.fcm-star-input input:focus-visible + label { outline: 2px solid var(--fcm-accent); }

/* ---- メッセージ ---- */
.fcm-thread { display: flex; flex-direction: column; gap: 10px; }
.fcm-thread__about { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.fcm .fcm-thread__product { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fcm-text); font-weight: 700; }
.fcm-thread__product img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.fcm-bubble { max-width: 80%; align-self: flex-start; }
.fcm-bubble.is-mine { align-self: flex-end; }
.fcm-bubble__meta { font-size: 11px; color: var(--fcm-muted); margin: 0 0 2px !important; }
.fcm-bubble.is-mine .fcm-bubble__meta { text-align: right; }
.fcm-bubble__body { background: var(--fcm-bg-soft); border: 1px solid var(--fcm-border); border-radius: 10px; padding: 8px 12px; font-size: 14px; word-break: break-word; }
.fcm-bubble.is-mine .fcm-bubble__body { background: var(--fcm-accent-soft); border-color: #b9d6ba; }
.fcm-thread__form { margin-top: 6px; }
.fcm-count { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: #c2185b; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px; }
.fcm .fcm-order-row.is-unread .fcm-order-row__title { color: var(--fcm-accent); }

/* ---- お休み ---- */
.fcm-vacation { margin-bottom: 10px; }
.fcm-held { margin: 0 0 8px; padding-left: 1.2em; }
.fcm-held li { margin: 4px 0; }

/* ---- ギフト直送 ---- */
.fcm-gift-box { border: 1px solid var(--fcm-border); border-radius: 8px; padding: 12px 14px; background: var(--fcm-bg-soft); margin-top: 8px; }
.fcm-gift-box__label { display: block; margin-top: 10px; }
.fcm-gift-flag { color: #a14a00; font-weight: 700; }

/* ---- 作品の写真・再販リクエスト ---- */
.fcm-order-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.fcm-order-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.fcm .fcm-restock { width: 100%; justify-content: center; margin-top: 8px; }
.fcm-restock.is-on .fcm-fav__icon { fill: currentColor; }
.fcm-restock-count { color: #a14a00; font-weight: 700; }

/* ---- クーポン ---- */
.fcm-coupon-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px !important; padding: 8px 12px; border: 1px dashed #c97a2b; border-radius: 6px; background: #fff8ef; font-size: 13px; color: #6b3b00; }
.fcm-coupon-chip span { background: #c97a2b; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.fcm-coupon-chip strong { font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; }
.fcm-amounts__discount td { color: #c2185b; }

/* ---- オーダーメイド ---- */
.fcm-custom-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; padding: 10px 14px; border: 1px solid #b9d6ba; border-radius: 8px; background: var(--fcm-accent-soft); }
.fcm-custom-cta p { margin: 0 !important; font-size: 14px; }
.fcm-reserved-box { margin-bottom: 10px; }
.fcm-reserved-box .fcm-check { margin-top: 8px; }
.fcm-thread__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px !important; }

/* ---- お届け日でさがす ---- */
.fcm-by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fcm-by legend { width: 100%; }
.fcm-by input[type="date"] { flex: 1 1 140px; min-width: 0; }
.fcm-by select { width: 100%; }
.fcm-by__suffix { font-size: 13px; }
.fcm-by-chip { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--fcm-accent-soft); color: var(--fcm-accent); font-size: 12px; font-weight: 700; }
.fcm-by-search { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--fcm-border); border-radius: 10px; background: #fff; }
.fcm-by-search__label { font-weight: 700; font-size: 14px; width: 100%; text-align: center; }
.fcm-by-search input[type="date"], .fcm-by-search select { width: auto; min-width: 0; flex: 0 1 auto; }
@media (max-width: 599px) {
  .fcm-by-search input[type="date"], .fcm-by-search select { flex: 1 1 40%; }
  .fcm-by-search .fcm-btn { flex: 1 1 100%; }
}

/* ---- 特集 ---- */
.fcm-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.fcm .fcm-feature-card { display: block; border: 1px solid var(--fcm-border); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--fcm-text); background: #fff; }
.fcm-feature-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.fcm-feature-card__body { display: block; padding: 10px 14px 12px; }
.fcm-feature-card__title { display: block; font-weight: 700; }
.fcm-feature-card__by { display: block; font-size: 12px; color: var(--fcm-accent); margin-top: 2px; }
.fcm-feature-hero { display: grid; gap: 16px; margin-bottom: 18px; }
.fcm-feature-hero__image img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px; display: block; }
.fcm-feature-hero__label { font-size: 12px; font-weight: 700; color: var(--fcm-accent); margin: 0 0 4px !important; }
.fcm-feature-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 14px; margin-bottom: 14px; border-radius: 8px; background: var(--fcm-accent-soft); }
.fcm-feature-by select { width: auto; }
.fcm-entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.fcm-entry { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--fcm-border); border-radius: 8px; cursor: pointer; background: #fff; }
.fcm-entry:has(input:checked) { border-color: var(--fcm-accent); box-shadow: inset 0 0 0 1px var(--fcm-accent); }
.fcm-entry input { position: absolute; top: 12px; left: 12px; width: 18px; height: 18px; }
.fcm-entry img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.fcm-entry__title { font-size: 13px; line-height: 1.4; }
.fcm-entry__note { font-size: 11px; color: #a14a00; }
.fcm-entry.is-removed { opacity: .6; cursor: default; }

/* ---- ランキング ---- */
.fcm-tabs--chips { border-bottom: 0; flex-wrap: wrap; gap: 6px; }
.fcm-tabs--chips .fcm-tabs__item { border: 1px solid var(--fcm-border); border-radius: 999px; padding: 4px 12px; }
.fcm-tabs--chips .fcm-tabs__item.is-current { background: var(--fcm-accent); border-color: var(--fcm-accent); color: #fff; }
.fcm-ranking { list-style: none; padding: 0; margin: 0; }
.fcm-ranking__item { position: relative; }
.fcm-rank { position: absolute; z-index: 2; top: 8px; left: 8px; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-weight: 700; font-size: 14px; line-height: 28px; text-align: center; }
.fcm-rank--top { background: #b8860b; }

/* ---- 記念日・閲覧履歴・通報 ---- */
.fcm-remind-box { border: 1px solid var(--fcm-border); border-radius: 8px; padding: 12px 14px; margin: 18px 0; }
.fcm-remind-box input[type="text"] { margin-top: 8px; }
.fcm-history-clear { margin-top: 16px; text-align: right; }
.fcm-report-link { font-size: 12px; margin: 8px 0 0 !important; }
.fcm .fcm-report-link a, .fcm a.fcm-report-link, .fcm .fcm-review__report { color: var(--fcm-muted); }
.fcm-review__report { margin-left: auto; font-size: 12px; }

/* ---- 販売分析 ---- */
.fcm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 20px; }
.fcm-stat { border: 1px solid var(--fcm-border); border-radius: 8px; padding: 12px 14px; background: #fff; }
.fcm-stat__label { display: block; font-size: 12px; color: var(--fcm-muted); }
.fcm-stat strong { font-size: 22px; }
.fcm-stat small { font-size: 12px; margin-left: 2px; }
.fcm-chart { width: 100%; height: auto; max-height: 200px; }
.fcm-chart rect { fill: var(--fcm-accent); }
.fcm-chart text { font-size: 11px; fill: var(--fcm-muted); }
.fcm-table-wrap { overflow-x: auto; }
.fcm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fcm-table th, .fcm-table td { border-bottom: 1px solid var(--fcm-border); padding: 8px 6px; text-align: right; white-space: nowrap; }
.fcm-table th:first-child, .fcm-table td:first-child { text-align: left; white-space: normal; min-width: 160px; }

/* ---- 領収書 ---- */
.fcm-receipt-actions { margin-bottom: 16px; }
.fcm-receipt { border: 1px solid #333; padding: 28px 32px; background: #fff; color: #111; }
.fcm-receipt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px solid #111; padding-bottom: 8px; }
.fcm-receipt__head h1 { font-size: 26px; letter-spacing: .3em; margin: 0; }
.fcm-receipt__re { font-size: 14px; letter-spacing: 0; margin-left: 8px; }
.fcm-receipt__head dl { display: grid; grid-template-columns: auto auto; gap: 2px 10px; margin: 0; font-size: 13px; }
.fcm-receipt__head dd { margin: 0; }
.fcm-receipt__to { font-size: 20px; border-bottom: 1px solid #111; display: inline-block; min-width: 60%; padding: 18px 0 4px; margin: 0 0 18px !important; }
.fcm-receipt__amount { display: flex; align-items: baseline; gap: 14px; background: #f3f3f3; padding: 12px 16px; margin: 0 0 8px !important; }
.fcm-receipt__amount strong { font-size: 28px; letter-spacing: .05em; }
.fcm-receipt__purpose { margin: 0 0 18px !important; font-size: 14px; }
.fcm-receipt__table { width: 100%; max-width: 360px; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.fcm-receipt__table th { text-align: left; font-weight: 400; padding: 3px 0; }
.fcm-receipt__table td { text-align: right; padding: 3px 0; }
.fcm-receipt__table .is-total th, .fcm-receipt__table .is-total td { border-top: 1px solid #111; font-weight: 700; }
.fcm-receipt__meta { display: grid; grid-template-columns: 7em 1fr; gap: 2px 8px; font-size: 13px; margin: 0 0 20px; }
.fcm-receipt__meta dd { margin: 0; }
.fcm-receipt__issuer { text-align: right; font-size: 13px; }
.fcm-receipt__issuer p { margin: 0 !important; }
.fcm-receipt__shop { font-size: 16px; font-weight: 700; }
@media print {
  .fcm-app .fcm-header, .fcm-app .fcm-site-footer, .fcm-noprint, .fcm-skip, .fcm-notice, #cookie-notice { display: none !important; }
  .fcm-receipt { border: 0; padding: 0; }
  body.fcm-app { background: #fff; }
}
.fcm-receipt__kind { font-size: 14px; letter-spacing: 0; margin-left: 6px; }
.fcm-invoice-badge { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0 !important; font-size: 13px; color: var(--fcm-muted); }
.fcm-invoice-badge span { padding: 1px 8px; border: 1px solid var(--fcm-accent); border-radius: 4px; color: var(--fcm-accent); font-weight: 700; font-size: 12px; }

/* ---- 手数料の案内 ---- */
.fcm-fee-box p { margin: 0 0 6px !important; }
.fcm-fee-box__early { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fcm-fee-box__early span { padding: 1px 8px; border-radius: 4px; background: #c97a2b; color: #fff; font-size: 12px; font-weight: 700; }

/* ---- 規約・表記ページの表 ---- */
.fcm-doc__body table { width: 100%; border-collapse: collapse; margin: 12px 0 28px; font-size: 14px; line-height: 1.8; }
.fcm-doc__body th, .fcm-doc__body td { border: 1px solid var(--fcm-border); padding: 12px 14px; vertical-align: top; text-align: left; }
.fcm-doc__body tbody th { width: 11em; background: var(--fcm-bg-soft); font-weight: 700; white-space: nowrap; }
.fcm-doc__body thead th { background: var(--fcm-bg-soft); }
.fcm-doc__body td ul { margin: 0 0 6px; padding-left: 1.2em; }
.fcm-doc__body td small { color: var(--fcm-muted); }
@media (max-width: 599px) {
  .fcm-doc__body tbody tr { display: block; border: 1px solid var(--fcm-border); border-bottom: 0; }
  .fcm-doc__body tbody tr:last-child { border-bottom: 1px solid var(--fcm-border); }
  .fcm-doc__body tbody th, .fcm-doc__body tbody td { display: block; width: auto; border: 0; white-space: normal; }
  .fcm-doc__body tbody th { padding-bottom: 4px; }
  .fcm-doc__body thead { display: none; }
}
