﻿.partin-background {
    background-color: #f3f1ed;
    padding: 15px;
    margin-bottom: 30px;
}
.partin-box {
    border-top: solid 10px #dc98b8;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin: 0 0 15px 0;
    padding: 0 15px 10px;
}
@media screen and (max-width: 767px) {
    .partin-background {
        padding: 10px;
        /*margin: 0 var(--bs-gutter-x, -0.75rem);*/
        margin-bottom: 30px;
    }
    .partin-box {
        margin: 0 0 10px 0;
    }
}

.partin-title {
    margin: 10px 0 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    line-height: 32px;
    text-align: center;
}

.partin-title span {
    font-size: 1.25rem;
    font-weight: 500;
    color: #26466d;
}
.partin-explanation {
    margin: 5px 0 20px;
    font-size: 18px;
    line-height: 32px;
    color: #333;
}

.partin-detail-link {
    display: block;
    margin: 15px auto;
    width: 40%;
}
.partin-detail-refuse {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 15px auto;
    width: 40%;
    padding: 5px 0;
    color: dimgray;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .partin-explanation {
        margin: 0;
    }
    .partin-detail-link {
        width: 80%;
        margin: 15px auto;
    }
    .partin-detail-refuse {
        width: 80%;
        margin: 15px auto;
    }
}

.partin-detail-section {
    margin: 0 auto 30px;
}
@media screen and (max-width: 767px) {
    .partin-detail-section {
        margin: 0 15px 30px;
    }
}

.partin-detail-section h5{
    text-align: center;
}


.mypage .video-thumbnail {
    max-width: 700px;
    margin: 0 auto;
}

    .mypage .video-thumbnail img {
        width: 100%;
        display: block;
    }

.mypage .sign-box {
    max-width: 600px;
    border: 2px solid dimgray;
    border-radius: 15px;
}

.mypage .btn-min {
    min-width: 60px;
}

.mypage .video-alt-link {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}

.mypage .overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
}

.mypage .popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    box-shadow: 0 0 10px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    max-height: 90vh;
    width: 85vw;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.mypage .rotated {
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
    max-width: 90vh;
    max-height: 90vw;
    width: 90vh;
    height: 90vw;
    aspect-ratio: 16 / 9;
}

.mypage .overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

.mypage .close-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.95);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 1001;
    font-size: 14px;
    border-radius: 5px;
}
@media screen and (max-width: 767px) {
    .popup {
        width: 95vw;
        max-width: 95vw;
    }
}