/* カレンダー連携手順ガイドのスタイル */
/* スライダーモーダルのスタイル */
#guideModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* スクロールバーを非表示 */
    background-color: rgba(0, 0, 0, 0.7);
}

.guide-modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.guide-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.guide-close:hover,
.guide-close:focus {
    color: #000;
    text-decoration: none;
}

.guide-slider-container {
    width: 100%;
    margin: 0 auto;
}

.guide-slide {
    text-align: center;
    padding: 10px 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guide-slide img {
    max-width: 90%;
    max-height: 65svh;
    height: auto;
    margin: 0 auto 10px;
    border-radius: 5px;
}

.guide-modal-content .slick-list p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* slickのナビゲーションボタンのカスタマイズ */
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 5;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slick-prev {
    left: -30px;
}

.slick-next {
    right: -30px;
}

/* ドットナビゲーションのスタイル */
.slick-dots {
    position: relative;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    font-size: 12px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #000;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #3498db;
}

/* 次へ/完了ボタンのスタイル */
.guide-navigation-buttons {
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 10;
    clear: both;
    max-width: 80%;
    margin: 0 auto;
}

.guide-next-button,
.guide-complete-button {
    width: 100%;
    display: inline-block;
    padding: 10px 40px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.guide-next-button:hover,
.guide-complete-button:hover {
    background-color: #2980b9;
}

.guide-complete-button {
    background-color: #27ae60;
}

.guide-complete-button:hover {
    background-color: #219955;
}

/* モーダル表示時のbody固定用スタイル */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .guide-modal-content {
        width: 95%;
        padding: 15px;
        max-height: 95svh; /* モバイルでの最大高さを制限 */
        overflow-y: auto; /* コンテンツが大きい場合はスクロール可能に */
    }
    
    .slick-prev {
        left: 5px;
    }
    
    .slick-next {
        right: 5px;
    }
}
