/* 全般設定 */

/* 字体 */

body {
    font-family: "Yu Gothic","メイリオ",sans-serif,serif;
}

/* リンクにホバーすると色が薄くなる */

a:hover {
    opacity: 0.7;
}


/* ヘッダー */


header {
    display: flex;
    padding: 10px;
    font-weight: bold;
    /*background-color: rosybrown;*/
}

header img {
    width: 400px;
    margin: 0 20px;
}

header div {
    flex-grow: 1;
}



/* ｐｃ用ナビゲーション */

.pc-nav {
    display: flex;
    justify-content: flex-end;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 30px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    right: 0;
}
.pc-nav a {
    display: block;
    padding: 10px;
    width: 130px;
    height: 35px;
    font-weight: bold;
    text-align: center;
    font-size: 12px;
    
    
}

.pc-nav a:hover {
    opacity: 0.7;
    border-bottom: 3px solid red;
}
.pc-nav ul {
    display: none;
}
.pc-nav li {
    background-color: rgb(255, 255, 255);
}




/* z-indexについて　　ホバーした時表示される部分 （画像を切り替えるＪＳ設定後は、z-indexで重なりを手前にしないと、pc-navが表示されない）*/

.pc-nav li:hover > ul {
    display: block;
    position: absolute;
    z-index: 1;
}

/* 閲覧中のページの表示を変える */

#now {
    background-color:#ffa6a6;
}


/*************　ハンバーガーナビを消す　*************/




.nav-unshown {
    display: none;
}

#hum-nav {
    display: none;
}

/* トップの画像*/

.main-images {
    width: 100%;
    
}

.main-images video {
    width :100%;
    
} 

.main-images img {
    width: 100%;
}

/* メインを広く覆うボックス */

.outer-box {
    /* background-color: lightpink;  */
    width: 80%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
}




/* ｈ２のタイトル（各コンテンツのタイトル） */


.content-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: capitalize;
    margin: 30px 0 0;
    background-image: linear-gradient(135deg, #6b0202 0%, #ca0439 20%, #ff0000 30%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 100%;
}


/* 新着情報の欄 */

.sintyaku {
    /* background-color: lightgreen; */
    width: 100%;
}

.sintyaku01 {
    height: 240px;
    overflow-y: scroll;
    background-color: black;

}

.sintyaku-date {
    /* background-color: #ffddaa; */
    font-weight: bold;
    padding: 10px 10px;
    color: white;
}

.sintyaku-naiyou {
    padding: 0 10px 20px;
    border-bottom: 1px dotted #fd7171;
    color: white;
}

.sintyaku p:last-child {
    border: none;
}


/* トピックの欄 */

.topics {
    width: 50%;
}

.topics p {
    padding-bottom: 5px;
}

.topics a {
    display: block;
    margin-top: 5px;
    
}

.topics img {
    width: 100%;
    margin-top: 10px;
}


/*コンテンツボックス群 */


.inner-box {
    /* background-color: lightcyan;  */
    width: 18%;
    padding: 10px 0;
}

.inner-box img {
    width: 100%;
}

.inner-box p {
    padding: 5px;
    /* background-color: lightgreen; */
}



/* フッター */

footer {
    /* background-color: lightgreen; */
    color: black;
    text-shadow: 1px 1px white;
    font-weight: bold;
    padding: 100px;
    margin: 50px 0 0;
    background-image: url(../images/footer.jpg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

footer p {
    padding: 5px 0;
}






/* 追従するトップへボタン */

#page-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background-color: #aaaaaa;
    padding: 1rem;
    border-radius: 50%;
    opacity: 0.7;
}

/* トップへの移動をスムーズにする */

html {
    scroll-behavior: smooth;
}

