@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/



/* =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, 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 {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;}
img{width:100%; height:auto;}
/* -------------------------------------------------------------- */

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

html{background:#005c98;}


/* リンク設定
------------------------------------------------------------*/
a{color:#005c98;text-decoration:none;}
a:hover{color:#1c1c1c;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

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


/*************
/* ヘッダー
*************/
h1{
font-size:16px;
line-height:2.4;
font-weight:normal;
background:#005c98;
color:#fff;
padding-left:5px;
}

#header{
overflow:hidden;
padding:5px 0 5px;
}

* html #header{height:1%;}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:10px 0 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
font-family:"Noto Sans JP","Palatino Linotype", "Book Antiqua", Palatino,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.logo span{
font-size:12px;
color:#333;
}

.info{
float:right;
padding:12px 0 0;
}

.tel strong{
font-size:20px;
font-weight:bold;
}

.logo1 a{
font-size:20px;
font-weight:bold;
line-height:1;
font-family:"Noto Sans JP","Palatino Linotype", "Book Antiqua", Palatino,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.logo1 span{
font-size:12px;
font-weight:normal;
color:#fff;
}

/**************************
/* トップナビゲーション
**************************/
ul#topnav{
overflow:hidden;
margin:10px 0;
}

* html ul#topnav{height:1%;}

ul#topnav li{
float:left;
text-align:center;
}

ul#topnav a{
width:157px;
font-size:13px;
display:block;
padding:10px 0;
color:#fff;
background:#005c98;
border-top:10px solid #fff;
}

ul#topnav li:first-child a,ul#topnav li:last-child a{width:156px;}

ul#topnav li.active a,ul#topnav a:hover{
border-color:#1c1c1c;
background:#1c1c1c;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:2px auto 2px;
padding:4px;
position:relative;
line-height:0;
background:#005c98;
}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
z-index:100;
background:url(images/tp2.png);
}

.slogan h2{
padding-bottom:5px;
color:#111;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#111;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding:2px 0;
overflow:hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
}

.colDark,.colLight{
padding-bottom:5px;
color:#fff;
background:#1c1c1c;
}

.colLight{background:#005c98;}

.colDark h3,.colLight h3{
margin:10px 10px 5px;
font-size:14px;
font-weight:bold;
}

.colDark a,.colLight a{
display:block;
padding:3px;
border-radius:3px;
color:#fff !important;
background:#005c98;
}

.colLight a{background:#1c1c1c;}

.colLight a:hover,.colDark a:hover{
color:#1c1c1c !important;
background:#cde4ff !important;
}

#sub .grid h3{
padding-left:7px;
font-size:16px;
border-left:4px double #1c1c1c;
}

.grid p{
padding:5px 10px;
}

.grid ul{margin:5px 10px;}

.grid li{
padding:5px 0;
list-style:inside;
border-bottom:1px dashed #ebebeb;
}

.gridWrapper img{
max-width:100%;
height:auto;
}

/* フッター内のグリッド(3カラム) */
#footer .grid{
color:#fff;
background:transparent;
}

#footer .col3 ul{margin:0 0 10px 5px;}

#footer .col3 li{
padding:0 6px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
display:inline-block;
border-right:1px solid #fff;
}


/*************
メイン コンテンツ
*************/
section.content{
margin-bottom:20px;
font-size:14px;
overflow:hidden;
}

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

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

h3.heading{
padding:5px 10px;
margin-bottom:10px;
font-size:16px;
color:#fff;
background:#005c98;
border-radius:3px;
}

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

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

img.frame,#gallery img{
border:4px solid #fff;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .gridWrapper{padding:0;}

#gallery img{
margin:5px;
}

section#gallery{overflow:visible;}

/*************
更新情報
*************/

#new dl {
  padding: 0px 20px;
  margin-bottom: 10px;
  height: 200px;
  overflow-y: scroll;
  white-space: nowrap;
}

/*日付設定*/
#new dt {
  float: left;
  width: 8em;
  letter-spacing: 0.1em;
}

/*記事設定*/
#new dd {
  padding-left: 8em;
  border-bottom: 1px solid #ccc;
  /*下線の幅、線種、色*/
}

