img {
    padding: 0px;
    margin: 0px;
    max-width: 100%;
}
@media (min-width: 1300px) {
    img {
        width: 100%; /* 幅を100%に設定 */
        padding: 0px;
        margin: 0px;
    }
}

body {
    margin-top: 84px; /* ヘッダーの高さに合わせて調整 */
    text-align: center; /* 中央に配置 */
}
@media (max-width: 767px) {
    body {
        margin-top: 68px; /* ヘッダーの高さに合わせて調整 */
    }
}
/* コンテンツエリア　一覧画面 */
.content-wrapper {
    background-image: url(../img/kamihubuki.png);
    background-color: #ffd35c;
    background-size: 1200px 400px; /* 紙吹雪のサイズ */
    background-repeat: no-repeat; /* 繰り返さない（上に1枚だけ） */
    background-position: top center; /* 上中央に配置 */
}
/* コンテンツエリア　詳細画面１ */
.content-wrapper1 {
    background-image: url(../img/hanabi.png);
    background-color: #fff5bd;
    background-size: 1200px 1000px; /* 花火のサイズ */
    background-repeat: repeat; /* 繰り返し*/
    background-position: top center; /* 上中央に配置 */
}

/* コンテンツエリア　詳細画面２ */
.content-wrapper2 {
    background-image: url(../img/kamihubuki.png);
    background-color: #ffd35c;
    background-size: 1200px 400px; /* 紙吹雪のサイズ */
    background-repeat: repeat; /* 繰り返し*/
    background-position: top center; /* 上中央に配置 */
}

@media (max-width: 767px) {
    .content-wrapper1 {
        background-size: 800px 600px; /* 花火のサイズ */
    }
    .content-wrapper2 {
        background-size: 800px 300px; /* 紙吹雪のサイズ */
    }
}
.nav-icon {
    width: 20px; /* お好みの幅に変更 */
    height: auto; /* 高さは自動でアスペクト比を維持 */
}
.nav-item {
    font-weight: bold;
    font-size: 1.4vw;
    display: flex;
    align-items: center;
}
.nav-lang {
    font-weight: bold;
    font-size: 1.6vw;
}
.nav-lang a {
    margin: 0 2px;
    text-decoration: none;
}
@media (max-width: 767px) {
    .nav-lang,
    .nav-lang a {
        font-size: 20px;
    }
}

/* ナビバーのロゴ */
.logo_pic {
    width: 260px;
}

/* スマホ用調整 */
@media (max-width: 767px) {
    .logo_pic {
        width: 180px;
    }
}
.headimage-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: bottom; /* これで画像下の余白を防げます */
    width: 100%;
}
/* メイン画像 */
.headimage {
    width: 100%;
    display: block;
}

/* 以下スタート */
.highlight-black {
    font-weight: bold;
    color: #000;
    font-size: 18px;
}

.highlight-red {
    color: #e60039;
    font-weight: bold;
    font-size: 18px;
}
.special-title {
    font-family: "Kosugi Maru", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #0050c8;
    display: inline-block;
    margin-bottom: 1rem;
}
.highlight-pink {
    color: #e91e63;
    font-weight: bold;
}

.highlight-black {
    color: #000;
    font-weight: bold;
}

.doll_image {
    width: 100%;
}

@media (max-width: 767px) {
    .doll_image {
        width: 100%; /* スマホは幅を少し小さく */
    }
}

.btn12 {
    width: 30%;
    padding: 20px;
}
@media (max-width: 767px) {
    .btn12 {
        width: 42%; /* スマホは幅を少し小さく */
    }
}

/* 事務局 */
.jimukyoku {
    width: 40%;
    text-align: center;
    margin: 0 auto;
    transition: transform 0.3s;
}
.jimukyoku:hover {
    transform: scale(1.05); /* クリック時浮く */
}

.kumiai {
    width: 87%;
    text-align: center;
    margin: 5vh auto;
}

/* スマホ画面 */
@media screen and (max-width: 767px) {
    /* 事務局 */
    .jimukyoku {
        width: 65%;
        text-align: center;
        margin: 10px auto;
    }
}

