@charset "UTF-8";

/*!
Theme Name: tcm child
Template:   tcm
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

body,html{
	margin: 0!important;
	padding: 0!important;
}
body {
  /* フォントの種類 */
/*   font-family: "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif; */
font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;

}
a{
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
	color: #0078ff;
}






nav{
/*   margin: 0 calc(50% - 50vw) !important; */
  width: 100vw !important;
  background-color: #795548 !important;

/*     background: linear-gradient(-90deg, #ff9c46 0%, #a7f3ff 32.02%, #39c6a0 61.08%, #fff393 100%); */
}



.navi-in > ul{
	position: relative;
}

.navi-in > ul li {
	position: static;
}


.navi-in > ul .sub-menu{
	left: 0;
	min-width: inherit;
	padding-top: 10px;
}

.navi-in > ul .sub-menu > li{
	 line-height: 1.1rem;
	 margin: 10px 0;
	 height: auto;
	 display: inline-block;
	 text-align: center;
	 width: 190px;
	 vertical-align: top;
	 

}

.navi-in > ul .sub-menu > li span{
	padding-left: 0;
}

.navi-in > ul .sub-menu > li img{
	margin-bottom: 10px;
	border-radius: 3px;
}


.entry-content{
	min-height: 800px;
}

.box-news{
	padding: 0 0.5rem;

}

.box-news h5{
	border: none;
	margin-bottom: 0.5rem;
}

div.box-news:first-of-type h5{
	margin-top:0;
}

.box-news-inner{
	padding: 0.2rem 0.2rem 0.2rem 1rem;
	font-size: small;
}



	
.table-backnumber .box-news-category div{
	display: inline-block;
	margin: 0.2rem 0 0.2rem 0;
	background-color: #eee;
	padding: 0.1rem 0.2rem;
	display: inline-block;
	border-radius: 3px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: middle;
	font-size: small;
}


.box-childpage h3{
    border: 0;
    margin: 0;
    padding: 0;
}

.eye-catch-wrap {
    justify-content: center;
    align-items: center;
    height: 150px;
    overflow: hidden;
}

.toggle-wrap{
	
}

.toggle-button{
	padding: 0.5em 1em;
	text-align: left;
	font-size: large;
	background-color: #fbfbfb;
}

.toggle-content{
	background-color: #ffffee;
}

.toggle-wrap .toggle-content {
transition: all 0.3s ease;
}

.toggle-checkbox:checked ~ .toggle-content {
transition: all 0.3s ease;
}

.toc ol.toc-list, .toc ul.toc-list {
    margin: 0 ;
}

.page-list{
	display: flex;
	flex-wrap: wrap;
}
.page-list > div{
	flex-basis: calc(99.99% / 3 - 2rem);
	margin: 1rem;
}




.box-news-date{
	font-size: small;
	margin-right:0.3rem;
	width:7%;
	white-space: nowrap;
}



.navi-in > ul li{
	width: auto;
	height: auto;
	line-height: normal;
}
.navi-in > ul li a{
	padding: .6rem;
	font-size: .9rem;
}

#navi #menu-global > li{
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	min-width: 13rem;
	margin-left: -1px;
}


/*
.date-tags{
	display: none;
}
*/

.date-tags span{
	font-size: 1rem !important;
}

/*
.admin-bar .date-tags{
	display: block;
}
*/

.type-page .entry-title{
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: .7rem;
}

.type-page .ccpage_title_link{
	border: 1px solid #000;
	border-left-width: 4px;
	padding: .7rem;
	display: flex;
	justify-content: space-between;
	
}
.type-page .ccpage_title_link:after{
	content:"→";
	display: block;
}
.type-page .ccpage_title_link:hover{
	background-color: #e8e8e8;
}

ul.page-numbers{
	width: 100%;
	 list-style: none;
	 border: none;
}

ul.page-numbers li{
	display: inline;
}

li .page-numbers,
li .page-numbers.dots {
 border-radius: 50%;
 border: 0;
 background-color: #eee;
 list-style: none;
 font-size: small;

}

