/*
Theme Name: 北海道 海の学校
Author: Homepage Builder
Author URI: https://www.justsystems.com/jp/links/hpb/creator.html?p=hpb22_wp_hpbdash
Description: このテーマは「JustSystems Homepage Builder Version 22.0.5.0 for Windows」によって作成されました。サイト名は「北海道 海の学校」、サイトの公開日時は「2026年01月07日01:15」です。
License: 
License URI: license.txt
*/

/* for IE8, IE7, IE6 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{
	display: block;
}
body{
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 80%;
	font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'Osaka', sans-serif;
	color: #614431; /* 標準文字色 */
	background-color: #FDF1DE;
	background-image: url(img/bg_body.png);
}
img{
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
}
p, ol, ul, li, h1, h2, h3, h4, h5{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/

#hpb-container{
	background-image: url(img/bg_grobal-header.jpg);
	background-repeat: repeat-x;
	background-position: center top;
}
#hpb-grobal-header{
	width: 975px;
	margin-right: auto;
	margin-left: auto;
}
#hpb-header-main h1{
	background-image: url(img/logo_3d-1.png);
	background-repeat: no-repeat;
	height: 90px;
	width: 500px;
}
#hpb-header-main h1 a{
	height: 90px;
	width: 500px;
	display:block;
	text-indent:-9999px;
}
#hpb-header-main #hpb-site-desc{
	font-size: 12px;
	font-weight: normal;
	height: 44px;
	width:500px;
}
#hpb-header-extra1{
	background-image: url(img/bg_hpb-header-extra1.png);
	background-repeat: no-repeat;
	height: 60px;
	padding-left: 150px;
	padding-top: 30px;
	position: absolute;
	top: 0px;
	margin-left: 500px;
	width: 320px;
}
#hpb-header-extra1 p{
	margin: 0px;
	font-size: 14px;
}

#hpb-header-extra1 p.address{
	display:block;
	font-size:0.9em;
}

#hpb-inner{
	width: 975px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom:20px;
	position:relative;
}
.home #hpb-content{
	margin-bottom: 0;
	float:right;
}

#hpb-content{
	margin-bottom: 0;
	float:right;
	width:648px;
}

#hpb-content #hpb-main{
	float: right;
	width: 608px;
	padding-right: 20px;
	padding-left: 20px;
}
/*--------------------------------------------------------
  サイドバーメニュー設定
--------------------------------------------------------*/


aside{
	float: left;
	width: 291px;
	margin-bottom: 20px;
	margin-top: 0;
}

.home aside{
	margin-top: 310px;
}

#ie6 .home aside,
#ie7 .home aside,
#ie8 .home aside{
	margin-top: 310px;
}

aside .widget_search{
	background-image: url(img/bg_widget-search.png);
	background-repeat: no-repeat;
	height: 84px;
	width: 261px;
	padding-top: 105px;
	padding-left: 30px;
	background-position: center top;
	margin-bottom: 5px;
}
aside #hpb-sidebar-main-nav, aside #hpb-sidebar-sub-nav{
	display: none;
}
/*--------------------------------------------------------
  ナビゲーションデザイン設定
--------------------------------------------------------*/

/* ナビゲーション */
#hpb-main-nav ul{
	display: block;
	height: 36px;
	list-style-type: none;
	text-align: left;
	margin: 0;
	padding-top: 0;
	padding-right: 2px;
	padding-bottom: 0;
	padding-left: 2px;
	background-repeat: no-repeat;
	background-position: left center;
}
#hpb-main-nav li{
	float: left;
	z-index: 100;
}
#hpb-main-nav ul li{
	background-repeat: no-repeat;
	background-position: right center;
}
#ie6 #hpb-main-nav li, #ie7 #hpb-main-nav li{
	position: relative;
}

#hpb-main-nav ul .sub-menu{
	display: none;
	border-radius: 3px;
	position: absolute;
	margin-top: 34px;
	padding-top: 2px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0;
	z-index: 200;
	height: auto;
	background-color: #EBDECB;
	background-image: none;
	filter:alpha(opacity=75); /*IE*/
	-moz-opacity:0.75; /*FF*/
	opacity:0.75;
}
#hpb-main-nav ul .sub-menu ul{
	margin-top: 0;
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0;
}
#ie6 #hpb-main-nav ul .sub-menu, #ie7 #hpb-main-nav ul .sub-menu{
	left: 0;
	position: absolute;
}
#ie6 #hpb-main-nav ul .sub-menu a, #ie7 #hpb-main-nav ul .sub-menu a{
	width: 10em;
}
#hpb-main-nav ul .sub-menu li a{
	display: block;
	height: auto;
	padding-bottom: 8px;
	line-height: 1.4;
}
#hpb-main-nav ul .sub-menu li a:hover{
	text-decoration: underline;
	background-image: none;
}
#hpb-main-nav ul li:hover .sub-menu{
	display: block;
	box-shadow: 0 0 10px rgba( 0, 0, 0, 0.15 );
}
#hpb-main-nav ul li:hover .sub-menu a{
	display: block;
	box-shadow: 0 0 10px rgba( 0, 0, 0, 0.15 );
}
#hpb-main-nav ul li:hover .sub-menu a:hover{
	border-radius: 3px;
}
#hpb-main-nav ul ul li{
	float: none;
	border-radius: 3px;
	background-image: none;
}
#hpb-main-nav ul ul a{
	float: none;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}
#hpb-main-nav li a{
	display: block;
	float: left;
	padding-left: 18px;
	padding-right: 18px;
	line-height: 30px;
	height: 30px;
	font-weight: bold;
}
#hpb-main-nav a:link, #hpb-main-nav a:visited{
	color: #333;
	text-decoration: none;
	padding-bottom: 20px;
}
#hpb-main-nav a:hover, #hpb-main-nav .current_page_item a{
	color: #333;
	background-image: url(img/bg_mannavi_hover.png);
	background-repeat: no-repeat;
	background-position: center bottom;
}
#hpb-main-nav .current_page_item .sub-menu a{
	background-image: none;
}
#hpb-main-nav a:hover{
	text-decoration: underline;
}
/* パンくずリスト　*/
div#hpb-breadcrumb-list{
	width: auto;
	bottom: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-image: url(img/bg_breadcrumb.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin-left: 15px;
	padding-left: 20px;
	clear: both;
}
#hpb-breadcrumb-list div{
	display: inline;
}
/*--------------------------------------------------------
  基本パーツデザイン設定
--------------------------------------------------------*/
/* リンク文字色 */
a:link, a:visited{
	color: #3a3a3a; /* 標準文字色 */
	text-decoration: none;
}
a:hover, a:active{
	color: #ff6699;
	text-decoration: none;
}
#hpb-skip{
	/* ヘッダースキップの非表示 */
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-indent: -9999px;
}
p{
	margin-bottom: 1.5em;
	padding-right: 0.1em;
	padding-left: 0.1em;
	line-height: 1.4;
	text-align: left;
}
.xx-small{
	font-size: 0.75em;
}
.x-small{
	font-size: 0.8em;
}
.small{
	font-size: 0.9em;
}
.medium{
	font-size: 1em;
}
.large{
	font-size: 1.2em;
}
.x-large{
	font-size: 1.5em;
}
.xx-large{
	font-size: 2em;
}
p.indent{
	padding-left: 5px;
}
hr{
	width: 100%;
	height: 1px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	clear: both;
	border-top-width: 1px;
	border-top-style: none;
	border-right-width: 1px;
	border-right-style: none;
	border-left-width: 1px;
	border-left-style: none;
	color: #ffffff;
	border-bottom-width: 1px;
	border-bottom-style: none;
}
#hpb-title h2{
	background-image: url(img/bg_h2.png);
	background-repeat: no-repeat;
	background-position:left bottom;
	width: 560px;
	clear: both;
	color: #FFF;
	padding-top: 13px;
	padding-bottom:14px;
	padding-left: 68px;
	padding-right:20px;
	margin-right: -20px;
	margin-left: -20px;
	margin-bottom: 43px;
	font-size: 18px;
}
#hpb-title h2{
	margin-right: 0px;
	margin-left: auto;
}
.home #hpb-title h2{
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
}
#hpb-title h2 a{
	color: #FFF;
	}
