.main-visual {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-origin: padding-box;
    background-position: center 10px;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100px + 20vw);
    overflow: hidden;
    padding-top: 0;
    text-align: center;
    width: 100%;
    z-index: -10;
    position:relative;
}
#mvis_logo {
    position: absolute;
    top: calc(30px + 6vw);
    left: calc(50% - 500px);
    z-index:1;
}
#main-visual {
    height:calc(100px + 20vw);
    position: relative;
    width: 100%;
    line-height:0;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    overflow:hidden;
 *background: url("../img/photo/mainvis01.jpg") no-repeat scroll center center;
}
#main-visual .taikai{
    display:block;
    position: absolute;
    bottom: 5%;
    right: 1%;
    z-index:10;
    background-color:#FFF;
    max-width:350px;
}
#main-visual .taikai img{
    width:100%;
}

.mvisBox {
    height:400px;
    position:relative;
    overflow:hidden;
}

.mvisBox3{
    clear:both;
    display:flex;
    background-color:#FFF0;
}
.mvisBox3 > *{
    width:100%;
    margin:4px 2px;
}
.mvisBox3 img{
    width:100%;
}

@keyframes mvimg1 {
    0% {
        top:400px;
        transform:scale(0);
        opacity:0;
    }
    100% {
        top:-20px;
        opacity:1;
        transform:scale(1);
    }
}
@keyframes mvimg2 {
    0% {
        top:400px;
        transform:scale(0);
        opacity:0;
    }
    100% {
        top:0;
        transform:scale(1);
        opacity:1;
    }
}
@keyframes mvimg3 {
    0% {
        top:400px;
        transform:scale(0);
        opacity:0;
    }
    100% {
        top:20px;
        transform:scale(1);
        opacity:1;
    }
}
#header + div{
    top:10px;
}



 /*=== 画像の表示エリア ================================= */
.slide {
  position   : relative;
  overflow   : hidden;
  width      : 100%;
  height: 19vw;
}
 
 /*=== 画像の設定 ======================================= */
.slide img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  left       : 100%;
  animation  : slideAnime 70s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s; }
.slide img:nth-of-type(2) { animation-delay: 10s; }
.slide img:nth-of-type(3) { animation-delay: 20s; }
.slide img:nth-of-type(4) { animation-delay: 30s; }
.slide img:nth-of-type(5) { animation-delay: 40s; }
.slide img:nth-of-type(6) { animation-delay: 50s; }
.slide img:nth-of-type(7) { animation-delay: 60s; }

 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
    0% { left: 100%;  }
    7.1428% { left: 0;}/* 50÷枚数*/
    14.2857% { left: 0;}/* 100÷枚数*/
    21.4285% { left: -100%; }/* 150÷枚数*/
    100% { left: -100%; }
}


/* grid */
#container {
    margin-top:0px;
    padding-bottom:0;
    overflow: hidden;
    background: #fff;
}
#sidebar, #sidebar2 {
    /*float: right;*/
    float: left;
    width: 320px;
    margin-right: 20px;
    height: 100%;
    background: #f1f1f1;
    padding-bottom: 32767px;
    margin-bottom: -32767px;
}
#container .calendar_list{
    float: left;
    width: 440px;
}
#container .calendar_list .calendar_header{
    font-size: 1em;
    line-height: 1em;
}

#container .calendar_list .calendar_box{
    width: 98%;
}
#container .calendar_list .calendar_box p,
#container .calendar_list .calendar_box a{
    text-align: center;
}
#container .calendar_list h2{
    background: url("../img/icon/icon_calendar.png") no-repeat scroll 0 45% #fff;
    font-size: 1.286em;
}

#container .calendar_list h4 a{
    display: inline-block;
    margin: 0 0.5em;
}
#container .calendar_list .magazine_link:hover{
    opacity: 0.7;
}

