@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body {
color:#333;
font-size:small;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#2b5e92;text-decoration:none;}
a:hover{color:#5d8ac1;}
a:active, a:focus {outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:20px auto;
padding:0 1%;
width:100%;
position:relative;
background:#fff;
margin-top: 3px;
margin-bottom: 3px;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
height:120px;
border-top: 3px solid blue;
border-bottom: 2px solid blue;
margin-bottom:3px;
}

#header h1{
padding:10px 0 10px;
font-size:12px;
font-weight:normal;
color: #094077;
transition: 0.2s;
}
.hp-logo {
    background-color: #2b5e92; /* 背景色 */
    color: white !important; /* フォントの色を白に設定 */
    padding: 5px 3px; /* 左右のパディングを3pxに設定 */
    margin: 2px; /* 外側の余白をリセット */
    height: 7px; /* 必要に応じて高さを設定 */
    display: flex; /* Flexboxを有効化 */
    align-items: center; /* 上下中央揃え */
	padding-left: 10px !important;
}




/*************
/* ロゴ
*************/
.logo{
float:left;
padding-left: 3px;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
float:right;
text-align:right;
padding-right: 15px;
}

.info .open{font-size:12px;}
.panel li{
	font-size: 13px;
	margin-top: 3px;
}

/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
margin-top:6px;
font-size:20px;
font-weight:bold;
padding-right: 5px;
}

.logo span,.info span{
font-size:16px;
font: weight 3px;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
.indexA {
	display: block;
	max-width:100%;
/* height:auto; */
margin:0 auto ;
width: 965px;
height: 16vw;
object-fit: cover;
}

#mainBanner{
margin:0 auto ;
padding: 0px;
position:relative;
line-height:0;
margin-top: 5px;
margin-bottom: 7px;
}

#mainBanner img{
max-width:100%;
object-fit: cover;
margin:0 auto ;
/* width: 110%; */
height: 100%;
object-fit: cover;
opacity: 0.8;

}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
right:0;
padding:5px 10px;
line-height:1.4;
color:#fff;
}

.slogan h2{
	padding-bottom:5px;
	font-size:15px;
	color:#fff;
	}
	.slogan p{
		padding-bottom:5px;
		font-size:15px;
		color:#fff;
		}
	

.content p{
	font-size: 16px;
}
.wak p span {
	font-size: 0.85rem;
	background-color: #f2eded;

}
.wak p span-1 {
	font-size: 0.85rem;
	background-color: #e30a0a;
	color: #fff;
	border-radius: 10px;
}
.wak p {
	display: inline-block;
	margin-top: 3%;
	margin-bottom: 3%;
	background: #FFFFFF;
	width: 99%;
	height: 100%; /* 修正: 全角％を半角%に変更 */
	border: 2px dotted #CC0000;
	border-radius: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px; /* 修正: 閉じ括弧を削除 */
}
.kyoto p{
margin-left: 15rem;
text-align: center;
}
.wak .onegai{
	font-size: 1rem;
}



/* ==========================
  アコーディオンメニュー
========================== */
.bl_accordion {
	max-width: 99%;	
	margin: 0 auto;
	  background-color: rgb(157, 179, 245);
	  border-radius: 13px;
	  margin-top: 5px;
	  margin-bottom: 15px;
	}
	.md_markList li a{
		color: rgb(17, 15, 15);
		font-size: 1em;
	}
	.md_markList li:hover {
	background-color: #e7f3e6;
	border-radius: 0.5em;
	}
	
	.bl_accordionTitle {
	  font-size: 20px;
	  font-weight: bold;
	  background-image: linear-gradient(150deg, rgb(8, 8, 8) 10%, rgb(42, 41, 41) 40%, rgb(99, 97, 100) 68%, rgb(46, 46, 47) 90%);
	color: rgb(238, 199, 199);
	  padding: 2px 90px 2px 40px;
	  transition: 0.3s;
	  cursor: pointer;
	  position: relative;
	  overflow: hidden;
	  border-radius: 50px;
	  margin: 1px;
	  bottom: 1px;
	}
	.bl_accordionTitle::before {
	  content: "";
	  width: 40px;
	  height: 3px;
	  background-color: rgb(130, 126, 126);
	  position: absolute;
	  top: 50%;
	  transform: translateY(-50%);
	  right: 40px;
	  transition: 0.3s;
	}
	.bl_accordionTitle::after {
	  content: "";
	  width: 3px;
	  height: 40px;
	  background-color: rgb(40, 38, 38);
	  position: absolute;
	  top: 50%;
	  transform: translateY(-50%);
	  right: 59px;
	  transition: 0.3s;
	}
	.bl_accordionTitle.active::after {
	  opacity: 0;
	}
	
	.bl_accordionTitle:hover::after,
	.bl_accordionTitle:hover::before,
	.bl_accordionTitle.active::after,
	.bl_accordionTitle.active::before {
	  background-color: rgb(245, 244, 249);
	}
	.bl_accordionTitle:hover,
	.bl_accordionTitle.active {
	  background-color: #6d2412;
	  color: rgb(253, 253, 253);
	}
	
	.bl_accordionTitle + .bl_accordionContent {
	  display: none;
	  padding: 40px;
	}
	
	.bl_accordionContent > * + * {
	  margin-top: 10px;
	}
	.wak p .onegai{
	background-color:red;
	color: #f0f0f0;
	border-radius: 5px;
}




