@charset "UTF-8";
:root {
  --bg: #fff;
  --textWhite: #fff;
  --primary-default: #000;
  --textMain: #222;
  --primary: #e50020;
  --border: #ccc;
  --link: #3b7de9;
}

.ttl2 {
  padding: 0 0 6px 0;
  display: inline-block;
  background-image: linear-gradient(90deg, var(--primary) 0 60px, var(--border) 60px);
  background-repeat: no-repeat;
  background-size: 100% 10%;
  background-position: bottom;
  font-weight: bold;
  font-size: min(5.86vw, 22px);
}
@media screen and (min-width: 767px) {
  .ttl2 {
    font-size: 32px;
    background-image: linear-gradient(90deg, var(--primary) 0 80px, var(--border) 80px);
  }
}

.results-counter {
  font-weight: bold;
  font-size: min(4.26vw, 16px);
}
.results-counter__num {
  margin-left: 3px;
  font-size: min(6.4vw, 24px);
}

.lineupSection__text {
  margin-top: 12px;
}
.lineupSection__list {
  margin-top: 24px;
}

.lineupList {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 767px) {
  .lineupList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
  }
}
.lineupList a {
  text-decoration: none;
}

.lineupBox {
  display: block;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  width: 86%;
  cursor: pointer;
  transition: all 0.2s;
}
.lineupBox.kodomobacs,
.lineupBox.kdb {
  background: #d49e00;
}
.lineupBox.emotersports,
.lineupBox.ems {
  background: #ed6207;
}
.lineupBox.superGT ,
.lineupBox.gte {
  background: #e50020;
}
.lineupBox.trafficSafety,
.lineupBox.tfs {
  background: #4266ca;
}
.lineupBox.publicViewing,
.lineupBox.pbv {
  background: #8f9ba8;
}
.lineupBox:hover .lineupBox__text::after {
  right: -5px;
}
@media screen and (min-width: 767px) {
  .lineupBox {
    margin: inherit;
    width: 100%;
    transform: 0.2s;
    min-height: 240px;
    border-radius: 16px;
  }
}
.lineupBox__title {
  border-radius: 8px;
  background: var(--bg);
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media screen and (min-width: 767px) {
  .lineupBox__title {
    height: 158px;
  }
}
@media screen and (min-width: 767px) {
  .lineupBox__img.kodomobacs,
  .lineupBox__img.kdb {
    width: 247px;
    height: 78px;
  }
}
@media screen and (min-width: 767px) {
  .lineupBox__img.emotersports,
  .lineupBox__img.ems {
    width: 247px;
    height: 96px;
  }
}
@media screen and (min-width: 767px) {
  .lineupBox__img.superGT,
  .lineupBox__img.gte {
    width: 247px;
    height: 74px;
  }
}
@media screen and (min-width: 767px) {
  .lineupBox__img.trafficSafety,
  .lineupBox__img.tfs {
    width: 247px;
    height: 65px;
  }
}
@media screen and (min-width: 767px) {
  .lineupBox__img.publicViewing ,
    .lineupBox__img.pbv {
    width: 264px;
    height: 55px;
  }
}
.lineupBox__text {
  position: relative;
  margin-top: 8px;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  color: var(--textWhite);
}
.lineupBox__text::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  content: "";
  display: block;
  background: url(../_images/top/lineup_arrow.svg) no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  transition: all 0.2s;
}
@media screen and (min-width: 767px) {
  .lineupBox__text {
    margin-top: 20px;
    text-align: left;
    letter-spacing: -1px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .lineupBox:hover {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  }
}
.top-mv {
  position: relative;
  padding: 10px 10px 40px;
  background: #000;
}
@media screen and (min-width: 767px) {
  .top-mv {
    padding: 20px;
  }
  .top-mv::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 320px;
    border-radius: 0px 0px 16px 16px;
    z-index: 5; /* スライドの上にシャドウが表示されるように */
    pointer-events: none; /* クリックイベントがシャドウを通過するように */
    opacity: 1;
    transition: opacity 0.3s ease; /* シャドウのトランジションをスムーズに */
    will-change: opacity;
  }
}
.top-mv__titleWrap {
  margin: 24px auto 0;
  width: min(327px, 100%);
  color: #fff;
}
.top-mv__title {
  font-weight: bold;
  font-size: 26px;
  letter-spacing: -1.56px;
}
.top-mv__text {
  font-weight: bold;
  font-size: 18px;
}
.top-mv__text:not(:first-child) {
  margin-top: 4px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden; /* 非表示時は完全に非表示に */
  z-index: 1; /* 基本的なz-index */
  transition: opacity 0.8s ease, visibility 0.8s ease; /* 表示/非表示のトランジション */
  will-change: opacity, visibility; /* ブラウザに変更を事前通知 */
  pointer-events: none; /* 非アクティブ時はポインタイベントを無効に */
}
.slide::after {
  position: absolute;
  bottom: 0;
  z-index: 1;
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  border-radius: 0px 0px 8px 8px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}
@media screen and (min-width: 767px) {
  .slide::after {
    border-radius: 0px 0px 16px 16px;
  }
}

