﻿@charset "utf-8";
/*==========================================================================

# modal.css
ホームメイト介護 modalカスタマイズ用CSS

## Filepath
/css-cmn/

## History
2018/08/16 新規作成

========================================================================== */
.modal_open {
  cursor: pointer;
}
.modal_box {
  background: #fff;
  border-radius: 5px;
  display: none;
  margin: 50px;
  position: relative;
  max-width: 840px;
  z-index: 7777;
}
.modal_content {
  margin-left: 40px;
  margin-right: 40px;
}
.modal_close_btn {
  background: #64af86;
  border: 2px solid #fff;
  border-radius: 100%;
  cursor: pointer;
  display: block;
  height: 50px;
  position: absolute;
  right: -20px;
  text-align: center;
  top: -20px;
  width: 50px;
  z-index: 100;
}
.modal_close_btn i {
  color: #fff;
  font-size: 3.5rem;
  height: 46px;
  line-height: 46px;
}
.modal_overlay {
  background: #000;
  display: none;
  height: 120%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}
.modal_wrap {
  display: none;
  height: 100%;
  left: 0;
  overflow-x: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}
.modal_lock {
  overflow:hidden;
}
.modal_prev,
.modal_next {
  position: absolute;
  cursor: pointer;  
}
@media screen and (min-width: 768px), print {
  .modal_prev,
  .modal_next {
    background: #64af86;
    height: 180px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 70px;
  }
  .modal_prev {
    border-radius: 5px 0 0 5px;
    left: -80px;
  }
  .modal_next {
    border-radius: 0 5px 5px 0;
    right: -80px;
  }
  .modal_prev::before,
  .modal_prev::after,
  .modal_next::before,
  .modal_next::after {
    background: #fff;
    content: "";
    left: 50%;
    height: 41px;
    position: absolute;
    width: 10px;
  }
  .modal_prev::before {
    top: 50px;
    -webkit-transform: translateX(-50%) skewX(-30deg) ;
    transform: translateX(-50%) skewX(-30deg) ;
  }
  .modal_prev::after {
    bottom: 50px;
    -webkit-transform: translateX(-50%) skewX(30deg) ;
    transform: translateX(-50%) skewX(30deg) ;
  }
  .modal_next::before {
    top: 50px;
    -webkit-transform: translateX(-50%) skewX(30deg) ;
    transform: translateX(-50%) skewX(30deg) ;
  }
  .modal_next::after {
    bottom: 50px;
    -webkit-transform: translateX(-50%) skewX(-30deg) ;
    transform: translateX(-50%) skewX(-30deg) ;
  }
  .modal_lock_margin {
    margin-right: 17px;
  }
}
@media screen and (max-width: 767px) {
  .modal_box {
    margin: 20px 15px;
    width: calc( 100% - 30px);
  }
  .modal_close_btn {
    height: 30px;
    right: -5px;
    text-align: center;
    top: -10px;
    width: 30px;
  }
  .modal_close_btn i {
    color: #fff;
    font-size: 2rem;
    height: 26px;
    line-height: 26px;
  }
  .modal_content {
    margin-left: 15px;
    margin-right: 15px;
  }
  .modal_box_next {
    background: none;
    padding-bottom: 40px;
    padding-top: 0;
  }
  .modal_box_next_inner {
    background: #fff;
    border-radius: 5px;
    padding-top: 20px;
  }
  .modal_prev,
  .modal_next {
    bottom: 0;
    height: 40px;
    width: 38px;
  }
  .modal_prev {
    left: 0;
  }
  .modal_next {
    right: 0;
  }
  .modal_prev::before,
  .modal_prev::after,
  .modal_next::before,
  .modal_next::after {
    background: #fff;
    content: "";
    left: 50%;
    height: 10px;
    position: absolute;
    width: 3px;
  }
  .modal_prev::before {
    top: 10px;
    -webkit-transform: translateX(-50%) skewX(-45deg) ;
    transform: translateX(-50%) skewX(-45deg) ;
  }
  .modal_prev::after {
    bottom: 10px;
    -webkit-transform: translateX(-50%) skewX(45deg) ;
    transform: translateX(-50%) skewX(45deg) ;
  }
  .modal_next::before {
    top: 10px;
    -webkit-transform: translateX(-50%) skewX(45deg) ;
    transform: translateX(-50%) skewX(45deg) ;
  }
  .modal_next::after {
    bottom: 10px;
    -webkit-transform: translateX(-50%) skewX(-45deg) ;
    transform: translateX(-50%) skewX(-45deg) ;
  }
}

