@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

:root {
    --primary-color: #016fcd;  /* メインの色 */
}
.em-item-image .has-placeholder {
    display: none;
}

.recurrence-row 
{
    display: none !important;
}

.tribe-section-cost {
    display: none !important;
}

.tribe-events-organizer {
    display:none !important;
}

.tribe-section.tribe-section-image-uploader {
    display: none !important;
}

.recurrence-container {
    display: none !important;
}

.my-events-header {
    display: none !important;
}

.tribe-events-calendar-list__month-separator .tribe-events-calendar-list__month-separator-text {
    color: #ffffff; 
}

.tribe-events .tribe-events-c-view-selector__content{
    width: 175px;
}

.ihc-top-social-login {
    font-size: small;
    font-weight: lighter;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.event-title-box input[name="post_title"] {
    width: 100% !important;
    box-sizing: border-box;
}

textarea[name="tcepostcontent"] {
    width: 100% !important;
    box-sizing: border-box;
}

.ihc-ap-theme-1 .ihc-ap-menu {
    background-color: var(--primary-color);
}

.ihc-register-9 .iump-submit-form input {
    background: var(--primary-color);
    background-image: none !important;
}

/* イベントタイトルのフォントサイズを調整 */
.tribe-events-calendar-list__event-title {
    font-size: 16px !important; /* フォントサイズを適切に調整 */
}

/* イベントタイトルのリンクのスタイルを調整 */
.tribe-events-calendar-list__event-title a {
    color: var(--primary-color) !important; /* リンクの青色 */
    text-decoration: none; /* 下線を削除 */
}

.tribe-events-calendar-list__event-title a:hover {
    color: #005177 !important; /* ホバー時の色を設定（濃い青） */
    text-decoration: underline; /* ホバー時の下線を追加 */
}

.tribe-events-calendar-list__event-title a:active {
    color: #D64292 !important; /* アクティブ時のピンク色 */
}

/* 全体のコンテナのスタイルを調整 */
.tribe-events-calendar-list__event-wrapper {
    padding-left: 20px; /* すべての要素の左端を揃えるためのパディング */
}

/* イベントタイトルのスタイル */
.tribe-events-calendar-list__event-title {
    margin: 0; /* タイトルのマージンをリセット */
}

/* イベント日付のスタイル */
.tribe-events-calendar-list__event-date {
    margin: 0; /* 日付のマージンをリセット */
    padding-left: 20px; /* 日付の左側のパディングを追加 */
}

/* イベント会場のスタイル */
.tribe-events-calendar-list__event-venue {
    margin: 0; /* 会場のマージンをリセット */
    padding-left: 20px; /* 会場の左側のパディングを追加 */
}

/* カテゴリーチップの上にマージンを追加 */
.tribe-events-calendar-list__event-categories {
    margin-top: 8px !important; /* 必要に応じて調整 */
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* チップ間の隙間を設定 */
    align-items: flex-start; /* アイテムの垂直方向のアラインメントを開始位置に設定 */
}

.l-content{
    margin-bottom: 0 !important; /* event page button space */
    background-color: #ffffff !important;
    padding-top: 1em !important;
}

.tribe-common .tribe-common-l-container {
    padding-top: 10px !important; /* トップページ上部の空白調整 */
    margin-top: 0 !important;
}

.tribe-events-calendar-list__month-separator {
    margin:0 !important;
}

.tribe-events .tribe-common-l-container {
    padding-bottom: 0 !important;  /* トップページ下部の空白調整 */ 
}

#sidebar {
    margin-top: 0 !important; /* space */
}

.tribe-events .tribe-events-calendar-list__month-separator {
    display: none; /* Removing borderline above the calendar nav */
}

/* 複数選択用のチェックボックスを横並びにするスタイル */
.flex-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 複数選択用のチェックボックスを横並びにするスタイル */
.flex-checkbox-group label {
    margin-right: 10px; /* ラベル間の余白 */
}

/* 複数選択用のチェックボックスを横並びにするスタイル */
.flex-checkbox-group {
    display: flex;
    flex-direction: column; /* 2段に分けるための縦方向レイアウト */
    gap: 20px; /* 段の間の間隔を設定 */
}

.flex-checkbox-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.flex-checkbox-group-row label {
    margin-right: 10px; /* ラベル間の余白 */
}

.tribe-events-calendar-list__event-header-left {
    display: flex;
    align-items: center;
}
.event-title-container {
    display: flex;
    align-items: center;  /* 垂直方向で中央揃え */
    justify-content: space-between; /* 左右端に配置 */
    gap: 6px;
}

