@charset "UTF-8";
.HeroSection-Cta-Btn:nth-child(3) {
  margin-top: 20px;
}
#open-chatbot img {
  border-radius: 4px 0 0 4px;
}

.Footer-Contact-Ai-Btn-Sp {
  display: none;
}
@media screen and (max-width: 480px) {
  .Footer-Contact-Ai-Btn-Sp {
    position: fixed;
      bottom: 80px;
      right: 0;
      z-index: 1000;
      display: block;
      width: 105px;
  }
}
/* ========================================
   ポップアップモーダル用スタイル
   ======================================== */

/* スクロールロック */
.u-lock-scroll { 
    overflow: hidden; 
}

/* モーダル内のリストスタイル */
.c-modal__contents li {
    list-style: none;
}

/* モーダル本体 */
.c-modal {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
    pointer-events: none;
}

.c-modal[style*="visibility: visible"] {
    pointer-events: auto;
}

/* モーダル背景（オーバーレイ） */
.c-modal__contents {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.41);
    transition: right 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    overflow: auto;
    pointer-events: auto;
    font-family: "Zen Old Mincho", serif;
    color: #000;
}

/* モーダルコンテナ */
.c-modal__container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    max-width: 510px;
    width: 100%;
    min-height: 410px;
    padding: 38px 50px 33px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .c-modal__container {
        padding: 24px 22px 28px;
        max-width: 340px;
        min-height: unset;
    }
}

.c-modal__container.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* 閉じるボタン */
.c-modal__barBox {
    position: absolute;
    top: 8px;
    right: -45px;
    z-index: 10;
    display: block;
    width: 32px;
    height: 16px;
}

@media screen and (max-width: 767px) {
    .c-modal__barBox {
        top: -30px;
        right: 12px;
    }
}

.c-modal__bar {
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    transition: transform .4s, opacity .4s;
    cursor: pointer;
}

.c-modal__bar:nth-child(1) {
    display: none;
}

.c-modal__bar:nth-child(2) {
    display: none;
}

.c-modal__bar:nth-child(3) {
    display: none;
}

.c-modal.is-open .c-modal__bar:nth-child(1) {
    display: block;
    transform: rotate(45deg) translate(0.5px, 0.5px);
}

.c-modal.is-open .c-modal__bar:nth-child(2) {
    display: block;
    opacity: 0;
}

.c-modal.is-open .c-modal__bar:nth-child(3) {
    display: block;
    transform: rotate(-45deg) translate(0.5px, -0.5px);
}

/* モーダル上部テキスト */
.c-modal__top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

@media screen and (max-width: 767px) {
    .c-modal__top {
        gap: 6px;
    }
}

.c-modal__read {
    font-size: 20px;
    font-weight: 600;
    line-height: calc(25 / 20);
    letter-spacing: 0.05em;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .c-modal__read {
        font-size: 16px;
        line-height: calc(25 / 17);
        letter-spacing: 0;
    }
}

.c-modal__subRead {
    font-weight: 500;
    font-size: 14px;
    line-height: calc(25 / 14);
    text-align: center;
}

@media screen and (max-width: 767px) {
    .c-modal__subRead {
        font-size: 12px;
        line-height: calc(17 / 12);
    }
}

/* 診療時間表示 */
.c-modalDays {
    margin-top: 22px;
    width: 100%;
    padding-bottom: 8px;
    position: relative;
    border-bottom: 1px solid #E2DFD9;
}

.c-modalDays__dayList {
    display: flex;
    align-items: center;
    gap: 17px;
    padding-bottom: 8px;
    position: relative;
    border-bottom: 1px solid #E2DFD9;
    padding-left: 12px;
}

@media screen and (max-width: 767px) {
    .c-modalDays__dayList {
        gap: 12px;
        padding-left: 0;
    }
}

.c-modalDays__text {
    width: 38%;
    font-weight: 500;
    font-size: 13px;
    line-height: calc(25 / 13);
    letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
    .c-modalDays__text {
        width: 30%;
        line-height: 1.5;
    }
}

.c-modalDays__day {
    font-weight: 500;
    font-size: 13px;
    line-height: calc(50 / 25);
    letter-spacing: 0.05em;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .c-modalDays__day {
        line-height: calc(25 / 13);
    }
}

.c-modalDays__list {
    display: flex;
    align-items: center;
    gap: 17px;
    padding-left: 12px;
}

@media screen and (max-width: 767px) {
    .c-modalDays__list {
        gap: 12px;
        padding-left: 0;
    }
}

.c-modalDays__list:nth-of-type(2) {
    margin-top: 8px;
}

.c-modalDays__item {
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CFBE9A;
}

.c-modalDays__list + .c-modalDays__list {
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .c-modalDays__list + .c-modalDays__list {
        margin-top: 0px;
    }
}

.c-modalDays__bottom {
    margin-top: 5.5px;
    font-weight: 500;
    font-size: 12px;
    line-height: calc(25 / 12);
    letter-spacing: 0.03em;
    text-align: left;
}

@media screen and (max-width: 767px) {
    .c-modalDays__bottom {
        font-size: 9.5px;
        letter-spacing: 0;
        line-height: calc(15 / 10);
    }
}

/* モーダル下部ボタン */
.c-modalBottom_list {
    margin-top: 27px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media screen and (max-width: 767px) {
    .c-modalBottom_list {
        gap: 5px;
    }
}

.c-modalBottom__link {
    transition: opacity 0.4s;
}

@media screen and (min-width: 768px) {
    .c-modalBottom__link:hover {
        opacity: 0.7;
    }
}

/* スマートフォン用改行 */
.is-sp {
    display: none;
}

@media screen and (max-width: 767px) {
    .is-sp {
        display: block;
    }
}
