/*====================================================================================================
  SUBPAGE
====================================================================================================*/
#subpage { margin: 0 auto; padding:40px 0 150px; width: 96%; max-width:1000px; transition:.3s;}
@media only screen and (max-width:800px){
	#subpage { padding:10% 0 !important;}
}


/*---------------------------------------------------------------------------
  PAGE TITLE
---------------------------------------------------------------------------*/
h1.sb_tit {
	display: block;
	position: relative;
	background:url("../img/tit_bg.jpg") no-repeat center center;
	background-size: cover;
}
h1.sb_tit span.txt {
	margin:0 auto;  padding:50px 0 70px;
	display:block; width: 96%; max-width:1000px;
	font-size:200%;
	text-align:center;
	color: #fff;
	line-height:100%;
}
h1.sb_tit span.tuna {
	display: block;
	position: absolute; left: 0; bottom: 0;
	width: 100%; height: 25px;
	background: url("../img/line_tuna.png") repeat-x top center;
	background-size:auto 30px;   
	text-indent: -9999px;
}
@media only screen and (max-width:800px){
	h1.sb_tit span.txt { padding:30px 0 40px; font-size:137%;}
	h1.sb_tit span.tuna { height: 15px; background-size:auto 20px;}
}

/*---------------------------------------------------------------------------
  PAN
---------------------------------------------------------------------------*/
.pan { display:block; margin:20px auto;  width: 96%; max-width:1000px;overflow: hidden;}
.pan ul { float:left; padding: 10px; font-size:87.5%; color:#333;}
.pan ul li { display:inline;}
.pan ul li .home {
}
.pan ul li a { color:#333 !important; }
.pan ul li a:hover { color:#333; text-decoration: underline;}
.pan .data { float: right; padding: 10px 15px; color:#333;}
@media only screen and (max-width:800px){
	.pan ul { display: none; }
	.pan .data { float: none; text-align: center;}
}


/*---------------------------------------------------------------------------
  LIST
---------------------------------------------------------------------------*/
#subpage .list {}
#subpage .list p a {
	position: relative;
	display:block;
	padding:20px;
	font-size:112.5%;
	color:#444;
	text-decoration:none;
	background: url("../img/arrow_b.png") no-repeat 98% center;
	background-size: 15px auto;
}
#subpage .list p:nth-child(odd) { background-color:rgba(228,245,252,0.50);}
@media only screen and (min-width:800px){
	#subpage .list p a:hover { color:#376fa6; background: url("../img/arrow_s.png") no-repeat 98% center; background-size: 15px auto;}
}
@media only screen and (max-width:800px){
	#subpage .list p a {
		position: relative;
		padding:15px 30px 15px 15px;
		font-size:100%;
	}
}


/*---------------------------------------------------------------------------
  MIDASHI
---------------------------------------------------------------------------*/
#subpage h2 {
	position: relative;
	clear:both;
	margin:20px 0 20px;
	padding:20px;
	font-size:150%;
	font-family: 'Kiwi Maru', serif;
	color:#376fa6;
	background:url("../img/icon_maru.png") no-repeat left center;
	background-size: 15px auto;
	border-bottom: 3px solid #376fa6;
}
#subpage h3 {
	position: relative;
	clear:both;
	margin:40px 0 20px;
	padding:15px 20px 15px 20px;
	font-size:125%;
	font-family: 'M PLUS 1', sans-serif;
	color: #fff;
	background:#6bb1db;
	border-radius: 10px;
}
#subpage h4 {
	clear:both; position: relative;
	margin:40px 0 20px;
	padding:0 0;
	font-size:112.5%;
	font-family: 'M PLUS 1', sans-serif;
	color:#376fa6;
}


/*---------------------------------------------------------------------------
  COMMENT
---------------------------------------------------------------------------*/
#subpage .comment { margin:0 0 40px;}


/*---------------------------------------------------------------------------
  PHOTO
---------------------------------------------------------------------------*/
#subpage .photo { margin-bottom: 5px; max-width:360px; text-align:center;}
#subpage .photo .pic { margin-bottom: 5px; max-width: 360px; text-align:center;}
#subpage .photo .cap { font-size:80%; text-align:center;}
#subpage .photo .cap + .pic {  margin-top: 20px;}
#subpage .photo .pic img { width: auto; max-width: 100%;}
#subpage .photo.pic_l { float: left; margin-right: 20px;}
#subpage .photo.pic_r { float: right; margin-left: 20px;}
#subpage .photo.pic_c { float: none; width: 100%; max-width:100%;}
@media only screen and (max-width:800px){
	#subpage .photo,
	#subpage .photo .pic { width: 100%; max-width:100%;}
	#subpage .photo.pic_l,
	#subpage .photo.pic_r,
	#subpage .photo.pic_c { float: none; margin:0 0 20px; }
}
	

/*---------------------------------------------------------------------------
  LIST
---------------------------------------------------------------------------*/
#subpage ul { clear:both;}
#subpage ul li { position:relative; padding-left: 25px; background: url("../img/list_arrow.png") no-repeat left 10px;}
#subpage ol { clear:both; padding-left: 23px;}
#subpage ol li { padding-left:4px; list-style-type: decimal;}