.new-event-badge,
.open-event-badge,
.closed-event-badge,
.sample-event-badge {
    color: #ff4040; /* 赤色背景 */
    font-size: 1rem; /* フォントサイズ */
    white-space: nowrap; /* バッジ内のテキストが改行しないようにする */
    font-weight: 500;
}

.open-event-badge {
    color: #28a745; /* 緑色背景 */
}

.closed-event-badge {
    color: #828282; /* グレー背景 */
}

.sample-event-badge {
    background-color: #828282	; /* Sample event badge color */
}

.event-badge-group {
    gap: 4px; /* バッジ間のスペース */
}

.event-title {
    font-size: 18px; /* タイトルのフォントサイズ */
    font-weight: bold; /* タイトルを太字 */
    white-space: nowrap;          /* 1行に制限 */
    overflow: hidden;             /* はみ出した部分は非表示 */
    text-overflow: ellipsis;      /* … を表示 */
}

.event-title a {
    text-decoration: none;
    color: var(--primary-color);               /* 任意のリンクカラー */
    font-size: 18px;           /* 任意のフォントサイズ */
    font-weight: 700;
    flex-grow: 1;              /* 長いタイトルに対応させる場合はこれを付ける */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left:2px;
}

.event-list-detail-wrapper {
    display: flex;
    justify-content: space-between; /* 左右に分ける */
    gap: 6px;                      /* 任意の余白 */
    height: 100%;          /* 必要なら具体的な高さを指定 */
    align-items: center;   /* これを追加：左右の高さを揃えて中央に */
}

.event-list-detail-right-col {
    display: flex;
    align-items: center;         /* 垂直方向の中央揃え */
    justify-content: center;     /* 水平方向の中央揃え（必要に応じて） */
    height: 100%;                /* 親要素の高さに合わせる */
}

.event-link-wrapper {
    display: flex;
    flex-direction: column; /* 縦並びに */
    flex-grow: 1; /* 🔥 左側の要素が余ったスペースを使う */
    gap: 8px; /* 🔥 各要素の間隔を広げる（デフォルト0px → 6px） */
    text-decoration: none;
    color: inherit;
}

.event-sample-label {
    color: #828282;               /* 薄いグレーで目立たせない */
    font-size: 1rem;           /* 少し小さめ */
    margin-left: 3px;          /* 前の要素と少し間を開ける */
}


.tribe-events .tribe-events-calendar-list__event-wrapper {
    width: 100% !important;
    padding-top: 0.8em !important;
    padding-bottom: 0.8em !important;
    border-bottom: 1px solid #d3d3d3; /* 薄い灰色の下ボーダー */
}

.tribe-events-single-section-title {
    padding-top: 0.8em;
}

 
/* Log-in button style */
.impu-temp5-row {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: center; /* 垂直方向に中央揃え */
    margin-top: 24px !important;
}

.impu-temp5-row-right {
    margin-top: 0 !important;
}

.impu-temp5-row .impu-temp5-row-left .impu-form-submit input {
    background-color: var(--primary-color) !important;
}

.impu-form-submit {
    margin-top: 36px !important;
}

.button.button-primary.button-large {
    background-color: var(--primary-color) !important;
    border-radius: 45px;
}

.ihc-register-2 .iump-submit-form input {
    background: none !important;
    border: none !important;
    background-color: none !important;
}
.ihc-register-2 .iump-submit-form input:hover {
    background: none;
}

/* 横並びレイアウト */
.horizontal-layout {
    display: flex;
    align-items: center; /* ラベルとボックスを上下中央に揃える */
    gap: 4px; /* 要素間の余白 */
    margin-bottom: 10px;
    flex-wrap: wrap; /* 要素がウィンドウの幅を超えた場合に折り返す */
}

/* ラベルと日付入力フィールドの高さや配置を揃える */
.horizontal-layout label,
.horizontal-layout input[type="date"] {
    display: inline-block;
    vertical-align: middle; /* ラベルとボックスを垂直中央に揃える */
    margin: 0; /* 余白を削除 */
    padding: 0; /* ラベルやボックスのパディングをリセット */
    line-height: 36px; /* ラベルの行間を36pxに設定し、中央に揃える */
    height: 36px; /* 日付入力フィールドの高さを36pxに統一 */
    box-sizing: border-box; /* パディング込みでサイズを調整 */
}

/* 日付入力ボックスのスタイル */
.horizontal-layout input[type="date"] {
    padding: 5px; /* 余白を調整 */
    border: 1px solid #ced4da; /* ボーダーを設定 */
    border-radius: 5px; /* 角を丸くする */
    background-color: #fff; /* 背景色を白に */
    font-size: 14px; /* フォントサイズを調整 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* 軽いシャドウで立体感 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* フォーカス時のアニメーション */
}