/* インジケーターの基本スタイル */
.indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.indicator.active .indicator-dot {
  background: #fff;
}

/* スライダープログレスバー */
.slider-progress-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  padding: 0 30px;
  z-index: 10;
}

.slider-progress {
  position: relative;
}
.slider-progress::before {
  position: absolute;
  bottom: -10px;
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}
.slider-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 0%;
  background-color: white;
  transition: width 0.1s linear;
  border-radius: 3px;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background-color: white;
  transition: width 0.1s linear;
  border-radius: 3px;
}

.event-schedule__inner {
  padding: 64px 0;
}
@media screen and (min-width: 767px) {
  .event-schedule__inner {
    padding: 60px 0;
  }
}

.scheduled-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
}
.scheduled-wrap.sticky {
  border-bottom: 1px solid var(--border);
}
@media screen and (min-width: 767px) {
  .scheduled-wrap {
    width: 100vw;
  }
}

.scheduled {
  padding: 8px 1.5rem;
  background: #fff;
  z-index: 1;
}
@media screen and (min-width: 767px) {
  .scheduled {
    padding: 20px;
  }
}
.scheduled__header {
  display: flex;
  align-items: baseline;
  align-self: flex-start;
  gap: 16px;
  height: 40px;
  line-height: 24px;
}
@media screen and (min-width: 767px) {
  .scheduled__header {
    margin: auto;
    width: min(1100px, 100%);
    height: 54px;
    line-height: 48px;
  }
}

.filter-button {
  background: var(--bg);
  color: var(--primary);
  font-weight: bold;
  border: 2px solid var(--primary);
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}
@media screen and (min-width: 767px) {
  .filter-button {
    font-size: 14px;
  }
}

.filter-button:hover {
  background-color: #fff;
}

.filter-button svg {
  margin-right: 8px;
}

.event-list {
  padding: 24px 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
@media screen and (min-width: 767px) {
  .event-list {
    padding: 0;
    margin: 12px auto 0;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    width: min(1100px, 100%);
  }
}

.event-card {
  position: relative;
  display: block;
  border-radius: 8px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 767px) {
  .event-card {
    min-height: 425px;
  }
}

.event-period {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 0 8px 0 8px;
  padding: 4px 8px;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--Primary, #e50020);
  font-size: 12px;
  font-weight: bold;
  background: #ffe5e9;
}
/* --- 追記 --- */
.imgBox{
    height:200px;
    overflow:hidden;
    box-shadow: 0 1px 8px 1px rgba(0,0,0,0.3) ;
}
/* --- 追記ここまで --- */

.event-image {
  width: 100%;
  /* height: 180px; */
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.event-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
}
@media screen and (min-width: 767px) {
  .event-content {
    flex-grow: 1;
  }
}

.event-tag {
  display: inline-block;
  background-color: #666666;
  color: var(--textWhite);
  font-weight: bold;
  padding: 0 9px;
  border-radius: 2px;
  font-size: 12px;
}
.event-tag.kodomobacs,
.event-tag.kdb {
  background-color: #d49e00;
}
.event-tag.emotersports,
.event-tag.ems {
  background-color: #ed6207;
}
.event-tag.superGT,
.event-tag.gte {
  background-color: #e50020;
}
.event-tag.trafficSafety,
.event-tag.tfs {
  background-color: #4266ca;
}
.event-tag.publicViewing,
.event-tag.pbv {
  background-color: #8f9ba8;
}
.event-tag.default {
  background-color: #666666;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.place-tag {
  display: inline-block;
  background-color: #666;
  color: var(--textWhite);
  font-weight: bold;
  padding: 0 9px;
  border-radius: 2px;
  font-size: 12px;
}

.event-title {
  overflow: hidden;
  color: var(--textMain);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  /* 2行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (min-width: 767px) {
  .event-title {
    min-height: 47px;
  }
}

.event-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--link) !important;
}
.event-link:visited {
  color: var(--link) !important;
}
.event-link.event {
  font-weight: bold;
}
.event-link.event::after {
  content: "";
  display: inline-block;
  border: 6px solid transparent;
  border-left: 7px solid var(--link); /* 好みで色を変えてください */
}

.store-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--link) !important;
  font-size: 13px;
}

