@charset "UTF-8";

/* --- メインビジュアル --- */
.hero {
  background: url('../images/main.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
}

/* --- レッスン内容 --- */
.lesson-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.lesson-item {
  flex: 1 1 260px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* --- 料金表 --- */
.price-container {
  max-width: 700px;
  margin: 0 auto;
}

.price-box {
  background: white;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price-box h3, .studio-box h3 {
  border-bottom: 2px solid #e85d04;
  display: inline-block;
  padding-bottom: 5px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* 料金リストの並び調整（強制的にフレックス） */
.price-item {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  width: 100%;
}

.price-item dt {
  font-weight: bold;
  margin: 0;
}

.price-item dd {
  font-weight: bold;
  font-size: 1.2rem;
  color: #e85d04;
  margin: 0;
  text-align: right;
}

.price-item:last-child {
  border-bottom: none;
}

.price-item.highlight {
  background-color: #fffaf0;
  padding: 15px;
  margin: 0 -15px;
  border-radius: 6px;
}

.badge {
  background: #e85d04;
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 5px;
  vertical-align: middle;
}

.price-note {
  font-size: 0.7rem;
  color: #666;
  font-weight: normal;
  margin: 5px 0 0 0;
  text-align: right;
  line-height: 1.2;
}

.studio-box {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* --- 講師紹介（ここを修正しました） --- */
.teacher-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px; /* 画像と文字の間隔 */
}

.teacher-profile img {
  width: 180px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* 画像が縮まないように */
}

/* テキスト部分を左揃えにする記述 */
.teacher-profile div {
  text-align: left; /* 名前と説明文を左揃え */
  flex: 1; /* 残りの幅を使う */
  min-width: 250px;
}

.teacher-profile h3 {
  text-align: left; /* 共通のCenter設定を上書き */
  margin-top: 0;
  border-bottom: none; /* 下線を消す */
  display: block;
}

/* --- SNS・アクセス --- */
.sns-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.sns-card {
  display: flex;
  align-items: center;
  background: white;
  width: 300px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.sns-card:hover { transform: translateY(-5px); }
.sns-icon { font-size: 2rem; margin-right: 15px; width: 50px; text-align: center; }
.youtube .sns-icon { color: #FF0000; }
.tiktok .sns-icon { color: #000000; }
.sns-info h3 { margin: 0; font-size: 1.1rem; text-align: left; }
.sns-info p { margin: 0; font-size: 0.9rem; color: #666; text-align: left; }

.access-note {
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 15px;
  background-color: #fff;
  border-left: 5px solid #e85d04;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.attention {
  color: #e85d04;
  font-weight: bold;
  background: linear-gradient(transparent 70%, #ffdecb 70%);
}
.access-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: flex-start;
}
.access-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.access-item h3 { border-bottom: 2px solid #ddd; width: 100%; margin-top: 0; }
.map-btn {
  background: #666; color: white; padding: 8px 16px;
  border-radius: 20px; font-size: 0.85rem; margin-top: 15px;
}
.contact-links { list-style: none; padding: 0; text-align: center; }
.contact-links li { margin: 12px 0; }
.contact-links a { color: #e85d04; font-weight: bold; }
blockquote {
  background: white; padding: 20px; border-left: 5px solid #e85d04;
  margin: 20px auto; max-width: 700px;
}

/* --- レスポンシブ設定（スマホ用） --- */
@media (max-width: 768px) {
  .hero { height: 50vh; }
  
  /* 講師紹介：スマホでは縦並び・中央揃えに戻す */
  .teacher-profile { 
    flex-direction: column; 
    text-align: center;
  }
  .teacher-profile div, 
  .teacher-profile h3 {
    text-align: center;
  }

  .lesson-list { flex-direction: column; }
  
  .price-item { 
    flex-direction: column !important; 
    align-items: flex-start !important;
    gap: 5px;
  }
  .price-item dd {
    width: 100%;
    text-align: right;
  }
  .price-box { padding: 20px; }
}
/* --- レッスン時間の注釈（追加） --- */
.lesson-time-note {
  background-color: #fff8f0; /* とても薄いオレンジ */
  border: 1px solid #ffdcc0; /* 枠線 */
  border-radius: 6px;
  padding: 10px 15px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  text-align: left; /* 左揃えで読みやすく */
  color: #555;
}

.lesson-time-note p {
  margin: 0;
  line-height: 1.6;
}

.lesson-time-note strong {
  color: #e85d04; /* 重要箇所を濃いオレンジに */
  border-bottom: 1px solid #e85d04; /* 下線で強調 */
}

/* --- 楽譜作成オプション --- */
.option-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed #ddd; /* 点線で区切る */
}

.option-section h4 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: left; /* 左寄せ */
  color: #333;
}

/* 楽譜代の部分だけ少し文字サイズ調整 */
.option-section .price-item dd {
  font-size: 1.1rem; 
}