@charset "UTF-8";

/*-----------------------
Font
font-family: 'Noto Serif JP', serif;
font-family: 'Zen Antique', serif;

-----------------------------*/

/*--共通部分--*/
html{
    font-size: 100%;
}
body{
    line-height: 1.7;
/*    color: #432; */
    background-color: #FFF;
    font-family: 'Noto Serif JP', serif;

}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
}

ins{
    text-decoration: none;
    color: #f00;
}
/* del&Ins accessibility (スクリーンリーダー利用者用アナウンス）*/
del::before,
del::after {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

del::before {
  content: " [削除開始] ";
}

del::after {
  content: " [削除終了] ";
}

ins::before,
ins::after {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

ins::before {
  content: " [挿入開始] ";
}

ins::after {
  content: " [挿入終了] ";
}


/*-- Navi --*/
/* ハンバーガーメニュー*/

.openbtn1{
    position: absolute;
    z-index: 60;
    right: 0px;
    top: 3px;
/*    background:#666666d0; */
      width: 50px;
      height:50px;
    border-radius: 5px;

  }

  .openbtn1 span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    top: 11px;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: rgb(78, 78, 78);
    width: 45%;
  }
  .openbtn1 span:nth-of-type(1) {
    top:15px; 
  }
  
  .openbtn1 span:nth-of-type(2) {
    top:23px;
  }
  
  .openbtn1 span:nth-of-type(3) {
    top:31px;
  }

/* ナビボタンクリック後の動き */
.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0; /*真ん中の線は透過にする*/
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
/* navi menu */
#G_nav{
    position: fixed;
    z-index: 50;
    top: 0;
    right: -120%;
    width: 300px;
    height: 100vh;
    background-color: #fae5c9;
    transition: all 0.6s; /* 動き */
}
/* アクティブクラスがついたら位置を０に */
#G_nav.panelactive{
    right: 0;
}

#G_nav ul{
    position: absolute;
    z-index: 50;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
/*    font-family: 'Antonio', sans-serif; */
}
#G_nav li{
    list-style: none;
    text-align: center;  
}
#G_nav li a{
    color: #333;
    text-decoration: none;
    padding: 30px 10px 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Zen Antique', serif;
}
#G_nav li a:hover{
    color: #566B3A;
}
.nav_sub{
    font-size: 13px;
    margin-top: -10px;
    font-family: 'Zen Antique', serif;
}


/*----------------------
和漢古書利用案内トップページ
(HOME)
------------------------*/

/*--header--*/

.header{
    margin: 10px 5px 15px 5px;
    height: 20px;

}
h1{ 
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 15px;
}


/*--HOME--*/

.home-content{
    width: 100%;
    height: auto;
}

.page-title{
    font-family: 'Zen Antique', serif;
    font-size: 1.5rem;
    position: relative;
    height: 250px;
    width: auto;
    white-space: nowrap;
    background-image: url(img/woodhalf.jpg);
    background-color: #ca9678;
    background-blend-mode: hard-light;
}
h2{
    /*縦書き　中央表示*/
    display: inline;
    position: absolute;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    /*体裁*/
    line-height: 5.0rem;
    letter-spacing: 0.3rem;
    /*border:#777 1px solid; */
    border: #FFF 20px solid;
    background-color: #FFF;
    border-radius: 50%;

}

.title-description{
    max-width: 900px;
    align-items: center;
    margin: 10px auto;
    padding: 5px;
    
}


.mainmenu-wrapper{
    font-size: 1.3rem;
    font-weight: normal;
    color: #333;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;

}

.mainmenu{
    width: 60%;
    height: auto;
    background-color: #FFF;
    margin: 20px 10px;
    padding: 50px;
    border: #333 1px solid;
}
ul.box1,.box2,.box3{
    padding-left: 10px;
    line-height: 3.5;
}

li.submenu-title{


}

ul.mini-menu{
    padding-left: 26px;


}

li.mini-menu{
    line-height: 2.5;
}

span.material-symbols-outlined{
    padding-left: 5px;
    vertical-align: middle;
}
a{
    color: #333;
    text-decoration: none;
}
a.a_top:hover{
    color: #566B3A;

}
span.em-red{ /*赤字*/
    color: #f00;
}