#hpb-main h2{
	color: #614431;
	background-color: #D6C9BE;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #553924;
	padding-top: 4px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
	font-size: 16px;
	font-weight: normal;
	margin-bottom: 20px;
	margin-right: -20px;
	margin-left: -20px;
}
#hpb-main h3{
	background-image: url(img/bg_h3.png);
	background-repeat: no-repeat;
	width: 570px;
	padding-left: 40px;
	color: #614431;
	margin-bottom: 27px;
	margin-right: -20px;
	margin-left: -20px;
	padding-right:40px;
	padding-top:5px;
	padding-bottom:5px;
	background-position:left bottom;
}
#hpb-content .hpb-postinfo{
	clear: both;
}
h3.hpb-c-index{
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-indent: -9999px;
	background: none;
}
#hpb-main h4{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 1em;
	margin-left: 0;
	padding: 10px;
	text-align: left;
	font-size: 1.15em;
	line-height: 1.2;
	clear: both;
	background-image: url(img/bg_h4.png);
	background-repeat: no-repeat;
	background-position: left center;
}
#hpb-main h5{
	margin-top: 0;
	margin-bottom: 1em;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	text-align: left;
	font-size: 1.08em;
	line-height: 1.2;
	color: #333333;
	clear: both;
}
#hpb-main h6{
	font-size: 1em;
}
#page-content ul li{
	list-style-type: square;
	margin-bottom: 10px;
	padding-bottom: 5px;
}
#page-content ol li{
	padding-left: 5px;
	margin-bottom: 10px;
	padding-bottom: 5px;
	list-style-type: decimal;
	list-style-position: inside;
}
#hpb-content blockquote p:last-child{
	background-image: url(img/bg_blockquote_end.png);
	background-repeat: no-repeat;
	background-position: 480px bottom;
	padding-bottom: 40px;
}
#hpb-content blockquote p{
	padding-right: 60px;
	padding-left: 60px;
}
#hpb-content blockquote{
	background-image: url(img/bg_blockquote.png);
	background-position: 10px 10px;
	background-repeat: no-repeat;
	background-color: #FDF8DF;
	border: 1px solid #FCE6C5;
	border-radius: 6px;
	padding-top: 40px;
}
table{
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: 0;
	border-collapse: collapse;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #cccccc;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #cccccc;
}
table th{
	padding-top: 8px;
	padding-right: 15px;
	padding-bottom: 8px;
	padding-left: 8px;
	text-align: left;
	background-color: #D6C9BE;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #cccccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	color: #614431;
}
table td{
	padding-top: 8px;
	padding-right: 15px;
	padding-bottom: 8px;
	padding-left: 8px;
	text-align: left;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #D6C9BE;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D6C9BE;
}
/* フォームパーツ設定 */
input.button{
	margin-top: 10px;
	margin-bottom: 15px;
}
textarea{
	width: 400px;
	height: 200px;
}
input.l{
	width: 400px;
}
input.m{
	width: 250px;
}
input.s{
	width: 150px;
}
/* メインコンテンツ内基本パーツ */
.home #hpb-title{
    background-position: center bottom;
    clear: both;
    margin-left: -330px;
    margin-right: -10px;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    width: 975px;
}
#hpb-title{
    background-position: center bottom;
    clear: both;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    width: 645px;
}
.hpb-viewtype-date dl{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	zoom: 100%;
}
.hpb-viewtype-date dt{
	float: left;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	text-align: left;
	line-height: 16px;
	min-height: 16px;
	font-weight: bold;
	width: 150px !important;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 10px;
	color: #14A8CD;
}
.hpb-viewtype-date dd{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0px;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	text-align: left;
	line-height: 16px;
	min-height: 16px;
	padding-left: 160px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #494038;
}

#ie6 .hpb-viewtype-date dd,
#ie7 .hpb-viewtype-date dd{
	padding-left:0;
}

.hpb-viewtype-date dd a{
	display: block;
}
.hpb-viewtype-date dl::after{
	content: ".";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}
#hpb-main .hpb-postinfo{
	text-align: right;
	margin: 0;
}
#hpb-main .hpb-pagenation{
	clear: both;
}
#hpb-main .hpb-pagenation .hpb-oldpage{
	float: left;
}
#hpb-main .hpb-pagenation .hpb-newpage{
	float: right;
}
#hpb-main .hpb-pagenation::after{
	content: ".";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}
#hpb-main .alignleft{
	margin-top: 5px;
	margin-right: 20px;
	margin-bottom: 10px;
	float: left;
}
#hpb-main .alignright{
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 20px;
	float: right;
}
#hpb-main .aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	margin-bottom: 10px;
}
#hpb-main div.hpb-more-entry{
	border-bottom: none;
	border-left: none;
	border-top: none;
	border-right: none;
	text-align: right;
	padding: 0;
}
#hpb-main div.hpb-more-entry a{
	border-bottom: none;
	border-left: none;
	border-top: none;
	border-right: none;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	text-align: right;
}
#pagetop{
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	text-align: right;
}
#pagetop a{
	/* ページの先頭へのリンク設定 */
	display: block;
	margin-left: auto;
	width: 105px;
	height: 20px;
	overflow: hidden;
	background-position: top left;
	background-repeat: no-repeat;
	text-align: left;
	text-indent: -9999px;
}
/* トップページ デザイン定義 */
.home #hpb-title h2{
	margin-top: 0;
	overflow: hidden;
	text-indent: -9999px;
	width: 975px;
	background-position: center top;
	background-repeat: no-repeat;
	height: 265px;
}
.home #hpb-title h2 a{
	color: #000000;
}
.home #hpb-title h2 a{
	width: 975px;
	height: 265px;
	background-image : url(img/top-image_txt.png);
	background-size: cover;
	display: block;
}

div#toppage-topics{
	margin-bottom: 30px;
}
/* 投稿内の画像サイズ定義 */
img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img{
	max-width: 97.5%;
	width: auto;
	height: auto;
}
.wp-caption, .wp-caption-text{
	text-align: center;
}
aside .widgettitle{
	color: #FFF;
	background-image: url(img/bg_widgettitle.png);
	background-repeat: no-repeat;
	height: 40px;
	width: 228px;
	padding-top: 18px;
	font-size: 16px;
	margin-bottom: 10px;
	padding-left: 63px;
}
.widget ul{
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 35px;
	width: 280px;
}
.widget ul li{
	background-image: url(img/icon_widget_li.png);
	background-repeat: no-repeat;
	background-position: left center;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #494038;
	padding-left: 16px;
	padding-top: 7px;
	padding-bottom: 7px;
}
/*--------------------------------------------------------
  ウィジェットデザイン設定
--------------------------------------------------------*/

