﻿.st-vm-btn {
    font-size: 1rem;
    border: 1px solid #666;
    text-align: center;
    max-width: 200px;
    margin: 20px auto;
}

.st-vm-btn a {
    color: #666;
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

    .st-vm-btn a:link,
    .st-vm-btn a:active,
    .st-vm-btn a:hover,
    .st-vm-btn a:visited {
        color: #666;
    }

.st-vm-line-btn {
    position: relative;
    border: none;
    border-bottom: 1px solid #666;
    width: 250px;
    max-width: 90%;
}

    .st-vm-line-btn::before {
        content: "";
        display: block;
        width: 30px;
        height: 1px;
        background: #666;
        rotate: 40deg;
        position: absolute;
        right: -3px;
        bottom: 9px;
    }


#readmore {
    position: relative;
    margin: 2em auto;
    display: none;
    color: #666;
    border: none;
    outline: 0;
    cursor: pointer;
    background: none;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column; /* 垂直排列子元素 */
    align-items: center; /* 水平居中 */
    justify-content: center; /* 垂直居中 */
}

    #readmore:before {
        content: "";
        width: 50px;
        height: 50px;
        text-align: center;
        border-radius: 50%;
        display: block;
        margin: 0 auto .5em;
        background: url(../../images/arrow.png) no-repeat center / 20px #fff;
        transition: .3s;
    }

    #readmore.on-click:before {
        transform: rotate(180deg);
    }

    #readmore .open {
        display: block;
    }

    #readmore.on-click .open {
        display: none;
    }

    #readmore .close {
        display: none;
    }

    #readmore.on-click .close {
        display: block;
    }

/*.readmore a:link,
.readmore a:active,
.readmore a:hover,
.readmore a:visited {
    color: #666;
    font-size: 1.2rem;
}*/

.readmore a {
    color: #666;
    text-decoration: none;
    position: relative;
}

    .readmore a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: -4px;
        left: 50%;
        background-color: #666;
        transition: all 0.3s ease;
    }

    .readmore a:hover::after {
        width: 100%;
        left: 0;
    }

.st-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto;
    padding: 0.75rem 3rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    border: 1px solid #666;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}
    .st-load-more-btn i {
        margin-right: 5px;
    }

/* PCなど hover が存在する環境だけ適用 */
@media (hover: hover) {
    .st-load-more-btn:hover {
        background-color: #333333;
        color: #FFF;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
}

@media screen and (max-width: 768px) {
    .st-vm-btn {
        font-size: 0.75rem;
        max-width: 180px;
    }
}
