:root {
  --green: #1a7a4a;
  --green-light: #2ea865;
  --green-pale: #e8f5ee;
  --green-dark: #145e38;
  --accent: #f0a500;
  --text: #1e2d24;
  --text-light: #5a6e62;
  --border: #ddeee5;
  --bg: #f7fbf9;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(26,122,74,0.10);
  --shadow-lg: 0 6px 32px rgba(26,122,74,0.15);
  --radius: 10px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); }

img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.site-logo {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--green-dark); line-height: 1.2;
}
.site-logo span { display: block; font-size: 0.65rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.05em; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { font-size: 0.88rem; font-weight: 500; color: var(--text); padding: 4px 0; border-bottom: 2px solid transparent; transition: all .2s; }
nav a:hover { color: var(--green); border-bottom-color: var(--green); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 64px 20px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; position: relative; }
.hero p { font-size: 1rem; opacity: 0.9; max-width: 560px; margin: 0 auto 28px; position: relative; }
.hero-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.8rem; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 16px; position: relative;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  font-size: 0.8rem; color: var(--text-light);
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--green); }
.breadcrumb-inner span { color: #aaa; }

/* ===== MAIN LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding: 40px 0 60px; }
.layout-full { padding: 40px 0 60px; }

/* ===== SECTION TITLE ===== */
.sec-title {
  font-size: 1.35rem; font-weight: 700; color: var(--green-dark);
  border-left: 4px solid var(--green); padding-left: 12px;
  margin-bottom: 24px;
}
.sec-title-center { text-align: center; border-left: none; padding-left: 0; margin-bottom: 8px; }
.sec-subtitle { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 180px; object-fit: cover; background: var(--green-pale); display: flex; align-items: center; justify-content: center; }
.card-img-placeholder {
  width: 100%; height: 180px; background: linear-gradient(135deg, var(--green-pale), #d0eedd);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--green);
}
.card-body { padding: 18px; }
.card-tag { font-size: 0.72rem; font-weight: 600; color: var(--green); background: var(--green-pale); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.card-title { font-size: 0.98rem; font-weight: 700; line-height: 1.5; margin-bottom: 8px; color: var(--text); }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--green); }
.card-desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 0.78rem; color: var(--text-light); }

/* ===== GYM DETAIL CARD ===== */
.gym-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 28px;
  margin-bottom: 32px; box-shadow: var(--shadow);
}
.gym-card h2 { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); margin-bottom: 16px; }
.gym-info-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.gym-info-table th { background: var(--green-pale); color: var(--green-dark); font-weight: 600; padding: 10px 14px; text-align: left; border: 1px solid var(--border); width: 28%; }
.gym-info-table td { padding: 10px 14px; border: 1px solid var(--border); background: var(--white); }

/* ===== RECOMMEND BADGE ===== */
.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-weight: 700; font-size: 1rem; margin-right: 10px; flex-shrink: 0;
}
.rank-1 { background: #f0a500; color: #fff; }
.rank-2 { background: #9aa8b0; color: #fff; }
.rank-3 { background: #b87333; color: #fff; }
.rank-other { background: var(--green-pale); color: var(--green-dark); }

/* ===== POINT BOX ===== */
.point-box {
  background: var(--green-pale); border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 24px 0;
}
.point-box h3 { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.point-box ul { padding-left: 20px; }
.point-box li { font-size: 0.88rem; margin-bottom: 4px; color: var(--text); }

/* ===== CTA BOX ===== */
.cta-box {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; margin: 32px 0;
}
.cta-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.cta-box p { font-size: 0.88rem; opacity: 0.9; margin-bottom: 20px; }
.cta-btn {
  display: inline-block; background: var(--accent); color: var(--white);
  font-weight: 700; font-size: 0.95rem; padding: 12px 32px;
  border-radius: 40px; transition: all .2s; box-shadow: 0 4px 16px rgba(240,165,0,0.4);
}
.cta-btn:hover { background: #e09400; transform: translateY(-2px); color: var(--white); }
.cta-btn-green {
  display: inline-block; background: var(--white); color: var(--green-dark);
  font-weight: 700; font-size: 0.95rem; padding: 12px 32px;
  border-radius: 40px; transition: all .2s; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta-btn-green:hover { background: var(--green-pale); transform: translateY(-2px); color: var(--green-dark); }

/* ===== ARTICLE CONTENT ===== */
.article-header { margin-bottom: 32px; }
.article-header h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; line-height: 1.5; color: var(--green-dark); margin-bottom: 12px; }
.article-meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 16px; flex-wrap: wrap; }
.article-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); border-bottom: 2px solid var(--green-pale); padding-bottom: 8px; margin: 36px 0 16px; }
.article-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 24px 0 12px; padding-left: 12px; border-left: 3px solid var(--green-light); }
.article-body p { margin-bottom: 16px; font-size: 0.92rem; line-height: 1.9; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { font-size: 0.9rem; margin-bottom: 6px; line-height: 1.7; }

/* ===== SIDEBAR ===== */
.sidebar { }
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 20px; margin-bottom: 24px; box-shadow: var(--shadow); }
.sidebar-widget h3 { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); border-bottom: 2px solid var(--green-pale); padding-bottom: 8px; margin-bottom: 16px; }
.sidebar-link-list { list-style: none; }
.sidebar-link-list li { border-bottom: 1px solid var(--border); }
.sidebar-link-list li:last-child { border-bottom: none; }
.sidebar-link-list a { display: block; padding: 8px 4px; font-size: 0.84rem; color: var(--text); transition: color .2s; }
.sidebar-link-list a:hover { color: var(--green); }
.sidebar-link-list a::before { content: '▶ '; font-size: 0.6rem; color: var(--green); }

/* ===== AREA SECTION ===== */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 40px; }
.area-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; transition: all .2s;
  box-shadow: var(--shadow);
}
.area-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.area-card .icon { font-size: 2rem; margin-bottom: 8px; }
.area-card .name { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.area-card .count { font-size: 0.78rem; color: var(--text-light); }
.area-card a { color: inherit; }

/* ===== TABLE ===== */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 24px 0; overflow-x: auto; display: block; }
.compare-table th { background: var(--green); color: var(--white); padding: 10px 14px; text-align: left; }
.compare-table td { padding: 10px 14px; border: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: var(--green-pale); }

/* ===== TAGS ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag { font-size: 0.78rem; background: var(--green-pale); color: var(--green-dark); padding: 4px 10px; border-radius: 4px; font-weight: 500; }

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark); color: rgba(255,255,255,0.85);
  padding: 48px 20px 24px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; opacity: 0.75; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { font-size: 0.82rem; color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; text-align: center; font-size: 0.78rem; opacity: 0.6; }

/* ===== NOTICE ===== */
.notice { background: #fff8e6; border: 1px solid #f0c060; border-radius: var(--radius); padding: 14px 18px; font-size: 0.83rem; color: #7a5500; margin: 20px 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  nav { display: none; }
  .hero { padding: 44px 16px 40px; }
  .card-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
}
