.beta_modal_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.beta_modal_container.active {
    display: flex;
}
.beta_modal_wrapper {
    background: #fff;
    width: 90%;
    max-width: 1111px;
    max-height: 657px;
    min-height: 657px;
    border-radius: 5px;
    overflow-y: auto;
    padding: 68px;
    position: relative;
    box-sizing: border-box;
}
.beta_modal_close {
    position: absolute;
    top: 20px;
    right: 20px;
}
.beta_modal_close button {
    background-color: #1d1d1d;
    border-radius: 9999px;
    color: rgb(255, 255, 255);
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-left: auto;
    border: none;
}
.beta_modal_heading {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}
.beta_modal_text {
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #FF7600;
    background-color: #FFF0E3;
    width: 397px;
    height: 38px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    font-weight: bold;
}
.beta_modal_text p{
    line-height: 1 !important;
}
.beta_modal_area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 30px;
    justify-items: center;
    max-width: 835px;
    margin: 0 auto;
}
.beta_modal_card {
    display: block;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: 0.25s;
}
.beta_modal_card:hover {
    opacity: 0.75;
}

.beta_modal_img_wrap {
    width: 100%;
    aspect-ratio: 245 / 140;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
}

.beta_modal_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.beta_modal_title{
    text-align: left;
}
.beta_modal_title p {
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
}


.beta_modal_container_sp {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: auto;
}

.beta_modal_container_sp.active {
    display: flex !important;
}

.beta_modal_sp_wrapper {
    position: relative;
    width: 100%;
    height: 758px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 10000;
}

.beta_modal_sp_box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 32px 20px 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    pointer-events: auto;
    z-index: 10001;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beta_modal_sp_close {
    position: absolute;
    top: 16px;
    right: 16px;
}
.beta_modal_sp_close button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    font-size: 20px;
    position: relative;
    z-index: 10002;
}

.beta_modal_sp_title {
    font-size: 16px;
    font-weight: bold;
}
.beta_modal_sp_text {
    margin-top: 20px;
    background: #F4F4F4;
    color: #1d1d1d;
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: bold;
    text-align: left;
    height: 102px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.beta_modal_sp_button{
    margin-top: 30px;
}
.beta_modal_sp_button button {
    width: 243px;
    height: 48px;
    background: #1d1d1d;
    color: #ffffff;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .beta_modal_container_pc { display: none; }
}