/* カレンダー */
.widget_calendar div{
	padding-left: 10px;
	padding-right: 10px;
}
.widget_calendar caption{
	border-radius: 3px;
	margin-bottom: 3px;
}
.widget_calendar table{
	width: 100%;
	border-collapse: collapse;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
	table-layout: fixed;
}
.widget_calendar table td, .widget_calendar table th{
	background-color: inherit;
	padding: 0;
	text-align: center;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}
.widget_calendar table th{
	color: #FFF;
	background-color: #4A4139;
}
.widget_calendar table td{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #78685A;
	padding-top: 3px;
	padding-bottom: 3px;
}
.widget_calendar #today{
	background-color: #e7e7e7;
	border-radius: 5px;
}
.widget_calendar tbody a{
	color: #14A8CD;
	padding-left: 3px;
	padding-right: 3px;
	border-radius: 5px;
	text-decoration: underline;
}
.widget_calendar #prev{
	padding-top: 7px;
	text-align: left;
}
.widget_calendar #next{
	padding-top: 7px;
	text-align: right;
}
/* 検索 */
aside .widget_search div{
	background-color: transparent;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}
.widget_search #s{
	width: 165px;
	margin-right: 8px;
	padding-top: 6px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	border: 1px solid #271301;
}
#searchsubmit{
	border-radius: 5px;
	height: 23px;
	width: 46px;
}
.widget_search label{
	display: none;
}
/* テキスト */
.textwidget{
	padding: 5px 10px;
}
/* タグ */
.widget_tag_cloud .tagcloud{
	padding: 10px 10px;
}
.widget_tag_cloud .tagcloud a{
	color: #14A8CD;
	text-decoration: underline;
	padding: 5px 10px 3px;
	border-radius: 3px;
	display: inline-block;
}
.widget_tag_cloud .tagcloud a:visited{
	color: #666666; /* 標準文字色 */
	text-decoration: none;
}
.widget_tag_cloud .tagcloud a:hover, .widget_tag_cloud .tagcloud a:active{
	color: #666666;
	text-decoration: underline;
}
.widget_recent_entries a, .widget_archive a, .widget_categories a{
	display: block;
}
#hpb-content #hpb-main .hpb_social,  #hpb-content #hpb-main .hpb_social div{
	padding-bottom:0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	border-style: none;
}
#hpb-content #hpb-main .hpb_social div{
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	margin-bottom: 5px;
}
/*--------------------------------------------------------
  フッター
--------------------------------------------------------*/
#hpb-global-footer{
	clear: both;
	background-image: url(img/bg_footer.png);
	background-position: center center;
	height: 55px;
	color: #FFF;
	text-align: center;
	padding-top: 10px;
	width: 975px;
	margin-right: auto;
	margin-left: auto;
}
#hpb-global-footer #hpb-sub-nav h3{
	display: none;
}
/* フッター内パーツ */

/* コピーライト文字設定 */

#hpb-footer-main{
	position:absolute;
	bottom:20px;
	width:975px;
	bottom:5px;
	color:FFF!important;
}

#hpb-footer-main p{
	margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
	text-align: center;

}
#hpb-footer-main .hpb-copyright{
	font-size: 0.8em;
	color:FFF;
}
footer nav ul{
	/*margin-bottom: 16px;*/
	list-style-type: none;
    margin: 0 10px;
    padding: 3px 0 0;
    text-align: center;
}
/* フッターナビ設定 */
footer nav ul li:first-child{
    border-left: medium none;
}
footer nav li{
	display: inline;
	padding-right: 10px;
	padding-left: 10px;
	border-left:1px solid #fff;
}
footer nav li a:link, footer nav li a:visited{
	text-decoration: underline;
}
footer nav .menu li a:link, footer nav .menu li a:visited{
	color: #FFFFFF;
}
footer nav li a:hover{
	text-decoration: none;
}
footer a:link, footer a:visited{
	text-decoration: none;
}
/*--------------------------------------------------------
  カスタム投稿一覧
--------------------------------------------------------*/

/* viewtype : content */
#hpb-main .hpb-viewtype-content dt{
	float: none;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
	border-bottom-width: 1px;
}
#hpb-main .hpb-viewtype-content dd{
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
	margin-bottom: 10px;
}

.hpb-viewtype-simple article, .hpb-viewtype-thumbnail article, .hpb-viewtype-full article{
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #cccccc;
	margin-bottom: 20px;
}
.hpb-wp-login{
	margin-top: -1em;
	padding-right: 15px;
	text-align: right;
}
footer .hpb-wp-login a{
	color: #fff;
}
#nav-below .screen-reader-text,
#hpb-pagenation .screen-reader-text{
    height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-indent: -9999px;
}
/*--------------------------------------------------------
  メディアクエリ
--------------------------------------------------------*/

@media (max-width:480px) {
	body,
	#hpb-container,
	#hpb-grobal-header,
	#hpb-global-footer,
	#hpb-inner,
	#hpb-content,
	#hpb-main,
	.home #hpb-title,
	#hpb-header-main,
	#hpb-content h2{
		width: auto;
	}
	body{
		min-width: 320px;
	}
