/* コフレリザーブ v4
   全体はナチュラルカラーで大人っぽく上品に。絵文字は使わない。
   配色は v3 の仕様を引き継ぐ。 */

:root {
  --bg:           #faf8f4;
  --panel:        #fefcf9;
  --line:         #ddd0be;
  --line-strong:  #c7b28e;
  --text:         #2a261e;
  --text-soft:    #5c5447;
  --accent:       #a98f63;
  --accent-deep:  #7a6540;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  /* スマホの明朝寄りの細い字だと読みにくいので、太めの字を先に指定する */
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic Medium", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
header.site .inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
header.site h1 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
}

.langs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.82rem; }
.langs a { color: var(--text-soft); text-decoration: none; padding-bottom: 2px; }
.langs a:hover { color: var(--text); }
.langs a.on { color: var(--accent-deep); border-bottom: 1px solid var(--accent-deep); }

h2.heading {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 20px;
  letter-spacing: 0.02em;
}

.spaces { display: grid; gap: 10px; }

/* スペースのカード。写真は小さく、カード全体をそのスペースの色で塗る。
   4つとも1画面に収まるようにする。 */
.space {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: color-mix(in srgb, var(--sc) 22%, #fff);
  border: 1px solid color-mix(in srgb, var(--sc) 55%, #fff);
  border-left: 5px solid var(--sc);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.space:hover { transform: translateY(-1px); border-color: var(--sc); }

.space .thumb {
  width: 96px;
  min-height: 96px;
  flex: 0 0 96px;
  object-fit: cover;
  display: block;
  background: #efe9e0;
}

.space .body { padding: 12px 14px; display: block; min-width: 0; }
.space .name { display: block; font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; }
.space .desc {
  display: block; font-size: .84rem; margin-bottom: 7px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.space .meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-soft);
}
.space .price { color: var(--text); font-weight: 700; }

@media (min-width: 720px) {
  .spaces { grid-template-columns: 1fr 1fr; }
}

.empty {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  color: var(--text-soft);
}

/* ---------- 2画面目 ---------- */

.crumb { font-size: .85rem; color: var(--text-soft); margin: 4px 0 0; }
.crumb a { color: var(--text-soft); }
.crumb .dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin: 0 6px 0 12px; vertical-align: middle;
}

.field { margin: 26px 0; }
.label {
  display: block; font-size: .86rem; color: var(--text-soft);
  margin-bottom: 8px; letter-spacing: .04em;
}
.note { font-size: .82rem; color: var(--accent-deep); margin-left: 10px; }

input[type="date"] {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--panel); color: var(--text);
}

