@charset 'utf-8';


/*==================================================

  サイト全体設定

==================================================*/

body {
  padding-top: 51px;
  font-family: 'Noto Serif JP', serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

#aside,
#article {
  padding: 30px 0;
}

.page-header {
  border-bottom: 2px solid #101010;
}

hr {
  border-style: dashed;
}

h1 {
  text-align: center;
}

h1, h2, h3 {
  font-weight: 600;
}

a {
  transition:
    background-color 0.2s,
    color 0.2s;
  color: inherit;
}

a:not(.btn) {
  transition: opacity 0.2s;
}

  a:not(.btn):hover  {opacity: 0.75}
  a:not(.btn):active {opacity: 0.5};

.row {
  margin-bottom: 15px;
}

@media screen and (max-width: 767px) {

  .row .col-sm-6 + .col-sm-6,
  .row .col-sm-8 + .col-sm-4 {
    margin-top: 10px;
  }

}

section + section {
  margin-top: 30px;
}

.btn {
  border-radius: 0;
}

.btn .material-icons {
  vertical-align: sub;
}

.btn.btn-primary {
  border-color: #000;
  background-color: #101010;
  color: #fff;
}

  .btn.btn-primary:hover {
    background-color: #333;
  }

  .btn.btn-primary:active {
    background-color: #555;
  }

.panel {
  border-radius: 0;
}

.panel.panel-black {
  background-color: #101010;
  color: #fff;
}

.table thead th {
  background-color: #424242;
  color: #fff;
}

.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span,
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-radius: 0;
}

.pagination > li > a,
.pagination > li > span {
  color: #000;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  color: #333;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: #000;
  border-color: #000;
}


/*
  お問い合わせの枠
----------------------------------------*/

#main.home .inquiries p {
  font-size: 18px;
}

#main.home .inquiries .tel strong {
  margin-left: 10px;
  font-size: 36px;
}

#main.subpage .inquiries p {
  font-size: 16px;
}

#main.subpage .inquiries .tel strong {
  display: block;
  margin-bottom: 15px;
  font-size: 30px;
}

@media screen and (max-width: 767px) {

  #main.home .inquiries .tel strong {
    display: block;
    font-size: 36px;
  }

}

@media screen and (min-width: 768px) {

  #aside-fixed-area.fixed {
    position: fixed;
    top: 51px;
  }

}

@media (min-width:  768px) {#aside-fixed-area.fixed #aside {width: 157.5px;}}
@media (min-width:  992px) {#aside-fixed-area.fixed #aside {width: 212.5px;}}
@media (min-width: 1200px) {#aside-fixed-area.fixed #aside {width: 262.5px;}}


/*==================================================

  サイトトップのキャッチ画像

==================================================*/

#frontHero {
  height: calc(100vh - 51px - 200px);
  margin-bottom: 30px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#frontHero > .container,
#frontHero > .container > .row {
  height: 100%;
}

#frontHero > .container {
  position: relative;
}

#hero-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  transform: translateY(-50%);
  padding: 15px 45px;
  background-color: rgba(255, 255, 255, 0.75);
}

  #hero-text .text-big {font-size: 60px;}
  #hero-text .text-sub {font-size: 24px;}

@media screen and (max-width: 767px) {

  #frontHero {
    height: calc(50vh - 51px);
  }

  #hero-text {
    width: auto;
    padding: 15px 30px;
  }

    #hero-text .text-big {font-size: 36px;}
    #hero-text .text-sub {font-size: 18px;}

}


/*==================================================

  ヘッダー

==================================================*/

.navbar.navbar-fixed-top {
  margin-bottom: 0;
  box-shadow: 0 3px 1px rgba(0, 0, 0, 0.25);
}

.navbar.navbar-inverse .navbar-brand {
  color: #ccc;
}

.navbar.navbar-inverse .navbar-brand .material-icons {
  margin-top: -7px;
  margin-right: 5px;
  color: #666;
  font-size: 36px;
  vertical-align: top;
}

@media screen and (max-width: 767px) {

  .navbar.navbar-inverse .navbar-brand {
    width: calc(100% - 60px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

}


/*==================================================

  フッター

==================================================*/

#footer {
  margin-top: 120px;
  background-color: #101010;
  color: #ccc;
}

#footer a {
  color: #ccc;
}

#footer .footer-inner {
  padding: 30px 0 15px;
}

#footer .copyright {
  background-color: #080808;
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
}

#footer .copyright .material-icons {
  font-size: 16px;
  vertical-align: text-bottom;
}


/*==================================================

  トップページ

==================================================*/

#main.home section + section {
  margin-top: 60px;
}

#main.home h2 {
  position: relative;
  margin-bottom: 45px;
  text-align: center;
}

#main.home h2 .backnumber {
  position: absolute;
  bottom: -2px;
  right: 0;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 20px;
  /*background-color: #101010;*/
  /*color: #fff;*/
  font-size: 16px;
}

#main.home a.thumbnail {
  height: calc(100% - 20px);
  border-radius: 0;
  text-decoration: none;
  opacity: 1;
  transition: border-color 0.2s;
}

  #main.home a.thumbnail:hover,
  #main.home a.thumbnail:active {border-color: #000!important}

  #main.home a.thumbnail:focus {border-color: #ddd;}



#main.home a.thumbnail[target="_blank"] h3:after {
  content: "open_in_new";
  margin-left: 0.25em;
  font-family: 'Material Icons';
  font-size: 0.8em;
  vertical-align: bottom;
  opacity: 0.3;
}


a.thumbnail img {
  transition: opacity 0.2s;
}

  a.thumbnail:hover  img {opacity: 0.75;}
  a.thumbnail:active img {opacity: 0.5};

