.container {
    max-width: 800px;
    margin: 0 auto;
}

.modal-button {
    padding: 12px 24px;
    /* background: linear-gradient(135deg, #FF5722 0%, #FF7043 50%, #FF8A65 100%); */
    color: #fff;
    /* border: none; */
    /* border-radius: 0; */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3); */
}

.modal-button:hover {
    background: linear-gradient(135deg, #D84315 0%, #FF5722 50%, #FF7043 100%);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 87, 34, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.mask.appear {
    opacity: 1;
    visibility: visible;
}

.modal {
    overflow-y: scroll;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 50%, #FFCC80 100%);
    padding: 40px;
    border-radius: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 1200px;
    width: 70%;
    height: 500px;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.2);
    border: 3px solid #FF5722;
}

.modal-content{
    display: flex;
    width: 50vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
 
.modal-content img{
    width: 30vw;
    height: auto;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 87, 34, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 152, 0, 0.1) 50%, transparent 70%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(255, 87, 34, 0.05) 20px,
            rgba(255, 87, 34, 0.05) 22px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(255, 152, 0, 0.05) 20px,
            rgba(255, 152, 0, 0.05) 22px
        );
    pointer-events: none;
}

.modal::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 87, 34, 0.3);
    pointer-events: none;
    overflow: hidden;
}

.modal.appear {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
    color: #E65100;
    font-weight: 700;
    text-align: left;
    /* margin-bottom: 24px; */
    padding-left: 90px;
    position: relative;
    z-index: 2;
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 87, 34, 0.9);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 152, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.modal-button-1,.modal-button-2,.modal-button-3,.modal-button-4{
    color: #fff;
    line-height: 48px;
    width: 180px;
    border: solid 1px #fff;
    background-color: #003393;
    border-radius: 5px;
    font-weight: bold;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 20px;
    }
                
    .modal p {
        font-size: 14px;
    }
    
    .modal-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}


