@charset "utf-8";
/*
Template:sahifa
Theme Name:sahifa_child
*/

body {
font-family: "Avenir Next", Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif !important;

}

@media only screen and (max-width: 500px){
  .logo {
    max-width: calc(100% - 80px);
    margin: 0 auto!important;
  }
}

@media only screen and (max-width: 350px){
  .logo {
    max-width: calc(100% - 60px);
    margin: 0 auto !important;
    text-align: center;
    padding-right: 0;
  }
  .logo img {
    max-width: 100%;
  }
}

.entry h1 {
    font-size: 24px;
}

.entry h2 {
color: #000000;
border-left: 10px solid #14AD5E; /* サイトのキーカラーを設定する */
border-bottom: 1px solid #14AD5E; /* サイトのキーカラーを設定する */
padding: 5px 10px;
font-size: 18px;
font-weight: bold;
font-family: "Avenir Next", Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
}

.entry h3 {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 5px 10px;
font-size: 17px;
font-family: "Avenir Next", Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
}

.entry h4 {
font-size: 16px;
}

.entry h5 {
font-size: 15px;
}

.entry h6 {
font-size: 14px;
}


blockquote p {
    color: #999;
    padding: 0 18px;
    font-family: "Avenir Next", Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-style: inherit;
    border: 4px solid #777;
    border-width: 0 0 0 4px;
}

#second-table {
    border-spacing: 0;
    width: 55%;
    border: 1px solid #eee;
    border-collapse: separate;
    margin-bottom: 1.5em;
}
.bg_gray {
	background-color: #eee;
	padding-bottom: 3rem !important;
}
.hbspt-form fieldset {
	margin: 1rem auto !important;
}
.flexslider .slides img {
    width: 100%;
    height: auto;
    display: block;
}


/* eBook用 */
.ebookTitle {
	background: #111;
	background-image: initial;
	background-position-x: initial;
	background-position-y: initial;
	background-size: initial;
	background-repeat-x: initial;
	background-repeat-y: initial;
	background-attachment: initial;
	background-origin: initial;
	background-clip: initial;
	background-color: rgb(17, 17, 17);
	color: #fff !important;
	font-weight: bold;
	padding: 1rem 1.5rem;
	padding-top: 1rem;
	padding-right: 1.5rem;
	padding-bottom: 1rem;
	padding-left: 1.5rem;
	font-size: 12px;
}
@media screen and (max-width: 900px){
	.entry table tbody td {
		display: block;
		text-align: center;
	}
	.entry table tbody td img {
		width: 95%;
	}
}
  .ebookBody {
    display: block;
    background: #f2f2f2;
    padding: 2rem;
    margin: 0 0 3rem;
  }
  .ebookCover {
    margin-bottom: 3rem;
    flex: 0 0 30rem;
    text-align: center;
  }
	.hbspt-form label.hs-form-booleancheckbox-display > input {
		width: auto !important;
		margin-bottom: 0;
	}
	.hbspt-form label.hs-form-booleancheckbox-display > span {
			font-weight: normal;
		line-height: 1.5em;
	}
	.hbspt-form label.hs-form-booleancheckbox-display > span + .hs-form-required {
		display: none;
	}
	.hbspt-form label > span {
		font-size: 14px !important;
		font-weight: bold !important;
		margin-bottom: 0.5rem !important;
		height: 1.1rem !important;
		line-height: 1em !important;
	}
	.hs-form-field > label {
		display: flex !important;
	}
	.hs-form-field > label > .hs-form-required {
		color: #bc000e;
		padding-left: 0.5rem !important;
	}
	.hs-form-booleancheckbox-display {
		margin-bottom: 3rem !important;
		cursor: pointer !important;
	}
	.hs-form-booleancheckbox-display span {
		font-size: 1.4rem !important;
		position: relative !important;
		padding-left: 0.5rem !important;
		cursor: pointer !important;
	}
  select.hs-input {
		border: 1px solid #d9d9d9 !important;
		padding: 1rem 1.2rem !important;
		width: 100% !important;
		font-size: 1rem !important;
		margin-bottom: 2rem !important;
		background: #fff !important;
		height: 40px !important;
  }

  input[type="checkbox"].hs-input {
		-webkit-appearance: checkbox !important;
		appearance: checkbox !important;
  }

  .hs-richtext {
      font-size: 12px;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

.entry ul.inputs-list li {
    list-style: none;
    list-style-image: none;
}

  .hs-richtext h6,
  .hs-richtext span,
  .hs-richtext strong {
    line-height: 1.6;
  }

  .hs-error-msgs {
		font-size: 0.8rem !important;
		color: #bc000e !important;
		margin: 0 0 2rem !important;
  }
.hbspt-form .actions {
	text-align: center !important;
}
 .hbspt-form .hs_submit input {
    background: #ed0000 !important;
    padding: 1.4rem 0 !important;
    border: none !important;
    font-size: 18px !important;
    color: #fff !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: opacity 300ms !important;
	 text-shadow: none !important;
	 width: 80% !important;
}
textarea:hover, input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=url]:hover, input[type=tel]:hover, input[type=number]:hover, input[type=date]:hover, input[type=file]:hover, input[type=search]:hover, input[type=color]:hover, input[type=datetime]:hover, input[type=datetime-local]:hover, input[type=month]:hover, input[type=range]:hover, input[type=time]:hover, input[type=week]:hover, select:focus {
	background-color: #FFF;
}
  legend.hs-field-desc {
    margin-bottom: 0.5rem;
  }

  @media (min-width: 768px) {
    .article-body > h2.ebookTitle {
      font-size: 2rem;
    }

    .ebookTitle{
      font-size: 2rem;
    }

    .ebookBody {
      display: flex;
    }

    .ebookCover {
      margin-right: 3rem;
      margin-bottom: 0;
    }

    .ebookForm {
      width: 100%;
    }

    legend.hs-field-desc {
      margin-bottom: 1rem;
    }

    .hbspt-form .hs_submit input:hover {
      opacity: 0.8;
    }
  }
