/* シングルページ */
/* ------------------------------ */
.single-page {
    max-width: 1200px;
    margin: 10px auto;
    padding: 20px;
    display: block; /* 全体をブロック表示に設定 */
}

/* コンテンツコンテナのスタイル */
.single .content-container {
    display: flex;
}

.single .main-content {
    flex: 3;
    overflow: hidden;
}


.single .post-header {
    margin-bottom: 20px;
}

.single .post-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.single .post-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.single-lower-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 34px;
    align-items: start;
    margin-top: 34px;
}

.single-lower-main,
.single-lower-aside {
    min-width: 0;
}

.single-lower-aside {
    display: grid;
    gap: 22px;
    align-content: start;
}

.single-production-video,
.single-lower-aside .sns-buttons {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line, #e5e7eb);
    border-radius: 0;
    box-shadow: none;
    padding: 18px 0 0;
}

.single-production-video h2 {
    margin: 0 0 12px;
    color: var(--ink, #1f2933);
    font-size: 1rem;
    line-height: 1.35;
}

.single-production-video__track {
    position: relative;
}

.single-production-video__slide {
    display: none;
}

.single-production-video__slide.is-active {
    display: block;
}

.single-production-video__embed {
    overflow: hidden;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 16px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.single-production-video__embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.single-production-video__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.single-production-video__control,
.single-production-video__subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 999px;
    background: var(--card-bg, #fff);
    color: var(--ink, #1f2933);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.single-production-video__control {
    cursor: pointer;
}

.single-production-video__control:hover,
.single-production-video__subscribe:hover {
    background: var(--soft-card, #f9fafb);
}

.single-production-video__count {
    color: var(--muted, #6b7280);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.single-production-video__subscribe {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin-top: 12px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.single-lower-main .usage-rights {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line, #e5e7eb);
}

.single .post-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    position: initial;
    overflow: hidden; /* 枠からはみ出る部分を隠す */
    background:
        radial-gradient(circle at 50% 22%, rgba(255,255,255,0.9), transparent 22%),
        linear-gradient(135deg, #eef2f7, #ffffff 46%, #f4f4f5);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    padding: 24px;
    box-shadow: var(--shadow);
}

.single .post-thumbnail img {
    height: 100%;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 利用規約の項目のスタイル */
.usage-rights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.usage-rights li {
    font-size: 0.8rem;
    background-color: var(--soft-card, #f9fafb);
    color: var(--ink, #1f2933);
    padding: 6px 10px;
    margin: 4px;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 999px;
    display: inline-block;
}

.single .usage-rights h3 {
    margin-top: 0;
}

.single .usage-rights p:last-child {
    margin-bottom: 0;
}

/* カラーバリエーションのサムネイルの背景色を設定 */
.color-variation-thumbnail.white-background {
    background-color: #f0f0f0;
}

/* メイン画像の背景色を設定 */
#post-thumbnail-container.white-background {
    background-color: var(--soft-card);
    border-radius: calc(var(--radius) + 2px);
}

.single .post-meta {
    margin-bottom: 20px;
}

.single .post-info {
    margin-bottom: 10px;
}

.single .post-date,
.single .post-downloads {
    display: block;
    font-size: 14px;
    color: #666;
}

.single .post-author {
    margin-bottom: 10px;
}

.single .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single .post-tags .tag {
    background-color: #0073aa;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.single .post-tags .tag a {
    color: #fff;
}

.single .post-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single .download-button,
.single .edit-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

.single .download-button:hover,
.single .edit-button:hover {
    background-color: #005f8d;
}

/*singleレイアウト*/

.single-page .main-content, .single-page .sidebar {
    display: flex;
    flex-direction: column;
}

.post-thumbnail-mobile {
    display: none; /* モバイル版用のメイン画像をデフォルトでは非表示 */
}



/* Boothボタン */
.booth-button-container {
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

.booth-button-container p {
    font-size: 12px; /* フォントサイズを小さめに設定 */
    margin-top: 20px;
}

.booth-button {
    display: block;
    padding: 10px 20px;
    background-color: #ff5a5f;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.booth-button:hover {
    background-color: #ff4a4f;
}





/* コンテンツコンテナの下のブロック */
.background-gray {
    background-color: #f8f7f6; /* 少しグレーの背景色 */
    padding: 20px 0; /* 上下のパディングを追加 */
}

.full-width {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0;
}


/* 関連記事 */
.related-posts-grid,
.related-post-thumbnail {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 横に6個並べる */
    gap: 10px; /* 隙間を狭くする */
}

.related-post {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 100%; /* タイルの高さを固定 */
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-post:hover {
    transform: scale(1.02); /* タイルを拡大 */
    top: -2%; /* 上方向に移動 */
}

.related-post a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-post-thumbnail {
    width: 100%;
    height: auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.related-post-title {
    padding: 10px;
    font-size: 16px;
    color: #333;
    text-align: center;
}

#single-related .background-gray {
    background:
        linear-gradient(180deg, rgba(246, 247, 248, 0.72), rgba(246, 247, 248, 1));
    padding: 34px 20px 54px;
}

#single-related .full-width {
    max-width: 1200px;
    margin: 42px auto 0;
    padding: 0;
}

#single-related .full-width:first-child {
    margin-top: 0;
}

#single-related .related-posts h2,
#single-related .popular-posts h2 {
    margin: 0 0 18px;
    color: var(--ink, #1f2933);
    font-family: var(--font-sans);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
}

#single-related .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(10px, 1.2vw, 14px);
}

#single-related .related-post.single-related-sticker {
    --rotate: 0deg;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-width: 0;
    padding: 8px;
    padding-bottom: 8px;
    aspect-ratio: 0.78 / 1;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: var(--radius, 22px);
    background: var(--card-bg, #fff);
    box-shadow: var(--soft-shadow, 0 8px 20px rgba(17, 24, 39, 0.07));
    box-sizing: border-box;
    overflow: hidden;
    transform: rotate(var(--rotate));
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

#single-related .related-post.single-related-sticker::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: 1;
    border: 1px solid rgba(17, 24, 39, 0.05);
    border-radius: calc(var(--radius, 22px) - 8px);
    pointer-events: none;
}

#single-related .related-post.single-related-sticker:hover {
    z-index: 3;
    border-color: rgba(17, 24, 39, 0.18);
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.12);
    transform: rotate(0deg) translateY(-5px) scale(1.015);
}

#single-related .related-post.single-related-sticker > a {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 42px;
    gap: 6px;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

#single-related .related-post-thumbnail.sticker-card__thumb {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    padding: 2px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.95), transparent 28%),
        linear-gradient(135deg, var(--blue, #eef6ff), #fff 52%, var(--lavender, #f7f3ff));
    box-sizing: border-box;
    overflow: hidden;
}

#single-related .related-post-thumbnail.sticker-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 10px;
    object-fit: contain;
}

#single-related .related-post-meta.sticker-card__meta {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    min-height: 42px;
    padding: 0 2px 2px;
    background: transparent;
    text-align: left;
    opacity: 1;
}

#single-related .related-post-title.sticker-card__title {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ink, #1f2933);
    font-size: clamp(9px, 0.68vw, 11px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#single-related .sticker-card__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 3px;
    padding: 3px 6px;
    font-size: 7px;
    white-space: nowrap;
}

#single-related .sticker-card__fallback {
    font-size: clamp(13px, 1.2vw, 18px);
}

/* カラーバリエーション */
.single .color-variations {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.single .hero-variation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.single .hero-variation-head h3 {
    display: inline-flex;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--mint);
    border: 1px solid rgba(17, 24, 39, 0.06);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.single .hero-variation-head small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.single .color-variation-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 2px;
}

.single .color-variation-thumbnail {
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transform: rotate(var(--r, 0deg));
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.single button.color-variation-thumbnail {
    appearance: none;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 900;
}

.single .variation-thumb--placeholder {
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.94), transparent 30%),
        linear-gradient(135deg, #fff, var(--soft-card));
}

.single .color-variation-thumbnail:hover,
.single .color-variation-thumbnail.active {
    transform: rotate(0deg) translateY(-4px);
    border-color: rgba(17, 24, 39, 0.22);
    background: var(--soft-card);
    box-shadow: 0 12px 24px rgba(17, 24, 39, .10);
}

/* Detail first view */
.single-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 118px 20px 20px;
}

.single .content-container {
    display: block;
}

.single .main-content {
    width: 100%;
    overflow: visible;
}

.single .post-content {
    color: var(--ink);
}

.single-breadcrumb {
    margin: 0 0 16px;
}

.single-breadcrumb .breadcrumb {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.single-breadcrumb .breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: normal;
}

.single-breadcrumb .breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.single-breadcrumb .breadcrumb li + li::before {
    content: "›";
    color: rgba(31, 41, 51, 0.32);
    font-size: 14px;
    font-weight: 900;
}

.single-breadcrumb .breadcrumb a,
.single-breadcrumb .breadcrumb li > span {
    display: inline-flex;
    align-items: center;
    max-width: min(58vw, 340px);
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-breadcrumb .breadcrumb a span {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    text-overflow: inherit;
}

.single-breadcrumb .breadcrumb li:last-child > span {
    max-width: min(52vw, 320px);
    padding-right: 2px;
    padding-left: 2px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    font-weight: 900;
}

#single-content,
#single-variation,
#single-usage-rights,
#single-related {
    scroll-margin-top: 140px;
}

.single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: clamp(24px, 3vw, 34px);
    align-items: start;
    margin: 0 0 32px;
}

