/*
Theme Name: 薬学部を目指す人の化学・数学塾　6　シックス
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.1.0 for Windows」によって作成されました。サイト名は「薬学部を目指す人の化学・数学塾　6　シックス」、サイトの公開日時は「2021年05月06日14:03」です。
License: 
License URI: license.txt
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
	5.3 - Breadcrumb
	5.4 - Page Navigation
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
	9.1 - Widgets
	9.2 - Sidebar
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
	12.1 - Captions
	12.2 - Galleries
13.0 - hpb Style
	13.1 - hpb:Header
	13.2 - hpb:Footer
	13.3 - hpb:Post List
14.0 - Layout
15.0 - Mobile
	15.5 - Navigation
		15.5.2 - Menus
		15.5.3 - Breadcrumb
	15.10 - Content
	15.13 - hpb Style
	15.14 - Layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
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;
}

html{
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*::before,
*::after{
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box;
  /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box;
  /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}

/* Fallback for when there is no custom background color defined. */
body{
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section{
  display: block;
}

ol, ul{
  list-style: none;
}

table{
  /* tables still need 'cellspacing="0"' in the markup */
  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:focus{
  outline: thin dotted;
}

a:hover,
a:active{
  outline: 0;
}

a img{
  border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea{
  color: #7f7f7f;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6{
  clear: both;
  color: #0d0e12;
  font-weight: bold;
  margin-bottom: 0;
}

h1{
  font-size: 1.375em;
}

h2{
  font-size: 1.3125em;
}

h3{
  font-size: 1.25em;
}

h4{
  font-size: 1.1875em;
}

h5{
  font-size: 1.125em;
}

h6{
  font-size: 1em;
}

p{
  margin-bottom: 1.5em;
}

b, strong{
  font-weight: bold;
}

dfn, cite, em, i{
  font-style: italic;
}

blockquote{
  margin: 0 0 1.5em;
  background: url(img/bg_h.png);
  padding: 1em;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
blockquote > *:last-child{
  margin-bottom: 0;
}

address{
  margin: 0 0 1.5em;
}

pre{
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var{
  font-size: 15px;
  font-size: 1.5rem;
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym{
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins{
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub{
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup{
  bottom: 1ex;
}

sub{
  top: .5ex;
}

small{
  font-size: 75%;
}

big,
.large{
  font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr{
  border-top-style: solid;
  border-top-color: #ccc;
  border-top-width: 1px;
  height: 0;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

ul, ol{
  margin: 0 0 1.5em 2em;
}

ul{
  list-style: disc;
}

ol{
  list-style: decimal;
}

li > ul,
li > ol{
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt{
  font-weight: inherit;
  margin-bottom: 0.5em;
}

dd{
  margin: 0 0 1.5em 3em;
}

img{
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure{
  margin: 0;
}

table{
  margin: 0 0 1.5em;
  width: 100%;
  border-collapse: collapse;
}

td, th{
  vertical-align: top;
}

td, th{
  padding: 0.5em 1em;
}

td, th{
  border: solid 1px #ccc;
}

th{
  font-weight: bold;
  background-color: #efefef;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea{
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: baseline;
  /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"]{
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */
  font-size: 14px;
  font-size: 1.4rem;
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #404c51;
  color: white;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: solid 1px #404c51;
}
button:hover, button:active, button:focus,
input[type="button"]:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus{
  color: white;
  text-decoration: none;
  background-color: #6d818a;
  border-color: #6d818a;
}

input[type="checkbox"],
input[type="radio"]{
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}

input[type="search"]{
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea{
  color: #666;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus{
  color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"]{
  padding: 3px;
}

textarea{
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a{
  color: #0d0e12;
  text-decoration: none;
}
a:visited{
  color: #0d0e12;
}
a:focus{
  color: #0d0e12;
}
a:hover{
  color: #0d0e12;
}
a:active{
  color: #0d0e12;
}
a:hover, a:focus, a:active{
  text-decoration: underline;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.navigation-main,
.main-small-navigation{
  *zoom: 1;
  clear: both;
}
.navigation-main::after,
.main-small-navigation::after{
  content: "";
  display: table;
  clear: both;
}
.navigation-main ul,
.main-small-navigation ul{
  list-style: none;
  margin: 0;
  padding-left: 0;
  position: relative;
}
.navigation-main li,
.main-small-navigation li{
  float: left;
}
.navigation-main a,
.main-small-navigation a{
  display: block;
}

#site-navigation{
  font-size: 14px;
  font-size: 1.4rem;
}
#site-navigation ul{
  float: right;
}
#site-navigation li{
  position: relative;
}
#site-navigation a{
  color: #7f7f7f;
  text-decoration: none;
  padding: 0.5em 0.75em;
  background: transparent;
  text-decoration: none;
}
#site-navigation a:hover, #site-navigation a:focus{
  text-decoration: underline;
}
#site-navigation ul ul{
  display: none;
  float: none;
  background: transparent;
  position: absolute;
  left: 0;
  z-index: 99999;
  top: 35px;
  border: solid 1px #DADADA;
}
#site-navigation ul ul::after, #site-navigation ul ul::before{
  bottom: 100%;
  left: 40px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
#site-navigation ul ul::after{
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: white;
  border-width: 7px;
  margin-left: -7px;
}
#site-navigation ul ul::before{
  border-color: rgba(218, 218, 218, 0);
  border-bottom-color: #DADADA;
  border-width: 8px;
  margin-left: -8px;
}
#site-navigation ul ul a{
  width: 200px;
  color: #0d0e12;
  background: white;
}
#site-navigation ul ul li{
  display: block;
  text-align: center;
  border-bottom: solid 1px #DADADA;
}
#site-navigation ul ul li:last-child{
  border-bottom: none;
}
#site-navigation ul li:last-child ul{
  left: auto;
  right: 0;
}
#site-navigation ul li:last-child ul::after, #site-navigation ul li:last-child ul::before{
  left: auto;
  right: 40px;
}
#site-navigation ul li:last-child ul::after{
  margin-left: 0;
  margin-right: -7px;
}
#site-navigation ul li:last-child ul::before{
  margin-left: 0;
  margin-right: -8px;
}
#site-navigation li:hover > a{
  color: #0d0e12;
  background: transparent;
  position: relative;
}
#site-navigation ul ul li:hover > a{
  color: #0d0e12;
  background: #E8E8E8;
}
#site-navigation ul ul li:hover > a::after{
  top: 100%;
  border-width: 0;
}
#site-navigation ul li:hover > ul{
  display: block;
}
#site-navigation .current_page_item > a,
#site-navigation .current-menu-item > a{
  color: #0d0e12;
  background: white;
}