.event-desc {
  color: var(--textMain);
  /* 3行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

.event-shop {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--textMain);
}

.event-date {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 16px;
  color: var(--textMain);
}

.event-meta {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* モーダル関連のスタイル */
.modal-open {
  overflow: hidden; /* body用のスクロール防止クラス */
}
@media screen and (min-width: 767px) {
  .modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

.filter-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* 初期状態は非表示 */
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  cursor: pointer;
  -webkit-overflow-scrolling: touch; /* iOS用スクロール改善 */
}
.filter-modal-overlay.active {
  opacity: 1;
  z-index: 10000;
}

.filter-modal-overlay.active {
  opacity: 1;
  z-index: 10000;
  display: block; /* flexではなくblockに変更 */
}

/* モーダル本体のスタイル修正 */
.filter-modal {
  border-radius: 8px;
  cursor: default;
  background-color: white;
  width: 100%;
  height: 100%;
  position: absolute; /* fixedではなくabsoluteに変更 */
  top: 0;
  left: 0;
  overflow: auto; /* スクロール可能に */
  transform: scale(0.9) translateY(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 767px) {
  .filter-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(720px, 90vw);
    height: auto;
    max-height: 90vh;
    border-radius: 16px;
  }
}

.filter-modal.active {
  transform: scale(1) translateY(1);
  opacity: 1;
}
@media screen and (min-width: 767px) {
  .filter-modal.active {
    transform: translate(-50%, -50%) scale(1);
  }
}

.filter-modal-header {
  position: fixed; /* スマホではfixedで固定 */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px;
  background: #eee;
  text-align: center;
  z-index: 10;
}
@media screen and (min-width: 767px) {
  .filter-modal-header {
    position: -webkit-sticky;
    position: sticky; /* PCではstickyに */
    top: 0;
    border-radius: 16px 16px 0 0;
  }
}

.form-group-wrap {
  padding-top: 93px; /* ヘッダーの高さ + 余白 */
  padding-bottom: 128px; /* フッターの高さ + 余白 */
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
  background: var(--bg);
}
@media screen and (min-width: 767px) {
  .form-group-wrap {
    padding: 30px 40px;
    gap: 30px;
  }
}

.form-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}
@media screen and (min-width: 767px) {
  .form-group-wrap {
    padding: 40px;
    gap: 30px;
  }
}

.form-actions {
  border-radius: 0 0 8px 8px;
  position: fixed; /* スマホではfixedで固定 */
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 24px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 10;
  border-top: 1px solid var(--border);
}
@media screen and (min-width: 767px) {
  .form-actions {
    border-top: 1px solid var(--border);
    position: relative; /* PCでは通常の配置に */
    bottom: auto;
    border-radius: 0 0 16px 16px;
    padding: 24px 0;
    box-shadow: none;
    background: var(--bg);
  }
}

input[type=date] {
  width: 100%; /* スマホでは幅100% */
}
@media screen and (min-width: 767px) {
  input[type=date] {
    width: 152px; /* PCでは幅152px */
  }
}

.filter-modal-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-default);
}

.close-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-button:hover {
  color: #333;
  background-color: #f5f5f5;
}

