/* =============================================
フローティング
============================================= */

.float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(255, 255, 255, 0.5);
    border: 2px solid #6AB4D8;
    visibility: hidden;
    transition: all 0.5s linear;
    transform: translateX(110%);
}

.float-button.is-show {
    visibility: visible;
    transform: translateX(0%);
}


.float-button .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #278BC4;
    border-radius: 0 10px 0 10px;
    color: #fff;
    width: 45px;
    height: 45px;
    text-align: center;
    z-index: 1;
    cursor: pointer;
    transition: all .2s;
}

.float-button .close-btn:hover {
    background-color: #107AB2;
}

.float-button .close-btn::before {
    content: "×";
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    line-height: 1;
    font-size: 45px;
}

.float-button a {
    font-weight: bold;
    display: block;
    width: auto;
    height: auto;
    border-radius: 10px;
    text-decoration: none;
}

.float-button .bg-white {
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    padding: 20px;
}

.float-button .f-title {
    color: #878887;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.float-button .f-logo {
    margin-bottom: 20px;
    max-width: 250px;
}

.float-button .f-title2 {
    font-size: 20px;
    line-height: 1.2;
    color: #333;
}

.float-button .f-btn {
    background-color: #6AB4D8;
    border-radius: 0 0 10px 10px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    padding: 5px;
}

.float-button.active {
    display: none !important;
}

@media screen and (max-width: 1000px) {
    /* .float-button {
        width: 80%;
        left: 0;
        right: 0;
        bottom: 15px;
        margin: auto;
        background: #fff url(../images/nurse-bg.jpg) right top / contain no-repeat;
    } */

    .float-button .close-btn {
        width: 40px;
        height: 40px;
    }

    .float-button .close-btn::before {
        width: 40px;
        height: 40px;
        font-size: 40px;
    }

    .float-button a {
        font-weight: normal;
    }

    .float-button a::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 10px;
        width: 100%;
        height: 100%;
        background: -moz-linear-gradient(left, #fff 30%, transparent);
        background: -webkit-linear-gradient(left, #fff 30%, transparent);
        background: linear-gradient(to right, #fff 30%, transparent);
    }

    .float-button .f-btn {
        display: none;
    }

    .float-button .bg-white {
        border-radius: 10px;
        background-color: transparent;
        padding: 10px;
        position: relative;
    }

    .float-button .f-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .float-button .f-title2 {
        font-size: 14px;
        color: #57B8E1;
    }

    .float-button .f-logo {
        margin-bottom: 5px;
        max-width: 200px;
    }
}

/* ========================================
  フッターフィックス
======================================== */
.c-btn-icon {
    display: grid !important;
    gap: 0.5em;
    justify-content: center;
    align-items: center;
  }

  .fs-12 {
    font-size: .75rem;
}

  .fs-14 {
    font-size: .875rem;
}

.fs-16 {
    font-size: 1rem;
}

@media print, screen and (min-width: 768px) {
.fs-md-16 {
    font-size: 1rem;
}

.fs-md-20 {
    font-size: 1.25rem;
}
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.p-footer-fix {
    display: grid;
    grid-template-columns: repeat(1, auto);
    align-items: center;
    position: sticky;
    inset: 0;
    top: auto;
  }
  @media only screen and (min-width: 768px) {
    .p-footer-fix {
      grid-template-columns: auto;
      grid-template-rows: repeat(1, auto);
      position: fixed;
      top: 20vh;
      left: auto;
      right: 3%;
      bottom: auto;
      transform: translateY(-50%);
      z-index: 10;
  }
    /* .p-footer-fix .c-btn-icon {
      grid-template-columns: auto;
      grid-template-rows: 1em auto;
    } */
    .p-footer-fix .c-text-vertical {
      writing-mode: horizontal-tb;
    }
  }
  
  .c-text-vertical {
    color: #fff;
  }

  .btn-01 {
    background-color: #df5728;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0.5rem !important;
    display: block !important;
  }

  .btn-01 a {
    padding: 1rem 1.5rem;
  }
  
  .btn-01:hover {
    background-color: #fff;
    color: #df5728;
    border: 2px solid #df5728;
    transition: 0.3s;
  }
  
  .btn-01:hover .c-text-vertical {
    color: #df5728;
  }
  
  
  .btn02 {
    background-color: #e4819f;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0.5rem !important;
    display: block !important;
  }

  .btn02 a {
    padding: 1rem 1.5rem;
  }
  
  .btn02:hover {
    background-color: #fff;
    color: #e4819f;
    border: 2px solid #e4819f;
    transition: 0.3s;
  }
  
  .btn02:hover .c-text-vertical {
    color: #e4819f;
  }

  /*-----1029ST書き換え-------*/
.float-button a {
  width: 200px;
  height: auto;
}

@media screen and (max-width: 690px) {
  .float-button a {
      width: 100%;
      height: auto;
  }
}

.float-button .bg-white {
  border-radius: 0;
  background-color: transparent;
  padding: 0px;
}

.float-button {
  position: fixed;
  bottom: initial;
  top: 15%;
  right: 20px;
  z-index: 10;
  border-radius: 10px;
  box-shadow: 3.75px 3.75px 7.5px 0px rgba(0, 0, 0, 0.5);
  border: none;
  visibility: hidden;
  transition: all 0.5s linear;
  transform: translateX(110%);
}

@media screen and (max-width: 690px) {
  .float-button {
    width: 120px;
    left: unset;
    right: 20px;
    top: 85%;
    margin: unset;
    background: none;
}

.float-button .close-btn::before {
  width: 25px;
  height: 25px;
  font-size: 25px;
}

.float-button .close-btn {
  width: 25px;
  height: 25px;
}

.float-button .close-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: #278BC4;
  border-radius: 0 4px 0 4px;
  color: #fff;
  text-align: center;
  z-index: 1;
  cursor: pointer;
  transition: all .2s;
}
}

.float-button .close-btn {
  position: absolute;
  top: -24%;
  right: -6%;
  background-color: transparent;
  background-image: url(../images/closebtn-pc.png);
  border-radius: unset;
  color: unset;
  width: 35px;
  height: 35px;
  text-align: center;
  z-index: 1;
  cursor: pointer;
  transition: all .2s;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 690px) {
  .float-button .close-btn {
    width: 20px;
    height: 20px;
    padding: 0;
  }
}

.float-button .close-btn:hover {
  background-color: transparent;
}

.float-button .close-btn::before {
  content: "";
  position: unset;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  line-height: 1;
  font-size: 45px;
}

