.header-contact-btn {
  margin-left: 1.5rem;
  padding: 0.4rem 1.2rem;
}
.contact-btn {
  background-color: #0dcaf0; /* Bootstrapのinfo色 */
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px; /* 両端が丸い弧状に */
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  display: inline-block;
}
.contact-btn:hover {
  background-color: #31d2f2; /* ホバー時に少し色を濃く */
}
#mobile-menu .contact-btn {
  display: inline-block;
  width: auto;
}
.toplogo{
  max-width:200px;
}
/* モバイルメニュー用 */
@media (max-width: 767.98px) {
  #mobile-menu a {
    display: block;
  }
  .navbar-toggler {
    background: none;
    border: none;
    font-size: 1.5rem;
  }
}
.menu-icon {
  position: relative;
  width: 24px;
  height: 16px; /* バー3本分の高さ確保 */
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* 中央のバー */
.menu-icon span {
  top: 7px;
}

/* 上のバー */
.menu-icon::before {
  top: 0;
}

/* 下のバー */
.menu-icon::after {
  bottom: 0;
}

/* open 時の変形 */
.menu-icon.open::before {
  transform: rotate(45deg);
  top: 7px;
}

.menu-icon.open::after {
  transform: rotate(-45deg);
  bottom: 7px;
}

.menu-icon.open span {
  opacity: 0;
}
.hero {
  height: 80vh;
  position: relative;
  overflow: hidden;
  background-color: #000; /* 万が一動画や画像が出ないときの黒背景 */
}

.bg-video,
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);/* 黒透過度70% */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;/* スマホ用に左右余白 */
}

.hero-logo {
  max-width: 200px; /* ロゴサイズ */
  opacity: 0.8;     /* ロゴ透過 */
  margin-bottom: 0.5rem; /* 文字との間隔 */
  z-index: 2;
}
.school-name-img {
  max-width: 80%;
  height: auto;
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  z-index: 2;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 600;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: normal;
}
.hero p {
  font-size: 1.2rem;
}
.intro-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.introduction {
  padding-top: 4rem;   /* 上に空白 */
  padding-bottom: 4rem;/* 下に空白 */
}
.introduction .row {
  display: flex;
  align-items: center; /* テキストと画像の垂直位置揃え */
  flex-wrap: wrap;     /* スマホなど幅が狭いとき折り返し対応 */
}

.introduction-img {
  width: 75%;
  height: auto;
  display: block;
  margin: 0 auto; /* 必要なら中央配置も */
}

.introduction .col-md-6 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.intro-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.course h2 {
  font-weight: normal; /* タイトルは細字 */
}

/* 各セクションオーバーレイ共通 */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 黒背景70%透過 */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 各セクションタイトル共通 */
.section-title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  z-index: 1;
}
/* タイトル帯：背景画像 + パララックス */
.course-hero {
  position: relative;
  height: 200px;
  background-image: url('images/office.jpg'); /* ★ここに画像ファイル名を */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* パララックス効果 */
  width: 100%;
  overflow: hidden;
}

/* セクションの余白調整 */
.course {
  padding-top: 0;
  padding-bottom: 6rem; /* コンテンツ下に余裕を持たせる */
}

/* コンテンツ内のタイトル・テキスト */
.course-title {
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
}
/* タイトル帯：背景画像 + パララックス */
.faq-hero {
  position: relative;
  height: 200px;
  background-image: url('images/table.jpg'); /* ★ここに画像ファイル名を */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* パララックス効果 */
  width: 100%;
  overflow: hidden;
}

/* セクションの余白調整 */
.faq {
  padding-top: 0;
  padding-bottom: 6rem; /* コンテンツ下に余裕を持たせる */
}
.accordion-item{
  margin-top: 3rem;
}
.access-hero {
  position: relative;
  height: 200px;
  background-image: url('images/mansion.jpg'); /* ★ここに画像ファイル名を */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* パララックス効果 */
  width: 100%;
  overflow: hidden;
}
.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9比率 */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}