
/* ------------------------------------------
                  COMMON
------------------------------------------ */

:root {
	--text_main_color: #111111;
	--text_white_color: #ffffff;
	--text_middle_color: #767777;
	--main_color: #2e3092;
	--bg_color: #ffffff;
	--middle_color: #dcdcdc;
	--header_bg_color: rgba(255,255,255,0.88);
}

html{
    scroll-padding-top: 77px;
}
body {
    padding-top: 80px;
    font:14px 'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: var(--text_main_color);
    background-color: var(--bg_color);
    line-height: 1.75;
}
a {
    color: var(--main_color);
}
a:focus, a:hover {
    opacity: 0.7;
    color: var(--main_color);
    text-decoration: underline;
}

.navbar {
    --bs-navbar-toggler-focus-width: 0.125rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0;
    padding: 0.5em 0;
    border-radius: 0;
    background: var(--header_bg_color);
    z-index: 1000;
    transition :all 0.2s ease-in-out 0s;
}
.sticky {
    padding: 0.25em 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.navbar h1 {
    text-align: left;
    font-size: 22px;
    padding-top: 14px;
    margin-bottom: 20px;
}
.navbar h1 a{
    color:  var(--main_color);
}
.navbar h1 img {
    width: 240px;
    max-height: 60px;
    margin: -20px 0 -20px 0;
    transition :all 0.2s ease-in-out 0s;
}
.sticky h1 img {
    transform :scale(0.8);
}
.navbar-header {
    margin: 0;
}
.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
    flex-grow: 0;
}

.navbar-nav {
    width: auto;
}

.navbar-nav > li {
    padding: 5px 0;
}
.navbar-nav > li > a,
.navbar-nav li > a:focus,
.smooth-scroll-scrolling .navbar-nav li.active > a {
    background: transparent;
    padding: 10px 12px;
    color:  var(--main_color);
    font-weight: bold;
    display: block;
    text-decoration: none;
}
.navbar-nav li > a:hover,
.navbar-nav li.active > a,
.navbar-nav li.force-active > a,
.smooth-scroll-scrolling .navbar-nav li.force-active.active > a,
.smooth-scroll-scrolling .navbar-nav li > a:focus,
.smooth-scroll-scrolling .navbar-nav li.active > a:focus {
    background: var(--main_color);
    color:  var(--text_white_color);
}

.header-buttonWrap {
  max-width: 120px;
  float: right;
}

ul.header-socialbtn {
    margin-bottom: 0;
    padding-left: 2rem;
}
ul.header-socialbtn li {
    display: inline-block;
    padding: 10px 0;
    list-style: none;
    line-height: 20px;
}
ul.header-socialbtn li a {
    min-width: 30px;
    display: inline-block;
    padding: 5px 0;
    color: #ffffff;
    text-align: center;
}
ul.header-socialbtn li.x-twitter a {
    background: #000000;
}
ul.header-socialbtn li.facebook a {
    background: #3B599C;
}
footer {
    padding: 15px 0;
    background: var(--middle_color);
    font-size: 86%;
    color: var(--text_main_color);
}

/* ------------------------------------------
             CONTENT COMMON STYLES
------------------------------------------ */
.content {
    padding: 2em 0;
}
.content article h1 {
    margin: 0 0 15px 0;
    font-size: 30px;
}
.content article h2 {
    font-size: 25px;
}
.content article h3 {
    font-size: 1.5em;
}
.content article p {
    margin-bottom: 1em;
}
.content article .row {
    margin-bottom: 1em;
}

