/* スマホ版 */
@media (max-width: 768px) {
    table {
        text-align: center;
        font-size: 2vw;
        width: 800px;
        margin: 20px auto; /* 上下に20px、左右を自動で中央揃え */
        border-collapse: collapse;
        border-radius: 10px;
        background-color: rgb(245, 255, 204); /* テーブルの背景色を白に設定 */
    }

}
/* ページ全体の背景画像を設定 */
body {
    font-family: Arial, sans-serif;
    margin: auto;
    padding: 0;
    background-color: #0b0132; /* 背景画像を指定 */
    background-size: cover; /* 背景画像を画面全体にフィットさせる */
    background-position: center; /* 背景画像を中央に配置 */
    background-repeat:no-repeat;/* 背景画像が繰り返されないように設定 */
    background-attachment: fixed; /* スクロールしても背景が固定される */
    height: 100vh; /* ビューポートの高さに設定 */
    width: 100vw; /* ビューポートの幅に設定 */
}

/* メディアクエリで異なるデバイスに対応（必要ならさらに微調整可能） */

.sec {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 80%;
    margin: auto;
    background-color: #f0f0f0;
    border-radius: 10px;
} 

.carousel-container {
    position: relative;
    width: 80%;
    max-width: 1000px;
    overflow: hidden;
    display: flex;
    align-items: right;
}

.carousel {
    display: flex;
    width: 80%;
    height: 80%;
    transition: transform 0.5s ease;
    transform: translateX(calc(-50% + 150px)); /* スライドを中央に調整 */
}

.slide {
    width: 80%;
    height: 80%;
    margin: auto;
    background-color: lightblue;
    display: flex;
    justify-content: right;
    align-items: right;
    
    transition: transform 0.5s ease, opacity 0.5s ease;
}