.page-numbers .current {
 background-color: #cfd9e7;
}



.toc{
	border: none;
	background-color: #f5f5f5;
	padding: 1rem 3rem;
}
#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-flyout ul.mega-sub-menu,
#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-megamenu > ul.mega-sub-menu,
#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{
/* 	background: #202020!important; */
}
#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-flyout ul.mega-sub-menu a,
#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-megamenu > ul.mega-sub-menu a{
	color:#FFF!important;
}
#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover{
	text-decoration: underline!important;
}
#mega-menu-navi-header{
	display: flex!important;
	justify-content: space-around!important;
}
#mega-menu-wrap-navi-header #mega-menu-navi-header li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu{
	margin-left: 1rem!important;
}

.log_forms input[type=submit]{
	font-size: 1.5rem;
}
.box-news.box-news-cate{
	width: 50%;
	float: left;
	max-height: 7rem;
}
.box-news.box-news-cate h5{
	margin-top: 0;
}

.entry-content {
    min-height: 300px;
}


.entry-content .history table td,
.entry-content .history table th{
	font-size: small;
}



.box-newslist-search{
	
}

.box-newslist-search input{
	width: 100%;
}

.table-backnumber td{
	border: none !important;
	vertical-align: top !important;
	font-size: 16px !important;
	padding: 10px 2px !important;
}

/*
.table-backnumber tr:nth-child(2n),
.table-backnumber tr:nth-child(2n) td{
	background-color: #eee;
}
*/

.table-backnumber tr{
	border-bottom: 1px solid #ccc;
}

.box-newslist-search button{
	padding: 0.3em 0.8em;
	margin: 0.2em;
}


.table-cmts{
margin:0;	
}

.table-cmts td,
.table-cmts th{
	font-size: small;
}

.icn-new{
	padding: 0.2em 0.5em;
	margin-left: 0.5em;
	color: #c20a0a;
	font-size: small;
}





.box-page-list > div{
	border: 1px solid #d2c8af;
	border-left-width: 4px;
	border-radius: 0.5em;
	padding: .7rem;
	white-space: nowrap;


	border-radius: 0.5em;
}
.box-page-list > div:hover{
	background-color: #fbecec;
}
.box-page-list > div a{
	font-size: 1.2rem;
	font-weight: bold;
}
.child-pages{
	padding-left: 1rem;
}
@media screen and (max-width:768px){
	.page-list{
		display: block;
	}
	.article ul.child-pages{
		padding-left: 2rem;
	}
}






#form2{
position:relative;
margin-bottom:20px;
padding-bottom: 5px;
clear: both
}
.search{
height:50px;
padding:0 10px; 
position:absolute; 
left:0;
top:0; 
border-radius:2px;
outline:0;
}
#sbtn2{
height:45px;
position:absolute; 
right: 10px;/*アイコン左右の位置調整*/
top:0;
background:none;
color:#666;
border:none;
font-size:20px;/*アイコンサイズ*/
pointer-events:none;
}
#sbtn5:hover{
color:#7fbfff;
}

#sidebar .children{
	display: none;
}
#sidebar .current-cat .children{
	display: block;
}

.table-search-result tr td{
	display: block;
	border: none;
	padding: 2rem 1rem;
	border-top: 1px solid #c4c4c4;
	margin-bottom: 0;
}
.table-search-result tr:last-child td{
	border-bottom: 1px solid #c4c4c4;
}	
.table-search-result tr td p{
	margin: 0;
}
table.table-search-result tr:nth-of-type(2n+1){
	background: none;
}





.footer-bottom-logo img{
	height: 80px;
	
}

.wp-block-file__button{
	display: inline-block;
}

/*
.mega-menu-item-has-children > a{
	margin: .3rem 0!important;
}
*/
.mega-menu-grid > .mega-sub-menu{
	padding: 1.5rem 0!important;
}
#mega-menu-wrap-navi-header #mega-menu-navi-header li.mega-menu-item{
	padding: .4rem 0!important;
}