/* Small menu */
.menu-toggle{
  display: none;
}

.main-small-navigation ul{
  display: none;
}

/*--------------------------------------------------------------
5.3 Breadcrumb
--------------------------------------------------------------*/
#breadcrumb-list{
  margin: 0 auto;
  max-width: 1000px;
  clear: both;
  *zoom: 1;
  font-size: 12px;
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  margin-bottom: -18px;
  position: relative;
  bottom: -40px;
}
#breadcrumb-list::after{
  content: "";
  display: table;
  clear: both;
}
#breadcrumb-list > div{
  display: inline;
}

/*--------------------------------------------------------------
5.4 Page Navigation
--------------------------------------------------------------*/
.site-main .navigation-comment,
.site-main .navigation-paging,
.site-main .navigation-post{
  margin: 40px 0;
  overflow: hidden;
  font-size: 13px;
  font-size: 1.3rem;
  font-style: italic;
  padding: 30px 0;
  border-top: solid 1px #404c51;
  border-bottom: solid 1px #404c51;
}

.navigation-comment .nav-previous,
.navigation-paging .nav-previous,
.navigation-post .nav-previous{
  float: left;
  width: 50%;
  padding-left: 20px;
}

.navigation-comment .nav-next,
.navigation-paging .nav-next,
.navigation-post .nav-next{
  float: right;
  text-align: right;
  width: 50%;
  padding-right: 20px;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text{
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus{
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft,
.left{
  display: inline;
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright,
.right{
  display: inline;
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter{
  clear: both;
  display: block;
  margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear,
.entry-content,
.comment-content,
.site-header,
.site-content,
.site-footer {
  *zoom: 1;
}
.clear::after,
.entry-content::after,
.comment-content::after,
.site-header::after,
.site-content::after,
.site-footer::after{
  content: "";
  display: table;
  clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
9.1 Widgets
--------------------------------------------------------------*/
.widget{
  margin: 0 0 20px;
}
.widget select{
  max-width: 90%;
  margin: 0 10px;
}
.widget ul{
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.widgettitle,
.widget-title{
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #0d0e12;
}

/* Calendar widget */
.widget_calendar th, .widget_calendar td, .widget_calendar caption{
  padding: 5px;
  text-align: center;
}
.widget_calendar tfoot th,
.widget_calendar tfoot td{
  border: none;
}
.widget_calendar #prev{
  text-align: left;
}
.widget_calendar #next{
  text-align: right;
}

/*--------------------------------------------------------------
9.2 Sidebar
--------------------------------------------------------------*/
#sidebar-1{
  font-size: 12px;
  font-size: 1.2rem;
}
#sidebar-1 .widgettitle,
#sidebar-1 .widget-title{
  border-top: solid 3px #ccc;
  border-bottom: solid 3px #ccc;
  padding: 20px 10px;
  margin-bottom: 20px;
}
#sidebar-1 .searchform{
  margin: 0 10px;
  font-size: 16px;
  font-size: 1.6rem;
}
#sidebar-1 .textwidget,
#sidebar-1 .tagcloud{
  margin: 0 10px;
}
#sidebar-1 ul{
  margin-top: -20px;
}
#sidebar-1 ul li{
  background-image: url(img/list-mark-side.png);
  background-position: 20px 25px;
  background-repeat: no-repeat;
  padding: 20px 10px 20px 35px;
  border-bottom: solid 1px #ccc;
}
#sidebar-1 ul li:hover{
  background-color: #fbfbfb;
}
#sidebar-1 ul li ul{
  margin-top: 0;
}
#sidebar-1 ul li li{
  background-position: 5px 25px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 15px;
  border-bottom: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.hentry{
  *zoom: 1;
  margin: 0 0 20px;
}
.hentry::after{
  content: "";
  display: table;
  clear: both;
}

