body{background:#fff;background-image: url("https://shiga-konan-shakyo.or.jp/volun/wp-content/uploads/2026/10/お知らせ背景85.jpg");background-repeat: no-repeat;background-position: top; background-size:contain;
}
.narw-pad-td td{padding-right:0;background-color:rgba(255,255,255,0.6);}
.cen-td td{text-align:center; padding:3px;height:1em; vertical-align:middle;}
@media screen and (min-width:900px){

  body{
 background-size:auto;
  }
.ad{margin-top:20px;max-width:240px;}
#mybox{float:right;margin-right:20px;}
	.slider {
overflow-y: auto;
height:500px;
width:540px;
margin:0 auto;
  }
}
@media screen and (max-width:700px){
		#sns-top{margin-top:200px;}
	.slider {
overflow-y: auto;
height:450px;
width:340px;
margin:0 auto;
  }
}

.st-main {/*記事エリア*/max-width:540px;/*記事エリアの幅*/
display:block;  padding-top: 8px;padding-left:20px;padding-right:10px;margin-right:0;background-color:transparent;
}	

#content{
    max-width:840px;/*全体の横幅*/background:rgba(255,255,255,0.2);
}

#st-menuwide{
background:rgba(25, 181, 254, 0.1);
}
.menu_underh2{margin-bottom:0px;}
.menu_underh2 a{margin-bottom:0px;color:white;}
#s-navi dt.trigger .op {
background: #3669ba; /* 背景色 */
color: #fff; /* マーク色 */
}
/*サイトメニューPC用のスタイル*/
header .smanone ul.menu li{height:50px;width:168px;}
.footmenu2{color:gray;}
#footer-in{max-width:730px;}
/* 特定ページに非表示 */
.page-id-2 .menu-item-50{
visibility:hidden;
}
.page-id-2 .menu-item-335{
display: none;
}
.page-id-2 .menu-item-336{
display: none;
}
.page-id-2 .menu-item-52
{
display: none;
}
.page-id-2 .menu-item-53
{
display: none;
}
.page-id-2 .menu-item-54{
display: none;
}
.page-id-2 .menu-item-55{
display: none;
}

.page-id-2 .menu-item-350{
display: none;
}
.page-id-2 .menu-item-349{
display: none;
}

.no-border td,.no-border table{border:none;}
/* ツイッター */
.sns .twitter a {
	background:#1e282e;
}
.sns .twitter a:hover {
	background:#000000;
}

.sns .fa-twitter {
	border-right:1px solid #000000;
	padding-right:15px;
}

/* PCでもハンバーガーメニューを表示 */
#s-navi.pcnone{
  display:block !important;
}
/* ==========================================================
   PCでもハンバーガーメニューを常時表示（/news/ と同じ）
   ========================================================== */
@media screen and (min-width: 900px) {
  #st-menuwide{ display: block !important;}
}

/* ハンバーガーを右上に重ねて表示（ページを押し下げない） */
#headbox {
  position: relative;
  padding: 6px 10px 4px;
}
#s-navi {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  margin: 0;
  z-index: 10000;
}
#s-navi:after {
  display: none;
}
#s-navi dt.trigger {
  height: 0;
  overflow: visible;
}
#s-navi dt.trigger .op {
  position: absolute;
  top: 6px;
  right: 6px;
  float: none;
  margin: 0;
  max-width: none;
  padding: 6px 10px;
  font-size: 22px;
  line-height: 26px;
  border-radius: 4px;
}

/* 開いたメニューは上に重ねて表示 */
#s-navi dd.acordion_tree {
  position: absolute;
  top: 46px;
  right: 6px;
  width: calc(100% - 12px);
  max-width: 340px;
  background: #fff;
  border: 2px solid #3669ba;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  max-height: 75vh;
  overflow-y: auto;
}

/* ロゴ行：600px以上は横並び、未満は縦並び */
header .sitename {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0 56px 0 0;
  line-height: 1;
}
header .sitename a {
  margin: 0;
  display: block;
  flex: none;
}
header .sitename img {
  width: auto;
  max-width: none;
  max-height: none;
  margin: 0;
}
@media (max-width: 599px) {
  header .sitename {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
header .sitename a:first-child {
  margin-top: 17px;
}

/* ヘッダー下の余白を詰める */
#gazou-wide {
  margin: 5px;
  padding: 0;
}
#st-menubox {
  margin-bottom: 15px;
}
#content-w {
  margin: 0;
  padding: 0;
}

.st-aside .kanren {
  padding-top: 0;
}
.side-topad .ad {
  margin-top: 0;
}

/* アコーディオン：行全体をホバー色にし、行全体をクリック可能に */
#s-navi .acordion_tree ul.menu li {
  position: relative;
  transition: background-color .15s;
}
#s-navi .acordion_tree ul.menu li:hover {
  background-color: #d5ffff;
}
#s-navi .acordion_tree ul.menu li a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}


header{max-width:850px;margin:auto;}
.kanren-t a{text-decoration: none;color:#222;}
.kanren-t a:hover{text-decoration: none;color:#900;}
.kanren-t,.smanone2 {margin:0;}
.blog_info p{font-size:10pt;}
.blog_info {border-bottom:thin solid #ccc;margin-bottom:5px;}
#content h1{font-size:12pt;color:#222;margin-bottom:0;line-height:1.5em;}
#content h2{font-size:12pt;line-height:1.5em;}
.page-id-2 .side-topad {
    display: none;
}
.side-topad{margin-left:38px;}
.ad a{margin-top:8px;line-height:1.3em;text-decoration:none;display:block;}
.ad li{
border-bottom: 1px dotted gray; /* 太さ、線種、色 */
}
/*-- Flex box PC用 --*/
.dangumi{
    display: flex;
    flex-direction: column;
    align-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    height:320px;
    padding:0px;
    box-sizing: border-box;
    list-style: none;
}
.kodan{
/*-- 説明用の数字を中央寄せするための指定 --*/
    display: flex ;
    align-items: center;
    justify-content: center;
/*---------------------------------------*/
    width: calc( 50% - 10px );
    color:navy;
}

.kodan.red1{
    background-color:transparent;
      height:300px;

}
.kodan.blue2{
	background: rgba(102,255,255,0.2); 
margin-bottom:5px;
height:50px;
}
.kodan.yellow3{
background: rgba(102,255,255,0.2);
    margin-bottom: 5px;
    height:50px;
}
.kodan.green4{
    height:50px;
background: rgba(102,255,255,0.2);
}
.kodan.purple5,.kodan.pink6{
    height:50px;
background: rgba(102,255,255,0.2);
	margin-top:5px;
}
.pc-mie { display: block !important; }
.sp-mie { display: none !important; }
/*-- Flex box SP用 --*/
@media(max-width:600px){
    .dangumi {
        flex-wrap: initial;
    }
    .kodan.red1{
        width: 100%;height: 300px;
        margin-bottom: 5px;
    }
    .kodan.blue2{
        order:2;
			height: 40px;width:100%;
    }
    .kodan.yellow3{
        order: 3;
			height: 40px;width:100%;
    }
    .kodan.green4{
        order: 4;
        height: 40px;width:100%;
    }
	    .kodan.purple5{
        order: 5;
        height: 40px;width:100%;
    }
	 .kodan.pink6{
        order: 6;
        height: 40px;width:100%;
    }
	.sp-space{
	/*--SPの時に下の段落が被るのを避ける
	 * --*/
	margin-top:100px;
}
.pc-mie { display: none !important; }
.sp-mie { display: block !important; }
}
