@charset "utf-8";
/* ヘッダータイトル*/
.header-text {
  width: 90% !important;
}

.form-control, .form-select{
  border:#E1E4E7 solid 3px !important;
}

input[type=checkbox] {
  transform: scale(1.5);
}

/* 検索条件絞り込みボタン */
.custom-button {
  display:inline-block;
  padding:4px 20px !important;
  background-color:white;
  border:3px solid #FF00D6 !important;
  border-radius:17px;
  color:#FF00D6 !important;
  font-size: 0.9em;
  font-weight: bold;
  text-align:center;
  text-decoration:none;
  cursor:pointer !important;
  outline:none;
  float:right;
}

/* 検索条件絞り込みボタン */
.mt-btn {
  margin-top: 68px !important;
}

/* メイン全体 */
.container-md{
  margin-bottom: 95px;
}

/******************
  検索条件
オフキャンバス 
*******************/
/* 検索条件オフキャンバス */
#offcanvasSearch{
/*  margin-top: 135px; 条件絞り込みボタンが見える様に上を開ける*/ 
  border: none;
  background-color: rgba(245, 245, 245, 0.95); /* F5F5F5  の95%透過 */
  width:85%;
  max-width: 500px;
  margin-bottom: 90px;
  overflow: auto;
  border-top-left-radius: 10px;
/*  border-bottom-left-radius: 10px;*/
}
/* モーダルの背景色を透明にする */
.offcanvas-backdrop {
  background-color: transparent !important;
}

/* オフキャンバスのTOPボタンエリア */
.canvas-top-menu{
  display: flex;
  justify-content: space-between;
  align-items: center; /* 縦方向の中央揃え */
}

/* オフキャンバスのcloseボタン */
.close-canvas {
  width: 50px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
/* オフキャンバスのcloseボタンの文字 */
.bi-x::before{
  color: #313132 !important;
  font-size: 3.5em !important;
}

/* オフキャンバスのクリアボタン */
.clear-all{
  margin-right: 40px;
  height: 30px;
  margin-right: 30px;
  color: #FF00D6;
  font-size: 14pt;
  font-weight: bold;
  border: 0;
  background-color: transparent;
}


/******************
 オフキャンバス内の 
  アコーディオン 
*******************/
/* アコーディオン全体 */
.accordion {
  --bs-accordion-bg: transparent !important;  			/* offcanvas自体の色を生かす */
  --bs-accordion-btn-bg: transparent !important;  		/* offcanvas自体の色を生かす */
  --bs-accordion-active-color: #212529 !important;		/* ボタンアクティブ時の文字色(通常青から変更） */
  --bs-accordion-active-bg: transparent !important;  		/* ボタンアクティブ時の色を消す */
  --bs-accordion-btn-focus-border-color: transparent !important; 	/* ボタンfocus時の色を消す */
  --bs-accordion-btn-focus-box-shadow: transparent !important;		/* ボタンfocus時の色を消す */
}

/* アコーディオンの行(ボタンと本文) */
.accordion-item{
  --bs-accordion-bg: transparent !important;  	/* offcanvas自体の色を生かす */
/*  border-bottom: 2px solid #E5E5E6 !important;*/
  border-bottom: 2px solid #000 !important;
  margin-top: 10px;
}
.accordion-1st{
  margin-top: -20px !important;
}
.accordion-body{
  display: flex;
  width:98%;
}
/* アコーディオンのボタン */
.accordion-button{
  display: block !important;
  font-weight: bold;
  margin: 0;
  width: 100%;
  font-size: 15pt;
  text-align:center;
  padding: 1rem 4rem 1rem 1em !important;
}
/* アコーディオンのボタンの記号 */
.accordion-button::after {
  content: '';
  position: absolute;
  top: 40%;
  right: 45px; /* 画像をボタンの右寄せにするための設定 */
  transform: translateY(-50%); /* 垂直方向中央寄せ */
  width: 35px;
  height: 35px;
  background-image: url('../../img/user/arrow-down-short.svg') !important;;
  background-size: cover; /* 画像をカバーするように調整 */
}
/* アコーディオンを展開した時のボタンの記号 */
.accordion-button:not(.collapsed)::after {
  /*width: 30px !important;*/
  height: 30px !important;
  top:15px !important;
/*  margin-right: 10px !important;*/
}
/* アコーディオンボタンのフォーカス */
.accordion-button:focus {
    border-color: transparent !important; /* 線を消す */
}



/******************
  オフキャンバス内 
  検索条件 
*******************/
.hidden {
  display: none !important;
}
.show {
  display: flex !important;
}
.box-center{
  margin: 0 auto;
}

/* イベントカテゴリ */
#list-categories{
  width: 80%;
  padding: 10px;
}
.list-category{
  width: 100% !important;
  display: flex;
  justify-content: center;
}

.category-label {
  margin-left: 10px;
  cursor: pointer;
}
.sub-category-list {
  display: none; /* 初期状態では非表示 */
  width: 95%;
  margin-bottom: 5px;
}
.main-category-label{
  width:90% !important;
}
.main-category-expand{
  width:10%;
}

