/* ご利用ガイド: 手順・仕様表・質問を読みやすく揃える。 */
body.page-template-page-shopping-guide { background: #fff; }
body.page-template-page-shopping-guide > .breadcrumb { display: none; }
body.page-template-page-shopping-guide .site-content.sg-site-content { width: 100%; max-width: none; margin: 0; padding: 0; background: #fff; }
.sg-page { --sg-green: #254e40; --sg-text: #303a35; --sg-muted: #63716a; --sg-line: #dce3df; --sg-soft: #f5f7f5; width: calc(100% - 64px); max-width: 1180px; margin: 0 auto; padding: 0 0 88px; color: var(--sg-text); font-size: 16px; line-height: 1.9; text-align: left; }
.sg-page *, .sg-page *::before, .sg-page *::after { box-sizing: border-box; }
.sg-page a { color: var(--sg-green); text-underline-offset: 3px; }
.sg-page a:hover { text-decoration: underline; }
.sg-page a:focus-visible, .sg-page summary:focus-visible { outline: 2px solid var(--sg-green); outline-offset: 4px; }
.sg-breadcrumb { padding: 22px 0; color: var(--sg-muted); font-size: 12px; line-height: 1.7; }
.sg-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; }
.sg-breadcrumb li + li::before { content: '/'; margin-right: 12px; color: #a1aaa5; }
.sg-breadcrumb a { color: inherit; text-decoration: none; }
.sg-header { margin: 0 0 38px; padding: 18px 0 32px; border-bottom: 2px solid var(--sg-green); }
.sg-header h1 { margin: 0 0 18px; padding: 0; border: 0; background: none; color: var(--sg-green); font-size: 32px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.sg-header p { max-width: 810px; margin: 0; color: var(--sg-text); font-size: 16px; line-height: 1.9; }
.sg-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.sg-sidebar { position: sticky; top: 175px; font-size: 14px; line-height: 1.6; }
.sg-sidebar > p { margin: 0 0 14px; font-weight: 700; color: var(--sg-green); }
.sg-page .sg-menu { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sg-line); }
.sg-menu li { margin: 0; padding: 0; border-bottom: 1px solid var(--sg-line); }
.sg-menu a { display: block; padding: 13px 10px; text-decoration: none; }
.sg-menu a[aria-current="page"] { border-left: 3px solid var(--sg-green); padding-left: 7px; background: #edf3ef; font-weight: 700; }
.sg-sidebar-contact { display: block; margin-top: 22px; padding: 11px; border: 1px solid var(--sg-green); text-align: center; text-decoration: none; }
.sg-mobile-menu { display: none; }
.sg-content { min-width: 0; }
.sg-content p { margin: 0 0 18px; }
.sg-content ul, .sg-content ol { margin: 0 0 22px; padding-left: 1.5em; }
.sg-content li { margin-bottom: 8px; }
.sg-content h2 { margin: 0 0 24px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--sg-line); background: none; color: var(--sg-green); font-size: 24px; font-weight: 700; line-height: 1.6; }
.sg-content h3 { margin: 28px 0 10px; padding: 0; border: 0; background: none; color: var(--sg-text); font-size: 18px; font-weight: 700; line-height: 1.7; }
.sg-section { margin: 0 0 54px; scroll-margin-top: 180px; }
.sg-section:last-child { margin-bottom: 0; }
.sg-content [id] { scroll-margin-top: 180px; }
.sg-toc { margin: 0 0 44px; padding: 22px 26px; background: var(--sg-soft); border: 1px solid var(--sg-line); }
.sg-toc p { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.sg-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.sg-toc li { margin: 0; font-size: 14px; }
.sg-toc a { text-decoration: none; }
.sg-table-wrap { width: 100%; margin: 22px 0; overflow-x: auto; }
.sg-page .sg-table-hint { display: none; }
.sg-content table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.sg-content th, .sg-content td { padding: 16px 18px; border: 1px solid var(--sg-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.sg-content th { background: var(--sg-soft); color: var(--sg-green); font-weight: 700; }
.sg-content th[scope="row"] { width: 26%; min-width: 110px; }
.sg-content table p { margin-bottom: 8px; }
.sg-content table p:last-child { margin-bottom: 0; }
.sg-content .sg-steps { list-style: none; counter-reset: sg-step; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--sg-line); }
.sg-steps > li { counter-increment: sg-step; position: relative; margin: 0; padding: 24px 0 24px 48px; border-bottom: 1px solid var(--sg-line); }
.sg-steps > li::before { content: counter(sg-step); position: absolute; top: 27px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sg-green); color: #fff; text-align: center; font-size: 14px; line-height: 30px; font-weight: 700; }
.sg-steps h3 { margin: 0 0 10px; }
.sg-steps p:last-child { margin-bottom: 0; }
.sg-content .sg-note { margin: 22px 0; padding: 16px 20px; border-left: 3px solid #809c8f; background: var(--sg-soft); font-size: 14px; }
.sg-content .sg-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 28px 0 0; }
.sg-content .sg-button { display: inline-block; padding: 12px 26px; border: 1px solid var(--sg-green); background: var(--sg-green); color: #fff; text-align: center; font-weight: 700; font-size: 14px; text-decoration: none; }
.sg-content .sg-button:hover { background: #183b2d; }
.sg-directory { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sg-line); }
.sg-content .sg-directory { padding: 0; }
.sg-directory li { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--sg-line); }
.sg-directory a { font-size: 18px; font-weight: 700; text-decoration: none; }
.sg-directory p { margin: 6px 0 0; font-size: 14px; color: var(--sg-muted); }
.sg-content figure { margin: 24px 0; }
.sg-content img { max-width: 100%; height: auto; }
.sg-content .wcop-color-chart__list { margin: 0; padding: 0; }
.sg-content .wcop-color-chart__item { margin: 0; }
.sg-content figcaption { margin-top: 8px; color: var(--sg-muted); font-size: 13px; }
.sg-content .sg-faq-item { padding: 22px 0; border-bottom: 1px solid var(--sg-line); }
.sg-faq-item h3 { margin: 0 0 12px; }
.sg-faq-item p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .sg-page { width: calc(100% - 40px); }
  .sg-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
  .sg-sidebar { top: 150px; }
  .sg-toc ul { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sg-page { width: calc(100% - 36px); padding-bottom: 54px; font-size: 15px; }
  .sg-breadcrumb { padding: 16px 0; font-size: 11px; }
  .sg-header { margin-bottom: 22px; padding: 10px 0 24px; }
  .sg-header h1 { margin-bottom: 12px; font-size: 25px; }
  .sg-header p { font-size: 14px; }
  .sg-layout { display: block; }
  .sg-sidebar { display: none; }
  .sg-mobile-menu { display: block; margin: 0 0 24px; border: 1px solid var(--sg-line); background: #fff; font-size: 14px; }
  .sg-mobile-menu summary { padding: 12px 16px; color: var(--sg-green); font-weight: 700; cursor: pointer; }
  .sg-mobile-menu .sg-menu { margin: 0 16px 12px; }
  .sg-section { margin-bottom: 38px; scroll-margin-top: 110px; }
  .sg-content [id] { scroll-margin-top: 110px; }
  .sg-content h2 { margin-bottom: 18px; padding-bottom: 10px; font-size: 21px; }
  .sg-content h3 { font-size: 17px; }
  .sg-toc { margin-bottom: 32px; padding: 18px; }
  .sg-toc ul { gap: 8px; }
  .sg-content th, .sg-content td { padding: 12px 10px; font-size: 13px; }
  .sg-content th[scope="row"] { min-width: 86px; }
  .sg-content .sg-wide-table { min-width: 600px; }
  .sg-page .sg-table-hint { display: block; margin: 0 0 -12px; color: var(--sg-muted); font-size: 12px; }
  .sg-steps > li { padding: 20px 0 20px 40px; }
  .sg-steps > li::before { top: 23px; width: 27px; height: 27px; line-height: 27px; }
  .sg-content .sg-note { padding: 14px 16px; font-size: 13px; }
  .sg-content .sg-actions { gap: 14px; }
  .sg-content .sg-button { width: 100%; }
}

/* 操作説明に対応する実画面。スマートフォンは専用の撮影画像を表示する。 */
.sg-content .sg-screen-note { margin: -22px 0 36px; color: var(--sg-muted); font-size: 13px; line-height: 1.8; }
.sg-content .sg-screen { margin: 20px 0 8px; }
.sg-screen picture { display: block; overflow: hidden; border: 1px solid var(--sg-line); background: #fff; }
.sg-screen img { display: block; width: 100%; height: auto; }
.sg-content .sg-screen--compact { max-width: 554px; margin-left: auto; margin-right: auto; }
.sg-screen figcaption { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 13px; line-height: 1.8; }
.sg-screen-links { font-size: 12px; }
.sg-screen-new-window { color: var(--sg-muted); }
.sg-screen-mobile-link { display: none; }
@media (max-width: 700px) {
  .sg-content .sg-screen-note { margin: -12px 0 28px; font-size: 12px; }
  .sg-steps > li > .sg-screen { margin-left: -40px; }
  .sg-content .sg-screen--compact { max-width: none; }
  .sg-screen figcaption { font-size: 12px; }
  .sg-screen-desktop-link { display: none; }
  .sg-screen-mobile-link { display: inline; }
}