.page-numbers {
    display: inline-block; /* 各ページ番号を横並びに */
    margin: 0 2px; /* 各ページ番号の間にスペースを追加 */
    padding: 2px 6px; /* クリックしやすいエリアを広げる */
    text-decoration: none; /* 下線を削除 */
    background-color: #f1f1f1; /* 背景色 */
    border: 1px solid #ccc; /* 枠線を追加 */
    color: #333; /* テキストカラー */
    border-radius: 12px; /* 丸い形にするための設定 */
    min-width: 24px;            /* ➤ 数字1桁にも対応 */
    text-align: center;
}

.page-numbers:hover {
    background-color: #ddd; /* ホバー時の背景色 */
    border-color: #999; /* ホバー時の枠線色 */
}

.page-numbers.current {
    background-color: var(--primary-color); /* 現在のページの背景色 */
    color: #fff; /* 現在のページの文字色 */
    border-color: var(--primary-color); /* 現在のページの枠線色 */
}

.page-numbers.prev,
.page-numbers.next {
    padding: 2px 6px;
    font-size: 13px;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background-color: #ddd;
    border-color: #999;
}

.primary_fields {
    display: flex;
    gap: 10px; /* ボックス間に10pxのスペースを追加 */
    height: 30px;
}

.primary_fields select {
    width: 100%; /* 全てのセレクトボックスを親要素の幅に合わせる */
    max-width: 100%; /* 必要に応じて最大幅を設定 */
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: block;
}

.sort_menu {
    margin-top:0;
    padding-bottom: 0.5em;
    margin-bottom: 0 !important;
}

.num_search_result {
    display: flex;
    justify-content: space-between; /* 左右に分割 */
    align-items: center; /* 上下中央揃え */
    margin-top: 20px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #ccc; /* ボーダーの幅と色を一行で指定 */
}

.query_result {
    margin-bottom: 4px;
}

#city-checkbox-group {
    display: flex;
    flex-wrap: wrap; /* 横に並べ、複数行になると折り返す */
    gap: 10px; /* 各チェックボックスの間にスペースを追加 */
    align-items: center; /* チェックボックスを上下中央に配置 */
    margin-top: 10px; /* テキストとの間にスペースを追加 */
}

#city-checkbox-group label {
    display: inline-block;
    margin-right: 10px;
    white-space: nowrap; /* テキストが折り返されないようにする */
    vertical-align: middle; /* チェックボックスをテキストの中央に揃える */
}

/* outside-checkboxクラスのスタイル */
.outside-checkbox {
    display: inline-block;
    margin-left: 0px;
    font-size: 14px;
    color: #333;
}

/* チェックボックスとテキストのアライメントを中央に揃える */
.outside-checkbox input[type="checkbox"] {
    margin-right: 1px; /* チェックボックスとテキストの間のスペースを調整 */
    vertical-align: middle; /* チェックボックスをテキストの中央に揃える */
    position: relative;
    top: -1px; /* チェックボックスを少し上に調整 */
}

/* ラベルのテキストの高さもチェックボックスと一致させる */
.outside-checkbox label {
    line-height: 1.4; /* テキストの行間を調整 */
}



.icon-text {
    display: flex; /* アイコンとテキストをフレックスボックスで揃える */
    align-items: center; /* アイコンとテキストの垂直位置を中央揃えにする */
}

.icon-text i {
    font-size: 12px; /* アイコンのサイズをテキストに合わせて調整 */
    vertical-align: middle; /* アイコンをテキストと垂直に中央揃え */
}

.icon-text span {
    font-size: inherit; /* テキストのフォントサイズを継承する */
}

.icon-text i.fa-calendar {
    margin-right: 9px; /* 余白を他のアイコンと統一 */
    margin-left: 2px;
}
.icon-text i.fa-map-marker-alt {
    margin-right: 10px; /* 余白を他のアイコンと統一 */
    margin-left: 3px;
}
.icon-text i.fa-users {
    margin-right: 7px; /* 余白を他のアイコンと統一 */
    margin-left: 0px;
}

.icon-text i.fa-circle-info {
    margin-right: 9px; /* 余白を他のアイコンと統一 */
    margin-left: 2px;
}

.event-list-team-name {
    display:flex;
    align-items: center;
    gap: 6px;
}

/* パンくずリストを非表示 */
/*#breadcrumb {
    display: none;
}*/

