@charset "utf-8";

/* ===================
  基本のmain設定
=================== */
.main {
  background-color: #FFF8E9;
  padding-bottom: 90px;
  width: calc(100% - 270px);
  margin-left: 270px;
}
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    margin-left: 0px;
  }
}

/* ===================
  トップ画像
=================== */
.section-top {
  margin-bottom: 50px;
}
.section-top__image {
  width: 100%;
  height: 400px;
  background-image: url("images/adult-class-01.jpg"); /* 実際のファイル名に修正してください */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-top__title-container {
  color: white;
  text-align: left;
  position: absolute;
  left: 5%;
  bottom: 10%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.page-title {
  font-size: 3rem;
  font-weight: bold;
}
.page-subtitle {
  font-size: 1.8rem;
}

/* ===================
  Adult Class コンテンツ
=================== */
.section-adult-class {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-catchphrase {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}

.class-box {
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.class-box--hospitality {
  border: 2px dotted #7A89C0; /* おもてなし英語クラスの枠線 */
}
.class-box--pops {
  border: 2px dotted #D685B7; /* 洋楽で歌おうクラスの枠線 */
}

.class-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.class-description {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: left;
}

.class-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.class-features li {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 2em;
  position: relative;
}
/* リストのアイコンを::beforeで作成 */
.class-features li::before {
  content: '✨'; /* 絵文字や画像パスに変更可能 */
  position: absolute;
  left: 0;
  top: 0;
}

.class-info {
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: center;
}

/* ===================
  レスポンシブ対応
=================== */
@media screen and (max-width: 768px) {
  .section-top__image {
    height: 300px;
  }
  .section-adult-class {
    padding: 0 20px;
  }
  .section-catchphrase {
    font-size: 1.8rem;
  }
  .class-box {
    padding: 20px;
  }
  .class-title {
    font-size: 1.8rem;
  }
  .class-description,
  .class-features li,
  .class-info {
    font-size: 1.4rem;
  }
}
/* ===================
  文中アイコンのスタイル
=================== */
.inline-icon {
  width: 1.1em; /* 文字の大きさに合わせる */
  height: 1.1em;
  vertical-align: middle; /* 文字とアイコンの縦位置を中央に揃える */
  margin: 0 4px; /* アイコンの左右に少しだけ余白をとる */
}