/* ===== MUSIC LESSON PORTAL トップだけの見た目（デザイン v16・白）===== */
.serif,
.kv h1,
.pick h2,
.ttl,
.pickup-card .cap {
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif
}

/* --- キービジュアル（写真のスライド） --- */
.kv {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #3a332c
}

/* 440px＝写真の高さ。写真が無い時は濃い茶 */
.slide {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transition: opacity .96s
}

/* 1.2s＝切り替わりの速さ */
.slide.on {
  opacity: 1
}

.kv:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 20, .35)
}

/* 写真を少し暗くして文字を読みやすく */
.kv_txt {
  position: absolute;
  inset: 0 0 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 2;
  padding: 0 16px
}

.kv h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4)
}

.kv_txt p {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: .06em
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2
}

/* 100px＝検索の箱の上 */
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .5)
}

.dots button.on {
  background: #fff
}

/* --- 検索（写真の下の端に重ねた白い箱） --- */
.search {
  position: relative;
  z-index: 5;
  margin: -70px auto 0;
  max-width: 960px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  padding: 16px
}

/* -70px＝写真に重ねる量 */
.sbar {
  display: flex;
  gap: 10px
}

.sbar input,
.sbar .dd {
  height: 42px;
  border: 1px solid #d6d2cc;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  padding: 0 12px
}

.sbar input {
  flex: 2;
  min-width: 0
}

.sbar .dd {
  flex: 1;
  text-align: left;
  color: #555;
  position: relative
}

.sbar .dd:after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999
}

.sbar .dd.open {
  border-color: #8b0000;
  color: #8b0000
}

.sbar .dd b {
  font-weight: 700;
  color: #8b0000
}

.sbar .go {
  height: 42px;
  padding: 0 26px;
  border: 0;
  border-radius: 4px;
  background: #2b2b2b;
  color: #fff;
  font-weight: 700
}

/* 押した時に、すぐ下に出る選択肢（縦に長いプルダウンにしない 11/6） */
.panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 12px
}

.panel[hidden],
.pbox[hidden] {
  display: none
}

.mode {
  margin: 10px 0 0;
  color: #555;
  font-size: 12px
}

.mode label {
  margin-left: 14px;
  white-space: nowrap
}

.prow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px dashed #eee
}

.prow>div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.chip {
  border: 1px solid #d6d2cc;
  background: #fff;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 12px;
  color: #444;
  line-height: 1.8
}

.chip.all {
  flex-shrink: 0;
  width: 150px;
  text-align: left;
  border-color: #8b0000;
  color: #8b0000;
  font-weight: 700
}

/* 150px＝左の地方・分類のボタンの幅 */
/* オンラインレッスン: 全国が対象なので、地方のボタンより少し大きく・説明付き（11/8 ユーザー） */
.chip.online {
  font-size: 14px;
  font-weight: 700;
  padding: 5px 18px;
  border-color: #8b0000;
  color: #8b0000
}

.chip.online small {
  font-size: 12px;
  font-weight: 400
}

.chip.on {
  background: #8b0000;
  border-color: #8b0000;
  color: #fff
}

.pfoot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 10px 0 0
}

.pfoot button {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  padding: 3px 14px;
  font-size: 12px
}

/* --- PICK UP（縦長の大きな写真を横に流す。全員同じ大きさ） --- */
.pick {
  background: #f5f1ea;
  margin-top: -50px;
  padding: 80px 0 56px
}

/* 上の 80px は検索の箱の下に入る分 */
.pick_hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px
}

.pick h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600
}

.pick h2 small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #777;
  margin-left: 10px;
  font-weight: 400
}

.arw {
  margin: 0;
  display: flex;
  gap: 8px
}

.arw button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #8b0000;
  background: #fff;
  color: #8b0000;
  line-height: 1
}

.pick_list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px
}

.pick_list::-webkit-scrollbar {
  display: none
}

.pickup-card {
  position: relative;
  flex: 0 0 230px;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  background: #222
}

/* 230px＝1人の幅（全員同じ） */
.pickup-card .ph,
.pickup-card img {
  display: block;
  width: 100%;
  height: 100%
}

.pickup-card img {
  object-fit: cover;
  transition: transform .4s
}

.pickup-card:hover img {
  transform: scale(1.04)
}

