body {
    background-image: url(../images/bg.jpg);
}

img {
    width: 100%;
}

.contents {
    max-width: 960px;
    margin: 0 auto;
}

.line {
    width: 100%;
    height: 4px;
    background: white;
}

.line2 {
    width: 100%;
    height: 1px;
    background: white;
}

.flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*ヘッダー*/

.head {
    margin: 16px 0;
    background: rgba(35, 0, 0, 0.8);
    padding: 16px;
}

.head-left {
    color: white;
}

.head-left h1 {
    font-size: large;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 0;
}

.head-left p {
    margin-top: 0;
    font-size: small;
}

.head-right {
    color: white;
    text-align: right;
    font-size: small;
}

/*画面幅960px以下の時*/
@media screen and (max-width:960px) {
    .head-right {
        display: none;
    }
    .head-left p {
        font-size: 8px;
    }
}

/*サイドバー*/

.menu-contents {
    margin: 0 auto;
    width: 247px;
}

.menu-bg {
    background: #656363;
    margin: 0;
    padding: 8px;
    width: 247px;
}

.menu-bg p {
    line-height: 40px;
    margin-left: 16px;
}

.menu-link {
    color: white;
    display: block;
    text-align: center;
    margin: 20px;
}

.menu-link:hover {
    opacity: 0.7;
}

.link:hover {
    opacity: 0.7;
}

/*画面幅960px以下の時*/
@media screen and (max-width:960px) {
    .menu {
        display: none;
    }
}

/*メインコンテンツ*/

.main-left {
    width: 640px;
}

.main-right {
    width: 320px;
    height: 384px;
    background: #230000;
    padding: 24px;
    
}

.con01 {
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    color: #FFFFFF;
}

.con02 {
    margin-top: 24px;
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
}

.menu {
    width: 260px;
    background: #230000;
    padding: 7px 0;
}

.main-contents {
    width: 690px;
}

.font {
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    color: white;
    font-size: 14px;
}

.img-comment {
    line-height: 20px;
    padding: 16px;
    background: rgba(35, 0, 0, 0.8);
    color: white;
    font-size: 12px;
}

.items {
    background: rgba(35, 0, 0, 0.8);
    padding: 8px 32px;
    color: white;
}

.items a {
    color: white;
}

.card {
    background: #230000;
    color: white;
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    width: 221px;
}

/*画面幅960px以下の時*/
@media screen and (max-width:960px) {
    .main-right {
        margin: 0 auto;
    }

    .main-contents {
        margin-top: 16px;
    }

    .flex-content {
        margin: 0 auto;
    }

    .card {
        margin: 0 auto;
        margin-bottom: 16px;
        width: 300px;
    }
}

/*諸ページ*/

.page-title {
    background: #230000;
    color: white;
    padding: 16px;
    border-left: #FFFFFF solid 8px;
}

.table-contents {
    color: white;
    padding: 16px;
    background: #766A56;
    border-bottom: 1px solid white;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sub-title {
    text-align: center;
    color: white;
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    margin: 36px 0;
    font-size: 24px;
}

.question {
    background: #766A56;
    padding: 16px; 
    margin-top: 16px;
    color: white;
}

.answer {
    background: #656363;
    padding: 16px; 
    color: white;
}

.form {
    width: 90%;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 12px;
}

.form-l {
    padding-right: 12px;
    display: block;
    margin-bottom: 0px;
    margin-top: 12px;
    font-weight: bold;
    font-size: small;
}

.form-l2 {
    display: block;
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: medium;
}

.list-title {
    background: #230000;
    color: white;
    padding: 16px;
    margin-top: 16px;
}

.list {
    color: white;
    font-size: 12px;
}

.list td {
    padding: 8px;
}

.list a {
    color: white;
}

.waku3 {
    padding: 10px;
}

.subtemp {
    background-color: #FFFFFF;
    margin-top: 16px;
    padding: 16px;
}

.sp {
    margin-top: 47px;
    margin-bottom: 38px;
}

.virus-title {
    color: #000000;
    text-align: left;
    font-size: x-large;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    border-left: thick solid #240000;
    padding-left: 10px;
    margin-left: 4px;
}

/*フッター*/

.foot {
    margin: 16px 0;
    background: rgba(35, 0, 0, 0.8);
    padding: 16px;
}

.footer_menu{
    color: white;
    font-size: 12px;
}

.footer_menu a {
    color: white;
    text-decoration: underline;
}