body.home .entry-title,
body.home p.post-meta,
body.page p.post-meta,
span.post-update{
 display:none;
}
div#hpb-title h2 {
/*     background: url(./wp-content/assets/img/mainimg.jpg); */
	    background: url(../img/mainimg_sp.jpg);
    width: 100%;
    height: 421px;
    background-repeat: no-repeat;
    background-position: top center;
	margin:0;
}
/* ↓MVのテキスト↓ */
div#hpb-title_inbox {
    position: relative;
	max-width: 1070px;
   margin: 0 auto;
}

p.top_text {
    position: absolute;
    top: 0;
    left: 20px;
}

@media screen and (max-width: 768px) {
p.top_text img {
    width: 80%;
}
}

/* ↑MVのテキストここまで↑ */
div#hpb-title {
    background-color: #9d9d9d;
}

#navi, #navi ul {
    background-color: #21539f;
    border-top:0;
    border-bottom:0;
}

#navi .menu > li > a {
    border-right:0;
}
#navi .menu > li:first-child {
    border-left: 0;
}
#navi .menu {
    display: flex;
    justify-content: space-between;
}

#navi ul > li {
    float: none;
    width: 100%;
    text-align: center;
}
@media screen and (max-width: 767px) {/* SP用*/
	#navi ul > li {
	    text-align: left;
	}

	#navi .menu {
	    display: none;
	}
.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    content: "\f0c9";
    color: #0874bc;
}
}
.current_page_item {
    background: #094591;
}





/*フッターメニュー体裁*/
@media screen and (min-width: 768px) {
	.hamburger, div#footerMenuBar-MobileTablet {
	    display: none;
	}
}

#footerMenuBar-MobileTablet{
  transition: .5s ease-in-out;
  transform: translateY(105%);
  position: fixed;/*画面下に固定*/
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  background-color: #21539f;/*背景色*/
  -webkit-box-shadow: 0px 2px 6px rgba(0,0,0,0.50);
  box-shadow: 0px 2px 6px rgba(0,0,0,0.50);
	z-index:10;
}
#footerMenuBar-MobileTablet .list{
  display: flex;/*以下でセンター配置*/
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}
#footerMenuBar-MobileTablet .list a{
  text-decoration: none;
  color: #fff;/*文字色*/
  flex: 1 1 auto;/*エリアを等分割*/
  text-align: center;
  display: inline-block;
}
a.shareIcon span img
	{
	margin-right: 10px;
	}
a.shareIcon span
	{
	display: flex;
	justify-content: center;
	align-items: center;
	}
#footerMenuBar-MobileTablet
	{
	display: flex;
	}
#footerMenuBar-MobileTablet .list
{
    width: 50%;
}
#footerMenuBar-MobileTablet .list:last-child {
    border-left: 1px solid #ffffff;
}

#footerMenuBar-MobileTablet a.shareIcon span {
    line-height: 100%;
}
#footerMenuBar-MobileTablet a.shareIcon small {
    font-size: 12px;
    line-height: 100%;
}
@media screen and (max-width: 767px) {
	#page-top {
	    bottom: 48px;
	}
	#copyright {
    padding-bottom: 70px;
	}
	#mobile-menu a {
    padding: 0;
    right: 0;
	}
}

#copyright a {
    color: #000000;
    text-decoration: underline;
}

#copyright {
    color: #333333;
}

a:hover {
    text-decoration: none;
}

#footer-navi ul li.current_page_item {
    background: no-repeat;
}

#main {
    padding: 0;
    border: none;
    background: none;
}
#main > div {
    box-sizing: border-box;
    width: 740px;
    max-width: 100%;
    padding: 20px 29px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 30px;
    position: relative;
}
.headerinfobox {
    position: absolute;
    right: 0;
    color: #ffffff;
    font-size: 0.7em;
}
.headerinfobox p {
    margin: 0;
}
.telbox {
    display: flex;
    font-size: 25px;
        align-items: center;
    font-weight: bold;
}
.telbox img {
    margin-right: 10px;
}

@media screen and (max-width: 767px) {/* SP用*/
	#main > div {
			float: none;
			padding: 10px;
			border: none;
			border-radius: 0;
	}
	div#main {
			padding: 0;
	}
	.onlypc{
		display:none;
	}
}
#header .alignleft {
    margin: 0;
}
#site-description {
    margin-right: 0;
}
#headerdescrption-in {
  width: 1070px;
	max-width:100%;
  margin: 0 auto;
  box-sizing: border-box;
}
#headerdescrption {
    background: #222222;
}
@media screen and (max-width: 767px) {/* SP用*/
	#headerdescrption-in {
		width: 100%;
	}
	#site-description {
			font-size: 12px;
	}
}

