@charset 'utf-8';


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

  サイト全体設定

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

body {
  padding-top: 60px;
  background-color: #edede8;
  background-image: url(./common/img/bg_arches.png);
  font-family: 'Noto Serif JP', serif;
  color: #222;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .05rem;
}

article {
  min-height: 500px;
}

h2 {
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-weight: bold;
}

hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {

  body {
    padding-top: 54px;
  }

  .hidden-sp {
    display: none;
  }

}

a, a:hover {
  color: #d0121b;
}

.table th,
.table td {
  white-space: nowrap;
}

.btn .material-icons {
  margin-top: -0.175rem;
  vertical-align: middle;
}

  .btn .material-icons:first-of-type {
    margin-right: 0.5rem;
  }

@media (max-width: 767px) {

  body {
    font-size: 16px;
  }

}


/*
  ページ読み込み画面
----------------------------------------*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 1090;
}

.overlay .icon-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overlay .icon-loading .icon {
  width: 200px;
  height: 150px;
  background-image: url(./common/img/logo_name_gy.svg);
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}


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

  ヘッダー

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

header {
  position: relative;
  box-shadow: 0 2px 3px rgb(52 58 64 / 10%);
}

header .navbar-brand {
  margin: 0 auto;
  margin-top: -8px;
  padding: 0;
  color: #222;
}

header .navbar-brand .material-icons,
header .navbar-brand .logo-name {
  display: inline-block;
  vertical-align: middle;
}

header .navbar-brand .material-icons {
  font-size: 1.5em;
}

header .navbar-brand .logo-name {
  width: 120px;
  height: 30px;
}

header .navbar-brand .logo-right {
  display: inline-block;
  margin-left: 0.5rem;
  color: #666;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: normal;
  vertical-align: middle;
}

header .navbar-nav .nav-item {
  margin: 0 0.125rem;
}

header .navbar-nav .nav-item a.nav-link {
  color: #222;
}

header .navbar-nav .nav-item.active a.nav-link {
  color: #212529;
  font-weight: bold;
}

@media (min-width: 992px) {

  header {
    height: 60px;
  }

  header .navbar-nav .nav-item a.nav-link {
    font-size: 0.95rem;
  }

}

@media (max-width: 991px) {

  header .navbar-brand {
    height: 40px;
    margin-top: -3px;
  }

  header .navbar-brand .logo-right {
    margin-right: -45px;
  }

  header .navbar-toggler {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 45px;
    height: 45px;
    padding: .5rem .55rem;
  }

  header .navbar-nav {
    margin-bottom: 1rem;
  }

}

@media (max-width: 374px) {

  header .navbar-brand .logo-right {
    display: none;
  }

}


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

  フッター

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

footer {
  margin-top: 9rem;
  padding: 3rem 0 1rem;
  padding-bottom: calc(100px + 1rem);/*下部お問い合わせ分を追加*/
  background-color: #222;
}

footer hr {
  margin: 2rem 0;
}

footer ul {
  padding-left: 0;
  list-style: none;
}

  footer ul ul li::before {
    content: '-';
    margin-left: 0.25em;
    margin-right: 0.25em;
    color: rgba(255,255,255,.75);
  }

footer a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}

  footer a:hover {
    color: #fff;
  }

footer .copyright {
  margin-top: 2rem;
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 767px) {

  footer {
    padding-bottom: calc(60px + 1rem);/*下部お問い合わせ分を追加*/
  }

}


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

  各種パーツ（トップページ）

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


/*
  下部お問い合わせ
----------------------------------------*/

#contactBar {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1); 
  background-color: rgba(34, 34, 34, .8);
}

#contactBar .btn {
  height: 60px;
  -webkit-appearance: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 20px;
  font-weight: bold;
}

#contactBar .btn .material-icons {
  margin-top: -0.1em;
  font-size: 1.5em;
  vertical-align: middle;
}

@media (max-width: 767px) {

  #contactBar {
    padding: 0.5rem 0;
  }

  #contactBar .btn {
    height: 46px;
    padding: 0.5rem 0;
    font-size: 18px;
  }

}


/*
  トップページ最上部
----------------------------------------*/

#hero {
  margin-bottom: 5rem;
}

#sliderTopMain .slick-slide {
  height: 60vh;
  background-color: #222;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#sliderTopSub {
  padding: 15px 0;
  background-color: #222;
}

#sliderTopSub .slick-slide {
  height: 80px;
  padding: 0 5px;
  opacity: 0.25;
  transition: opacity 0.2s;
}

#sliderTopSub .slick-slide.slick-active.slick-center {
  opacity: 1;
}

#hero .comment {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
}

@media (max-width: 767px) {

  #sliderTopMain .slick-slide {
    height: 40vh;
  }

  #sliderTopSub .slick-slide {
    height: 40px;
  }

}


/*
  トップページメニュー
----------------------------------------*/

#indexBlock {
  margin: 3rem 0 5rem;
}

#indexBlock .block {
  display: block;
  margin: 1rem 0;
  padding: 2.5rem 1rem 0;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(52, 58, 64, 0.1);
  transition: box-shadow 0.2s;
  overflow: hidden;
  color: #212529;
  text-align: center;
  text-decoration: none;
}

  #indexBlock a.block:hover {
    box-shadow: 0 0 10px rgba(52, 58, 64, 0.25);
  }

#indexBlock .block h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

#indexBlock .block p {
  color: #6c757d;
  font-size: 0.95rem;
}

