@charset "UTF-8";
/* =========================================================
 * single-teacher (Teacher Sheet)
 * px → rem（1rem = 16px）
 * borderのみ px のまま
 * ======================================================= */
/* ページ背景 */
.mf-teacher-sheet {
  background: #f3f5f7;
  padding: 2rem 1rem 3.5rem;
}

/* カード本体 */
.mf-teacher-sheet__inner {
  max-width: 61.25rem;
  /* 980 */
  margin: 0 auto;
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.06);
  padding: 3rem 3rem 2.125rem;
}

/* ヘッダー（写真＋情報） */
.mf-teacher-sheet__header {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.mf-teacher-sheet__left {
  flex: 1;
  min-width: 0;
}

/* 写真 */
.mf-teacher-sheet__photo {
  width: 22.5rem;
  flex: 0 0 22.5rem;
  order: -1;
}

.mf-teacher-sheet__photo-img,
.mf-teacher-sheet__photo-placeholder {
  width: 100%;
  border-radius: 0.625rem;
}

.mf-teacher-sheet__photo-img {
  max-height: 270px;
  object-fit: contain;
  display: block;
}

.mf-teacher-sheet__photo-placeholder {
  background: #eef3f8;
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* =========================================================
 * row 構造（既存HTML互換）
 * ======================================================= */
.mf-teacher-sheet__row {
  display: flex;
  grid-template-columns: 5.625rem 1fr;
  /* 90px */
  column-gap: 3rem;
  /* 18 */
  align-items: center;
  margin: 0.5rem 0;
}

.mf-teacher-sheet__row--sub {
  margin-top: -0.125rem;
}

.mf-teacher-sheet__row--mt {
  margin-top: 0.875rem;
}

/* ラベル */
.mf-teacher-sheet__label {
  color: #0663AE;
  font-weight: 800;
  font-size: 0.9rem;
  /* 13 */
  line-height: 1.35;
  white-space: nowrap;
  width: 6.25rem;
}

.mf-teacher-sheet__label--multiline {
  line-height: 1.4;
}

/* 値 */
.mf-teacher-sheet__value {
  color: #454545;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.mf-teacher-sheet__value--name {
  font-size: 1.375rem;
  /* 22 */
  font-weight: 900;
}

/* =========================================================
 * TOP（新レイアウト：2カラム）
 * ======================================================= */
.mf-teacher-top {
  margin-top: 0.125rem;
  margin-bottom: 1.5rem;
}

.mf-teacher-top__grid {
  display: grid;
  grid-template-columns: 1fr 13.75rem;
  column-gap: 3.375rem;
  row-gap: 0.875rem;
}

/* 料金は左列 */
.mf-teacher-top__item--price {
  grid-column: 1/2;
}

.mf-teacher-top__label {
  color: #0663AE;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.mf-teacher-top__value {
  color: #454545;
  font-weight: 900;
  line-height: 1.25;
}

.mf-teacher-top__value--name {
  font-size: 1.5rem;
}

.mf-teacher-top__value--subject {
  font-size: 1.5rem;
}

.mf-teacher-top__value--price {
  font-size: 1.5rem;
  color: #454545;
}

/* =========================================================
 * スケール（1〜5）
 * ======================================================= */
.mf-teacher-sheet__scale-line {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
}

.mf-teacher-sheet__scale-edge {
  font-size: 0.85rem;
  color: #454545;
  width: 2.75rem;
}

.mf-teacher-sheet__scale {
  display: flex;
  gap: 0.375rem;
}

.mf-teacher-sheet__scale-num {
  width: 2.125rem;
  height: 2rem;
  border-radius: 0.375rem;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  background: #cfe7ff;
  color: #fff;
}

.mf-teacher-sheet__scale-num.is-active {
  background: #0663AE;
}

/* =========================================================
 * 購入リンク
 * ======================================================= */
.mf-teacher-cta__btn {
  display: block;
  width: 100%;
  max-width: 26rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #0F89DF 0%, #0745C4 100%);
  border-bottom: solid 2px #0745C4;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.5rem rgba(15, 137, 223, 0.3);
  transition: all 0.25s ease;
}
.mf-teacher-cta__btn:hover {
  color: #fff;
  transform: translateY(-0.0375rem);
  box-shadow: 0 0.4rem 0.6rem rgba(15, 137, 223, 0.4);
}

/* =========================================================
 * セクション / テーブル
 * ======================================================= */
.mf-teacher-sheet__section {
  margin-top: 1.125rem;
}

.mf-teacher-sheet__section-title {
  color: #0663AE;
  font-weight: 800;
  font-size: 1rem;
  margin: 1.25rem 0 0.25rem;
}

.mf-teacher-sheet__avail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #0663AE;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #F7FCFF;
  margin-bottom: 2.25rem;
}
.mf-teacher-sheet__avail-table thead {
  color: #0663AE;
}
.mf-teacher-sheet__avail-table thead th {
  border-bottom: 2px solid #0663AE;
}
.mf-teacher-sheet__avail-table tbody th {
  color: #454545;
}
.mf-teacher-sheet__avail-table tr th:first-child {
  border-right: 2px solid #0663AE;
}

.mf-teacher-sheet__avail-table th,
.mf-teacher-sheet__avail-table td {
  padding: 0.25rem 0.75rem;
  font-size: 1rem;
  border-bottom: 1px solid #dbeafe;
  background-color: #F7FCFF;
  text-align: center;
}

.mf-teacher-sheet__text {
  font-weight: 600;
  font-size: 1rem;
  color: #454545;
}
.mf-teacher-sheet__comment {
  font-weight: 600;
  font-size: 1rem;
  color: #454545;
}

.mf-teacher-sheet__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4rem;
  margin-bottom: 3rem;
}
.mf-teacher-sheet__back a {
  width: 20%;
}

