@charset "utf-8";
.news-page {
    padding: 20px 0 20px;
    color: black;
}
/* ページタイトルと線のアニメーション */
.news-title {
    position: relative;
    margin: 50 0 15px;
    padding: 10px;
    font-size: 35px;
    border-color: coral;
    font-family: "Yu Gothic", sans-serif;
    text-align: center;
}
.news-title:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    border-bottom: solid 2px #000;
    transform: translateX(-50%);
    animation: border-top 0.5s linear forwards;
}
@keyframes border-top {
    0% {
      width: 0%;
    }
    100% {
      width: 400px;
    }
}
.news-title:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 76px;
    width: 0;
    border-top: solid 2px #000;
    transform: translateX(-50%);
    animation: border-bottom 0.5s linear forwards;
}
@keyframes border-bottom {
    0% {
      width: 0%;
    }
    100% {
      width: 400px;
    }
}
/* 新着情報の内容 */
.news-card {
    height: auto;
    width: 600px;
    margin: 100px;
    position: relative;
    background-color: #f4fff4;
}
/* 新着情報のタイトル */
.news-subtitle {
    padding: 10 15 10 15;
    font-size: 20px;
    line-height: 50px;
    border-top: solid 2px #009944;
    border-left: solid 2px #009944;
    border-right: solid 2px #009944;
    border-bottom: dotted 2px #009944;
    display: flex;
    justify-content: space-between;
}
/* 新着情報の日付 */
.news-day {
    display: flex;
    color: #dcdcdc;
}
/* 新着情報のテキスト */
.news-text {
    padding: 10 15 10 15;
    font-size: 17px;
    line-height: 40px;
    font-family: serif;
    border-left: solid 2px #009944;
    border-right: solid 2px #009944;
    border-bottom: solid 2px #009944;
}
/* 新着情報の写真 */
.news-front {
    width: 50%;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding: 15px;
    border: outset;
    border-color: #a9a9a9;
    border-width: thin;
}