* {
    /*margin: 0;*/
    /*padding: 0;*/
    /*box-sizing: border-box;*/
}

body {
    /*font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;*/
    /*line-height: 1.6;*/
    /*color: #333;*/
    /*background-color: #fafafa;*/
}

.header {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    /*color: white;*/
    /*padding: 2rem 0;*/
    /*text-align: center;*/
    /*box-shadow: 0 4px 6px rgba(0,0,0,0.1);*/
}

.header h1 {
    /*font-size: 2.5rem;*/
    /*margin-bottom: 0.5rem;*/
    /*font-weight: 300;*/
}

.header p {
    /*font-size: 1.1rem;*/
    /*opacity: 0.9;*/
}

.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;

}

.controls {
    background: #FFF;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.control-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;

}

.control-group {
    flex: 1;
    min-width: 200px;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    /*color: #555;*/
}

.control-group input {
    width: 90%;
    /*padding: 0.75rem;*/
    padding: 0.5rem;
    border: 2px solid #f5f5f5;
    border-radius: 4px;
    /*font-size: 1rem;*/
    font-size: 0.8rem;
    transition: border-color 0.3s;
}

.control-group select {
    width: 100%;
    /*padding: 0.75rem;*/
    padding: 0.5rem;
    border: 2px solid #f5f5f5;
    border-radius: 4px;
    /*font-size: 1rem;*/
    font-size: 0.8rem;
    transition: border-color 0.3s;
}

.control-group input:focus,
.control-group select:focus {
    outline: none;
    border-color: #f5f5f5;
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f5f5f5;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-group label {
    font-weight: 500;
    /*color: #555;*/
    font-size: 0.9rem;
}

.sort-group select {
    padding: 0.5rem;
    border: 2px solid #f5f5f5;
    border-radius: 2px;
    font-size: 0.9rem;
    min-width: 90px;
}

.btn-clear {
    background: #ff00ff;
    color: white;
    /*padding: 0.75rem 1.5rem;*/
    padding: 10px 40px 10px 30px;
    border: none;
    border-radius: 25px;
   /* font-size: 1rem;*/
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btnarrow1::after{
    content: '';
    position: absolute;
    top:42%;
    right:23px;
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: all .3s;
    letter-spacing: 1px;
}

.btnarrow1:hover::after{ right: 15px;}


.btn-clear:hover {
    background: #ffa8ec;
    transform: translateY(-1px);
}

.btn-small {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-small.btn-primary {
    /*background: #667eea;*/
    background: #ff00ff;
    color: white;
}

.btn-small.btn-primary:hover {
    /*background: #5a67d8;*/
    background: #ffa8ec;
}

.btn-small.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-small.btn-secondary:hover {
    background: #cbd5e0;
}

.results-info {
    margin: 1rem 0;
    padding: 1rem;
    background: #f0f4f8;
    border-radius: 8px;
    font-weight: 600;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.3rem;
    margin: 2rem 0;
}

.award-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    cursor: pointer;
}

.award-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.award-image {
    width: 100%;
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.8rem;
}

.award-content {
    padding: 1.5rem;
}

.award-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-award {
    /*background: #ffeaa7;*/
    /*color: #d63031;*/
    background: #f5f5f5;
    color: #2d3748;
}

.badge-category {
    /*background: #74b9ff;*/
    background: #f5f5f5;
    color: #2d3748;
}

.badge-year {
    /*background: #e17055;*/
    /*background: #ce1e16;*/
    /*color: white;*/
    background: #f5f5f5;
    color: #2d3748;
}

.award-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #2d3748;
    line-height: 1.8;
}

.award-author {
    /*color: #718096;*/
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.award-description {
    color: #4a5568;
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
}

.modal-close:hover {
    background: #e2e8f0;
}

.modal-image {
    width: 100%;
    height: 300px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.modal-body {
    padding: 2rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .control-row {
        flex-direction: column;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .modal {
        padding: 1rem;
    }
}
/* ページネーション関連のスタイル */
.pagination-controls {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.load-more-btn {
    /*background: #667eea;*/
    background: #ff00ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.load-more-btn:hover:not(:disabled) {
    /*background: #5a67d8;*/
    background: #ffa8ec;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.load-more-btn:active:not(:disabled) {
    transform: translateY(0);
}

.load-more-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 読み込み中のアニメーション */
.load-more-btn:disabled::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 結果情報の改善 */
.results-info {
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: #f0f4f8;
    border-radius: 4px;
    color: #333;
    /*border-left: 4px solid #667eea;*/
    border-left: 3px solid #474747;
}
/* ページネーション関連のスタイル */
.pagination-controls {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.load-more-btn {
    /*background: #667eea;*/
    background: #ff00ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.load-more-btn:hover:not(:disabled) {
    /*background: #5a67d8;*/
    background: #ffa8ec;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.load-more-btn:active:not(:disabled) {
    transform: translateY(0);
}

.load-more-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 読み込み中のアニメーション */
.load-more-btn:disabled::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 結果情報の改善 */
.results-info {
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: #f0f4f8;
    border-radius: 4px;
    color: #333;
    /*border-left: 4px solid #667eea;*/
    border-left: 3px solid #474747;
}

/* 遅延読み込み用画像スタイル */
.lazy-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, rgba(255,255,255,0.5) 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.lazy-loaded {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes shimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* ページネーション関連のスタイル */
.pagination-controls {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.load-more-btn {
    /*background: #667eea;*/
    background: #ff00ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.load-more-btn:hover:not(:disabled) {
    /*background: #5a67d8;*/
    background: #ffa8ec;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.load-more-btn:active:not(:disabled) {
    transform: translateY(0);
}

.load-more-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 読み込み中のアニメーション */
.load-more-btn:disabled::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 結果情報の改善 */
.results-info {
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: #f0f4f8;
    border-radius: 0px;
    color: #333;
    /*border-left: 4px solid #667eea;*/
    border-left: 3px solid #474747;
}

/* 遅延読み込み用画像スタイル */
.lazy-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, rgba(255,255,255,0.5) 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.lazy-loaded {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes shimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* スクロールトップボタン */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
   /* background: #667eea;*/
    background: #ff00ff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-to-top:hover {
    /*background: #5a67d8 !important;*/
    background: #ffa8ec !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
}

#scroll-to-top:active {
    transform: translateY(0) !important;
    transition: transform 0.1s ease;
}

/* スマホ対応 */
@media (max-width: 768px) {
    #scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}