

.st-content-inner .bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.st-content-inner .bg svg {
    width: 100%;
    height: auto;
}

.contents-list-text {
    display: flex;
    width: fit-content;
    margin: 0 0 0 auto;
    padding: 12px 16px 8px 22px;
    background-color: #f5f5f5;
    border-top-left-radius: 16px;
}

.contents-list-column {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    padding: 20px 22px 48px 22px;
    font-size: 14px;
    color: #333;
}

.contents-area-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    gap: 16px;
}

.contents-area-title .line {
    flex: 1;
    height: 2px;
}

.contents-list-area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.thumb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    width: calc(50% - 8px);
    gap: 12px;
    transition: transform 0.5s ease-out;
}

.thumb-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.thumb-item .description {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.thumb-item:hover {
    transform: translateY(-4px);
}

.thumb-item-title-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.thumb-item-title-wrapper .thumb-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.thumb-item-title-wrapper .thumb-item-type {
    font-size: 12px;
    color: #666;
}

.thumb-item-button i {
    position: relative;
    left: 50%;
    top: -25px;
}

.contents-list-outer {
    margin-top: 420px; /* contents-list-wrapperまでの高さに合わせる */
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 11656px; /* contents-list-wrapperの高さに合わせる */
}

.contents-list-outer-right {
    position: sticky;
    top: 100px;
    width: calc(50vw - 260px - 66px);
    padding: 98px 22px 58px 22px;
    margin-left: auto;
    margin-bottom: auto;
    height: fit-content;
}

.contents-list-outer-right-inner {
    padding: 22px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.contents-list-outer-image {
    width: 100%;
    height: auto;
    margin-bottom: 14px;
}

.contents-list-outer-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.contents-list-outer-components {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.contents-list-outer-components p {
    padding: 6px 12px;
    background-color: #fff;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.contents-list-outer-description {
    margin-top: 24px;
    font-size: 16px;
}

/* 選択中のカード見た目（任意） */
.thumb-item.is-active {
}

/* フェード切替 */
.contents-list-outer.desktop.loading .contents-list-outer-image { opacity: 0; transform: translateY(4px); }
.contents-list-outer.desktop .contents-list-outer-image {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
}


@media screen and (min-width: 1024px) {
    .st-content {
        display: grid;
        grid-template-areas: "stack";
        position: relative;
    }

    .st-content > * { grid-area: stack; }
}