#main {
    padding-left: 0;
}
#main, #main2 {
    float: left;
    /*width: 620px;*/
    width: 500px;
    margin-right: 20px;
    height: 100%;
    background: #f1f1f1;
    padding-bottom: 32767px;
    margin-bottom: -32767px;
    margin-left:0;
}
#main2 {
    width: 620px;
}
#main > section {
    padding-left: 0px;
}
#main .hl-list,
#sidebar .hl-list{
    height: 560px;
    overflow-y: scroll;
}
#container1 {
    margin-top:27px;
}
#container2 {
    width:100%;
    margin: 0 auto;
    min-height: 100%;
    overflow: hidden;
    margin:0 0 50px;
    padding-top:26px;
}
#container2.flex .trBoxIn {
    margin:2px;
    
}
#container2.flex .trBoxIn a[href*="loginflow.pdf"]{
    margin-top: 1em;
    background:none !important;
}

#main2 {
    background:#fff;
    border-top:1px dotted #333;
    padding-bottom: 0;
    margin-bottom: 0;
}
#sidebar2 {
    background:#fff;
    padding-bottom: 0;
    margin-bottom: 0;
}
.tlBox {
    width:100%;
    float:left;
    border-top:1px dotted #333;
}
.trBox {
    width:320px;
    float:right;
}
.trBoxIn {
    border: 1px solid #CCC;
    background:#FCFCFC;
    border-radius:6px;
}

.trBoxIn2 {
    border: 1px solid #CCC;
    background:#FCFCFC;
    border-radius:6px;
    height:100%;
    margin:0;
}
.tlBox, .trBoxIn {
    margin:0 0 12px;
}
.hl-list ul li {
    border-bottom: 1px dotted #333;
    line-height: 110%;
    margin: 0px 0 0;
    padding-top:0px;
    text-decoration: none;
    width: 100%;
}
.hl-list ul li a {
    color: #333333;
    display: block;
    line-height: 1.2;
    padding: 2px 0 7px;
    text-decoration: none;
}
.hl-list ul li:hover {
    background-color: #fff;
}
.hl-list ul li:hover a {
    color:#2A53A8;
}
.cate {
    display:inline-block;
    border:1px solid #CCC;
    background-color:#fff;
    font-size: 10px;
    font-weight:bold;
    margin: 0 0 0 13px;
    padding: 5px 8px 3px;
    /*width:51px;*/
    width:60px;
    text-align: justify;
    text-justify: inter-ideograph;
}
.cate1 {
    color:#FF0000;
}
.cate2 {
    color:#4AAA5F;
}
.cate3 {
    color:#FF9900;
}
.cate4 {
    color:#2A53A8;
}
.cate5 {
    color:#CC66CC;
}
.cate6 {
    color:#336666;
}
/*病薬ひろば*/
.cate100000 {
    color:#993366;
}
/*行事予定*/
.cate200000 {
    color:#339966;
}
/*行事予定*/
.cate300000 {
    color:#336699;
}

.date {
    color: #0BABDD;
    font-size: 0.786em;
    font-weight: bold;
    line-height: 30px;
    letter-spacing:0.09em;
}
.hl-list {
    background-color:#F1F1F1;
    padding:13px 13px 23px;
}
.top_news .hl-list {
    overflow-y: scroll;
    height: 294px;
}
h2 {
    font-size:1.429em;
    line-height:3em;
    padding-left:38px;
    position:relative;
}
h2.newsIcon, h2.eventIcon, .calendar_box h2 {
    font-size:1.286em;
    line-height:1em;
    padding:20px 120px 20px 38px;
}
.trBox h2 {
    line-height:1;
    margin: 0;
    padding:17px 20px 15px 0px;
    vertical-align:text-bottom;
}
.trBox h2 a {
    color: #333;
    background: url("../img/icon/arw05.png") no-repeat scroll 3px center;
    padding:0px 0 0 23px;
    line-height:1;
}
.trBox h2 a:hover {
    color: #0BABDD;
}
.newsIcon {
    background: url("../img/icon/icon_01.png") no-repeat scroll 0 45% #fff;
}
.eventIcon {
    background: url("../img/icon/icon_02.png") no-repeat scroll 0 45% #fff;
}
.visitorIcon {
    background: url("../img/icon/icon_03.png") no-repeat scroll 0 45% #fff;
    padding-left:60px;
}
.more {
    display:block;
    line-height:1;
    background: url("../img/icon/arw05.png") no-repeat scroll 0 46%;
    padding:8px 0 8px 10px;
    color:#000;
    font-weight:bold;
}
/* work */


