/* パーソナルトレーニング特集ページ - モバイルファースト */

/* パンくずリスト（ジム詳細ページと同様） */
.breadcrumbs {
  margin-top: 70px;
  padding: 10px 15px;
}

.breadcrumbs ul {
  display: flex;
  align-items: center;
}

.breadcrumbs ul li {
  margin-right: 5px;
  font-size: 12px;
  color: #2D463F;
}

.breadcrumbs ul span {
  content: "";
  display: block;
  width: 12px;
  height: 1px;
  background-color: #92a29d;
  margin-right: 5px;
}

.breadcrumbs ul li a {
  color: #2D463F;
  text-decoration: underline;
  font-size: 12px;
}

.breadcrumbs ul li a:hover {
  color: #3ACCA3;
}

.special-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('/personal_training.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 15px;
  text-align: center;
  color: #fff;
  position: relative;
}

.special-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.special-header-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.special-header h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.special-header p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.stats {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stats:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(2px);
}

.gym-count {
  font-size: 14px;
  font-weight: bold;
  color: #3ACCA3;
}

.stats .arrow-down {
  font-size: 14px;
  color: #3ACCA3;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(3px);
  }
  60% {
    transform: translateY(2px);
  }
}

/* 情報セクション */
.info-section {
  background-color: #fff;
  padding: 40px 15px;
}

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

