@charset "UTF-8";

/* ====== 共通 ====== */

a:hover {
  text-decoration: none;
  opacity: 0.8;
}

header .navbar-brand {
/*  width: 20%; */
}

header .navbar-brand .logo {
  width: 100%;
}

header .tel {
  font-size: 2rem;
  color: #fff;
}

header .tel a {
  color: #fff;
}

/* ====== TOTOP ====== */
/* ページトップ */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 80%;
}

#page-top a {
  background: #666;
  text-decoration: none;
  color: #fff;
  width: 100px;
  padding: 25px 0;
  text-align: center;
  display: block;
  border-radius: 10px;
}

#page-top a:hover {
  text-decoration: none;
  background: #999;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled).active {
  color: #6c757d !important;
}

/* ====== TOP IMAGE ====== */

header.top-page {
  /*  height: 100vh; */
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
}


.jumbotron .bg-rgba {
  background-color: rgba(255, 255, 255, 0.9);
}

.jumbotron h1 {
  word-wrap: break-word;
}

.jumbotron h2 {
  line-height: 1.8rem;
}

/* ====== TOPPAGE SECTION ====== */


.ttl-bdr {
  font-size: 2rem;
  line-height: 1.5;
  position: relative;
  margin-bottom: 50px;
}

.ttl-bdr::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 5px solid #000;
  width: 12%;
  margin: 0 auto -15px;
}

/* ====== SNS ====== */
.social img {
  width: 36px;
  height: 36px;
}

/* ====== SNS ====== */

iframe {
  width: 100%;
  height: 450px;
}

/* ====== FOOTER ====== */
.footer-logo {
  width: 50%;
}

/* =============================================
メディアクエリ
============================================= */

/* 大デバイス（デスクトップ, 1200px 未満）
==============================================*/
@media screen and (max-width: 1199.98px) {
  .herounit h1 {
    margin-top: 10rem;
  }
}

/* END */
/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width: 991.98px) {
  .container {
    max-width: 740px;
  }
}

/* END */
/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }

  #sec3 {
    background-image: none;
  }

  header .navbar-brand {
    /* width: 70%; */
  }

  header .navbar-brand .logo {
    width: 100%;
  }

  header .navbar-nav {
    border-top: 1px solid #fff;
  }

  .footer-logo {
    width: 100%;
  }

}

/* END */
/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width: 575.98px) {
  .display-3 {
    line-height: 0.8em;
  }

  .display-4 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* END */


body {
  margin: 0;
  padding: 0;
  font-family: var(--main-font);
  /*フォント種類。css冒頭で指定しているmain-fontを読み込みます*/
  -webkit-text-size-adjust: none;
  color: var(--primary-text-color);
  /*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
  line-height: 2.2;
  /*行間*/
  animation: opa1 0.5s 0.2s both;
  /*0.2秒の間だけ非表示にし、その後0.5秒かけてフェードイン表示*/
  background-color: #fff;
  /*背景色*/
}

:root {

  /*色の一括管理*/
  --primary-color: #fdf7e1;
  /*このテンプレートのテーマカラー*/
  --primary-text-color: #928a6d;
  /*このテンプレートのテーマカラーの上に文字を載せる場合*/
  --secondary-color: #cfb98e;
  /*このテンプレートのアクセントカラー*/
  --secondary-text-color: #fff;
  /*このテンプレートのアクセントカラーの上に文字を載せる場合*/

  /*このテンプレートのフォントの設定*/
  --main-font: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

  /*見出しに使うフォントの設定。１つ目はGoogleFontsの指定で、２つ目は英語表記に対応していない(日本語表記など)に使うフォント（上の行で定義したフォント）を使う指定。*/
  --heading-font: "Caveat", var(--main-font);

  /*bg1で使っている共通の高さ*/
  --bg1-height: 50px;
}

/*記事の下に空ける余白*/
.new dd {
  padding-bottom: 0.1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
  display: inline-block;
  text-align: center;
  line-height: 1.8;
  /*行間（アイコンの高さ）*/
  border-radius: 3px;
  /*角を丸くする指定*/
  padding: 0 0.5rem;
  /*上下、左右へのブロック内の余白*/
  width: 8rem;
  /*幅。8文字分。*/
  transform: scale(0.8);
  /*80%のサイズに縮小*/
  background: #fff;
  /*背景色*/
  color: #777;
  /*文字色*/
  border: 1px solid #ccc;
  /*枠線の幅、線種、色*/
}

/*画面幅700px以上の追加指定*/
@media screen and (min-width:700px) {

  /*ブロック全体*/
  .new {
    display: grid;
    /*gridを使う指定*/
    grid-template-columns: auto 1fr;
    /*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
    padding-left: 1rem;
    /*左に空ける余白*/
    padding-right: 1rem;
    /*右に空ける余白*/
  }

}

header {
  position: sticky;
  top: 0;
  z-index: 999;
}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*スライドショーを囲むブロック*/
.thumbnail-slide {
	background: #fff;	/*背景色*/
	padding: 20px 10px;	/*上下、左右へのボックス内の余白*/
}

/*各アイテム間のマージン*/
.thumbnail-slide .slick-slide {
    margin: 0 10px;	/*上下は0、左右へ10px*/
}

.navbar>.container{
  flex-wrap: nowrap;
}