.filter-form {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  overflow-y: scroll;
}
@media screen and (min-width: 767px) {
  .filter-form {
    height: auto;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group__label {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-default);
}

select,
input[type=date] {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  background-color: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  background-color: var(--bg);
  background-image: url("../_images/top/ico_arrow-simple.svg");
  background-repeat: no-repeat;
  background-size: 24px auto; /* 画像のサイズ（幅 高さ）*/
  background-position: right 12px center; /* 画像の位置 */
  height: 48px; /* inputタグと高さを揃える */
  padding: 12px;
  padding-right: 40px; /* 矢印アイコンのスペースを確保 */
  border: 1px solid #ddd;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  height: 42px;
}

/* カレンダー入力フィールドのカスタマイズ */
input[type=date] {
  cursor: pointer;
  background-image: url("../_images/top/ico_calendar.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
  position: relative; /* 相対位置に設定 */
}

/* カレンダーアイコンを非表示にする（ブラウザのデフォルトUI） */
input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0; /* 透明にする */
  width: 40px; /* カレンダーアイコン部分の幅 */
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 1; /* 上に表示 */
}

select:focus,
input[type=date]:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* 日付入力フィールドの修正 */
input[type=date] {
  width: 100%; /* スマホでは幅100% */
  padding: 12px;
  padding-right: 40px; /* 右側の余白を確保 */
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background-color: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  background-image: url("../_images/top/ico_calendar.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  position: relative;
  height: 40px;
}
@media screen and (min-width: 767px) {
  input[type=date] {
    width: 152px; /* PCでは幅152px */
  }
}

/* 日付未設定時のプレースホルダー設定 */
input[type=date]::-webkit-datetime-edit {
  color: #333;
}

/* 値が空の時だけプレースホルダーを表示 */
input[type=date]:empty::-webkit-datetime-edit {
  color: #757575;
}

/* カレンダーアイコンを非表示にする（ブラウザのデフォルトUI） */
input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0; /* 透明にする */
  width: 40px; /* カレンダーアイコン部分の幅 */
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 1; /* 上に表示 */
}

/* date-rangeコンテナのスタイル改善 */
.date-range {
  display: flex;
  align-items: center;
  gap: 8px; /* 間隔を少し広げる */
  flex-wrap: wrap; /* スマホでの折り返しを許可 */
}
@media screen and (min-width: 767px) {
  .date-range {
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: nowrap; /* PCでは折り返さない */
  }
}

/* 日付選択の各コンポーネントのスタイル */
.date-range > div {
  flex: 1; /* スマホでは均等に幅を取る */
  min-width: 120px; /* 最小幅を設定 */
}
@media screen and (min-width: 767px) {
  .date-range > div {
    flex: 0 0 auto; /* PCでは自然な幅 */
  }
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
@media screen and (min-width: 767px) {
  .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-item input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #4a90e2;
}

.function-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: #f1f1f1;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  width: 140px;
  font-weight: bold;
}
@media screen and (min-width: 767px) {
  .function-button {
    width: 200px;
    font-size: 14px;
  }
}
.function-button.clear {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--link);
}
.function-button.search {
  background-color: var(--primary);
  color: white;
}

.clear-button {
  background-color: #f1f1f1;
  color: var(--link);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
  width: 139px;
}

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

.search-button {
  background-color: var(--primary);
  color: white;
  display: flex;
  border: none;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
  width: 139px;
}

/* もっと見るボタン */
.load-more-button {
  display: block;
  margin: 24px auto 0;
  background-color: var(--link);
  color: var(--textWhite);
  font-weight: bold;
  border: none;
  padding: 12px 40px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  width: min(327px, 100%);
}
@media screen and (min-width: 767px) {
  .load-more-button {
    margin: 40px auto 0;
    width: 600px;
  }
  .load-more-button:hover {
    opacity: 0.6;
  }
}

.load-more-button.hidden {
  display: none;
}

/* カードの表示/非表示を制御するクラス */
.event-card.hidden {
  display: none;
}

