/* CSS Document ======================
Description:基本のスタイル
====================================*/

/* clearfix */
.cf { zoom: 1; }
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }

/* Globals */
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  font: inherit;/*メニューの▼マークの形状に影響するので絶対変えない！*/
}

body {
	background: #fff;
	color: #333;
	font-family: "dejarip-1", "dejarip-2", "Helvetica Neue", Arial, clean, sans-serif;/*メニューの▼マークの形状に影響するので絶対変えない！*/
}

a {
  text-decoration: none;
  color: #408DBB; /*前は#548fa7*/
  }

a:hover {
  text-decoration: underline; }

p {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1em;
  margin-bottom: 0.875em;
  line-height: 1.5;
  font-weight: 300; }

strong {
  font-weight: 700; }

img {
	max-width: 100%;
	height: auto;
	font-size: 0px;
	margin: 0px;
	padding: 0px;
}

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
 共通 およびスマホ・小型タブレット用設定
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/
/*headerの大枠*/
#headerwaku {
	width: 100%;
	background-color: #FFF;
}

/*header内の各要素を入れる枠*/
.hbox {
	max-width: 1080px;
	margin-top: 0px;/*元は-1px*/
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #FFF;
	padding-top: 0;
	padding-right: 1%;/*元は2%*/
	padding-bottom: 0;
	padding-left: 1%;/*元は2%*/
	text-align: center;
}

/*hbox内に入るh1やs-nav(メニュー）の設定*/
.site-title {
  position: relative; }
  
.site-title h1 {
	margin: 0;
	padding-top: 3px;/*元は全て0px*/
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.site-title h1 img {
	width: 90%;
	max-width: 400px;
	height: auto;
	font-size: 0px;
}

.site-title {
  overflow:hidden;
}
.site-title ul#s_nav {
	margin-bottom: 10px;
	position: relative;
	left: 50%;
	float: left;
	list-style-type: none;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin-top: 10px;
}
.site-title ul#s_nav li {
  float:left;
  position:relative;
  left: -50%;
}
.site-title ul#s_nav li a {
	display: block;
	font-size: 0.75em;
	margin-right: 20px;
	padding-left: 20px;
	text-decoration: none;
	padding-top: 2px;
	padding-bottom: 2px;
}
.site-title ul#s_nav li.mail a {
	background: url(/obres/upload/images/mail.gif) no-repeat left center;
	margin-right: 15px;
}
.site-title ul#s_nav li.link a {
  background:url(/obres/upload/images/link.gif) no-repeat left center;
  	margin-right: 15px;
}
.site-title ul#s_nav li.privacy a {
	background: url(/obres/upload/images/privacy.gif) no-repeat left center;
	margin-right: 0px;
}

/*ページ内容が入る枠（コンテナ）*/
.container {
	max-width: 1080px;
	margin-top: 0px;/*元は-1px　divを分けてhboxの上に重なる為0に*/
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 0;
	padding-right: 1%;/*元は2%*/
	padding-bottom: 0;
	padding-left: 1%;/*元は2%*/
	background-color: #FFF;
}

/*コンテナ内　h2*/
.container h2 {
	font-size: 1.75em;
	line-height: 2.5em;
	font-weight: bold;
	margin-top: 5px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3),
    -1px -1px 1px rgba(255, 255, 255, 0.3);
	margin-bottom: 5px;
	padding-left: 15px;
	background-color: #93CDE3;/*もしくは#92C8E4*/
	color: #FFF;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-image: url(img/h2bg.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
  }

/*フッター　およびフッター内メニュー・コピーライトの設定*/
#site-footer {
	overflow: hidden;
	clear: both;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#1A000000,endColorstr=#1A000000); /*rgbaのie8対応*/
	background: rgba(0, 0, 0, 0.075);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.05);
	width: 100%;
	padding-top: 1em;
	padding-right: 0;
	padding-bottom: 1em;
	padding-left: 0;
	position:relative;
	behavior: url("/design/PIE.htc"); /* CSS3 PIE */
}
#site-footer :not(:target){
     filter: none; /*filterをie9で解除しておく*/
}
#site-footer .fbox {
	margin-top: 0;
	max-width: 1080px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
	margin-bottom: 0px;
}
#site-footer li {
	display: none;
}