/* ヘッダー */
	#hpb-grobal-header{
		background-image: url(img/bg_grobal-header.jpg);
		margin-top: -1px;
		padding-top: 1px;
		padding-left: 10px;
		padding-right: 10px;
		height: auto;
	}

	.home #hpb-grobal-header{
		height: auto;
		max-height: none;
	}
	#hpb-header-main h1 a{
		 width: auto;
	}
	#hpb-header-main{
		width: auto;
		float: none;
	}
	#hpb-header-main h1{
		margin-top: 5px;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		width:auto;
		height: 100%;
		background-size: contain;
		background-repeat:no-repeat;
	}
	#hpb-header-main h2#hpb-site-desc{
		width: auto;
		margin-left: 0;
		margin-top:-10px;
		top: -35px;
		font-size:0.8em;
		height: auto;
	}
	#hpb-header-extra1{
		background-image: none;
		text-align: left;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0;
		margin-bottom: 10px;
		height: auto;
		width: auto;
		padding-top: 0;
		padding-left:0px;
		padding-right: 0;
		position: static;
	}
	#hpb-header-extra1 p{
		display: inline;
		font-size:0.8em;
	}
	#hpb-header-extra1 p.address{
		font-size:0.8em;
	}
	#hpb-breadcrumb-list div{
		background-position: 0 0;
	}
	#hpb-main-nav,
	#hpb-sub-nav{
		display: none;
	}
	#hpb-main-nav ul,
	#hpb-sidebar-main-nav ul{
		padding-left: 0;
		padding-right: 0;
		height: auto;
		background-image: none;
		margin-bottom: 20px;
	}
	#hpb-main-nav ul li,
	#hpb-sidebar-main-nav ul li{
		background-color:#f0ece7;
		float: none;
		color: #fdf4c9;
		background-repeat: repeat-x;
		border-bottom:#666 dashed 1px;
		padding:0;
	}
	#hpb-sidebar-main-nav ul li li{
		background-image: none;
	}
	#hpb-main-nav ul li a,
	#hpb-sidebar-main-nav ul li a{
		padding-top: 0;
		padding-bottom:0;
		padding-right: 1em;
		padding-left: 0;
		border-bottom: none;
		border-left: none;
		border-right: none;
		border-top: none;
		line-height: 1.5em;
		float: none;
	}
	#hpb-main-nav a:link, #hpb-main-nav a:visited{
			padding-bottom:0;
	}
	#hpb-main-nav a:hover, #hpb-main-nav a:active, #hpb-main-nav .current_page_item a{
		color: #333;
		background-image: none;
		background-repeat: no-repeat;
		background-position: center bottom;
	}
	#hpb-main-nav ul .sub-menu{
		position: static;
		margin-top: 0;
		padding-top: 8px;
	}
	.home #hpb-main-nav ul .sub-menu,
	#hpb-sidebar-main-nav ul{
		background-color:#f0ece7;
		display: block;
	}
	#menu-mainnav-1 .sub-menu li a{
		padding: 0 10px !important;
	}
	#hpb-main-nav ul li:hover .sub-menu{
		display: block;
		position: static;
		margin-top: 0;
		z-index: auto;

	}
	#hpb-main-nav ul .sub-menu li,
	#hpb-sidebar-main-nav ul .sub-menu li{
		background-image: none;
		background-color: inherit;
		border-radius: 0;
	}

	.home #hpb-main-nav{
		display: block;
		width: 100%;
		position: inherit;
		top: 0;
		z-index: auto;
		padding-top: 0;
	}

	.home #hpb-sub-nav{
		display: block;
		width: 100%;
	}

	#hpb-main-nav li,
	#hpb-sidebar-main-nav li{
		border-left-width: 0;
		background-position: top left;
		background-repeat: repeat-x;
		padding-left: 0;
	}
	#hpb-main-nav li a,
	#hpb-sidebar-main-nav li a{
		display: block;
	}
	#hpb-sidebar-main-nav .sub-menu li a{
		background-image: none !important;
	}
	#hpb-sidebar-main-nav li li{
		padding-top: 0;
		padding-right: 0;
		padding-bottom: 0;
		padding-right: 0;
	}
	#hpb-main-nav .sub-menu li a{
		padding-left: 2.5em;
	}
	#hpb-main-nav li a,
	#hpb-sidebar-main-nav li a{
		line-height: 1.5em;
		height: auto;
	}
	#hpb-main-nav ul li,
	#hpb-main-nav ul li.current_page_item,
	#hpb-sidebar-main-nav ul li,
	#hpb-sidebar-main-nav ul li.current_page_item{
		line-height: 1.5em;
		margin-left: 0;
		padding-bottom: 1em;
		padding-left: 2em;
		padding-top: 1em;
		text-indent: -0.5em;
	}
	.home #hpb-main{
		padding-top: 10px;
	}
	#hpb-title{
		width:auto;
	}
	aside{
		float: left;
		clear: both;
		width: 100%;
		margin-top: -41px;
	}
	#hpb-sidebar-main-nav .sub-menu li a{
		padding: 0 30px !important;
	}

	.home aside{
		padding-top: 0;
		margin-top: 0;
	}
	#hpb-content #hpb-main{
		width:auto!important;
		margin-left:0!important;
		padding-left:10px!important;
		padding-right:10px!important;
		padding-bottom:50px;
		float:none;
		}
	#hpb-main h3, #hpb-main h2{
		margin-left:0px!important;
		width:auto;
		overflow:hidden;
		margin-left: 0;
		margin-right: 0;
		padding-right:0;
		}
	.home #page-content{
		width:auto;
		}
	.home #hpb-title{
		width:auto;
		margin: 0;
		height: 109px;
	}
	.home #hpb-title h2{
		width:auto;
		height: 100%;
		background-size: contain;
		background-repeat:no-repeat;
	}
	.home #hpb-title h2 a{
		background-size:contain;
		background-position: 0 0;
		background-repeat:no-repeat;
		display: block;
		height: 50px;
		width: auto;
		height: 100px;
		margin-left:20px;
	}
	#hpb-title h2{
		background-image: url(img/bg_h2_sp.png);
		line-height: 24px;
		margin-top: 0;
		padding-left: 20px;
		width: auto;
		background-position: left top;
		background-repeat: repeat;
	}
	article img{
		max-width: 320px !important;
		height: auto !important;
	}
	aside #hpb-sidebar-main-nav,
	aside #hpb-sidebar-sub-nav{
		display: block;
	}
	.home aside #hpb-sidebar-main-nav,
	.home aside #hpb-sidebar-sub-nav{
		display: none;
	}
	#hpb-sidebar-sub-nav ul{
		margin-top:30px;
		border-style: solid;
		border-width: 1px;
		border-color: #cccccc;
		background-color:#FFF;

	}
	#hpb-sidebar-sub-nav li{
		display: block;
		padding-top: 5px;
		padding-right: 10px;
		padding-bottom: 5px;
		padding-left: 10px;
		border-bottom:#CCC solid 1px;
	}
	#hpb-sidebar-sub-nav li a{
		display: block;
	}
	#hpb-content{
		float: none;
	}
	aside .widget_search{
		margin-left: auto;
		margin-right: auto;

	}

	#page-content ul li{
		background-image:none;
		border-bottom-color: #614431;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		padding-left: 0px;
	}
	#hpb-main-nav ul li:hover .sub-menu a,
	#hpb-main-nav ul li:hover .sub-menu,
	#hpb-main-nav ul li:hover .sub-menu a{
		box-shadow: none;
	}
	#hpb-main-nav ul .sub-menu li a{
		line-height: 2.5;
	}
	#hpb-main-nav ul li:first-child{
		border-top:#666 dashed 1px;
	}
	#hpb-main-nav ul li:last-child,
	#hpb-sidebar-main-nav ul li:last-child{
		border: none;
	}
	aside .widgettitle{
		background-image:url("img/bg_h2.png");
		width:auto;
	}
	.widget ul{
		width:auto;
		padding-left: 10px;
		padding-right: 10px;
	}

/* フッター */
	#hpb-global-footer{
		background-color:#614431;
		width: 100%;
		height: auto;
		font-size:0.8em;
		text-align:left;
		padding-bottom:10px;
	}
	#hpb-sub-nav {
		/*margin-top: 10px;*/
	}
	#hpb-footer-main{
		margin-top: 0;
		width: 100%;
		height: auto;
		position: inherit;
	}
	#hpb-footer-main p{
		margin-top: 20px;
		margin-bottom: 0;
		text-align:left;
		margin-top:0;
		padding-left: 10px;
		padding-right: 10px;
		text-align: center;
	}
	.hpb-wp-login{
		text-align: right;
		margin-top:0;
	}
	.home footer .hpb-wp-login a{
		color:#F0ECE7;
	}
	footer .hpb-wp-login a{
		color:#ffffff;
		position: static;
	}
	#hpb-content blockquote{
		margin-left: 0;
		margin-right: 0;
	}

