/* 商品棚にスイングPOPを設置する方法｜ページ306 */

.swing-306-body .swing-306-page {
  --swing-306-red: #b8212b;
  --swing-306-red-dark: #82141c;
  --swing-306-navy: #24384d;
  --swing-306-blue: #176b96;
  --swing-306-yellow: #f2b84b;
  --swing-306-text: #34485a;
  --swing-306-muted: #667788;
  --swing-306-border: #d9e2e8;
  --swing-306-soft: #f6f9fb;
  max-width: 960px;
  margin: 0 auto;
  color: var(--swing-306-text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
}

.swing-306-body .swing-306-page *,
.swing-306-body .swing-306-page *::before,
.swing-306-body .swing-306-page *::after {
  box-sizing: border-box;
}

.swing-306-body .swing-306-page a {
  color: #0f638f;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.swing-306-body .swing-306-page a:hover,
.swing-306-body .swing-306-page a:focus-visible {
  color: #083f5c;
}

.swing-306-body .swing-306-page .pageTitle {
  margin-bottom: 20px;
  color: #232f3b;
  font-size: clamp(1.7rem, 4.1vw, 2.45rem);
  line-height: 1.45;
}

.swing-306-hero {
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid #d8dde1;
  border-radius: 18px;
  background: #f4f2ee;
  box-shadow: 0 12px 30px rgba(37, 52, 65, .1);
}

.swing-306-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.swing-306-lead {
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #ead5d8;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.swing-306-eyebrow {
  margin: 0 0 7px;
  color: var(--swing-306-red);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.swing-306-lead h2,
.swing-306-cta h2 {
  margin: 0 0 14px;
  color: var(--swing-306-navy);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.55;
}

.swing-306-lead p,
.swing-306-section > p,
.swing-306-cta > p {
  margin: 0 0 1em;
  text-align: left;
}

.swing-306-lead p:last-child,
.swing-306-section > p:last-child,
.swing-306-cta > p:last-child {
  margin-bottom: 0;
}

.swing-306-summary {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-left: 6px solid var(--swing-306-red);
  border-radius: 0 14px 14px 0;
  background: #fff8f7;
}

.swing-306-summary h2,
.swing-306-toc h2 {
  margin: 0 0 10px;
  color: var(--swing-306-navy);
  font-size: 1.18rem;
}

.swing-306-summary ul,
.swing-306-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swing-306-summary li,
.swing-306-checklist li {
  position: relative;
  margin: 7px 0;
  padding-left: 1.65em;
}

.swing-306-summary li::before,
.swing-306-checklist li::before {
  position: absolute;
  top: .08em;
  left: 0;
  color: var(--swing-306-red);
  content: "✓";
  font-weight: 900;
}

.swing-306-toc {
  margin: 0 0 38px;
  padding: 22px 24px;
  border: 1px solid var(--swing-306-border);
  border-radius: 14px;
  background: #fff;
}

.swing-306-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 0;
  padding-left: 1.55em;
}

.swing-306-toc li {
  padding-left: .2em;
}

.swing-306-toc a {
  display: inline-block;
  padding: 2px 0;
  font-weight: 700;
}

.swing-306-section,
.swing-306-related,
.swing-306-cta {
  margin: 0 0 52px;
}

.swing-306-heading {
  margin: 0 0 22px;
  padding: 0 0 14px;
  border-bottom: 2px solid #e5e9ec;
}

.swing-306-heading span {
  display: block;
  margin: 0 0 5px;
  color: var(--swing-306-red);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.swing-306-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--swing-306-navy);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.55;
}

.swing-306-heading h2::before {
  position: absolute;
  top: .15em;
  bottom: .12em;
  left: 0;
  width: 6px;
  border-radius: 8px;
  background: var(--swing-306-red);
  content: "";
}

.swing-306-prep-grid,
.swing-306-layout-grid,
.swing-306-trouble-grid,
.swing-306-service-grid,
.swing-306-related-grid {
  display: grid;
  gap: 16px;
}

.swing-306-prep-grid,
.swing-306-layout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.swing-306-prep-grid article,
.swing-306-layout-grid article,
.swing-306-trouble-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--swing-306-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(35, 55, 70, .055);
}

.swing-306-prep-grid h3,
.swing-306-layout-grid h3,
.swing-306-trouble-grid h3,
.swing-306-steps h3 {
  margin: 0 0 8px;
  color: var(--swing-306-navy);
  font-size: 1.06rem;
  line-height: 1.55;
}