/* 1803 追記 　ここから */
body,
.post-title,
.entry h2 {
    font-family: メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 游ゴシック, YuGothic, sans-serif;
}
.post-title {
    font-size: 2rem !important;
    font-weight: bold;
}
.entry h2 {
    color: #000000;
    border-left: 10px solid #001A7B;
    border-bottom: 1px solid #001A7B;
    padding: 5px 10px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
	line-height: 1.4;
}
.wp-caption {
    line-height: 18px;
    margin-bottom: 25px;
    max-width: 100% !important;
    text-align: center;
    font-style: italic;
}
figcaption.wp-caption-text {
    font-size: 10px;
    font-style: normal;
    color: #696969;
    text-align: center;
}
.entry p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}
.post-inner {
    padding: 2rem 4rem;
}
#related_posts .related-item {
    float: left;
    width: 31.33333333%;
    /*height: 220px;*/
    margin: 0 3% 10px 0;
}
#main-content {
    background: #FFF;
    margin: 20px auto 25px;
    position: relative;
    padding: 0;
    -webkit-transform: none;
}
.clearfix:after {
    content:" ";
    display:block;
    clear:both;
}
#wrapper.wide-layout header#theme-header {
    margin-top: 0;
    border: none;
}
.header-content {
	 padding: 0px 15px 10px 15px;
    margin: 0 auto;
}
#main-nav {
    margin: 0 auto;
    background: #2d2d2d;
    box-shadow: inset -1px -5px 0px -1px #393939;
    min-height: 50px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #ddd !important;
    border-top: 1px solid #dddddd;
}
#main-nav ul li {
    font-size: 13px;
    position: relative;
    display: inline-block;
    float: left;
    border: 1px solid #222222;
    border-width: 0 0 0 1px;
    /* width: 16.666%; */
    border-right: 0;
    border: 0;
    text-align: center;
}
#menu-primary-navigation:after {
	    content:" ";
    display:block;
    clear:both;
}
#main-nav ul li.current-menu-item, #main-nav ul li.current_page_parent, #main-nav ul li.current-menu-parent, #main-nav ul li.current-page-ancestor {
    margin-top: 0px;
    height: 50px;
    border-width: 0;
}
#main-nav ul li.current-menu-item a, #main-nav ul li.current-menu-item a:hover, #main-nav ul li.current-menu-parent a, #main-nav ul li.current-menu-parent a:hover, #main-nav ul li.current_page_parent a, #main-nav ul li.current_page_parent a:hover, #main-nav ul li.current-page-ancestor a, #main-nav ul li.current-page-ancestor a:hover {
    /*background: #F88C00;*/
    background:#001A7B;
    color: #FFF;
    height: 50px;
    line-height: 50px;
    border-width: 0 !important;
}
#main-nav ul li a {
    border: 0 none;
    display: block;
}
.featured-cover {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -ms-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 1) 100%);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 1) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 1) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(top, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 1) 100%);
}
.featured-title h2,
#posts-list-widget-2 h3,
.recent-item h3.post-box-title {
	font-weight: bold;
}

