@charset "UTF-8";
/* CSS DOCUMENT */

/* 全体に適用 */
*{/* 全ての要素の間隔・余白を0へ */
    margin:0;
    padding:0;
    font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","MS Pゴシック","MS PGothic",sans-serif
}

body{
    margin:0px auto;
    padding: 0;
    font-size: 96%;
    color:rgba(0,0,0,1);
    text-align: center;
    width: 100%;
}

#container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 画面上部 */
header{
    padding: 0;
    margin: 0px;
    clear: both;
    height: auto;
    background-color: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    border-top: 0px solid rgba(255, 255, 255, 1);
}

#title{
    background-color: rgba(171, 212, 140, 0.9); 
    background-image: url(../img/titleback1.png);
    background-repeat: repeat-x;
    background-position: right bottom;
}

.Lbox{/* 左寄せのボックス */
    width:100%;
    margin-left:auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 20px 0 15px;
    max-width: 50rem;
    text-align: left;
}

.Lbox h5{
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.85);
}

.Lbox h1{
    margin-bottom:0;
    margin-top: 10px;
    line-height: 1;
    font-size: 40px;
    font-weight: bold;
}

#homemenu{
    padding: 0px 0 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(207, 207, 207, 0.95);
    border-bottom: 1px solid rgba(207, 207, 207, 0.95);
}

#homemenu ul{
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 10px 0 10px;
    list-style: none;
    overflow: hidden;
    display: table;
    table-layout: fixed;
    border: none;
}

#homemenu li{
    padding: 0 30px 0 30px;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    border: none;
}

#homemenu li a{
    display: block;
    text-decoration: none;
    color: rgba(71, 71, 71, 0.85);
    border: none;
    transition-property: color;
    transition-timing-function: ease-out;
    transition-duration: 0.4s;
}

#homemenu li a:hover{
    color: rgba(194, 78, 132, 0.95);
    font-weight: bold;
}

/* コンテンツ共通 */
#contents{
    width: 1000px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 20px;
    padding-bottom: 60px;
    background-position: top;
    background-repeat: repeat-x;
    text-align: left;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
}

/* menuL 右サイドメニュー */
#menuR{
    float: right;
    width: 220px;
    padding:0;
    margin: 0px 0;
    background-color: rgba(255, 255, 255, 1);
}

#menuR .img{
    border-style: none;
}

.banner{/* サイドボックス内のバナー */
    background-image:url();
    background-repeat: no-repeat;
    color: #333;
    margin: auto;
    padding: 10px 0 10px 0;
    display: block;
}

.banner img{
    margin: 0 0 5px;
    width: 210px;
}

.banner p{
    padding: 0 0 0 10px;
    margin: 1em 10px 1em 5px;
}

#menuR nav{ /* サイドボックスのメニュー */
    margin: 0px 0px 20px;
    background-image: url();
}

.label{ /* バナーの背景の黄色いやつ (バナーのフォントもここで設定)*/
    padding: 15px 0px 0px 20px;
    color: rgb(100, 100, 100);
    font-size:18px;
    font-weight: bold;
    margin: 0;
    height: 32px;
    border: 0px solid rgba(0,0,0,1);
    background-color: rgba(255, 224, 139, 0.952);
}

#menuR nav ul{/* サイドメニューのメニュー：リスト */
    margin: 0px;
}

#menuR nav li{
    padding: 5px 0 5px;
    margin: 0px 0px 0px;
    font-size: 14px;
    color: #666666;
    list-style-type: none;
}

#menuR nav li a{
    padding: 5px 10px;
    border-bottom: 1px solid #CCCCCC;
    border-left: 0px solid #CCCCCC;
    text-decoration: none;
    display: block;
}

#menuR nav li a:hover{
    border-left: 0px solid rgba(67, 200, 50, 0.7);
    color: rgba(255, 255, 255, 1);
    background-color: #468bf3;
}

.subInfo{
    margin: 0;
}

.subInfo li{
    padding: 0;
    margin: 0 0 0 0px;
    font-size: 15px;
    list-style-type: none;
    background-color: rgba(245, 219, 163, 0.952);
}

/* #main ページの本文 */
main{
    float: left;
    clear: left;
    width: 750px;
    height: auto;
    padding: 0 0 0 0px;
    margin: 0px 0px 10px 0px;
    background-color: rgba(255, 255, 255, 0.95);
}


main h1{
    background-image: url();
    background-repeat: repeat-x;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    height: 40px;
    margin: 0;
    padding: 16px 0 0 0px;
}

main h2{
    background-image: url();
    background-repeat: no-repeat;
    border-bottom: 1px solid #999999;
    border-top: 1px solid #999999;
    clear: left;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 10px 0;
    padding: 12px 0 4px 30px;
    height: 27px;
}

main h5{
    color: rgba(0,0,0,1);
    font-size: 17px;
    font-weight: bold;
    margin:60px 20px 10px 20px;
    padding-top: 5px;
}

main h6{/* ページのタイトルを作るため付け足したもの。(もしかしたら、h1として変更してもよいのかも・・・。) */
    background-image: url();
    background-repeat: repeat-x;
    color: #333;
    font-size: 27px;
    font-weight: bold;
    text-align: center;
    height: 50px;
    margin: 0;
    padding: 10px 0 0 0px;
}

