/* ===========================
   Sections Padding（TOP）
=========================== */
.hero,
.news,
.concept,
.programs,
.facilities,
.contents,
.sns,
.access,
.join {
  padding: 56px 0;
}

/* ===========================
   HERO（背景スライド）
=========================== */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 54px 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

/* 暗幕 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: .02em;
}

.hero-text {
  margin: 0;
  max-width: 44em;
  color: rgba(255, 255, 255, .85);
}

/* HERO CTA（押したくなる版） */
.hero-cta {
  width: min(420px, 92vw);
  height: 64px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #ffb020 0%, #f59e0b 65%, #e98a00 100%);
  color: #fff;

  box-shadow:
    0 14px 28px rgba(0, 0, 0, .28),
    0 2px 0 rgba(255, 255, 255, .25) inset;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-weight: 900;
  font-size: 18px;
  letter-spacing: .02em;

  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 40%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: rotate(18deg);
  opacity: .55;
}

@media (hover:hover) {
  .hero-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow:
      0 18px 34px rgba(0, 0, 0, .34),
      0 2px 0 rgba(255, 255, 255, .25) inset;
  }
}

.hero-cta:active {
  transform: translateY(1px);
  filter: brightness(.98);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, .28),
    0 2px 0 rgba(255, 255, 255, .18) inset;
}

.hero-cta i {
  font-size: 18px;
}

.hero-cta-arrow {
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.hero-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .75);
  outline-offset: 3px;
}

/* ===========================
   BANNERS
=========================== */
.banners {
  padding: 32px 0;
}

.banner {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   NEWS（スクロール）
=========================== */
.news-scroll {
  position: relative;
}

.news-scroll::before,
.news-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}

.news-scroll::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.news-scroll::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
}

.news-list::-webkit-scrollbar {
  width: 6px;
}

.news-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .18);
  border-radius: 999px;
}

.news-item a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 4px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.news-date {
  font-size: 13px;
  color: rgba(15, 23, 42, .65);
  white-space: nowrap;
}

.news-text {
  font-size: 14px;
}

/* ===========================
   CONCEPT
=========================== */
.media {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(0, 0, 0, .06);
  min-height: 280px;
}

/* concept ボタン配置 */
.concept-grid {
  position: relative;
}

@media (min-width: 901px) {
  .concept-btn {
    justify-self: start;
    align-self: start;
    margin-top: 16px;
    width: 220px;
  }
}

@media (max-width: 900px) {
  .concept-text {
    text-align: center;
  }

  .concept-text p {
    text-align: left;
  }

  .concept-btn {
    justify-self: center;
    width: 280px;
    height: 56px;
    margin: 16px auto;
  }
}

/* ===========================
   PROGRAMS
=========================== */
.program-card {
  display: block;
  text-decoration: none;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .18);
  overflow: hidden;
  transition: transform .2s ease;
}

.program-card:hover {
  transform: translateY(-3px);
}

.program-card--fitness {
  background: #0b4f92;
}

.program-card--kids {
  background: #2b8fc2;
}

.program-head {
  text-align: center;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 40px;
  color: #fff;
  padding: 22px 16px;
}

.program-media {
  position: relative;
}

.program-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.program-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 165, 233, 0.35);
}

.program-body {
  padding: 20px 26px 26px;
  color: #fff;
}

.program-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.program-btn {
  display: block;
  width: 160px;
  height: 34px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  line-height: 34px;
  text-align: center;
}

/* ===========================
   FACILITIES
=========================== */
.card-thumb--facility {
  height: 160px;
  overflow: hidden;
}

.card-thumb--facility img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   CONTENTS / SNS
=========================== */
.thumb-content {
  background: rgba(16, 185, 129, .14);
}

.sns-box {
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 16px;
  background: rgba(0, 0, 0, .06);
  height: 120px;
}

/* ===========================
   ACCESS（地図 全幅）
=========================== */
.access {
  padding: 60px 0 0;
}

.access-map {
  width: 100%;
  height: 340px;
  background: #e9eef4;
  margin-top: 18px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===========================
   JOIN
=========================== */
.join {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}

.join-bg {
  position: absolute;
  inset: 0;
  background: url("../img/club.jpg") center/cover no-repeat;
  opacity: .22;
  transform: scale(1.02);
}

.join-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.join-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
}

.join-actions {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.join-btn {
  width: min(520px, 92%);
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.join-btn-trial {
  background: #26b3a2;
}

.join-btn-web {
  background: #f3a52a;
}

.join-btn-first {
  background: #79b62c;
}

.join-btn-member {
  background: #0b4f92;
}

/* ===========================
   Responsive（TOP）
=========================== */
@media (max-width: 1024px) {
  .hero {
    min-height: 560px;
    padding: 40px 0;
  }

  .hero-title {
    font-size: 36px;
  }

  .program-head {
    font-size: 30px;
    padding: 18px 12px;
  }

  .program-media img {
    height: 200px;
  }

  .access-map {
    height: 320px;
  }

  .join-btn {
    width: min(560px, 92%);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 520px;
    padding: 28px 0;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.35;
  }

  .hero-cta {
    height: 58px;
    font-size: 16px;
  }

  .news-list {
    max-height: 260px;
  }

  .news-item a {
    grid-template-columns: 96px 1fr;
  }

  .program-head {
    font-size: 26px;
  }

  .program-media img {
    height: 190px;
  }

  .program-body {
    padding: 18px 18px 22px;
  }

  .card-thumb--facility {
    height: 200px;
  }

  .card-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .access {
    padding: 36px 0 0;
  }

  .access-map {
    height: 260px;
  }

  .join {
    padding: 44px 0 52px;
  }

  .join-title {
    font-size: 20px;
  }

  .join-btn {
    height: 54px;
    font-size: 15px;
  }

  .banners .grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* 追加CSS */

/* ===========================
   CONCEPT IMAGE
=========================== */
.media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

.concept-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 動画っぽい16:9比率 */
.concept-grid .media{
  aspect-ratio: 16 / 9;
}

/* スマホ */
@media (max-width: 768px){
  .concept-grid .media{
    aspect-ratio: 4 / 3;
  }
}

/* CONCEPTの画像がiPhoneで上だけ表示されるのを修正 */
.concept .media{
  aspect-ratio: 16 / 9;     /* 高さを作る */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  background: #fff;
  padding: 0 !important;    /* もし既存paddingがあれば殺す */
  line-height: 0;           /* 画像下の謎余白対策 */
}

.concept .media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;        /* 枠いっぱいにトリミング */
}

/* iPhoneだと縦長の方が見やすいなら */
@media (max-width: 768px){
  .concept .media{ aspect-ratio: 4 / 3; }
}