.cb-slideshow,
.cb-slideshow:after {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}
.cb-slideshow:after {
    content: '';
    background: transparent url(../images/pattern.png) repeat top left;
}
.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 54s linear infinite 0s;
    -moz-animation: imageAnimation 54s linear infinite 0s;
    -o-animation: imageAnimation 54s linear infinite 0s;
    -ms-animation: imageAnimation 54s linear infinite 0s;
    animation: imageAnimation 54s linear infinite 0s;
}
.cb-slideshow li div {
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    -webkit-animation: titleAnimation 54s linear infinite 0s;
    -moz-animation: titleAnimation 54s linear infinite 0s;
    -o-animation: titleAnimation 54s linear infinite 0s;
    -ms-animation: titleAnimation 54s linear infinite 0s;
    animation: titleAnimation 54s linear infinite 0s;
}
.cb-slideshow li div h3 {
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 240px;
    padding: 0;
    line-height: 200px;
	color:#fff;
}
.cb-slideshow li:nth-child(1) span { background-image: url(../images/lytta.jpeg) }
.cb-slideshow li:nth-child(2) span {
    background-image: url(../images/ligue.jpeg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}
.cb-slideshow li:nth-child(3) span {
    background-image: url(../images/trip.jpeg);
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s;
}
.cb-slideshow li:nth-child(4) span {
    background-image: url(../images/champion.jpeg);
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s;
}
.cb-slideshow li:nth-child(5) span {
    background-image: url(../images/mondial.jpeg);
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}
.cb-slideshow li:nth-child(6) span {
    background-image: url(../images/emi.jpeg);
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s;
}

.cb-slideshow li:nth-child(7) span {
    background-image: url(../images/usa.jpeg);
    -webkit-animation-delay: 36s;
    -moz-animation-delay: 36s;
    -o-animation-delay: 36s;
    -ms-animation-delay: 36s;
    animation-delay: 36s;
}

.cb-slideshow li:nth-child(8) span {
    background-image: url(../images/butterfly.jpeg);
    -webkit-animation-delay: 42s;
    -moz-animation-delay: 42s;
    -o-animation-delay: 42s;
    -ms-animation-delay: 42s;
    animation-delay: 42s;
}

.cb-slideshow li:nth-child(9) span {
    background-image: url(../images/mib.jpeg);
    -webkit-animation-delay: 48s;
    -moz-animation-delay: 48s;
    -o-animation-delay: 48s;
    -ms-animation-delay: 48s;
    animation-delay: 48s;
}
.cb-slideshow li:nth-child(2) div {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}
.cb-slideshow li:nth-child(3) div {
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s;
}
.cb-slideshow li:nth-child(4) div {
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s;
}
.cb-slideshow li:nth-child(5) div {
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}
.cb-slideshow li:nth-child(6) div {
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s;
}
.cb-slideshow li:nth-child(7) div {
    -webkit-animation-delay: 36s;
    -moz-animation-delay: 36s;
    -o-animation-delay: 36s;
    -ms-animation-delay: 36s;
    animation-delay: 36s;
}
.cb-slideshow li:nth-child(8) div {
    -webkit-animation-delay: 42s;
    -moz-animation-delay: 42s;
    -o-animation-delay: 42s;
    -ms-animation-delay: 42s;
    animation-delay: 42s;
}
.cb-slideshow li:nth-child(9) div {
    -webkit-animation-delay: 48s;
    -moz-animation-delay: 48s;
    -o-animation-delay: 48s;
    -ms-animation-delay: 48s;
    animation-delay: 48s;
}
/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    -webkit-animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    -webkit-transform: scale(1.05);
	    -webkit-animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    -webkit-transform: scale(1.1);
	}
	25% {
	    opacity: 0;
	    -webkit-transform: scale(1.1);
	}
	100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    -moz-animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    -moz-transform: scale(1.05);
	    -moz-animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    -moz-transform: scale(1.1);
	}
	25% {
	    opacity: 0;
	    -moz-transform: scale(1.1);
	}
	100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    -o-animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    -o-transform: scale(1.05);
	    -o-animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    -o-transform: scale(1.1);
	}
	25% {
	    opacity: 0;
	    -o-transform: scale(1.1);
	}
	100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    -ms-animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    -ms-transform: scale(1.05);
	    -ms-animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    -ms-transform: scale(1.1);
	}
	25% {
	    opacity: 0;
	    -ms-transform: scale(1.1);
	}
	100% { opacity: 0 }
}
@keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    transform: scale(1.05);
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.1);
	}
	25% {
	    opacity: 0;
	    transform: scale(1.1);
	}
	100% { opacity: 0 }
}
/* Animation for the title */
@-webkit-keyframes titleAnimation { 
	0% {
	    opacity: 0;
	    -webkit-transform: translateY(200px);
	}
	8% {
	    opacity: 1;
	    -webkit-transform: translateY(0px);
	}
	17% {
	    opacity: 1;
	    -webkit-transform: scale(1);
	}
	19% { opacity: 0 }
	25% {
	    opacity: 0;
	    -webkit-transform: scale(10);
	}
	100% { opacity: 0 }
}
@-moz-keyframes titleAnimation { 
	0% {
	    opacity: 0;
	    -moz-transform: translateY(200px);
	}
	8% {
	    opacity: 1;
	    -moz-transform: translateY(0px);
	}
	17% {
	    opacity: 1;
	    -moz-transform: scale(1);
	}
	19% { opacity: 0 }
	25% {
	    opacity: 0;
	    -moz-transform: scale(10);
	}
	100% { opacity: 0 }
}
@-o-keyframes titleAnimation { 
	0% {
	    opacity: 0;
	    -o-transform: translateY(200px);
	}
	8% {
	    opacity: 1;
	    -o-transform: translateY(0px);
	}
	17% {
	    opacity: 1;
	    -o-transform: scale(1);
	}
	19% { opacity: 0 }
	25% {
	    opacity: 0;
	    -o-transform: scale(10);
	}
	100% { opacity: 0 }
}
@-ms-keyframes titleAnimation { 
	0% {
	    opacity: 0;
	    -ms-transform: translateY(200px);
	}
	8% {
	    opacity: 1;
	    -ms-transform: translateY(0px);
	}
	17% {
	    opacity: 1;
	    -ms-transform: scale(1);
	}
	19% { opacity: 0 }
	25% {
	    opacity: 0;
	    -webkit-transform: scale(10);
	}
	100% { opacity: 0 }
}
@keyframes titleAnimation { 
	0% {
	    opacity: 0;
	    transform: translateY(200px);
	}
	8% {
	    opacity: 1;
	    transform: translateY(0px);
	}
	17% {
	    opacity: 1;
	    transform: scale(1);
	}
	19% { opacity: 0 }
	25% {
	    opacity: 0;
	    transform: scale(10);
	}
	100% { opacity: 0 }
}
/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}
@media screen and (max-width: 1140px) { 
	.cb-slideshow li div h3 { font-size: 100px }
}
@media screen and (max-width: 600px) { 
	.cb-slideshow li div h3 { font-size: 50px }
}