/* 検索条件表示エリア */
.active-filters {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
@media screen and (min-width: 767px) {
  .active-filters {
    margin: 40px auto;
    width: min(1100px, 100%);
  }
}

.active-filters.show {
  display: block;
}

.active-filters h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  background-color: #e8f0fb;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #4a90e2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-tag button {
  background: none;
  border: none;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #3a7bc8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.filter-tag button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* 検索結果なしのメッセージ */
.no-results {
  text-align: center;
  padding: 60px 0;
  font-size: 18px;
  color: #666;
  grid-column: 1/-1;
}

.no-results svg {
  color: #ccc;
  margin-bottom: 15px;
  width: 50px;
  height: 50px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 767px) {
  .slider-container {
    margin: auto;
    width: 1240px;
    bborder-radius: 16px;
  }
}

.slider {
  border-radius: 8px;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100.25%;
  overflow: hidden;
}
@media screen and (min-width: 767px) {
  .slider {
    border-radius: 16px;
    padding-bottom: 47.25%;
  }
}

/* 背景画像クラス */
/* スライドの背景 */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.slide-bg.mv1 {
  background-image: url("../_images/top/mv1.jpg");
  background-size: cover;
  background-position: 43% -28px;
  background-repeat: no-repeat;
  transform: scale(1.2);
}
@media screen and (min-width: 767px) {
  .slide-bg.mv1 {
    background-position: 0 -106px;
  }
}
.slide-bg.mv2 {
  background-image: url("../_images/top/mv2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.slide-bg.mv3 {
  background-image: url("../_images/top/mv3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.slide-bg.mv4 {
  position: absolute;
  background-image: url("../_images/top/mv4.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

/* When paused, stop all animations */
.slide.active.paused .slide-bg {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

/* アクティブなスライドの背景にアニメーション効果を適用 */
.slide.active .slide-bg {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

/* 状態に応じたスタイル */
.js-slide[data-state=entering] {
  z-index: 2; /* 入場中のスライドを最前面に */
}

.js-slide[data-state=active] {
  z-index: 1; /* アクティブなスライドは入場中のものの下に */
}

.js-slide[data-state=exiting] {
  z-index: 0; /* 退場中のスライドは最背面に */
  opacity: 0;
}

.js-slide[data-state=inactive] {
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

/* プログレスバー - タイトルと同じ幅 */
.title-progress-container {
  width: 94%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  overflow: hidden;
}
@media screen and (min-width: 767px) {
  .title-progress-container {
    width: 495px;
    margin: 0 0 20px;
  }
}

.title-progress-fill {
  height: 100%;
  width: 45%;
  background-color: rgb(234, 32, 39); /* 赤色のプログレスバー */
  transition: width 0.1s linear;
}

/* インジケーターの基本スタイル */
.indicators {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
@media screen and (min-width: 767px) {
  .indicators {
    gap: 8px;
  }
}

/* 中央のドット */
.indicator-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 円形プログレス */
.circle-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

/* アクティブなインジケーターのみプログレスを表示 */
.indicator.active .circle-progress {
  display: block;
}

.circle-progress svg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* 開始位置を12時の位置に */
}

.circle-progress circle {
  fill: none;
  stroke: white;
  stroke-width: 1px;
  stroke-linecap: round;
  stroke-dasharray: 44; /* 円周の長さ (モバイル用) */
  stroke-dashoffset: 44; /* 初期状態では完全に隠れた状態 */
}

/* CSS アニメーションのフォールバック (Web Animations API が使えない場合) */
@-webkit-keyframes drawCircle {
  0% {
    stroke-dashoffset: 44; /* 初期状態では線が見えない */
  }
  100% {
    stroke-dashoffset: 0; /* 最終状態では完全な円 */
  }
}
@keyframes drawCircle {
  0% {
    stroke-dashoffset: 44; /* 初期状態では線が見えない */
  }
  100% {
    stroke-dashoffset: 0; /* 最終状態では完全な円 */
  }
}
.pause-btn {
  padding: 0;
  background-color: rgba(100, 100, 100, 0);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 8px;
}

.pause-btn-icon {
  flex-shrink: 0;
  height: auto;
  display: block;
}

.content-area {
  position: relative;
  z-index: 100;
  padding: 24px 0 0;
  background: #000;
  margin-left: 14px;
}
@media screen and (min-width: 767px) {
  .content-area {
    margin-left: 0;
    background: transparent;
    padding: 0;
    position: absolute;
    left: 40px;
    bottom: 124px;
    width: 543px;
  }
}
.content-area__inner {
  width: min(327px, 100%);
}
@media screen and (min-width: 767px) {
  .content-area__inner {
    margin: auto;
    width: auto;
    text-shadow: 0px 0px 4px #000, 0px 0px 30px #000, 0px 0px 8px #000;
  }
}

.slide-title {
  font-size: min(6.933vw, 26px);
  margin-bottom: 10px;
  color: var(--textWhite);
  font-weight: bold;
  letter-spacing: -1.56px;
}
@media screen and (min-width: 767px) {
  .slide-title {
    margin-bottom: 0;
    font-size: 40px;
    letter-spacing: -2.4px;
    text-align: left;
    max-width: 495px;
  }
}

.slide-description {
  font-size: min(4.8vw, 18px);
  font-weight: bold;
  color: var(--textWhite);
}
@media screen and (min-width: 767px) {
  .slide-description {
    font-size: 24px;
  }
}

.controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
@media screen and (min-width: 767px) {
  .controls {
    right: auto;
    left: 40px;
    bottom: 40px;
  }
}

.js-slide {
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/*# sourceMappingURL=top.css.map */