/*************************************/
/* custom-event-form用のスタイルシート */
/*************************************/
/* カスタムイベントフォーム全体のスタイル */
#custom-event-form {
    margin: 20px auto;
    background-color: #e0f2ff;
    padding: 10px 20px 20px;
    border-radius: 8px;
    border: 1px solid #64b5f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 600px;
}

/* 入力フィールドのスタイル */
#custom-event-form input[type="text"],
#custom-event-form textarea {
    width: 100%;
    padding: 10px;
    text-align: left;
    margin: 0 0 5px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* select要素にブラウザデフォルトアイコンを使用 */
#custom-event-form select {
    width: 100%;
    min-width: 200px; /* 最小幅を指定（必要に応じて調整） */
    padding: 10px;
    margin: 0 0 0px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: menulist-button; /* ブラウザのUIを維持 */
    -webkit-appearance: menulist-button;
}

/* 募集詳細テキストエリアのスタイル */
#post_content {
    min-height: 400px;
    max-height: 800px; /* 最大高さを少し調整 */
    resize: vertical; /* ユーザーが縦方向にリサイズ可能 */
    overflow-y: auto; /* 長い内容のスクロールを可能に */
}

/* チェックボックスのラベルスタイル */
#custom-event-form label[for="terms"] {
    font-weight: normal; /* フォントウェイトをnormalに設定 */
    font-size: 14px;
    display: flex; /* チェックボックスとテキストを横並びに */
    align-items: center; /* 縦の中央揃え */
    gap: 5px; /* チェックボックスとテキストの間隔 */
    cursor: pointer; /* クリックしやすくするためにカーソルを変更 */
}

#custom-event-form .date-time-wrapper {
    display: flex;
    margin-top:10px;
    gap: 20px;  /* 要素間の間隔を一括で調整 */

}

#custom-event-form .date-time-container {
    flex: 1;
}

#custom-event-form .date-time-container label {
    display: block; /* ラベルをブロック表示にして改行 */
    margin-bottom: 5px; /* ラベルと入力フィールドの間隔 */
}

#custom-event-form .date-time-container input {
    width: 100%;
    border-radius: 5px;
    text-align: center;  /* 入力されたテキストを中央揃えに */
    background-color: white;
}


/* 入力フィールドのフォーカス時のスタイル */
#custom-event-form input:focus,
#custom-event-form select:focus,
#custom-event-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 130, 212, 0.25);
    outline: none;
}

/* チェックボックスのスタイル */
#custom-event-form input[type="checkbox"] {
    margin-right: 0px;
}

/* ラベルのスタイル */
#custom-event-form label {
    display: block !important;
    margin-top: 0px;
    margin-bottom: 0px !important;
    margin-left: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
}

/* ボタンのスタイル */
#custom-event-form button[type="submit"] {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 45px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

#custom-event-form button[type="submit"]:hover {
    background-color: #005177;
}

/* エラーメッセージ用のスタイル */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* フォーム全体のレイアウト */
.horizontal-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}


/* 小さなスクリーン向けのレスポンシブデザイン */
@media (max-width: 600px) {

    #custom-event-form input,
    #custom-event-form select,
    #custom-event-form textarea {
        font-size: 14px;
    }

    #custom-event-form button {
        font-size: 14px;
    }
    .age-checkbox-group {
        gap: 6px;
    }

    .age-checkbox-group label {
        margin-right: 6px;
    }
}

/* WordPressのスタイルを上書き */
#custom-event-form .age-checkbox-group label:first-child {
    margin-top: 10px !important;
}

#custom-event-form .age-checkbox-group label:last-child {
    margin-bottom: 5px !important;
}

/* チェックボックスグループ全体の設定 */
.age-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

/* チェックボックスのラベル */
.age-checkbox-group label {
    display: inline-flex;
    align-items: center;
    margin: 0 5px 0 0;
    font-weight: normal !important;
    line-height: 1;
}

.age-checkbox-group textarea {
    border: none !important;
    padding-left: 10px !important;
    padding-top: 0 !important;
}

.l-mainContent__inner>.post_content {
    margin: 0.5em 0 !important;
}

/* 確認ページの全体レイアウト */
.confirmation-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 各確認項目のスタイル */
.confirmation-item {
    margin-bottom: 0.5em;
    font-size: 14px;
    color: #343a40;
}

/* 会場詳細のスタイル */
.venue-details p {
    font-size: 14px;
}

