@charset "utf-8";

:root {
    --primary-color: #ff6b6b; /* 暖かみのある赤（食欲と交流） */
    --secondary-color: #4ecdc4; /* 清潔感のある青緑 */
    --bg-color: #f9f9f9;
    --text-color: #333;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://assets.st-note.com/production/uploads/images/16041085/rectangle_large_type_2_72d2a298ac7f3c858b61c44b027dbc16.jpeg?width=1280'); /* 飲み会のイメージ画像 */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ボタン */
.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
}



/* 開催概要セクション */
.section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* おすすめセクションのリストを横並びにする */
.section .recommendation-list {
    display: flex;
    justify-content: space-between; /* 要素を均等に配置 */
    list-style: none;               /* 黒丸を消す */
    padding: 0;
    gap: 20px;                      /* 画像同士の隙間 */
}

.section .recommendation-list li {
    flex: 1;                        /* 3つを同じ幅にする */
    text-align: center;
}

.section .recommendation-list li img {
    width: 100%;                    /* 親要素の幅に合わせる */
    height: 200px;                  /* 高さを統一 */
    object-fit: cover;              /* 画像の比率を保ったまま切り抜く */
    border-radius: 10px;            /* 角を少し丸くする */
    margin-bottom: 15px;
}

.section ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    list-style: none;
}

.section h2 {
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 40px;
    width: 100%;
}

/* イベントカードを横並びにする設定 */
.event-card {
    display: flex;         /* 横並びにする */
    align-items: center;   /* 上下の中心を合わせる */
    gap: 20px;            /* テキストと画像の間の余白 */
    margin-bottom: 30px;
    margin: 0 auto;
}

/* スライダー全体のコンテナ */
.slider {
    width: 300px; /* 固定幅 */
    margin-left: auto;
    overflow: hidden; /* はみ出しを防ぐ */
}

/* Slickの内部構造が崩れないようにする */
.slick-list {
    margin: 0;
    padding: 0;
}

.slide-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4 4 4 10px rgba(0,0,0,0.1);
}

/* ドット（下の丸いボタン）のスタイル */
.slick-dots {
    display: flex;
    justify-content: center;
    list-style: none !important;
    padding: 0;
    margin-top: 15px;
}

.slick-dots li {
    margin: 0 5px;
    list-style: none !important;
}

.slick-dots button {
    font-size: 0 !important; /* 数字を隠す */
    line-height: 0 !important;
    display: block;
    width: 12px;
    height: 12px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #ccc; /* 未選択の色 */
    border-radius: 50%;
}

/* 擬似要素（::before）に数字が入っている場合を想定して非表示にする */
.slick-dots li button::before {
    content: '' !important;
    display: none !important;
}

.slick-dots li.slick-active button {
    background: var(--primary-color); /* 選択中の色（赤） */
}

/* 矢印共通のスタイル */
.slick-prev, .slick-next {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto; /* 上下中央に配置 */
    height: 40px; /* 高さを指定しないと正しく中央にきません */
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    color: transparent; /* 元の文字を消す */
    border: none;
    border-radius: 50%;
    outline: none;
    transition: background 0.3s;
}

.slick-prev:hover, .slick-next:hover {
    background: var(--primary-color); /* ホバー時にテーマカラーにする */
}

/* 矢印の「<」と「>」を擬似要素で作る */
.slick-prev::before, .slick-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

/* 左矢印の位置と向き */
.slick-prev {
    left: 10px;
}
.slick-prev::before {
    transform: translate(-30%, -50%) rotate(-45deg);
}

/* 右矢印の位置と向き */
.slick-next {
    right: 10px;
}
.slick-next::before {
    transform: translate(-70%, -50%) rotate(135deg);
}

.event-card > div {
    flex: 1;               /* テキストエリアが画像と同じ幅を取るようにする */
}

.event-card ul li {
    list-style: disc;      /* 黒丸リストにする */
    margin-left: 20px;    /* 黒丸リストの左側に余白を追加 */
    margin-bottom: 10px;  /* 各リストアイテムの下に余白を追加 */
}

/* テキストエリアの調整 */
.event-card > div:first-child {
    flex: 1;               /* テキストが残りの幅を占めるようにする */
}


.info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-table th, .info-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.info-table th {
    background-color: #f1f1f1;
    width: 30%;
    text-align: left;
}

.info-table td a {
    color: var(--secondary-color);
    text-decoration: none;
}

#register p {
    margin-bottom: 20px;
}

/* フッター */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}



@media (max-width: 600px) {
    .hero h1 { 
        font-size: 2.3rem; 
    }

    .section .recommendation-list { 
        flex-direction: column; 
    }

    .section .recommendation-list li { 
        margin-bottom: 20px; 
    }

    .event-card {
        flex-direction: column;
    }

    .event-card img {
        width: 100%;       /* スマホでは横幅いっぱいに */
        height: auto;
    }

    .slider {
        width: 100%; /* スマホでは横幅いっぱいに */
        margin-top: 20px;
    }
    
    .slide-img img {
        width: 100%;
        height: auto; /* スマホでは画像の比率を優先 */
        aspect-ratio: 4 / 3; /* アスペクト比を固定すると綺麗です */
    }

    .info-table th, .info-table td { 
        display: block; width: 100%; 
    }
}