/* フォームパーツ設定 */
	textarea{
		width: 150px;
		height: 100px;
	}
	input.l{
		width: 150px;
	}
	input.m{
		width: 100px;
	}
	input.s{
		width: 80px;
	}
	#hpb-content img{
		height: auto !important;
		max-width: 260px !important;
	}
	.hpb_social{
		overflow: hidden;
		position: relative;
	}
}

/* clearfix */
#hpb-grobal-header::after,
#hpb-main-nav ul::after,
#hpb-inner::after,
.hpb-viewtype-thumbnail::after,
.hpb-viewtype-date dl::after,
#page-content dl::after,
.hpb-entry-content dl::after,
.hpb-pagenation::after,
#hpb-content::after,
.hpb_social::after{
	content: "";
	display: table;
	clear: both;
}
#ie8 #hpb-grobal-header,
#ie8 #hpb-main-nav ul,
#ie8 #hpb-inner,
#ie8 .hpb-viewtype-thumbnail,
#ie8 .hpb-viewtype-date dl,
#ie8 #page-content dl,
#ie8 .hpb-entry-content dl,
#ie8 .hpb-pagenation,
#ie8 #hpb-content,
#ie8 .hpb_social{
	zoom: 1;
}


#ie6 #hpb-grobal-header,
#ie6 #hpb-main-nav ul,
#ie6 #hpb-inner,
#ie6 .hpb-viewtype-thumbnail,
#ie6 .hpb-viewtype-date dl,
#ie6 #page-content dl,
#ie6 .hpb-entry-content dl,
#ie6 .hpb-pagenation,
#ie6 #hpb-content,
#ie6 .hpb_social{
	zoom: 1;
}

#ie7 #hpb-grobal-header,
#ie7 #hpb-main-nav ul,
#ie7 #hpb-inner,
#ie7 .hpb-viewtype-thumbnail,
#ie7 .hpb-viewtype-date dl,
#ie7 #page-content dl,
#ie7 .hpb-entry-content dl,
#ie7 .hpb-pagenation,
#ie7 #hpb-content,
#ie7 .hpb_social{
	zoom: 1;
}

/* ------------------------------------------------------
追記17→18
------------------------------------------------------*/

/* レイアウト */

#page{
	background-image: url(img/bg_grobal-header.jpg);
	background-repeat: repeat-x;
	background-position: center top;
}

#masthead{
	width: 975px;
	margin-right: auto;
	margin-left: auto;
}

.site-branding h1{
	background-image: url(img/logo_3d-1.png);
	background-repeat: no-repeat;
	height: 90px;
	width: 500px;
}
.site-branding h1 a{
	height: 90px;
	width: 500px;
	display:block;
	text-indent:-9999px;
}
.site-branding #hpb-site-desc{
	font-size: 12px;
	font-weight: normal;
	height: 44px;
	width:500px;
}
#hpb-header-extra1{
	background-image: url(img/bg_hpb-header-extra1.png);
	background-repeat: no-repeat;
	height: 60px;
	padding-left: 150px;
	padding-top: 30px;
	position: absolute;
	top: 0px;
	margin-left: 500px;
	width: 320px;
}
#hpb-header-extra1 p{
	margin: 0px;
	font-size: 14px;
}

#hpb-header-extra1 p.address{
	display:block;
	font-size:0.9em;
}

.home #main{
	width: 975px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom:20px;
	position:relative;
	margin-top:0px;
}

#main{
	width: 975px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom:20px;
	position:relative;
	margin-top:0px;
}

#primary{
	margin-bottom: 0;
	float:right;
	width:648px;
	margin-top:50px;
}

#primary #content{
	float: right;
	width: 608px;
	padding-right: 20px;
	padding-left: 20px;
}
.error404 #primary,
.error404 #primary #content{
	width: 100%;
}
#primary #content li{
	list-style-type: square;
	list-style-position: inside;
	margin-left: 15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
#primary #content ol li{
	list-style-type: decimal;
}
.alignleft{
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
.alignright{
	float: right;
	margin-left:20px;
	margin-bottom:20px;
}
/* ヘッダー */

.site-branding h1{
	background-image: url(img/logo_3d-1.png);
	background-repeat: no-repeat;
	height: 90px;
	width: 500px;
}

.site-branding h1 a{
	height: 90px;
	width: 500px;
	display:block;
	text-indent:-9999px;
}

.site-branding #hpb-site-desc{
	font-size: 12px;
	font-weight: normal;
	height: 44px;
	width:500px;
}

/* ナビゲーション */

#site-navigation h1.menu-toggle{
     display:none;
}

#site-navigation div{
     display:none;
}

#site-navigation ul{
	display: block;
	height: 36px;
	list-style-type: none;
	text-align: left;
	margin: 0;
	padding-top: 0;
	padding-right: 2px;
	padding-bottom: 0;
	padding-left: 2px;
	background-repeat: no-repeat;
	background-position: left center;
}
#site-navigation li{
	float: left;
	z-index: 100;
}
#site-navigation ul li{
	background-repeat: no-repeat;
	background-position: right center;
}
#ie6 #site-navigation li, #ie7 #site-navigation li{
	position: relative;
}

#site-navigation ul .sub-menu{
	display: none;
	border-radius: 3px;
	position: absolute;
	margin-top: 34px;
	padding-top: 2px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0;
	z-index: 200;
	height: auto;
	background-color: #EBDECB;
	background-image: none;
	filter:alpha(opacity=75); /*IE*/
	-moz-opacity:0.75; /*FF*/
	opacity:0.75;
}
#site-navigation ul .sub-menu ul{
	margin-top: 0;
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0;
}
#ie6 #site-navigation ul .sub-menu, #ie7 #site-navigation ul .sub-menu{
	left: 0;
	position: absolute;
}
#ie6 #site-navigation ul .sub-menu a, #ie7 #site-navigation ul .sub-menu a{
	width: 10em;
}
#site-navigation ul .sub-menu li a{
	display: block;
	height: auto;
	padding-bottom: 8px;
	line-height: 1.4;
}
#site-navigation ul .sub-menu li a:hover{
	text-decoration: underline;
	background-image: none;
}
#site-navigation ul li:hover .sub-menu{
	display: block;
	box-shadow: 0 0 10px rgba( 0, 0, 0, 0.15 );
}
#site-navigation ul li:hover .sub-menu a{
	display: block;
	box-shadow: 0 0 10px rgba( 0, 0, 0, 0.15 );
}
#site-navigation ul li:hover .sub-menu a:hover{
	border-radius: 3px;
}
#site-navigation ul ul li{
	float: none;
	border-radius: 3px;
	background-image: none;
}
#site-navigation ul ul a{
	float: none;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}
#site-navigation li a{
	display: block;
	float: left;
	padding-left: 18px;
	padding-right: 18px;
	line-height: 30px;
	height: 30px;
	font-weight: bold;
}
#site-navigation a:link, #site-navigation a:visited{
	color: #333;
	text-decoration: none;
	padding-bottom: 20px;
}
#site-navigation a:hover, #site-navigation .current_page_item a{
	color: #333;
	background-image : url(img/bg_h3.png);
	background-repeat: no-repeat;
	background-position: center bottom;
}
#site-navigation .current_page_item .sub-menu a{
	background-image: none;
}
#site-navigation a:hover{
	text-decoration: underline;
}