#main.home .thumbnail img {
  width: 100%;
}

@media screen and (max-width: 768px) {

  #main.home h2 {
    margin-top: 45px;
    margin-bottom: 15px;
  }

  #main.home a.thumbnail {
    height: 100%;
    margin-bottom: 0;
  }

}


/*
  新着情報
----------------------------------------*/

#main.home .news dt,
#main.home .news dd {
  margin-bottom: 10px;
}

#main.home .news dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#main.home .news .col-sm-4 .panel {
  margin-bottom: 0;
}

#main.home .news .col-sm-4 .panel .panel-body {
  min-height: 265px;
  padding: 30px 15px;
}

#main.home .news .col-sm-4 .panel .panel-body .btn {
  margin-top: 20px;
  padding: 16px;
}

@media screen and (max-width: 767px) {

  #main.home .news .col-sm-4 {
    margin-top: 60px;
  }

  #main.home .news dt {
    margin-bottom: 0;
  }

}


/*
  コンセプト
----------------------------------------*/

#main.home .concept {
  position: relative;
  padding: 60px 0;
  background-color: #fff;
}

#main.home .concept .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(resources/img/img_top_concept.jpg);
  background-size: cover;
  background-position: center center;
  opacity: 0.4;
  z-index: 1;
}

#main.home .concept .container {
  position: relative;
  z-index: 2;
}

#main.home .concept h2,
#main.home .concept p {
  color: #000;
  text-shadow: 0 0 4px #fff,
               0 0 4px #fff,
               0 0 4px #fff,
               0 0 4px #fff;
  font-weight: 600;
}

#main.home .concept h2 {
  margin-top: 0;
  margin-bottom: 30px;
}

#main.home .concept .btn {
  width: 240px;
}


/*
  商品案内
----------------------------------------*/

#main.home .product-info .caption h3 {
  margin-top: 10px;
  margin-bottom: 15px;
}


/*
  施工例
----------------------------------------*/

#main.home .construction-example .media {
  display: block;
}

#main.home .construction-example .media img {
  width: 140px;
}
#main.home .construction-example .media .media-body .media-heading {
  margin-bottom: 10px;
}

#main.home .construction-example .media .media-body p {
  font-size: 14px;
}

#main.home .construction-example .btn-area {
  margin-top: 30px;
  text-align: center;
}


/*
  会社概要
----------------------------------------*/

#main.home .company-profile {
  margin-top: 60px;
}


/*==================================================

  サブページ - コンセプト

==================================================*/

#main.subpage.concept {
  padding-bottom: 120px;
  background-color: #000;
}

#main.subpage.concept .page-header {
  border: none;
}

#main.subpage.concept .page-header h1 {
  color: #fff;
}

#main.subpage.concept + #footer {
  margin-top: 0;
}


/*==================================================

  サブページ - 初めて畳替えされる方へ

==================================================*/

.abutext {
  position: relative;
}

.abutext .text {
  position: absolute;
  top: 15px;
  left: -8px;
  padding: 9px 12px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.075em;
}


/*==================================================

  サブページ - 施工例

==================================================*/

.panel-accordion .panel-heading {
  padding: 0;
  border-radius: 0;
  overflow: hidden;
}

.panel-accordion .panel-title a {
  display: block;
  position: relative;
  padding: 15px 15px;
  padding-left: 230px;
  padding-right: 45px;
  text-decoration: none;
}

.panel-accordion .panel-title a img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 200px;
}

.panel-accordion .panel-title a img.inkwell {
  opacity: 0.25;
}


.panel-accordion .panel-title .date,
.panel-accordion .panel-title .title {
  display: inline-block;
  vertical-align: middle;
}

.panel-accordion .panel-title .date {
  width: 140px;
}

.panel-accordion .panel-title .title {
}

.panel-accordion .panel-title .material-icons {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -18px;
  font-size: 36px;
  transition: transform 0.2s;
}

.panel-accordion.open .panel-title .material-icons {
  transform: rotate(-180deg);
}

.panel-accordion .panel-body {
  display: none;
}

.panel-accordion .photo-area {
  display: flex;
}

.panel-accordion .photo-area .row > div {
  padding: 5px;
}

.panel-accordion .photo-area a[data-lightbox] {
  transition: opacity 0.2s;
}

  .panel-accordion .photo-area a[data-lightbox]:hover {
    opacity: 0.75;
  }

  .panel-accordion .photo-area a[data-lightbox]:active {
    opacity: 0.6;
  }

.panel-accordion .photo-area a[data-lightbox] img {
  width: 100%;
}

@media screen and (max-width: 767px) {

  .panel-accordion .panel-title a {
    display: block;
    padding: 0;
  }

  .panel-accordion .panel-title a img {
    display: block;
    position: static;
    top: 0;
    left: 0;
    transform: translateY(0);
    width: 100%;
  }

  .panel-accordion .panel-title .date,
  .panel-accordion .panel-title .title {
    display: block;
    width: 100%;
    padding: 5px 15px;
  }

  .panel-accordion .panel-title .date {
    padding-top: 15px;
  }

  .panel-accordion .panel-title .title {
    padding-bottom: 15px;
  }

  .panel-accordion .panel-title .material-icons {
    margin-top: -35px;
  }

  .panel-accordion .photo-area {
    margin-bottom: 15px;
  }

}


/*==================================================

  サブページ - 会社案内

==================================================*/

@media (min-width: 768px) {

  .subpage.aboutus .dl-horizontal dt {
    width: 100px;
    text-align: left;
  }

  .subpage.aboutus .dl-horizontal dd {
    margin-left: 100px;
  }

}