/*「NEW」アイコン
---------------------------------------------------------------------------*/
.newicon {
  background: #F00;
  /*背景色*/
  color: #FFF;
  /*文字色*/
  font-size: 70%;
  /*文字サイズ*/
  line-height: 1.5;
  padding: 2px 5px;
  border-radius: 2px;
  margin: 0px 5px;
  vertical-align: text-top;
}

  /*更新情報*/


/*h2タグの設定*/
h2#title2 {
  clear: both;
  margin-bottom: 8px;
  /*見出しの下にとるスペース*/
  font-size: 18px;
  /*文字サイズ*/
  letter-spacing: 0.1em;
  /*文字間隔を少し広くとる設定*/
  color: #fff;
  /*文字色*/
  background: #005c98;
  /*背景色（古いブラウザだとここの色のみが出ます）*/
   padding: 5px 15px;
  /*上下、左右への余白*/
  /*下線の幅、線種、色*/
}

/*h3タグの設定*/
h3#title3 {
  clear: both;
  margin-bottom: 8px;
  /*見出しの下にとるスペース*/
  font-size: 18px;
  /*文字サイズ*/
  background: #005c98;
  /*背景色（古いブラウザだとここの色のみが出ます）*/
  padding: 4px 15px;
  /*上下、左右への余白*/
  color: #fff;
  /*文字色*/
}

/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #1c1c1c;
}

table.table tr:first-child th,table.table tr:first-child td{
border-top:#1c1c1c 4px solid
}

table.table th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#005c98;
}



/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#005c98;
border-top:1px solid #1c1c1c;
}

* html #footer{height:1%;}

#footer a{color:#fff;}
#footer a:hover{color:#fff;}

#footer .copyright{font-size:11px;}






/* PC用 */
@media only screen and (min-width:940px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:690px;
	}
	
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	}
	
	/* グリッド */
	.grid{width:235px;}
	.col2{width:470px;}
	.col3{width:705px;}
	#gallery .grid{width:230px;}
	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	h1 p.inner{padding:0 2%;width:96%}
	#header .logo{padding-left:10px;}
	#header .info{padding-right:10px;}
	
	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0 0 5px;
	border-right:1px solid #1c1c1c;
	 box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav li a{
	width:100%;
	border-top:0;
	}

	ul#topnav li:first-child a,ul#topnav li:last-child a{width:100%;}
	
	.grid{
	width:50%;
	margin:2px 0;
	}
	
	.col2{
	float:none;
	width:100%;
	margin:0 0 20px;
	}
	
	.grid img{
	float:left;
               width:50%;
	margin-right:5px;
	}
	
	#gallery .grid{
	width:31%;
	margin:0 1%;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	}
	
	section.content{padding:0 10px;}
	
	section.content img{
  max-width:90%;
	height:auto;
	}
	
	#sub .grid{padding-bottom:20px;}
	
	#footer{padding:0;}
	
	#footer .grid{
	float:none;
	width:100%;
	margin-bottom:5px;
	text-align:center;
	}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	
	#mainBanner{padding:3px;}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.grid{width:100%;}
	
	.grid img{
	float:none;
                width:64%;
	margin:20px auto 10px;
	}
	
	.grid p{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#footer .grid p{text-align:center;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#header .logo{padding-top:10px;}
  .info{padding:10px 0 0;}
	
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px solid #1c1c1c;
	width:50%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
}


/**************************
/* その他
**************************/

/* 吹き出しLINE */