.byline,
.updated{
  display: none;
}

.single .byline,
.group-blog .byline{
  display: inline;
}

.page-header,
.entry-header,
div[class^="hpb-viewtype"] > h3{
  background-image: url(img/bg_h.png);
  color: #0d0e12;
  padding: 1.25em;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-title,
.entry-title,
div[class^="hpb-viewtype"] > h3 > a{
  display: block;
  border-left: solid 5px #404c51;
  padding-left: 20px;
  font-size: 18px;
  font-size: 1.8rem;
}

body.archive .entry-header,
body.home .entry-header,
body.search .entry-header,
div[class^="hpb-viewtype"] .entry-header{
  border-top: solid 1px #404c51;
  padding: 20px;
}
body.archive .entry-header > h4,
body.archive .entry-title,
body.home .entry-header > h4,
body.home .entry-title,
body.search .entry-header > h4,
body.search .entry-title,
div[class^="hpb-viewtype"] .entry-header > h4,
div[class^="hpb-viewtype"] .entry-title{
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: normal;
  padding-left: 0;
  border-left: none;
}

.entry-meta{
  margin-top: 20px;
  font-size: 12px;
  font-size: 1.2rem;
  color: #0d0e12;
}
.entry-meta .sep{
  display: none;
}
.entry-meta > span{
  display: inline-block;
  line-height: 1.2;
  margin-right: 10px;
  margin-bottom: 5px;
  padding-left: 1.5em;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.entry-meta .date{
  background-image: url(img/bg_date.png);
}
.entry-meta .cat-links{
  background-image: url(img/bg_cat.png);
}
.entry-meta .tags-links{
  background-image: url(img/bg_tag.png);
}
.entry-meta .by-author{
  background-image: url(img/bg_author.png);
}
.entry-meta .comments-link{
  padding-left: 1.7em;
  background-image: url(img/bg_comment.png);
}
.entry-meta .edit-link{
  margin-right: 0;
  padding-left: 0;
}

.page-content,
.entry-content,
.entry-summary,
.mce-content-body{
  margin: 0;
  font-size: 14px;
  font-size: 1.4rem;
}
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-summary h1,
.entry-summary h2,
.entry-summary h3,
.entry-summary h4,
.entry-summary h5,
.entry-summary h6,
.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3,
.mce-content-body h4,
.mce-content-body h5,
.mce-content-body h6{
  font-weight: normal;
  margin-bottom: 1em;
  padding-bottom: 0.25em;
  border-bottom: solid 1px #ccc;
}
.page-content dt,
.entry-content dt,
.entry-summary dt,
.mce-content-body dt{
  border-left: solid 5px #404c51;
  padding-left: 1em;
}
.page-content li,
.entry-content li,
.entry-summary li,
.mce-content-body li{
  margin-bottom: 0.5em;
}
.page-content li ol, .page-content li ul,
.entry-content li ol,
.entry-content li ul,
.entry-summary li ol,
.entry-summary li ul,
.mce-content-body li ol,
.mce-content-body li ul{
  margin-top: 0.5em;
}
.page-content ul,
.entry-content ul,
.entry-summary ul,
.mce-content-body ul{
  list-style-type: none;
  margin-left: 0.5em;
}
.page-content ul li,
.entry-content ul li,
.entry-summary ul li,
.mce-content-body ul li{
  background-image: url(img/list-mark-content.png);
  background-position: 5px 0.6em;
  background-repeat: no-repeat;
  padding-left: 15px;
}

.page-links{
  clear: both;
  margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title{
  display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comments-area{
  clear: both;
  margin-top: 30px;
  font-size: 13px;
  font-size: 1.3rem;
}

.comments-title,
.comment-reply-title{
  background-image: url(img/bg_h.png);
  color: #0d0e12;
  padding: 1.25em;
  border-left: solid 10px #404c51;
  margin-bottom: 1.5em;
}

.comment-list{
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 0;
}
.comment-list ul{
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 0;
}
.comment-list li{
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: solid 1px #ccc;
}
.comment-list li li{
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 0;
  border-top: solid 1px #ccc;
  border-bottom: none;
}
.comment-list li li .comment{
  padding-left: 70px;
}
.comment-list .comment > footer {
  *zoom: 1;
}
.comment-list .comment > footer::after{
  content: "";
  display: table;
  clear: both;
}
.comment-list .avatar{
  float: left;
  margin-right: 20px;
}
.comment-list .fn{
  font-style: normal;
}
.comment-list .comment-meta{
  margin-top: 0.2em;
}

.comment-content{
  clear: both;
  margin-top: 1em;
}
.comment-content a{
  word-wrap: break-word;
}

.reply{
  text-align: right;
}

.comment-reply-link{
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #404c51;
  color: white;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: solid 1px #404c51;
}
.comment-reply-link:hover, .comment-reply-link:active, .comment-reply-link:focus{
  color: white;
  text-decoration: none;
  background-color: #6d818a;
  border-color: #6d818a;
}

.comment-respond{
  clear: both;
  margin-top: 30px;
}

.comment-form .required{
  color: #cc0000;
}
.comment-form label{
  display: block;
  margin-bottom: 0.3em;
}

.form-allowed-tags code{
  font-size: 12px;
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .navigation-paging,
.infinite-scroll.neverending .site-footer{
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer{
  display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley{
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object{
  max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption{
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"]{
  display: block;
  margin: 1.2% auto 0;
}

.wp-caption-text{
  text-align: center;
}

.wp-caption .wp-caption-text{
  margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery{
  margin-bottom: 1.5em;
}
.gallery dt{
  border: none;
  padding-left: 0;
}

.gallery-item{
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item{
  max-width: 50%;
}

.gallery-columns-3 .gallery-item{
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item{
  max-width: 25%;
}

.gallery-columns-5 .gallery-item{
  max-width: 20%;
}

.gallery-columns-6 .gallery-item{
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item{
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item{
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item{
  max-width: 11.11%;
}

/*--------------------------------------------------------------
13.0 hpb Style
--------------------------------------------------------------*/
/*--------------------------------------------------------------
13.1 hpb:Header
--------------------------------------------------------------*/
#masthead{
  position: relative;
  border-bottom: solid 2px #f2f2f2;
  padding: 30px 0;
}
body.home #masthead{
  padding-bottom: 0;
}

#masthead-inner {
  *zoom: 1;
}
#masthead-inner::after{
  content: "";
  display: table;
  clear: both;
}

/* site title */
#masthead .site-branding{
  float: left;
  width: 255px;
  margin-left: 30px;
  margin-bottom: 30px;
}
#masthead .site-branding .site-title{
  color: #0d0e12;
}
#masthead .site-branding .site-title a{
  /* bacground-image */
  min-width: 255px;
  min-height: 37px;
  display: block;
  background-image: url(img/site-title.png);
  background-repeat: no-repeat;
  background-position: left top;
  text-indent: -9999px;
  background-size: contain;
}
body:not(.home) #masthead .site-branding{
  margin-bottom: 0;
}

#hpb-site-desc{
  display: none;
  font-weight: normal;
  font-size: 14px;
  font-size: 1.4rem;
}

#hpb-header-extra1{
  display: none;
  font-size: 12px;
  font-size: 1.2rem;
}
#hpb-header-extra1 p{
  margin-bottom: 0;
}
#hpb-header-extra1 .tel,
#hpb-header-extra1 .address{
  display: inline;
}

/* front only */
body.home #hpb-site-desc,
body.home #hpb-header-extra1{
  display: block;
  position: absolute;
  left: 50%;
  width: 600px;
  margin-left: -300px;
  text-align: center;
}
body.home #hpb-site-desc{
  bottom: -55px;
}
body.home #hpb-header-extra1{
  bottom: -86px;
}
body.home .site-main{
  padding-top: 130px;
}