.plans { display: grid; gap: 10px; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .15s ease;
}
.plan:hover:not(:disabled) { border-color: var(--line-strong); }
.plan.on { border-color: var(--accent-deep); background: #fdfaf4; }
.plan:disabled { opacity: .45; cursor: not-allowed; }
.plan-name  { font-weight: 600; }
.plan-note  { font-size: .8rem; color: var(--text-soft); }
.plan-price { font-size: .86rem; margin-top: 4px; }
.plan-why   { font-size: .78rem; color: #b06a5e; }

.timemsg { font-size: .95rem; margin: 0 0 12px; }
.timemsg.big { font-size: 1.05rem; font-weight: 600; }
.timemsg.waiting { color: var(--text-soft); }
.timemsg.waiting::after {
  content: '...'; display: inline-block; margin-left: 2px;
  letter-spacing: 2px; color: var(--accent);
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .25 } 50% { opacity: 1 } }

.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--text-soft); margin-bottom: 12px; }
.legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -2px; border: 1px solid; }
.sw.free   { background: #fefcf9; border-color: #e8ddd1; }
.sw.busy   { background: #ffcccc; border-color: #ff9999; }
.sw.usable { background: #cce7ff; border-color: #66b3ff; }
.sw.sel    { background: linear-gradient(135deg,#d4c4a8,#c4b49a); border-color: #c4b49a; }
.sw.past   { background: #f5f5f5; border-color: #e0e0e0; }

.blocks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
@media (min-width: 520px) { .blocks { grid-template-columns: repeat(8, 1fr); gap: 5px; } .blk { font-size: .74rem; padding: 7px 2px; } }
@media (min-width: 820px) { .blocks { grid-template-columns: repeat(12, 1fr); gap: 5px; } }

.blk {
  font: inherit; font-size: .68rem; padding: 6px 1px; cursor: pointer;
  background: #fefcf9; border: 1px solid #e8ddd1; border-radius: 5px; color: var(--text);
}
.blk.busy   { background: #ffcccc; border-color: #ff9999; color: #cc0000; }
.blk.usable { background: #cce7ff; border-color: #66b3ff; }
.blk.past   { background: #f5f5f5; border-color: #e0e0e0; opacity: .3; }
.blk.locked { cursor: default; }
.blk.sel    { background: linear-gradient(135deg,#d4c4a8,#c4b49a); border-color: #c4b49a; color: #fff; }

.price-box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px;
}
.price-box .row { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; padding: 3px 0; }
.price-box .row.off { color: #b06a5e; }
.price-box .row.total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px;
  font-size: 1.05rem; font-weight: 600;
}

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  font: inherit; padding: 11px 22px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--text);
  text-decoration: none; display: inline-block;
}
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.ghost { border-color: var(--line); color: var(--text-soft); }
.btn.primary { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* ---------- 3画面目 ---------- */

.summary {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px;
}
.summary .row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 6px 0; font-size: .92rem; align-items: baseline;
}
.summary .row > span:first-child { color: var(--text-soft); white-space: nowrap; }
.summary .row > span:last-child { text-align: right; }
.summary .row.off { color: #b06a5e; }
.summary .row.total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px;
  font-size: 1.05rem; font-weight: 600;
}
.soft { color: var(--text-soft); font-size: .82rem; margin: 4px 0 0; }

.input { margin: 16px 0; }
.input label { display: block; font-size: .86rem; margin-bottom: 6px; }
.input label em {
  font-style: normal; font-size: .72rem; color: #b06a5e;
  border: 1px solid #e6cdc7; border-radius: 3px; padding: 0 5px; margin-left: 6px;
}
.input input {
  font: inherit; width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--text);
}
.input input:focus { outline: none; border-color: var(--accent-deep); }

.formerr { color: #c0392b; font-size: .84rem; margin: 6px 0 0; }
.typo { font-size: .84rem; margin: 6px 0 0; }
.linkbtn {
  font: inherit; background: none; border: none; padding: 0 2px;
  color: var(--accent-deep); text-decoration: underline; cursor: pointer;
}

/* ---------- マイページ ---------- */
.notice { border-radius: 8px; padding: 12px 16px; font-size: .92rem; margin: 0 0 18px; }
.notice.ok { background: #eef6ec; border: 1px solid #cfe3ca; color: #2f7d32; }
.notice.ng { background: #fbeceb; border: 1px solid #efd2cf; color: #c0392b; }
.btn.danger { background: #fff; border-color: #d9b3ad; color: #b04a3c; }
.btn.danger:hover { border-color: #b04a3c; }
.langs a.findlink { color: var(--accent-deep); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.langs a.findlink:hover { border-color: var(--accent-deep); }

/* ---------- マイページの一覧 ---------- */
.subhead { font-size: .88rem; color: var(--text-soft); font-weight: 600; margin: 26px 0 10px; letter-spacing: .04em; }

.booking {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; margin-bottom: 10px; overflow: hidden;
}
.booking.off { opacity: .55; }

/* 予約の状態で枠を変える。全部ベージュだと見分けがつかない（2026-09-27 本人）
   これから … 緑の太枠＋左にスペースの色の帯／キャンセル … 灰色の点線／利用済み … 細い灰色 */
.booking.up {
  background: #fff; border: 2px solid #6f9e76; border-left: 7px solid var(--sc, #6f9e76);
}
.booking.up .badge { background: #e7f3e8; border-color: #8cbf92; color: #2f6a37; font-weight: 700; }
.booking.off { background: #f3f3f3; border: 1px dashed #bdbdbd; }
.booking.off .badge { color: #8a8a8a; border-color: #c8c8c8; background: #fff; }
.booking.done { border-color: #d6d6d6; }
.booking > summary {
  list-style: none; cursor: pointer; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .92rem;
}
.booking > summary::-webkit-details-marker { display: none; }
.booking > summary::after {
  content: ''; margin-left: auto; width: 7px; height: 7px;
  border-right: 1px solid var(--text-soft); border-bottom: 1px solid var(--text-soft);
  transform: rotate(45deg); transition: transform .15s ease;
}
.booking[open] > summary::after { transform: rotate(-135deg); }
.booking > summary:hover { background: #fdfaf4; }
.booking .bdate { font-weight: 600; }
.booking .bname { color: var(--text-soft); }
.booking .btime { color: var(--text-soft); font-size: .86rem; }
.booking .badge {
  font-size: .74rem; border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 10px; color: var(--text-soft);
}
.booking .bbody { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.booking .bbody .summary { border: none; padding: 8px 0 0; background: none; }
.cancelbox { border-top: 1px dashed var(--line) !important; margin-top: 10px; padding-top: 10px !important; }
.cancelwrap { margin-top: 14px; }
.cancelwrap > summary {
  list-style: none; cursor: pointer; font-size: .8rem; color: var(--text-soft);
  text-decoration: underline; text-underline-offset: 3px; display: inline-block;
}
.cancelwrap > summary::-webkit-details-marker { display: none; }
.cancelwrap > summary:hover { color: var(--text); }

/* ---------- 読みやすさの調整 ---------- */
/* スマホで線の細い字が読みにくいという指摘を受けての調整。
   薄いグレーの文字はやめて、濃さを上げる。 */

.soft, .note, .plan-note, .space .desc, .legend, .crumb, .subhead,
.summary .row > span:first-child, .booking .bname, .booking .btime {
  color: var(--text-soft);
  font-weight: 500;
}

.space .desc   { font-size: .92rem; }
.plan-note     { font-size: .86rem; }
.summary .row  { font-size: .95rem; }
.soft          { font-size: .86rem; }
.legend        { font-size: .82rem; }

.blk { font-size: .72rem; font-weight: 600; color: var(--text); }
.blk.busy { color: #b3231a; font-weight: 700; }
.blk.past { opacity: .45; }

label, .label { font-weight: 600; }
.label { color: var(--text-soft); font-size: .9rem; }

/* ---------- 選んでいるプランをはっきりさせる ---------- */

.plan { border-width: 2px; }
.plan.on {
  border-color: var(--accent-deep);
  background: #f5ecda;
  box-shadow: 0 1px 0 var(--accent-deep);
}
.plan.on .plan-name { color: var(--accent-deep); }
.plan.on .plan-name::before {
  /* チェックマークは小さいと潰れてバツに見えるので、素直な丸にする */
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 9px;
  vertical-align: -1px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--accent-deep);
}
.plan-name  { font-weight: 700; font-size: 1.02rem; }
.plan-price { font-weight: 600; }
.plan-why   { color: #a8392c; font-weight: 600; }

/* 選んだあとに、何を選んでいるか画面の上のほうでも分かるように */
.timemsg { font-weight: 600; color: var(--text); }

/* ---------- スマホでスペース4つを1画面に収める ---------- */
@media (max-width: 719px) {
  header.site .inner { padding: 12px 16px; }
  header.site h1 { font-size: .98rem; }
  .langs { font-size: .74rem; gap: 9px; }
  .langs a.findlink { padding: 2px 9px; }

  .wrap { padding: 14px 16px 48px; }
  h2.heading { font-size: 1.02rem; margin: 14px 0 12px; }

  .spaces { gap: 8px; }
  .space .thumb { width: 84px; flex: 0 0 84px; min-height: 84px; }
  .space .body { padding: 9px 12px; }
  .space .name { font-size: .96rem; margin-bottom: 2px; }
  .space .desc { -webkit-line-clamp: 1; font-size: .8rem; margin-bottom: 4px; }
  .space .meta { font-size: .76rem; gap: 10px; }
}

/* ---------- 最初は日付だけを見せる ---------- */
.label.lead { font-size: 1rem; color: var(--text); font-weight: 700; margin-bottom: 10px; }
input[type="date"].lead {
  font-size: 1.05rem; padding: 14px 16px;
  border: 2px solid var(--line-strong); font-weight: 600;
}
input[type="date"].lead:focus { border-color: var(--accent-deep); outline: none; }

#afterDate.slidein { animation: slidein .25s ease-out; }
@keyframes slidein {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* hidden を付けた要素は必ず隠す。
   .actions は display:flex を持っているので、それが hidden より強く効いてしまう。 */
[hidden] { display: none !important; }

.calendarlink { margin: 10px 0 0; font-size: .86rem; }
.calendarlink a {
  color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px;
  font-weight: 600;
}
.calendarlink a::before {
  content: ''; display: inline-block; width: 14px; height: 13px; margin-right: 7px;
  vertical-align: -2px; border: 1.5px solid var(--accent-deep); border-radius: 2px;
  border-top-width: 4px;
}

/* ---------- LINE から来た人 ---------- */
/* 名前も電話番号も分かっているので、入力欄は畳んでおく。
   押したときだけ開く。入力に失敗したときは open を付けて最初から開く。 */
.reenter { margin-top: 12px; }
.reenter > summary {
  list-style: none; cursor: pointer; font-size: .85rem; color: var(--text-soft);
  text-decoration: underline; text-underline-offset: 3px; display: inline-block;
}
.reenter > summary::-webkit-details-marker { display: none; }
.reenter > summary:hover { color: var(--text); }
.reenter[open] > summary { margin-bottom: 10px; }

/* ---------- これまでのご予約 ---------- */
/* 押す前は何も見えない。押した人は探しに来ているので、24か月ぶんを一度に出す。
   ここでさらに「もっと見る」を出すと二度押させることになる。 */
.pastwrap { margin-top: 26px; }
.pastwrap > summary {
  list-style: none; cursor: pointer; display: inline-block;
  padding: 9px 18px; border: 1px solid var(--line, #e8ddd1); border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--text-soft);
  background: #fff;
}
.pastwrap > summary::-webkit-details-marker { display: none; }
.pastwrap > summary:hover { color: var(--text); }
.pastwrap[open] > summary { margin-bottom: 14px; }
.pastwrap .soft { margin-top: 14px; font-size: .86rem; }

/* ---------- 予約確認の 行き方・鍵 ---------- */
.summary.place { margin-top: 12px; }
.summary.place .row > span:last-child { text-align: left; line-height: 1.7; }
.summary.place a { color: var(--text); text-underline-offset: 3px; }

/* こちらで返金できない支払いの予約 */
.cancelask { margin-top: 16px; font-size: .86rem; }

/* ---------- 箇条書き ---------- */
.bullets { margin: 14px 0 18px; padding-left: 1.15em; }
.bullets li { margin: 7px 0; line-height: 1.75; }

/* 見出しを押すとホームページに戻る。リンクらしく見せない */
.site h1 a { color: inherit; text-decoration: none; }
.site h1 a:hover { opacity: .75; }

/* ---------- 切り替えのお知らせ ---------- */
.switchnote {
  position: relative; background: #fdf7ee; border: 1px solid #e6cea0;
  border-radius: 12px; padding: 15px 40px 15px 16px; margin: 0 0 20px;
}
.switchnote b { display: block; font-size: .96rem; margin-bottom: 5px; color: #b07a2a; }
.switchnote p { margin: 0; font-size: .87rem; line-height: 1.7; color: var(--text-soft); }
.switchnote a { color: var(--text); text-underline-offset: 3px; white-space: nowrap; }
.switchnote .x {
  position: absolute; top: 8px; right: 10px; border: 0; background: none;
  font-size: 1.3rem; line-height: 1; color: #b0a59c; cursor: pointer; padding: 4px 6px;
}
.switchnote .x:hover { color: var(--text); }

/* ---------- ウェブの方への LINE のご案内 ---------- */
.invite {
  margin-top: 30px; background: #f2faf3; border: 1px solid #cfe6d2;
  border-radius: 12px; padding: 18px 18px 16px;
}
.invite b { display: block; font-size: .96rem; color: #3a7a45; margin-bottom: 8px; }
.invite ul { margin: 0 0 14px; padding-left: 1.15em; }
.invite li { font-size: .87rem; line-height: 1.75; color: var(--text-soft); margin: 4px 0; }
.invite .actions { margin: 0; }
.btn.line { background: #06c755; color: #fff; border-color: #06c755; }
.btn.line:hover { opacity: .9; }

/* ---------- 空き状況カレンダー ---------- */
.calnav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; }
.calnav .btn.ghost { padding: 6px 16px; font-size: 1.1rem; line-height: 1.2; }
.calnav .btn.ghost.off { opacity: .3; pointer-events: none; }
.calmonth { font-size: 1.05rem; font-weight: 700; min-width: 7em; text-align: center; }

.caldays { margin: 14px 0 20px; }
.calday {
  display: flex; gap: 12px; padding: 12px 0;
  border-top: 1px solid var(--line, #e8ddd1);
}
.calday:last-child { border-bottom: 1px solid var(--line, #e8ddd1); }
.calday .d { flex: 0 0 4.4em; text-align: center; line-height: 1.3; padding-top: 2px; }
.calday .d .n { display: block; font-size: 1.05rem; font-weight: 700; }
.calday .d .w { display: block; font-size: .78rem; color: var(--text-soft); }
.calday .d .h { display: block; font-size: .66rem; color: #c05a5a; margin-top: 2px; }
.calday .d.sat .n, .calday .d.sat .w { color: #3a6ea5; }
.calday .d.sun .n, .calday .d.sun .w { color: #c05a5a; }

.calday .sp { flex: 1 1 auto; min-width: 0; }
.calday .line { display: flex; align-items: baseline; gap: 7px; padding: 3px 0; font-size: .88rem; }
.calday .line .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
.calday .line .nm { flex: 0 0 8.4em; color: var(--text-soft); font-size: .8rem; }
.calday .line .tm { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.calday .line .tm a { color: var(--text); text-decoration: none; border-bottom: 1px solid #d8cbbb; }
.calday .line .tm a:hover { border-bottom-color: var(--text); }
.calday .line.none .tm { color: #b7ada2; font-weight: 500; }

@media (max-width: 480px) {
  .calday .line { flex-wrap: wrap; }
  .calday .line .nm { flex: 1 1 100%; margin-left: 15px; }
  .calday .line .tm { flex: 1 1 100%; margin-left: 15px; }
}

/* ---------- 週の時間割 ---------- */
.callegend {
  display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center;
  margin: 0 0 14px; font-size: .78rem; color: var(--text-soft);
}
.callegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px;
               margin-right: 5px; vertical-align: -1px; }

.week { display: flex; border: 1px solid var(--line, #e8ddd1); border-radius: 10px; overflow: hidden; }
.week .hours { flex: 0 0 3.5em; background: #fefcf9; }
.week .dayc  { flex: 1 1 0; min-width: 0; border-left: 1px solid var(--line, #e8ddd1); }

.week .hd {
  height: 3.1em; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fefcf9; border-bottom: 1px solid var(--line, #e8ddd1); line-height: 1.15;
  text-decoration: none; color: var(--text);
}
.week a.hd:hover { background: #fdf2e4; }
.week .hd .n { font-size: 1rem; font-weight: 700; }
.week .hd .w { font-size: .68rem; color: var(--text-soft); }
.week .hd.sat .n, .week .hd.sat .w { color: #3a6ea5; }
.week .hd.sun .n, .week .hd.sun .w { color: #c05a5a; }

.week .col { position: relative; height: 720px; }
/* 1時間ごとに線を引く。予約は15分単位なので、これより粗いと読めない */
.week .hr { height: 30px; border-top: 1px solid #ece3d8; box-sizing: border-box; }
.week .hr:first-child { border-top: 0; }
.week .hr:nth-child(6n+1) { border-top-color: #ddd1c1; }

/* 目盛りは線の高さにぴったり合わせる。Googleカレンダーと同じく線の上に出す */
/* 数字の真ん中を線の高さに合わせる。線が数字のところで切れて見えるので、
   どの線の時刻か迷わない */
.week .tick {
  position: absolute; right: 5px; transform: translateY(-50%);
  font-size: .64rem; line-height: 1.1; color: var(--text-soft); white-space: nowrap;
  background: #fefcf9; padding: 1px 3px; pointer-events: none;
}
.week .tick.top { transform: translateY(0); }

.week .past { position: absolute; left: 0; right: 0; top: 0; background: #f4f1ec; }
.week .ev { position: absolute; border-radius: 2px; opacity: .85; }

@media (max-width: 600px) {
  .week .col { height: 560px; }
  .week .hr { height: 23.33px; }
  .week .hd { height: 2.8em; }
}

/* LINEの方へ：トークをピン留めしてもらう案内 */
.pinhint {
  margin: 22px 0 0; padding: 13px 15px; border-radius: 10px;
  background: #f2faf3; border: 1px solid #cfe6d2;
  font-size: .85rem; line-height: 1.75; color: var(--text-soft);
}

/* 日付を選んだあと、空き状況を取りに行っているあいだの表示 */
/* 文字ごと点滅させる。「…」だけだと気づかれず、止まって見えた（2026-09-27 本人） */
.note.waiting { color: var(--accent-deep); font-weight: 700; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .2 } }
.note.waiting::after {
  content: '...'; display: inline-block; margin-left: 2px;
  letter-spacing: 2px; color: var(--accent);
  animation: pulse 1s ease-in-out infinite;
}
.note.failed { color: #b06a5e; font-weight: 600; }

/* 「料金を確認」を押したとき、料金の枠を一瞬光らせる */
.price-box.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 4px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* 押したあと次の画面が出るまでのボタン。止まって見えないように点滅させる */
.btn.waiting { animation: blink 1.2s ease-in-out infinite; pointer-events: none; }

/* 前もってのご予約は1時間から、という案内 */
.minnote { margin: 12px 0 0; font-size: .82rem; color: var(--text-soft); line-height: 1.7; }

/* その日がまるごと埋まっているとき、プランの上に出す */
.datefull {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdf1f1;
  border: 1px solid #e8c7c7;
  color: #9c4a4a;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.7;
}