.single-hero__visual,
.single-hero__action {
    min-width: 0;
}

.single-hero__visual {
    margin: 4px 0 0 4px;
    padding: clamp(16px, 2.1vw, 22px);
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: calc(var(--radius) + 8px);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    transform: rotate(-0.55deg);
    transform-origin: 50% 50%;
}

.single .post-thumbnail.hero-card {
    display: grid;
    place-items: center;
    width: 100%;
    height: min(540px, 62vh);
    min-height: 420px;
    max-height: 540px;
    aspect-ratio: auto;
    margin: 0;
    padding: clamp(14px, 2.8vw, 30px);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: calc(var(--radius) + 2px);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), transparent 25%),
        linear-gradient(135deg, #f8fafc, #ffffff 48%, #f4f6f8);
    box-shadow: none;
}

.single .post-thumbnail.hero-card img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.mobile-sync-thumbnail {
    display: none;
}

.action-card {
    position: sticky;
    top: 116px;
    margin: 4px 4px 0 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    transform: rotate(0.45deg);
    transform-origin: 50% 50%;
}

.action-card-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.single .post-title.action-card-title {
    margin: 12px 0 14px;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.single .post-meta {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.single .post-info,
.single .post-author {
    margin: 0;
}

.post-category-chips,
.single .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.post-category-chip,
.single .post-tags .tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft-card);
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.single .post-tags .tag a {
    color: inherit;
    text-decoration: none;
}

.action-card .cta-download {
    margin: 16px 0 10px;
}

.single .action-card .cta-download-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 56px;
    padding: 18px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.action-card .booth-button-container {
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    text-align: left;
    box-sizing: border-box;
}

.action-card .booth-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    padding: 18px 16px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
    box-shadow: none;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.single .action-card .cta-download-button::after,
.action-card .booth-button::after,
.single-production-video__subscribe::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    z-index: 4;
    pointer-events: none;
    border-bottom-left-radius: 10px;
    background: #f8fafc;
    box-shadow: -1px 2px 3px rgba(17, 24, 39, 0.10);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: 0;
    transform: scale(0.72);
    transform-origin: 100% 0;
    transition:
        width 0.24s cubic-bezier(.2,.8,.2,1),
        height 0.24s cubic-bezier(.2,.8,.2,1),
        opacity 0.2s ease,
        transform 0.24s cubic-bezier(.2,.8,.2,1);
}