#site-footer #copy {
	text-align: center;
	margin: 0px;
	padding: 0px;
	width: 100%;
}
#copy p {
	margin: 0px;
	padding: 0px;
	font-size: 0.6875em;
}

/*ページTOPの角丸四角*/
#page-top a {
	display: none;
}

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
 PC向けおよび大型タブレット向けのレイアウトの指定：700px～960px
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/  
@media print, screen and (min-width: 769px) {
  body {
	font-size: 100%;
	background-image: url(img/bg_water.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}

/*headerの大枠*/
#headerwaku {
	width: 100%;
	background-color: #FFF;
	border-bottom-width: 7px;
	border-bottom-style: solid;
	border-bottom-color: #5083A0;
}

/*header－hbox内に入るh1やs-nav(メニュー）の設定*/	
.site-title {
    position:static;
    overflow:visible;
  }
.site-title h1 {
    text-align:left;
    padding:5px 5px 7px 5px;/*元はtop:15px*/
    /*width:400px;*/
    float:left;
  }
.site-title h1 img {
    width:100%;
  }
   
.site-title ul#s_nav {
    float:right;
    margin-top:20px;
    position:static;
  }
.site-title ul#s_nav li {
    float:left;
    position:static;
  }

/*コンテナ内　h2*/
.container h2 {
	font-size: 2.5em;
	line-height: 3.2em;
	font-weight: bold;
	margin-top: 5px;
    text-shadow:
    1px 1px 1px rgba(0, 0, 0, 0.3),
    -1px -1px 1px rgba(255, 255, 255, 0.3);
	margin-bottom: 5px;
	padding-left: 40px;
	background-color: #93CDE3;/*もしくは#92C8E4*/
	color: #FFF;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-image: url(img/h2bg.png);
	background-repeat: no-repeat;
	background-position: left center;
  }

/*フッター　およびフッター内メニュー・コピーライトの設定*/
#site-footer li {
	list-style: none;
	margin: 0;
	float: left;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 20px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.2em;
	font-weight: bold;
	font-size: 0.8125em;
	display: block;
}
#site-footer .fbox .fnav {
	float: left;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#site-footer .fbox .fnav ul li.g_menu {
	float: none;
	font-size: 0.75em;
	background-image: url(img/smap_arrow.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 10px;
	margin-left: 7px;
}
#site-footer .fbox .fnav ul li.g_menu a {
	color: #333;
	text-decoration: none;
}
#site-footer .fbox .fnav ul li.s_menu {
	float: none;
	font-size: 0.6875em;
	font-weight: normal;
	line-height: 1em;
	padding-left: 15px;
}
#site-footer .fbox .fnav ul li.s_menu a {
	color: #333;
	text-decoration: none;
}

#site-footer #copy {
	text-align: right;
	margin: 0px;
	padding: 0px;
	width: 100%;
	clear: both;
}
#copy p {
	margin: 0px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 0px;
}

}

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
 PC用設定：961px～ 
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/
@media all and (min-width: 961px) {
/*header－hbox内に入るs-nav(メニュー）の設定*/	
.site-title ul#s_nav {
    float:right;
    margin-top:20px;
    position:static;
  }
.site-title ul#s_nav li {
    float:left;
    position:static;
  }

.site-title h1 img {
	width: 400px;
}

/*ページTOPの角丸四角*/
#page-top {
	position: fixed;
	bottom: 170px;
	right: 20px;
	font-size: 77%;
}
#page-top a {
	text-decoration: none;
	color: #fff;
	width: 75px;
	padding: 25px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #5083A0;
	background-image: url(img/ptop_bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	behavior: url("/design/PIE.htc"); /* CSS3 PIE */
}
#page-top a:hover {
	text-decoration: none;
	background-color: #A5A5A5;
}

}
