@charset "utf-8";
/* CSS Document */
form:hover{
	opacity: 1!important;
}

/*jS＋CSS*/
/*お問い合わせはこちら*/
.modalOpen-button {
  position: absolute;
  top: -60px;
  right: 0;
  padding: 0.8rem;
  background: #ff6600;
  color: #fff;
  font-size: 120%;
	font-size: min(4vw , 18px);
	white-space:nowrap;
  border-radius: 5px;
  width: 100%;
  font-weight: bold;
  opacity: 1;
  transition: 0.3s;
	border: 2px solid #ff6600;
	fill:#fff;
}
.modalOpen-button:hover {
  background: #fff;
  color: #f93;
	fill:#f93;
  transition: 0.3s;
}

/*お問い合わせはこちら*/
.otoiawase-button {
  padding: 2rem;
  background: #ff6600;
  color: #fff;
  font-size: 150%;
	font-size: min(4vw , 24px);
	white-space:nowrap;
  border-radius: 5px;
  width: 100%;
  font-weight: bold;
  opacity: 1;
  transition: 0.3s;
	border: 2px solid #ff6600;
	border-radius: 50px;;
}
.otoiawase-button:hover {
  background: #fff;
  color: #f93;
  transition: 0.3s;
}

/*↓マーク*/
.modalClose-button-s {
  position: absolute;
  top: -40px;
  right: 35px;
  background: #f93;
  color: #fff;
  padding: 0;
	border: 2px solid #f93;
  border-radius: 5px;
  width: 70px;
  font-weight: bold;
  fill:#fff;
}

.modalClose-button-s:hover {
  background: #fff;
  color: #f93;
	fill:#f93;
  transition: 0.3s;
}

.button:hover {
  cursor: pointer;
}
.contact-modal{
  position: fixed;
  right: 0;
  bottom: 0;
	z-index: 650;
  height: auto;
  overflow: auto;
　pointer-events: none;
  width: 390px;
}
.contact-modal h2{
	font-size: 20px;
	margin: 1rem 0;
}
/*全体の大きさ*/
#easyModal.modal-content.active {
  width: 25%;
  transform: translateY(0%);
  min-width: 400px;
  text-align: center;
}

/*非表示の大きさ*/
#easyModal.modal-content {
  transition: 1s;
  height: 230px;
  position: fixed;
  bottom: 0;
  right: 0;
  transform: translateY(100%);
  z-index: 700;
  width: 390px;
  padding: 0.5rem;
	background: #fff;
	border-radius: 10px;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
}
#easyModal.modal-content.active #modalClose.modalClose-button-s {
  opacity: 1;
  transition: 0.3s;
}
#easyModal.modal-content #modalClose.modalClose-button-s {
  opacity: 0;
  transition: 0.3s;
}
#easyModal.modal-content.active #modalOpen.modalOpen-button {
  opacity: 0;
  transition: 0.3s;
}
#easyModal.modal-header {
  display: flex;
  justify-content: space-between;
}
#easyModal.modal-content.active .modal-header {
  width: 10%;
}
#modalClose {
  font-size: 2rem;
  font-weight: bold;
  padding: 0rem 0.5rem 0.7rem;
}
#easyModal.modalClose:hover {
  cursor: pointer;
}

#up-window{
	width: 25px;
	margin-left: 1vw;
}
#down-window{
	width: 25px;
	margin-top: 15px;
}
#up-window .up-color,#down-window .down-color{
	 fill:  inherit;
}

@media screen and (max-width: 576px) {
.contact-modal{
  display: none;
}  
}