/* =========================================================
 * Responsive
 * ======================================================= */
@media (max-width: 767px) {
  .mf-teacher-sheet {
    padding: 0;
    padding-bottom: 4rem !important;
  }
  .mf-teacher-sheet__inner {
    width: 92%;
    margin-top: 2rem;
    padding: 1.75rem;
  }
  .mf-teacher-sheet__header {
    flex-direction: column;
    margin-bottom: 0;
  }
  .mf-teacher-sheet__left {
    order: 2;
    width: 100%;
  }
  .mf-teacher-sheet__photo {
    width: 100%;
    order: 1;
    flex: 0 0 9.5rem;
  }
  .mf-teacher-top__grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.75rem;
  }
  .mf-teacher-top__label {
    font-size: 0.9rem;
  }
  .mf-teacher-sheet__row {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-bottom: 1.75rem;
  }
  .mf-teacher-sheet__row:last-child {
    margin-bottom: 1rem;
  }
  .mf-teacher-sheet__row .mf-teacher-sheet__label {
    margin-bottom: 0.5rem;
  }
  .mf-teacher-top__value--name,
  .mf-teacher-top__value--subject,
  .mf-teacher-top__value--price {
    font-size: 1.25rem;
  }
  .mf-teacher-sheet__scale-line {
    gap: 0.75rem;
  }
  .mf-teacher-sheet__scale-num {
    width: 1.9rem;
    height: 1.8rem;
    font-size: 0.9rem;
  }
  .mf-teacher-sheet__avail-table thead th {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .mf-teacher-sheet__avail-table tbody th {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .mf-teacher-sheet__section {
    margin-bottom: 1.75rem;
  }
  .mf-teacher-sheet__section-title {
    margin: 1.25rem 0 0.625rem;
    font-size: 0.9rem;
  }
  .mf-teacher-sheet__text,
  .mf-teacher-sheet__comment {
    font-size: 0.9rem;
    line-height: 1.5rem;
  }
  .mf-teacher-sheet__back {
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 0;
  }
  .mf-teacher-sheet__back a {
    width: 60%;
  }
}

/*# sourceMappingURL=single-teacher.css.map */
