@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.gym-single,
.gym-archive {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.gym-single__title,
.gym-archive__title {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.gym-archive__lead {
  color: #555;
  margin-bottom: 32px;
}

.gym-single__terms,
.gym-card__terms,
.gym-card__features,
.gym-single__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.gym-chip,
.gym-feature-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f8ff;
  color: #2f6fed;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.gym-feature-chip {
  background: #f7f7f7;
  color: #333;
}

.gym-single__thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 20px 0;
}

.gym-single__cta {
  margin: 24px 0;
}

.gym-cta-button,
.gym-official-button,
.gym-detail-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.gym-cta-button,
.gym-official-button {
  background: #2f6fed;
  color: #fff;
}

.gym-detail-button {
  background: #f3f8ff;
  color: #2f6fed;
}

.gym-section {
  margin: 36px 0;
}

.gym-section h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.gym-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.gym-info-table th,
.gym-info-table td {
  border: 1px solid #e5eaf0;
  padding: 14px;
  vertical-align: top;
}

.gym-info-table th {
  width: 28%;
  background: #f8fafc;
  font-weight: 700;
}

.gym-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.gym-card {
  border: 1px solid #e5eaf0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.gym-card__thumb {
  display: block;
  background: #f3f8ff;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gym-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gym-card__noimage {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f6fed;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.gym-card__body {
  padding: 18px;
}

.gym-card__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.gym-card__title a {
  color: inherit;
  text-decoration: none;
}

.gym-card__address,
.gym-card__fee {
  margin: 10px 0;
  color: #555;
  font-size: 0.95rem;
}

.gym-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.gym-pagination {
  margin: 36px 0;
}

@media (max-width: 768px) {
  .gym-info-table th,
  .gym-info-table td {
	display: block;
	width: 100%;
  }

  .gym-card-list {
	grid-template-columns: 1fr;
  }
}

.gym-taxonomy {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.gym-taxonomy__header {
  margin-bottom: 32px;
  padding: 28px 24px;
  border-radius: 20px;
  background: #f5f9ff;
}

.gym-taxonomy__label {
  display: inline-block;
  margin-bottom: 10px;
  color: #2f6fed;
  font-weight: 700;
  font-size: 0.9rem;
}

.gym-taxonomy__title {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.gym-taxonomy__lead {
  color: #555;
  line-height: 1.8;
}

.gym-taxonomy__description {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dbe3ea;
  color: #444;
  line-height: 1.8;
}

.gym-empty {
  padding: 32px;
  border-radius: 16px;
  background: #f8fafc;
}

.gym-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gym-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gym-card__actions {
  margin-top: auto;
}