@charset "utf-8";

#header{
    position: relative;
    height: auto;
}

h1{
    font-size: calc(12px + 1em); /* 画面幅に応じてフォントサイズを変化させる */
    white-space: nowrap; /* テキストを折り返さず1行に収める */
}

.date{
    text-align: right;
    border-bottom: 2px black solid;
}

.container-single >h1 {
    text-align: center;
}

.news-content-body{
   margin-top: 1em;
}

.news-content-body>p{
    text-align: left;
    text-indent: 1em;
}

.news-img-container{
    margin-top: 2em;
    margin-bottom: 2em;
}

.news-content-img{
    display: flex;
}

.news-content-img>img{
    width: 50%;
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
}

.border-raious-container{
    border-radius: 10px;
    border: solid 2px #3d3d3d;
    margin-bottom: 1em;
}

.border-raious-container dl{
    display: flex;
    flex-wrap: wrap;
    padding: 1em;
}

.border-raious-container dt{
    width: 50%;
}

.border-raious-container dd{
    width: 50%;
    text-align: left;
}

.label-container{
    margin-bottom: 1em;
}

.label-container>p{
    padding-left: 2em;
}

.name-list{
    display: flex;
}

.name-list>li:first-child{
    padding-left: 1em;
}

.name-list>li::after{
    content: '・';
}

.name-list>li:last-child::after{
    content: '';
}


@media screen and (max-width:768px) {
    .news-content-img{
        display: block;
    }

    .news-content-img>img{
        width: 100%;
    }

    h1{
        font-size: calc(6px + 1em); /* 画面幅に応じてフォントサイズを変化させる */
        white-space: nowrap; /* テキストを折り返さず1行に収める */
    }
}


@media print {
    
    header#header{
        position: relative;
        height: auto;
    }
    
    h1{
        font-size: calc(12px + 1em); /* 画面幅に応じてフォントサイズを変化させる */
        white-space: nowrap; /* テキストを折り返さず1行に収める */
    }

    .news-content-img{
        display: block;
    }

    .news-content-img>img{
        width: 100%;
    }
}