@charset "UTF-8";

/*----------------------------------*/
/* 0. カラー・変数                  */
/*----------------------------------*/
:root {
  --main-color: #333;
  --accent-color: #007bff;
  --bg-color: #fff;
  --font-family: "Noto Sans JP", sans-serif;
}

/*----------------------------------*/
/* 1. ベース設定                     */
/*----------------------------------*/
html,
body {
  height: 100%;
  margin: 0;
}

html {
  font-size: 16px; /* 1rem = 16px */
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fefefe;
  margin: 0;
  padding: 0;
/* コンテンツ量が少ないときfooterを下部へ固定 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a {
  text-decoration: none;
}
/*----------------------------------*/
/* 2. 全体構造                     */
/*----------------------------------*/
/* 共通 */
header {
  position: relative;
  z-index: 100;
}

main {
  /* コンテンツ量が少ないときfooterを下部へ固定。mainで余白を押し広げる役割を持たせる */
  flex: 1;
}

section {
  margin-bottom: 4rem;
}
/* 幅制御（共通） */
.l-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
footer {
  background-color: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

/* トップ */

/* 下層 */
.sub-page {
  flex: 1;
}
/* 背景・横幅担当 */
.sub-page__bg {
  width: 100%;
  min-height: 100%; /* 中身がなくても高さを確保 */
  background: #fff; /* or orange など */
  padding: 2rem 0;
}
/*----------------------------------*/
/* 3. パーツ構造                   */
/*----------------------------------*/
/* ---------- 共通 ---------- */
/* ハンバーガーメニュー */
.openbtn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ff7a00;;
  z-index: 1000;
}
.openbtn span {
  position: absolute;
  left: 10px;
  width: 30px;
  height: 3px;
  background: #fff;
  transition: all .4s;
}

/* 三本線 */
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}

/* × に変形 */
.openbtn.active span:nth-of-type(1) {
  top: 23px;
  transform: rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 23px;
  transform: rotate(45deg);
}

/* グローバルナビ */
.global-nav {
    position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #fff;
  transition: right .4s;
  z-index: 999;
  background-color: orange;
  max-width: 300px;
}
.global-nav.active {
  right: 0;
}
.global-nav__list {
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px;

  list-style: none;
}
.global-nav__list li {
  margin: 0;
}
.global-nav__list a {
  display: block;
  padding: 10px 14px;

  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* hover / focus */
.global-nav__list a:hover,
.global-nav__list a:focus {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* 現在地 */
.global-nav__list .is-current a {
  background-color: #fff;
  color: orange;
}
/* 見出し */
.section__title {
  font-weight: bold;
  border-bottom: 2px solid orange;
  padding: 0.3em;
  margin-bottom: 0.3em;
}
.section__title::first-letter{
  font-size: 1.5em;
  color: orange;
}
.section__lead {
  margin-bottom: 1rem;
}
.section__footer{
  margin: 4rem 0 2rem;
  text-align: center;
}

/* ボタン */
.button {
  display: inline-flex;
  padding: 0.75rem 1.5rem;
  background: orange;
  color: #fff;
  border-radius: 10px;
  transition: background-color 0.2s ease,
  transform 0.2s ease,
  box-shadow 0.2s;
}
.button:hover,
.button:focus {
  opacity: 0.8;
}

.button--members-tshirt,
.button--contact {
  margin-top: 2rem;
}

/* コンテンツブロック */
.content-block {
  margin-bottom: 2rem;
}
.content-block__title {
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.3em;
}
/* カード */
.card-list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.5rem;
  margin-bottom: 4rem;
}
.card-list__image {
  overflow: hidden;
  text-align: center;
}
.card-list__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 下層 ---------- */
/* グローバルナビ */
.global-nav--sub {
  background-color: orange;
  max-width: 280px;
}

/* ヘッダー・メニュー部分 */
.sub-page-header {
  background: orange;
}
.sub-page-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sub-page-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}
/* 下層ページ用：ヘッダー内に固定 */
.sub-page-header .openbtn {
  /* position: static; */
}


/*----------------------------------*/
/* 6. ページ毎                          */
/*----------------------------------*/

