@charset "utf-8";
/* Sophie&Branca 2026：ショップ（sophieandbranca.com の共通CSS）と同じ色・文字・形 */
:root {
  --sb-font: "Zen Kaku Gothic New", sans-serif;
  --sb-font-en: "Open Sans", "Zen Kaku Gothic New", sans-serif;
  --sb-font-logo: "Comfortaa", sans-serif;
  --sb-text: #434343;
  --sb-sub: #6f6f6f;
  --sb-line: #e3e3e3;
  --sb-pink: #FEA8C4;
  --sb-pink-soft: #fff0f5;
  --sb-mint: #E5F8F7;
  --sb-blue: #6582C4;
  --sb-radius: 12px;
  --sb-shadow: 3px 3px 0 var(--sb-text);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--sb-text);
  font-family: var(--sb-font); font-size: 15px; line-height: 1.8; letter-spacing: .02em;
}
@media (min-width: 970px) { body { font-size: 16px; } }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sb-blue); outline-offset: 2px; }
.sb-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.sb-skip:focus { left: 8px; }

/* ヘッダー（ショップと同じ並び） */
.sb-header { background: #fff; border-bottom: 1px solid var(--sb-text); position: sticky; top: 0; z-index: 50; }
.sb-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; max-width: 1280px; margin: 0 auto; }
@media (min-width: 970px) { .sb-header__inner { padding: 14px 36px; } }
.sb-logo { margin: 0; font-family: var(--sb-font-logo); font-weight: 700; line-height: 1.25; letter-spacing: .08em; }
.sb-logo small { display: block; font-family: var(--sb-font); font-weight: 700; font-size: 9px; letter-spacing: 0; }
.sb-logo a { font-size: 22px; text-decoration: none; }
@media (min-width: 970px) { .sb-logo small { font-size: 11px; } .sb-logo a { font-size: 28px; } }
.sb-header__icons { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sb-header__icons a { display: flex; flex-direction: column; align-items: center; text-decoration: none; font-weight: 700; }
.sb-header__icons svg { width: 26px; height: 26px; }
.sb-header__icons small { font-size: 10px; line-height: 1.2; margin-top: 2px; }

/* ブログのメニュー（スマホは横スクロール） */
.sb-blognav { border-top: 1px solid var(--sb-line); }
.sb-blognav ul { display: flex; gap: 8px; margin: 0 auto; padding: 8px 16px; list-style: none; overflow-x: auto; max-width: 1280px; scrollbar-width: none; }
.sb-blognav ul::-webkit-scrollbar { display: none; }
.sb-blognav a { display: block; white-space: nowrap; padding: 4px 14px; border: 1px solid var(--sb-text); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; background: #fff; }
.sb-blognav a[aria-current="page"] { background: var(--sb-text); color: #fff; }
@media (min-width: 970px) { .sb-blognav ul { padding: 10px 36px; } }

/* レイアウト */
.sb-main { min-height: 50vh; }
.sb-wrap { max-width: 1120px; margin: 0 auto; padding: 16px 16px 56px; }
.sb-wrap--narrow { max-width: 760px; }
.sb-crumb { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; white-space: nowrap; font-size: 12px; color: var(--sb-sub); margin-bottom: 18px; }
.sb-crumb a { text-decoration: none; }
.sb-crumb a:hover { text-decoration: underline; }
.sb-crumb span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* 見出し（ショップの .title_main と同じ黒い丸型） */
.sb-title { display: block; background: var(--sb-text); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .05em; line-height: 1.4; padding: 6px 20px; border-radius: 999px; margin: 0 0 16px; }
.sb-title--small { font-size: 16px; }
@media (min-width: 970px) { .sb-title { font-size: 21px; padding: 7px 24px; } }
.sb-lead { margin: -4px 0 20px; color: var(--sb-sub); font-size: 14px; }
.sb-empty { text-align: center; padding: 40px 0; color: var(--sb-sub); }

/* カード一覧 */
.sb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .sb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; } }
.sb-cards--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .sb-cards--small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.sb-card__link { display: block; text-decoration: none; height: 100%; }
.sb-card__thumb { aspect-ratio: 4 / 3; border-radius: var(--sb-radius); overflow: hidden; background: var(--sb-mint); border: 1px solid var(--sb-line); }
.sb-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sb-card__link:hover .sb-card__thumb img { transform: scale(1.03); }
.sb-card__noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--sb-font-logo); font-weight: 700; font-size: 14px; color: #9aa; }
.sb-card__body { padding: 8px 2px 0; }
.sb-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 4px; font-family: var(--sb-font-en); font-size: 11px; color: var(--sb-sub); }
.sb-card__title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 970px) { .sb-card__title { font-size: 15px; } }
.sb-chip { display: inline-block; background: var(--sb-pink-soft); color: var(--sb-text); border: 1px solid var(--sb-pink); border-radius: 999px; padding: 0 10px; font-family: var(--sb-font); font-size: 11px; font-weight: 700; line-height: 1.8; }