/* サイドメニュー（ハンバーガボタン） ↓*/
.side-menu {
    position: fixed;
    top: 0;
    right: -270px;
    width: 270px; /* メニュー横調整 */
    height: 100%; /* メニュー高さ調整 */
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 100; /* 重ね画像や他の要素よりも前面に表示されるように設定 */
}
.side-menu.show {
    right: 0;
    padding-top: 12vh; /* 上に50vhを追加 */
}
.side-menu ul {
    padding: 1rem;
    list-style: none;
}
.side-menu li {
    margin: 0.3rem 0; /* 上下 文字間隔 */
}
.side-menu a {
    font-size: 1.2rem; /* 文字サイズを調整 */
    color: #333;
}

/* リンクにホバーしたときのスタイル */
.side-menu a {
    text-decoration: none; /* デフォルトの下線を取り除く */
    color: #333; /* リンクのデフォルトカラー */
    position: relative; /* 下線のための相対位置指定 */
    display: inline-block; /* 下線を文字だけに合わせるため */
}

.side-menu a:hover {
    color: #007bff; /* ホバー時のテキストカラー */
}

.side-menu a:hover::after {
    content: ""; /* 擬似要素の内容は空にする */
    /*position: absolute; /* 絶対位置で下線を表示 */
    left: 0;
    bottom: 10px; /* テキストの下に下線を表示する */
    width: 100%; /* テキストの幅に合わせる */
    border-bottom: 1.2px solid #007bff; /* 下線のスタイル */
}

.navbar-toggler {
    position: relative; /* トグルボタンを基準として位置を指定するために relative を設定 */
    border: none; /* ボタンの枠線を削除 */
    background: none; /* ボタンの背景を削除 */
    font-size: 1.5rem; /* ボタン内のフォントサイズを 1.5rem に設定 */
}

.navbar-toggler:focus {
    outline: none; /* デフォルトの外枠を削除 */
    box-shadow: 0 0 0 0px black; /* クリックしたときの外枠の太さと色を設定 */
}

.navbar-toggler .fa-bars,
.navbar-toggler .fa-times {
    color: black; /* アイコンの色を黒に設定 */
    font-size: 1.5rem; /* アイコンのサイズを 1.5rem に設定 */
}

/* 最初はハンバーガーアイコンを表示 */
.navbar-toggler .fa-bars {
    display: block; /* fa-bars アイコンを表示 */
}

.navbar-toggler .fa-times {
    display: none; /* fa-times アイコンを非表示 */
}

/* トグルが閉じている状態ではハンバーガーアイコンを表示 */
.navbar-toggler.collapsed .fa-bars {
    display: block; /* .collapsed クラスが付いているときに fa-bars アイコンを表示 */
}

/* トグルが開いている状態ではハンバーガーアイコンを非表示 */
.navbar-toggler:not(.collapsed) .fa-bars {
    display: none; /* .collapsed クラスがないときに fa-bars アイコンを非表示 */
}

/* トグルが開いている状態では×アイコンを表示 */
.navbar-toggler:not(.collapsed) .fa-times {
    display: block; /* .collapsed クラスがないときに fa-times アイコンを表示 */
}

/* トグルが閉じている状態では×アイコンを非表示 */
.navbar-toggler.collapsed .fa-times {
    display: none; /* .collapsed クラスが付いているときに fa-times アイコンを非表示 */
}
/* 大きな画面ではサイドメニューを表示しない */
@media (min-width: 768px) {
    .side-menu {
        display: none;
    }
}
/* サイドメニュー（ハンバーガボタン） ↑*/

/* 当てようCP 間隔調整 ↓*/
.follow_cp,
.reshito_cp {
    width: 40%;
    display: block;
    padding: 0;
}

/* 左画像は右寄せ */
.follow_cp {
    margin-left: auto;
    margin-right: 0;
}

