.ls-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  z-index: 1227;
  background-color: #006d4d;
  color: white;
  border: 1px solid black;
  border-radius: 0.5em 0.5em 0px 0px;
  line-height: 50px;
  text-overflow: ellipsis;
  overflow-x: hidden;
  white-space: nowrap;
  max-height: 50vh;
  overflow: hidden;
}

.ls-content > a {
  color: white;
  text-decoration: none;
}

.ls-name {
  padding-left: 1em;
  width: 96%;
  width: calc(100% - 55px);
  line-height: 50px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.ls-summary {
  cursor: pointer;
  height: 50px;
  border-bottom: white solid 1px;
}

.ls-summary {
  /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
  display: block;
}

.ls-summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.ls-content {
  overflow-y: scroll;
  text-overflow: ellipsis;
  overflow-x: hidden;
  white-space: nowrap;
  max-height: 25vh;
  padding-left: 1em;
}

.sp-menu{
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  z-index: 1227;
}

.sp-menu ul{
  display: flex;
  list-style: none;
  padding:0;
  margin:0;
  width:100%;
}

.sp-menu li{
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 50%;
  padding:0;
  margin:0;
  font-size: 14px;
  border-right: 1px solid #fff;
}

.sp-menu {
  background: #4DB56A;
}

.sp-menu li a{
 color: #fff;
 text-align: center;
 display:block;
 padding:10px;
 text-decoration: none;
}

.sp-menu > ul > li > a > i {
  font-size: 1.5em;
}

.sp-menu > ul > li > a > span {
  display: block;
  font-size: 0.75em;
  margin: 0.25em 0px 0px;
}

footer a {
  text-decoration: none;
  color: black;
}

footer a:hover {
  opacity: 0.75;
}

/* .instagram:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
  background: linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
} */

.instagram {
  color: white;
  font-weight: bold;
  padding: 0.75em;
  border: none;
  cursor: pointer;
  position: fixed;
  bottom: 1em;
  right: 10em;
  z-index: 9998 !important;
  transition:0.5s;
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  overflow: hidden;
  border-radius: 2em;
}

.instagram:hover {
  transform:scale(1.1);
}

.finish {
  color: white;
  font-weight: bold;
  padding: 0.75em;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 7em;
  /* top: 9em; */
  /* left: 8em; */
  left: 0.5em;
  z-index: 9998 !important;
  transition:0.5s;
  background-color: #49BDF0;
  overflow: hidden;
  border-radius: 2em;
}

.finish:hover {
  transform:scale(1.1);
}

.donate {
  margin-right: 1em;
  display: inline-block;
  padding: 0.75em;
  border: none;
  border-radius: 2em;
  background-color: #4DB56A;
  color: #fff;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: fixed;
  top: 7em;
  /* top: 9em; */
  left: 0.5em;
  z-index: 9998 !important;
  transition:0.5s;
}

.donate:hover {
  transform:scale(1.1);
}

.offline-message {
  color: white;
  font-weight: bold;
  padding: 0.75em;
  border: none;
  position: fixed;
  /* top: 7em; */
  top: 9em;
  left: 8em;
  z-index: 9998 !important;
  background-color: #333;
  overflow: hidden;
  border-radius: 2em;
}

@media (min-width: 768px) {
  .sp-menu {
    display: none;
  }
  .sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .instagram {
    bottom: 95px;
  }
  /* .donate {
    bottom: 95px;
  } */
  .ls-menu {
    bottom: 60px;
  }
}

footer {
  background-color: white;
}

.list-icon {
  display: inline-block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
  margin-bottom: 25px;
}

/* is-openedクラスが付与されたときのスタイル */
details.is-opened .list-icon {
  transform: rotate(-180deg);
}

/* アイコンのバーのスタイル */
.list-icon::before,
.list-icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: white;
}

.list-icon::before {
  left: 0;
  transform: rotate(-45deg);
}

.list-icon::after {
  right: 0;
  transform: rotate(45deg);
}