/* カテゴリ展開時の追加行（１行目） */
.expand-menu{
  display: flex;
  align-items: center; /* 画像とテキストの垂直位置を揃える */
  justify-content: space-between; /* 左、中央、右寄せを適用 */
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #D9D9D9;
  width: 80%;
  margin: 0 auto;
  font-size: 12pt;
  font-weight: bold;  
}
.expand-menu .expand-close {
  display: inline-block;
  text-align: left;
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url('../../img/user/arrow-left.svg');
  background-size: cover; /* 画像をカバーするように調整 */
}
.expand-menu .category-name{
  display: inline-block;
  padding-left: 30px;
  font-size: 12pt;
}
.expand-menu .check-clear{
  margin-right: 30px;
  color: #FF00D6;
  font-size: 12pt;
  font-weight: bold;
}
/* カテゴリ展開時の追加行（2行目） */
.expand-menu2{
  padding-bottom: 5px;
  padding-left: 10px;
  width: 80%;
  margin: 0 auto;
  font-size: 12pt;
  font-weight: bold;  
}

/* 親カテゴリ */
.main-category-list {
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}
.main-category-label .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.main-category-label input[type="checkbox"] {
  margin-left: 10px;
}

/* サブカテゴリのリスト */
.list-group-item span{
  padding-left: 10px;
}
/* 開催地のリスト */
.town-list{
  width: 95%;
}


/* クリアボタンがあるアコーディオン */
/*
.clear-button-container{

}
*/
/* 主催者 */
#list-host{
  width:100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#list-host label:nth-of-type(odd) {
/*  text-align: left; /* 奇数番目の label は左寄せ */
}
#list-host label:nth-of-type(even) {
  margin-left: 20px;  /* 偶数番目の label の左にスペース */
}

.btn-select{
  width: 35%;
  border-radius: 20px;
  background: none;
  color: #FF00D6;
  border: solid #FF00D6 2.5px;
  font-size: 14pt;
  --bs-btn-color: #FF00D6;
  --bs-btn-border-color: #FF00D6;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #FF00D6;
  --bs-btn-hover-border-color: #FF00D6;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #FF00D6;
  --bs-btn-active-border-color: #FF00D6;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #FF00D6;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #FF00D6;
  --bs-gradient: none;

}
.select-btn-clear{
/*  margin-top: 20px;*/
  text-align: center;
  flex-basis: 100%; /* アイテムを新しい行に配置 */
}
.select-btn-clear .btn-clear{
  font-size: 13pt;
  margin-top: 15px;
  background: #FF00D6;
  border: none;
  border-radius: 10px;
}
/* エリア */
.box-area{
  display: flex;
  flex-wrap: wrap;  /* 折り返しを許可（2列を維持） */
  justify-content: center;
  gap: 10px;  /* ラベル同士の間隔 */
}
.btn-select-area{
  width: 45% !important;
  font-size: 13pt !important;
  margin-top: 0 !important;
}

/* 開催日 */
.radio-search-date{
  width:100%;
  display: flex;
  margin-bottom: 20px;
  justify-content: center;
}
.radio-search-date label:not(:first-of-type) {
  margin-left: 20px;
}

#search-price-fee{
  margin-left:20px;
}
.search-date-input{
  display: flex !important;
  align-items: center !important;
/*  justify-content: flex-end;*/
  padding-right: 35px;
}
.search-date-input span{
  width: 25%;
  text-align: right;
  padding-right: 10px;
  font-size: 13pt;
}
.search-date-input input{
  width: 70%;
  text-align: center;
  font-size: 13pt;
}
.search-date-btn{
  text-align:center;
}

.search-date-btn .btn-clear{
  font-size: 13pt;
  margin-top: 15px;
  background: #FF00D6;
  border: none;
  border-radius: 10px;
}

.search-date{
  width: 65% !important;
  text-align: center;
}

/* 参加費 */
.fee-input{
  display:none;  /* 初期表示は非表示 */
}
.search-price{
  width: 65% !important;
  text-align: center;
}
.search-price-input span{
  width: 25%;
  text-align: left;
  padding-left: 10px;
  font-size: 13pt;
}
.search-price-input input{
  width: 70%;
  text-align: right; /* 入力された数値は右寄せ */
/*  direction: rtl; *//* テキストの方向を右から左に設定 */
  font-size: 13pt;
}
.search-price-input{
/*  text-align: left;*/ /* プレースホルダーのデフォルトは左寄せ */
  display: flex ;
  justify-content: right !important;
  align-items: center !important;
/*  align-items: right !important;*/
  width: 100% !important;
  padding-right: 20px;
}
.price-clear{
  margin-top: 20px;
  text-align: center;
}
.price-clear .btn-clear{
  font-size: 13pt;
  margin-top: 15px;
  background: #FF00D6;
  border: none;
  border-radius: 10px;
}

