@charset "utf-8";
/* stylist.css — スタイリスト（スタッフ）詳細 */

/* 長い英数字（URL など）でも枠からはみ出さないようにする */
.p-wrap { overflow-wrap: anywhere; }

/* ---------- プロフィール（写真 | 氏名・表・ボタン） ---------- */
.p-stylist-profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "photo head" "photo table" "photo actions";
  gap: 0 24px;
  padding: 16px;
  border: 1px solid var(--c-border);
  background: #fff;
}
.p-stylist-profile__photo { grid-area: photo; align-self: start; border: 1px solid var(--c-border-light); }
.p-stylist-profile__head { grid-area: head; min-width: 0; }
.p-stylist-profile__role { display: inline-block; margin-bottom: 4px; padding: 0 8px; border: 1px solid var(--c-border); border-radius: 2px; background: var(--c-bg-soft); color: #6b5f56; font-size: 11px; line-height: 19px; }
.p-stylist-profile__name { color: var(--c-heading); font-size: 22px; font-weight: bold; line-height: 1.35; }
.p-stylist-profile__kana { margin-left: 10px; color: var(--c-sub); font-size: 11px; font-weight: normal; letter-spacing: .04em; }
.p-stylist-profile__catch { margin-top: 6px; color: var(--c-primary-dark); font-size: 14px; font-weight: bold; line-height: 1.55; }
.p-stylist-profile__table { grid-area: table; min-width: 0; margin-top: 12px; }
.p-stylist-profile__actions { grid-area: actions; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.p-stylist-profile__reserve { min-width: 240px; min-height: 44px; font-size: 15px; }
.p-stylist-profile__na { flex: 1 1 100%; padding: 7px 12px; border: 1px solid var(--c-border-light); border-radius: 3px; background: var(--c-bg-soft); color: #666; font-size: 12px; line-height: 1.6; }

/* ---------- メッセージ ---------- */
.p-stylist-intro { padding: 0 2px; line-height: 1.85; word-break: break-word; }

/* ---------- 今週のスケジュール ---------- */
.p-stylist-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--c-border); border-right: 0; text-align: center; }
.p-stylist-week__day { min-width: 0; border-right: 1px solid var(--c-border); background: #fff; }
.p-stylist-week__date { position: relative; padding: 6px 2px 5px; border-bottom: 1px solid var(--c-border); background: var(--c-bg-soft); color: var(--c-heading); font-size: 11px; line-height: 1.3; }
.p-stylist-week__date b { margin-right: 1px; font-size: 14px; }
.p-stylist-week__day.is-sat .p-stylist-week__date { background: #f1f5fd; color: var(--c-sat); }
.p-stylist-week__day.is-sun .p-stylist-week__date { background: #fdf1f1; color: var(--c-sun); }
.p-stylist-week__today { display: inline-block; margin-right: 5px; padding: 0 5px; border-radius: 2px; background: var(--c-primary); color: #fff; font-size: 10px; font-weight: bold; line-height: 16px; vertical-align: 1px; }
.p-stylist-week__time, .p-stylist-week__off { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 2px; font-size: 13px; line-height: 1.4; }
.p-stylist-week__time { color: var(--c-text); font-weight: bold; }
.p-stylist-week__off { color: #a39b94; }
.p-stylist-week__day.is-off { background: #faf8f6; }

/* ---------- 担当スタイル・ブログ・フッター ---------- */
/* 見出しの下線とブログ一覧の上罫線が二重にならないようにする */
.p-stylist-blogs { border-top: 0; }
.p-stylist-blogs .c-blog-card:first-child { padding-top: 4px; }
.p-stylist-more { margin-top: 12px; font-size: 12px; text-align: right; }
.p-stylist-foot { margin-top: 32px; text-align: center; }
.p-stylist-foot__back { margin-top: 14px; font-size: 12px; }

@media (max-width: 767px) {
  .p-stylist-profile {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "photo head" "table table" "actions actions";
    gap: 0 12px;
    padding: 12px;
    border-radius: 6px;
  }
  .p-stylist-profile__name { font-size: 19px; }
  .p-stylist-profile__kana { display: block; margin: 1px 0 0; }
  .p-stylist-profile__catch { font-size: 13px; }
  .p-stylist-profile__table .c-deftable th { width: 9.6em; white-space: nowrap; }
  .p-stylist-profile__reserve { flex: 1 1 100%; min-width: 0; min-height: 46px; }
  .p-stylist-profile__na { font-size: 13px; }

  .p-stylist-week__date { padding: 5px 0 4px; font-size: 10px; }
  .p-stylist-week__date b { display: block; margin: 0; font-size: 13px; }
  .p-stylist-week__today { display: block; width: max-content; margin: 0 auto 2px; }
  .p-stylist-week__day:not(:first-child) .p-stylist-week__date { padding-top: 23px; }
  .p-stylist-week__time { flex-direction: column; min-height: 50px; font-size: 11px; line-height: 1.35; }
  .p-stylist-week__off { min-height: 50px; font-size: 12px; }

  .p-stylist-more { font-size: 13px; }
  .p-stylist-foot__back { font-size: 13px; }
}