article{
    font-size: 16px;
    margin: 0 5px 0 5px;
}

article p{
    font-size: 15px;
}

/* 折り畳み */
summary {/* 三角を消す(Chrome,Safari以外) */
    display: block;
}
summary::-webkit-details-marker {/* 三角を消す(Chrome,Safari) */
    display: none;
}
summary:hover {/* ホバー時のシャドー */
    cursor: pointer;
    background-color: #EFEFEF;
}
details[open] .details-content {/* 展開のディレイ,(動いてない？) */
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.rimg{/* main中に右側に画像を表示するスペース */
    float: right;
    max-width: 300px;
    padding: 0;
    margin-left: 15px;
    background-color: rgba(255, 255, 255, .95);
    text-align: center;
}

.rimg img{
    max-width: 270px;   /* 写真がかぶらないように最適化した結果、中途半端な数値になっています。*/
    max-height: 350px;
    margin: 2px;
    padding: 2px;
    border: 1px solid rgba(207, 207, 207, 0.95);
}

.rimg figcaption{/* 右側に表示した画像の注釈の設定 */
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 14px;
}

.cimg{	/* 画面中央に画像を表示する設定 */
    text-align: center;
    width: 750px;
    padding: 0;
    margin: auto;
}

.cimg img{
    max-width: 700px;
    max-height: 500px;
    margin: auto;
    padding: 0;
}

.cimg figcaption{
    text-align: center;
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 14px;
}

main p{/* 本文の段落 */
    margin:0 2px 1.5em 5px;
    padding: 0 0 0 15px;
    line-height: 150%;
    text-indent: 1em;
}

.sensei { /*リンクの下線を消している */
    text-decoration:none;
}
.sensei:visited {
    color: #333;
}

.yoshida { /*吉田さんだけスタイル変えるやつ */
    font-family: "HGP行書体";
    font-size: 18px;
}


.titleLab { /* ページタイトル部分にラベルを追加する。*/
    padding: 20px 0px 0px 20px;
    margin: 0 0 10px 0;
    height: 50px;
    border: 0px solid rgba(0,0,0,1);
    background-color: rgba(171, 212, 140, 0.9);
}

main ul, #main ol{/* リスト表示 */
    margin:1em 20px 2em 40px;
    padding-left: 25px;
}

.link{
    margin:1em 0 1em 50px;
    padding:0 0 10px;
}

.link tr{
    float: left;
    clear: left;
    margin: 0px 20px 10px 0px;
}

.link tr th{
    width: 10em;
    font-weight: normal;
    vertical-align: top;
}

.link tr td{
    padding: 0 0 5px 100px;
    margin: 0 0 0 0px;
}

.link tr td a{
    line-height: 130%;
}

#contact p{
    padding: 20px 0 0 100px;
}

#contact dl{
    margin: 0 0 0 100px;
}

#contact dl dt{
    float: left;
    clear: left;
    margin: 0;
}

#contact dl dd{
    margin: 0 0 0 100px;
}

/* #footer 画面下部 */
footer{
    clear: both;
    margin-top: auto;
    border-top: 4px solid #999999;
    border-bottom: 1px solid #FFFFFF;
    text-align: left;
    background-color: rgba(228, 226, 226, 0.85);
    background-image: url();
    background-repeat: repeat-x;
}

#footer_menu{
    padding: 0px 0 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
    width: 100%;
}

#footer_menu ul{
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 10px 0 0px;
    list-style: none;
    overflow: hidden;
    display: table;
    table-layout: fixed;
    border: none;
}

#footer_menu li{
    padding: 0 15px 0 15px;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    border: none;
}

#footer_menu li a{
    display: block;
    text-decoration: none;
    font-size: 12px;
    color: rgba(17, 51, 146, 0.85);
    border: none;
    transition-property: color;
    transition-duration: 0.4s;
}

#footer_menu li a:hover{
    font-weight: bold;
}

footer p{
    padding-top: 0px;
    padding-bottom: 10px;
}

/* newsbox設定 */
#newsbox{
    height: 300px;
    width: 700px;
    margin: auto;
    overflow: auto;
    border: 1px solid #999999;
    background-image: url();
    background-position: left top;
    background-repeat: repeat-x;
    overflow-y: scroll;
}

#newsbox dl{
    margin: 10px 0 5px 25px;
    padding: 0 0 0px;
}

#newsbox dt{
    float: left;
    clear: left;
    margin: 0;
}

#newsbox dd{
    margin: 0 0 0 100px;
    padding: 0 0 0 15px;
    border-left: 1px solid rgba(71, 71, 71, 0.85);
}

/* 小画面対策 */
@media (max-width: 1000px){
    body{
        width: 100%;
    }
    #contents{
        flex-direction: column;
        width: 100%;
    }
    main, #menuR{
        width: 100%;
    }
    nav{
        width: 100%;
        margin: auto;
    }
    #homemenu li{
        padding: 0 15px 0 15px;
    }
    #newsbox{
        margin: auto;
        width: 98%;
    }
}