@charset "utf-8";

/* popup記事中 */
html.popup_hide {
  overflow: hidden;
}
body.popup_on {
  /* overflow: hidden; */
}
.popup_outer {
  /* display: none; */
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s;
}
body.popup_on .popup_outer {
  display: block;
  opacity: 1;
  transform: scale(1);
  z-index: 100002;
}
body.popup_on #popup {
  width: 90%;
  max-width: 500px;
  background: rgba(255, 220, 114, 0.9);
  padding: 20px 20px 1px;
  position: relative;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: auto;
  height: auto;
}
body.popup_on #popup .popup_title {
  font-size: 20px;
  font-weight: lighter;
  margin-bottom: 20px;
}
body.popup_on #popup .flex {
  display: flex;
}
body.popup_on #popup li {
  margin-bottom: 25px;
}
body.popup_on #popup li:hover {
  cursor: pointer;
}
body.popup_on #popup li .img {
  width: 33%;
  margin-right: 2%;
}
body.popup_on #popup li .img img {
  display: block;
  width: 100%;
  height: auto;
}

body.popup_on #popup li .txt {
  width: 65%;
  text-decoration: underline;
  color: blue;
  font-size: 16px;
  text-align: left;
  line-height: 28px;
  padding-left: 8px;
}
body.popup_on #popup li .btn {
  margin: 15px auto 40px;
  /* display: inline-block; */
  display: block;
  padding: 5px 30px;
  background: #f9a010;
  color: #fff;
  font-size: 16px;
  width: 33%;
  min-width: 159px;
}
body.popup_on #popup .popup_close {
  display: inline-block;
  padding: 0px 8px;
  border: 1px solid #fff;
  color: #fff;
  position: absolute;
  right: 0;
  top: -45px;
  font-size: 20px;
}
body.popup_on .popup_close:hover {
  cursor: pointer;
}