/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:10px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
background:#2b5e92;
}


/*************
メイン コンテンツ
*************/
section.content article{
padding:20px;
margin-bottom:10px;
border:1px solid #ebebeb;
overflow:hidden;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
/* font-weight:normal; */
font-size: 1.05em;
padding:0 10px;
line-height:30px;
color:#fff;
background:#2b5e92;
border-top:3px solid #5d8ac1;
border-bottom:3px solid #5d8ac1;
border-radius: 7px;
}

p.kasen{
	border-bottom:3px double green;
	padding-bottom: 3px;
}

h3.new{
	background-color: red;
	width: 10%;
	/* color: gold; */
	text-align: center;
	border-radius: 50%;
	font-size: 1.25em;
	filter: drop-shadow(5px 5px rosybrown);
}
h3.new span{
	color: gold;
	-webkit-text-stroke: 1px rgb(0, 4, 255);
	text-stroke: 1px rgb(231, 232, 241);
}

section.content img{
max-width:90%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
margin:5px auto 5px auto;
}

table.table td{
border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
	background-color:#F5F5F5;
	text-align:center;
	padding:8px;
	width: 170px;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-right:4px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #c9a3a3;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
	vertical-align: middle;
	}
	.text {
		text-align: center;
		background-color: #a0f29c;
		border-radius: 7px;
	}


		table.table-youkou th{
			margin-top: 20px;
			border-radius: 5px;
			background-color:#d4d4d4;
			text-align:center;
			padding:0px 5px;
			width: 320px;
			height: 120px;
			color: #151515;
			border-top:1px solid #c3a9a9;
			border-right:4px solid #756868;
			border-bottom:1px solid #D4D4D4;
			border-left:1px solid #D4D4D4;
			font-size:11px;
			font-weight:normal;
			letter-spacing:1px;
			background-repeat:repeat-x;
			background-position:top;
					}


			.listScroll{ 
			margin-top: 15px;
			overflow: scroll;
			height: 300px;
			scroll-behavior: smooth;
			overflow-x: hidden;
			margin-left: auto;
			margin-right: auto;
			white-space: nowrap;
			-webkit-overflow-scrolling: touch;
	 		 } 
	

			h3.heading-y{
			margin-bottom: 5px;
			font-weight:normal;
			width: 98%;
			padding:0 10px 0 10px;
			line-height:36px;
			color:#fff;
			background:#2b5e92;
			border-top:3px solid #5d8ac1;
			border-bottom:3px solid #5d8ac1;
			border-radius: 7px;
			}
			.table-c th{
			background-color:#F5F5F5;
			width: 25%;
			text-align:left;
			font-size: 16px;
			padding:3px 3px 3px 18px;
			color: #111111;
			border-top:1px solid #D4D4D4;
			border-right:4px solid #D4D4D4;
			border-bottom:1px solid #D4D4D4;
			border-left:1px solid #D4D4D4;
			font-weight:normal;
			letter-spacing:1px;
			background-repeat:repeat-x;
			background-position:top;
			vertical-align: middle;
			}
									

			.table-c td{
			background-color:#F5F5F5;
			width: 900px;
			text-align:left;
			font-size: 16px;
			padding:3px 3px 3px 10px;
			color: #0a0a0a;
			border-top:1px solid #D4D4D4;
			border-right:4px solid #D4D4D4;
			border-bottom:1px solid #D4D4D4;
			border-left:1px solid #D4D4D4;
			font-size:15px;
			font-weight:normal;
			letter-spacing:1px;
			background-repeat:repeat-x;
			background-position:top;
			vertical-align: middle;
			}

			.table-link{
			border-top: 1px solid #c9c5c5;
			border-right: 4px solid d4d4d4;
			border-bottom:  1px solid #c9c5c5;
			border-left:1px solid #c9c5c5;
			background-color: rgb(241, 241, 241);
			padding: 10px;
			border-radius: 5px;
			margin: 15px auto;
			max-width: 100;
			width: 100%;
			color: blue;
			font-size: 16px;
			line-height: 1.5em;
			height: 130px;
			overflow: hidden;
			overflow: auto;
			-webkit-overflow-scrolling: touch;
			}

	