/* ------------------------------------------
                 LOWER CONTENT
------------------------------------------ */
.mainvisual-lower {
    position: relative;
    z-index: 1;
    padding: 3.5em 0;
    background: url('https://heison.jp/images/bg-top-main.jpg') no-repeat center bottom;
    background-size: cover;
    color: var(--text_white_color);
}
.mainvisual-lower .overray {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main_color);
    opacity: 0.3;
}
.mainvisual-lower .row {
    display: table;
    width: 100%;
}
.mainvisual-lower .row .col-sm-12 {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}
.mainvisual-lower h2 {
    margin: 0;
    font-size: 40px;
}
.mainvisual-lower h2 i {
    padding-right: 10px;
    font-size: 50px;
}
.mainvisual-lower h2 a {
    color: #ffffff;
}
.mainvisual-lower h2 a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.mainvisual-lower h2 a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.entry-list article {
    margin-bottom: 3em;
    padding-bottom: 3em;
    border-bottom: solid 1px var(--middle_color);
}
.entry-list figure {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}
.entry-list figure img {
    width: 100%;
    border: solid 1px var(--middle_color);
    max-width: 240px;
}

.entry-meta time {
    display: inline-block;
    color: var(--text_main_color);
}
.entry-meta time span {
    display: inline-block;
}
.entry-meta .category {
    padding: 0.5em 0.8em;
    background: var(--middle_color);
    color: var(--text_main_color);
    margin-left: 8px;
    font-size: 0.825em;
}

.entry-meta a.category:hover {
	text-decoration: none;
}

.content article .entrytitle {
  font-size: 2.25em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  color: var(--main_color);
}
.content article .entrytitle a:hover {
	text-decoration: none;
}

.entry-body {
  margin-bottom: 2em;
}

.entry-excerpt {
    margin-bottom: 1em;
}
.pagemore {
    text-align: left;
}
.content .entry-list h1 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--text_middle_color);
}
.sidebar nav {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: solid 3px var(--middle_color);
}
.sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 15px;
    font-weight: bold;
}

.sidebar ul {
    padding: 0;
    margin: 12px 0 auto 12px;
    list-style-type: none;
}
.sidebar ul li {
    margin: 0px 0px 12px 0px;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    list-style: none;
    border-bottom: solid 1px #e9e9e9;
}

.side-nav > ul > li {
  border-bottom: 0px;
}

.sidebar ul li:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
h3.page-title {
    margin: 0 0 1em 0;
}

/* ------------------------------------------
                 ENTRY DETAIL
------------------------------------------ */
.entry-detail figure {
    margin-bottom: 2em;
}
.entry-detail img {
    max-width: 100%;
    height: auto;
}

/* ------------------------------------------
                    BTN
------------------------------------------ */
.btn-primary {
    background:  var(--main_color);
    border-color:  var(--main_color);
    padding: 8px 15px;
	 border-radius: 0;
}
.btn-primary:hover {
    background:  var(--main_color);
    border-color:  var(--main_color);
    opacity: 0.88;
}
.btn-secondary {
    background: var(--bg_color);
    border-color: var(--text_middle_color);
}
.btn-secondary:hover {
    background: var(--middle_color);
    border-color: var(--middle_color);
}
.btn-info {
    background: var(--main_color);
    border-color: var(--main_color);
}
.btn-info:hover {
	opacity: 0.7;
}
.btn-success {
    background: var(--main_color);
    border-color: var(--main_color);
}
.btn-success:hover {
	opacity: 0.7;
}

/* ------------------------------------------
                    TOP
------------------------------------------ */
body#sitetop {
    padding-top: 0;
}

.mainvisual {
    width: 100%;
    min-height: 1080px;
    padding: 21em 0 3em 0;
    background: url('https://heison.jp/images/bg-top-main.jpg') no-repeat center bottom;
    background-size: cover;
    text-align: center;
    border-bottom: solid 1px #e9e9e9;
  	background-repeat: no-repeat;
  	background-attachment: fixed;
    background-position: 50% 50%;
}
.mainvisual h2 {
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    color: var(--text_main_color);
    margin: 0 0 20px 0;
}
.mainvisual .btn-group .btn {
    width: 300px;
}
.mainvisual .logo_images {
    width: auto;
    max-width: 40%;
    height: auto;
}
.main-text {
    color: var(--text_white_color);
}
.main-text a{
    color: var(--text_main_color);
}
.webpages {
    border-bottom: 1px solid var(--middle_color);
    color: var(--bg_main_color);
}
.webpages .container {
    padding: 50px 15px;
}
.webpages .image-top{
    padding: 10px 15px 50px 15px;
}

