@charset "shift_JIS";
/* CSS Document */



* { 
margin: 0;
 padding: 0;
  border: 0;
   list-style: none; 
   }
* {
  box-sizing: border-box;/*はみ出しや余白のズレ防止*/
}
p {
	padding-top: 2px;
	padding-bottom: 4px;
	
	width:90%;
	margin:0 auto;
	text-align:left;
	font-size:16px;
	line-height:28px;

}

a {
	color: #0090EC;
	text-decoration: none;
} 
/*a:visited {
	color: #F46A00;
	text-decoration: none;
} */
a:hover {
	color: #E1001C;
} 
a:active {
　　color: #CC0066; 
} 



.photo {
	border: 10px solid #FFF;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	box-shadow:1px 1px 4px #ccc;
	-moz-box-shadow:1px 1px 4px #ccc;
	-webkit-box-shadow:1px 1px 4px #ccc;
}

/*---------------------------------------------------------
  						clearfix
---------------------------------------------------------*/
.clearfix:after {
    content: "."; 
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
.clea{
	clear:both;	
	}
* html .clearfix {
    height: 1px;
    /*?*//*/
    height: auto;
    overflow: hidden;
    /**/
}



h1 {

}
h1 img {

  max-height: 63px; /* タイトル画像の高さ */
    max-width: 323px;
    height: auto;
    width: 100%;

}




h2 {
	width:98%;
	margin:0 auto;
	font-size: 36px;
	margin-top: 1em;
	background-image: url("../img/h2_bg.png"),url("../img/h2_bg02.png");
	background-repeat:no-repeat,repeat-x;
    background-position: bottom left,bottom left;
    height: 60px;
	padding-left:50px;
	margin-bottom:30px;
	text-align: left;
	text-shadow: 1px 1px 3px #666;
	/*文字縁取り*/
text-shadow: 
    white 2px 0px 0px, white -2px 0px 0px,
    white 0px -2px 0px, white 0px 2px 0px,
    white 2px 2px 0px, white -2px 2px 0px,
    white 2px -2px 0px, white -2px -2px 0px,
   white 1px 2px 0px, white -1px 2px 0px,
    white 1px -2px 0px, white -1px -2px 0px,
    white 2px 1px 0px, white -2px 1px 0px,
    white 2px -1px 0px, white -2px -1px 0px,
    white 1px 1px 0px, white -1px 1px 0px,
    white 1px -1px 0px, white -1px -1px 0px;/*文字縁取り*/
	color: #996c33;	
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-style: normal;
	/**box-shadow:0 0 8px #CCC;*/
}



h3 {
	width:90%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	/*color: #67210D;*/
	font-size: 22px;
	color: #666;
		/*文字縁取り
text-shadow: 
    white 2px 0px 0px, white -2px 0px 0px,
    white 0px -2px 0px, white 0px 2px 0px,
    white 2px 2px 0px, white -2px 2px 0px,
    white 2px -2px 0px, white -2px -2px 0px,
   white 1px 2px 0px, white -1px 2px 0px,
    white 1px -2px 0px, white -1px -2px 0px,
    white 2px 1px 0px, white -2px 1px 0px,
    white 2px -1px 0px, white -2px -1px 0px,
    white 1px 1px 0px, white -1px 1px 0px,
    white 1px -1px 0px, white -1px -1px 0px;
	color: #963;	/*文字縁取り*/
/*	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #963;
	padding-left:10px;*/
}


h4 {
	text-align: left;
	font-size: 20px;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 10px;
}

img {
	vertical-align: bottom;
	border: 0px;

}

strong {
    font-weight: 800;
    font-family:"Zen Maru Gothic", sans-serif;
}

main a:hover img {
	opacity: 0.7;
	-moz-opacity:0.7; 
	filter: alpha(opacity=70);
	zoom: 1;
}




/*ページ構成*/
html,body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	width: 100%;
	text-align: center;
	font-family:"Zen Maru Gothic", sans-serif; 'Noto Sans JP',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 18px;
	color: #564235;
	font-weight:300;
	

}


#system_main {
	width: 100%;
	text-align: left;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;


}