/* メイン画像 */

#hpb-header-image{
	height: 265px;
	background : url(0011.jpg) 0px 0px / cover no-repeat scroll padding-box border-box transparent;
	display: block;
	margin-top: 60px;
}

/* メイン */

#primary blockquote p:last-child{
	background-image: url(img/bg_blockquote_end.png);
	background-repeat: no-repeat;
	background-position: 480px bottom;
	padding-bottom: 40px;
}
#primary blockquote p{
	padding-right: 60px;
	padding-left: 60px;
}
#primary blockquote{
	background-image: url(img/bg_blockquote.png);
	background-position: 10px 10px;
	background-repeat: no-repeat;
	background-color: #FDF8DF;
	border: 1px solid #FCE6C5;
	border-radius: 6px;
	padding-top: 40px;
}

/* タグ */
#primary #hpb-main .hpb_social,  #primary #hpb-main .hpb_social div{
	padding-bottom:0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	border-style: none;
}
#primary #hpb-main .hpb_social div{
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	margin-bottom: 5px;
}

/* サブ */

#sidebar-1{
	float: left;
	width: 291px;
	margin-bottom: 20px;
	margin-top: 50px;
}

aside{
	margin-bottom:0px;
	margin-top: 0;
}

.home aside{
	margin-top: 0px;
}

#ie6 .home aside,
#ie7 .home aside,
#ie8 .home aside{
	margin-top: 310px;
}

aside .widget_search{
	background-image: url(img/bg_widget-search.png);
	background-repeat: no-repeat;
	height: 84px;
	width: 261px;
	padding-top: 105px;
	padding-left: 30px;
	background-position: center top;
	margin-bottom: 5px;
}
aside #hpb-sidebar-main-nav, aside #hpb-sidebar-sub-nav{
	display: none;
}

aside .widget-title{
	color: #FFF;
	background-image: url(img/bg_widgettitle.png);
	background-repeat: no-repeat;
	height: 40px;
	width: 228px;
	padding-top: 18px;
	font-size: 16px;
	margin-bottom: 10px;
	padding-left: 63px;
}

aside.widget_search{
	background-image: url(img/bg_widget-search.png);
	background-repeat: no-repeat;
	height: 84px;
	width: 261px;
	padding-top: 105px;
	padding-left: 30px;
	background-position: center top;
	margin-bottom: 5px;
}

aside .widget_search div{
	background-color: transparent;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}
.widget_search #s{
	width: 165px;
	margin-right: 8px;
	padding-top: 6px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	border: 1px solid #271301;
}

.widget_search label{
	display: none;
}

/* フッター */

#colophon{
	clear: both;
	width: 975px;
	position:relative;
	margin:0 auto;
}

#colophon #hpb-footer-main{
	clear: both;
	background-image: url(img/bg_footer.png);
	background-position: center center;
	height: 55px;
	text-align: center;
	padding-top: 10px;
	width:975px;
	margin-right: auto;
	margin-left: auto;
	position:absolute;
	bottom:0;
}

#colophon #hpb-footer-main p{
	padding-top:30px;
}

#colophon #site-sub-navigation{
	position:absolute;
	bottom:35px;
	width:100%;
	text-align:center;
	margin:0 auto;
	z-index:2;
}

#hpb-footer-main{
		margin-top:0px;
		width: 100%;
		height: auto;
		position: inherit;
		padding-top:0px;
	}

	#colophon .footer-widgets{
	float:left;
	position:static;
	padding-bottom:100px;
}


#colophon h1.menu-toggle{
     display: none;
}

#colophon .footer-widgets aside{
	float:left;
	margin-left:20px;
}

.wp-login{
	position:absolute;
	right:0;
	bottom:10px;
	margin-top: -1em;
	padding-right: 15px;
	text-align: right;
}

footer .wp-login a{
	color: #fff;
}

#hpb-footer-main{
	color: #fff;
}

body.search .entry-title,
body.error404 .entry-title,
body.page h1.entry-title,
body.archive h1.page-title,
body.home h1#hpb-page-title{
	background-image : url(img/bg_h2.png);
	background-repeat: no-repeat;
	background-position:left bottom;
	width: 560px;
	clear: both;
	color: #FFF;
	padding-top: 13px;
	padding-bottom:14px;
	padding-left: 68px;
	padding-right:20px;
	margin-right: -20px;
	margin-left: -20px;
	margin-bottom: 43px;
	font-size: 18px;
}

body.search h1.entry-title a:link{
	color: #ffffff;
}
body.search h1.entry-title a:hover{
	color: #ff6699;
}

body.archive h1.entry-title{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 1em;
	margin-left: 0;
	padding: 10px;
	text-align: left;
	font-size: 1.15em;
	line-height: 1.2;
	clear: both;
	background-image: url(img/bg_h4.png);
	background-repeat: no-repeat;
	background-position: left center;
}

#primary .entry-meta{
	text-align: right;
	margin: 0;
}

#primary .entry-meta{
	clear: both;
}

.page-title a, body.single h1.entry-title a, body.archive h1.page-title a{
	background-image: url(img/bg_h2.png);
	background-repeat: no-repeat;
	background-position:left bottom;
	width: 560px;
	clear: both;
	color: #FFF;
	padding-top: 13px;
	padding-bottom:14px;
	padding-left: 68px;
	padding-right:20px;
	margin-right: -20px;
	margin-left: -20px;
	margin-bottom: 43px;
	font-size: 18px;
	display:block;
}

.page-title a:hover, body.single h1.entry-title a:hover, body.archive h1.page-title a:hover{
	background-image: url(img/bg_h2.png);
	background-repeat: no-repeat;
	background-position:left bottom;
	width: 560px;
	clear: both;
	color: #ff6699;
	padding-top: 13px;
	padding-bottom:14px;
	padding-left: 68px;
	padding-right:20px;
	margin-right: -20px;
	margin-left: -20px;
	margin-bottom: 43px;
	font-size: 18px;
	display:block;
}

#primary h3, .comments-title{
	font-size:1.4em;
	background-image: url(img/bg_h3.png);
	background-repeat: no-repeat;
	width: 570px;
	padding-left: 40px;
	color: #614431;
	margin-bottom: 27px;
	margin-right: -20px;
	margin-left: -20px;
	padding-right:40px;
	padding-top:5px;
	padding-bottom:5px;
	background-position:left bottom;
}

/* パンくずリスト　*/
div#breadcrumb-list{
	width: auto;
	bottom: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-image: url(img/bg_breadcrumb.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin-left: 15px;
	padding-left: 20px;
	clear: both;
}
#breadcrumb-list div{
	display: inline;
}

/*--------------------------------------------------------
  メディアクエリ
--------------------------------------------------------*/

@media (max-width:480px) {
	body,
	#page,
	#masthead,
	#colophon,
	#main,
	.home #main,
	#primary,
	#content,
	.home #hpb-title,
	.site-branding,
	#primary h2{
		width: auto;
	}
	body{
		min-width: 100%;
	}