.cat-box-content,
#sidebar .widget-container,
.post-listing,
#commentform {
	/*border-bottom: 4px solid #001A7B;*/
}

.button,
a.button,
a.more-link,
#main-content input[type="submit"],
.form-submit #submit,
#login-form .login-button,
.widget-feedburner .feedburner-subscribe,
input[type="submit"],
#buddypress button,
#buddypress a.button,
#buddypress input[type=submit],
#buddypress input[type=reset],
#buddypress ul.button-nav li a,
#buddypress div.generic-button a,
#buddypress .comment-reply-link,
a.bp-title-button {
	background-color: #001A7B;
}

#theme-footer {
border-top:8px solid #001A7B;
}

@media only screen and (min-width: 1046px) {
	#wrapper.wide-layout .header-content, #wrapper.wide-layout .breaking-news, #wrapper.wide-layout .container, #wrapper.wide-layout #main-nav ul li.mega-menu .mega-menu-block {
    width: 1200px;
}
	.content {
    float: left;
    width: 860px;
}
}
@media only screen and (max-width: 900px){
	#slide-out-open {
    display: block;
}
	#slide-out-open {
    margin: 0;
    position: absolute;
    top: 28%;
    left: 5px;
    opacity: 1;
    height: 33px;
    width: 40px;
    z-index: 505;
}
}
@media only screen and (max-width: 730px){
	.featured-title h2 {
    margin-bottom: 15px;
    text-shadow: rgba(0, 0, 0, .6) 0 0 5px;
    font-size: 16px;
    line-height: 20px;
}
}
@media only screen and (max-width: 500px){
.post-inner {
    padding: 1rem 1rem;
}
	.entry p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}
	.entry h2 {
    color: #000000;
    border-left: 10px solid #001A7B;
    border-bottom: 1px solid #001A7B;
    padding: 5px 10px;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}
	.post-title {
    font-size: 1.5rem !important;
    font-weight: bold;
		line-height: 1.7;
}
	.recent-box .recent-item {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	h3.post-box-title, h3.post-box-title a {
    font-size: 14px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
	.recent-box .recent-item .post-thumbnail {
		margin-right: 0.5rem;
		width: 35%;
	}
	.cat-box-title h2,
	.textwidget h4 {
    margin-left: 5px;
}
	.facebook-box iframe div,
	.textwidget iframe div {
		margin: 0 auto;
	}
}
/* flexでのレイアウト調整 */
.recent-box .cat-box-content {
    padding: 20px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.recent-box .recent-item, .scroll-box .scroll-item {
    float: left;
    width: 31.33333333%;
    margin: 0 3% 10px 0;
    height: auto;
}
/* hubSpotフォーム */
.hbspt-form {
	max-width: 500px;
	margin: 0 auto;
	padding: 0px 0 30px 0;
}
@media only screen and (max-width: 730px){
	.hbspt-form {
	max-width: 97%;
}
}
  .hbspt-form label.hs-form-booleancheckbox-display > input {
    width: auto !important;
    margin-bottom: 0;
  }

  .hbspt-form label.hs-form-booleancheckbox-display > span {
    font-weight: normal;
    line-height: 1.5em;
  }

  .hbspt-form label.hs-form-booleancheckbox-display > span + .hs-form-required {
    display: none;
  }

  .hbspt-form input[type="text"],
  .hbspt-form input[type="tel"],
  .hbspt-form input[type="email"] {
    border: 0.5px solid #d9d9d9;
    padding: 0.8rem 1rem;
    width: 100% !important;
    font-size: 16px;
    margin-bottom: 2rem;
    line-height: normal;
	  height: auto !important;
  }
.hbspt-form input[type="radio"] {
	margin-right: 10px;
}
  .hbspt-form label > span {
      font-size: 14px;
    font-weight: bold;
    margin-bottom: 0.5rem;
    height: 1.1rem;
    line-height: 1em;
  }

  .hs-form-field > label {
    display: flex;
  }

  .hs-form-field > label > .hs-form-required {
    color: #bc000e;
    padding-left: 0.5rem;
  }

  .hs-form-booleancheckbox-display {
    margin-bottom: 3rem;
    cursor: pointer;
  }

  .hs-form-booleancheckbox-display span {
    font-size: 1.4rem;
    position: relative;
    padding-left: 0.5rem;
    cursor: pointer;
  }

  select.hs-input {
    border: 0.1rem solid #d9d9d9;
    padding: 1rem 1.2rem;
    width: 100% !important;
    font-size: 16px;
    margin-bottom: 2rem;
    background: #fff;
	  height: 40px;
  }

  input[type="checkbox"].hs-input {
    -webkit-appearance: checkbox;
    appearance: checkbox;
  }

  .hs-richtext {
      font-size: 12px;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

.entry ul.inputs-list li {
    list-style: none;
    list-style-image: none;
}

  .hs-richtext h6,
  .hs-richtext span,
  .hs-richtext strong {
    line-height: 1.6;
  }

  .hs-error-msgs {
    font-size: 1.2rem;
    color: #bc000e;
    margin: 0 0 2rem;
  }

 .hbspt-form .hs_submit input[type="submit"] {
	 background-image: none !important;
    background-color: #ed0000 !important;
    padding: 1.4rem 0 !important;
    border: none !important;
    font-size: 18px !important;
	 max-width: 100% !important;
	 width: 100% !important;
    color: #fff !important;
    margin: 3rem 0 0 !important;
    cursor: pointer !important;
    transition: opacity 300ms !important;
}
.hbspt-form .hs_submit input[type="submit"]:hover {
	background-color: #ca0606 !important;
}

  legend.hs-field-desc {
    margin-bottom: 0.5rem;
  }

  @media (min-width: 768px) {
    .article-body > h2.ebookTitle {
      font-size: 2rem;
    }

    .ebookTitle{
      font-size: 2rem;
    }

    .ebookBody {
      display: flex;
    }

    .ebookCover {
      margin-right: 3rem;
      margin-bottom: 0;
    }

    .ebookForm {
      width: 100%;
    }

    legend.hs-field-desc {
      margin-bottom: 1rem;
    }

    .hbspt-form .hs_submit input:hover {
      opacity: 0.8;
    }
  }
/* ++++++
 * 個別相談のテーブル
 * +++++++ */
.responsiveTable {
	max-width: 100%;
}
.responsiveTable th {
	background: #F4F4F4;
    border-bottom: 1px solid #ddd;
    text-align: center !important;
}
.responsiveTable td {
	width: 80%;
	padding: 1em !important;
}
.responsiveTable ul li,
.responsiveTable ol li,
.responsiveTable dl {
	list-style-position: inside !important;
}
.responsiveTable .small {
	font-size: 80%;
}
.responsiveTable .topline {
	border-top: 1px #ccc dashed;
	padding-top: 1em;
}
.responsiveTable .bottomline {
	border-bottom: 1px #ccc dashed;
	padding-bottom: 1em;
}
.responsiveTable .place {
	max-width: 50%;
}
@media (max-width: 768px) {
	.responsiveTable th {
		width: 30%;
	}
	.responsiveTable td {
		width: 100%;
		text-align: left !important;
	}
	.responsiveTable .place {
	max-width: 100%;
}
}