header {
	/*height: auto;*/
	height:200px;
	min-width:1200px;
	width: 100%;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	background-image: url("../img/header_top00.png"),url("../img/header_bg01.png");
	background-position: center top,center top;
	background-repeat: repeat-x, repeat-x;
		
/*background-size: contain,;*/
  top: 0;
  /* z-index: 1000; 他の要素より前面に出す */
  background-color: white; /* 背景色を指定して透けないように */
    
}
#headerbox {
	max-width: 1100px;
    width: 100%;
	margin-left: auto;
	margin-right: auto;

 display: flex;
   margin-top: 50px;
      align-items: center;   /* 縦位置を揃える */
  justify-content: space-between; /* 左右に配置 */
    background-image: url("../img/header_i.png");
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 100%;        /* 高さに合わせて縮尺 */
}


#mainnav{
flex: 1; /* ヘッダー内で残り幅を広く取る / text-align: center; / 中央寄せ */
    font-family:"Zen Maru Gothic", sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-right: 60px;
    max-width: 650px;
}
#mainnav ul {
  display: flex;
  gap: 20px;
  list-style: none;
    justify-content: center;
    flex-wrap: nowrap; /* 折り返しを禁止 */
    background-image: url("../img/button_bg.png");
    border-radius: 15px;
    min-height: 77px;
    height: auto;
    margin: 5px;
}
#mainnav ul li{
     list-style: none; 
    margin-top: 25px;
}
#mainnav a {
  font-size: 20px;
  color: #fff;  white-space: nowrap;     /* 文字を一行に固定 */
}
#mainnav a:hover{border-bottom: dotted;border-bottom-width: 5px;}



/* スマホ用：h1とキャラを上段、navを下段 */
@media screen and (max-width: 768px) {
  #headerbox {
    display: block;/* flex解除 */
    text-align: center;
    background-position: right top; /* 右上に配置 */
    background-size: 80px auto; /* 幅80pxに固定して小さく表示 */
  }
  h1 {
    margin-bottom: 10px; /* h1を上段に */
      text-align: left;
      width: 80%;
      margin-left: 1em;
  }
  
#mainnav{
    max-width: 760px;
    margin: 0 auto;
    width: 95%;
    }
  #mainnav ul {
    display: flex;
    flex-wrap: wrap;        /* 折り返しを許可 */
    justify-content: flex-start; /* 左寄せ */
    gap: 10px;
    list-style: none;
    padding: 0;
      padding-bottom: 1em;
           width: 90%;
    margin: 0 auto;
  }

  #mainnav li {
  flex: 1 1 30%;          /* 各リンクを幅30%にして3列構成 */
  min-width: 100px;       /* 最小幅を確保 */
  box-sizing: border-box; /* 幅計算を安定させる */
      margin-top: 10px;
  }
}
@media screen and (max-width: 480px) {
     #headerbox {

    background-size: 60px auto; /* 幅80pxに固定して小さく表示 */
  }
#mainnav ul {
  gap: 0;
       padding-bottom: 1em;
    margin-top: 0;
 

    }
  #mainnav li {
  flex: 1 1 45%;          /* 各リンクを幅45%にして2列構成 */
  min-width: 100px;       /* 最小幅を確保 */
  box-sizing: border-box; /* 幅計算を安定させる */
      margin-top: 5px;
      padding-bottom: 0;
      
  } 
    .main{
        padding-top: 1em;
    }
}
/* スマホ用：h1とキャラを上段、navを下段 */


.main{

	width:100%;
	margin:0 auto;
	overflow: hidden;
	/*margin-top:650px;*/
    padding-bottom: 1.5em;
     	min-width:1200px;
	width: 100%; 
	
}



/* 1番目 */
.main_wrap_bg01 {
    background-image: url("../img/nami_bg.png"),url("../img/bg.png");
    background-repeat: repeat-x,repeat;
    background-position: top,bottom;
width: 100%;
    margin-bottom: 0;
    overflow:hidden;

}

/* 2番目 */

.main_wrap_bg02 {
    background-image: url("../img/nami_bg01.png");
    background-repeat:repeat-x;
        background-position: top;
    width: 100%;
        background-color: #fff;
        margin-top: 0;
    overflow:hidden;

}


