@charset "utf-8";

h2.shop_name {
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  max-height: none;
}

@media (max-width: 400px) {
  h2.shop_name {
    font-size: 16px;
    line-height: 18px;
  }
}

.shop-panel {
  margin: 0;
  position: relative;
  overflow: hidden;
  display:  flex;
  flex-wrap: wrap;
  min-height: 130px;
  margin-bottom: 10px;
}

.shop-info{
  width: 100%;
  height: auto;
  margin: 10px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.shop-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: 106%;
  background-position: 70% 40%;
  opacity: 1;
  z-index: 1;
}
.shop-img::after {
    content:  "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba( 255, 255, 255, 0.95 );
}

.shop-img img {
  max-width: 100%;
}

.shop-desc { margin-bottom: 10px; font-size: 11px; }

.shop-link {
  display: flex;
  align-items: center;
  margin-top:  auto;
  flex-wrap: wrap;
}

.shop-link > div {
  margin-top: 5px;
}

.shop-hp {
  white-space: nowrap;
  overflow: hidden;
  margin-right: 10px;
}

.shop-social {
  margin-left: auto;
}

.social-buttons a, 
.shop-panel-inverse .social-buttons a {
  text-shadow: none;
}

.social-buttons li:last-child { margin-right: 0; }

.shop-panel-inverse,
.shop-panel-inverse a {
  color: #FFF;
  text-shadow: 2px 2px 3px rgba(255,255,255,0.1);
  text-shadow: 0 0 3px rgba(0,0,0,.8);
}
.shop-panel-inverse .shop-img {
  opacity: 0.9;
  background-position: center;
}
.shop-panel-inverse .shop-img::after {
    background: rgba( 0, 0, 0, 0.65 );
}

/* alert mail form */
#almail { text-align: center; }

#almail form > div {
  margin-top: 8px;
  display: inline-block;
  margin-left: 2px;
}

#almail form > div:first-child {
  margin-left: 0;
}


#almail input, #almail button {
  height: 28px;
  box-sizing: border-box;
  vertical-align: middle;
  border: none;
  border-radius: 3px;
}

#almail input[type=text] {
  padding-left: 10px;
}

#almail button.regist {
  margin-right: 4px;
  background: #f5f5f5;
}