/* PRICEページ固有のスタイル */

/* ヒーローセクションのサイズ調整 */
.hero {
    position: relative;
    height: 60vh; /* 高さを指定 */
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-top: 60px;
}

/* 背景スライダーコンテナ */
.price-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 各スライド画像 */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: dynamicZoom 18s infinite; /* 18秒サイクル */
}

/* アニメーションのタイミングをずらす */
.slide-image:nth-child(1) { animation-delay: 0s; }
.slide-image:nth-child(2) { animation-delay: 6s; }
.slide-image:nth-child(3) { animation-delay: 12s; }

/* ダイナミックなズーム＆移動アニメーション */
@keyframes dynamicZoom {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; } 
    43% { opacity: 0; transform: scale(1.2) translateX(-20px); } /* 拡大しながら少し左へ移動 */
    100% { opacity: 0; transform: scale(1.2) translateX(-20px); }
}

.price-title-bg {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 4rem; /* 文字サイズを大きく */
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    display: inline-block;
}

.price-table {
    padding: 40px 0;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin: 20px 0;
}

.price-table table {
    width: 90%;
    max-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #005f73;    
}

.price-table th {
    background-color: #005f73;
    color: #ffffff;
    padding: 15px;
    font-size: 1.1rem;
    text-align: center;    

}

.price-table th i {
    margin-right: 0.5rem;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

/* しま模様（ゼブラ柄） */
.price-table tbody tr:nth-child(even) td {
    background-color: #f0f9fa;
}

/* ホバー時の色変更 */
.price-table tbody tr:hover td {
    background-color: #e0f2f1;
}

.price-table td img {
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.price-table td br + span, 
.price-table td {
    line-height: 1.6;
}

/* タイピングアニメーション */
.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #fff; /* カーソル */
    width: 0;
    animation: typing 1.5s steps(5, end) forwards, blink 0.75s step-end infinite;
    vertical-align: bottom; /* カーソルの位置調整 */
}

@keyframes typing {
    from { width: 0; }
    to { width: 3.5em; } /* 文字幅に合わせて調整（PRICEの5文字分） */
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #fff; }
}