/* ヘッダー */
	#masthead{
		background-image: url(img/bg_grobal-header.jpg);
		margin-top: -1px;
		padding-top: 1px;
		padding-left: 10px;
		padding-right: 10px;
		height: auto;
	}

	#sidebar-1{
		margin:-30px 10px 0 10px;

	}

	.home #masthead{
		height: auto;
		max-height: none;
	}
	.site-branding h1 a{
		 width: auto;
	}
	.site-branding{
		width: auto;
		float: none;
	}
	.site-branding h1{
		margin-top: 5px;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		width:auto;
		height: 100%;
		background-size: contain;
		background-repeat:no-repeat;
	}
	.site-branding h2#hpb-site-desc{
		width: auto;
		margin-left: 0;
		margin-top:-10px;
		top: -35px;
		font-size:0.8em;
		height: auto;
	}
	#hpb-header-extra1{
		background-image: none;
		text-align: left;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0;
		margin-bottom: 10px;
		height: auto;
		width: auto;
		padding-top: 0;
		padding-left:0px;
		padding-right: 0;
		position: static;
	}
	#hpb-header-extra1 p{
		display: inline;
		font-size:0.8em;
	}
	#hpb-header-extra1 p.address{
		font-size:0.8em;
	}
	#hpb-breadcrumb-list div{
		background-position: 0 0;
	}
	#site-navigation,
	#hpb-sub-nav{
		display: block;
	}
	#site-navigation ul .sub-menu{
		position: static;
		margin-top: 0;
		background-color: transparent;
	}
	#site-navigation ul .sub-menu li,
	#hpb-sidebar-main-nav ul .sub-menu li{
		background-image: none;
		background-color: transparent;
		border-radius: 0;
		padding: 0;
		margin: 0;
	}
	#site-navigation ul,
	#hpb-sidebar-main-nav ul{
		padding-left: 0;
		padding-right: 0;
		height: auto;
		background-image: none;
		margin-bottom: 20px;
	}
	#site-navigation ul li,
	#hpb-sidebar-main-nav ul li{
		background-color:#f0ece7;
		float: none;
		color: #fdf4c9;
		background-repeat: repeat-x;
		border-bottom:#666 dashed 1px;
		padding:0;
	}
	#hpb-sidebar-main-nav ul li li{
		background-image: none;
	}
	#site-navigation ul li a,
	#hpb-sidebar-main-nav ul li a{
		padding-top: 0;
		padding-bottom:0;
		padding-right: 1em;
		padding-left: 0;
		border-bottom: none;
		border-left: none;
		border-right: none;
		border-top: none;
		line-height: 1.5em;
		float: none;
	}
	#site-navigation a:link, #site-navigation a:visited{
			padding-bottom:0;
	}
	#site-navigation a:hover, #site-navigation a:active, #site-navigation .current_page_item a{
		color: #333;
		background-image: none;
		background-repeat: no-repeat;
		background-position: center bottom;
	}
	#site-navigation ul .sub-menu{
		position: static;
		margin-top: 0;
		padding-top: 8px;
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	.home #site-navigation ul .sub-menu,
	#hpb-sidebar-main-nav ul{
		background-color:#f0ece7;
		display: block;
	}
	#menu-mainnav-1 .sub-menu li a{
		padding: 0 10px !important;
	}
	#site-navigation ul li .sub-menu{
		display: block;
		position: static;
		margin-top: 0;
		z-index: auto;

	}
	#site-navigation ul .sub-menu li,
	#hpb-sidebar-main-nav ul .sub-menu li{
		background-image: none;
		background-color: inherit;
		border-radius: 0;
		padding: 0;
		margin: 0;
	}

	.home #site-navigation{
		display: block;
		width: 100%;
		position: inherit;
		top: 0;
		z-index: auto;
		padding-top: 0;
	}

	.home #hpb-sub-nav{
		display: block;
		width: 100%;
	}

	#site-navigation li,
	#hpb-sidebar-main-nav li{
		border-left-width: 0;
		background-position: top left;
		background-repeat: repeat-x;
		padding-left: 0;
	}
	#site-navigation li a,
	#hpb-sidebar-main-nav li a{
		display: block;
	}
	#hpb-sidebar-main-nav .sub-menu li a{
		background-image: none !important;
	}
	#hpb-sidebar-main-nav li li{
		padding-top: 0;
		padding-right: 0;
		padding-bottom: 0;
		padding-right: 0;
	}
	#site-navigation .sub-menu li a{
		padding-left: 2.5em;
	}
	#site-navigation li a,
	#hpb-sidebar-main-nav li a{
		line-height: 1.5em;
		height: auto;
	}
	#site-navigation ul li,
	#hpb-sidebar-main-nav ul li{
		line-height: 1.5em;
		margin-left: 0;
		padding-bottom: 1em;
		padding-left: 2em;
		padding-top: 1em;
		text-indent: -0.5em;
	}
	.home #content{
		padding-top: 10px;
	}
	#hpb-title{
		width:auto;
	}

	#main{
		clear:both;
	}

	#main #sidebar-1{
		width: auto;
		padding-right: 0px;
		float: none;
	}

	#main aside{
		width: auto;
		float: none;
	}
	#hpb-sidebar-main-nav .sub-menu li a{
		padding: 0 30px !important;
	}

	.home aside{
		padding-top: 0;
		margin-top: 0;
	}
	#primary #content{
		width:auto!important;
		margin-left:0!important;
		padding-left:10px!important;
		padding-right:10px!important;
		padding-bottom:50px;
		float:none;
		}
	#content h3, #content h2{
		margin-left:0px!important;
		width:auto;
		overflow:hidden;
		margin-left: 0;
		margin-right: 0;
		padding-right:0;
		}
	.home #page-content{
		width:auto;
		}
	.home #hpb-title{
		width:auto;
		margin: 0;
		height: 109px;
	}
	.home #hpb-title h2{
		width:auto;
		height: 100%;
		background-size: contain;
		background-repeat:no-repeat;
	}
	.home #hpb-title h2 a{
		background-size:contain;
		background-position: 0 0;
		background-repeat:no-repeat;
		display: block;
		height: 50px;
		width: auto;
		height: 100px;
		margin-left:20px;
	}
	#hpb-title h2{
		background-image: url(img/bg_h2_sp.png);
		line-height: 24px;
		margin-top: 0;
		padding-left: 20px;
		width: auto;
		background-position: left top;
		background-repeat: repeat;
	}
	article img{
		max-width: 320px !important;
		height: auto !important;
	}
	aside #hpb-sidebar-main-nav,
	aside #hpb-sidebar-sub-nav{
		display: block;
	}
	.home aside #hpb-sidebar-main-nav,
	.home aside #hpb-sidebar-sub-nav{
		display: none;
	}
	#hpb-sidebar-sub-nav ul{
		margin-top:30px;
		border-style: solid;
		border-width: 1px;
		border-color: #cccccc;
		background-color:#FFF;

	}
	#hpb-sidebar-sub-nav li{
		display: block;
		padding-top: 5px;
		padding-right: 10px;
		padding-bottom: 5px;
		padding-left: 10px;
		border-bottom:#CCC solid 1px;
	}
	#hpb-sidebar-sub-nav li a{
		display: block;
	}
	#primary{
		float: none;
	}

	#page-content ul li{
		background-image:none;
		border-bottom-color: #614431;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		padding-left: 0px;
	}
	#site-navigation ul li:hover .sub-menu a,
	#site-navigation ul li:hover .sub-menu,
	#site-navigation ul li:hover .sub-menu a{
		box-shadow: none;
	}
	#site-navigation ul .sub-menu li a{
		line-height: 1.5;
	}
	#site-navigation ul li:first-child{
		border-top:#666 dashed 1px;
	}
	#site-navigation ul li:last-child,
	#hpb-sidebar-main-nav ul li:last-child{
		border: none;
	}
	aside .widget-title{
	color: #FFF;
	background-image: url(img/bg_h2.png);
	background-repeat: no-repeat;
	background-position:left bottom;
	height: 40px;
	width: auto;
	padding-top: 15px;
	font-size: 16px;
	margin-bottom: 10px;
	padding-left: 63px;
}
	.widget ul{
		width:auto;
		padding-left: 10px;
		padding-right: 10px;
	}

	#primary blockquote{
		margin-left: 0;
		margin-right: 0;
	}