/* 電話番号
==========================================================================*/
.modal_tel {
  border: 3px solid #64af86;
}
.modal_tel_logo {
  margin: 20px auto 15px;
  width: 180px;
}
.modal_tel_ttl {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0;
}
.modal_tel_name {
  font-size: 2.2rem;
  line-height: 1.5;
  margin: 5px;
}
.modal_tel_add {
  border: 2px solid #64af86;
  color: #64af86;
  display: inline-block;
  font-size: 1.5rem;
  margin: 5px;
  padding: 4px 10px;
}
.modal_tel_number {
  align-items: center;
  background: #fffcf0;
  border: 1px solid #ded588;
  border-radius: 10px;
  display: flex;
  font-weight: 600;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 15px 10px;
  text-align: center;
  max-width: 480px;
}
.modal_tel_muryo,
.modal_tel_phone {
  display: block;
}
.modal_tel_muryo {
  border-bottom: 2px solid #da4c5a;
  border-top: 2px solid #da4c5a;
  font-size: 1.8rem;
  margin-right: 10px;
  padding: 5px 0;
}
.modal_tel_phone {
  font-size: 2.8rem;
}
.modal_tel_phone_end {
  color: #da4c5a;
  font-size: 2rem; 
}
.modal_tel_end {
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-align: center;
}
.modal_tel_end_btn {
  margin: auto;
  width: 160px;
}
.modal_tel_end_btn a {  
  padding: 10px;
}

.modal_tel_txt01 {
  background: #fdede4;
  line-height: 1.5;
  padding: 15px;
  width: 100%;
}
.modal_tel_txt01 strong,
.modal_tel_subtxt strong {
  color: #da4c5a;
  margin: 0 5px;
  font-weight: 600;
}
.modal_tel_time {
  text-align: center;
}
.modal_tel_time::before {
  background: url(../image-cmn/ic-attention.svg) center center / 20px 20px no-repeat;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 5px;
  vertical-align: sub;
  width: 20px;
}
.modal_tel_mainte {
  background: url(../image-cmn/ic-attention.svg) left top / 20px 20px no-repeat;
  font-size: 1.4rem;
  padding-left: 30px;
}
.modal_tel_subtxt {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 15px;
  margin-top: 15px;
}
@media screen and (min-width:768px), print {
  .modal_tel {
    padding-top: 30px;
    width: 700px;
  }
  .modal_tel .modal_content {
    padding-bottom: 40px;
  }
}
@media screen and (max-width:767px) {
  .modal_tel {
    padding-top: 20px;
    width: calc( 100% - 30px);
  }
  .modal_tel .modal_content {
    margin-left: 15px;
    margin-right: 15px;
    padding-bottom: 30px;
  }
  .modal_tel_name {
    text-align: center;
    width: 100%;
  }
  .modal_tel_add {
    font-size: 1.4rem;
    margin: auto;
    text-align: center;
  }
  .modal_tel_muryo {
    font-size: 1.4rem;
  }
  .modal_tel_phone {
    font-size: 2rem;
  }
  .modal_tel_txt01 {
    font-size: 1.4rem;
    padding: 10px 5px;
  }
  .modal_tel_txt01::before {
    background-size: 15px 15px;
    height: 15px;
    margin-right: 2px;
    width: 15px;
  }
  .modal_tel_txt01 strong,
  .modal_tel_subtxt strong {
    color: #da4c5a;
    margin: 0 2px;
    font-weight: 600;
  }
  .modal_tel_subtxt {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:374px) {
  .modal_tel_add {
    font-size: 1.2rem;
  }
  .modal_tel_phone {
    font-size: 1.8rem;
  }
}