.main_wrap {
	text-align: left;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	/*display: block;
	clear: both;*/
	margin:0 auto;
    margin-top: 1em;
    margin-bottom: 3em;
    max-width: 1200px;
    width: 100%;
    margin-left:0 auto;
    margin-right: 0 auto;
}




footer {
	text-align: center;
	background-image: url("../img/footer_bg.png"),url("../img/nami_bg.png"),url("../img/bg.png");
	background-repeat:repeat-x,repeat-x,repeat;
	background-position:center bottom,center top,center top;
	height:250px;
    padding: 0;
    	min-width:1200px;
	width: 100%;
 	
}

footer .copy_r {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* ← 下端に寄せる */
  align-items: center;
    margin: 0;
}
footer .copy_r img {

  max-width: 432px;
  max-height: 42px;
    width: 90%;
    height: auto;
    margin-bottom: 0;
	}

.pagetop {
	text-align: right;
	margin-right: auto;
	margin-left: auto;
	max-width: 1200px;
	width:90%;
	bottom:0;
	margin-top:0;
	
}
.pagetop img{
	width:66px;
	height:64px;
}
.pagetop  a:hover img{
    opacity: 0.5;
}
.bg1 {

	padding-top: 0px;
	padding-bottom: 40px;
	background-image:url(../img/bg.png);
	

}
/**/
table{
	border:1px solid #666;
}
table th,table td{
	border:1px solid #666;
	padding:10px;
}

ul,ul li{
	list-style-type: disc;
}
ol,ol li{
	list-style-type: decimal;
}
/**/

#mainbox {
	width:calc(1200px - 10px);
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	/*padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
	border-radius: 30px;
	box-shadow:#CCC 0 0 15px;*/
	margin-top:20px;
margin-bottom: 20px;

}
.title{
	position:absolute;
	left:20px;
	top:-30px;
}
/*------- トップ --------*/
#photo_wrap{
    margin-top: 3em;
    	margin-bottom: 50px;
	

    text-align: center;
    
}
#photo_wrap img{
    max-width: 800px;
    max-height: auto;
    width: 100%;
    border-radius: 15px;
}
/*---施設---*/
#shisetu_wrap{
    display: flex;
    gap:20px;flex-wrap: wrap; /* ← これを追加 */
}
#shisetu_wrap .item {
    flex: 1 1 calc(50% - 20px); /* 2枚並び */
    text-align: center;
}

#shisetu_wrap .item:nth-child(3) {
    flex: 1 1 100%;      /* ← 3枚目は1段使う */
    max-width: 50%;      /* ← 幅を半分にして中央寄せ */
    margin: 0 auto;      /* ← 中央に配置 */
}
/*
#shisetu_wrap .item {
	  flex: 1;             均等に幅を分ける 
  text-align: center;  中央揃え
    width: 45%;

} */
#shisetu_wrap .item img{
      border-radius:15px;
	padding:5px;
	width:100%;
  aspect-ratio: 4 / 3;   /* 横:縦の比率を指定 */
  object-fit: cover;     /* 枠に収めて切り抜き */
    box-sizing: border-box; /* ← 枠線やパディングを含めて幅を計算 */
  border: 2px solid #f9b700;
	margin:0 auto;
	background-color: #FFF;  
}
#shisetu_wrap .item p{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    font-family:"Zen Maru Gothic", sans-serif;
}
/*---経歴----*/
#history {
	margin-bottom: 50px;
	
	border-radius:15px;
	padding:15px;
	width:95%;
    box-sizing: border-box; /* ← 枠線やパディングを含めて幅を計算 */
  border: 2px solid #f9b700;
	margin:0 auto;
	background-color: #FFF;

}
#history ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#history li {
    display: flex;
   /* justify-content: space-between;  左右に分ける */
    align-items: center;
    padding: 8px 12px;
    border-bottom: 2px dashed #ccc;
    font-size: 16px;
    gap: 1.5em; /*隙間*/
}
#history li:last-child {
  border-bottom: none;   /* 点線を消す */
  margin-bottom: 5px;    /* 下の余白を狭める */
  padding-bottom: 5px;   /* 内側の余白も調整 */
}
#history ul li time{
	color:#963;