.single .action-card .cta-download-button:hover::after,
.single .action-card .cta-download-button:focus-visible::after,
.action-card .booth-button:hover::after,
.action-card .booth-button:focus-visible::after,
.single-production-video__subscribe:hover::after,
.single-production-video__subscribe:focus-visible::after {
    width: 24px;
    height: 24px;
    opacity: 1;
    transform: scale(1);
}

.single .action-card .cta-download-button:hover,
.single .action-card .cta-download-button:focus-visible,
.action-card .booth-button:hover,
.action-card .booth-button:focus-visible,
.single-production-video__subscribe:hover,
.single-production-video__subscribe:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.14);
}

.action-card .booth-button:hover,
.action-card .booth-button:focus-visible,
.single-production-video__subscribe:hover,
.single-production-video__subscribe:focus-visible {
    background: #fff;
}

.action-card .booth-button-container p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.action-card-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.action-card-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    background: var(--soft-card);
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.action-card-links a:hover {
    background: #fff;
}

/* 記事本文に直接貼られた旧カラバリ画像だけ非表示にする */
.post-content > .color-variation-thumbnails {
    display: none;
}

@media (min-width: 768px) {
    .single-page .content-container {
        display: block;
    }
}

@media (max-width: 1024px) {
    #single-related .related-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #single-related .background-gray {
        padding: 28px 12px 42px;
    }
    #single-related .full-width {
        margin-top: 34px;
    }
    #single-related .related-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    #single-related .related-post.single-related-sticker {
        padding: 5px;
        border-radius: 14px;
        transform: none;
    }
    #single-related .related-post.single-related-sticker::before {
        inset: 5px;
        border-radius: 10px;
    }
    #single-related .related-post.single-related-sticker:hover {
        transform: translateY(-4px);
    }
    #single-related .related-post.single-related-sticker > a {
        grid-template-rows: minmax(0, 1fr) 34px;
        gap: 4px;
    }
    #single-related .related-post-thumbnail.sticker-card__thumb {
        padding: 1px;
        border-radius: 10px;
    }
    #single-related .related-post-thumbnail.sticker-card__thumb img {
        border-radius: 8px;
    }
    #single-related .related-post-meta.sticker-card__meta {
        min-height: 34px;
        padding: 0;
    }
    #single-related .sticker-card__badge {
        margin-bottom: 2px;
        padding: 2px 4px;
        font-size: 6px;
    }
    #single-related .related-post-title.sticker-card__title {
        font-size: 8px;
        line-height: 1.15;
    }
}
.LnkBtn {
	text-align: center;
    background: #ddd;
    border-radius:8px;
    max-width: 400px;
    padding: 10px;
    margin: 0 auto ;
	background: #424242;
}
.LnkBtn a {
    display: block;
    color: #fff;
    text-decoration: none;
}
.LnkBtn:hover {
	background: #808080;
}
@media (max-width: 767px) {
    #single-content,
    #single-variation,
    #single-usage-rights,
    #single-related {
        scroll-margin-top: 112px;
    }

    .single-page {
        width: calc(100% - 24px);
        padding: 14px 0 0;
    }
    .single-hero {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .single-hero__visual {
        margin: 0;
        transform: none;
    }
    .single-hero__visual:hover {
        transform: none;
    }
    .action-card {
        position: static;
        margin: 0;
        padding: 18px;
        transform: none;
    }
    .single .post-thumbnail {
        width: 100%;
        padding: 14px;
        box-shadow: none;
    }
    .single .post-thumbnail.hero-card {
        height: clamp(300px, 78vw, 420px);
        min-height: 0;
        max-height: 420px;
    }
    .single .post-thumbnail.hero-card img {
        max-width: 86%;
        max-height: 86%;
    }
    .single .color-variations {
        margin-top: 14px;
        padding-top: 14px;
    }
    .single .post-title {
        font-size: 18px;
    }   
    .single .color-variation-thumbnail {
        width: 100%;
        height: auto;
    }
    .single .hero-variation-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
    .single .color-variation-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: 390px;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 4px;
    }
    .single-lower-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 24px;
    }
    .single-lower-aside {
        gap: 14px;
    }
    .single-lower-aside .usage-rights,
    .single-lower-aside .sns-buttons {
        padding: 16px;
        border-radius: 18px;
    }
    .sidebar {
        background-color: initial;
        box-shadow: initial;
        padding: 0 10px;
    }
    .single-page .content-container {
        display: flex;
        flex-direction: column;
    }

    .single-page .mobile-sync-thumbnail {
        display: none;
    }

    .single-page .color-variations,
    .single-page .post-actions,
    .single-page .booth-button-container {
        margin-bottom: 16px;
    }
    .breadcrumb {
        font-size: 1rem;
    }
}



/* メイン画像切り替えスマホ用スタイル */
.mobile-only {
display: none;
}
@media (max-width: 767px) {
.mobile-only {
    display: block;
}
.desktop-only {
    display: none;
}
}
