html {
    width: 100%;
}

body {
    width: 100%;
    font-family: 'Yomogi', cursive;
    font-size: 22px;
}

@media screen and ( max-width:1920px ) {
    body {
        font-size: 20px;
    }
}

@media screen and ( max-width:1024px ) {
    body {
        font-size: 18px;
    }
}

@media screen and ( max-width:560px ) {
    body {
        font-size: 16px;
    }
}

main {
    width: 100%;
}

label {
    font-weight: bold;
}

.asterisk:before {
    content: '*';
    color: #e40000;
}

ul {
    padding :0;
}
input[type=file] {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
}

.font-weight-bold {
    font-weight: bold;
}


.btn:hover {
  animation: btn 0.5s infinite ease-in-out 0s alternate;
  display: inline-block;
  transition: .5s ease-in-out;
}
 
@keyframes btn {
  0% {
    transform:translate(0, 0) rotate(-5deg);
  }
  50% {
    transform:translate(0, -5px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(5deg);
  }
}

/***********************
  * ソーシャルログインボタン
***********************/
.social-login {
    width: 14rem;
}

/***********************
  * 
  * 投稿ページ
  *
***********************/

.article-post ,
.article-lists ,
.article-description {
    width: 70%;
}

#selected_tag_delete {
    font-weight: bold;
    color: #d81a57;
    cursor: pointer;
}

@media screen and ( max-width:560px ) {
    .article-post ,
    .article-lists ,
    .article-description {
        width: 90%;
    }
}

.image-delete {
    margin-left: 0.5rem;
    top: 0.25rem;
    position: relative;
    cursor: pointer;
    color: #e31b1b;
}

.image-delete:hover {
    transform: scale( 1.25, 1.25 );
}

.url-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #e31b1b;
}

.url-delete:hover {
    transform: scale( 1.25, 1.25 );
}

#article_delete_key {
    width : 25rem;
}


/***********************
  * 
  * 投稿一覧
  *
***********************/
.url-area {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.url-area iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.image-area {
    position: relative;
    max-width: 100%;
}

.image-area img {
    width: 100%;
}

.article-lists .article-card {
    position: relative;
    background-image: url(../images/card-back.jpg);
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 5px 5px 15px #202f55;
    bordr: solid 3px #555;
    -moz-box-shadow: 0px 0px 5px #555;
    -webkit-box-shadow: 0px 0px 5px #555;
    width: 100%;
    padding: 5%;
    margin-bottom: 3rem;
    z-index: 0;
}

.article-lists .post-user {
    font-weight: bold;
}

.article-lists .info-comment ,
.article-description .info-comment {
    width: 100%;
    background-color: #fff;
    padding: 1% 2%;
    margin: 0.5rem 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: solid 0.5px #aaa;
    position: relative;
}

.article-lists .info-comment .comment ,
.article-description .info-comment {
    position: relative;
    margin: 0.5rem 0rem;
    z-index: 1;
}

.article-card .pin-image {
    position: absolute;
    width: 7%;
    height: auto;
    top: 1px;
    left: 42%;
    z-index: 0;
}