.twitter-tweet {
    width: 60%; /* ツイートの埋め込みをスライドの幅にフィット */
    height: 60%; /* 高さもスライドに合わせる */
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* 中央のスライドを強調表示 */
.active {
    transform: scale(1.2);
    opacity: 1;
}

.inactive {
    transform: scale(0.8);
    opacity: 0.5;
}






/* メニューバーのスタイルをフレックスボックスでセンタリング */
.navbar {
    display: flex;
    justify-content: center; /* 水平に中央揃え */
    align-items: center;     /* 垂直方向に中央揃え */
    background-color: rgba(253, 2, 2, 0.7); /* メニューの背景を半透明の黒に変更 */
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.navbar a {
    flex: 1;                /* 各項目を均等に割り付け */
    display: block;
    color: white;           /* メニューの文字色を白に */
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    position: relative;     /* 仕切り線を追加するために相対位置を設定 */
    font-size: clamp(10px,1vw,20px);
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* メニュー項目の右側に仕切り線を追加 */
.navbar a:not(:last-child)::after {
    content: "";            /* 仕切り線を疑似要素として追加 */
    position: absolute;
    right: 0;               /* 右端に線を配置 */
    top: 0;
    height: 100%;
    width: 1px;             /* 線の幅 */
    background-color: white; /* 線の色 */
}
.rogo{
    background-color: #0000008b;
    text-align: center;
}
.rogo img{
    width: clamp(300px,10vw,1000px);        /* 画像の幅を50pxに設定 */
    height: clamp(130px,4vw,500px);  
}
/* リンク先の画像を右寄せで横一列に配置 */
.header-links {
    text-align: right;  /* 右寄せ */
    padding: 1vw;  
    background-color: rgba(255, 255, 255, 0.391);    /* 上下にスペースを追加 */
}

.header-links a {
    margin-left: 1vw;  /* 各リンク間を20ピクセルに設定 */
}

.header-links img {
    width: clamp(30px,5vw,50px);        /* 画像の幅を50pxに設定 */
    height: clamp(30px,5vw,50px);       /* 画像の高さを50pxに設定 */
    vertical-align: middle; /* 画像をテキストの中央に配置 */
    text-align: center;
}

/* テキスト全般のスタイル */
h1, h2,ul,label,p {
    color: white;       /* テキストを白に設定 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 文字に黒い影をつけて読みやすくする */
    text-align: center; /* テキストを中央揃えに */
    margin-top: 20px;
    padding: 10px;
}
/*今日の日付のスタイル*/
.today{
    font-size: 5vw;
    border-radius: 5px;
    margin: auto;
    color:rgb(255, 255, 255);
    background-color: #5af749;
}

/*今日のイベント全体*/
.today-events{
    background-color: yellow;
    border-radius: 5px;
    margin:20px auto;

}

.event-title{
    color: rgb(255, 0, 255);
}

.today-events,li{
    color: black;
    list-style: none;
    padding:3px;
}


.filter-fream{
    width: 100%;
    margin: auto;
    text-align: center;
}

/* 大会一覧のテーブルを中央に配置し、左右に余白を追加 */
table {
    text-align: center;
    font-size: 2vw;
    width: 90%;
    margin: 20px auto; /* 上下に20px、左右を自動で中央揃え */
    border-collapse: collapse;
    border-radius: 10px;
    background-color: rgb(245, 255, 204); /* テーブルの背景色を白に設定 */
}

table, th, td {
    border: 1px solid black; /* テーブルの枠線を黒に設定 */
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2; /* ヘッダー行の背景色を薄いグレーに設定 */
}
.filter-box{
    background-color: rgba(255, 255, 255, 0.225);
    margin: auto;
    width: 1000px;
    border-radius: 5px;
    height:40px ;
}

/* フッターのスタイル */
.footer {
    position: fixed; /* 画面の下部に固定 */
    background-color: rgb(255, 255, 255); /* 背景色を半透明の黒に設定 */
    color: rgb(0, 0, 0); /* テキストの色を白に設定 */
    text-align: center; /* テキストを中央揃えに */
    padding: 10px 0;    /* 上下のパディングを設定 */
    position: relative; /* ページの下部に固定 */
    bottom: 0;
    left: 0;        /* 左端に配置 */
    width: 100%;
    margin-top: 20px; /* コンテンツとの間に余白を追加 */
    z-index: 1000;      /* 他の要素の上に表示されるように設定 */
}

.footer p {
    margin: 0; /* 上下の余白をゼロに */
}

/*ツイッターのスタイル*/
.twitter-tweet{
   margin: auto;
}

/* ページの先頭に戻るボタンのスタイル */
.scroll-to-top {
    position: fixed;           /* 画面に固定 */
    bottom: 30px;              /* 下から30pxに配置 */
    right: 30px;               /* 右から30pxに配置 */
    display: none;             /* 初期状態では非表示 */
    background-color: #f1f1f1; /* ボタンの背景色 */
    color: #000;               /* テキストの色 */
    border: none;              /* 枠線をなしに */
    padding: 10px 20px;        /* パディング */
    font-size: 16px;           /* 文字サイズ */
    border-radius: 5px;        /* 角を丸く */
    cursor: pointer;           /* カーソルをポインタに */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 影を追加 */
    z-index: 1001;              /* 他の要素より前に表示 */
}

.scroll-to-top:hover {
    background-color: #555;    /* ホバー時の背景色 */
    color: white;              /* ホバー時の文字色 */
}

/* お店の紹介ページのスタイル */
.container {
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f91c;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.store-photo {
    margin-bottom: 20px;
}

.store-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.store-info {
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.188);
    border-radius: 5px;
    width: 90%;
    margin: auto;

}

.store-info p {
    margin-top: 0;
    margin-bottom: 0;
}
.store-details{
    background-color: rgb(159, 255, 159);
    border-radius: 10px;
    width: 90%;
    margin: auto;
}

.store-details h3 {
    margin-top: 20px;
    color: #333;
}

.store-details ul {
    text-align: center;
    list-style-type: none;
    padding: 0;
    
}

.store-details ul li {
    display: inline-block;
    background-color: #025e05;
    margin: 5px 0;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 80%;
}
.store-details ul li:last-child{
    margin-bottom: 20px;
}

/* body {
    font-family: Arial, sans-serif;
    margin: 20px;
} */

h1 {
    text-align: center;
}


.other_form {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #a0b6ff;
    border-radius: 10px;
}

.other_form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
} 

.other_form input, textarea {
    width: 80%;
    padding: 10px;
    margin: auto;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    align-items: center;
}

.other_button{
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: right;
}
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group label {
    width: 100px; /* ラベルの幅を調整 */
    margin-right: 10px; /* ラベルと入力ボックスの間隔 */
    text-align: right;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 8px;
}

.trabel-form{
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #faa441;
    border-radius: 10px;
}

.surch-button{
    padding: 10px 15px;
    text-align: right;
}

.acept-button{
    padding: 10px 15px;
    text-align: right;
}

button:hover {
    background-color: #45a049;
}

