#fv2{
    background: linear-gradient(to right, #fc8e3d 0%, #ff0576 100%);
}

#fv2 h1 {
    font-size: 2.4em;
    margin-bottom: 1em;
    margin-top: 7.5rem;
}

.lemino_logo{
    margin: 1% auto;
    width: 10%;
    max-width: 200px;
    z-index: 1000;
}

.show2 {
        padding: 1.5em 1em 0;
    }

.sort_controls{
        text-align: right;
}


/* style.css (既存のCSSファイルに追加) */

.sort_controls button {
    /* デフォルトのボタンのスタイル */
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease; /* スムーズな色の変化のために */
}

.sort_controls button:hover {
    background-color: #e0e0e0;
}

/* アクティブなボタンのスタイル */
.sort_controls button.active-sort-button {
    background-color: #ff0576; /* 例: 赤 */
    color: #fff; /* テキストを白に */
    border-color: #ff0576;
    font-weight: bold;
}


.event_box ul {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 auto;
}
.event_box li {
    width: 30%;
    margin: 1em auto;
}

table.table_detail{
    margin: 2% 2%;
}

.event_box .btn a {
    background: url(../images/eye.webp), linear-gradient(90deg, #FC8E3C 0%, #FF0576 100%);
    font-weight: bold;
    color: #fff;
    position: relative;
    background-size: 16%, 100%;
    background-repeat: no-repeat;
    background-position: 101%;
    margin: 1em auto 0;
    border: 3px solid #fff;
    height: 60px;
    padding-right: 0.5em;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.hr_red{
    background-color: #fc5e50;
    margin: 4% auto;
    width: 90%;
    display: block;
    border: none;
}

@media print, screen and (min-width: 813px) {
    .section.show2 {
        padding: 0 0 5em;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 812px) {

.lemino_logo {
    margin: 7% auto;
    width: 30%;
    max-width: 130px;
}

.sort_controls button {
    padding: 0px 15px;
}

.event_box ul {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.event_box li {
    width: 90%;
    margin: 1em auto;
}

}



/* ======引用======== */

.pagetop {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 50px;
    z-index: 100;
}

.lp_cta_fixed {
    display: none;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    text-align: center;
    line-height: 1.5;
}

.lp_cta_fixed.kuji ul {
    display: flex;
    margin: 1em auto;
    max-width: 1000px;
    width: 70%;
}

.lp_cta_fixed.kuji ul li {
    width: 45%;
    margin: 0 auto;
    max-width: 400px;
}

li {
    list-style: none;
}

.lp_cta_fixed.kuji ul li a.btn_01 {
    background: url(../images/camp_bg2.webp), linear-gradient(90deg, #FC8E3C 0%, #FF0576 100%);
    background-size: cover, 100%;
    background-position: top;
    background-repeat: no-repeat;
}

.lp_cta_fixed.kuji ul li a.btn_02 {
    background: url(../images/camp_bg2.webp), linear-gradient(90deg, #ffae00 0%, #ff5500 100%);
    background-size: cover, 100%;
    background-position: top;
    background-repeat: no-repeat;
}

.lp_cta_fixed.kuji ul li a {
    max-width: 450px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.05em;
    height: 2.5em;
    align-items: center;
    border: solid 2px #fff;
    border-radius: 12px;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.6);
}

a {
    outline: none;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

@media only screen and (max-width: 812px) {
    * {
        box-sizing: border-box;
    }
    .pagetop.kuji {
        bottom: 170px;
        right: 5px;
    }
    .pagetop {
        max-width: 50px;
        right: 20px;
    }
    
    .lp_cta_fixed.kuji ul {
        width: 96%;
    }
    .lp_cta_fixed.kuji ul li {
        width: 70%;
    }

    .lp_cta_fixed.kuji ul li a {
        height: 3em;
        font-size: 15px;
        padding: 0.2em;
        border-radius: 8px;
    }
    .lp_cta_fixed.kuji ul li a {
        height: 3em;
        font-size: 15px;
        padding: 0.2em;
        border-radius: 8px;
    }
}

/* style.css (既存のCSSファイルに追加または修正) */

/* 各イベントアイテムの基本的なスタイル */
.event_container ul li {
    /* ... 既存のスタイル ... */
    width: 280px; /* 例として幅を固定 */
    /* ... 既存のスタイル ... */
}

/* table_detail内のセルのスタイル */
.table_detail td {
    padding: 5px 0;
    text-align: left;
    white-space: nowrap; /* テキストを折り返さない */
    overflow: hidden; /* はみ出した部分を隠す */
    text-overflow: ellipsis; /* ... を表示 */
    max-width: 280px; /* 親要素の幅に合わせて調整 */
    box-sizing: border-box;
}

/* タイトルのスタイル（強調） */
.event_title {
    font-weight: bold;
    color: #ffffff; /* 白で強調 */
    font-size: 1.1em; /* 少し大きく */
}

/* 会場と開催日程のスタイル（控えめ） */
.event_area,
.event_date {
    color: #aaaaaa; /* グレーがかった色で控えめに */
    font-size: 1em; /* デフォルトのサイズ */
}

/* ホバー時のテキスト全体表示（任意） */
/* マウスを乗せると、省略されたテキストがツールチップのように表示されます */
.table_detail td:hover {
    overflow: visible; /* はみ出しを表示 */
    white-space: normal; /* 折り返しを有効にする */
    position: relative;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8); /* 読みやすい背景色 */
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    max-width: none; /* 幅の制限を解除 */
}