#mega-menu-wrap-navi-header #mega-menu-navi-header > li.mega-menu-item > a.mega-menu-link:hover{
	background: #d9d9d9!important;
	color: #000!important;
}

.footer-bottom-logo .logo-image{
	max-width: 130px;
}

.btn-logout{
/*
	position: absolute;
	top: 20px;
	right: 20px;
*/
	display: inline-block;
	padding: .3rem .7rem;
	border-radius: 4px;
	background: #000;
	color: #fff;
	text-decoration: none;
}

.page-id-943 #main{
	max-width: 60%;
}

.page-id-943 #main #log_forms{
	max-width: 60%;
	margin: auto;
}
.page-id-943 #main #log_forms input[type=submit]{
	max-width: 10rem;
	margin: auto;
	margin-top: 2rem;
	display: block;
	background-color: #000;
	color: #FFF;
	border: none;
	padding: .3rem .7rem;
	border-radius: 4px;
	font-size: 1rem;
}

.box-top-news{
	border: 2px solid #900f00;
    padding: 1rem;
    border-radius: 8px;
}


tr.future .box-news-title a:before{
	content: '[予約] ';
}


.container > .breadcrumb:nth-of-type(n+3) {
  margin-top: 0px !important;
  padding-top:0px !important;
}


.login-wrap{
	margin: auto;
}
.login-submit input[type="submit"]{
    max-width: 10rem;
    margin-left: auto!important;
    margin-right: auto!important;
    margin-top: 2rem;
    display: block;
    background-color: #000;
    color: #FFF;
    border: none;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 1rem;
}


.entry-content ul ul{
	list-style: circle;
}





















/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){


	.menu-image-title-below.menu-image-not-hovered > img, .menu-image-hovered.menu-image-title-below .menu-image-hover-wrapper, .menu-image-title-below .menu-image-hover-wrapper {
	    float: left;
	    width: 30px;
	    margin-right: 5px !important;

	}
	

	.menu-image-title.menu-image-title-above, .menu-image-title.menu-image-title-below {
	    text-align: left !important;
	}


	.sidebar-menu-button{
		display: none;
	}


	.page-list > div{
		flex-basis: calc(50% - 1rem);
		margin: .5rem;
	}
	


	.article ul.child-pages{
		padding-left: 0;
	}
	.article .box-page-list ul.child-pages{
		padding-left: 2rem;
	}

	#navi-menu-content .menu-item-has-children{
		position: relative;
	}
	#navi-menu-content .menu-item-has-children .sub-menu-opener{
		position: absolute;
		display: block;
		right: 0;
		top:0.5rem;
		transition: .4s;
	}
	.mega-menu{
		padding-left: .5rem;
	}
	.mega-menu,
	.mega-menu ul{
		list-style: none;
	}
	.mega-menu a{
		display: block;
		border-bottom: 1px solid #565656;
		padding: .2rem;
		margin: .4rem 0;
	}
	.mega-menu > li > .mega-sub-menu{
		border-left: 3px solid #d8d8d8;
		border-bottom: 3px solid #d8d8d8;
		padding-left: .2rem;
	}
	.mega-menu-grid > .mega-sub-menu{
		padding:0 .3rem!important;
	}
	#navi-menu-content .menu-item-has-children .sub-menu-opener.on{
		transform: rotate(90deg);
	}
	#navi-menu-content .menu-item-has-children .sub-menu{
		display: none;
	}
	#navi-menu-content .sub-menu li:last-child{
		border-bottom: none;
	}
	.mega-sub-menu{
		padding-left: 0;
	}
	.mega-sub-menu .mega-sub-menu{
		padding-left: 0;
	}
	.mega-sub-menu li{
	}
	.mega-menu li{
		padding:0;
	}
	.mega-sub-menu{
		margin: .2rem 0;
	}
	.mega-menu-item > .mega-sub-menu > li,
	.mega-menu-row > .mega-sub-menu > li{
		list-style: none;
	}
	.mega-sub-menu .mega-sub-menu .mega-sub-menu,
	.mega-sub-menu .mega-sub-menu .mega-sub-menu .mega-sub-menu{
		padding-left: .5rem;
	}
	#navi{
		display: none!important;
	}
	#navi-menu-content{
		padding-right: 1rem;
	}
	.mega-menu-toggle{
		display: none;
	}
	.box-news.box-news-cate{
		width: auto;
		float: none;
	}
	
	
		.container-logingate{
		max-width: 50vw;
		margin: auto;
	}
	#table-backnumber td{
		display: inline-block;
		width: auto;
	}
	#table-backnumber td.box-news-title{
		display: block;
		width: 100%;
	}
	#table-backnumber td[style="width:1px;"]{
		display: none;
	}
	.navi-menu-content {
	  left: auto;
	  right: 0;
	  transform: translateX(105%);
	}
	#navi-menu-content{
		background-color: #5b4036;
		padding: 0;
	}
  .mega-menu > li > a{
	  display: flex;
	  justify-content: space-between;
  }
  .mega-menu a{
	  border-bottom-color: rgba(255, 255, 255, 0.2);
	  color: #FFF;
	  padding: .6rem;
  }
  .mega-menu{
	  padding-left: 0;
	  margin: 0;
  }
  .mega-sub-menu{
	  background-color: rgba(255, 255, 255, 0.05);
  }
  .mega-menu .mega-sub-menu a{
	  border-bottom: none;
  }
  .menu-close-button{
	  text-align: right;
	  padding: 0.5rem 1rem;
	  color: #FFF;
  }
  .mega-menu > li.mega-menu-item-has-children > a:hover{
	  text-decoration: none;
  }
   .mega-menu > li.mega-menu-item-has-children > a:after{
	   content:"＋";
	   display: block;
   }
   .mega-menu > li.mega-menu-item-has-children > a.on:after{
	   content:"−";
   }
   .mega-menu > li.mega-menu-item-has-children > ul{
	   display: none;
   }
}


