/* ボタンのスタイル */
.confirm-btn, .back-btn {
    display: block; /* ← これでaタグもブロック要素に */
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 45px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.confirm-btn:hover {
    background-color: #005177;
}

.back-btn {
    background-color: #6c757d;
}

.back-btn:hover {
    background-color: #495057;
}

/* エラーメッセージ */
.error-message {
    color: red;
    font-size: 12px;
    margin-bottom: 15px;
}

/* 投稿規約テキストエリアと同意ラベルのスタイル */
#terms_content {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin: 0 !important;
    border-radius: 5px;
    border: 1px solid #ced4da;
    box-sizing: border-box;
    resize: none; /* リサイズを無効化 */
    background-color: #ffffff;
    font-size: 10pt !important;
    min-height: 50px;
    max-height: 100px;
    overflow-y: auto;
}

/* 投稿規約テキストエリアのラベルスタイル */
label[for="terms_content"] {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

/* 同意チェックボックスのラベルスタイル */
label[for="terms"] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}



/* レスポンシブ対応 */
@media (max-width: 600px) {
    .confirmation-container {
        padding: 15px;
    }

    .confirm-btn, .back-btn {
        font-size: 12px;
    }
}

#venue_wrapper {
    margin: 15px 0;
    padding: 20px;
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

#venue_wrapper label {
    font-weight: bold;
    margin: 10px 0 5px;
    display: block;
}

#venue_wrapper input,
#venue_wrapper select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    box-sizing: border-box;
}

/* Event posted pageのスタイル */
/* 全体のスタイル */
.event-posted {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

/* タイトルのスタイル */
.event-posted h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

/* テキストのスタイル */
.event-posted p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* ボタングループ */
.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* メインのボタン */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 45px;
    padding: 12px 24px;
    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #005177;
}

/* サブのボタン */
.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 45px;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/*****************************/
/* display event details php */
/*****************************/
/* 全体のイベント詳細コンテナ */
.single-event-container {
    margin: 10px auto;
    max-width: 800px;
    background-color: #ffffff;
    font-size: 14px;
}

/* タイトル部分 */
.single-title-wrapper {
    text-align: left;
    margin-bottom: 10px;
    position: relative; /* 擬似要素の位置を設定 */
}

.single-title-wrapper::after {
    content: ''; /* 擬似要素でボーダー風に見せる */
    display: block;
    height: 2px; /* ボーダーの高さ */
    width: 100%; /* ボーダーの幅 */
    background: linear-gradient(to right, var(--primary-color), rgba(0, 130, 212, 0)); /* 左から右にグラデーション */
    position: absolute;
    bottom: 0; /* 親要素の下端に配置 */
    left: 0;
}
.single-event-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-bottom: 4px;
}

.single-event-item {
    display: flex; /* 横並び */
    align-items: top; /* 縦方向の中央揃え */
    justify-content: flex-start; /* 左揃え */
    gap: 8px; /* strong と span の間の間隔 */
    margin-bottom: 8px; /* 各行の間の余白 */
    padding-left: 0px; /* 左スペースの最小化 */
}
.single-event-item a {
    word-break: break-all;           /* 長い単語（URL）でも途中で改行 */
    overflow-wrap: anywhere;         /* 任意の場所で折り返し */
    display: inline-block;           /* 高さ調整のため（必要に応じて） */
    max-width: 100%;                 /* 親要素に収まるように */
}


.single-event-item strong {
    flex-shrink: 0; /* strong の幅を固定 */
    width: 61px; /* ラベルの幅を調整 */
    text-align: right; /* strong の内容を右揃え */
}

.single-event-item span {
    flex-grow: 1; /* 残りのスペースを使用 */
    text-align: left; /* 左揃え */
}

@media (max-width: 768px) {
    .single-event-item.detail-item {
      flex-wrap: wrap;
      align-items: flex-start;
    }
  
    .single-event-item.detail-item .scroll-container {
      overflow-x: visible;
      white-space: normal; /* ← 改行を有効にする */
      width: 100%;
    }
  
    .single-event-item.detail-item .scroll-container span {
      display: block;
      min-width: auto; /* ← 左寄せされるように幅制限解除 */
    }
}
  

/* 区切り線 */
.single-event-container hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}


/* 応募フォームタイトル */
.single-event-form-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px !important;
    color: #171717;
    text-align: left;
}

/* 応募フォーム */
.single-event-form-container {
    margin-top: 10px;
}

.single-event-form-group {
    margin-bottom: 15px;
}

.single-event-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

textarea#message {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    resize: vertical;
    min-height: 120px;
    font-size: 14px;
}

/* 送信ボタン */
.submit-button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #005177;
}

/* ログインリンク */
.single-event-login-container {
    text-align: center;
    margin-top: 50px;
}

.login-button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 45px;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #005177;
}

/* マップ iframe のスタイル */
.single-event-item iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: none;
}

/* 編集リンクのボタン */
.edit-event-link {
    margin-top: 20px;
    text-align: center;
}