.info-block {
  margin-bottom: 60px;
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-block h2 {
  font-size: 20px;
  font-weight: bold;
  color: #2D463F;
  margin-bottom: 30px;
  border-bottom: 2px solid #E0F7F2;
  padding-bottom: 7px;
}

/* 記事コンテンツ */
.article-content {
  line-height: 1.7;
}

.intro-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.intro-text strong {
  color: #2D463F;
  font-weight: bold;
}

/* おすすめする人セクション - コンパクト版 */
.recommended-block {
  background-color: #F0F9F7;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 40px;
}

.recommended-block h2 {
  font-size: 16px;
  font-weight: bold;
  color: #3ACCA3;
  margin-bottom: 15px;
  border-bottom: none;
  padding-bottom: 0;
}

.recommended-people-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.recommended-people-compact li {
  font-size: 14px;
  line-height: 1.6;
  color: #2D463F;
  padding: 0;
  background: none;
  border: none;
  font-weight: normal;
  transition: none;
  display: flex;
  align-items: flex-start;
}

.recommended-people-compact li .bullet {
  color: #3ACCA3;
  margin-right: 5px;
  flex-shrink: 0;
}

.recommended-people-compact li:hover {
  background: none;
  transform: none;
}

/* 詳細なメリットセクション */
.benefits-detailed {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-detailed {
  border: 1px solid #E0F7F2;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.benefit-header {
  background: linear-gradient(135deg, #F8FDFC, #E0F7F2);
  padding: 20px;
  border-bottom: 1px solid #E0F7F2;
}

.benefit-header h3 {
  font-size: 16px;
  font-weight: bold;
  color: #3ACCA3;
  margin: 0;
  text-align: center;
}

.benefit-body {
  padding: 25px;
}

.benefit-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.benefit-list li::before {
  content: "\f00c";
  font-family: "Line Awesome Free";
  font-weight: 900;
  color: #3ACCA3;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-list li:last-child {
  margin-bottom: 0;
}

/* 詳細な選び方セクション */
.selection-detailed {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.selection-item {
  border: 1px solid #E0F7F2;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.selection-header {
  background: linear-gradient(135deg, #3ACCA3, #2EA382);
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.point-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.selection-header h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.selection-body {
  padding: 25px;
}

.selection-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.check-points {
  background-color: #FAFFFE;
  border: 1px solid #E0F7F2;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.check-points h4 {
  font-size: 16px;
  font-weight: bold;
  color: #2D463F;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-points h4::before {
  content: "📋";
  font-size: 18px;
}

.check-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.check-points li::before {
  content: "▸";
  color: #3ACCA3;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-points li:last-child {
  margin-bottom: 0;
}

/* まとめセクション */
.conclusion {
  margin-top: 40px;
  padding: 25px;
  background: linear-gradient(135deg, #F8FDFC, #E0F7F2);
  border-radius: 15px;
  border: 1px solid #B6F0E0;
}

.conclusion h3 {
  font-size: 18px;
  font-weight: bold;
  color: #2D463F;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.conclusion h3::before {
  content: "💡";
  font-size: 20px;
}

.conclusion p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* より大きいモバイル用の調整 */
@media (min-width: 414px) {
  .info-block h2 {
    font-size: 22px;
  }
  
  .benefit-header h3,
  .selection-header h3 {
    font-size: 19px;
  }
  
  .intro-text {
    font-size: 16px;
  }
  
  .benefit-body p,
  .selection-body p {
    font-size: 16px;
  }
}

/* 地域別見出しセクション */
.region-header-section {
  background-color: #fff;
  padding: 30px 15px 20px;
  text-align: center;
}

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

.region-header-section h2 {
  font-size: 22px;
  font-weight: bold;
  color: #2D463F;
  margin: 0;
  position: relative;
  display: inline-block;
}

.region-header-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3ACCA3;
  border-radius: 2px;
}

/* フィルターセクション */
.filter-section {
  background-color: #fff;
  padding: 20px 15px;
  border-bottom: 1px solid #E0E0E0;
}

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

.filter-section h2 {
  font-size: 16px;
  font-weight: bold;
  color: #2D463F;
  margin-bottom: 15px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-select {
  width: 100%;
  height: 42px;
  padding: 0 15px;
  padding-right: 40px;
  border: 1px solid #D0EFE6;
  border-radius: 21px;
  background-color: #fff;
  color: #2D463F;
  font-size: 14px;
  outline: none;
  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='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.filter-select:focus {
  border-color: #3ACCA3;
  box-shadow: 0px 3px 10px 0px rgba(58, 204, 163, 0.3);
}

/* ジム一覧セクション */
.gym-list-section {
  background-color: #F8FDFC;
  padding: 30px 15px;
}

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

.loading {
  text-align: center;
  padding: 40px;
  color: #2D463F;
}

.gym-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gym-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gym-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gym-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gym-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gym-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gym-card:hover .gym-img {
  transform: scale(1.05);
}

.gym-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(58, 204, 163, 0.9);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.gym-info {
  padding: 20px;
}

.gym-name {
  font-size: 18px;
  font-weight: bold;
  color: #2D463F;
  margin-bottom: 8px;
  line-height: 1.3;
}

.gym-location {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.gym-price {
  font-size: 16px;
  font-weight: bold;
  color: #FF8C00;
  margin-bottom: 12px;
}

.gym-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #E0E0E0;
  font-size: 14px;
}

.star.filled {
  color: #FFD700;
}

.rating-score {
  font-size: 14px;
  font-weight: bold;
  color: #2D463F;
}

.review-count {
  font-size: 12px;
  color: #999;
}

.gym-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  background-color: #F0F9F7;
  color: #3ACCA3;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #B6F0E0;
}

/* CTAセクション */
.cta-section {
  background-color: #2D463F;
  color: #fff;
  padding: 40px 15px;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-block;
  background-color: #3ACCA3;
  color: #fff;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #2EA382;
  transform: translateY(-1px);
}

/* より小さいデバイス用の調整 */
@media (max-width: 359px) {
  .special-header {
    padding: 50px 10px;
  }
  
  .special-header h1 {
    font-size: 22px;
  }
  
  .filter-section,
  .gym-list-section,
  .cta-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .gym-info {
    padding: 15px;
  }
  
  .gym-name {
    font-size: 16px;
  }
}

/* より大きいモバイル用の調整 */
@media (min-width: 414px) {
  .special-header h1 {
    font-size: 26px;
  }
  
  .gym-grid {
    gap: 25px;
  }
  
  .gym-card {
    border-radius: 15px;
  }
  
  .gym-image {
    height: 220px;
  }
}

/* タブレット以上で2列表示 */
@media (min-width: 768px) {
  .gym-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .gym-list-content {
    max-width: 1000px;
  }
}