/* レスポンシブヘッダー用のCSS */

/* 基本スタイル */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.codrops-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding:0;
}

.codrops-top a, .codrops-top span {
  margin-bottom: 5px;
}

header {
  width: 100%;
  text-align: center;
  padding:0;
}

header h1 {
  font-size: 2em;
  margin-bottom: 10px;
  word-wrap: break-word;
}

header h2 {
  font-size: 1.2em;
  margin-bottom: 5px;
  word-wrap: break-word;
}

/* タブレット用スタイル */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 1.5em;
  }
  
  header h2 {
    font-size: 1em;
  }
}

/* モバイル用スタイル */
@media screen and (max-width: 480px) {
  .codrops-top {
    flex-direction: column;
    align-items: center;
  }
  
  .codrops-top .right {
    margin-top: 10px;
  }
  
  header h1 {
    font-size: 1.2em;
  }
  
  header h1 span {
    display: block;
    margin-top: 5px;
  }
  
  header h2 {
    font-size: 0.9em;
  }
}
.music-player {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding:0;
  z-index: 1000;
}

.music-player button {
  margin: 0 5px;
  padding:0;
}

@media screen and (max-width: 480px) {
  .music-player button {
    padding: 8px 12px;
    margin:0;
  }
}

  /* インラインCSSのアニメーション時間を54秒に修正 */
  .cb-slideshow li span {
    animation: imageAnimation 54s linear infinite 0s;
  }.cb-slideshow li:nth-child(1) span { background-image: url(../images/lytta.jpeg) }