white-space: nowrap; /* 折り返し防止 */
}
/*---概要---*/
.gaiyo{
    width: 90%;
    margin: 0 auto;
    
	margin-bottom: 50px;
	
	border-radius:15px;
	padding:15px;
	width:95%;
	margin:0 auto;
	background-color: rgba(255, 255, 255, 0.8);/*80%*/
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2); /* ←影を追加 */

}
.gaiyo ul {
  list-style: none;
  padding: 0;
  margin: 0;
    text-align: left;
}

.gaiyo li {
      border-bottom: 2px dashed #ccc;
      display: flex;
  align-items: flex-start; /* ← 上揃えに変更 */
    margin-bottom: 1.5em;padding-bottom: 1em;
}
.gaiyo ul li h3 {
  width: 30%;   /* 見出しの幅を固定 */
  flex-shrink: 0; /* 幅を縮めない */
    font-family:"Zen Maru Gothic", sans-serif;
}
.gaiyo li b{
 font-family:"Zen Maru Gothic", sans-serif;
    font-weight: 800;
}
.gaiyo ul li p {
  flex: 1;        /* 残りの幅を使う */
}
.gaiyo li:last-child {
  border-bottom: none;   /* 点線を消す */
  margin-bottom: 5px;    /* 下の余白を狭める */
  padding-bottom: 5px;   /* 内側の余白も調整 */
}
/* 星アイコンを疑似要素で表示 */
.message-box li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: #f4a460; /* 星の色（サンド系） */
  font-size: 18px;
}
/*-------情報公開-------*/

#joho {
	margin-bottom: 50px;
	
	border-radius:15px;
	padding:15px;
	width:95%;
    box-sizing: border-box; /* ← 枠線やパディングを含めて幅を計算 */
  border: 2px solid #f9b700;
	margin:0 auto;
	background-color: #FFF;

}
#joho ul {
  list-style: none;
  padding: 0;
  margin: 0;
    text-align: left;
}

#joho li {
  list-style: none;
    padding: 8px 12px;
    border-bottom: 2px dashed #ccc;
    font-size: 20px;
    gap: 1.5em; /*隙間*/
     font-family:"Zen Maru Gothic", sans-serif;
    font-weight: 600;
}
#joho li a{
    color: #777;
}
#joho li a:hover{
    opacity: 0.5;
}
#joho li:last-child {
  border-bottom: none;   /* 点線を消す */
  margin-bottom: 5px;    /* 下の余白を狭める */
  padding-bottom: 5px;   /* 内側の余白も調整 */
}
/*---職員募集---*/
.job{
    width: 90%;
    margin: 0 auto;
    
	margin-bottom: 50px;
	
	border-radius:15px;
	padding:15px;
	width:95%;
  
	margin:0 auto;
	background-color: rgba(255, 255, 255, 0.8);/*80%*/
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2); /* ←影を追加 */

}
.job ul {
  list-style: none;
  padding: 0;
  margin: 0;
    text-align: left;
}

.job li {
  list-style: none;
    padding: 8px 12px;
    border-bottom: 2px dashed #ccc;
    font-size: 20px;
    gap: 1.5em; /*隙間*/
     font-family:"Zen Maru Gothic", sans-serif;
    font-weight: 600;
        color: #888;
}

.job li a{
    color: #888;
}
.job li a:hover{opacity: 0.5;
}
.job li:last-child {
  border-bottom: none;   /* 点線を消す */
  margin-bottom: 5px;    /* 下の余白を狭める */
  padding-bottom: 5px;   /* 内側の余白も調整 */
}

/**/




.flex {
display:-webkit-box;
display:-moz-box;
display:-ms-box;
display:-webkit-flexbox;
display:-moz-flexbox;
display:-ms-flexbox;
display:-webkit-flex;
display:-moz-flex;
display:-ms-flex;
display:flex;
-webkit-box-lines:multiple;
-moz-box-lines:multiple;
-webkit-flex-wrap:wrap;
-moz-flex-wrap:wrap;
-ms-flex-wrap:wrap;
flex-wrap:wrap;
}




/*---------↑photoarea↑-----------*/

@media screen and (max-width:768px){

header,footer,main, #mainnav ul, #system_main,#topside {
	width: 100%;
	height:auto;	
}





