/* App Framework */
@charset "UTF-8";
@font-face {
  font-family: "hpg-sp-webfont";
  font-style: normal;
  font-weight: normal;
  src: url("./../font/hpg-sp-webfont.eot?t9xv96");
  src: url("./../font/hpg-sp-webfont.eot?t9xv96#iefix") format("embedded-opentype"),
  url("./../font/hpg-sp-webfont.ttf?t9xv96") format("truetype"),
  url("./../font/hpg-sp-webfont.woff?t9xv96") format("woff"),
  url("./../font/hpg-sp-webfont.svg?t9xv96#hpg-sp-webfont") format("svg");
}

/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
a {
  text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-family: "Avenir Next", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, sans-serif;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* loading */
.load-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0px;
  left: 0px;
  background: rgba(96,96,96,0.6);
  color: #ECECEE;
  z-index: 10;
}
.loading {
  padding-top: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ic_deg {
  width: 40px;
  animation: spin 1.5s linear infinite;
}
@keyframes spin{
  0%{transform:rotate(0deg);}
  50%{transform:rotate(180deg);}
  100%{transform:rotate(360deg);}
}
.loading-text {
  padding-top: 10px;
  font-size: 12px;
}

/* header */
.header {
  height: 46px;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: fixed;
  background-color: #FFF;
  z-index: 1;
}
.selectTags {
  height: 100%;
  overflow-x: auto;
  white-space: nowrap;
  background-color: #FFF;
  padding: 0 54px 0 10px;
}
.tag-wrap {
  height: 28px;
  margin: 10px 8px 0 0;
  font-size: 12px;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid #CCCCCC;
  color: #4e4e4e;
  box-sizing: border-box;
  background-color: #FFFFFF;
}
.tag {
  margin: 8px 0 8px 8px;
  float: left;
}
.delTag {
  padding: 7px;
  float: left;
  color: #979797;
}
.resetBtn-wrap {
  position: fixed;
  top: 0;
  right: 0;
  border-left: 1px solid #CCCCCC;
  z-index: 2;
}
.resetBtn {
  padding: 28px 0px 10px;
  width: 50px;
  height: 46px;
  text-align: center;
  font-size: 10px;
  color: #D0111B;
  background-color: rgb(255,255,255);
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-sizing: border-box;
  background-image: url(./../img/ic_reset.png);
  background-size: 18px;
  background-position: 16px 8px;
  background-repeat: no-repeat;
}

/* --- main --- */
.link-normal {
  color: #3B92C8;
}
.wrap {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.main {
  display: block;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  flex-grow: 1;
  padding: 60px 0px 74px;
  background-color: #F9F8F7;
  touch-action: none;
}
.text {
  position: relative;
  max-width: 100%;
  margin-top: 12px;
  width: fit-content;
  border-radius: 8px;
  box-sizing: border-box;
  line-height: 1.4;
  font-size: 14px;
  color: #4e4e4e;
  background-color: #EDEDE2;
}
.text > p {
  padding: 12px;
}
.bot {
  margin-left: 50px;
  margin-right: 25px;
  padding-left: 5px;
  position: relative;
}
.bot:before {
  content: "";
  display: inline-block;
  background-image: url(./../img/ic_hpg.png);
  background-size: contain;
  position: absolute;
  top: 2px;
  width: 25px;
  height: 25px;
  left: -40px;
}
.bot:after {
  content: "";
  position: absolute;
  top: 24px;
  left: -12px;
  margin-top: -10px;
  margin-left: 1px;
  border-style: solid;
  border-color: transparent #EDEDE2 transparent transparent;
  border-width: 0px 15px 15px 0px;
}
.user {
  margin: 12px 15px 0 auto;
  background-color: #d0111b;
  color: #FFF;
}
.user:after {
  content: "";
  position: absolute;
  top: 24px;
  right: -12px;
  margin-top: -10px;
  border-style: solid;
  border-color: transparent transparent transparent #d0111b;
  border-width: 0px 0px 15px 15px;
}
.panels {
  position: relative;
  white-space: nowrap;
  overflow-x: auto;
  height: 210px;
  width: 100%;
  overflow-y: hidden;
}
.panel-wrap {
  display: inline-block;
  white-space: initial;
  background-color: #FFF;
  border-radius: 8px;
  top: 0;
  margin-top: 12px;
  margin-left: 12px;
  box-sizing: border-box;
}
.panel {
  border: 1px solid #3BA3CD;
  border-radius: 8px;
  width: 120px;
  height: 198px;
  padding: 10px;
  box-sizing: border-box;
}
.panel-icon {
  width: 60px;
  margin: 0 auto;
  display: block;
}
.panel-title {
  color: #3BA3CD;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.4;
  height: 38px;
}
.panel-text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 22px;
  color: #969696;
}
.templates {
  overflow: hidden;
  margin-top: 10px;
  margin-left: 50px;
  position: relative;
}
.template {
  display: inline-block;
  line-height: 14px;
  text-align: center;
  font-size: 14px;
  background-color: #ffffff;
  border-radius: 16px;
  color: #3BA3CD;
  padding: 9px;
  margin-bottom: 10px;
  margin-right: 5px;
  border: 1px solid #76C8E9;
  box-sizing: border-box;
}
/* shop */
.shop-list {
  position: relative;
  white-space: nowrap;
  overflow-x: auto;
  height: 340px;
  width: 100%;
}
.shop-wrap {
  display: inline-block;
  background-color: #FFF;
  vertical-align: top;
  margin-top: 12px;
  margin-left: 12px;
  border-radius: 4px;
}
.shop {
  display: block;
  width: 250px;
}
.photo-list {
  display: flex;
}
.photo-list > li {
  width: 125px;
  height: 125px;
  overflow: hidden;
}
.photo-list > li:first-child {
  border-top-left-radius: 4px;
}

.photo-list > li:last-child {
  border-top-right-radius: 4px;
}
.photo-list > li > img {
  width: 125px;
  height: 125px;
}
.sgenre {
  font-size: 10px;
  color: #969696;
  padding: 12px 12px 0 12px;
  height: 12px;
  line-height: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sname {
  font-size: 14px;
  color: #3192C2;
  padding: 6px 12px 0 12px;
  height: 16px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 14px;
}
.scatch {
  font-size: 10px;
  color: #4e4e4e;
  padding: 2px 12px 0 12px;
  height: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 12px;
}
.shopInfoWrap {
  margin: 12px 8px;
  padding-left: 2px;
  line-height: 1.4;
}
.sinfo {
  margin: 3px 0 0 18px;
  font-size: 12px;
  color: #4e4e4e;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.iconAccess::before {
  font-family: 'hpg-sp-webfont' !important;
  font-weight: normal;
  content: "\e904";
  font-size: 16px;
  margin-left: -18px;
  margin-top: -4px;
  position: absolute;
  color: #4e4e4e;
}
.iconBudget::before {
  font-family: 'hpg-sp-webfont' !important;
  font-weight: normal;
  content: "\e90c";
  font-size: 16px;
  margin-left: -18px;
  margin-top: -4px;
  position: absolute;
  color: #4e4e4e;
}
.iconClose::before {
  font-family: 'hpg-sp-webfont' !important;
  font-weight: normal;
  content: "\e900";
  font-size: 16px;
  margin-left: -18px;
  margin-top: -4px;
  position: absolute;
  color: #4e4e4e;
}
.reserve-wrap {
  padding-top: 12px;
  border-top: 1px #eee solid;
}
.reserveBtn {
  line-height: 40px;
  height: 40px;
  font-size: 12px;
  border: 1px solid #3ba3cd;
  border-radius: 4px;
  margin: 0px 12px 12px;
  color: #3ba3cd;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
}
.show-more {
  display: inline-block;
  padding-top: 100px;
  background-color: #FFF;
  border-radius: 8px;
  height: 228px;
  width: 140px;
}
.ic-more {
  width: 60px;
  height: 60px;
  margin: auto;
  display: block;
}
.text-more {
  margin: 12px auto 0;
  display: block;
  text-align: center;
  color: #3BA3CD;
  font-size: 14px;
}
.hidden {
  display: none;
}
/* footer */
.footer {
  position: fixed;
  bottom: 0;
  flex-direction: column;
  min-height: 46px;
  height: 46px;
  width: 100%;
  background-color: #FFFFFF;
}

.textfield-wrap {
  position: relative;
  margin: 0 10px;
  padding-right: 70px;
  height: 46px;
  box-sizing: border-box;
  background-color: #FFFFFF;
  border-top: 1px solid #f3f1f0;
  overflow: hidden;
}
.textfield {
  font-size: 14px;
  resize: none;
  outline: none;
  overflow: hidden;
  height: 30px;
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 0 8px;
  border: none;
  color: #3BA3CD;
  text-shadow: 0px 0px 0px #000;
  -webkit-text-fill-color: transparent;
  background-color: #F4F4F4;
  border-radius: 4px;
}
.textfield::placeholder{
  color: #969696;
  text-shadow: none;
  -webkit-text-fill-color: initial;
}
.send {
  position: absolute;
  right: 8px;
  font-size: 12px;
  height: 30px;
  line-height: 30px;
  text-decoration: none;
  box-sizing: border-box;
  top: 7px;
  background-color: #3BA3CD;
  text-align: center;
  color: #FFFFFF;
  border-radius: 4px;
  width: 68px;
}
.send > p {
  height: 30px;
  line-height: 30px;
  vertical-align: middle;
}
/*reset-line*/
.reset-line-wrap{
  display: flex;
  height: 12px;
  line-height: 12px;
  margin-top: 45px;
}
.reset-line{
  margin-top: 5px;
  border-top:0.5px solid #979797;
  width: 30%;
  display: inline-block;
}
.reset-label{
  font-family: HiraginoSans-W3;
  font-size: 12px;
  color: #4E4E4E;
  display: inline-block;
  width: 30%;
  margin-left: 5%;
  text-align: center;
  margin-right: 5%;
  line-height: 12px;
}
/* sendLoader */
.botLoader {
  position: relative;
  margin: 12px 50px 0;
  padding-left: 5px;
  min-height: 40px;
  width: 100px;
  border-radius: 8px;
  box-sizing: border-box;
  color: #4e4e4e;
  background-color: #EDEDE2;
}
.botLoader:before {
  content: "";
  display: inline-block;
  background-image: url(./../img/ic_hpg.png);
  background-size: contain;
  position: absolute;
  top: 2px;
  width: 25px;
  height: 25px;
  left: -40px;
}
.botLoader:after {
  content: "";
  position: absolute;
  top: 24px;
  left: -12px;
  margin-top: -10px;
  margin-left: 1px;
  border-style: solid;
  border-color: transparent #EDEDE2 transparent transparent;
  border-width: 0px 15px 15px 0px;
}
.sendLoader {
  padding: 14px 0 0 6px;
}
.sendLoader > div {
  display: inline-block;
  margin-left: 10px;
  width: 12px;
  height: 12px;
  background-color: #969696;
  border-radius: 50%;
  animation: loadingDot 1.2s infinite ease-in-out both;
}
.sendLoader > div.dot1 {
  animation-delay: -0.4s;
}
.sendLoader > div.dot2 {
  animation-delay: -0.2s;
}
@keyframes loadingDot {
  0% {
    transform: scale(0.3);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.3);
    opacity: 0.5;
  }
}