.cb-slideshow li:nth-child(2) span { 
    background-image: url(../images/ligue.jpeg);
    animation-delay: 6s;
}

.codrops-top {
  width: 100%;
  display: flex;
  justify-content: space-between; /* これは既に設定済み */
  align-items: center;
  flex-wrap: wrap;
  padding:0;
}
/* レスポンシブヘッダー用のCSS */

/* 基本スタイル - すべての端末で適用 */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 20; /* スライドショーより上に表示 */
}

.codrops-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding:0;
    box-sizing: border-box;
}

.codrops-top a, .codrops-top span {
    margin-bottom: 5px;
}

/* 右側に配置するための追加CSS */
.codrops-top .right {
    margin-left: auto;
    text-align: right;
}

header {
    width: 100%;
    text-align: center;
    padding:0;
    box-sizing: border-box;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    word-wrap: break-word;
}

header h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
    word-wrap: break-word;
}

/* 必要に応じて、clearfixを正しく設定 */
.clr {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
}

/* すべての画面サイズでFacebookリンクが見切れないようにする */
.codrops-top .right a {
    white-space: nowrap;
    display: inline-block;
}

/* 横向きモバイル（ランドスケープモード）対応 */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .codrops-top {
        padding:0;
    }
    
    .codrops-top a, 
    .codrops-top .right a {
        font-size: 0.85em;
    }
}

/* タブレット用スタイル */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    header h1 {
        font-size: 1.8em;
    }
    
    header h2 {
        font-size: 1.1em;
    }
}

/* モバイル用スタイル - 横向き */
@media screen and (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
    .codrops-top {
        padding: 5px 15px;
    }
    
    .codrops-top a,
    .codrops-top .right a {
        font-size: 0.75em;
    }
}

/* モバイル用スタイル - 縦向き */
@media screen and (max-width: 480px) {
    .codrops-top {
        flex-direction: row; /* flexboxを維持して横並びを保つ */
        padding:0;
        justify-content: space-between;
    }
    
    .codrops-top a,
    .codrops-top .right a {
        font-size: 0.75em;
        white-space: nowrap;
    }
    
    header h1 {
        font-size: 1.2em;
    }
    
    header h1 span {
        display: block;
        margin-top: 5px;
    }
    
    header h2 {
        font-size: 0.9em;
    }
}

/* 小さいモバイル画面用 */
@media screen and (max-width: 320px) {
    .codrops-top a,
    .codrops-top .right a {
        font-size: 0.7em;
    }
}

/* 音楽プレーヤーのスタイリング - すべての画面サイズで一貫して表示 */
.music-player {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    z-index: 1000;
    box-sizing: border-box;
}

.music-player button {
    margin: 0 5px;
    padding: 8px 12px;
    background: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
}

.music-player button:hover {
    background: #eee;
}

@media screen and (max-width: 480px) {
    .music-player button {
        padding: 6px 10px;
        margin: 0 2px;
        font-size: 0.8em;
    }
}

/* コンテナの設定を一貫して100%にする */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 20;
}

/* コンテナ内の要素にパディングを追加 */
.codrops-top {
    width: 102%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 15px !important; /* !importantを使ってオーバーライド */
    box-sizing: border-box;
}

/* 右側のFacebookリンクの設定 */
.codrops-top .right {
    margin-left: auto;
    text-align: right;
}

.codrops-top .right a {
    white-space: nowrap;
    display: inline-block;
}
/* 超小型画面 (350px以下) 向け */
@media screen and (max-width: 350px) {
    .codrops-top {
        flex-direction: column;
        align-items: center;
    }
    
    .codrops-top span.right {
        float: none;
        margin: 10px auto 0;
        text-align: center;
        width: 100%;
    }
    
    .codrops-top a {
        text-align: center;
        width: 100%;
    }
}
/* 1100px以上のデスクトップ向け */
@media screen and (min-width: 1100px) {
    .codrops-top{
        width: 100%;
    }
}