/* =========================================================
   Base
========================================================= */
:root {
  --bottom-bar-height: 70px;   /* スマホ下部バーの高さ */
  --backtotop-offset: 20px;    /* 余白（現状はJS制御なので未使用） */
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

/* =========================================================
   Global
========================================================= */
body {
  background-color: #f6f5f5;
  color: #fff;
  font-family: "Noto Sans JP", "Noto Serif JP", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#container.gym {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem 0;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}

a { color: #4caf50; text-decoration: none; }
a:hover { opacity: 0.8; }

/* layout helpers */
.top.clearfix::after { content: ""; display: block; clear: both; }
.line { width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; }
.vCenter { align-items: center; }

.lineBox100,
.lineBox50 {
  width: 100%;
  padding: 1.5rem;
  background-color: #111;
  border: 1px solid #222;
  border-radius: 4px;
  color: #fff;
}

.lineBox100 { margin-bottom: 2rem; }

.lineBox50 {
  max-width: 700px;
  margin: 0 auto 2rem;
}

section { padding: 2rem 1rem; }

@media (min-width: 768px) {
  section { padding: 3rem 1.5rem; }
}

/* =========================================================
   Header / Hero
========================================================= */
.hero-header {
  background-color: #000;
  background-size: cover;
  background-position: center center;
  padding: 3rem 1rem 2rem;
  border-bottom: 1px solid #222;
}
@media (min-width: 768px) {
  .hero-header { padding: 4rem 1.5rem 3rem; }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-copy { flex: 1 1 360px; min-width: 280px; }

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hero-title { font-size: 2.4rem; }
}

.hero-lead { font-size: 1rem; color: #ccc; line-height: 1.8; margin: 0 0 1rem 0; }
.hero-locations { font-size: 0.9rem; color: #9f9; margin: 0 0 1.5rem 0; line-height: 1.6; }

.hero-cta {
  display: inline-block;
  background-color: #4caf50;
  color: #000;
  font-weight: 700;
  padding: 1em 1.2em !important;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
}
.hero-cta:hover { opacity: 0.9; }

.hero-image {
  flex: 1 1 360px;
  min-width: 280px;
  min-height: 200px;
  background-color: #111;
  border: 1px solid #222;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.hero-image img {
  width: 100%; height: auto; display: block; object-fit: cover;
}

/* Global nav */
.main-nav {
  background-color: #000;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-nav ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}
.main-nav li { margin: 0; padding: 0; }
.main-nav a { color: #fff; font-size: 0.9rem; line-height: 1.4; font-weight: 500; }
.main-nav a:hover { color: #4caf50; }

@media (max-width: 480px) {
  .main-nav ul { gap: 0.5rem 1rem; }
  .main-nav a { font-size: 0.8rem; }
}

/* Section title */
.titlebg1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background-color: #111;
  padding: 0.8em 1em;
  border-left: 4px solid #4caf50;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .titlebg1 { font-size: 1.4rem; }
}

.bgimg.about {
  width: 100%;
  margin: 0 auto 2rem;
  background-color: transparent;
}

/* =========================================================
   Side / Bottom Bar
========================================================= */
.side nav.pushy { background-color: #000; color: #fff; }
.side nav.pushy ul { list-style: none; margin: 0; padding: 2rem 1rem; }
.side nav.pushy li { margin: 0 0 1rem 0; }
.side nav.pushy a {
  display: block;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border: 1px solid #222;
  border-radius: 4px;
  background-color: #111;
}
.side nav.pushy a:hover { background-color: #1a1a1a; color: #4caf50; }

/* bottom fixed bar */
.sidebsh {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--bottom-bar-height);
  background-color: rgba(0,0,0,0.9);
  border-top: 1px solid #222;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;        /* 縦は0で高さブレ防止 */
  font-size: 1rem;
  line-height: 1.2;
}
.sidebsh i { font-size: 1.5rem; margin-right: 0.3rem; }
.sidebsh a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
}

/* 下部固定バー LINE */
.line-bsh a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
}

.line-bsh i {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.line-bsh a:hover {
  opacity: 0.8;
}


.menu-bsh,
.tel-bsh a,
.reserve-bsh a { font-size: 0.8rem; }

.site-overlay { background: rgba(0,0,0,0.6); }

/* =========================
   CAMPAIGN（現在のキャンペーン）
========================= */
#campaign .lineBox100 {
  text-align: left; /* 文章や注釈が中央寄りになる事故を防ぐ */
}

.campaign-stack {
  display: grid;
  grid-template-columns: 1fr; /* 縦並び固定 */
  gap: 1.2rem;
}

.campaign-item {
  margin: 0;
}

.campaign-item img {
  width: 100%;
  height: auto;              /* 切らない。チラシは縦が命 */
  display: block;
  border-radius: 8px;
  border: 1px solid #222;
  background: #111;
}

.campaign-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #bbb;
}

.campaign-note a {
  color: #4caf50;
  text-decoration: underline;
}


/* =========================================================
   Content blocks
========================================================= */
/* ABOUT gallery */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.about-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #222;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.about-gallery img:hover { transform: scale(1.03); opacity: 0.9; }

@media (min-width: 768px) {
  .about-gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .about-gallery img { height: 220px; }
}
@media (min-width: 1024px) {
  .about-gallery img { height: 240px; }
}

/* lists */
.lineBox100 ul,
.lineBox50 ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.lineBox100 li,
.lineBox50 li {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

/* headings/text inside sections */
#classes h3,
#instructor h3,
#faq h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #4caf50;
  margin: 1.5rem 0 0.5rem 0;
  line-height: 1.4;
}
#classes p,
#instructor p,
#faq p {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}


/* =========================================================
   パーソナルトレーニング
========================================================= */

#personal p {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ddd;
}

.personal-subtitle {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #4caf50;
}

.personal-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.personal-note a {
  color: #4caf50;
  text-decoration: underline;
}

.personal-note a:hover {
  opacity: 0.8;
}


/* =========================================================
   設備紹介セクション
========================================================= */
#facility p {
  color: #ddd;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

#facility .facility-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#facility .facility-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
  color: #fff;
  font-size: 0.95rem;
}

/* 緑の装飾マーク */
#facility .facility-list li::before {
  content: "◼";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-size: 0.8rem;
  line-height: 1.2;
}

/* PCで余白広げて読みやすく */
@media (min-width: 768px) {
  #facility .facility-list li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
}

/* =========================================================
   設備紹介ギャラリー
========================================================= */
.facility-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.facility-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #222;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.facility-gallery img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* PCでは3列 */
@media (min-width: 768px) {
  .facility-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .facility-gallery img {
    height: 220px;
  }
}




/* access */
.accessList { list-style: none; padding: 0; margin: 0 0 1.5rem 0; color: #fff; }
.accessList li { margin: 0 0 1rem 0; }
.accessList h4 { font-size: 1rem; font-weight: 700; color: #4caf50; margin: 0 0 0.3rem 0; line-height: 1.4; }
.accessList p { font-size: 0.9rem; color: #000000; line-height: 1.6; margin: 0; }

/* map */
.ggmap {
  width: 100%;
  max-width: 100%;
  background-color: #111;
  border: 1px solid #222;
  border-radius: 4px;
  overflow: hidden;
}
.ggmap iframe { display: block; width: 100%; height: 450px; border: 0; }

/* contact */
#contact p { font-size: 0.95rem; color: #000000; line-height: 1.7; }
#contact a { color: #000000; text-decoration: none; word-break: break-all; }
#contact a:hover { opacity: 0.8; }

/* faq */
#faq p { margin-bottom: 1.2rem; }

/* policy */
#policy p { color: #aaa; font-size: 0.9rem; line-height: 1.6; }

/* LINEリンクボタン
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #06C755; /* LINEの公式グリーン 
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6em 1em;
  border-radius: 6px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.line-link:hover {
  background-color: #05b24f;
  opacity: 0.9;
}

/* LINEアイコン画像
.line-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}


/* =========================================================
   Footer
========================================================= */
footer {
  background-color: #000;
  border-top: 1px solid #222;
  color: #666;
  text-align: center;
  padding: 2rem 1rem 6rem; /* スマホ固定バー干渉回避の余白は維持 */
}
.footerContents { max-width: 1200px; margin: 0 auto; }
.footerLogo img { max-width: 140px; height: auto; display: block; margin: 0 auto 1rem; }

.footerNav ul { list-style: none; padding: 0; margin: 1rem 0; }
.footerNav li { margin: 0 0 0.5rem 0; }
.footerNav a { color: #888; text-decoration: none; font-size: 0.8rem; }
.footerNav a:hover { color: #4caf50; }

.copyright { font-size: 0.7rem; color: #444; margin-top: 1rem; }

/* =========================================================
   Back to top
========================================================= */
#backtotop {
  position: fixed;
  right: 1rem;
  bottom: -400px;   /* JSでアニメーションする前提を維持 */
  z-index: 9999;
}
#backtotop a {
  display: inline-block;
  background-color: #4caf50;
  color: #000;
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1;
}
#backtotop a .material-icons { font-size: 1.2rem; vertical-align: middle; line-height: 1; }

/* =========================================================
   Responsive tweaks
========================================================= */
@media (min-width: 768px) {
  .lineBox100, .lineBox50 { padding: 2rem; }
  p { font-size: 1rem; }
  #classes p, #instructor p, #faq p { font-size: 1rem; }
  .hero-lead { font-size: 1.1rem; }
  .hero-cta { font-size: 1rem; }
  #contact p { font-size: 1rem; }
}

@media (min-width: 1024px) {
  section { padding-left: 2rem; padding-right: 2rem; }
  .lineBox50, .lineBox100 { max-width: 1000px; margin-left: auto; margin-right: auto; }
  .bgimg.about { max-width: 1200px; }
}

/* 旧サイドナビは現状非表示で維持 */
.side-nav { display: none; }

/* 他店舗リンク（2026-08-24 追加） */
.footerNav__title {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.04em;
  margin: 1.25rem 0 0.4rem;
}
.footerNav--sister ul,
.footerNav--gbp ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  justify-content: center;
  margin: 0;
}
.footerNav--sister li,
.footerNav--gbp li { margin: 0; }