#hpb-header-image{
  clear: both;
  line-height: 1;
  text-align: center;
}
#hpb-header-image img{
  vertical-align: top;
}

/* nav */
#site-navigation{
  clear: none;
  float: right;
  width: 60%;
  margin-bottom: 30px;
  margin-right: 30px;
}
body:not(.home) #site-navigation{
  margin-bottom: 0;
}

/*--------------------------------------------------------------
13.2 hpb:Footer
--------------------------------------------------------------*/
.site-footer{
  background-color: #f2f2f2;
}

#site-sub-navigation{
  margin: 0 auto;
  max-width: 1000px;
  font-size: 14px;
  font-size: 1.4rem;
  padding: 40px 0;
  border-bottom: solid 1px #374248;
}
#site-sub-navigation li::after{
  content: '/';
  margin: 0 1em;
}
#site-sub-navigation a{
  display: inline-block;
}
#site-sub-navigation .current_page_item a{
  text-decoration: underline;
}

.footer-widgets{
  margin: 0 auto;
  max-width: 1000px;
  *zoom: 1;
  padding: 40px 0;
  font-size: 12px;
  font-size: 1.2rem;
}
.footer-widgets::after{
  content: "";
  display: table;
  clear: both;
}
.footer-widgets .widget{
  width: 33.3%;
  float: left;
  padding-right: 20px;
}
.footer-widgets .widget:nth-child(3n+1){
  clear: both;
}
.footer-widgets .widget li{
  background-image: url(img/list-mark-footer.png);
  background-position: 5px 0.6em;
  background-repeat: no-repeat;
  padding-left: 20px;
}
.footer-widgets .widgettitle,
.footer-widgets .widget-title{
  margin-bottom: 1em;
}