.edit-event-link .button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 45px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.edit-event-link .button:hover {
    background-color: #005177;
}

/* コピーリンクのボタン */
.copy-event-link {
    margin-top: 30px;
    text-align: center;
}

.copy-event-link .button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 45px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.copy-event-link .button:hover {
    background-color: #005177;
}


.tooltip-icon {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    color: #555;
    font-size: 0.9em;
}

.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    white-space: nowrap;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.target-age-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8em;
    margin-left: 5px;
    font-weight: normal;
}

#tribe-events-pg-template {
    padding-top: 0px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* SNSシェアバー */
.social-share-bar {
    display: flex;
    justify-content: center;   /* 水平方向に中央揃え */
    align-items: center;       /* 垂直方向に中央揃え */
    width: 100%;               /* 幅を100%に */
    max-width: 500px;          /* 最大幅を設定 */
    margin: 0 auto;            /* 親要素内で中央に配置 */
    padding: 0;                /* パディングを削除 */
    padding-top: 10px;
    position: relative;        /* 親要素内での相対位置に */
}

/* 各ボタンのデザイン */
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.33%;             /* 3つのボタンが均等に並ぶように */
    height: 30px;              /* 高さを揃える */
    border: none;
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 0;                 /* 余白を削除して密着 */
}

/* アイコンとテキストの間に余白を追加 */
.share-btn i {
    margin-right: 8px;  /* アイコンとテキストの間隔を8pxに設定 */
}
/* ボタンの角丸処理 */
.share-btn:first-child {
    border-radius: 5px 0 0 5px; /* 左端だけ角丸 */
}
.share-btn:last-child {
    border-radius: 0 5px 5px 0; /* 右端だけ角丸 */
}

/* SNSごとの色設定 */
.share-btn.twitter {
    background-color: #1DA1F2;
}
.share-btn.x {
    background-color: #000000; /* Xのブランドカラー */
}
.share-btn.facebook {
    background-color: #3B5998;
}
.share-btn.line {
    background-color: #00C300;
}


/* 募集するボタンのスタイル（右寄せ） */
.cta-button-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px !important;
}

.cta-button {
    display: inline-block;
    background-color: #f95480; /* Bright orange */
    color: white;
    padding: 10px 20px !important;
    border-radius: 45px;
    text-decoration: none;
    font-size: 14px !important;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* ← 追加したシャドウ */
}

.cta-button:hover {
    color:white !important;
    background-color: #d8426d; /* Slightly darker for contrast */
    transform: scale(1.05); /* Subtle scaling effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← ホバー時は少し強調 */
}

.event-submit-button-container {
    flex: 0 0 auto; 
    margin-left: auto; /* 右端に寄せる */
}

.event-submit-button {
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.5; /* または 1.2、バランスを見て調整 */
    background-color: #ff4d88;
    color: #fff;
    font-size: 0.85rem;
    padding: 10px 20px; /* pxで固定し、上下バランスを微調整 */
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* ← 追加したシャドウ */
}
.event-submit-button:hover {
    color:white !important;
    background-color: #d8426d; /* Slightly darker for contrast */
    transform: scale(1.05); /* Subtle scaling effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← ホバー時は少し強調 */
}
.event-submit-button i {
    margin-right: 0.4em; /* または 6px 程度 */
}

