:root {
		--main-color: #ff0000;
}
body {
		padding-top: 82px;
}
@media (max-width: 767.98px) {
	
	body {
			padding-top: 64px;
	}

}

.navbar {
		background-color: var(--main-color);
}
.card {
		margin-bottom: 20px;
		position: relative;
}
.card-point-overlay {
		position: absolute;
		top: 10px;
		right: 10px;
		background-color: rgba(0,0,0,0.7);
		color: white;
		border-radius: 5px;
		padding: 5px;
		font-size: 0.9em;
}
.progress {
		height: 10px;
}
.navbar-brand img {
		height: 60px;
}


.news-list {
		list-style-type: none;
		padding-left: 0;
}
.news-list li {
		margin-bottom: 10px;
}
.news-date {
		font-weight: bold;
		margin-right: 10px;
}
#categoryButtons {
		margin-bottom: 20px;
}
#categoryButtons .btn {
		margin: 0 5px 10px 5px;
}
.content {
		flex: 1 0 auto;
}
footer {
		background-color: var(--main-color);
		color: white;
		padding: 20px 0;
		margin-top: 20px;
}
footer a {
		color: white;
		text-decoration: none;
}
footer a:hover {
		color: #f8f9fa;
		text-decoration: underline;
}
.section-title {
		text-align: center;
		margin-bottom: 30px;
		font-weight: bold;
		color: #000;
}
.news-section {
		background-color: #f8f9fa;
		border-radius: 10px;
		padding: 20px;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		margin-bottom: 20px;
}
.news-list {
		list-style-type: none;
		padding-left: 0;
}
.news-list li {
		margin-bottom: 15px;
		padding-bottom: 15px;
		border-bottom: 1px solid #e9ecef;
}
.news-list li:last-child {
		border-bottom: none;
		margin-bottom: 0;
		padding-bottom: 0;
}
.news-date {
		font-weight: bold;
		margin-right: 10px;
		color: #000; /* 日付の色を黒に変更 */
}
.news-link {
		color: #000; /* タイトルの色を黒に変更 */
		text-decoration: none;
}
.news-link:hover {
		text-decoration: underline;
}

.news-content {
    line-height: 1.6;
    margin-bottom: 20px;
}


/* お知らせ詳細ページのスタイル */
.news-article {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.news-header {
    background-color: var(--main-color);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.news-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.news-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.news-content {
    line-height: 1.8;
    padding: 2rem;
    font-size: 1.1rem;
}

/* パンくずリストのスタイル */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* ボタンのスタイル */
.btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary:hover {
    background-color: #d90000;
    border-color: #d90000;
}



/* ヘッダーのスタイル */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand img {
    height: 58px;
}

@media (max-width: 767.98px) {
    .navbar-brand img {
				height: 40px;
		}
}


.search-form {
    max-width: 300px;
}

.search-input {
    height: calc(2rem + 2px);
    font-size: 0.9rem;
}

.search-btn {
    border-color: #fff;
    color: #fff;
    padding: 0.25rem 0.5rem;
}

.search-btn:hover {
    background-color: #fff;
    color: var(--main-color);
}

.nav-buttons .btn {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
}

@media (max-width: 991.98px) {
    .search-form {
        margin-bottom: 1rem;
    }
    
    .nav-buttons {
        display: flex;
        justify-content: center;
    }
}

.content{
	min-height:75vh;
}

 @keyframes glow {
    0% { box-shadow: 0 0 2px gold; }
    50% { box-shadow: 0 0 7px gold, 0 0 10px gold; }
    100% { box-shadow: 0 0 2px gold; }
  }

  @keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }

  .last-one-prize {
    position: relative;
    animation: glow 0.8s infinite;
  }

  /*.card-text .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    margin-left: 0.5rem;
    vertical-align: middle;
  }*/

  .last-one-label {
    animation: blink 1s infinite;
  }