#chuchu-booking-calendar{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:#37342f;background:#f8f6f2;font-size:16px}
#chuchu-booking-calendar, #chuchu-booking-calendar *{box-sizing:border-box}
#chuchu-booking-calendar{margin:0;line-height:1.8}
#chuchu-booking-calendar .shell{max-width:1080px;margin:auto;padding:30px 24px 70px}
#chuchu-booking-calendar header{text-align:center;margin:30px auto 35px}
#chuchu-booking-calendar header .kicker{color:#8e7565;font-size:14px;letter-spacing:.1em;font-weight:700}
#chuchu-booking-calendar h1{font-size:clamp(36px,5vw,52px);line-height:1.35;margin:10px 0 15px;font-family:"Yu Mincho",serif}
#chuchu-booking-calendar header p{max-width:700px;margin:auto}
#chuchu-booking-calendar .panel{background:#fff;border:1px solid #e5ded5;border-radius:16px;padding:26px;box-shadow:0 10px 40px #584a3e0a}
#chuchu-booking-calendar .tabs, #chuchu-booking-calendar .chips{display:flex;gap:8px;flex-wrap:wrap}
#chuchu-booking-calendar .tabs{background:transparent;padding:0;border-radius:12px;gap:12px;margin:0 0 12px;flex-wrap:nowrap}
#chuchu-booking-calendar .tabs button{flex:1;min-width:0;border:2px solid #243f78;background:#fff;min-height:62px;font-size:16px;font-weight:700;color:#243f78;border-radius:12px;cursor:pointer;box-shadow:0 3px 0 #dce4f4;transition:background .15s,color .15s,box-shadow .15s,border-color .15s;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 10px;line-height:1.4}
#chuchu-booking-calendar .tabs button.active{background:#243f78;color:#fff;border-color:#243f78;box-shadow:0 4px 12px #243f7833}#chuchu-booking-calendar .tabs button:hover:not(.active){background:#eef2fb}#chuchu-booking-calendar .tabs button .tab-svg{width:21px;height:21px;flex:none;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
#chuchu-booking-calendar .switch-help{color:#344c78;font-size:16px;line-height:1.8;padding:10px 14px;margin:0 0 10px;background:#eff3fa;border-radius:9px;border-left:3px solid #4766a3}
#chuchu-booking-calendar .choose-label{font-size:17px;font-weight:700;line-height:1.7;margin:17px 0 0;color:#24395d}
#chuchu-booking-calendar .tabs button:focus-visible,#chuchu-booking-calendar .chips button:focus-visible{outline:3px solid #6682ba;outline-offset:2px}
#chuchu-booking-calendar .chips{margin:12px 0 22px}
#chuchu-booking-calendar .chips button{font-size:16px;border:1.5px solid #869cc8;color:#2a457a;background:#fff;padding:9px 19px;min-height:48px;border-radius:100px;cursor:pointer;font-weight:600}
#chuchu-booking-calendar .chips button.active{background:#243f78;color:#fff;border-color:#243f78}
#chuchu-booking-calendar .selection{font-size:20px;font-weight:700;margin:0}
#chuchu-booking-calendar .sub{color:#6f6962;font-size:16px}
#chuchu-booking-calendar .calendar{border:1px solid #e9e2d9;border-radius:14px;overflow:hidden}
#chuchu-booking-calendar .weekday, #chuchu-booking-calendar .days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
#chuchu-booking-calendar .weekday{background:#f5f0ea;font-size:14px;text-align:center;color:#766c62}
#chuchu-booking-calendar .weekday>div{padding:7px}
#chuchu-booking-calendar .days>div{border-right:1px solid #eee8e0;border-bottom:1px solid #eee8e0;min-height:85px;padding:7px 5px}
#chuchu-booking-calendar .days>div:nth-child(7n){border-right:0}
#chuchu-booking-calendar .days .blank{background:#faf9f7}
#chuchu-booking-calendar .date{font-size:15px;font-weight:700}
#chuchu-booking-calendar .sun .date{color:#a65a66}
#chuchu-booking-calendar .sat .date{color:#527e93}
#chuchu-booking-calendar .marker{font-size:12px;line-height:1.45;padding:3px 5px;border-radius:5px;display:block;margin-top:4px;background:#e5eaf5;color:#405783;overflow-wrap:anywhere}
#chuchu-booking-calendar .marker.work{background:#e5edfa;color:#304f80}
#chuchu-booking-calendar .marker.event{background:#f3e8d4;color:#765629}
#chuchu-booking-calendar .legend{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 0;color:#625c55;font-size:14px}
#chuchu-booking-calendar .dot{width:10px;height:10px;display:inline-block;border-radius:50%;margin-right:5px}
#chuchu-booking-calendar .details{margin-top:26px}
#chuchu-booking-calendar .details h2{font-size:23px;margin:0 0 12px}
#chuchu-booking-calendar .entry{border-top:1px solid #e9e2da;padding:14px 2px;display:flex;gap:20px}
#chuchu-booking-calendar .when{width:90px;flex:none;font-weight:700}
#chuchu-booking-calendar .entry p{margin:0}
#chuchu-booking-calendar .entry small{display:block;color:#746d65;font-size:14px}
#chuchu-booking-calendar .empty{padding:18px;background:#f8f6f3;border-radius:8px;color:#655e59}
#chuchu-booking-calendar .note{font-size:15px;background:#f7f3ed;padding:16px;margin:26px 0;border-left:3px solid #b59b7c}
#chuchu-booking-calendar .links{display:flex;gap:12px;flex-wrap:wrap}
#chuchu-booking-calendar .links a{flex:1;min-width:200px;text-align:center;background:#2e477d;color:white;text-decoration:none;border-radius:8px;padding:13px 15px;min-height:54px;font-size:16px;font-weight:700}
#chuchu-booking-calendar .links a.secondary{background:white;border:1px solid #9d8c7e;color:#534a42}
#chuchu-booking-calendar .preview{background:#f8ebdd;color:#715a40;padding:4px 12px;border-radius:100px;font-size:14px;font-weight:700;display:inline-block}
@media(max-width:650px){#chuchu-booking-calendar .shell{padding:20px 14px 55px}
#chuchu-booking-calendar header{margin:18px auto 25px}
#chuchu-booking-calendar h1{font-size:37px}
#chuchu-booking-calendar .panel{padding:17px 13px}
#chuchu-booking-calendar .chips{margin:12px 0 16px}
#chuchu-booking-calendar .tabs button{padding:12px 6px;font-size:16px;line-height:1.35;min-height:62px;gap:7px}#chuchu-booking-calendar .tabs button .tab-svg{width:19px;height:19px}
#chuchu-booking-calendar .switch-help{padding:10px 12px}#chuchu-booking-calendar .guide-sub{margin-bottom:14px}
#chuchu-booking-calendar .chips button{padding:8px 12px}
#chuchu-booking-calendar .days>div{min-height:74px;padding:4px 2px}
#chuchu-booking-calendar .marker{font-size:10px;padding:2px;line-height:1.3}
#chuchu-booking-calendar .date{font-size:14px}
#chuchu-booking-calendar .entry{gap:9px}
#chuchu-booking-calendar .when{width:75px}
#chuchu-booking-calendar .links{flex-direction:column}
#chuchu-booking-calendar .links a{min-width:0}}
/* 予約導線の追加 */
#chuchu-booking-calendar .days .date-cell{appearance:none;text-align:left;background:#fff;color:inherit;font:inherit;width:100%;min-height:90px;padding:7px 5px;border:0;border-right:1px solid #eee8e0;border-bottom:1px solid #eee8e0;cursor:pointer;display:block;position:relative}
#chuchu-booking-calendar .days .date-cell:nth-child(7n){border-right:0}
#chuchu-booking-calendar .days .date-cell:hover{background:#f5f7fc}
#chuchu-booking-calendar .days .date-cell:focus-visible{outline:3px solid #7692c0;outline-offset:-3px}
#chuchu-booking-calendar .days .date-cell.selected{background:#edf2fa;box-shadow:inset 0 0 0 2px #7391bd}
#chuchu-booking-calendar .days .blank{min-height:90px}
#chuchu-booking-calendar .marker{font-size:12px}
#chuchu-booking-calendar .day-hint{font-size:12px;color:#746b65;margin-top:4px;display:block}
#chuchu-booking-calendar .reserve-panel{margin-top:25px;padding:22px;border:1px solid #c8d5e9;background:#fbfcff;border-radius:14px;scroll-margin-top:18px}
#chuchu-booking-calendar .reserve-panel h2{margin:0;font-size:24px}
#chuchu-booking-calendar .reserve-help{font-size:16px;color:#655d59;margin:4px 0 14px}
#chuchu-booking-calendar .booking-item{border:1px solid #dce4f1;border-radius:12px;background:#fff;padding:18px;margin:12px 0}
#chuchu-booking-calendar .booking-item h3{font-size:21px;margin:0 0 5px}
#chuchu-booking-calendar .booking-item p{margin:4px 0}
#chuchu-booking-calendar .muted{color:#69635e}
#chuchu-booking-calendar .booking-actions{display:flex;gap:10px;margin-top:14px}
#chuchu-booking-calendar .booking-actions button, #chuchu-booking-calendar .booking-actions a{font-size:16px;font-weight:700;border-radius:9px;min-height:48px;padding:10px 13px;flex:1;text-align:center;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
#chuchu-booking-calendar .booking-actions button{color:#fff;background:#2e477d;border:1px solid #2e477d}
#chuchu-booking-calendar .booking-actions a{color:#534a42;background:#fff;border:1px solid #9d8c7e}
#chuchu-booking-calendar .booking-actions button:focus-visible, #chuchu-booking-calendar .booking-actions a:focus-visible{outline:3px solid #7692c0;outline-offset:2px}
#chuchu-booking-calendar .status{font-size:15px;color:#34537d;font-weight:700}
#chuchu-booking-calendar .side-note{font-size:15px;color:#675e5c}
#chuchu-booking-calendar .only-info{border-left:3px solid #829bc6;background:#f1f5fb;padding:12px 14px;margin:10px 0;border-radius:4px}
#chuchu-booking-calendar .request-text{font-size:16px;line-height:1.7;background:#faf8f6;border:1px dashed #d2c7c0;border-radius:8px;padding:12px;white-space:pre-wrap;margin-top:12px}
#chuchu-booking-calendar .entry .entry-button{background:#fff;border:1px solid #a9bad8;color:#365180;border-radius:8px;min-height:40px;padding:5px 13px;margin-top:7px;font-size:16px;cursor:pointer}
#chuchu-booking-calendar .entry .entry-button:hover{background:#eaf0fb}
#chuchu-booking-calendar .feedback{font-size:15px;font-weight:bold;min-height:24px;color:#34537d}
#chuchu-booking-calendar .month-badge{font-size:14px;font-weight:700;color:#365180;background:#e9eef8;padding:3px 9px;border-radius:100px}
#chuchu-booking-calendar .days .date-cell:disabled{cursor:default}
#chuchu-booking-calendar .source-note{font-size:15px;line-height:1.75;color:#675c54}
#chuchu-booking-calendar .reserve-empty{background:#fff;border:1px dashed #d9cec7;padding:16px;border-radius:10px}
@media(max-width:650px){#chuchu-booking-calendar .days .date-cell, #chuchu-booking-calendar .days .blank{min-height:78px}
#chuchu-booking-calendar .days .date-cell{padding:4px 2px}
#chuchu-booking-calendar .marker{font-size:11px;line-height:1.3;padding:2px}
#chuchu-booking-calendar .day-hint{font-size:11px}
#chuchu-booking-calendar .reserve-panel{padding:16px 12px}
#chuchu-booking-calendar .booking-item{padding:15px 12px}
#chuchu-booking-calendar .booking-actions{flex-direction:column}
#chuchu-booking-calendar .booking-actions button, #chuchu-booking-calendar .booking-actions a{width:100%}
#chuchu-booking-calendar .reserve-panel h2{font-size:23px}
#chuchu-booking-calendar .entry{flex-wrap:wrap}
#chuchu-booking-calendar .entry>div:nth-child(2){flex:1}}
#chuchu-booking-calendar .guide-title{font-size:clamp(21px,2.5vw,26px);font-weight:750;line-height:1.45;color:#263551;margin:2px 0 4px;padding:0;border:none;background:transparent;box-shadow:none}#chuchu-booking-calendar .guide-sub{font-size:16px;line-height:1.75;color:#59667d;margin:0 0 17px}#chuchu-booking-calendar .tabs button:active{transform:translateY(1px)}#chuchu-booking-calendar .selection{font-size:22px;color:#263551}#chuchu-booking-calendar .tabs[hidden]{display:none}
#chuchu-booking-calendar .chuchu-calendar-title{font-size:clamp(28px,3.5vw,40px);line-height:1.4;margin:10px 0 15px;font-family:"Yu Mincho",serif;}
#chuchu-booking-calendar .live-state{font-size:14px;line-height:1.65;padding:2px 0 13px;color:#62738f;margin:0 0 17px;border-bottom:1px solid #eee6e8;display:flex;gap:7px;align-items:center;flex-wrap:wrap}#chuchu-booking-calendar .live-state::before{content:"";height:8px;width:8px;flex:none;border-radius:50%;background:#7894bd}#chuchu-booking-calendar .live-state.error{color:#a23834}#chuchu-booking-calendar .live-state.error::before{background:#c44a43}#chuchu-booking-calendar .tabs[hidden],#chuchu-booking-calendar .chips[hidden]{display:none}#chuchu-booking-calendar .days .date-cell{min-width:0}#chuchu-booking-calendar .marker{overflow-wrap:anywhere;white-space:normal}#chuchu-booking-calendar .days .date-cell .date{display:block}
@media(max-width:650px){#chuchu-booking-calendar .shell{padding:12px 14px 44px}#chuchu-booking-calendar header{margin:9px auto 18px}}
/* 3か月をひと目で選べる月切り替え（藍色テーマ） */
#chuchu-booking-calendar .month-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0 12px}
#chuchu-booking-calendar .month-choices button{appearance:none;display:flex;justify-content:center;align-items:center;gap:5px;min-height:54px;padding:10px 8px;border-radius:10px;border:2px solid #a4b5d3;background:#fff;color:#2c4577;font-size:17px;font-weight:700;line-height:1.4;cursor:pointer;white-space:nowrap}
#chuchu-booking-calendar .month-choices button.active{background:#243f78;border-color:#243f78;color:#fff;box-shadow:0 4px 13px rgba(36,63,120,.2)}
#chuchu-booking-calendar .month-choices button:hover:not(.active){background:#eef2fb}
#chuchu-booking-calendar .month-choices button:focus-visible{outline:3px solid #6682ba;outline-offset:2px}
#chuchu-booking-calendar .month-choices button .year{font-size:14px;font-weight:600}
@media(max-width:650px){#chuchu-booking-calendar .month-choices{gap:7px;margin:18px 0 10px}#chuchu-booking-calendar .month-choices button{min-height:52px;padding:9px 3px;font-size:16px;border-radius:8px}}

/* 2026-11-19: 3階層を明確化。先生/店舗=大ボタン、先生/店舗名=藍色選択、月=下線タブ */
#chuchu-booking-calendar .chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 22px}
#chuchu-booking-calendar .chips button{appearance:none;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:54px;padding:12px 8px;border:2px solid #a8b9d9;border-radius:10px;background:#fff;color:#243f78;font-size:16px;font-weight:700;line-height:1.4;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
#chuchu-booking-calendar .chips button.active{background:#243f78;border-color:#243f78;color:#fff;box-shadow:0 3px 9px rgba(36,63,120,.14)}
#chuchu-booking-calendar .chips button:hover:not(.active){background:#edf2fb;border-color:#6e88b4}
#chuchu-booking-calendar .month-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:22px 0 14px;border-bottom:1px solid #ccd7e8}
#chuchu-booking-calendar .month-choices button{appearance:none;min-width:0;min-height:52px;padding:10px 6px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#64718c;font-size:17px;font-weight:700;line-height:1.4;box-shadow:none;cursor:pointer;transition:color .15s,border-color .15s,background .15s}
#chuchu-booking-calendar .month-choices button.active{background:transparent;color:#243f78;border:0;border-bottom:3px solid #243f78;box-shadow:none}
#chuchu-booking-calendar .month-choices button:hover:not(.active){background:#f2f5fb;color:#243f78}
#chuchu-booking-calendar .month-choices button:focus-visible,#chuchu-booking-calendar .chips button:focus-visible{outline:3px solid #6682ba;outline-offset:2px}
@media(max-width:650px){
  #chuchu-booking-calendar .chips{gap:7px;margin:12px 0 18px}
  #chuchu-booking-calendar .chips button{min-height:50px;padding:10px 3px;border-radius:8px;font-size:16px;white-space:normal;overflow-wrap:anywhere}
  #chuchu-booking-calendar .month-choices{gap:0;margin:18px 0 12px}
  #chuchu-booking-calendar .month-choices button{min-height:50px;padding:9px 2px;border-radius:0;font-size:16px}
}

/* 休み表示専用カラー。先生別・店舗別の両モードに共通適用。 */
#chuchu-booking-calendar .marker.off{background:#f9e3e3;color:#922f3b;font-weight:700}

/* v1.3: 店舗交換・臨時勤務・出張鑑定だけ緑色。先生別/店舗別共通。 */
#chuchu-booking-calendar .marker.swap{background:#e4f2e9;color:#286844;font-weight:700}

/* v1.4 予約案内は鑑定予定選択時だけ表示。確定デザインの配色は維持。 */
#chuchu-booking-calendar #reserve[hidden]{display:none!important}
#chuchu-booking-calendar .chuchu-bookable-day{cursor:pointer}
#chuchu-booking-calendar .booking-actions .chuchu-reservation-link{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 18px;text-align:center;font-size:16px;font-weight:700}

/* v1.7: 予約ボタンだけ色分け。カレンダー本体の配色・寸法は維持。 */
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-line,
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-line:visited {
  background-color:#06C755;
  border:1px solid #06C755;
  color:#fff;
  transition:background-color .18s ease,border-color .18s ease;
}
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-line:hover {
  background-color:#05A847;
  border-color:#05A847;
  color:#fff;
}
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-air,
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-air:visited {
  background-color:#245ba8;
  border:1px solid #245ba8;
  color:#fff;
  transition:background-color .18s ease,border-color .18s ease;
}
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-air:hover {
  background-color:#19447e;
  border-color:#19447e;
  color:#fff;
}
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link:focus-visible {
  outline:3px solid #f1af53;
  outline-offset:3px;
}


/* v1.9.5: Steel Blue theme (#4682B4). Layout and scheduling behavior unchanged. */
#chuchu-booking-calendar{
  --chuchu-primary:#4682B4;
  --chuchu-primary-dark:#315F86;
  --chuchu-primary-soft:#EDF4FA;
}
#chuchu-booking-calendar .tabs button,
#chuchu-booking-calendar .chips button{
  border-color:#4682B4;
  color:#315F86;
}
#chuchu-booking-calendar .tabs button.active,
#chuchu-booking-calendar .chips button.active{
  background:#4682B4;
  border-color:#4682B4;
  color:#fff;
  box-shadow:0 3px 9px rgba(70,130,180,.17);
}
#chuchu-booking-calendar .tabs button:hover:not(.active),
#chuchu-booking-calendar .chips button:hover:not(.active),
#chuchu-booking-calendar .month-choices button:hover:not(.active){
  background:#EDF4FA;
  border-color:#4682B4;
  color:#315F86;
}
#chuchu-booking-calendar .month-choices button.active{
  background:transparent;
  color:#315F86;
  border-bottom:3px solid #4682B4;
  box-shadow:none;
}
#chuchu-booking-calendar .month-choices button:focus-visible,
#chuchu-booking-calendar .tabs button:focus-visible,
#chuchu-booking-calendar .chips button:focus-visible,
#chuchu-booking-calendar .days .date-cell:focus-visible,
#chuchu-booking-calendar .booking-actions button:focus-visible,
#chuchu-booking-calendar .booking-actions a:focus-visible{
  outline-color:#4682B4;
}
#chuchu-booking-calendar .switch-help,
#chuchu-booking-calendar .only-info{
  background:#EDF4FA;
  border-left-color:#4682B4;
}
#chuchu-booking-calendar .choose-label,
#chuchu-booking-calendar .guide-title,
#chuchu-booking-calendar .selection,
#chuchu-booking-calendar .month-badge,
#chuchu-booking-calendar .feedback{
  color:#315F86;
}
#chuchu-booking-calendar .month-badge{background:#EDF4FA}
#chuchu-booking-calendar .days .date-cell.selected{
  background:#EDF4FA;
  box-shadow:inset 0 0 0 2px #4682B4;
}
#chuchu-booking-calendar .reserve-panel{
  background:#FAFCFF;
  border-color:#AFCDE4;
}
#chuchu-booking-calendar .booking-item{border-color:#D5E5F1}
#chuchu-booking-calendar .links a:not(.secondary),
#chuchu-booking-calendar .booking-actions button{
  background:#4682B4;
  border-color:#4682B4;
  color:#fff;
}
#chuchu-booking-calendar .links a:not(.secondary):hover,
#chuchu-booking-calendar .booking-actions button:hover{
  background:#315F86;
  border-color:#315F86;
  color:#fff;
}
#chuchu-booking-calendar .links a.secondary,
#chuchu-booking-calendar .booking-actions a:not(.chuchu-reservation-link),
#chuchu-booking-calendar .entry .entry-button{
  border-color:#4682B4;
  color:#315F86;
}
#chuchu-booking-calendar .links a.secondary:hover,
#chuchu-booking-calendar .booking-actions a:not(.chuchu-reservation-link):hover,
#chuchu-booking-calendar .entry .entry-button:hover{
  background:#EDF4FA;
}
/* LINE remains green to distinguish the booking channel. Air Reserve adopts primary blue. */
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-air,
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-air:visited{
  background:#4682B4;
  border-color:#4682B4;
  color:#fff;
}
#chuchu-booking-calendar .booking-actions a.chuchu-reservation-link.chuchu-reserve-air:hover{
  background:#315F86;
  border-color:#315F86;
  color:#fff;
}