header {
		min-width:0;
		max-width:768px;
	/*height: auto;	height:150px;*/

	width: 100%;
	text-align: center;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
    background-color: #fff;

z-index:100;
  top: 0;
  /*z-index: 1000;  他の要素より前面に出す */
  background-color: white; /* 背景色を指定して透けないように */
}



#system_main {

}
#headerbox {
	width: 99%;
	height:auto;
}
	
#headerbox02{
	display: none;
}	
    footer{
        background-size: contain,contain,auto;
        	height:150px;

    }
/**/
#main_wrap{
  padding: 0 15px;
    
    margin-bottom: 0;
}
.main{

	margin:0 auto;
	overflow: hidden;
	/*margin-top:650px;*/
    padding-bottom: 1.5em;
     	min-width: 0;
    max-width: 768px;
	width: 100%; 
	
}
/**/
footer {
	text-align: center;
	background-image: url("../img/footer_bg.png"),url("../img/nami_bg.png"),url("../img/bg.png");
	background-repeat:repeat-x,repeat-x,repeat;
	background-position:center bottom,center top,center top;
	height:219px;
    padding: 0;
    	min-width:0;
    max-width: 768px;
	width: 100%;
 	
}



/**/
	/*スマホ用*/
#mini{
	display: inherit;
}/*PC用*/
#big{
	display:none;
}

/**		



h1 {
	width:70%;
    text-align: left;


}*/
h1 img {
	margin-top:20px;
	width:70%;
    margin-bottom: 1em;

}



	

/**/

h2 {
    font-size: 22px;
    padding-top: 0.5em;

}



.title{
	text-align:left;
		top:10px;
}
.title img{
	width:80%;
	left:0px;
	top:0px;


}






#main {
	margin-top: auto;
	margin-bottom: auto;
	/*padding-bottom: 150px;*/
	width:100%;
    margin: 0 auto;
}


#mainnav  {
	position:relative;

	}
 .sp-nav {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: center;     /* 中央揃え（必要なら） */
    padding-top: 60px;       /* 上部余白（ハンバーガー分） */

  }
    /**/

    /**/

  .sp-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px; /* ボタン間の余白 */
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .sp-nav ul li {
    width: 80%; /* ボタンの幅（中央揃えしやすく） */
    text-align: center;
    list-style: none;
    border-bottom-style: dotted;
    border-bottom-width: 2px;
    border-color: #9A8116;

  }

  .sp-nav ul li img {
    width: 100%;
    height: auto;
  }



/**/
/**/

	
#mainbox {
	max-width:748px;
	padding-left:10px;
	padding-right:10px;

	border-radius: 0px;
	width:95%;
}
    #shisetu_wrap {
        flex-direction: column; /* 縦並びに切り替え */
    }
    #shisetu_wrap .item {
        width: 95%; /* 横幅いっぱいに */
        margin: 0 auto;   flex: none; /* ← これ重要！ */
    }
    /* 3枚目の特別指定をリセット */
    #shisetu_wrap .item:nth-child(3) {
        max-width: 100%;
        flex: none;
    }



header {
    min-width: inherit;
	/*height: auto;
	width: 90%;
	text-align: center;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;*/


}	

/**/
#mainbox {
	width:100%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	border-radius: 0px;
	box-shadow:#CCC 0 0 15px;
	box-shadow:none;
}	

	


	
	
	
#mainnav  {
	/*width: auto;
	
	margin-bottom:30px;*/
	}
	
	



}
@media screen and (max-width:480px){
    #shisetu_wrap .item p{
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family:"Zen Maru Gothic", sans-serif;
}
.gaiyo li {
      border-bottom: 2px dashed #ccc;
    display: inherit;
  align-items: flex-start; /* ← 上揃えに変更 */
    margin-bottom: 1.5em;padding-bottom: 1em;
}
.gaiyo ul li h3 {
  width: inherit;   /* 見出しの幅を固定 */
  flex-shrink: 0; /* 幅を縮めない */
    font-family:"Zen Maru Gothic", sans-serif;
    text-align: left;
    font-size: 20px;
} 
    .gaiyo ul li p{
        width: inherit;
    }
}