#sidebar .widget {
    box-sizing: border-box;
    padding: 20px 29px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 30px;
    position: relative;
}
#sidebar aside#search-2.widget {
    background: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#searchform {
    margin-top: 0;
}
aside#calendar-2 {
    display: flex;
    justify-content: center;
}
div#calendar_wrap {
    width: 100%;
}

table#wp-calendar {
    width: 100%;
	text-align: center;
}
caption, #today {
    background: #eeeeee;
    border-radius: 5px;
}
#sidebar aside#text-10.widget {
    padding: 10px 0;
}
#sidebar aside#text-10.widget .textwidget {
    text-align: center;
}
.flexboxdouble {
    display: flex;
    align-items: center;
}
div#sidebar-widget {
    font-size: 13px;
}
.flexboxdouble .textbox {
    width: 80%;
}
.imgcenter {
    display: flex;
    justify-content: center;
}
.ctm_sidebox.mb20 {
    margin-bottom: 20px;
}
.txtcenter {
    text-align: center;
}
#sidebar h3.widget_title.sidebar_widget_title {
    margin-top: 0;
    font-size: 18px;
}

#sidebar h3.widget_title.sidebar_widget_title
	{
	display: flex;
	align-items: center;
	}
#sidebar h3.widget_title.sidebar_widget_title:after
	{
	border-top: 1px solid;
	content: "";
	flex-grow: 1;
	}
#sidebar h3.widget_title.sidebar_widget_title:after
	{
	margin-left: 1rem;
	}
.number {
    display: flex;
    flex-wrap: wrap;
}



.hpb-viewtype-date h3,
.article h2 {
    color: #004bbc;
    margin-top: 0;
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 33px;
    overflow: hidden;
    clear: both;
    padding-top: 0.5em;
}
.hpb-viewtype-date h3, h2.entry-title {
    border: none;
    padding-bottom: 10px;
	    position: relative;
	padding-left: 15px;
}

.hpb-viewtype-date h3:before, h2.entry-title:before {
    display: inline-block;
    content: '';
    width: 10px;
    height: 30px;
    background: #21539f;
    position: absolute;
    left: 0;
}
.hpb-viewtype-date h3:after, h2.entry-title:after {
    content: '';
    display: block;
    width: 100%;
    position: absolute;
    border-bottom: 2px solid;
    bottom: 6px;
    right: 0;
}
h2.entry-title {
    font-size: 23px;
    color: #333333;
}
.hpb-viewtype-date h3 a {
    text-decoration: none;
}
.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: 1;
}
.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: 151px !important;
    padding-top: 10px;
    padding-right: 0;
    padding-bottom: 10px;
    padding-left: 10px;
}
.hpb-viewtype-date dd {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 156px;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    text-align: left;
    line-height: 16px;
    min-height: 16px;
    padding-left: 0px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #f0f0f0;
}
.hpb-viewtype-date dd a {
    display: block;
}
.hpb-viewtype-date dd:after {
    clear:both;
    content:'';
    display:block;
}
.hpb-more-entry, .hpb-pagenation {
    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;
}
#main > div#breadcrumb {
    border: none;
    background: none;
    margin-bottom: 10px;
    padding: 0;
}

body.page-template .hpb-viewtype-date {
    margin-top: 80px;
}
.article h4 {
    border: none;
}

td.hpb-cnt-tb-cell3 {
    background: #eeeeee;
    border: 0;
}
td.hpb-cnt-tb-cell4 {
    border: 0;
    padding: 14px 0;
}
@media screen and (max-width: 767px) {/* SP用*/
	td.hpb-cnt-tb-cell4 {
	font-size: 14px !important;
	}
}
body.blog article.page {
    display: none;
}
body.blog p.post-meta,
body.archive p.post-meta {
    display: block;
}

.new-entry {
    padding-left: 0;
}
@media screen and (min-width: 768px) {
/* PC・タブレット */
	#mobile-menu {
	    display: none;
	}
	.onlysp {
	    display: none;
	}
}

.nenshiki input, .tourokutsuki input, .nen input, .tuki input, .nichi input {
    width: 80px;
}

.katashitei input, .ruibetu input, .haikiryo input, .juryo input, .kyori input {
    width: 110px;
}

@media screen and (max-width:767px) {/* SP用*/
.wpcf7 th {
    width: 30%;
}

.wpcf7 td {width: 70%;}

.wpcf7 table {
    width: 92%;
    margin: auto;
}
}

#navi ul li a{
  color:#fff;
}


html :where(img[class*=wp-image-]) {
    height: auto;
    max-width: 100%;
}