.form-select{
  width: 95% !important;
}
/* オフキャンバス内のフリーワード */
.lbl-free-word{
  font-size: 16pt;
  font-weight: bold;
  margin-top: 43px;
  margin-left: 25px;
}
.text-free-word{
  padding-left: 25px;
  padding-right: 25px;
}
.text-free-word input{
  font-size: 19px;
  padding: 5px 10px 10px 10px;
  flex: 1;
  height: 50px;
}

/* オフキャンバス内の検索ボタン */
.search-button {
  margin-bottom: 20px;
  display: inline-block;
  padding: 10px 5px;
  background-color: #FF00D6;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  width: 45%;
  font-size: 20px;
  font-weight: bold;
}
#decision-button{
  display:none;
}


/******************
 イベント一覧
検索結果のカード 
********************/
#search-message{
  margin-top:20px;
  display:none;
}
#card-list{
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(46%, 1fr));  /* スマホ縦向きでは最大2列にする */
}
.report-card{
  margin: 10px 6px;
  border: 1px solid #E5E5E6 !important;
  padding: 0 !important;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;

/*  width: 46%;*/
  display: flex;
  flex-wrap: wrap;
}
.report-card a{
  width: 100%;
  color:#000 !important;
}
.report-img{
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.month{
  font-size:0.8em !important;
}
.summary{
  font-size: 0.8em !important;
}

.report-card .top{
  width: 100%;
  height: 100px;	/* あとで可変にしたい 石井*/
  overflow: hidden;
  position: relative;
}
.bottom-l, .bottom-r {
  display: flex;
/*  align-items: center;*/
  min-height: 60px; /* 高さを揃えるために設定 */
  max-height: 60px;
  padding: 5px;
  box-sizing: border-box;
  word-wrap: break-word;   /* 単語が長い場合に折り返す */
/*  word-break: break-word;  *//* 長い単語を折り返して表示 */
/*  hyphens: auto;  */         /* 単語の途中で折り返しを自動的に行う */
}
.report-card .bottom-l{
  display: flex;
  flex-direction: column;  
  float: left;
  width: 20%;
  border-right: 2px solid #E5E5E6;
  text-align: center;
  width: 30%;
  justify-content: center;
  text-align: center;
}
.report-card .bottom-r{
  width: 70%;
  display: flex;
  flex-direction: column;    
  /* 文字が2行以上は...にする*/
/*  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
*/  
  overflow: hidden;
  font-size: 0.8em;

}
/* 画像無し */
.no-image {
  text-align: center;
  background-color: #f0f0f0;
  height: 100%;
  width: 100%;
/*  padding: 20px;*/
  box-sizing: border-box;
  font-size: 18px;
  color: #555;
}
.no-image i {
  font-size: 40px;  /* アイコンの大きさ */
  color: #bbb;  /* アイコンの色 */
  margin-bottom: 10px;
}
/* 応募済みマーク */
.applied-mark {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 0.8em;
  color: green;
  background-color: lightgreen;
  padding: 2px 5px;
  border-radius: 3px;
}

.hidden-card {
  display: none;
}
/* もっと見るボタン */
#show-more-btn {
  font-size: 0.9em;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  margin-left: 10px;  
  display: none;
  width: 35%;
  border-radius: 20px;
  background: none;
  color: #FF00D6;
  border: solid #FF00D6 2.5px;
  --bs-btn-color: #FF00D6;
  --bs-btn-border-color: #FF00D6;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #FF00D6;
  --bs-btn-hover-border-color: #FF00D6;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #FF00D6;
  --bs-btn-active-border-color: #FF00D6;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #FF00D6;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #FF00D6;
  --bs-gradient: none;
}


@media only screen and (min-width: 768px) {
  /* イベント一覧のカード */
  #card-list {
/*    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr)); */
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));  /* タブレット以上で自動で列数を増やす */
  }
}

@media only screen and (min-width: 1024px) {
  /* イベント一覧のカード */
  #card-list {
/*    grid-template-columns: repeat(auto-fit, minmax(23%, 1fr));*/
/*      grid-template-columns: repeat(auto-fill, minmax(23%, 250px));  *//* PCなど大画面では最大4列にする */
    grid-template-columns: repeat(auto-fit, minmax(23%, 1fr));
  }
}

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


}

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


}

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


}

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


}

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


}

@media screen and (max-width:576px) {
  /* 絞り込み条件 ボタン */
  .btn {
    --bs-btn-padding-x: 0 !important;
  }
  /* 絞り込み条件 イベントカテゴリ */
  #list-categories, .expand-menu, .expand-menu2 {
    width: 95%;
  }  
  /* 絞り込み条件 エリア */
  .btn-select-area{
    font-size: min(17px, 4.5vw) !important;
  }
  /* 絞り込み条件 クリアボタン */
  .select-btn-clear .btn-clear,
  .search-date-btn .btn-clear,
  .search-price-btn .btn-clear{
    --bs-btn-padding-x: 0.75rem !important;
  }
}