.swing-306-prep-grid p,
.swing-306-layout-grid p,
.swing-306-trouble-grid p,
.swing-306-steps p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.85;
  text-align: left;
}

.swing-306-note {
  margin: 24px 0 0;
  padding: 17px 20px;
  border: 1px solid #e6c673;
  border-radius: 12px;
  background: #fff9e9;
}

.swing-306-note strong {
  display: block;
  margin-bottom: 3px;
  color: #6d4c00;
  font-size: 1.03rem;
}

.swing-306-note p {
  margin: 0;
}

.swing-306-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swing-306-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--swing-306-border);
  border-radius: 14px;
  background: #fff;
}

.swing-306-steps li > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--swing-306-red);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.swing-306-table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--swing-306-border);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.swing-306-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  table-layout: fixed;
}

.swing-306-table th,
.swing-306-table td {
  padding: 15px 16px;
  border-right: 1px solid var(--swing-306-border);
  border-bottom: 1px solid var(--swing-306-border);
  vertical-align: top;
  text-align: left;
}

.swing-306-table tr:last-child th,
.swing-306-table tr:last-child td {
  border-bottom: 0;
}

.swing-306-table th:last-child,
.swing-306-table td:last-child {
  border-right: 0;
}

.swing-306-table thead th {
  background: var(--swing-306-navy);
  color: #fff;
  font-weight: 800;
}

.swing-306-table tbody th {
  width: 17%;
  background: #f6f8fa;
  color: var(--swing-306-navy);
  font-weight: 800;
}

.swing-306-trouble-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swing-306-trouble-grid article {
  border-top: 5px solid #d9a233;
}

.swing-306-trouble-grid p + p {
  margin-top: 8px;
}

.swing-306-checklist {
  margin: 22px 0;
  padding: 20px 22px;
  border: 1px solid #cbdbe4;
  border-radius: 14px;
  background: #f7fbfd;
}

.swing-306-checklist li {
  padding: 7px 0 7px 1.7em;
  border-bottom: 1px dashed #d3dfe6;
}

.swing-306-checklist li:last-child {
  border-bottom: 0;
}

.swing-306-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swing-306-service-grid a,
.swing-306-related-grid a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--swing-306-border);
  border-radius: 14px;
  background: #fff;
  color: var(--swing-306-text);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.swing-306-service-grid a:hover,
.swing-306-service-grid a:focus-visible,
.swing-306-related-grid a:hover,
.swing-306-related-grid a:focus-visible {
  border-color: #7aa9c4;
  background: #fff;
  color: var(--swing-306-text);
  box-shadow: 0 9px 24px rgba(31, 87, 120, .12);
  transform: translateY(-2px);
}

.swing-306-service-grid strong,
.swing-306-related-grid strong {
  color: var(--swing-306-navy);
  font-size: 1.03rem;
  line-height: 1.55;
}

.swing-306-service-grid span,
.swing-306-related-grid span {
  color: var(--swing-306-muted);
  font-size: .91rem;
  line-height: 1.75;
}

.swing-306-faq-list {
  display: grid;
  gap: 11px;
}

.swing-306-faq-list details {
  overflow: hidden;
  border: 1px solid var(--swing-306-border);
  border-radius: 12px;
  background: #fff;
}

.swing-306-faq-list summary {
  position: relative;
  padding: 17px 50px 17px 20px;
  color: var(--swing-306-navy);
  font-weight: 800;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}

.swing-306-faq-list summary::-webkit-details-marker {
  display: none;
}

.swing-306-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--swing-306-red);
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.swing-306-faq-list details[open] summary::after {
  content: "−";
}

.swing-306-faq-list details > div {
  padding: 0 20px 18px;
  border-top: 1px solid #eef1f3;
}

.swing-306-faq-list details p {
  margin: 14px 0 0;
  text-align: left;
}

.swing-306-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swing-306-back-link {
  margin: 20px 0 0;
  text-align: right;
}

.swing-306-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.swing-306-back-link a::before {
  content: "←";
}

.swing-306-cta {
  padding: clamp(24px, 5vw, 40px);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff4f3 0%, #f3f9fc 100%);
  text-align: center;
}