/* ---------- トップ ---------- */
/* ヘッダー・MV */
.top-page-header {
  position: relative;
  z-index: 1;
}

.top-page-header__mv img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* バナー */
.banner__wraper {
  text-align: center;
  margin-top:10%;
}
.sns-block {
  display: flex;
  justify-content: center;
  margin-top:10%;
}
/* SNS InstagramPR */
.fukidashi-block {
  position: relative;
  padding: 12px 16px 12px 30px;
  margin-right: 10%;

  p {
    font-weight: bold;
  }
  &::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 0;
    width: 100px;
    height: 1px;
    box-sizing: border-box;
    background-color: #333333;
    rotate: 14deg;
  }

  &::after {
    content: "";
    position: absolute;
    bottom: -14px;
    right: 0;
    width: 120px;
    height: 1px;
    box-sizing: border-box;
    background-color: #333333;
    rotate: -14deg;
  }

  & > .ornament {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;

    &::before {
      content: "";
      position: absolute;
      top: -10px;
      right: 0;
      width: 160px;
      height: 1px;
      box-sizing: border-box;
      background-color: #333333;
      rotate: 12deg;
    }

    &::after {
      content: "";
      position: absolute;
      bottom: -10px;
      right: 0;
      width: 160px;
      height: 1px;
      box-sizing: border-box;
      background-color: #333333;
      rotate: -12deg;
    }
  }
}
/* カードSNS */
.card-list--sns {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-items: center;
  padding-top: 2rem;
}
.card--sns {
  text-align: center;
}
.card__image--sns {
  width: 80px;
  /* margin: 0 auto; */
}

.card__image--sns img {
  width: 100%;
  height: auto;
  display: block;
}
.card__lead--sns {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- お知らせ  ---------- */
.news-list {
  margin-bottom: 2rem;
}
.news-item {
  border-bottom: #ccc solid 1px;
  padding-bottom: 1rem;
}
.news-item__bady {}
.news-item__title {
  padding-top: 1rem;
  /* color: orange; */
}
.news-item__date {
  color: #9c9c9c;
  font-size: 0.75rem;
}
.news-item__text {}

/* ---------- クラブ概要  ---------- */
.card--coach {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: center;
}
.card__image--coach {
  max-width: 300px;              /* 丸のサイズ */
  aspect-ratio: 1 / 1;       /* 正円にする */
  border-radius: 50%;        /* 丸抜き */
  overflow: hidden;          /* はみ出しをカット */
  margin: 0 auto 1rem;       /* 中央寄せ */
}

.card__image--coach img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* トリミングしてフィット */
  display: block;
}
.card__image--certificat {
  display: flex;
  justify-content: center;
}