/* 右画像は左寄せ */
.reshito_cp {
    margin-left: 0;
    margin-right: auto;
}
/* スマホ画面は中央寄せに変更 */
@media (max-width: 767px) {
    .follow_cp,
    .reshito_cp {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
}
/* 当てようCP 間隔調整 ↑*/

/* 上2つのボタンのコンテナー
イベント登録 小売店の皆さまへのボタン↓ */
.top-buttons {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-buttons a {
    display: block;
    width: 14vw; /* 幅を統一 */
    height: auto;
}

.top-buttons img {
    width: 100%;
    height: auto;
    display: block;
}
.top-buttons a:hover {
    transform: scale(1.05); /* クリック時浮く */
}
/* スマホ用 非表示 */
@media (max-width: 767px) {
    .top-buttons {
        display: none;
    }
}
/* 上2つのボタンのコンテナー
イベント登録 小売店の皆さまへのボタン↑ */

/* 日本酒の日とは？ボタン 茶 ↓*/
.sake-button {
    background-color: #cf8a00; /* 濃いオレンジ色 */
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 999px; /* 丸みを強調 */
    font-size: 1.4vw;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    text-decoration: none; /* ← 下線を消す */
    text-align: center; /* 中央に配置 */
}

.sake-button:hover {
    background-color: #a86e00; /* ホバー時に少し濃く */
}
/* 日本酒の日とは？ボタン 茶 ↑*/

/* キャンペーン一覧 検索↓ */
.overlay-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    border-radius: 10px;
    width: 100%; /* ← 追加！親幅を明示的に広げる */
    max-width: 800px; /* ← 必要に応じて最大幅を設定 */
}
.search-title {
    font-size: 2.8vw;
    font-weight: bold;
}

.sub-title {
    font-size: 1.6vw;
    color: #333;
}

.ivent-title {
    font-size: 2.8vw;
    font-weight: bold;
}

select {
    font-size: 1.4em;
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid #999;
    width: 70%;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='70,90 90,60 50,60' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1em;
}

@media (max-width: 767px) {
    .search-title {
        font-size: 3.8vw;
    }
    .sub-title {
        font-size: 2.6vw;
    }
    .ivent-title {
        font-size: 3.8vw;
    }
    select {
        width: 40%;
        font-size: 0.8em;
        padding: 8px 10px;
    }
}
/* キャンペーン一覧 検索↑ */

/* Ajax一覧 表示↓ */

.event-item {
    display: flex;
    background: #fff0e5;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 80%;
    overflow: hidden;
}
@media (max-width: 767px) {
    .event-item {
        max-width: 90%;
    }
}

/* 左：ピンク背景の日付 */
.date-box {
    background: #ffd9c3;
    color: #000;
    width: 18%;
    flex-shrink: 0;
    padding-left: 20px;

    display: flex;
    flex-direction: column; /* ←縦に並べる！ */
    justify-content: center; /* ←上下中央寄せ */
    align-items: flex-start; /* ←左揃え */
}

.date-top {
    font-size: 2.2vw;
    font-weight: bold;
}

.date-bottom {
    font-size: 2.4vw;
    font-weight: bold;
}

/* 右側ボックス */
.event-box {
    background: #fff;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/* 1段目：料金とタイトル */
.event-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.fee {
    font-weight: bold;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
    font-size: 1.6vw;
    margin-right: 10px;
    flex-shrink: 0;
}

.fee-free {
    background-color: #ff7ea8; /* 無料*/
}

.fee-paid {
    background-color: #3b9de5; /* 有料 */
}

.event-title {
    font-size: 2.6vw;
    font-weight: bold;
    color: #333;
    flex-grow: 1;
    text-align: left;
}

/* 2段目：詳細とボタン（横並び、中央揃え） */
.event-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6vw;
    text-align: left;
}
@media (max-width: 767px) {
    .date-box {
        width: 20%;
        padding-left: 10px;
    }
    .date-top {
        font-size: 3.2vw;
    }
    .date-bottom {
        font-size: 3.4vw;
    }
    .fee {
        font-size: 3.2vw;
    }
    .event-title {
        font-size: 4.2vw;
    }
    .event-middle {
        font-size: 3.2vw;
    }
}

.event-detail {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* ★ 3行に制限 */
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
    line-height: 1.4;
    max-width: 80%;
}
/* ボタンを右端に縦中央で */
.detail-button {
    margin-left: 10px;
    background-color: #003885;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    width: 22%;
    font-size: 1.4vw;
    text-align: center;
}

.detail-button:hover {
    background-color: #001f66;
}
/* Ajax一覧 表示↑ */

/* Ajax　詳細 表示↓ */

.event-container {
    background-color: white;
    max-width: 80%;
    margin: 0px auto;
    padding: 60px 60px;
    border-radius: 16px;
}
@media (max-width: 767px) {
    .event-container {
        padding: 20px 20px;
    }
}

.event-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.event-table th {
    background-color: #ebd2d2;
    text-align: left;
    padding: 20px;
    width: 20%;
    font-weight: bold;
    font-size: 1.8vw;
    border-bottom: 1.5px dashed black;
    border-top: 1.5px dashed black;
}
@media (max-width: 767px) {
    .event-table th {
        width: 28%;
    }
}

.event-table td {
    padding: 10px;
    border-bottom: 1.5px dashed black;
    border-top: 1.5px dashed black;
    background-color: white;
    text-align: left;
    font-size: 1.6vw;
}

.event-detail-title {
    font-size: 2.5vw;
    margin-top: 30px;
    padding: 30px 30px;
}

.event-description {
    white-space: pre-line;
    font-size: 1.6vw;
    /*line-height: 1.6; 文字間*/
    margin-bottom: 20px;
    text-align: left;
}
@media (max-width: 767px) {
    .event-table th {
        font-size: 2.8vw;
    }
    .event-table td {
        font-size: 2.6vw;
    }
    .event-detail-title {
        font-size: 3vw;
    }
    .event-description {
        font-size: 2.6vw;
    }
}
.event-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
}
.sns-icon {
    width: 6%;
    vertical-align: middle;
    opacity: 1; /* 使うなら薄くする処理もここでできる */
}
/* ━━━━━ イベント上部情報エリア ↓ ━━━━━ */