#hpb-footer-main{
  background-color: #364147;
  color: #cfd1d2;
  clear: both;
  padding: 60px 0 40px 0;
}
#hpb-footer-main > p{
  margin: 0 auto;
  max-width: 1000px;
}
#hpb-footer-main small{
  font-size: 14px;
  font-size: 1.4rem;
}

.wp-login{
  padding-bottom: 60px;
  background-color: #374248;
  color: #cfd1d2;
  font-size: 14px;
  font-size: 1.4rem;
}
.wp-login > a{
  display: block;
  margin: 0 auto;
  max-width: 1000px;
  color: #cfd1d2;
}

/*--------------------------------------------------------------
13.3 hpb:Post List
--------------------------------------------------------------*/
.hpb-viewtype-full,
.hpb-viewtype-simple,
.hpb-viewtype-thumbnail,
.hpb-viewtype-date,
.hpb-viewtype-content,
.hpb-viewtype-title{
  font-size: 14px;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* hpb-viewtype-title */
.hpb-viewtype-title ul{
  list-style-type: none;
  margin-left: 20px;
}
.hpb-viewtype-title li{
  background-image: url(img/list-mark-side.png);
  background-position: 5px 0.6em;
  background-repeat: no-repeat;
  padding-left: 20px;
  margin-bottom: 0.5em;
}

/* hpb-viewtype-date */
.hpb-viewtype-date dl{
  margin-left: 20px;
}
.hpb-viewtype-date dt{
  background-image: url(img/list-mark-side.png);
  background-position: 5px 0.6em;
  background-repeat: no-repeat;
  padding-left: 20px;
  float: left;
  width: 10.5em;
  margin-bottom: 0;
}
.hpb-viewtype-date dd{
  margin-left: 0;
  overflow: hidden;
  margin-bottom: 0.5em;
}

/* hpb-viewtype-content */
.hpb-viewtype-content dt{
  font-weight: bold;
  font-size: 16px;
  font-size: 1.6rem;
}

.entry-thumbnail img{
  border: solid 1px #404c51;
}

/* more link */
.hpb-more-entry{
  text-align: right;
}
.hpb-more-entry a{
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #404c51;
  color: white;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: solid 1px #404c51;
}
.hpb-more-entry a:hover, .hpb-more-entry a:active, .hpb-more-entry a:focus{
  color: white;
  text-decoration: none;
  background-color: #6d818a;
  border-color: #6d818a;
}

/*--------------------------------------------------------------
14.0 Layout
--------------------------------------------------------------*/
/*
 * Layout: Content-Sidebar
 */
.site-main{
  margin: 0 auto;
  max-width: 1000px;
  *zoom: 1;
  padding: 40px 0;
}
.site-main::after{
  content: "";
  display: table;
  clear: both;
}

.content-area{
  float: left;
  margin-top: 0;
  margin-right: -350px;
  margin-bottom: 0;
  margin-left: 0;
  width: 100%;
}

.site-content{
  margin-top: 0;
  margin-right: 350px;
  margin-bottom: 0;
  margin-left: 0;
}

#sidebar-1{
  float: right;
  width: 300px;
}

