/*
 * WordPress Plugin: sejopasa5
 * CSS for video blog post format
 * Prefix: sejopasa5-
 */

/* =======================================
 * General Styles
 * ======================================= */
.sejopasa5 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.sejopasa5-container {
    padding: 20px;
}

.sejopasa5-section {
    margin-bottom: 25px;
}

.sejopasa5-heading {
    font-size: 1.2em;
    font-weight: 700;
    color: #0056b3;
    border-left: 4px solid #0056b3;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* =======================================
 * Main Visual
 * ======================================= */
.sejopasa5-main-visual {
    position: relative;
    margin: -20px -20px 20px -20px;
    text-align: center;
}

.sejopasa5-link-image {
    display: block;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.sejopasa5-link-image:hover {
    opacity: 0.8;
}

.sejopasa5-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.sejopasa5-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #990;
    padding: 10px;
    font-size: 1.5em;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* =======================================
 * Button Between Image and Title
 * ======================================= */
.sejopasa5-button-between {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    background-color: rgba(255, 99, 71, 0.9);
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
}

.sejopasa5-button-between:hover {
    background-color: #e5533d;
    transform: translate(-50%, 50%) translateY(-2px);
}

/* =======================================
 * Table of Contents (目次)
 * ======================================= */
.sejopasa5-toc {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1em;
}

.sejopasa5-toc li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.sejopasa5-toc li:last-child {
    border-bottom: none;
}

.sejopasa5-toc a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.2s ease;
}

.sejopasa5-toc a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* =======================================
 * Description & Actress
 * ======================================= */
.sejopasa5-text {
    font-size: 1em;
    margin: 0;
}

.sejopasa5-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sejopasa5-tag {
    background-color: #f0f7ff;
    color: #0056b3;
    border: 1px solid #b3d9ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

/* =======================================
 * Sample Images Gallery
 * ======================================= */
.sejopasa5-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.sejopasa5-gallery-item {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sejopasa5-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =======================================
 * Button
 * ======================================= */
.sejopasa5-button-container {
    text-align: center;
}

.sejopasa5-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    background-color: #ff6347;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.sejopasa5-button:hover {
    background-color: #e5533d;
    transform: translateY(-2px);
}

/* =======================================
 * Responsive (For smaller screens)
 * ======================================= */
@media (max-width: 600px) {
    .sejopasa5-container {
        padding: 15px;
    }

    .sejopasa5-main-visual {
        margin: -15px -15px 15px -15px;
    }

    .sejopasa5-title {
        font-size: 1.2em;
        padding: 8px;
    }

    /* スマホでのボタン表示調整 */
    .sejopasa5-button-between {
        padding: 10px 20px;
        font-size: 1em;
    }
}