/*---------------------------------------------------------------------------
  HYOU
---------------------------------------------------------------------------*/
#subpage table { 
	margin:10px 0;
	border:1px solid #ddd;
	border-collapse:collapse;
}
#subpage table th,
#subpage table td {
	padding:7px 15px;
	border:1px solid #ddd;
}
#subpage table th { text-align: left; font-weight: normal; background:#f6f6f6;}


/*---------------------------------------------------------------------------
  LINK
---------------------------------------------------------------------------*/
#subpage .icon-pdf,
#subpage .icon-word,
#subpage .icon-excel,
#subpage .icon-link { 
	position: relative; 
	padding: 5px 0 5px 25px;
	display: flex;		/* ctn add */
}
#subpage .icon-pdf { background: url(../img/icon-pdf.jpg) no-repeat left 10px;}
#subpage .icon-word { background: url(../img/icon-word.jpg) no-repeat left 10px;}
#subpage .icon-excel { background: url(../img/icon-excel.jpg) no-repeat left 10px;}
#subpage .icon-link { 
	background:url("../img/arrow_b.png") no-repeat left center;
	background-size: 12px auto;
}


/*---------------------------------------------------------------------------
  BOX
---------------------------------------------------------------------------*/

/* BOX1 */
#subpage .box1 { clear:both; margin:0 0 40px; overflow: hidden;}
#subpage .box1 .comment { margin:0;}

/* BOX2 */
#subpage .box2 { clear:both; margin:0 0 40px; padding:30px; border:1px solid #ddd; border-radius:5px; overflow: hidden;}
#subpage .box2 h3 { clear: none; margin: 10px 0 20px; padding: 0 0 15px; border: none; overflow: hidden; background: none;}
#subpage .box2 .comment { margin:0; }

/* BOX3 */
#subpage .box3 { clear:both; margin:0 0 40px; padding:30px; background:#f9f8f4; border-radius:5px; overflow: hidden;}
#subpage .box3 .comment { margin:0;}

/* BOX4 */
#subpage .box4 { float: left; margin:0 1% 40px; padding:30px; width:48%; background:#f9f8f4; border-radius:5px; overflow: hidden;}
#subpage .box4 h4 { margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid #ddd;}
#subpage .box4 .come { margin:0 0 20px;}
#subpage .box4 .photo { margin:0 0 20px;}
#subpage .box4 .photo img { width: auto; max-width: 100%; height: auto;}
#subpage .box4 .btn a {
	display:block; position: relative;
	padding:10px;
	font-size:112.5%;
	color:#fff;
	text-align:center;
	text-decoration:none;
	background:#005ca3 url("../img/arrow_w.png") no-repeat  98% center;
	background-size: 15px auto;
	border-radius:5px;
	transition:.3s;
	 box-shadow: 2px 2px  0 2px  rgba(0,0,0,0.07);
}
#subpage .box4 .btn a:hover { opacity: 0.5; }
@media only screen and (max-width:800px){
	#subpage .box2 {  padding:20px;}
	#subpage .box2 h3 { margin: 0px 0 20px; }
	#subpage .box3 { padding:20px;}
	#subpage .box4 { float:none; margin:0 auto 40px; padding:20px; width:96%;}
}

/*---------------------------------------------------------------------------
  CONTACT
---------------------------------------------------------------------------*/
#subpage .contact { margin:20px 0; padding: 25px; background: #f9f8f4; overflow:hidden;}
#subpage .contact .come { float: left; width: calc(100% - 245px);}
#subpage .contact .b_link { float: right; width: 225px;}
#subpage .contact .b_link a {
	display: block;
	padding: 10px 15px;
	color: #fff;
	text-decoration:none;
	text-align: center;
	background:#005ca3;
	 box-shadow: 2px 2px  0 2px  rgba(0,0,0,0.07);
	border: 1px solid #ddd;
	border-radius:10px;
	overflow: hidden;
	box-sizing: border-box;
}
@media only screen and (max-width:800px){
	#subpage .contact .come,
	#subpage .contact .b_link { float:none; width:100%;}
	#subpage .contact .b_link { margin-top: 15px;}
}