.site-footer{
  clear: both;
  width: 100%;
}

/*--------------------------------------------------------------
15.0 Mobile
--------------------------------------------------------------*/
@media screen and (max-width: 568px) {
  /*--------------------------------------------------------------
  15.5 Navigation
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  15.5.2 Menus
  --------------------------------------------------------------*/
  .menu-toggle,
  .main-small-navigation ul.nav-menu.toggled-on{
    display: block;
  }

  .menu-toggle{
    font-size: 14px;
    font-size: 1.4rem;
    padding: 0.5em;
    font-weight: normal;
  }

  .navigation-main ul{
    display: none;
  }

  .hpb-nav-open .menu-toggle{
    display: none;
    cursor: pointer;
  }

  .hpb-nav-open.navigation-main ul,
  .hpb-nav-open.main-small-navigation ul{
    display: block;
  }

  #site-navigation{
    background-color: #404c51;
    color: white;
    text-align: center;
    margin: 0;
  }
  #site-navigation .menu-toggle{
    color: white;
  }
  #site-navigation ul{
    float: none;
  }
  #site-navigation li{
    float: none;
  }
  #site-navigation li:hover > a{
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
  }
  #site-navigation a{
    color: white;
  }
  #site-navigation ul ul{
    position: relative;
    top: 0;
    display: block;
    width: 100%;
  }
  #site-navigation ul ul::after, #site-navigation ul ul::before{
    border-width: 0;
  }
  #site-navigation ul ul a{
    width: 100%;
  }
  #site-navigation .current_page_item > a,
  #site-navigation .current-menu-item > a{
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
  }

  /*--------------------------------------------------------------
  15.5.3 Breadcrumb
  --------------------------------------------------------------*/
  #breadcrumb-list{
    margin: 0 10px;
    width: auto;
    margin-bottom: -18px;
    bottom: -10px;
  }

  /*--------------------------------------------------------------
  15.10 Content
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  15.10.3 Comments
  --------------------------------------------------------------*/
  .comment-list li li .comment{
    padding-left: 20px;
  }

  /*--------------------------------------------------------------
  15.13 hpb Style
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  15.13.1 hpb:Header
  --------------------------------------------------------------*/
  #masthead{
    padding-bottom: 0;
  }

  #masthead .site-branding{
    float: none;
    margin: 0 10px;
    width: auto;
    text-align: center;
  }
  #masthead .site-branding .site-title{
    margin: 0;
  }
  #masthead .site-branding .site-title a{
    background-position: center top;
  }

  #hpb-header-extra1 .tel,
  #hpb-header-extra1 .address{
    display: block;
  }

  /* front only */
  body.home #hpb-site-desc,
  body.home #hpb-header-extra1{
    width: 300px;
    margin-left: -150px;
  }
  body.home #hpb-site-desc{
    bottom: -85px;
  }
  body.home #hpb-header-extra1{
    bottom: -125px;
  }
  body.home .site-main{
    padding-top: 145px;
  }

  /* nav */
  #site-navigation{
    float: none;
    width: auto;
    margin-top: 20px;
    margin-bottom: 0;
  }

  /*--------------------------------------------------------------
  15.13.2 hpb:Footer
  --------------------------------------------------------------*/
  #site-sub-navigation{
    margin: 0 10px;
    width: auto;
    padding: 30px 0 15px 0;
  }
  #site-sub-navigation .menu-toggle{
    text-align: center;
  }
  #site-sub-navigation li{
    float: none;
    text-align: center;
    margin-bottom: 1em;
  }
  #site-sub-navigation li::after{
    content: '';
    margin: 0;
  }

  .footer-widgets{
    margin: 0 10px;
    width: auto;
    padding: 30px 0;
  }
  .footer-widgets .widget{
    width: 100%;
    float: none;
    padding: 0;
  }

  #hpb-footer-main{
    padding: 30px 0 20px 0;
  }
  #hpb-footer-main > p{
    text-align: center;
    margin: 0 10px;
    width: auto;
  }

  .wp-login{
    padding-bottom: 30px;
  }
  .wp-login > a{
    text-align: center;
    margin: 0 10px;
    width: auto;
  }

  /*--------------------------------------------------------------
  15.13.3 hpb:Post List
  --------------------------------------------------------------*/
  /* hpb-viewtype-title */
  .hpb-viewtype-title ul{
    margin-left: 10px;
  }

  /* hpb-viewtype-date */
  .hpb-viewtype-date dl{
    margin-left: 10px;
  }
  .hpb-viewtype-date dt{
    float: none;
    width: auto;
    margin-bottom: 0.25em;
  }
  .hpb-viewtype-date dd{
    margin-left: 20px;
  }

  /* hpb-viewtype-content */
  .hpb-viewtype-content dd{
    margin-left: 20px;
  }

  .entry-thumbnail{
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
  }
  .entry-thumbnail img{
    border: solid 1px #404c51;
  }

  /*--------------------------------------------------------------
  15.14 Layout
  --------------------------------------------------------------*/
  .site-main{
    margin: 0 10px;
    width: auto;
    padding: 40px 0;
  }

  .content-area{
    float: none;
    margin: 0;
  }

  .site-content{
    margin: 0;
  }

  #sidebar-1{
    float: none;
    width: 100%;
  }
}