/* フォームパーツ設定 */
	textarea{
		width: 150px;
		height: 100px;
	}
	input.l{
		width: 150px;
	}
	input.m{
		width: 100px;
	}
	input.s{
		width: 80px;
	}
	#primary img{
		height: auto !important;
		max-width: 260px !important;
	}
	.hpb_social{
		overflow: hidden;
		position: relative;
	}

/* 追記 */
	.home #hpb-header-image{
		height: auto;
		margin:20px 10px 0 10px;
		-moz-background-size:100% auto;
		background-size:100% auto;
	}

	.home #hpb-header-image img{
		width: 100%;
		height: auto;
	}

	body.page h1.entry-title, body.archive h1.page-title, body.home h1#hpb-page-title{
    width:auto;
	margin-left:0;
	margin-right:0;
	}

	.page-title a, body.single h1.entry-title a, body.archive h1.page-title a{
	width:auto;
	}

	.page-title a:hover, body.single h1.entry-title a:hover, body.archive h1.page-title a:hover{
	width:auto;
	}

	aside.widget_search{
    background-image: url("img/bg_widget-search.png");
    background-position: center top;
    background-repeat: no-repeat;
    height: 89px;
    margin-bottom: 5px;
    padding-left: 30px;
    padding-top: 105px;
    width: 261px;
}
	aside.widget_search form{
		width:261px;
		margin:0 auto;
	}
	#colophon .footer-widgets aside{
	float:none;
	margin-left:0px;
}

/* メニュー */

	#site-navigation div{
     display:block;
	}

	#site-navigation h1.menu-toggle{
     display:block;
	 margin-bottom:0;
	}

	 .navigation-main#site-navigation ul{
		 display:none;
	 }

	 /* フッター */
	#colophon{
		width: auto;
		height: auto;
		padding-left: 0;
		padding-right: 0;
		margin: 0px 10px 0 10px;
	}

	#hpb-sub-nav{
		margin-top: 10px;
	}
	#hpb-footer-main{
		margin-top: 0;
		width: 100%;
		height: auto;
		position: inherit;
	}
	#hpb-footer-main p{
		margin-top: 0;
		margin-bottom: 0;
	}

	.home #hpb-footer-main p{
		margin-top: 0.5em;
	}
	.hpb-wp-login{
		text-align: right;
	}
	footer .hpb-wp-login a{
		color: #FFFFFF;
		position: static;
	}

	#breadcrumb-list{
		width:auto!important;
	}

	/* フッターナビ */
	#colophon #site-sub-navigation{
/*		position: absolute;
		bottom: 100px;
*/		width: 100%;
		text-align: left;
		margin: 0 auto 10px;
		color: #666;

		position: static;
	}

	#site-sub-navigation h1.menu-toggle{
		display: block;
		margin-left: 10px;
		color: #666;
	}

	.navigation-main#site-sub-navigation ul{
		display: none;
	}

	footer nav li{
/*		display: inline;
*/		float: none;

		display: block;
		width: 95%;
		margin: 10px 0;
	}

	footer nav li a{
		display: block;
	}

	footer nav ul{
		list-style-type: none;
		margin: 0 10px;
		padding: 3px 0 0;
		text-align: left;
	}

	#colophon .footer-widgets{
		float: none;
		width: auto;
		position: static;
/*		padding-bottom: 140px;
*/

		padding-bottom: 0;
	}

	#colophon aside h1{
		background-image: url("img/bg_h2.png");
		background-position: left bottom;
		background-repeat: no-repeat;
		color: #FFFFFF;
		font-size: 16px;
		height: 40px;
		margin-bottom: 10px;
		padding-left: 63px;
		padding-top: 15px;
		width: auto;
	}

	#colophon aside.widget{
		width:100%;
		padding:0;
		margin:0;
	}

	.widget_search form{
		padding: 1px 20px 0 0px;
		text-align:center;
	}

	#colophon #hpb-footer-main{
		background-image: url("img/bg_footer.png");
		background-position: center center;
		bottom: 0;
		clear: both;
		height: 55px;
		margin-left: auto;
		margin-right: auto;
		padding-top: 10px;
/*		position: absolute;
*/		text-align: center;
		width:100%;

		position: static;
	}
    #masthead .hpb-nav-open#site-navigation ul{
        display: block;
    }
}

/* clearfix */

#sidebar-1 #secondary::after,
#masthead::after,
#site-navigation ul::after,
#main::after,
#content::after,
.hpb-viewtype-thumbnail::after,
.hpb-viewtype-date dl::after,
#page-content dl::after,
.hpb-entry-content dl::after,
.hpb-pagenation::after,
#primary::after,
#colophon::after,
#colophon .footer-widgets::after,
.hpb_social::after{
	content: "";
	display: table;
	clear: both;
}

#ie8 #sidebar-1 #secondary,
#ie8 #masthead,
#ie8 #site-navigation ul,
#ie8 #main,
#ie8 #content,
#ie8 .hpb-viewtype-thumbnail,
#ie8 .hpb-viewtype-date dl,
#ie8 #page-content dl,
#ie8 .hpb-entry-content dl,
#ie8 .hpb-pagenation,
#ie8 #primary,
#ie8 #colophon::after,
#ie8 .footer-widgets,
#ie8 .hpb_social{
	zoom: 1;
}

#ie6 #sidebar-1 #secondary,
#ie6 #masthead,
#ie6 #site-navigation ul,
#ie6 #main,
#ie8 #content,
#ie6 .hpb-viewtype-thumbnail,
#ie6 .hpb-viewtype-date dl,
#ie6 #page-content dl,
#ie6 .hpb-entry-content dl,
#ie6 .hpb-pagenation,
#ie6 #primary,
#ie6 #colophon::after,
#ie6 .footer-widgets,
#ie6 .hpb_social{
	zoom: 1;
}

#ie7 #sidebar-1 #secondary,
#ie7 #masthead,
#ie7 #site-navigation ul,
#ie7 #main,
#ie8 #content,
#ie7 .hpb-viewtype-thumbnail,
#ie7 .hpb-viewtype-date dl,
#ie7 #page-content dl,
#ie7 .hpb-entry-content dl,
#ie7 .hpb-pagenation,
#ie7 #primary,
#ie7 #colophon::after,
#ie7 .footer-widgets,
#ie7 .hpb_social{
	zoom: 1;
}
