@import url('https://fonts.googleapis.com/css2?family=Kaisei+Opti&family=Noto+Sans+JP:wght@300&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

.msg {
	background-color: rgba(216,200,101,0.2);
	padding:0px 0 20px;
	margin: 40px auto 50px;
}
.msg p {
	font-size: 1.2em;
}

.topCnt {
	display: block;
	width: 1000px;
	margin: 0px auto 0px;
	height:auto;
}

.news {
	width: 460px;
	float: left;
	padding: 20px;
}

.news a {
	text-decoration: none;
}
.news a:hover {
	opacity: 0.9;
	transition: all .5s;
}
.news2 {
	width: 960px;
	padding: 20px;
}
.news2 iframe {
	height:auto;
	max-height: 550px;
}

@media screen and (min-width: 769px) and (max-width: 1000px){
.topCnt {
	display: flex;
	width: 98%;
	margin: 0px auto 0px;
	height:auto;
}
.news {
	width: 90%;
	float: none;
	margin: 0 auto;
}
.news2 {
	width: 90%;
	margin: 0 auto 0px;
	height: 400px;
}
.news2 iframe {
	height:auto;
	max-height: 300px;
}

}

@media screen and (max-width: 768px){
.topCnt {
	width: 98%;
	margin: 0px auto 0px;
	height:auto;
}
.news {
	width: 90%;
	float: none;
	margin: 0px auto;
}
.news2 {
	width: 90%;
	margin: 0px auto;
}
.news2 iframe {
	height:auto;
	max-height: 300px;
}
	
}




/*新着情報・掲示板*/

.newsBox h1 {
	padding: 2px 10px;
	background: #F2F0EB;
	font-weight: bold;
	font-size: 0.9em;
	color: #5B391B;
}
	
ul#newsList{
	margin:0 0 15px;
	padding:0;

}
ul#newsList li{
	margin-bottom:3px;
	padding: 8px 5px;
	border-bottom: dashed 1px #929d9e;
	list-style-type:none;
	font-size: 0.9em;
}

ul#newsList li div {
	display: table;
	line-height:1.4;
}
#newsList li span {
	display: table-cell;
}
#newsList li span.up_ymd {
	white-space: nowrap;
	padding-right: .5em;
}
#newsList li span.catName {
	white-space: nowrap;
	width: 5.5em;
	padding-right: 1em;
}
#newsList li span.catName i {
	display:inline-block;
	width: 100%;
	text-align: center;
	padding:4px 0px;
	border-radius:6px;
	font-size:11px;
	font-weight: bold;
	line-height:100%;
	margin:0 2px;
	color: #fff;
}
#newsList li.cat-0 span.catName i {
	background: #FF5C5E;
}
#newsList li.cat-1 span.catName i {
	background: #55A51C;
}
#newsList li.cat-2 span.catName i {
	background: #FF7900;
}
#newsList li.cat-3 span.catName i {
	background: #0095C3;
}
#newsList li.cat-4 span.catName i {
	background: #ff0000;
}

#newsList li span.title {
	padding-right: 10px;
}

.newMark {
	display: inline-block;
	background: #ff0000;
	padding: 1px 8px;
	color: #fff;
	font-size: 12px;
	border-radius:8px;
	font-weight: bold;
}

	
@media screen and (max-width: 768px) {
	
	ul#newsList{
		margin:0 5px 15px;
	}
	ul#newsList li{
		padding: 8px 10px;
		font-size: 1em;
	}
	#newsList li span {
		display: block;
	}
	#newsList li span.up_ymd {
		float: left;
	}
	#newsList li span.title {
		clear: both;
		display: inline-block;
		margin-top: 3px;
	}
	
}


/*タブ表示バージョン*/
/*タブ切り替え全体のスタイル*/
.tabs {
  background-color: #fff;
  /*box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);*/
  width: 100%;
  height: 200px;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/1);
  height: 50px;
  background-color: var(--point-color);
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  display: block;
  text-align: center;
  /*font-weight: bold;*/
  transition: all 0.2s ease;
}

.tab_item:hover {
  /*opacity: 0.75;*/
	cursor: pointer;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 20px 20px 10px;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#news_content,
#saiyo_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #3366CC;
  color: #fff;
}

/*borderが四角から伸びて枠線になる
アニメーション*/
.moveline {
    display: inline-block;
    position: relative;
	width: 100%;
}

.moveline img:hover {
	opacity: 0.75;
	transition: all 1.5s ease; 
} 

.moveline::after,
.moveline::before,
.moveline-vertical::after,
.moveline-vertical::before {
    content: '';
    position: absolute;
    z-index: 5;                /* レイヤーの重ね順 */
    background-color: var(--key-color);
	/* background-color: #000;  線色 */
    transition: all 1.5s ease;   /* アニメーション時間 */
}

/* .moveline::after は横幅0px、高さ1pxで、左上の位置に配置されます */
.moveline::after {
    width: 0px;
    height: 2px;
    top: -2px;
    left: -2px;
}

/* .moveline-vertical::after は横幅1px、高さ0pxで、左下に配置されます */
.moveline-vertical::after {
    width: 2px;
    height: 0px;
    left: -2px;
    bottom: -2px;
}

/* .moveline::before の要素は横幅0px、高さ1pxで、右下の位置に配置されます */
.moveline::before {
    width: 0px;
    height: 2px;
    right: -2px;
    bottom: -2px;
}

/* .moveline-vertical::before の要素は横幅1px、高さ0pxで、右上の位置に配置されます */
.moveline-vertical::before {
    width: 2px;
    height: 0px;
    top: -2px;
    right: -2px;
}

/* .movelineクラスの要素がホバーされた時に横幅が100% + 1pxになります */
.moveline:hover::after,
.moveline:hover::before {
    width: calc(100% + 2px);
}

/* .movelineクラスの要素がホバーされた時に高さが100% + 1pxになります */
.moveline:hover .moveline-vertical::after,
.moveline:hover .moveline-vertical::before {
    height: calc(100% + 2px);
}



/* =======================================
    ここからだけで良い？？
======================================= */

/* clearfix */
.clearfix:after { content:"."; display:block; clear:both; height:0; visibility:hidden; }
.clearfix { display:inline-block; }

/* for macIE \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }

a{color:#36F;text-decoration:underline;}
a:hover{color:#039;text-decoration:none;}


/*--------------------------------------------------
	お知らせ詳細
---------------------------------------------------*/

#up_ymd{
	text-align:right;
	font-size:13px;
	margin:5px 10px;
}
.detailUpfile{
	margin:5px 0 35px;
	text-align:center;
}
.backORcloseBtn{
	text-align:center;
	line-height:100%;
	margin-top:15px;
}
.backORcloseBtn a{
	display:inline-block;
	padding:4px 15px;
	border:1px solid #aaa;
	color:#999;
	border-radius:6px;
	text-decoration:none;
	font-size:12px;
}
.detailUpfile img{
	max-width:100%;
	height:auto;
}
.pNav{
	font-size:11px;	
}

