@charset "utf-8";
/*---------------------------------------*/
/* 予約カレンダー（案件CSS）
   base.css / format.css / layout.css のあとに読み込みます。
   レイアウト（flex・余白・文字サイズ・中央寄せ）は layout.css の
   クラスをHTML側で指定し、このファイルは見た目だけを受け持ちます。
   レスポンシブは要素ごとに PC → タブレット(980px) → スマホ(767px) の順。
*/
/*---------------------------------------*/
:root{
--c-ink:#1c1c1c;
--c-ink-soft:#717171;
--c-ink-faint:#b8b8b8;
--c-surface:#fff;
--c-bg:#f2f2f2;
--c-fill:#ebebeb;
--c-fill-soft:#f5f5f5;
--c-fill-hover:#e4e4e4;
--c-accent:var(--c-ink);
--c-on-accent:#fff;
--c-red:#FF385C;
--c-red-solid:#E31C5F;
--c-red-press:#D70466;
--c-red-deep:#A3103A;
--c-red-tint:rgba(255,56,92,.10);
--c-on-red:#fff;
--r-card:20px;
--r-block:16px;
--r-chip:12px;
--r-pill:999px;
--sh-card:0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.05);
--sh-pop:0 2px 8px rgba(0,0,0,.10);
--sh-bar:0 -2px 18px rgba(0,0,0,.07);
}
/*---------------------------------------*/
/* box-sizing
   base.css / format.css / layout.css には指定がないため、
   予約ブロックの中だけ border-box にします。
   （サイト全体に影響させないようスコープを切っています）
*/
/*---------------------------------------*/
.edbk-reserve,
.edbk-reserve *,
.edbk-reserve *::before,
.edbk-reserve *::after,
.edbk-bottombar,
.edbk-bottombar *{
box-sizing:border-box;
}
/*---------------------------------------*/
/* タップ・クリック時の青い発光を消す
   スマホの -webkit-tap-highlight-color と、
   ボタン文字が選択されて青く反転するのを止めています。
*/
/*---------------------------------------*/
.edbk-reserve,
.edbk-bottombar{
-webkit-tap-highlight-color:transparent;
}
.edbk-reserve button,
.edbk-reserve a,
.edbk-bottombar button{
-webkit-tap-highlight-color:transparent;
-webkit-user-select:none;
-ms-user-select:none;
user-select:none;
}
/*---------------------------------------*/
/* 予約ブロック全体 */
/*---------------------------------------*/
.edbk-reserve{
max-width:720px;
margin:0 auto;
padding:40px 40px 70px;
background:var(--c-bg);
border-radius:var(--r-card);
color:var(--c-ink);
}
@media screen and (max-width:980px){
.edbk-reserve{
padding:30px 30px 70px;
}
}
@media screen and (max-width:767px){
.edbk-reserve{
padding:20px 12px 70px;
border-radius:0;
}
}
/*---------------------------------------*/
/* 見出し */
/*---------------------------------------*/
.edbk-ttl{
font-size:2.4rem;
font-weight:800;
line-height:1.3;
letter-spacing:-0.02em;
}
@media screen and (max-width:767px){
.edbk-ttl{
font-size:1.8rem;
}
}
.edbk-lead{
color:var(--c-ink-soft);
}
/*---------------------------------------*/
/* カード */
/*---------------------------------------*/
.edbk-card{
background:var(--c-surface);
border-radius:var(--r-card);
box-shadow:var(--sh-card);
padding:26px 22px 28px;
}
@media screen and (max-width:980px){
.edbk-card{
padding:22px 18px 24px;
}
}
@media screen and (max-width:767px){
.edbk-card{
padding:18px 14px 20px;
}
}
/*---------------------------------------*/
/* メニュー切替（溝の中を白いピルが滑る） */
/*---------------------------------------*/
.edbk-seg{
position:relative;
display:flex;
gap:2px;
background:var(--c-fill);
border-radius:var(--r-pill);
padding:4px;
overflow-x:auto;
scrollbar-width:none;
-webkit-overflow-scrolling:touch;
}
.edbk-seg::-webkit-scrollbar{
display:none;
}
.edbk-seg__pill{
position:absolute;
top:4px;
left:0;
width:0;
height:44px;
z-index:0;
border-radius:var(--r-pill);
background:var(--c-surface);
box-shadow:var(--sh-pop);
pointer-events:none;
transition:transform .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1);
}
.edbk-seg__btn{
position:relative;
z-index:1;
flex:1 0 auto;
white-space:nowrap;
font-size:1.4rem;
font-weight:600;
color:var(--c-ink-soft);
background:transparent;
border:0;
border-radius:var(--r-pill);
padding:10px 18px;
min-height:44px;
cursor:pointer;
transition:color .3s ease;
}
@media screen and (max-width:767px){
.edbk-seg__btn{
font-size:1.3rem;
padding:10px 14px;
}
}
.edbk-seg__btn.is-on{
color:var(--c-ink);
}
@media (prefers-reduced-motion:reduce){
.edbk-seg__pill{
transition:none;
}
}
/*---------------------------------------*/
/* 営業時間などの補足 */
/*---------------------------------------*/
.edbk-meta{
font-size:1.2rem;
color:var(--c-ink-soft);
}
/*---------------------------------------*/
/* 月の表示 ＋ カレンダー開閉 */
/*---------------------------------------*/
.edbk-monthbar__label{
font-size:1.8rem;
font-weight:800;
letter-spacing:-0.01em;
}
@media screen and (max-width:767px){
.edbk-monthbar__label{
font-size:1.7rem;
}
}
.edbk-pillbtn{
display:inline-flex;
align-items:center;
gap:7px;
font-size:1.3rem;
font-weight:600;
color:var(--c-ink);
background:var(--c-surface);
border:0;
border-radius:var(--r-pill);
box-shadow:var(--sh-pop);
padding:10px 18px;
min-height:42px;
cursor:pointer;
}
.edbk-pillbtn:active{
transform:scale(.98);
}
.edbk-pillbtn__icon{
display:block;
flex:0 0 auto;
width:15px;
height:15px;
}
/*---------------------------------------*/
/* 月カレンダー */
/*---------------------------------------*/
.edbk-month__ttl{
font-size:1.6rem;
font-weight:700;
min-width:8em;
}
.edbk-iconbtn{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
width:40px;
height:40px;
background:transparent;
border:0;
border-radius:50%;
color:var(--c-ink);
cursor:pointer;
}
.edbk-iconbtn:hover:not(:disabled){
background:var(--c-fill);
}
.edbk-iconbtn:disabled{
color:var(--c-ink-faint);
cursor:default;
}
.edbk-iconbtn svg{
display:block;
width:16px;
height:16px;
}
.edbk-month__grid{
width:100%;
table-layout:fixed;
}
.edbk-month__grid th{
font-size:1.1rem;
font-weight:600;
color:var(--c-ink-soft);
text-align:center;
padding:6px 0 10px;
}
.edbk-month__grid td{
text-align:center;
vertical-align:middle;
padding:2px 0;
}
.edbk-month__grid td.is-inweek{
background:var(--c-fill);
}
.edbk-month__grid td.is-rstart{
border-radius:var(--r-pill) 0 0 var(--r-pill);
}
.edbk-month__grid td.is-rend{
border-radius:0 var(--r-pill) var(--r-pill) 0;
}
.edbk-month__grid td.is-rstart.is-rend{
border-radius:var(--r-pill);
}
.edbk-mday{
display:inline-flex;
align-items:center;
justify-content:center;
width:38px;
height:38px;
font-size:1.4rem;
font-weight:600;
font-variant-numeric:tabular-nums;
color:var(--c-ink);
background:transparent;
border:0;
border-radius:50%;
padding:0;
cursor:pointer;
}
@media screen and (max-width:767px){
.edbk-mday{
width:34px;
height:34px;
font-size:1.3rem;
}
}
.edbk-mday:hover:not(:disabled){
background:rgba(0,0,0,.06);
}
.edbk-mday.is-today{
background:var(--c-accent);
color:var(--c-on-accent);
font-weight:700;
}
.edbk-mday.is-disabled{
color:var(--c-ink-faint);
text-decoration:line-through;
cursor:default;
}
.edbk-month__note{
font-size:1.1rem;
color:var(--c-ink-soft);
}
/*---------------------------------------*/
/* 週の移動 */
/*---------------------------------------*/
.edbk-weekbar__label{
flex:1 1 auto;
font-size:1.5rem;
font-weight:700;
font-variant-numeric:tabular-nums;
}
@media screen and (max-width:767px){
.edbk-weekbar__label{
font-size:1.4rem;
}
}
/*---------------------------------------*/
/* 日付ごとのブロック */
/*---------------------------------------*/
.edbk-dsec{
padding:16px 12px 18px;
border-radius:var(--r-block);
}
@media screen and (max-width:767px){
.edbk-dsec{
padding:14px 8px 16px;
}
}
.edbk-dsec.is-today{
background:var(--c-fill);
}
.edbk-dsec.is-off .edbk-dsec__date{
color:var(--c-ink-soft);
}
.edbk-dsec__date{
font-size:1.5rem;
font-weight:700;
font-variant-numeric:tabular-nums;
letter-spacing:-0.01em;
}
.edbk-dsec__badge{
font-size:1.0rem;
font-weight:700;
letter-spacing:0.04em;
line-height:1.4;
color:var(--c-on-red);
background:var(--c-red-solid);
border-radius:var(--r-pill);
padding:3px 9px;
}
.edbk-dsec__slots{
gap:10px;
}
@media screen and (max-width:767px){
.edbk-dsec__slots{
gap:8px;
}
}
.edbk-dsec__none{
font-size:1.3rem;
color:var(--c-ink-soft);
}
/*---------------------------------------*/
/* 時間ボタン（PC6列 → タブレット4列 → スマホ3列） */
/*---------------------------------------*/
.edbk-slot{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:1px;
width:calc((100% - 50px) / 6);
min-height:54px;
padding:8px 2px;
background:var(--c-fill-soft);
border:0;
border-radius:var(--r-chip);
cursor:pointer;
transition:background .12s, color .12s, transform .08s;
}
@media screen and (max-width:980px){
.edbk-slot{
width:calc((100% - 30px) / 4);
}
}
@media screen and (max-width:767px){
.edbk-slot{
width:calc((100% - 16px) / 3);
min-height:50px;
}
}
.edbk-slot__time{
font-size:1.5rem;
font-weight:700;
line-height:1.2;
font-variant-numeric:tabular-nums;
}
@media screen and (max-width:767px){
.edbk-slot__time{
font-size:1.4rem;
}
}
.edbk-slot__sub{
font-size:1.0rem;
font-weight:600;
line-height:1.2;
color:var(--c-ink-faint);
}
.edbk-dsec.is-today .edbk-slot{
background:var(--c-surface);
}
.edbk-slot.is-open:hover{
background:var(--c-fill-hover);
}
.edbk-dsec.is-today .edbk-slot.is-open:hover{
background:var(--c-fill-soft);
}
.edbk-slot.is-open:active{
transform:scale(.97);
}
.edbk-slot.is-blocked,
.edbk-slot.is-closed,
.edbk-slot.is-full{
background:transparent;
color:var(--c-ink-faint);
cursor:default;
}
.edbk-dsec.is-today .edbk-slot.is-blocked,
.edbk-dsec.is-today .edbk-slot.is-full{
background:transparent;
}
.edbk-slot.is-blocked .edbk-slot__time,
.edbk-slot.is-closed .edbk-slot__time,
.edbk-slot.is-full .edbk-slot__time{
text-decoration:line-through;
}
.edbk-slot.is-selected,
.edbk-dsec.is-today .edbk-slot.is-selected{
background:var(--c-red-solid);
color:var(--c-on-red);
box-shadow:0 2px 10px rgba(227,28,95,.30);
}
.edbk-slot.is-open.is-selected:hover,
.edbk-dsec.is-today .edbk-slot.is-open.is-selected:hover{
background:var(--c-red-solid);
}
.edbk-slot.is-selected .edbk-slot__sub{
color:rgba(255,255,255,.78);
}
.edbk-empty{
font-size:1.3rem;
color:var(--c-ink-soft);
padding:36px 16px;
}
/*---------------------------------------*/
/* 凡例 */
/*---------------------------------------*/
.edbk-legend{
gap:8px 18px;
font-size:1.2rem;
color:var(--c-ink-soft);
}
.edbk-legend li{
display:flex;
align-items:center;
gap:6px;
}
.edbk-legend__ex{
display:inline-block;
font-size:1.1rem;
font-weight:700;
font-variant-numeric:tabular-nums;
color:var(--c-ink);
background:var(--c-fill-soft);
border-radius:6px;
padding:3px 8px;
}
.edbk-legend__ex.is-selected{
color:var(--c-on-red);
background:var(--c-red-solid);
}
.edbk-legend__ex.is-blocked{
color:var(--c-ink-faint);
background:transparent;
text-decoration:line-through;
}
/*---------------------------------------*/
/* 注記 */
/*---------------------------------------*/
.edbk-note{
font-size:1.2rem;
line-height:1.7;
color:var(--c-ink-soft);
}
/*---------------------------------------*/
/* 下部の固定バー */
/*---------------------------------------*/
.edbk-bottombar{
position:fixed;
left:0;
right:0;
bottom:0;
z-index:20;
width:100%;
max-width:720px;
margin:0 auto;
gap:12px;
padding:14px 24px;
padding-bottom:calc(14px + env(safe-area-inset-bottom, 0px));
background:var(--c-surface);
box-shadow:var(--sh-bar);
border-radius:var(--r-card) var(--r-card) 0 0;
}
@media screen and (max-width:767px){
.edbk-bottombar{
padding:12px 16px;
padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px));
border-radius:0;
}
}
.edbk-bottombar__text{
min-width:0;
font-size:1.3rem;
line-height:1.35;
color:var(--c-ink-soft);
}
.edbk-bottombar__text strong{
display:block;
font-size:1.4rem;
font-weight:700;
color:var(--c-ink);
font-variant-numeric:tabular-nums;
}
.edbk-cta{
flex:0 0 auto;
font-size:1.5rem;
font-weight:700;
color:var(--c-on-red);
background:var(--c-red-solid);
border:0;
border-radius:14px;
padding:14px 24px;
min-height:50px;
cursor:pointer;
}
.edbk-cta:hover:not(:disabled){
background:var(--c-red-press);
}
.edbk-cta:active{
transform:scale(.98);
}
.edbk-cta:disabled{
background:var(--c-fill);
color:var(--c-ink-faint);
cursor:default;
transform:none;
}
.edbk-linkbtn{
font-size:1.3rem;
font-weight:600;
color:var(--c-ink);
background:transparent;
border:0;
padding:6px 2px;
text-decoration:underline;
cursor:pointer;
}
/*---------------------------------------*/
/* 入力フォーム */
/*---------------------------------------*/
.edbk-slotbox{
background:var(--c-fill-soft);
border-radius:var(--r-block);
padding:18px 20px;
}
@media screen and (max-width:767px){
.edbk-slotbox{
padding:16px;
}
}
.edbk-slotbox__label{
font-size:1.1rem;
font-weight:600;
letter-spacing:0.06em;
color:var(--c-ink-soft);
}
.edbk-slotbox__value{
font-size:1.9rem;
font-weight:800;
letter-spacing:-0.01em;
font-variant-numeric:tabular-nums;
}
@media screen and (max-width:767px){
.edbk-slotbox__value{
font-size:1.7rem;
}
}
.edbk-slotbox__sub{
font-size:1.2rem;
color:var(--c-ink-soft);
}
.edbk-flabel{
display:block;
font-size:1.3rem;
font-weight:700;
}
.edbk-freq{
font-size:1.0rem;
font-weight:700;
color:var(--c-on-red);
background:var(--c-red-solid);
border-radius:var(--r-pill);
padding:2px 7px;
margin-left:6px;
vertical-align:1px;
}
.edbk-input,
.edbk-textarea,
.edbk-selectbox{
display:block;
width:100%;
font-size:1.5rem;
color:var(--c-ink);
background:var(--c-fill-soft);
border:0;
border-radius:var(--r-chip);
padding:13px 14px;
min-height:50px;
}
.edbk-textarea{
min-height:100px;
resize:vertical;
}
.edbk-alert{
font-size:1.3rem;
font-weight:600;
color:var(--c-red-deep);
background:var(--c-red-tint);
border-radius:var(--r-chip);
padding:12px 14px;
}
.edbk-done__ttl{
font-size:2.2rem;
font-weight:800;
letter-spacing:-0.01em;
}
.edbk-done__text{
font-size:1.4rem;
color:var(--c-ink-soft);
}
.edbk-done__slot{
display:inline-block;
font-size:1.6rem;
font-weight:700;
color:var(--c-ink);
background:var(--c-fill-soft);
border-radius:var(--r-chip);
padding:10px 18px;
font-variant-numeric:tabular-nums;
}
.edbk-textlink{
font-size:1.3rem;
font-weight:600;
color:var(--c-ink);
text-decoration:underline;
}
/*---------------------------------------*/
/* フォーカス位置（赤でそろえる） */
/*---------------------------------------*/
.edbk-slot:focus-visible,
.edbk-cta:focus-visible,
.edbk-seg__btn:focus-visible,
.edbk-mday:focus-visible,
.edbk-iconbtn:focus-visible,
.edbk-pillbtn:focus-visible{
outline:2px solid var(--c-red);
outline-offset:2px;
}
.edbk-input:focus,
.edbk-textarea:focus,
.edbk-selectbox:focus{
outline:2px solid var(--c-red);
outline-offset:1px;
}
/*---------------------------------------*/
/* 保存領域が使えないときの注意書き */
/*---------------------------------------*/
.edbk-warn{
font-size:1.2rem;
color:var(--c-ink);
background:var(--c-fill);
padding:9px 16px;
}
/*---------------------------------------*/
/* ベースCSSが無いテーマ向けの代わり
   layout.css を読み込んでいないテーマ（Twenty Twenty-Five など）でも
   並びと余白が崩れないよう、予約ブロックの中だけ最低限を指定します。
   @layer に入れているので、layout.css があればそちらが優先されます。
*/
/*---------------------------------------*/
@layer edbk-fallback{
:where(.edbk-reserve,.edbk-bottombar) .l-row,
.edbk-bottombar.l-row{display:flex;flex-wrap:wrap;}
:where(.edbk-reserve,.edbk-bottombar) .l-row--between,
.edbk-bottombar.l-row--between{justify-content:space-between;}
:where(.edbk-reserve) .l-row--center{justify-content:center;}
:where(.edbk-reserve,.edbk-bottombar) .l-row--middle,
.edbk-bottombar.l-row--middle{align-items:center;}
:where(.edbk-reserve) .u-center{text-align:center;}
:where(.edbk-reserve) .fs-14{font-size:14px;}
:where(.edbk-reserve) .normalBlock{margin-top:0;margin-bottom:40px;}
:where(.edbk-reserve) .semiBlock{margin-top:0;margin-bottom:30px;}
:where(.edbk-reserve) .miniBlock{margin-top:0;margin-bottom:20px;}
:where(.edbk-reserve) .minimumBlock{margin-top:0;margin-bottom:10px;}
@media screen and (max-width:767px){
:where(.edbk-reserve) .normalBlock{margin-bottom:30px;}
:where(.edbk-reserve) .semiBlock{margin-bottom:20px;}
:where(.edbk-reserve) .miniBlock{margin-bottom:15px;}
}
}