/* ページ番号 */
.sb-pager ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 36px 0 0; padding: 0; list-style: none; }
.sb-pager a, .sb-pager span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--sb-text); border-radius: 999px; text-decoration: none; font-family: var(--sb-font-en); font-weight: 700; font-size: 14px; }
.sb-pager .current { background: var(--sb-text); color: #fff; }
.sb-pager .dots { border: none; }

/* 記事 */
.sb-article__head { margin-bottom: 16px; }
.sb-article__title { font-size: 22px; font-weight: 700; line-height: 1.5; margin: 6px 0 0; letter-spacing: .03em; }
@media (min-width: 970px) { .sb-article__title { font-size: 28px; } }
.sb-article__eyecatch { margin: 0 0 24px; border-radius: var(--sb-radius); overflow: hidden; }
.sb-article__eyecatch img { display: block; width: 100%; }
.sb-article__body { overflow-wrap: anywhere; }
.sb-article__body > * { margin-top: 0; margin-bottom: 1.2em; }
.sb-article__body h1, .sb-article__body h2 { font-size: 19px; font-weight: 700; line-height: 1.5; margin: 2.2em 0 .9em; padding: 8px 14px; background: var(--sb-mint); border-left: 6px solid var(--sb-text); border-radius: 0 8px 8px 0; }
.sb-article__body h3 { font-size: 17px; font-weight: 700; margin: 1.8em 0 .7em; padding-bottom: 6px; border-bottom: 2px dotted var(--sb-pink); }
.sb-article__body h4 { font-size: 16px; font-weight: 700; margin: 1.5em 0 .5em; }
.sb-article__body h4::before { content: "●"; color: var(--sb-pink); margin-right: 6px; font-size: .8em; }
@media (min-width: 970px) { .sb-article__body h1, .sb-article__body h2 { font-size: 21px; } .sb-article__body h3 { font-size: 18px; } }
.sb-article__body ul, .sb-article__body ol { padding-left: 1.4em; }
.sb-article__body li { margin-bottom: .3em; }
.sb-article__body strong { background: linear-gradient(transparent 62%, #ffe1ea 62%); font-weight: 700; }
.sb-article__body hr { border: none; border-top: 1px dashed #ccc; margin: 2em 0; }
.sb-article__body img { border-radius: 8px; display: block; }
.sb-article__body .alignnone, .sb-article__body .aligncenter { margin-left: auto; margin-right: auto; }
.sb-article__body iframe { max-width: 100%; display: block; margin-left: auto; margin-right: auto; border: 0; }
.sb-article__body iframe[src*="youtube.com"] { width: min(100%, 401px); height: auto; aspect-ratio: 9 / 16; }
.sb-article__body iframe[src*="youtube.com/embed"][width][height]:not([height="712"]) { aspect-ratio: 16 / 9; width: 100%; }
.sb-article__body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.sb-article__body th, .sb-article__body td { border: 1px solid var(--sb-line); padding: 8px; }
.sb-article__body th { background: #f7f7f7; }
.sb-article__body a { color: var(--sb-blue); }
.sb-article__body .wp-video, .sb-article__body video { max-width: 100%; }

/* ボタン（ショップと同じ：黒い線＋影） */
.sb-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 999px; border: 2px solid var(--sb-text); box-shadow: var(--sb-shadow); transition: transform .1s, box-shadow .1s; }
.sb-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sb-text); }
.sb-btn--primary { background: var(--sb-pink); color: var(--sb-text); font-size: 17px; padding: 14px 24px; width: 100%; max-width: 420px; }
.sb-btn--primary::after { content: ""; width: 22px; height: 22px; margin-left: 10px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23434343' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.sb-btn--round { background: #fff; padding: 12px 36px; min-width: 240px; }

/* 購入ボタン：公式を大きく1つ、モールは小さく */
.sb-buy { margin: 36px 0 28px; padding: 20px 16px; border: 2px solid var(--sb-text); border-radius: 16px; text-align: center; background: var(--sb-pink-soft); }
.sb-buy__title { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.sb-buy__sub { margin: 18px 0 8px; font-size: 12px; color: var(--sb-sub); }
.sb-buy__malls { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sb-buy__malls a { display: inline-block; padding: 3px 12px; font-size: 12px; border: 1px solid #c9c9c9; border-radius: 999px; background: #fff; text-decoration: none; color: var(--sb-sub); }
.sb-buy__malls a:hover { border-color: var(--sb-text); color: var(--sb-text); }

/* 投稿者 */
.sb-creator { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0; padding: 16px; border: 1px solid var(--sb-line); border-radius: var(--sb-radius); }
.sb-creator__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.sb-creator__label { margin: 0; font-size: 11px; color: var(--sb-sub); }
.sb-creator__name { margin: 0 0 4px; font-weight: 700; }
.sb-creator__name a { text-decoration: none; }
.sb-creator__text { font-size: 13px; line-height: 1.7; }
.sb-creator__text p { margin: 0 0 .5em; }
.sb-profile__img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 20px; }

.sb-related { margin-top: 48px; }
.sb-back { text-align: center; margin: 36px 0 0; }
.sb-404 { text-align: center; }

/* フッター（ショップと同じ並び） */
.sb-footer { border-top: 1px solid var(--sb-text); padding: 36px 16px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
@media (min-width: 970px) { .sb-footer { padding: 44px 72px 20px; } }
.sb-footer__company { margin: 10px 0 14px; font-size: 13px; line-height: 1.6; }
.sb-footer__sns { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sb-footer__sns img { width: 32px; height: 32px; display: block; }
.sb-footer__links { display: flex; gap: 48px; flex-wrap: wrap; }
.sb-footer__links div { display: flex; flex-direction: column; gap: 6px; }
.sb-footer__links a { font-size: 13px; text-decoration: none; }
.sb-footer__links a:hover { text-decoration: underline; }
.sb-footer__h { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.sb-footer__copy { width: 100%; text-align: center; font-family: var(--sb-font-en); font-size: 11px; color: var(--sb-sub); margin: 12px 0 0; }

/* 目次（テーマ内蔵） */
.sb-article__body h2, .sb-article__body h3 { scroll-margin-top: 90px; }
.sb-toc { margin: 24px 0 28px; border: 2px solid var(--sb-text); border-radius: 16px; background: #fff; overflow: hidden; }
.sb-toc summary { list-style: none; cursor: pointer; padding: 10px 16px; background: var(--sb-pink-soft); font-weight: 700; text-align: center; position: relative; }
.sb-toc summary::-webkit-details-marker { display: none; }
.sb-toc summary::after { content: "閉じる"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 500; color: var(--sb-sub); }
.sb-toc details:not([open]) summary::after { content: "開く"; }
.sb-toc .sb-toc__list, .sb-toc .sb-toc__sub { margin: 0; padding: 0; list-style: none; counter-reset: sbtoc; }
.sb-toc .sb-toc__list { padding: 12px 16px 14px; }
.sb-toc .sb-toc__list > li { counter-increment: sbtoc; margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--sb-line); }
.sb-toc__list > li:last-child { border-bottom: none; }
.sb-toc__list > li > a::before { content: counter(sbtoc) ". "; font-family: var(--sb-font-en); font-weight: 700; color: var(--sb-pink); }
.sb-toc .sb-toc__sub { padding: 4px 0 0 1.4em; }
.sb-toc .sb-toc__sub li { margin: 0; padding: 2px 0; font-size: 13px; }
.sb-toc__sub li::before { content: "・"; color: var(--sb-sub); }
.sb-toc a { color: var(--sb-text); text-decoration: none; line-height: 1.6; }
.sb-toc a:hover { text-decoration: underline; }

/* この記事の結論・よくある質問・更新日 */
.sb-updated { font-size: 12px; color: var(--sb-sub); }
.sb-answer { margin: 20px 0 8px; padding: 14px 16px 4px; border: 2px solid var(--sb-text); border-radius: 16px; background: var(--sb-mint); }
.sb-answer__title { display: inline-block; margin: 0 0 6px; padding: 1px 12px; border-radius: 999px; background: var(--sb-text); color: #fff; font-size: 12px; font-weight: 700; }
.sb-answer p { margin: 0 0 10px; font-weight: 500; line-height: 1.8; }
.sb-faq { margin: 36px 0 0; }
.sb-faq__title { font-size: 19px; font-weight: 700; line-height: 1.5; margin: 0 0 12px; padding: 8px 14px; background: var(--sb-mint); border-left: 6px solid var(--sb-text); border-radius: 0 8px 8px 0; }
.sb-faq dl { margin: 0; }
.sb-faq__item { padding: 12px 0; border-bottom: 1px dashed var(--sb-line); }
.sb-faq__item:last-child { border-bottom: none; }
.sb-faq dt { font-weight: 700; padding-left: 2em; text-indent: -2em; }
.sb-faq dt::before { content: "Q."; display: inline-block; width: 2em; text-indent: 0; font-family: var(--sb-font-en); color: var(--sb-pink); }
.sb-faq dd { margin: 6px 0 0; padding-left: 2em; position: relative; }
.sb-faq dd::before { content: "A."; position: absolute; left: 0; top: 0; font-family: var(--sb-font-en); font-weight: 700; color: var(--sb-blue); }
.sb-faq dd p { margin: 0 0 6px; }
@media (min-width: 970px) { .sb-faq__title { font-size: 21px; } }
