/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.navbar {
  background-color: #333;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.navbar-brand {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
}

.navbar-brand:hover {
  color: #ddd;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  white-space: nowrap;
}

.navbar-link:hover {
  background-color: #555;
  color: white;
}

/* フラッシュメッセージのスタイルも調整 */
.flash-notice, .flash-alert {
  margin: 0 auto 1rem auto;
  max-width: 1200px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.flash-notice {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.flash-alert {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.main-content {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Shops styling */
.shops-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-title {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  border-bottom: 3px solid #007bff;
  padding-bottom: 1rem;
}

.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.shop-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

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

.shop-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.shop-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.shop-body {
  padding: 1.5rem;
}

.shop-email {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 0.9rem;
}

.email-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.shop-actions {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.shops-count {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  color: #666;
}

.no-shops {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  color: #666;
}

.no-shops-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-shops h2 {
  color: #333;
  margin-bottom: 1rem;
}

/* User info styling improvements */
.user-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
}

.user-info p {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.actions input[type="submit"] {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.actions input[type="submit"]:first-child {
  background-color: #007bff;
  color: white;
}

.actions input[type="submit"]:first-child:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.actions input[type="submit"]:last-child {
  background-color: #dc3545;
  color: white;
}

.actions input[type="submit"]:last-child:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

/* Shop detail styling */
.shop-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shop-detail-title {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  border-bottom: 3px solid #007bff;
  padding-bottom: 1rem;
}

.shop-detail-info {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.info-item strong {
  min-width: 150px;
  color: #333;
  margin-right: 1rem;
}

.info-item .email-icon {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.shop-actions {
  text-align: center;
  margin-top: 2rem;
}

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

.btn-secondary:hover {
  background-color: #545b62;
  transform: translateY(-2px);
}

.error-message {
  text-align: center;
  padding: 2rem;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  color: #721c24;
  max-width: 600px;
  margin: 2rem auto;
}

.persons-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.persons-section h2 {
  color: #333;
  margin-bottom: 1rem;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
}

.persons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.person-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #dee2e6;
}

.person-card h3 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 1.1rem;
}

.person-card p {
  margin: 0;
  color: #666;
}

.no-persons {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 2rem;
}

/* Profile image styling */
.shop-image {
  margin-bottom: 1rem;
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shop-profile-image {
  text-align: center;
  margin-bottom: 2rem;
}

.shop-main-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.person-image {
  text-align: center;
  margin-bottom: 1rem;
}

.person-profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #007bff;
}

.user-profile-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.user-main-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #007bff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-actions {
  text-align: center;
  margin-top: 1rem;
}

.btn-info {
  background-color: #17a2b8;
  color: white;
}

.btn-info:hover {
  background-color: #138496;
  transform: translateY(-2px);
}

/* Rating styling */
.shop-rating {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.rating-stars {
  color: #ffc107;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.rating-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.rating-count {
  color: #666;
  margin-left: 0.5rem;
}

/* Comment form styling */
.comment-form-section {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-form-section h2 {
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.rating-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.character-count {
  display: block;
  text-align: right;
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.submit-review {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.submit-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.login-prompt {
  text-align: center;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dee2e6;
  margin: 2rem 0;
}

.login-prompt p {
  margin-bottom: 1rem;
  color: #666;
  font-size: 1.1rem;
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid #007bff;
  color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-2px);
}

/* Comments section styling - 改善版 */
.comments-section {
  margin: 3rem 0;
}

.comments-section h2 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.75rem;
  border-bottom: 3px solid #007bff;
  padding-bottom: 0.5rem;
  text-align: center;
}

.comments-list {
  margin-top: 1.5rem;
}

.comment-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.comment-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comment-user {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.comment-rating {
  color: #ffc107;
  font-size: 1.1rem;
  font-weight: 500;
}

.rating-number {
  color: #666;
  font-size: 0.9rem;
  margin-left: 0.25rem;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comment-date {
  color: #888;
  font-size: 0.875rem;
}

.comment-delete {
  color: #dc3545;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.comment-delete:hover {
  background-color: #f8d7da;
  text-decoration: none;
}

.comment-content {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

.no-comments {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  color: #666;
}

.no-comments-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.no-comments p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.no-comments p:first-of-type {
  font-weight: 600;
  color: #555;
}

/* Error messages styling */
.error-messages {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.error-messages h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.error-messages ul {
  margin-bottom: 0;
  padding-left: 1.5rem;
}

.error-messages li {
  margin-bottom: 0.25rem;
}

/* Welcome screen styling */
.welcome-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.welcome-content h2 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.welcome-description {
  color: #666;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Search form styling improvements */
.search-form {
  margin-bottom: 3rem;
}

.search-input-group {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1.1rem;
  outline: none;
  background: transparent;
}

.search-input::placeholder {
  color: #999;
}

.search-button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-button:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateX(-2px);
}

/* Responsive design for welcome screen */
@media (max-width: 768px) {
  .welcome-content h2 {
    font-size: 2rem;
  }
  
  .welcome-description {
    font-size: 1.1rem;
  }
  
  .welcome-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .search-input-group {
    flex-direction: column;
    border-radius: 12px;
  }
  
  .search-button {
    border-radius: 0 0 12px 12px;
  }
}

/* Hotpepper section styling */
.hotpepper-section {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #fff5f5, #fef2f2);
  border-radius: 16px;
  border: 1px solid #fecaca;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hotpepper-section h2 {
  color: #dc2626;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 3px solid #dc2626;
  padding-bottom: 0.5rem;
}

.hotpepper-fallback-notice {
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  color: #92400e;
}

.hotpepper-shops {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.hotpepper-shop-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #fecaca;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hotpepper-shop-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #fecaca;
}

.hotpepper-shop-header h3 {
  color: #dc2626;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.hotpepper-genre {
  display: inline-block;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.hotpepper-shop-info {
  margin-bottom: 1.5rem;
}

.hotpepper-catch {
  color: #374151;
  font-style: italic;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #dc2626;
}

.hotpepper-address,
.hotpepper-hours,
.hotpepper-budget,
.hotpepper-access {
  margin-bottom: 0.75rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hotpepper-address strong,
.hotpepper-hours strong,
.hotpepper-budget strong,
.hotpepper-access strong {
  color: #dc2626;
  margin-right: 0.5rem;
}

.hotpepper-shop-actions {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #fecaca;
}

.btn-hotpepper {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-hotpepper:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  color: white;
  text-decoration: none;
}

.hotpepper-source {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #fecaca;
}

.hotpepper-source small {
  color: #6b7280;
  font-size: 0.85rem;
}

.hotpepper-source a {
  color: #dc2626;
  text-decoration: none;
}

.hotpepper-source a:hover {
  text-decoration: underline;
}

.hotpepper-error {
  text-align: center;
  padding: 2rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
}

.hotpepper-error p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hotpepper-error small {
  color: #9ca3af;
  font-size: 0.85rem;
}

.hotpepper-no-results {
  text-align: center;
  padding: 2rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
}

.hotpepper-no-results p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hotpepper-no-results small {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Responsive design for Hotpepper section */
@media (max-width: 768px) {
  .hotpepper-shops {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hotpepper-section {
    padding: 1.5rem 1rem;
  }
  
  .hotpepper-shop-card {
    padding: 1rem;
  }
}

/* 電話番号リンクのスタイル */
.phone-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.phone-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* ページネーションのスタイル */
.pagination-container {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
}

.pagination-info {
  text-align: center;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.pagination-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background-color: #f8f9fa;
  color: #007bff;
  text-decoration: none;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background-color: #e9ecef;
  color: #0056b3;
  text-decoration: none;
  border-color: #adb5bd;
}

.pagination-link.current {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  font-weight: 500;
}

.pagination-link.current:hover {
  background-color: #0056b3;
  color: white;
}

.pagination-ellipsis {
  padding: 0.5rem 0.25rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.prev-link,
.next-link {
  font-weight: 500;
}

/* 矢印アイコンのスタイル */
.arrow-icon {
  display: inline-block;
  margin: 0 0.25rem;
  font-size: 1rem;
  vertical-align: middle;
}

.arrow-icon.large {
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

/* ページネーション情報の矢印ヒント */
.pagination-arrow-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #6c757d;
}

/* 下向き矢印ナビゲーション */
.pagination-arrow-nav {
  margin-top: 1.5rem;
  text-align: center;
}

.arrow-nav-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border: 2px dashed #2196f3;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #1976d2;
  font-weight: 500;
}

.arrow-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  text-decoration: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 200px;
}

.arrow-nav-button:hover {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

.arrow-nav-button.disabled {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
  color: #f5f5f5;
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(158, 158, 158, 0.3);
}

.arrow-nav-button.disabled:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(158, 158, 158, 0.3);
}

.button-text {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.hint-text {
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

/* ページネーションリンクの矢印スタイル改善 */
.pagination-link .arrow-icon {
  font-size: 0.9rem;
}

.prev-link .arrow-icon {
  margin-right: 0.25rem;
}

.next-link .arrow-icon {
  margin-left: 0.25rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pagination-links {
    gap: 0.25rem;
  }
  
  .pagination-link {
    padding: 0.375rem 0.5rem;
    margin: 0 0.125rem;
    font-size: 0.8rem;
  }
  
  .pagination-info {
    font-size: 0.8rem;
  }
  
  .pagination-arrow-hint {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  
  .arrow-nav-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-width: 150px;
  }
  
  .arrow-icon.large {
    font-size: 1.25rem;
  }
  
  .hint-text {
    font-size: 0.8rem;
  }
  
  .button-text {
    font-size: 0.8rem;
  }
}