/*---------------------------------------------------------------------------
  NEWS LIST
---------------------------------------------------------------------------*/
#subpage .news_list { clear: both;}
#subpage .news_list ul,
#subpage .news_list ul li { margin: 0; padding: 0; list-style: none; background:none;}
#subpage .news_list ul { padding:10px; overflow: hidden;}
#subpage .news_list ul:nth-child(odd) { background:rgba(228,245,252,0.50);}
#subpage .news_list ul li { float: left;}
#subpage .news_list ul li:nth-child(1) { width: 165px; line-height:25px; text-align: center;}
#subpage .news_list ul li:nth-child(2) { width: 95px; line-height:25px; text-align: center; color: #2276be; font-size: 87.5%; border: 1px solid #2276be; background: #fff;}
#subpage .news_list ul li:nth-child(3) { width:calc( 100% - 280px ); float: right;}
#subpage .news_list ul li:nth-child(2) { width: 95px;}
#subpage .news_list ul li a {
	display: block; padding-right: 40px;
	color: #2276be;
	background: url("../img/arrow_s.png") no-repeat 98% center;
	background-size: 15px auto;
}
@media only screen and (min-width:800px){
	#subpage .news_list ul li a:hover { opacity: 0.7; }
}
@media only screen and (max-width:800px){
	#subpage .news_list { clear: both; padding:15px; margin: auto; width: 96%; border-radius: 10px;}
	#subpage .news_list ul { padding:20px; overflow: hidden;}
	#subpage .news_list ul li:nth-child(1) { text-align: left;}
	#subpage .news_list ul li:nth-child(3) { float: none; clear: both; width:100%;}
	#subpage .news_list ul li:nth-child(2) { width: 95px;}
	#subpage .news_list ul li a { padding-right:0; background: none; }	
}


/* ctn add */
/*---------------------------------------------------------------------------
  life
---------------------------------------------------------------------------*/
#subpage .list_box ul li {
	display: inline;
	white-space: nowrap;
	margin-right: 1.25em;

}

#subpage .data {
	float: right; 
	padding: 10px 15px; 
	color:#333;
}

/* PDF adobereader */
#subpage .pdf_download {
	clear: both;
	margin: 1em 0;
	padding: 0.8em;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}

/*---------------------------------------------------------------------------
  koho
---------------------------------------------------------------------------*/
#subpage .koho ul li::before {
	display:none;
}
#subpage .koho ul li {
	display: inline-block;
	background: no-repeat;
}

#subpage .koho ul li a {
	color:#FFF;
	background:none;
	padding:0.5em 1em;
	margin-left:0.5em;
	margin-bottom:5px;
	background-color:#376fa6;
	border-radius:25px;
	text-align:center;
	text-decoration:none;
	display:block;
}

#subpage .koho ul li a:hover {
	opacity:0.8;
}

#subpage .koho .updata {
	text-align:right;
	padding: 0 0.5em;
}

#subpage .koho .kohoimg {
	text-align: center;
	padding: 1em;
}

#subpage .koho .kohofile {
	padding: 0 1em;
}

#subpage .koho .kohobox {
	width: 47.5%;
	display: inline-block;
	vertical-align: top;
	padding-bottom: 1em;
}
#subpage .koho .kohobox:nth-of-type(2n) {
	margin-left: 5%;
}

@media only screen and (max-width:800px){
	#subpage .koho .kohobox {
		width: 95%;
		display: block;
		margin: 0 auto !important;
	}

	#subpage .koho .kohofile {
		padding: 0 0.5em;
	}

	#subpage .koho ul li {
		float: none;
		padding: 0;
		width: 49%;
	}

	#subpage .koho ul li a {
		margin-bottom: 0.8em;
	}
}

/*---------------------------------------------------------------------------
  mida
---------------------------------------------------------------------------*/
#subpage table td.mida {
	text-align: left;
	font-weight: normal;
	background: #f6f6f6;
}


/*---------------------------------------------------------------------------
  important
---------------------------------------------------------------------------*/
.important {
	background-color: #dd3a3a;
	color: #ffffff;
	font-size: 80%;
	padding: 0.3em;
}

/* 2023/03/10 ADD */
#subpage .dsptable{
	overflow-y:hidden !important;
}


#subpage a.imglink{
}

#subpage a.imglink::after{
	background-image:url("/common/img/linkimg.png");
	background-position:right bottom;
	background-repeat:no-repeat;
	content:"";
	position:absolute;
	width:151px;
	height:27px;
	bottom:0px;
	right:0px;
}

#subpage a.imglink_other::after{
	background-image:url("/common/img/linkimg_other.png");
	background-position:right bottom;
	background-repeat:no-repeat;
	content:"";
	position:absolute;
	width:151px;
	height:27px;
	bottom:0px;
	right:0px;
}

	


#subpage .image_right{
	float:right;
	margin:3px;
	position: relative;
	max-width:100%;
}
#subpage .image_left{
	float:left;
	margin:3px;
	position: relative;
	max-width:100%;
}
#subpage .image_center{
	text-align:center;
	margin:3px;
	position: relative;
	max-width:100%;
}

#subpage .image_right img,
#subpage .image_left img,
#subpage .image_center img{
	max-width:100%;
}

#subpage .catglist li {
	border-bottom:2px dotted #CCC;
	padding-bottom:0.2em;
}
#subpage .catglist .box {
	width:46%;
	float:left;
	margin-left:2%;
	margin-right:2%;
}

@media only screen and (max-width:800px){
	#subpage .catglist .box {
		width:96%;
		float:none;
	}


}


/* モーダルウィンドウ */
#modal {
	display:none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	background-color: #FFF;
	border:1px solid #000;
	border-radius: 5px;
	z-index: 11;
	padding: 2rem;
	overflow-y:scroll;
}
#modal .modalbtn{
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100%;
	z-index: 10;
}


.youtubesm {
	float:left;
}