/* 写真だけ 1.04 倍 */
.pickup-card .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-size: 18px;
  letter-spacing: .08em
}

.pickup-card .cap small {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: .05em;
  opacity: .9
}

/* --- 講師紹介 --- */
.list {
  padding: 72px 0 64px
}

.ttl {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px
}

.lead {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin: 0 0 22px;
  line-height: 1.8
}

.fbtns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.fb {
  border: 1px solid #d6d2cc;
  background: #fff;
  border-radius: 4px;
  padding: 4px 16px;
  font-size: 12px;
  color: #444
}

.fb.on {
  background: #8b0000;
  border-color: #8b0000;
  color: #fff
}

.fb[data-cat=""] {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  gap: 3px;
  padding: 8px 9px;
  align-content: center
}

/* 「すべて」は文字なしの4つの四角 */
.fb[data-cat=""] i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 1px
}

.count {
  text-align: center;
  font-size: 13px;
  color: #8b0000;
  margin: -12px 0 16px;
  min-height: 0
}

.count:empty {
  display: none
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px
}

.tc {
  display: block;
  text-decoration: none
}

.tc .ph {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd
}

.tc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s
}

.tc:hover img {
  transform: scale(1.04)
}

.tc b {
  display: block;
  font-size: 13px;
  margin: 10px 0 4px;
  line-height: 1.5
}

.tc i {
  display: inline-block;
  margin: 0 4px 4px 0;
  font-style: normal;
  font-size: 11px;
  background: #f5f1ea;
  color: #8b6b4a;
  padding: 0 10px;
  border-radius: 2px
}

.none {
  grid-column: 1/-1;
  text-align: center;
  color: #777
}

.more {
  text-align: center;
  margin: 40px 0 0
}

.more[hidden] {
  display: none
}

.more button {
  border: 0;
  background: #8b0000;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 40px;
  border-radius: 4px
}

/* --- 広告①〜④ --- */
.ads {
  background: #f5f1ea;
  padding: 28px 0 36px
}

.sqs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px
}

.ad.sq {
  height: 250px
}

.ad.wide {
  max-width: 728px;
  height: 90px;
  margin: 0 auto
}

/* --- いいね・シェア --- */
.share {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 28px 0 0
}

.share a,
.share button {
  border: 0;
  border-radius: 4px;
  background: #1877f2;
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  text-decoration: none
}

.shpop {
  margin-bottom: 28px
}

.share+.shpop[hidden]+* {
  margin-top: 28px
}

@media (max-width:767px) {
  .kv {
    height: 330px
  }

  .kv h1 {
    font-size: 22px;
    letter-spacing: .08em
  }

  .kv_txt {
    inset: 0 0 70px
  }

  .kv_txt p {
    font-size: 11px
  }

  .dots {
    bottom: 80px
  }

  .search {
    margin: -60px 0 0;
    padding: 12px
  }

  .sbar {
    flex-wrap: wrap;
    gap: 8px
  }

  .sbar input {
    flex: 1 1 100%
  }

  .sbar .dd {
    flex: 1;
    padding: 0 8px;
    font-size: 12px
  }

  .sbar .go {
    flex: 1 1 100%
  }

  .mode label {
    display: block;
    margin: 4px 0 0
  }

  .prow {
    display: block
  }

  .chip.all {
    width: auto;
    margin-bottom: 6px
  }

  .pick {
    padding: 70px 0 40px
  }

  .pick h2 {
    font-size: 18px
  }

  .pick h2 small {
    display: block;
    margin: 0
  }

  .pickup-card {
    flex-basis: 44%
  }

  /* スマホは 2人と少しが見える */
  .list {
    padding: 48px 0
  }

  .ttl {
    font-size: 20px
  }

  .lead {
    text-align: left
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px
  }

  .sqs {
    grid-template-columns: 1fr;
    justify-items: center
  }

  .ad.sq {
    width: 300px
  }

  .ad.wide {
    max-width: 320px;
    height: 100px
  }
}

/* 件数の表示（何で探した結果か）と「条件をクリア」（11/9） */
#count b {
  color: #8b0000
}

#count .cclr {
  margin-left: 10px;
  font: inherit;
  font-size: 12px;
  color: #666;
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer
}