.webpages h3 {
  position: relative;/*相対位置*/
  padding-left: 1.4em;/*アイコン分のスペース*/
  line-height: 1.4;/*行高*/
  color: var(--main_color);/*文字色*/
  font-size: 30px;
  font-weight: 900;
}

.webpages h3:before {
  font-family: "Font Awesome 5 Free";
  content: "\1FA93";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 30px;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: 0;/*アイコンの位置*/
  color: #ff938b; /*アイコン色*/
}


.webpages h4 {
    font-size: 22px;
    color: var(--text_middle_color);
    font-weight: bold;
    padding-top: 10px;
}
.webpages h5 {
    font-size: 18px;
    color: #767777;
    font-weight: bold;
    padding-top: 10px;
}
.webpages img {
    height: auto;
}
.pageimage {
    height: 400px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* figure */
figure {
    margin: 16px 0;
}

figure figcaption {
    font-size: 0.75em;
    margin-top: 4px;
}
figure.mt-figure-center figcaption {
    text-align: center;
}

.top-news {
    padding: 3em 0;
    color: var(--main_color);
}

.top-news h3 {
  position: relative;/*相対位置*/
  padding-left: 1.4em;/*アイコン分のスペース*/
  line-height: 1.4;/*行高*/
  color: var(--main_color);/*文字色*/
  font-size: 30px;
  font-weight: 900;
}

.top-news h3:before {
  font-family: "Font Awesome 5 Free";
  content: "\1FA93";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 30px;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: 0;/*アイコンの位置*/
  color: #ff938b; /*アイコン色*/
}
.top-news  .col {
    margin-bottom: 15px;
}
.top-news a {
    display: block;
    height: 100%;
    padding-top: 16px;
    background: var(--bg_color);
    color: var(--text_main_color);
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.top-news a:hover {
    text-decoration: none;
}
.top-news figure {
    display: block;
    height: 150px;
    overflow: hidden;
    margin-top: 0;
}
.top-news figure.noimage {
    height: 150px;
    background: var(--middle_color);
    text-align: center;
    line-height: 150px;
    color: var(--text_white_color);
    font-size: 30px;
}
.top-news figure img {
    width: 100%;
}
.top-news .entry-detail {
    padding: 1em;
}
.top-news h4 {
    margin: 0 0 0.5em 0;
    font-size: 114%;
}
.top-news p {
    margin: 0;
}
.top-news p.entry-excerpt {
    font-size: 86%;
}
.top-news .top-newslist {
    margin-top: 2em;
    text-align: center;
}

/* ------------------------------------------
               STYLE FOR TABLET
------------------------------------------ */
@media screen and (max-width:767px){
img {
    max-width: 100%;
}
header {
    margin-bottom: 5px;
}
.container > .navbar-header {
    position: relative;
    margin: 0 0 20px 0;
}
.navbar-nav {
    margin: 0;
    border: solid 1px var(--middle_color);
}
.navbar-nav > li {
    padding: 0;
}
button.navbar-toggle {
    position: absolute;
    right: 0;
    top: 0;
    padding: 8px 11px;
    margin-right: 0;
    background: var(--middle_color);
    border: solid 1px #f1f1f1;
    border-radius: 3px;
    font-size: 15px;
}
.container>.navbar-collapse {
    margin: 0;
}
ul.header-socialbtn {
    float: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-logoarea {
    text-align: center;
}

footer .col-sm-6 {
    margin-bottom: 0;
}
.mainvisual .btn-group {
    display: block;
    text-align: center;
}
.mainvisual .btn-group .btn {
    display: inline-block;
    width: 45%;
    float: none;
    margin-bottom: 0.5em;
    border-radius: 3px;
}
.mainvisual .btn-group .btn:last-of-type {
    margin: 0;
}
.top-news .col {
    width: 100%;
    margin-bottom: 30px;
}
.top-news a {
    width: 90%;
    margin: 0 auto;
}
.sidebar {
    width: 100%;
}
.sidebar h3 {
    padding: 1em 0.7em;
    background: var(--main_color);
}
.entry-list figure {
    width: 40%;
}
}

/* ------------------------------------------
                  for sp
------------------------------------------ */
@media(max-width:768px){
.entry-list figure {
    display: none;
}
.mainvisual {
	background-attachment: scroll;
}
.pageimage {
	background-attachment: scroll;
    height: 250px;
}
.navbar h1 {
    font-size: 18px;
    padding-top: 18px;
}
.header-buttonWrap {
  max-width: none;
  float: none;
}
}

/* ------------------------------------------
                  for ipadpro
------------------------------------------ */
@media(max-width:834px){
.entry-list figure {
    display: none;
}
.mainvisual {
	background-attachment: scroll;
}
.pageimage {
	background-attachment: scroll;
    height: 250px;
}
.navbar h1 {
    font-size: 18px;
    padding-top: 18px;
}
}

/* ------------------------------------------
                  for safari
------------------------------------------ */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    _::-webkit-full-page-media, _:future, :root .mainvisual {
	background-attachment: scroll;
	}
    _::-webkit-full-page-media, _:future, :root .pageimage {
	background-attachment: scroll;
}
}

/* ------------------------------------------
                  SNS
------------------------------------------ */
.entry-social-buttons ul {
  clear: both;
  margin-bottom: 20px;
  margin-left: 0px;
  padding-left: 0px;
}

.entry-social-buttons ul li{
  margin-right: 0.5em;
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: bottom;
  list-style: none;
}

.entry-social-facebook {
  padding-bottom: 6px;
}

/* ------------------------------------------
                  Pagination
------------------------------------------ */
.page-navigation {
    text-align: center;
}
.page-navigation ul{
    display: block;
    padding-bottom: 10px;
}
.page-navigation li {
    display: inline-block;
    border-bottom: none;
}
.page-navigation li a{
    padding: 0 10px;
}
.page-navigation li a[rel="prev"]::before {
    content: "«";
    margin-right: 0.3em;
}
.page-navigation li a[rel="next"]::after {
    content: "»";
    margin-left: 0.3em;
}

/* サブカテゴリー対応 */
.sidebar .catdepth-2 {
    position: relative;
    margin-bottom: 0px;
    margin-left: 0px;
}

.sidebar li.catdepth-2  {
    border: 0px;
}

.sidebar .catdepth-2 .nolink {
    color: var(--text_middle_color);
}
.sidebar .catdepth-2 .nolink::after {
    content: "(0)";
}

.sidebar .catdepth-2::before {
    content: "└";
    position: absolute;
    left: -1em;
    top: 2px;
}

.sidebar .catdepth-3 {
    position: relative;
    margin-left: 12px;
}

.sidebar .catdepth-3 .nolink {
    color: #999999;
}
.sidebar .catdepth-3 .nolink::after {
    content: "(0)";
}

.sidebar .catdepth-3::before {
    content: "└";
    position: absolute;
    left: -1em;
    top: 2px;
}


/* ------------------------------------------
            webpush
------------------------------------------ */
.webpush {
display: none;
}
.pushArea {
  margin: 0rem auto 2rem;
}

.pushArea a {
  text-decoration: none;
}

.mtnet-push-notification-service-enabled .webpush {
  display: block;
}

.side-webpush {
  max-width: 100%;
  display: block;
  text-align: center;
  padding: 12px;
  background-color: var(--main_color);
  color: var(--text_white_color);
  line-height: 1.25;
  border-radius: 3px;
}

.side-webpush__txt {
  text-align: center;
}
@media(max-width:990px){
  .side-webpush__txt-br {
    display:none; 
  }
}

.side-webpush__txt::before {
  content: "\f0f3";
  margin-right: 0.25rem;
  font-size: 1.25em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.mtnet-subscription-modal-fold {
	background: var(--main_color) !important;
}