.swing-306-cta > p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.swing-306-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.swing-306-button {
  display: inline-flex;
  min-width: min(100%, 260px);
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.swing-306-button--primary,
.swing-306-button--primary:visited {
  border-color: var(--swing-306-red);
  background: var(--swing-306-red);
  color: #fff !important;
}

.swing-306-button--primary:hover,
.swing-306-button--primary:focus-visible {
  border-color: var(--swing-306-red-dark);
  background: var(--swing-306-red-dark);
  color: #fff !important;
  transform: translateY(-2px);
}

.swing-306-button--secondary,
.swing-306-button--secondary:visited {
  border-color: var(--swing-306-blue);
  background: #fff;
  color: #105f89 !important;
}

.swing-306-button--secondary:hover,
.swing-306-button--secondary:focus-visible {
  border-color: #0b4a6c;
  background: #0b4a6c;
  color: #fff !important;
  transform: translateY(-2px);
}

.swing-306-body .anchor-target {
  scroll-margin-top: 110px;
}

@media (max-width: 900px) {
  .swing-306-prep-grid,
  .swing-306-layout-grid,
  .swing-306-service-grid {
    grid-template-columns: 1fr;
  }

  .swing-306-prep-grid article,
  .swing-306-layout-grid article,
  .swing-306-service-grid a {
    padding: 18px;
  }
}

@media (max-width: 650px) {
  .swing-306-body .swing-306-page {
    line-height: 1.82;
  }

  .swing-306-body .swing-306-page .pageTitle {
    margin-bottom: 14px;
    font-size: 1.55rem;
  }

  .swing-306-hero {
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .swing-306-lead,
  .swing-306-summary,
  .swing-306-toc,
  .swing-306-cta {
    padding: 19px 17px;
  }

  .swing-306-toc ol,
  .swing-306-trouble-grid,
  .swing-306-related-grid {
    grid-template-columns: 1fr;
  }

  .swing-306-section,
  .swing-306-related,
  .swing-306-cta {
    margin-bottom: 40px;
  }

  .swing-306-heading {
    margin-bottom: 18px;
  }

  .swing-306-heading h2 {
    padding-left: 15px;
    font-size: 1.32rem;
  }

  .swing-306-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .swing-306-steps li > span {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .swing-306-table-wrap::before {
    display: block;
    padding: 8px 12px;
    background: #f3f6f8;
    color: #5c6e7c;
    content: "表は横にスクロールして確認できます";
    font-size: .8rem;
  }

  .swing-306-checklist {
    padding: 16px;
  }

  .swing-306-faq-list summary {
    padding: 15px 45px 15px 16px;
  }

  .swing-306-faq-list details > div {
    padding: 0 16px 16px;
  }

  .swing-306-back-link {
    text-align: left;
  }

  .swing-306-cta-buttons {
    flex-direction: column;
  }

  .swing-306-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .swing-306-prep-grid article,
  .swing-306-layout-grid article,
  .swing-306-trouble-grid article,
  .swing-306-service-grid a,
  .swing-306-related-grid a {
    padding: 16px;
  }

  .swing-306-summary li,
  .swing-306-checklist li {
    padding-left: 1.55em;
  }
}

/* セール・値引きページ固有要素 */
.swing-306-priority-grid,
.swing-306-check-grid {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.swing-306-priority-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swing-306-priority-grid article,
.swing-306-check-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--swing-306-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(35, 55, 70, .055);
}

.swing-306-priority-grid article > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--swing-306-red);
  color: #fff;
  font-weight: 900;
}

.swing-306-priority-grid h3,
.swing-306-check-grid h3 {
  margin: 0 0 8px;
  color: var(--swing-306-navy);
  font-size: 1.06rem;
  line-height: 1.55;
}

.swing-306-priority-grid p,
.swing-306-check-grid p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.85;
  text-align: left;
}

.swing-306-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swing-306-body .swing-306-page {
  --swing-306-red: #b71925;
  --swing-306-red-dark: #7c1018;
  --swing-306-yellow: #e5a928;
}

.swing-306-service-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 22px;
  border: 1px solid #e1c5c8;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #fff7f0 100%);
  color: var(--swing-306-navy) !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.swing-306-service-card strong {
  color: var(--swing-306-red-dark);
  font-size: 1.08rem;
}

.swing-306-service-card span {
  color: var(--swing-306-text);
  font-size: .92rem;
  line-height: 1.75;
}

.swing-306-service-card:hover,
.swing-306-service-card:focus-visible {
  border-color: var(--swing-306-red);
  background: #fff9f1;
  color: var(--swing-306-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(70, 35, 35, .12);
}

@media (max-width: 850px) {
  .swing-306-priority-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .swing-306-check-grid {
    grid-template-columns: 1fr;
  }
}