.workIcon {
    background: url("../img/icon/icon_04.png") no-repeat scroll 0 45% #fff;
    padding-left:64px;
}
.pickup-work {
}
.pickup-work ul {
    display:block;
}
.pickup-work ul li {
    border:1px solid #CCC;
    font-size:0.857em;
    position:relative;
    display:block;
    clear:both;
    margin-bottom:1em;
}
.pickup-work ul li:first-child {
    margin-left:0;
}
.pickup-work ul li img {
    width:50%;
    float:left;
    margin:0 1em 1em 0;
}
.pwIn {
    padding:0.5em;
}
.pickup-work ul li h3 span {
    margin:0;
    padding:7px 8px 3px;
    color:#0BABDD;
    font-size:1.33em;
    font-weight:normal;
    display:inline-block;
    background:#FFF;
}
.pickup-work ul li p, .pickup-work .col-2 li span {
    padding:0px 0;
    margin:0;
    font-size:1em;
}
.pickup-work ul li .date {
    clear:both;
    display:inline-block;
    color:#333;
    padding: 8px 40px 6px 8px;
    background: url("../img/icon/new01.png") no-repeat scroll right 53%;
    line-height:1;
}
.pickup-work .more {
    text-align:right;
    background-position: right 6em center;
}
/* visitor */
.pickup-visitor {
}
.visitor-nav2 {
    margin-top:54px;
}
.pickup-visitor .col-2 {
    width:225px;
    margin-right:14px;
    position:relative;
    font-size:0.857em;
    min-height:146px;
    position:relative;
}

.pickup-visitor .col-2.end {
    margin-right:0px;
}

.pickup-visitor .col-2 img {
	display:block;
	margin: 0px 0px 0px 0px;

}




#container1 .pickup-visitor .col-2 h3 {
    margin:0;
    padding:7px 0 6px;
    border:solid #CCC;
    color:#0BABDD;
    font-size:1.2em;
    border:none;
}


#container1 .pickup-visitor .col-2 p, .pickup-visitor .col-2 span {
    padding: 0 0;
    margin:0;
    font-size:1em;
}




.pickup-visitor .col-2 li .date {
    display:inline-block;
    color:#333;
    padding: 12px 40px 8px 8px;
    background: url("../img/icon/new01.png") no-repeat scroll right center;
    line-height:1;
}
.pickup-visitor-inner {
    width:210px;
	margin: 0px auto 5px auto;
}

.pickup-visitor-inner h3 a {
    color:#0BABDD;
}
.pickup-visitor-inner ul {
    position:absolute;
    bottom:0;
}
.col-2 .pickup-visitor-inner li {
    float: left;
    margin: 0px;
    width: 100%;
    line-height:1.2;
}


.col-2 .pickup-visitor-inner li .more {
    padding:2px 0 2px 10px;
    display:inline-block;
}


.bl-hover, li.bl-hover h3 span {
    background-color:#DFE9FB!important;
    -moz-transition: -moz-all 0.4s ease-in-out 0s;
    -webkit-transition: -webkit-all 0.4s ease-in-out 0s;
    -o-transition: -o-all 0.4s ease-in-out 0s;
    -ms-transition: -ms-all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}