/*************Cat************/
.mainBanner-cat {

	border-radius: 50%;
}


.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
right:0;
padding:5px 10px;
line-height:1.4;
color:rgb(56, 38, 38);
}



/*************
お問合せ/* 
*************/
#wrapper table th{
	font-size: 16px;
}

/*************
/* サイドバー
*************/
#sidebar ul{padding:5px;}
a:hover{
border-bottom: 2px solid black;
}
#sidebar li{
margin-bottom:5px;
padding-bottom:5px;
list-style:none;
border-bottom:1px dashed #ebebeb;

}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{
display:block;
font-size: 16px;
}

#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
border:0;
}

ul.list li{height:1%;}
ul.list li img{
float:left;
margin-right:10px;
}

ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
	clear:both;
	color:#fff;
	}
	
	#footer .inner{
	background:#2b5e92;
	overflow:hidden;
	}
	
	* html #footer .inner{height:1%;}
	
	#footer .grid{
	margin:0;
	}
	
	#footer #info .logo, #footer #info .info{float:none;}
	
	#footer #info .info{
	clear:both;
	text-align:left;
	}
	
	#footer .logo{font-size:18px;}
	
	#footer .info .tel,#footer .info .tel span,#footer #info .open{
	font-size:12px;
	}
	
	ul.footnav{
	float:right;
	width:630px;
	padding:10px 0px;
	}
	

	ul.footnav li{
	float:left;
	margin-bottom:10px;
	padding:0 7px 0 8px;
	font-size:11px;	
	border-right:1px solid #b6b6b6;
	}
	
	#footer a{color:#fff;}
	#footer a:hover{color:rgb(51, 202, 14);}
	
	address{
	clear:both;
	padding:5px;
	text-align:center;
	font-style:normal;
	font-size:12px;
	color:#333;
	}
	

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:159px;
	padding:10px 0;
	color:#333;
	background:#f1f1f1;
	border-left:1px solid #ebebeb;
	}
	
	nav#mainNav ul li.last a{width:158px;border-right:1px solid #ebebeb;}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a,nav#mainNav li.active a:hover{
	color:#fff;
  background:#2b5e92;
	border-color:#2b5e92;
	}
	
	nav#mainNav li a:hover{
	color:#fff;
	background:#5d8ac1;
	border-color:#5d8ac1;
	}
	
	#main{
	float:right;
	width:680px;
	padding:15px 0 0 0;
	}
	
	#sidebar{
	float:left;
	width:250px;
	padding:15px 0 0 0;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:990px;
	margin:0 0 0 -30px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:30px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
	
	#footer .inner{
	width:940px;
	padding:10px;
	}
}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	#header{padding:0 10px;}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#2b5e92;}

	nav div.panel{float:none;}
	
	#mainBanner{margin-top:20px;}
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer.logo,#footer .info{
	width:100%;
	float:none;
	}

}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:20px;
	}
	
	#header h1,.logo,.info{text-align:center;}
	
	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	margin:0;
	}
	
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
	#sidebar p{text-align:center;}
}

/* スクロールコンテナ */
.scroll-container {
	overflow: hidden;
	height: 50px; /* 必要に応じて調整 */
	position: relative;
}

.scroll-container p {
	position: absolute;
	animation: scroll-up 10s linear infinite;
}

@keyframes scroll-up {
	0% {
		top: 100%;
	}
	100% {
		top: -100%;
	}
}