#indexBlock .block .thumb {
  width: 90%;
  height: 240px;
  margin: 2rem auto 0;
  border-radius: 4px 4px 0 0;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 3px rgba(52, 58, 64, 0.25);
  overflow: hidden;
  transition: opacity 0.2s;
}

  #indexBlock a.block:hover .thumb {
    opacity: 0.75;
  }


/*
  トップページ更新情報
----------------------------------------*/

#indexInfo {
}

@media (min-width: 1200px) {

  #indexInfo dl dt {
    text-align: right;
  }

}


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

  各種パーツ（サブページ）

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


/*
  顔写真と紹介と紹介
----------------------------------------*/

#nakanohitoBlock {
  padding: 4rem 45px 3rem;
  background-color: #fff;
  text-align: center;
}

#nakanohitoBlock .thumb-main img {
  width: 202px;
  height: 202px;
  border: 1px solid rgba(0,0,0,.1);
}

#nakanohitoBlock .kakun {
  max-height: 200px;
}


/*
  タイトル部分
----------------------------------------*/

#subpageHeader {
  position: relative;
  background-size: cover;
  background-position: center center;
  text-align: center;
}

  #subpageHeader::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.75);
    z-index: 1;
  }

#subpageHeader h1 {
  position: relative;
  margin-bottom: 0.5rem;
  color: #fff;
  z-index: 2;
}

#subpageHeader p {
  position: relative;
  color: #fff;
  z-index: 2;
}

@media (min-width: 768px) {

  #subpageHeader {
    padding: 5rem 0 4.5rem;
  }

}

@media (max-width: 767px) {

  #subpageHeader {
    padding: 3rem 0;
  }

  #subpageHeader h1 {
    font-size: 2rem;
  }

}


/*
  パンくずリスト
----------------------------------------*/

#breadcrumbArea {
  margin-bottom: 3rem;
}

#breadcrumbArea .breadcrumb {
  margin-bottom: 0;
  padding: 0.75rem 0;
  background: none;
  border-radius: 0;
}

#breadcrumbArea .breadcrumb-item.active {
  color: #222;
}

  #breadcrumbArea .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    margin-top: -0.1em;
    color: #222;
    vertical-align: top;
  }

@media (max-width: 991px) {

  #breadcrumbArea {
    margin-bottom: 1rem;
  }

}


/*
  フッター上の会社概要
----------------------------------------*/

#contactBlock {
  margin-top: 9rem;
  margin-bottom: -9rem;
  padding: 3rem 0 2.5rem;
  background-color: #fff;
}

#contactBlock h3 {
  margin-bottom: 1rem;
  font-weight: bold;
}

#contactBlock iframe {
  width: 100%;
}


/*
  左側ナビ
----------------------------------------*/

#sideNavi {
  position: sticky;
  top: 75px;
  bottom: 30px;
}

#sideNavi .list-group-item {
  padding-left: 1.75rem;
  border: none;
  border-radius: 0;
  background-color: #fff;
  color: #333;
  transition: opacity 0.2s;
}

  #sideNavi .list-group-item::before {
    content: '- ';
    margin-left: -0.75rem;
    color: #ccc;
  }

  #sideNavi .list-group-item + .list-group-item {
    margin-top: 1px;
  }

  #sideNavi .list-group-item:hover {
    opacity: 0.6;
  }

  #sideNavi .list-group-item:active {
    opacity: 0.3;
  }

#sideNavi .list-group-item.sub-item {
  padding-left: 2.5rem;
  font-size: 0.9rem;
}

  #sideNavi .list-group-item.sub-item::before {
    content: '・';
    margin-left: -1rem;
  }

@media (max-width: 767px) {

  #sideNavi {
    margin-bottom: 1rem;
  }

}

/*
  投稿部分
----------------------------------------*/

#subpageArticle section {
  background-color: #fff;
  padding: 1.5rem 45px 2.5rem;
}

  #subpageArticle section + section {
    margin-top: 3rem;
  }

#subpageArticle h2 {
  margin-top: 0;
  padding: 0.75rem 0 1.25rem;
  border-bottom: 2px solid #212529;
  font-weight: bold;
}

#subpageArticle h3 {
  margin: 0.5rem 0 1.5rem;
  font-weight: bold;
}

#subpageArticle ul {
  padding-left: 1.75rem;
}

#subpageArticle section > hr {
  border-style: dashed;
}

#subpageArticle .card hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {

  #subpageArticle section {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0.5rem 15px 1.25rem;
  }

}


/*
  企業情報
----------------------------------------*/

#subpageArticle iframe.map {
  width: 100%;
}


/*
  よくある質問
----------------------------------------*/

#faqNavi {
}

  #faqNavi .list-group-item::before {
    content: 'Q.';
    margin-right: 0.5rem;
  }

#faqArea .card + .card {
  margin-top: 1.75rem;
}

#faqArea .card-body {
}

#faqArea .card-body h5,
#faqArea .card-body p {
  position: relative;
}

#faqArea .card-body h5 {
  margin-bottom: 1.5rem;
  padding: 0.5rem 0 1rem;
  padding-left: 3.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, .125);
  color: #1976D2;
  font-weight: bold;
}

#faqArea .card-body p {
  padding-left: 3.25rem;
}

  #faqArea .card-body h5::before,
  #faqArea .card-body p:first-of-type::before {
    position: absolute;
  }

  #faqArea .card-body h5::before {
    content: 'Q.';
    top: -0.1rem;
    left: 0.65rem;
    font-size: 2rem;
  }

  #faqArea .card-body p:first-of-type::before {
    content: 'A.';
    top: -0.475rem;
    left: 1.25rem;
    color: #d0121b;
    font-size: 1.5rem;
    font-weight: bold;
  }

