@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

.site-header {
  background-color: #3a3a3a;
  padding: 20px 20px;
}


/* デスクトップ時 */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sns-icons {
  display: flex;
  gap: 20px;
}

.sns-icons img {
  height: 20px;
  width: 20px;
}
.sns-icons img:hover {
  opacity: 0.5;
}


/* ナビリンク */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #868686;
  font-size: 14px;
}

.nav-links li a:hover {
    color: white;
    transition: .6s;
}



/* === スマホ表示（768px以下）=== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo {
    text-align: center;
  }

  /* ナビとSNSを縦に並べる */
  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    flex-direction: row;  /* ナビは横一列に */
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    /* flex-wrap: wrap;  必要なら折り返し */
  }

  .sns-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
}

/* ビジュアル全画面表示 */
.visual img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.sub-visual img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* キャッチコピー */
.catch-copy {
  text-align: center;
  padding: 40px 20px;
  font-size: 1.5rem;
}

/* 大きめロゴ */
.large-logo {
  text-align: center;
  margin: 40px 0;
}

.large-logo img {
  max-width: 700px;
  width: 80%;
  height: auto;
}

/* セクション共通 */
.section-block {
  text-align: center;
  padding: 60px 20px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* 飾り線 */
.underline {
  width: 150px;
  height: 2px;
  background-color: rgba(128, 128, 128, 0.5); /* グレー50% */
  margin: 0 auto 20px auto; /* 下に20pxの余白を追加 */
}

.centered-image {
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;  
}

/* 料金表 */
.price-container {
  max-width: 680px;
  width: 90%;
  margin: 0 auto;
}

/* 見出し */
.price-title {
  font-weight: bold;
  margin: 10px 0 5px;
  text-align: left;
}

/* 補足（追加料金） */
.price-note {
  font-weight: normal;
  font-size: 0.85rem;
  margin: 5px 0 10px;
  text-align: left;
}

/* 表全体 */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #000;
  table-layout: fixed;
  margin-bottom: 10px;
}

/* 表内のセル */
.price-table th,
.price-table td {
  border: 1px solid #000;
  padding: 10px;
  font-size: 1rem;
  vertical-align: middle;
  text-align: center;
}

/* ヘッダー（1段目）背景色 */
.price-table th {
  background-color: #f0f0f0;
  font-weight: bold;
}

/* レスポンシブでも横並び維持 */
@media screen and (max-width: 480px) {
  .price-table th,
  .price-table td {
    font-size: 0.9rem;
    padding: 8px;
  }

  .price-note {
    font-size: 0.75rem;
  }
}
/* 利用金まで */

.sp_br {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp_br {
    display: block;
  }
}

.calendar-section {
  padding: 20px;
  text-align: center;
}

.calendar-container {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.calendar-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}


/* スクールバナー */

.banner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px; /* PC時の横・縦の間隔（700pxになるよう調整） */
  max-width: 700px;
  margin: 0 auto;
}

.banner-container a img {
  width: 326px;
  height: auto;
  display: block;
  margin-top: 20px;
  margin-bottom: -10px;
  transition: opacity 0.3s ease;
}

.banner-container a img:hover {
  opacity: 0.5; /* 半透明 */
}

/* スマホ（1列表示）のレスポンシブ設定 */
@media screen and (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .banner-container a img {
    width: 326px;
    max-width: 100%;
  }
}

/* アクセスの上の空き調節 */
.access {
  margin-top: 80px;
}

.banner-section img:hover {
  opacity: 0.5;
}
.contact-section img:hover {
  opacity: 0.5;
}

/* お問い合わせボタン */
/* .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-buttons img {
  max-width: 326px;
  /* height: auto;
  width: auto; */
/* } */

.copy {
  font-size: 14px;
  text-align: center;
  margin: 20px 20px;
  color: #3a3a3a;
}

/* レスポンシブ対応（任意で強化） */
@media (max-width: 768px) {
  .catch-copy {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .large-logo img {
    max-width: 700px;
  }

}

/* レスポンシブル画像切り替えの共通設定：中央寄せ */
.image {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 20px 0;
}

/* 画像サイズ（初期：PC用） */
.image img {
  width: 680px;
  /* max-width: 100%; */
  height: auto;
}

.image img:hover {
  opacity: 0.5;
}

.pc {
	display: inline-block;
}
.sp {
	display: none;
}

/* スマホ用サイズに切り替え */
@media screen and (max-width: 768px) {
  .image img {
    width: 326px;
  }
  .pc {
	display: none;
  }
  .sp {
	display: inline-block;
  }
}

/* goolmap */
#ez-map {
	height: 550px;
	min-height:150px;
	max-width: 980px;
	min-width:150px;
	margin: 50px auto 0 auto;
}
#ez-map_sp {
	display: none;
}

@media screen and (max-width: 750px) {
	#ez-map {
		display: none;
	}
	#ez-map_sp {
		display: block;
		width: 100%;
		height: 500px;
		margin-top: 20px;
	}
} 


.site-footer {
  background-color: #3a3a3a;
  padding: 20px 20px;
}

/* デスクトップ時 */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sns-icons {
  display: flex;
  gap: 20px;
}

.sns-icons img {
  height: 20px;
  width: 20px;
}

/* === スマホ表示（768px以下）=== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-logo {
    text-align: center;
  }

  /* ナビ＋SNSを一列にする */
  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap:30px;
    flex: 1;
  }

  .nav-links {
    flex-direction: row;
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    display: inline-block;
  }

  .sns-icons {
    display: flex;
    gap: 20px;
  }
  .sns-icons img:hover {
  opacity: 0.5;
}

  /* ナビとSNSをくっつけて一列表示にする */
  .nav-menu {
    /* display: flex;
    flex-wrap: nowrap; */
    flex-direction: column;
    align-items: center;
  }

  .nav-links,
  .sns-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}