/*
 * 予約関連画面の css まとめ
 * 元から各画面に設定されていた css も含む
 */

strong {
  font-weight: bold;
}

.flex-row {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: start;
}

.inline-block {
  display: inline-block;
}

.link-like {
  width: auto;
  min-width: auto;
  padding: 0;
  font-size: 1em;
  color: -moz-hyperlinktext;
  color: -webkit-link;
  text-align: start;
  text-decoration: underline;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.link-like:active {
  color: -moz-activehyperlinktext;
  color: -webkit-activelink;
  background-color: transparent;
}

.title {
  display: flex;
  padding: 5px 10px;
  background-color: #690;
}

.title h2 {
  flex-grow: 1;
  padding: 0 !important;
}

.back {
  color: #fff;
}

.shop-link {
  float: left;
}

.shop-logo {
  max-height: 60px;
}

/* スマホ表示時のログイン会員情報 (店舗ロゴ横) を非表示 */
header .member-info {
  display: none;
}

/* PC 表示時のログイン会員情報 (サイドバー) */
#main .member-info {
  padding: 3px;
  margin: 3px;
  font-size: 13px;
  line-height: 15px;
  border: 1px solid #777;
}

/* アバター画像 */
.member-avatar {
  width: 95%;
}

/* 予約手順、および進行状況 */
.step-list-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 4px 0;
}

.step-list {
  padding: 2px 4px;
  font-size: 0.8rem;
  border: 1px solid #555;
}

.step-list-r {
  display: inline-block;
  padding: 3px 2px;
  color: #fff;
  background: #702;
}

/* 緑背景白文字 */
.headline {
  padding: 2px 4px;
  margin: 5px 0;
  font-size: 1rem;
  color: #fff;
  background: #396;
}

/* iOS でもボタンの見た目を同じに */
.button {
  min-width: 160px;
  margin: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
  color: black;
  background-color: #f0f0f0;
  border: 1px solid black;
  border-radius: 2px;
  appearance: none;
}

.button:active {
  background-color: #f5f5f5;
}

.button:disabled {
  color: rgb(16 16 16 / 30%);
  background-color: rgb(239 239 239 / 30%);
  border-color: rgb(118 118 118 / 30%);
}


table.mem {
  margin: 7px 0;
  border-collapse: collapse;
}

table.mem th {
  padding: 5px;
  line-height: 120%;
  background-color: #ddd;
  border: solid #aaa 1px;
}

table.mem td {
  padding: 5px;
  line-height: 120%;
  vertical-align: top;
  border: solid #aaa 1px;
}

td.l {
  text-align: left;
}

td.c {
  text-align: center;
}

td.r {
  text-align: right;
}

span.r {
  color: red;
}

/* 予約日選択画面 カレンダーテーブル */
table.calendar {
  width: 100%;
  table-layout: fixed;
}

table.calendar th {
  padding: 5px;
  font-size: 13px;
  line-height: 13px;
  text-align: center;
  background: #eee;
  border: 1px solid #ccc;
}

table.calendar td {
  padding: 5px;
  font-size: 13px;
  line-height: 13px;
  text-align: left;
  border: 1px solid #ccc;
}

table.calendar td.days {
  background: #fff;
}

table.calendar th.sun {
  background: #fcc;
}

table.calendar td.sun {
  background: #fcc;
}

table.calendar th.sat {
  background: #cdf;
}

table.calendar td.sat {
  background: #cdf;
}

table.calendar td.today {
  background: #cfc;
}

table.calendar td.days:hover {
  background: #ff8;
}

/* リンクリスト */
.link-list>li {
  padding: 0.5rem 4px;
}

.link-list>li:not(:last-of-type) {
  border-bottom: 1px solid #22222220;
}

/* 説明 */
.memo {
  font-size: 0.9rem;
}

.categories-picker {
  display: none;
}

.categories-link-outer {
  position: sticky;
  top: 0;
  padding-top: 4px;
  padding-bottom: 0;
  background-color: white;
}

.categories-link-outer hr {
  margin-bottom: 0;
}

/* コース選択画面 カテゴリ一覧 */
.categories-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* コース選択画面 カテゴリ枠 */
.categories-link>li {
  flex-basis: 160px;
  flex-grow: 1;
  text-align: center;
}

/* コース選択画面 カテゴリリンク */
.categories-link>li>a {
  color: currentcolor;
}

.recommend {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0.125rem 0.5rem;
  font-size: 0.8rem;
  color: white;
  background-color: #f75587;
  border-radius: 14px;
}

.useable-point {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0.125rem 0.5rem;
  font-size: 0.8rem;
  color: white;
  background-color: #0070c0;
  border-radius: 12px;
}

.only-point {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0.125rem 0.5rem;
  font-size: 0.8rem;
  color: black;
  background-color: #ffc000;
  border-radius: 12px;
}

/* 指名選択画面 セラピスト外枠 */
.therapist {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

/* 指名選択画面 セラピスト画像 */
.therapist-image {
  flex: 0 0 120px;
  width: 120px;
  object-fit: contain;
}

/* 指名選択画面 セラピスト名など */
.therapist-properties {
  flex: 1 0 0;
}

/* 指名選択画面 セラピストメッセージ */
.therapist-messages {
  display: flex;
  flex-direction: column;
  flex: 1 0 0;
}

/* 指名選択画面 選択するボタン */
.therapist-buttons {
  display: flex;
  flex-grow: 1;
  align-items: end;
  justify-content: end;
}

/* オプション選択画面 オプション外枠 */
.option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 0.5rem;
}

/* オプション選択画面 チェックボックス */
.option>input {
  align-self: center;
}

/* オプション選択画面 オプション説明 */
.option>.memo {
  grid-column-start: 2;
  padding-left: 0.5rem;
}

/* 時間帯選択画面 時間帯テーブル */
.times {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* 時間帯選択画面 ヘッダ行 */
.times th {
  padding: 0.25rem;
  background: #eee;
  border: 1px solid #ccc;
}

/* 時間帯選択画面 データ行 */
.times td {
  padding: 0.25rem;
  border: 1px solid #ccc;
}

.number-picker {
  width: 80px;
  text-align: right;
}

/* スマホサイズ */
@media screen and (max-width: 600px) {
  .button {
    box-sizing: border-box;
    width: calc(100% - 1rem);
  }

  .sp-hide {
    display: none;
  }

  /* スマホ表示時のログイン会員情報 (店舗ロゴ横) */
  header .member-info {
    display: unset;
    font-size: 13px;
    line-height: 15px;
  }

  /* コース選択画面 カテゴリ一覧を上部固定 */
  .categories-picker {
    position: sticky;
    top: 0;
    display: block;
    padding: 4px;
    padding-bottom: 0;
    margin: -4px;
    background-color: white;
  }

  .categories-picker select {
    width: 200px;
    font-size: 1rem;
  }

  .categories-picker hr {
    margin-right: -4px;
    margin-bottom: 0;
    margin-left: -4px;
  }

  .categories-link-outer {
    display: none;
  }

  /* 指名選択画面 メッセージ欄を折り返し */
  .therapist {
    flex-wrap: wrap;
  }

  .therapist-messages {
    width: 100%;
  }
}