/* Figma: 6137:5075 (PC), 6176:3961 (SP). Scoped to the footer calendar. */
.haab-dc, .haab-dc * { box-sizing: border-box; }
.haab-dc { width: 430px; max-width: 100%; color: #333; font-family: "Shippori Mincho", serif; }
.haab-dc [hidden] { display: none !important; }
.haab-dc button { appearance: none; -webkit-appearance: none; border: 0; margin: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.haab-dc button:focus-visible { outline: 2px solid #9c813d; outline-offset: 3px; border-radius: 3px; }
.haab-dc__title { margin: 0 0 20px; padding: 4px 0; background: #333; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 1.28px; text-align: center; }
.haab-dc__title span { display: flex; align-items: center; justify-content: center; min-height: 39px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; }
.haab-dc__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.haab-dc__doctors { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 5px; padding-top: 7px; }
.haab-dc__doctor { display: flex; align-items: center; min-height: 36px; width: 100%; text-align: left; }
.haab-dc__doctor-visual { display: flex; align-items: center; gap: 4px; opacity: .4; scale: 1; transform-origin: left center; transition: scale .3s ease, opacity .3s ease; }
.haab-dc__avatar { width: 36px; height: 36px; flex: 0 0 36px; position: relative; display: flex; align-items: center; justify-content: center; }
.haab-dc__avatar-crop { display: block; position: relative; overflow: hidden; width: 26px; height: 26px; mask: url("avatar-mask.svg") center / 26px 26px no-repeat; -webkit-mask: url("avatar-mask.svg") center / 26px 26px no-repeat; transition: width .3s ease,height .3s ease; }
.haab-dc__avatar-crop > img { display: block; position: absolute; max-width: none; height: auto; }
.haab-dc__avatar--kaneko .haab-dc__avatar-crop > img { width: 105.05%; height: 161.54%; left: -4.44%; top: 0; }
.haab-dc__avatar--kodaira .haab-dc__avatar-crop > img { width: 160.31%; height: 240.27%; left: -37.64%; top: -12.77%; }
.haab-dc__avatar--kaniya .haab-dc__avatar-crop > img { width: 126.54%; height: 158.17%; left: -11.54%; top: -3.85%; object-fit: cover; }
.haab-dc__avatar--katsurada .haab-dc__avatar-crop > img { width: 122.11%; height: 183.12%; left: -7.66%; top: -3.48%; }
.haab-dc__avatar--kumoyama .haab-dc__avatar-crop > img { width: 111.54%; height: 138.46%; left: -7.69%; top: 0; object-fit: cover; }
.haab-dc__avatar--taguchi .haab-dc__avatar-crop > img { width: 111.54%; height: 138.46%; left: -11.54%; top: -3.85%; object-fit: cover; }
.haab-dc__avatar--harita .haab-dc__avatar-crop > img { width: 126.92%; height: 157.69%; left: -15.38%; top: 0; object-fit: cover; }
.haab-dc__avatar--custom .haab-dc__avatar-crop > img { width: 100%; height: 100%; inset: 0; object-fit: cover; }
.haab-dc__avatar-crop > span { display: grid; place-items: center; width: 100%; height: 100%; background: #eee8da; font-size: 16px; }
.haab-dc__avatar-ring { position: absolute; top: 0; left: 0; width: 36px; height: 36px; max-width: none; opacity: 0; transition: opacity .3s ease; }
.haab-dc__doctor-name { white-space: nowrap; font-size: 14px; line-height: 1; }
.haab-dc__doctor[aria-pressed="true"] .haab-dc__doctor-visual { opacity: 1; }
.haab-dc__doctor[aria-pressed="true"] .haab-dc__doctor-name { font-size: 16px; }
.haab-dc__doctor[aria-pressed="true"] .haab-dc__avatar-crop { width: 36px; height: 36px; mask-image: url("avatar-mask-active.svg"); -webkit-mask-image: url("avatar-mask-active.svg"); mask-size: 36px 36px; -webkit-mask-size: 36px 36px; }
.haab-dc__doctor[aria-pressed="true"] .haab-dc__avatar-ring { opacity: 1; }
.haab-dc__display { grid-column: 1; grid-row: 1; min-width: 0; }
.haab-dc__panels { width: 100%; aspect-ratio: 1; }
.haab-dc__slide { width: 100%; aspect-ratio: 1; }
.haab-dc__calendar-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.haab-dc__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; border: 1px solid #cebc85; background: rgba(255,255,255,.7); text-align: center; font-size: 14px; line-height: 1.6; }
.haab-dc__empty-month { font-size: 26px; letter-spacing: 2px; }
.haab-dc__empty-name { font-size: 18px; }
.haab-dc__navigation { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 8px auto 0; width: 150px; height: 36px; }
.haab-dc .haab-dc__arrow { width: 36px; height: 36px; display: grid; place-items: center; font-family: Arial,sans-serif; font-size: 30px; line-height: 1; }
.haab-dc .haab-dc__dot { width: 26px; height: 36px; display: grid; place-items: center; }
.haab-dc__dot span { display: block; width: 24px; height: 24px; border: 1px solid transparent; border-radius: 50%; position: relative; }
.haab-dc__dot span::after { content: ""; position: absolute; width: 8px; height: 8px; top: 7px; left: 7px; background: #333; border-radius: 50%; }
.haab-dc__dot[aria-pressed="true"] span { border-color: #333; }
.haab-dc__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sec_reserve.haab-dc-reserve { padding: 80px 0; }
.haab-dc-reserve .reserve_flex-right { width: 430px; max-width: 100%; padding: 0; flex: 0 0 430px; }
.haab-dc-reserve .reserve_flex { display: flex; width: 832px; max-width: calc(100% - 100px); min-height: 666px; padding: 80px 0; gap: 82px; }
.haab-dc-reserve .reserve_flex-left { display: flex; flex: 0 0 320px; width: 320px; gap: 50px; }
@media (hover: hover) and (pointer: fine) {
  .haab-dc__doctor:hover .haab-dc__doctor-visual { scale: 1.15; opacity: 1; }
}
.haab-dc__doctor:focus-visible .haab-dc__doctor-visual { opacity: 1; }
@media (max-width: 920px) {
  .sec_reserve.haab-dc-reserve { padding: 60px 20px; }
  .haab-dc-reserve .reserve_flex_wrap { width: 100%; padding: 0; }
  .haab-dc-reserve .reserve_flex { flex-direction: column; width: 320px; max-width: calc(100% - 64px); min-height: 0; padding: 70px 0; gap: 40px; }
  .haab-dc-reserve .reserve_flex-left { flex: none; width: 100%; gap: 32px; }
  .haab-dc-reserve .reserve_flex-right { width: 100%; flex: none; }
  .haab-dc { width: 100%; }
  .haab-dc__title { margin-bottom: 10px; }
  .haab-dc__body { display: flex; flex-direction: column; gap: 20px; }
  .haab-dc__doctors { width: 100%; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 4px; }
  .haab-dc__doctor { min-height: 36px; justify-content: center; }
  .haab-dc__doctor-visual { transform-origin: center; gap: 4px; }
  .haab-dc__display { width: 100%; }
}
@media (max-width: 390px) {
  .haab-dc-reserve .reserve_flex { max-width: calc(100% - 44px); }
  .haab-dc__doctor-visual { gap: 1px; }
  .haab-dc__doctor-name { font-size: 12px; }
  .haab-dc__doctor[aria-pressed="true"] .haab-dc__doctor-name { font-size: 14px; }
  .haab-dc__title { font-size: 14px; letter-spacing: .6px; }
}
@media (prefers-reduced-motion: reduce) {
  .haab-dc__doctor-visual, .haab-dc__avatar-crop, .haab-dc__avatar-ring { transition: none; }
  .haab-dc__doctor:hover .haab-dc__doctor-visual { scale: 1; }
}
/* Keep the two columns inside the frame on smaller desktop screens. */
@media (min-width: 921px) and (max-width: 1100px) {
  .haab-dc-reserve .reserve_flex { gap: 30px; max-width: calc(100% - 70px); }
  .haab-dc-reserve .reserve_flex-left { flex: 1 1 260px; min-width: 0; }
}
.haab-dc-reserve .reserveBtn_contents { width: 100%; }
.haab-dc-reserve .reserveBtn_wrap { width: 100%; padding: 0; margin: 0; }
.haab-dc-reserve .reserveBtn { width: 100%; margin: 0; }