/* my-account/ page */
.user-event-list-container {
    font-family: Arial, sans-serif;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.user-event-list-container b {
    font-size: 1.2em;
    color: #333;
}

.user-event-list {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.user-event-item {
    margin: 8px 0;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.user-event-date {
    font-weight: bold;
    margin-right: 10px;
    white-space: nowrap;
}

.user-event-details {
    display: flex;
    flex-direction: column; /* タイトルと会場を縦並びに */
    align-items: flex-start; /* 左揃え */
    flex: 1;
}

.user-event-title {
    font-size: 1em;
}

.user-event-venue-info {
    font-size: 0.9em;
    color: #555;
}

.user-event-actions {
    display: flex;
    gap: 5px;
}

/* チップスタイル */
.user-event-link,
.user-event-edit-link,
.user-event-delete-link {
    color: var(--primary-color);
    background-color: #e0f3ff;
    text-decoration: none;
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 16px;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
}

.user-event-link:hover, .user-event-edit-link:hover, .user-event-delete-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.user-event-no-event-message {
    font-style: italic;
    color: #666;
    text-align: center;
}

/* モバイル対応 */
@media (max-width: 600px) {
    .user-event-list-container {
        padding: 15px;
    }

    .user-event-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-event-date {
        margin-bottom: 5px;
    }

    .user-event-title {
        font-size: 1em;
        word-break: break-word;
    }

    /* チップを横並びで収まるように調整 */
    .user-event-actions {
        display: flex;
        width: 100%; 
        justify-content: flex-start;
        gap: 5px;
        margin-top: 5px;
        flex-wrap: wrap;
    }

    .user-event-link,
    .user-event-edit-link,
    .user-event-delete-link {
        font-size: 0.8em;
        padding: 4px 8px;
    }
}

/* 削除ボタンのスタイル */
.delete-button {
    display: inline-block;
    width: 100%;
    max-width: 100px; /* 最大幅を200pxに設定 */
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    font-size: 14px;
    text-align: center; /* テキストを中央に配置 */
    transition: background-color 0.3s ease;
    text-decoration: none; /* アンカータグの下線を削除 */
}

.delete-button:hover {
    background-color: #005177;
}

/* キャンセルボタンのスタイル */
.cancel-button {
    display: inline-block;
    width: 100%;
    max-width: 100px; /* 最大幅を100pxに設定 */
    padding: 10px;
    background-color: #a5a5a5; /* キャンセルボタンの色 */
    color: white;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    font-size: 14px;
    text-align: center; /* テキストを中央に配置 */
    transition: background-color 0.3s ease;
    text-decoration: none; /* アンカータグの下線を削除 */
}

.cancel-button:hover {
    background-color: #807e7e; /* ホバー時の色 */
}

/* マイページ */
.ihc-ap-theme-1 .ihc-ap-wrap,.ihc-ap-theme-2 .ihc-ap-wrap,.ihc-ap-theme-4 .ihc-ap-wrap {
    margin-top: 5px !important;
}

.iump-view-user-wrapp-temp2 .iump-user-field .iump-label {
    padding-left: 0px !important;
}

.iump-view-user-wrapp-temp2 .iump-user-field .iump-value {
    padding-left: 0px !important;
}
.ihc-user-page-top-ap-wrapper {
    display: none !important;
}

.p-mainVisual__inner {
    margin-bottom: 10px !important;
}

/* 基本スタイル（モバイルファースト） */
.contact-form {
    width: 100%;
    max-width: 600px; /* 最大幅を設定 */
    margin: 0 auto; /* センター揃え */
    padding: 20px;
    padding-top: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.l-mainContent__inner > .post_content .contact-form {
    margin-top:30px !important;


}


.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: "Noto Sans", sans-serif;
}


/* お問い合わせ内容のボックス（textarea）のスタイル */
.contact-form textarea {
    height: 200px; /* 高さを調整 */
    resize: vertical;
}


/* ボタンのスタイル */
.contact-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
}


.contact-form button:hover {
    background-color: #006fa1;
}


/* プライバシーポリシーのチェックボックスの配置 */
.contact-form label {
    display: inline-flex;
    align-items: center; /* チェックボックスとテキストを垂直に中央揃え */
    white-space: nowrap; /* テキストの折り返しを防止 */
    overflow: hidden; /* 余分なテキストを隠す */
    text-overflow: ellipsis; /* 長すぎるテキストを省略記号で表示 */
}


.contact-form input[type="checkbox"] {
    width: auto;
    order: -1; /* チェックボックスを左側に配置 */
    margin-right: 10px; /* チェックボックスとテキストの間隔 */
}


/* プライバシーポリシーのリンク */
.contact-form a {
    color: var(--primary-color);
}


/* メディアクエリ: スマートフォン向け */
@media (max-width: 767px) {
    .contact-form {
        padding: 15px; /* パディングを調整 */
    }


    /* 入力ボックスのフォントサイズを小さく */
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 14px;
    }


    /* お問い合わせ内容ボックスをさらに大きくする */
    .contact-form textarea {
        height: 250px;
    }
}


/* メディアクエリ: タブレット向け */
@media (max-width: 1024px) {
    .contact-form {
        width: 90%;
    }


    .contact-form textarea {
        height: 230px;
    }
}


/* 送信するボタンのスタイル */
.contact-form-confirm .submit-button {
    width: 100px;
    background-color: var(--primary-color); /* 青色の背景 */
    color: white; /* 文字色 */
    border: none; /* ボーダーなし */
    font-size: 16px; /* フォントサイズ */
    padding: 10px 10px; /* パディング */
    text-align: center;
    border-radius: 4px; /* ボーダーの角を丸める */
    cursor: pointer;
}

.contact-form-confirm .submit-button:hover {
    background-color: #006fa1; /* ホバー時の青色 */
}

/* 修正するボタンのカスタムスタイル */
.contact-form-confirm .back-button {
    background-color: #f4f4f4; /* 背景色 */
    color: #333; /* 文字色 */
    border: 1px solid #ddd; /* ボーダー */
    font-size: 16px; /* フォントサイズ */
    padding: 10px 10px; /* パディング */
    text-align: center;
    border-radius: 5px; /* ボーダーの角を丸める */
    cursor: pointer;
}

.contact-form-confirm .back-button:hover {
    background-color: #e0e0e0; /* ホバー時の背景色 */
}

/* Don't render IHC menu bar */
.ihc-ap-menu {
    display: none !important;
}

/* カスタムアバターを丸くする */
.custom-avatar-circle {
    border-radius: 50%;
    border: 1px solid #ddd; /* 枠線を追加 */
    display: block;
    object-fit: cover; /* 画像の比率を保ちつつ、枠内にフィット */
}

.event_comments #comments,
.event_comments .wpd-thread-list
.event_comments #wpd-comm-52_0 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-bottom:  0px !important;
}