.event-header-area {
    background: #fffdf7;
    padding: 0;
    border-radius: 12px; /*角丸くする*/
    max-width: 80%;
    margin: 0 auto 30px auto;
    overflow: hidden;
}
/* 横並び（開催日ブロックとメイン情報） */
.event-header-flex {
    display: flex;
    width: 100%;
}

/* 開催日枠 */
.event-date-block {
    background-color: #003885;
    color: white;
    text-align: center;
    padding: 10px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    width: 20%;
    box-sizing: border-box;
}

.event-date-label {
    font-weight: bold;
    font-size: 1.8vw;
}

.event-date-year {
    font-size: 1.6vw;
    font-weight: bold;
}

.event-date-day {
    font-size: 1.8vw;
}
@media (max-width: 767px) {
    .event-date-block {
        width: 20%;
    }
    .event-date-label {
        font-size: 2.6vw;
    }
    .event-date-year {
        font-size: 2, 2vw;
    }
    .event-date-day {
        font-size: 2.6vw;
    }
}

/* 有料＋タイトルの白コンテナ */
.event-main-info {
    background-color: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc; /*画像の上枠線*/
    gap: 15px;
    box-sizing: border-box;
}

/* 有料 or 無料バッジ */
.event-fee {
    background-color: #3b9de5;
    color: white;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px; /*角丸くする*/
    font-size: 1.6vw;
    white-space: nowrap;
}

.event-fee.free {
    background-color: #ff7ea8;
}

/* イベントタイトル */
.event-new-title {
    font-size: 2.6vw;
    font-weight: bold;
    color: #333;
}
@media (max-width: 767px) {
    .event-fee {
        font-size: 2.2vw;
    }
    .event-new-title {
        font-size: 3.2vw;
    }
}

/* イベント画像 */
.event-new-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0 0 8px 8px; /*角丸くする*/
}
