@charset "utf-8";
/* CSS Document */

.tel_modal_open{
    display: inline-block;
    margin: 3vw;
    float: left; 
}
 
.tel_modal_box {
    position: fixed;
    z-index: 99999;
    display: none;
    width: 70%;
    min-width: 280px;
				max-width: 600px;
    margin: 0;
    padding: 20px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
				border-radius: 10px;
}
 
.tel_modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 62px;
    font-size: 46px;
    color: #000;
    line-height: 62px;
    text-align: center;
}
 
.tel_modal_close i {
    line-height: 62px;
    vertical-align: bottom;
}
 
.tel_modal_bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.7);
}

.tel_modal_image{
	display: block;
	cursor: pointer;
}

.tel_modal_image.tel_modal_close{
	position: relative;
	width: auto;
}
 

/* text */


.tel_modal_box p.text{
	font-size: 14px;
	text-align: center;
	line-height: 1.4;
	color: #666;
	margin:0;
	letter-spacing: 1px;
	font-weight:bold;
}

.tel_modal_box p.text02{
	font-size: 13px;
	text-align: center;
	line-height: 1.4;
	color: #666;
	margin-top: 10px;
	letter-spacing: 1px;
	font-weight:bold;
}



/* fancy Button */

.bg-gradient1 span,
.bg-gradient1:before {
  background: #ffd340;
  background: -moz-linear-gradient(left, #ffd340 0%, #ffd966 80%, #ffd966 100%);
  background: -webkit-linear-gradient(left, #ffd340 0%, #ffd966 80%, #ffd966 100%);
  background: linear-gradient(to right, #ffd340 0%, #ffd966 80%, #ffd966 100%);
}

.fancy-button {
		width: 200px;
		height: 40px;
		line-height: 40px;
  display: block;
  margin: 20px auto 0;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: #ffffff;
  position: relative;
		overflow: visible;
		outline: none;
}
.fancy-button:before {
  content: "";
		display: inline-block;
		height: 30px;
		position: absolute;
		bottom: -5px;
		left: 30px;
		right: 30px;
		border-radius: 30em;
		filter: blur(15px) brightness(0.95);
		transform-style: preserve-3d;
		transition: all 0.3s ease-out;
		z-index: 1;
}
.fancy-button span {
		height: 40px;
		line-height: 40px;
  display: inline-block;
  border-radius: 50em;
  position: relative;
  z-index: 2;
  will-change: transform, filter;
  transform-style: preserve-3d;
  transition: all 0.3s ease-out;
		width: 100%;
		text-align: center;
}
.fancy-button:focus, .fancy-button:active {
  color: #ffffff;
}
.fancy-button:hover {
  color: #ffffff;
}
.fancy-button:hover span {
  filter: brightness(1.05) contrast(1.05);
  transform: scale(0.95);
}
.fancy-button:hover:before {
  bottom: 0;
  filter: blur(10px) brightness(0.95);
}
.fancy-button.pop-onhover:before {
  opacity: 0;
  bottom: 10px;
}
.fancy-button.pop-onhover:hover:before {
  bottom: -7px;
  opacity: 1;
  filter: blur(20px);
}
.fancy-button.pop-onhover:hover span {
  transform: scale(1.04);
}
.fancy-button.pop-onhover:hover:active span {
  filter: brightness(1) contrast(1);
  transform: scale(1);
  transition: all 0.15s ease-out;
}
.fancy-button.pop-onhover:hover:active:before {
  bottom: 0;
  filter: blur(10px) brightness(0.95);
  transition: all 0.2s ease-out;
}
/* button ここまで */



 
@media screen and (max-width: 767px) {
 
  .tel_modal_box {
      padding: 20px 15px;
  }
 
 
}

@media screen and (max-width: 380px){
	
	.tel_modal_box{
	width: 80%;
	min-width: 260px;
	height: 330px;
	}
	
	.tel_modal_box p.text {
		font-size: 14px;
		margin-top: 15px;
		letter-spacing: 1px;
}
	
	.fancy-button{
		margin:	12px auto 7px;
	}	
	
}