.card__image--certificat img {
  width: 100%;
  max-width: 220px; 
  height: auto;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.5rem;
  margin-bottom: 4rem;
}
.gallery__item {
  overflow: hidden;
  text-align: center;
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery__item figcaption {
  font-size: 0.85rem;
  color: #666;
}
@media (max-width: 37.5rem) { /* 600px */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* スケジュール */
.schedule {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.schedule dt {
  width: 4em;
  margin-right: 16px;
  background: #ccc;
  border-radius: 30px;
  padding: 4px 2px;
  text-align: center;
}
.schedule dd {
  flex: 1;
}
/* 料金 */
.price-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid #ddd;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.price-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.price-list__label {
  font-size: 1rem;
  line-height: 1.4;
}

.price-list__value {
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
}


/* ---------- FAQ ---------- */
.faq-list {
  margin-bottom: 2rem;
  counter-reset: faq; /* faq というカウンターを 0 に初期化する */
}
.faq-list dt {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem; /* 12px 16px */
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  counter-increment: faq; /* ここで +1 */
}

.faq-list dt::before {
  content: "Q" counter(faq) ".";  /* 現在の faq の値を文字として表示 */
  color: orange;
  font-weight: bold;
  margin-right: 0.5rem;
}
.faq-list dd {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem 2rem;
  background-color: #fff;
  border-left: 4px solid orange;
  line-height: 1.6;
}
.faq-list dd::before {
  content: "A" counter(faq) ".";
  color: orange;
  font-weight: bold;
  margin-right: 0.5rem;
}
/* 活動場所 */
.location {
  margin-bottom: 1rem;
  font-style: normal; /* addressの斜体解除 */
  line-height: 1.6;
}
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 横長で見やすい */
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #eee;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* カードコーチ */
.card-list--coach {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 37.5rem) { /* 600px */
  .card-list--coach  {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   月ナビ
================================ */
.calendar-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calendar-nav__btn {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid orange;
  background: #fff;
  color: orange;
  cursor: pointer;
  font-size: 0.85rem;
}

.calendar-nav__btn.is-active {
  background: orange;
  color: #fff;
}
/* ==============================
   月ナビ（横スクロール）
================================ */
.calendar-nav {
  display: flex;
  gap: 0.5rem;

  overflow-x: auto;        /* 横スクロール */
  overflow-y: hidden;
  white-space: nowrap;     /* 折り返し防止 */

  padding-bottom: 0.5rem;
  margin-bottom: 1rem;

  -webkit-overflow-scrolling: touch; /* iOS慣性スクロール */
}

/* スクロールバー控えめ */
.calendar-nav::-webkit-scrollbar {
  height: 4px;
}
.calendar-nav::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 2px;
}

/* ボタン */
.calendar-nav__btn {
  flex-shrink: 0; /* 縮まない */
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid orange;
  background: #fff;
  color: orange;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* アクティブ */
.calendar-nav__btn.is-active {
  background: orange;
  color: #fff;
}

/* ==============================
   月コンテンツ
================================ */
.calendar-month {
  display: none;
}

.calendar-month.is-active {
  display: block;
}

/* ==============================
   カレンダー本体
================================ */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}
.calendar-title {
  margin-bottom: 0.4rem;
}
.calendar-day {
  display: block!important;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: #fff;
  /* font-size: 0.85rem; */
}

.calendar-day__date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.calendar-day__day {
  font-size: 1.2rem;
}

.calendar-day__weekday {
  font-size: 0.75rem;
  color: #666;
}

.calendar-day.is-off {
  background: #f7f7f7;
  color: #999;
}

.calendar-day__off {
  text-align: center;
  font-weight: bold;
}



/* ==========================
  フォーム共通
========================== */
.contact-form,
.members-tshirt-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 12px;
}

/* フォームグループ */
.form-group {
  margin-bottom: 1.25rem;
}

/* ラベル */
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* input / textarea 共通 */
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.2);
}

/* textarea */
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================
  ラジオボタン
========================== */
/* .form-radio {
  display: flex;
  gap: 0.5rem;
}

.form-radio input[type="radio"] {
  display: none;
}

.form-radio label {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  font-size: 0.9rem;
}

.form-radio input[type="radio"]:checked + label {
  background: #ff7a00;
  color: #fff;
  border-color: #ff7a00;
} */

/* ==========================
  送信ボタン
========================== */
.form-submit {
  width: 100%;
  padding: 0.8rem;
  background: #ff7a00;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.form-submit:hover {
  opacity: 0.9;
}

/* ==========================
  PC時 少し余白広め
========================== */
@media (min-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
}
/*----------------------------------*/
/* 5. レスポンシブ                  */
/*----------------------------------*/
@media (max-width: 37.5rem) { /* 600px */
  .schedule {
    display: block;
  }
  .schedule dd {
    margin-bottom: 2rem;
  }
  .schedule-item {
    flex-direction: column;
  }

  .global-nav__list {
    flex-direction: column;
  }

  .global-nav__link {
    padding: 0.5rem; /* 8px */
    font-size: 0.9rem; /* 14.4px */
  }
}
/* レスポンシブ */
@media (max-width: 768px) {
  .calendar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .calendar {
    grid-template-columns: 1fr;
  }
}


/* 次の記事、前の記事のナビゲーションのスタイル */
.nav-links {
  font-size: 16px;
  display: flex;
}
.nav-links div[class^="nav-"] {
  width: 50%;
}
.nav-links .nav-next {
  margin-left: auto;
}
.nav-links .nav-previous + .nav-next {
  margin-left: -1px;
}
.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.5em;
  border: 1px solid #ddd;
}
@media (max-width: 767px) {
  .nav-links {
    font-size: 14px;
  }
}