h2 {
    position: relative;
}
.archive {
    display:inline-block;
    /* For IE 6/7 */
    *display: inline;
 *zoom: 1;
    font-size:12px;
    border:1px solid #CCC;
    position:absolute;
    top:20%;
    right:0;
    float:right;
    margin-top:0;
    padding:7px 13px 7px 26px;
    border-radius:5px;
    color:#333;
    background: url("../img/icon/arw05.png") no-repeat scroll 10px 9px #FCFCFC;
    line-height:1.1;
}
h2 .archive a:hover {
    background-color:#f1f1f1;
    color:#000;
}
.trBox p {
    margin: 0;
    font-size:0.857em;
    padding-top:10px;
}
/* mbr */
.mbrIcon {
    background: url("../img/icon/icon_05.png") no-repeat scroll right 9px #FCFCFC;
    margin:0 13px;
}
/* melmag */
.magIcon {
    background: url("../img/icon/icon_06.png") no-repeat scroll right 9px #FCFCFC;
    margin:0 13px;
}
.magIcon h2 {
    border-bottom:1px solid #CCC;
}
.magIcon p {
    padding:10px 0 12px;
}
/* join */
.joinIcon {
    background: url("../img/icon/icon_11.png") no-repeat scroll right 13px #FCFCFC;
    margin:0 13px;
}
/* tohoku */
.tohoku {
    margin:0 13px;
    min-height:350px;
}
 .tohoku, x:-moz-any-link, x:default {
min-height:358px;
}
html>/**/body .tohoku {
    min-height:363px;
}
.tohoku h2 {
    font-size:1.286em;
    border-bottom:1px solid #CCC;
}
.tohoku h3 {
    color:#0BABDD;
    font-size:1em;
    border:none;
    margin:0;
    padding:17px 0 0;
}
.trBox .tohoku h2 {
    padding-right:0;
}
.thkNav li {
    font-size:0.857em;
}
.thkNav li:hover, .thkNav li.now {
    text-decoration:none;
}
.thkNav li:hover a, .thkNav li.now a {
    color:#0BABDD;
    background: none;
    padding-left: 20px;
}
a[href$=".pdf"], a:hover[href$=".pdf"] {
    padding-right: 0px;
    background: url(../img/icon/arw05.png) no-repeat center left!important;
}
/*a[href$=".pdf"], a:hover[href$=".pdf"] {
    padding: inherit;
    background: transparent!important;
}*/
/*-- right nav --*/
.mbrNav {
    padding: 0 0px 10px;
}
.mbrNav li, .mbrNav li:hover {
    list-style-type: none;
    background: url("../img/icon/arw05.png") no-repeat 11px center #FFF;
    border:1px solid #CCCCCC;
    border-radius:3px;
    margin-top:6px;
}
.mbrNav li a {
    color: #333;
    display: block;
    font-size: 1em;
    padding:7.5px 25px 5px;
}
.mbrNav li.ico1 a {
    background: url("../img/icon/icon_07.png") no-repeat 97% center;
}
.mbrNav li.ico2 a {
    background: url("../img/icon/icon_08.png") no-repeat 97% center;
}
.mbrNav li.ico3 a {
    background: url("../img/icon/icon_09.png") no-repeat 97% center;
}
.mbrNav li.ico4 a {
    background: url("../img/icon/icon_10.png") no-repeat 97% center;
}
.mbrNav li:hover, .mbrNav li.now {
    text-decoration:none;
    background: url("../img/icon/arw05.png") no-repeat 11px center #0BABDD;
}
.mbrNav li:hover a {
    color:#fff;
}
a[href^="http"], a:hover[href^="http"] {
    padding-right: inherit;
    /*background: transparent!important;*/
}
.bnr_area{
    display:flex;
    gap:10px;
}


/*-----------------------------------------------------------------------------------------------
スマートフォン対応
-----------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
#mvis_logo {
    top: 30px;
    left:20px;
    width:50%;
}

#glbNavi li a {
    min-width: auto;
}
#main-visual .taikai {
    max-width: 45%;
}

#main, #main2 {
    float: none;
    width: auto;
    margin-right:0;
}
#container .calendar_list {
    float: none;
    width: auto;
}


#main .hl-list, #sidebar .hl-list {
    height: auto;
    overflow-y: auto;
}
.hl-list ul li:nth-of-type(n+10){
    display:none;
}
.hl-list ul li a{
    padding:1em;
}
.hl-list ul li a br{
    display:none;
}

/* フッターバナー */
.col-5 li{
    width:50%;
    text-align:center;
    float:left;
    margin-bottom:20px;
}
.col-5 li img{
    width:90%;
}

}
