html{
  height: 100%;
  font-size: 14px;
  font-family: "Helvetica", sans-serif;
}
body{
  height: 100%;
}
img{
  max-width: 100%;
  max-height: 100%;
}
#main {
    /* margin-top: 40px; */
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
#main:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(./img/bg_ovl2.png);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
}
.main_visual {
    width: 100%;
    height: 100%;
    background: url(./img/main_visual_ol33.jpg);
    background-position: center;
    background-size: cover;
    -o-object-fit: cover;
       object-fit: cover;
}
.logo {
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 1;
}

.sns {
    margin: 0 auto;
    width: 120px;
    position: absolute;
    right: 25%;
    left: 25%;
    bottom: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    z-index: 1;
}

.sns_icon {
    -webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s;
}

.sns_icon:hover {
    opacity: 0.7;
    -webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s;
}

.sns_icon img {
    width: 24px;
}

.info {
    position: absolute;
    right: 5%;
    bottom: 30px;
    line-height: 22px;
    letter-spacing: 0.03em;
    color: #f2f2f2;
    text-align: right;
    /* opacity: 0.8; */
    z-index: 1;
}

.cover{
  -o-object-fit: cover;
     object-fit: cover;
  font-family:'object-fit: cover;';
}

.announce + #main {
    height: calc(100% - 40px);
}

.announce {
    background: #b3ae93;
}

.announce dl {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0 5%;
    height: 40px;
    font-size: 12px;
}

.announce dd {
    margin-left: 12px;
    color: #fff;
    font-weight: 400;
    text-decoration: underline;
    position: relative;
}

.announce dt {
    background: #9c956a;
    height: 100%;
    padding: 0px 16px;
    font-weight: 700;
    line-height: 40px;
}

.announce a {
    color: #fff;
}

.announce a:hover {
    color: #fff;
    opacity: 0.7;
}


@media screen and (max-width: 768px){
.logo_img {
    width: 120px;
}

.sns {
    left: unset;
    right: 5%;
    bottom: 120px;
}
.announce dl {
    padding-left: 0;
}

.announce dt {
    min-width: 80px;
    text-align: center;
}

.announce dd {
    font-size: 12px;
}
}


/* POPUP */

.popup {
    /* background: #fff; */
    width: 100%;
    height: 100%;
    position: fixed;
    margin: 0 auto;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .6s;
    transition: .6s;
}

.popup.is-show {
  opacity: 1;
  visibility: visible;
}

.popup-ttl {
    width: 100%;
    font-size: 28px;
    /* text-align: center; */
}

.popup-inner {
    background: #fff;
    width: 820px;
    height: 540px;
    padding: 32px 32px;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    overflow: scroll;
    text-align: center;
}

.popup-lines {
    width: 100%;
    padding: 20px 0;
}

.popup-img {
    width: 32%;
}

.popup-lines p {
    font-size: 13px;
    line-height: 26px;
    font-weight: 600;
    /* margin-bottom: 1em; */
}

.popup-ttl:after {
    content: "";
    margin: 12px 0px;
    width: 100%;
    height: 3px;
    background: #000;
    display: block;
}

.popup-btn {
    border: 3px solid #000;
    margin: 12px auto 0;
    width: 100%;
    padding: 12px 18px;
    display: block;
    color: #000;
    text-decoration: none;
    position: relative;
    text-align: center;
}

.popup-btn:hover {
    opacity: 0.7;
}

.popup-btn img {
    width: 25px;
    height: 25px;
    position: absolute;
    left: 20px;
}

.popup-btn span {
    margin-left: 18px;
    font-size: 16px;
    font-weight: 600;
}

.popup-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  z-index: 1;
  cursor: pointer;
}

.close-btn{
  cursor: pointer;
}

.close-btn:after,
.close-btn:before {
    position: absolute;
    content: "";
    background: #000;
    display: block;
    width: 20px;
    height: 2px;
    top: 18px;
    right: 10px;
}

.close-btn:before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.close-btn:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

@media screen and (max-width:768px){

.popup {
    width: 100%;
    height: 100vh;
    top: 0;
}

.popup-inner {
    width: 95%;
    height: 85%;
    padding: 32px 20px;
    text-align: left;
    /* flex-direction: column; */
    overflow: scroll;
}

.popup-ttl {
    font-size: 24px;
}

.popup-lines {
    width: 100%;
    padding: 0;
}

.popup-img {
    margin: 16px auto;
    width: 100%;
    text-align: center;
}

.popup-btn {
    max-width: 280px;
}

.popup-img img {
    max-width: 270px;
}
}
/* POPUP END */