/*アコーディオンタイトル*/
.menu-title{
    padding: 10px;
    color: #333;
    position: relative;
    cursor: pointer;
}
.menu-title::before{/* 閉じている時 */
    content: "＋";
    position: absolute;
    padding-left: 10px;
    right: 10px;
}
.menu-title.open::before{/* 開いている時 */
    content: "－";
    position: absolute;
    padding-left: 10px;
    right: 10px;
}

.box1,.box2,.box3{
    display: none;
}

/*--Footer--*/
FOOTER{
    text-align: center;
    font-family: 'Zen Antique', serif;
    width: 100%;
    height: 100px;
    background: #FFF;
    padding-top: 15px;
}
footer.wkvb-footer{
    background-image: url(img/woodhalf.jpg);/*, linear-gradient(#fff, #fc6c84); */
    background-color: #ffcc99;
    background-blend-mode: overlay;
    /*background-blend-mode: hard-light; */
}

div.footer{
    padding-top: 10px;
}

.footer_title{
    font-size: 1.1rem;
}
.copyright{
    font-size: 0.6rem;
}
a.linkurl{    
    color: rgb(41, 30, 10);
}
.linkurl:hover{
    color: #566B3A;
}
img.footer_bird{
    margin: 0 auto;
}

/*=========================
和漢古書/貴重書の利用共通
==========================*/
.home-content{
    max-width: 950px;
    margin: auto;
}
.content{
    margin: 3%;
    padding: 1%;
}
.mini-content{
    margin-top: 15px;
    margin-bottom: 25px;
}
.discription{ /*.discriptionは見出しから文章を１字分スペースを空ける*/
    margin-left: 2.5%;
}
div.content-header{
    background-image: url(img/pageheader.png);
    width: auto;
}
h3{
    font-size: 1.3rem;
    padding: 2rem 1rem;
}
h4{
    font-size: 1.1rem;
    margin-top: 5px;
    margin-bottom: 3px;
}
p.bold{
    font-weight: bold;
}
p.semi-bold{
    font-weight: 600;
    margin-top: 5px;
}
.withimg{
    margin-top: 15px;
    margin-bottom: 30px;
}
.imgbox{
    margin-top: 8px;

}

div.roundbox{
    border: #333 1px solid;
    border-radius: 20px;
    padding: 5%;
    margin: 3%;
}
li.small-disc{
    font-size: 0.8rem;
    padding-left: 9.5%;
}

ul.note{
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 10px;
}

ol.ArticleBody{
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 10px;
  }
a.url{
    color: rgb(3, 132, 141);
}
a.url:hover{
    color: #c81432;
}
/* 利用資格一覧の表 */  
table{
    border: #333 1px solid;
    margin: 10px auto; 
}
th,td{
    border: #333 1px solid;
}
th{
    padding: 10px;
}
td{
    padding: 15px 10px;
}
td.center{
    text-align: center;
}
/*段組み調整用の表*/
.minitable{
    border: 0px;
    margin-left: 0%;
}
table.minitable{
    border: rgb(190, 190, 190) 1px solid;
}
.tabletitle{
    background-color: rgb(231, 231, 231);
}



/*=========================
ダウンロードページ
==========================*/

.dl-list{
    line-height: 2.5;
}
.section-list{
    line-height: 2.5;
}
div.squarebox{
    border: #333 1px solid;
    padding: 5%;
}
a.app-sheet{
    color: rgb(3, 132, 141);
}
a.app-sheet:hover{
    color: #c81432;
}
h4.app-type{
    margin-bottom: 3%;
}
p.dl-bold{
    font-weight: 600;
}

/*=========================
レスポンシブデザイン対応
==========================*/

/*--PC用CSS--*/
@media screen and (min-width: 960px) {



    }

/*--タブレット用CSS--*/
@media screen and (max-width: 960px) {
/*--和漢古書トップページ--*/
    .mainmenu{
        width: 80%;
        height: auto;
        background-color: #FFF;
        margin: 20px 10px;
        padding: 50px;
    }



    }

@media screen and (max-width: 520px) {
    
    .mainmenu{
        width: 100%;
        height: auto;
        background-color: #FFF;
        margin: 10px;
        padding: 30px;
        font-size: 1.2rem;
    }

    }
    .content{
        margin: 3%;
        padding: 2%;
    }