@charset "utf-8";
.grid{
  display: flex;
  /* flex-wrap: wrap; */
}

.shop-box{
  width: 32%;
  border: 1px solid #c3c3c3;
  margin-right: 2%;
}

.shop-box:nth-child(3n){
  margin-right: 0;
}

.shop-img{
  position: relative;
}
.shop-img img{
  width: 100%;
  display: block;
}
.shop-info{
  padding: 10px 15px;
  line-height: 1.5;
}
.shop-info div{
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 5px;
  padding-bottom: 5px;
}
.shop-info span,.shop-adress{
  font-weight: 500;
}
.shop-name{
  position: absolute;
  width: 100%;
  background: rgba(30, 120, 167, 0.8);
  color: #fff;
  padding: 5px 15px;
  line-height: 1.6;
}
.shop-name p{
  font-size: 18px;
}
.shop-info .shop-btn{
  border: none;
  display: flex;
  justify-content: space-between;
  padding: 5px 20px;
}

a.teld-btn,a.detail-btn {
  display: inline-block;
  padding: 12px 5px;
  line-height: 1;
  color: #fff;
  transition: all 0.3s ease-out;
  text-decoration: none;
  background-color: #13749a;
  font-size: 16px;
  border-radius: 5px;
  width: 42%;
  text-align: center;
}

a.teld-btn:hover,a.detail-btn:hover {
  background-color: #2497c3;
}

@media (max-width: 768px){
  .shop-box{
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
  }
}

.detail-wrap{
  line-height: 1.5;
}

.shop-detail-box>div{
  width: 33%;
  border-left: 5px solid #4195b3;
  padding: 0 30px;
  font-size: 18px;
}

.shop-detail-adress span,.shop-detail-reserve span,.shop-detail-staff span{
  display: block;
  font-size: 20px;
  color: #11758a;
  font-weight: 600;
  margin-bottom: 15px;
}

.map {
    margin-top: 20px;
    margin-left: 30px;
}
a.map-btn {
  display: inline-block;
  padding: 12px;
  line-height: 1;
  color: #fff;
  transition: all 0.3s ease-out;
  text-decoration: none;
  background-color: #13749a;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
}

a.map-btn:hover{
  background-color: #2497c3;
}

.shop-detail-reserve img{
  max-width: 240px;
}
.shop-detail-img{
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-detail-img img{
  width: 100%;
  display: block;
}

.detail-card{
  margin-bottom: 10px;
}

.shop-detail-staff{
  margin-top: 20px;
}

.staff-box{
  width: 32%;
  margin-right: 2%;
  padding: 0 30px 0 0;
  margin-bottom: 30px;
}
.staff-box img{
  width: 90%;
  margin: 0 auto;
  display: block;
}
.staff-box:nth-child(3n){
  margin-right: 0;
}

.shop-detail-staff h2 {
    padding: 10px 40px;
    display: inline-block;
    line-height: 1.3;
    background: #005e80;
    color: #fff;
    font-weight: 500;
    vertical-align: middle;
    margin: 20px 0 20px;
}
.staff-txt{
  padding: 0 15px;
  display: flex;
  flex-flow: column;
}
.staff-box p.staff_name{
  font-weight: bolder;
  text-align: center;
  background-color: #c7e9f9;
  border-radius: 2em;
  padding: 10px 20px;
  margin: 10px auto;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

/*********20190523temple********/
.temple-time {
    margin-top: 20px;
}
.shop-detail-adress p.temple-time-ttl span {
    margin-bottom: 0;
}
.temple-op-cl {
    font-weight: bold;
    margin-left: 30px;
}

    
    .temple-intro {
    border-left: 5px solid #4195b3;
    padding: 0 30px;
    font-size: 18px;
    width: 100%;
}

.temple-tel {
        margin-top: 15px;
    }

@media (max-width: 1040px){
.shop-detail-box>div{
    padding: 0 10px;
}
}


@media (max-width: 768px){
h1{
  font-size: 20px;
  }
.shop-detail-box>div{
  width: 100%;
  border-left: none;
  padding: 10px 0;
  font-size: 18px;
}
.shop-detail-adress span, .shop-detail-reserve span{
  margin-bottom: 5px;
}
.shop-detail-img{
  order: 1;
}
.shop-detail-adress{
  order: 2;
  border-bottom: 2px solid #4195b3;
}
.shop-detail-reserve{
  order: 3;
  border-bottom: 2px solid #4195b3;
}
.shop-detail-staff h2{
  width: 100%;
  text-align: center;
}
.shop-detail-reserve img{
  max-width: 100%;
  padding: 5px 15px;
  width: 100%;
  margin: 0 auto;
}
.shop-detail-staff{
  margin-top: 20px;
}
.staff-box{
  width: 100%;
  padding: 0;
  margin-right: 0;
  margin-bottom: 30px;
}
.staff-box img{
  width: 90%;
}
.mt-6 {
    margin-top: 70px;
    }
/*******20190523temple*******/
.map {
    margin-left: 0;
}
    
.temple-op-cl {
    margin-left: 0;
}
    
    .temple-intro {
    border-bottom: 2px solid #4195b3;
    border-left: none;
    border-right: none;
    padding: 10px 0;
}
    
    .temple-price {
    border-bottom: 2px solid #4195b3;
}
    
    


}