.line__balloon_l,
.line__balloon_r {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 20px 0;
}
.line__balloon_r {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.line__balloon_img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  width: 15%;
  max-width: 70px;
  border-radius: 50%;
  border: 1px solid rgb(200,200,200);
  background: white;/* アイコン背景色不要ならこの一行削除(PNG画像に配慮) */
}
.line__balloon_img::before {
  content: "";
  display: block;
  padding-top: 100%;
}
/* W150 H150 程度の正方形を推奨 */
.line__balloon_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.line__balloon_l .balloon__content {
  margin: 0 0 0 10px;
}
.line__balloon_r .balloon__content {
  margin: 0 10px 0 0;
}
.line__balloon_name {
  margin: 0 0 -.6em;
  color: rgb(80,80,80);
  font-weight: bold;
  font-size: 13px;/* 名前フォントサイズ */
}
.line__balloon_r .line__balloon_name {
  text-align: right;
}
.line__balloon_text {
  position: relative;
  max-width: 500px;/* 最大横幅 不要ならこの一行削除 */
  margin: .6em 0 0 0 !important;
  padding: .6em 1em;
  border-radius: 25px;
  color: rgb(51,51,51);/* 吹き出し テキスト色 */
  font-size: 16px;/* テキストフォントサイズ */
}
.line__balloon_l .line__balloon_text {
  background: rgb(245,245,245);/* 右吹き出し 背景色 */
}
.line__balloon_r .line__balloon_text {
  background: rgb(133,226,73);/* 左吹き出し 背景色 */
}
.line__balloon_text::before {
  content: "";
  display: block;
  position: absolute;
  height: 35px;
  width: 18px;
  background: 0 0;
  border: 0;
  top: -20px;
}
.line__balloon_l .line__balloon_text::before {
  left: -8px;
  -webkit-box-shadow: inset -3px -15px 0 -5px rgb(245,245,245);
          box-shadow: inset -3px -15px 0 -5px rgb(245,245,245);/* rgb(245,245,245)は左吹き出し背景色と同色 */
  border-radius: 40px 0 0 40px;
}
.line__balloon_r .line__balloon_text::before {
  right: -8px;
  -webkit-box-shadow: inset 3px -15px 0 -5px rgb(133,226,73);
          box-shadow: inset 3px -15px 0 -5px rgb(133,226,73);/* rgb(133,226,73)は右吹き出し背景色と同色 */
  border-radius: 0 40px 40px 0;
}
/* darkmode用 */
@media (prefers-color-scheme: dark) {
  .line__balloon_name {
    color: rgb(180,180,180);
  }
}

/* grid */

.grid1 {
  display: -ms-grid;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: #FFFFCC;
}

.grid1 h2 {
  color: #010079;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 0 5px white;
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: -o-repeating-linear-gradient(135deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}


.grid2 {
  display: -ms-grid;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  background: #FFFFCC;
}

.grid2 h2 {
  color: #010079;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 0 5px white;
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: -o-repeating-linear-gradient(135deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}


.grid3 {
  display: -ms-grid;
  display: grid;
  gap: 8px;
  -ms-grid-columns: 1fr 8px 1fr;
  grid-template-columns: 1fr 1fr;
  background: #FFFFCC;
}

.grid0 {
  display: -ms-grid;
  display: grid;
  width: 100%;
  gap: 8px;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  background: #FFFFCC;
}

.grid4 {
  margin: 20 0 10 0;
  display: -ms-grid;
  display: grid;
  gap: 8px;
  -ms-grid-columns: 2fr 8px 1fr;
  grid-template-columns: 2fr 1fr;
  background: #FFF;
}



/* 見出しのスタイル */

.caption0 {
  margin: 5px 0 2px 0;
  padding: 0 0 0 5px;/*文字の上下 左右の余白*/
  color: #010079;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 0 5px white;
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: -o-repeating-linear-gradient(135deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}


.caption1 {
  margin: 5px 0 5px 0;
  padding: 0 0 0 10px;/*文字の上下 左右の余白*/
  color: #010079;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 0 5px white;
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: -o-repeating-linear-gradient(135deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}

.caption2 {
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  font-size: 16px;
  font-weight: bold;
  color: #494949;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #7db4e6;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
}

.caption3 {
  margin: 10px 0 10px 0;
  background: #005c98;/*背景色*/
  color : #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
}


/* フォント系 */

.font-12 {
    font-size: 12px;
    color: black;
}
.font-14 {
    font-size: 14px;
    color: black;
}
.font-16 {
    font-size: 16px;
    color: black;
}
.font-18 {
    font-size: 18px;
    color: black;
}
.font-20 {
    font-size: 20px;
    color: navy;
}
.font-22 {
    font-size: 22px;
    color: navy;
}
.font-24 {
    font-size: 24px;
    color: navy;
}
.font-bold {
   font-weight: bold;
}
.boxline {
border: solid 3px #6091d3;
}