/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  
	.toc{
		padding: 1rem 1rem;
	}
	.container-logingate{
		max-width: 100vw;
		margin: auto 10px;
	}
  
	.table-backnumber tr td{
		line-height: 1 !important;  
	}
	.logout{
	  top:5px;
	  right: 5px;
	  font-size: .7rem;
	}
		.logo-header img {
    width: 85vw;
    height: auto;
	}
	.page-id-943 #main{
		max-width: 100%;
	}
	.box-top-news{
		margin-bottom: 0;
	}
	.box-top-news .table-backnumber{
		margin-bottom: 0;
	}
	.box-top-news .table-backnumber td{
		padding: 6px 2px!important;
	}
	.page-id-943 #main #log_forms,
	.page-id-943 #main #log_forms input[type=submit]{
		max-width: 100%;
	}
   
   
   
   
   
   
   
   
   
   
   
}
.wp-block-table td, .wp-block-table th {
    border: 1px solid #eee;
}
.wp-block-file .wp-block-file__button {
    background: #32373c;
    border-radius: 2em;
    color: #fff;
    font-size: .8em;
    padding: .5em 1em;
}
.wp-block-file:not(.wp-element-button){
	font-size: 1rem;
}




.article h2 {
    background-color: #f0e3c3;
    border-radius: 2em;
    padding: .5em 1em;
}


/* スマホ時ヘッダー  */
@media screen and (max-width:600px){


header#header{
	background-size: contain;
	background-image:url(/_bosys/wp-content/themes/tcm-child/images/bg_header5b.jpg) !important;
	background-position: right top !important;
	background-repeat: no-repeat !important;
}


.bg-a header#header{
 background-image: url(/_bosys/wp-content/uploads/2025/01/login_bg_2025-scaled.jpeg) !important;
 background-size: cover !important;
}
.bg-a .logo-header{
	border-radius: 50px;
	background-color: #fff;
	margin:10px;
	
}
.bg-a .logo-image{
	padding: 0;
}

.bg-a .logo-header img {
    width: 60vw;
    height: auto;
}



}

