/* 全体的なリセットとレイアウト */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    color: #333;
}

/* --- スライドショーの動作に必須の設定 --- */
#slideshow-container {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    z-index: -1; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 2.0s ease-in-out; 
    will-change: opacity; 
}

.slide.current {
    opacity: 1; 
}
/* --- スライドショーの動作に必須の設定ここまで --- */

/* メインコンテンツ全体を画面中央に配置 */
#main-content {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    z-index: 1; 
}


/* h1（さかい税理士事務所）の位置と文字の装飾 */
h1 {
    font-size: 2em; /* 適切なサイズに設定 */
    margin: 0 0 5px 0; /* 下のプロンプトとの間隔を調整 */
    color: white; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
    text-align: center;
}

/* h1タグ内のリンクのスタイル調整 */
h1 a {
    color: inherit; 
    text-decoration: none; 
    display: inline-block; 
}

/* マウスカーソルがリンクの上にきた時の視覚的なフィードバック */
h1 a:hover {
    opacity: 0.8; 
}

/* #click-prompt のスタイル */
#click-prompt {
    margin: 0; 
    font-size: 1.5em; 
    font-weight: bold;
    color: red; 
    
    /* 初期状態は透明にして非表示 */
    opacity: 0;
    
    /* ゆっくりと表示させるためのトランジション設定 */
    transition: opacity 1.5s ease-out; 
    text-shadow: none; 
}

/* JavaScriptでこのクラスが追加されると表示されます */
#click-prompt.visible {
    opacity: 1; 
}