.wpd-user-email-delete-links-wrap { /* Disable comment edit via email function */
    display:none;
}
.wpd-comment-share .fas { /* Disable comment user share link*/
    display: none;
}
.wpd-sbs-toggle { /* disable follow */
    display: none;
}

.post_content h3 {
    margin-top: 1.2em; /* 好みで調整（例：1em, 0.5emなど） */
}

  
.login-link-sp-header {
    display: none;
}

@media (max-width: 959px) {
    .l-header__inner {
        justify-content: flex-start !important; /* ← ロゴを左寄せ */
        position: relative; /* これが絶対に必要 */
    }
    .login-link-sp-header {
        display: inline-block;
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        z-index: 999;
       /*background-color: var(--primary-color);*/
        background-color: rgba(1, 111, 205, 0.9); /* 少し透過で洗練感 */

        color: #fff;
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 12px;  
        text-decoration: none;
        line-height: 1.5; /* ← 縦中央に近づける */
        white-space: nowrap;
        vertical-align: middle; /* 念のため */

        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    .login-link-sp-header:hover {
        background-color: rgba(1, 111, 205, 1);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }

    .l-header__logo {
        margin-right: auto; /* ← 左寄せされたロゴの右にスペースを確保 */
    }
    .l-header__logo img {
        max-width: 180px; /* ロゴ画像が大きすぎる場合に調整 */
    }
}

/* 見出しに下線が付く汎用ブロック */
.section-title {
    position: relative;
    margin-bottom: 20px;
}

.section-title h1{
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    color: #222;
    position: relative;
    z-index: 1;
    padding-left: 6px;
    min-width: 60%;
}
@media (max-width: 480px) {
    .section-title h1 {
      min-width: 65%;
    }
}

.section-title h2 {
    position: sticky;
    top: 102px;
    z-index: 10;
    display: block;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    padding: 8px 12px 6px 12px;
    margin-bottom: 0;
    background-color: #e0f2ff;
    border-left: 4px solid var(--primary-color);
    color: #333;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


/* 下線の装飾 */
.section-title h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        to right,
        var(--primary-color) 0%,
        var(--primary-color) 40%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
    border-radius: 2px;
}

.section-title-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* モバイル対応 */
  gap: 0.5em;

}

.event-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 10px !important;
}

.event-list-title h1 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    color: #222;
    position: relative;
    z-index: 1;
    padding-left: 6px;
    min-width: 60%;
}
@media (max-width: 480px) {
    .event-list-title h1 {
      min-width: 65%;
    }
}

.event-list-header h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        to right,
        var(--primary-color) 0%,
        var(--primary-color) 40%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
    border-radius: 2px;
}

.event-list-title {
    flex: 1 1 100%; /* H1を1行で幅いっぱいに */
}

.event-list-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.event-total-count {
    font-size: 0.85rem;
    color: #444;
    padding-left: 6px;
}

.team-logo-square-team-page {
    max-width: 140px !important;
    max-height: 140px !important;
    border-radius: 8px; /* 少し角を丸める */
    object-fit: contain; /* アスペクト比を保って表示 */
    display: block;
}
.team-logo-square-event-list {
    height: 80px;
    width: 80px;
    align-items: center;   /* ← これで上下中央揃え */
    border-radius: 8px; /* 少し角を丸める */
    object-fit: contain; /* アスペクト比を保って表示 */
    display: flex;
}

.team-logo-square-event-detail {
    height: 28px;
    width: 28px;
    align-items: center;   /* ← これで上下中央揃え */
    object-fit: contain; /* アスペクト比を保って表示 */
    display: flex;
}

body.is-map-screen .site-header { display: none; }
body.is-map-screen .site-footer { display: none; }
