body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}


/****************/
/* イベントコーナー */
/****************/

.event-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    background-color: #ffffff;
}

.event-item {
    display: flex;
    align-items: center;
    min-width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
}

.event-image img {
    max-width: 400pt;
    height: auto;
    border-radius: 10px;
}

.event-details {
    margin-left: 20px;
    color: #000000;
    flex: 1;
}

.past-tournaments-container {
    width: 100%;
    margin-bottom: 10pt;
    display: flex;
    flex-direction: column;
}

.past-tournaments {
    margin-top: 0px;
    margin-left: 50px;
    margin-right: 50px;
    height: 270px; /* 高さの上限を設定 */
    overflow-y: auto; /* 縦方向のスクロールを許可 */
    overflow-x: hidden; /* 横方向のスクロールを無効にする */
}

.past-tournaments-title {
    margin-top: -10px;
    color: #000000;
    text-align: center;
}

.past-tournaments ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right:15px;
}

.past-tournaments li {
    margin-bottom: 10px;
    width: 100%;
}

.past-tournaments a {
    color: #ff0038;
    text-decoration: none;
}

.past-tournaments a:hover {
    text-decoration: underline;
}

/***************************/
/* ユーチューブカルーセル */
/***************************/

.youtube-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
}
.youtube-carousel iframe {
    width: 260pt; /* 幅を指定 */
    height: 153pt; /* 高さを指定 */
    align-items: center;
    margin: 0 5px; /* 左右の間隔を狭くする */
    
}
.youtube-carousel-container {
    width: 100%;
    max-width: 1100px;
    margin-top: 10pt;
    margin-left: 50px;
    margin-right: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 75 75px;
}

.youtube-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.youtube-carousel-item {
    margin: 0 5px; /* 動画間の間隔を狭くする */
    margin-left: 40;
    margin-right: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.youtube-carousel-button {
    background-color: rgba(79, 79, 79, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 35px;
    height: 40px;
}

.youtube-carousel-item h3 {
    font-size: 15px;
    margin-bottom: 3px; /* タイトルとタイトルの間隔を狭くする */
    color: #fff;
    text-align: center;
}

.youtube-prev {
    left: 0;
}

.youtube-next {
    right: 0;
}

h1 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

p {
    line-height: 1.6;
    color: #666;
}