@charset "utf-8";

/* ===================
  基本のmain設定
=================== */
/* ===================
  トップ画像
=================== */
.section-top {
  margin-bottom: 60px;
}
.section-top__image {
  position: relative; /* 親要素を基準にするため必要 */
  width: 100%;
  height: 400px;
  background-image: url('../images/studio_top.png');
  background-size: cover;
  background-position: center;
  /* display: flex などの中央寄せ指定を削除 */
}
.section-top__image h2 {
  /* ▼▼▼ 位置を左下に指定 ▼▼▼ */
  position: absolute;
  bottom: 50px; /* 下からの位置 */
  left: 60px;   /* 左からの位置 */
  /* ▲▲▲ ここまで ▲▲▲ */
  
  font-size: 3.6rem; /* バランスを見て少しサイズを調整 */
  font-weight: 400;
  color: #FFF8E9;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.main {
  background-color: #FFF8E9;
  padding: 0 0 80px;
  width: calc(100% - 270px);
  margin-left: 270px;
}
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    margin-left: 0px;
  }
}

/* ===================
  講師紹介セクション
=================== */
.section-instructor {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-instructor__name {
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.section-instructor__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.section-instructor__image {
  width: 45%;
  flex-shrink: 0;
}
.section-instructor__image img {
  width: 100%;
  border-radius: 50%; /* 写真を円形に */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-instructor__text {
  width: 52%;
}

.section-instructor__text h4 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #FCB61E;
}

.section-instructor__text p {
  font-size: 1.6rem;
  line-height: 1.9;
  margin-bottom: 2.5em; /* 各段落のスペース */
}

/* ===================
  経歴アコーディオン
=================== */

/* ===================
  経歴セクション
=================== */
.section-instructor__Career {
  /* height: 0; overflow: hidden; などを削除し、常に表示されるようにします */
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  max-width: 920px;
  margin: 0 auto; /* 中央寄せ */
}

/* h3の「経歴」タイトルを表示させ、デザインを整えます */
.title {
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

.section-instructor__Career-body {
  display: flex;
  justify-content: space-between;
}
/* 以下、元々あったスタイルと同じなので変更なし */
.section-instructor__career-text {
  width: 55%;
}
.section-instructor__career-text h4 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1em;
  border-bottom: none;
}
.section-instructor__career-text p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 2em;
}
.section-instructor__career-image {
  width: 40%;
}
.section-instructor__career-image ul {
  list-style: none;
  padding: 0;
}
.section-instructor__career-image img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
}

.title {
  display: none; /* PCでは非表示 */
}
.section-instructor__Career-body {
  display: flex;
  justify-content: space-between;
}
.section-instructor__career-text {
  width: 55%;
}
.section-instructor__career-text h4 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1em;
  border-bottom: none; /* 下線を削除 */
}
.section-instructor__career-text p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 2em;
}

.section-instructor__career-image {
  width: 40%;
}
.section-instructor__career-image ul {
  list-style: none;
  padding: 0;
}
.section-instructor__career-image img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* ===================
  レスポンシブ対応
=================== */
@media screen and (max-width: 768px) {
  .main {
    padding: 40px 0;
  }
  .section-instructor {
    padding: 0 20px;
  }
  .section-instructor__container {
    flex-direction: column;
    align-items: center;
  }
  .section-instructor__image {
    width: 60%;
    max-width: 250px;
    margin-bottom: 30px;
  }
  .section-instructor__text {
    width: 100%;
  }
  .section-instructor__Career-body {
    flex-direction: column;
  }
  .section-instructor__career-text,
  .section-instructor__career-image {
    width: 100%;
  }
  .section-instructor__career-image {
    margin-top: 20px;
  }
}
/* 「経歴」のメインタイトル */
.title {
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px; /* 下の余白を調整 */
}

/* 「音楽経歴」「講師経歴」のサブタイトル */
.section-instructor__career-text h4 {
  display: flex; /* 横並びレイアウトを有効化 */
  align-items: center; /* 垂直方向の中央揃え */
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1em;
  border-bottom: none;
}

/* サブタイトルの前の線を追加 */
.section-instructor__career-text h4::before {
  content: "—";
  margin-right: 0.8em; /* 文字との隙間 */
}

/* サブタイトルの後の線を追加 */
.section-instructor__career-text h4::after {
  content: "—";
  margin-left: 0.8em; /* 文字との隙間 */
}