@charset "utf-8";
/* CSS Document */

/*-------------------------------------------
共通設定
-------------------------------------------*/
html,
body {
  font-size: 16px;
}

a,
a:link,
a:visited,
a:active {
  color: #333;
  text-decoration: none;
}
.row {
  margin: 0;
  padding: 0;
}

.btn0 {
  background: #5e1a00;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.btn0:link,
.btn0:visited,
.btn0:active {
  color: #fff;
}
.navbar {
  padding: 0;
}
.maxw100 {
  max-width: 100%;
}
.fSize-1 {
  font-size: 1rem;
}
.fSize-2 {
  font-size: 1.2rem;
}
.fSize-3 {
  font-size: 1.4rem;
}
.fSize-4 {
  font-size: 1.6rem;
}
.fSize-5 {
  font-size: 1.8rem;
}
.fSize-6 {
  font-size: 2rem;
}

.icopt01 {
  background: #5e0055;
  color: #fff;
  padding: 0.2rem;
  text-align: center;
}
.icopt02 {
  background: #003277;
  color: #fff;
  padding: 0.2rem;
  text-align: center;
}

.icopt03 {
  background: #c35174;
  color: #fff;
  padding: 0.2rem;
  text-align: center;
}
.icopt04 {
  background: #095800;
  color: #fff;
  padding: 0.2rem;
  text-align: center;
}
.icopt05 {
  background: #862900;
  color: #fff;
  padding: 0.2rem;
  text-align: center;
}

/*見出し用*/
.h2_n1 {
  display: inline-block;
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
  text-align: center;
  font-size: 2rem;
  padding: 0 3rem 1rem 3rem;
  margin-bottom: 1rem;

  border-bottom: 1px solid #8b4100;
}
/*見出し用*/
.h3_n1 {
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
  text-align: left;
  font-size: 1.5rem;
  padding: 0 0 1rem 0;
  margin-top: 2rem;

  border-bottom: 1px solid #eee;
}

.hover-e {
  transition: 1s;
}
.hover-e:hover {
  background: #eee;
}

.red {
  color: #d10003;
}
.green {
  color: #00c300;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
.logo {
  padding: 0.5rem;
}
#hedearMenu {
  color: #fff;
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
}
#hedearMenu div {
  padding: 0 0.8rem;
  text-align: center;
}
#hedearMenu div a {
  color: #fff;
}
#hedearMenu .headbox {
  background: #91806c;
  padding: 0.5rem 0.8rem;
  height: 70px;
}

/*-------------------------------------------
トップページ
-------------------------------------------*/

/*グローバルメニュー*/
#gmenu {
  text-align: center;
  padding: 1rem 10rem;
  margin: 1.2rem 0;
  border-bottom: 1px #ccc solid;
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
}
#gmenu div {
  width: 15%;
  height: 48px;
  font-weight: bold;
  transition: 1s;
	display: flex;
    justify-content: center;
    align-items: center;
	line-height: 1.2;
}
#gmenu div a {
  display: block;
  color: #333;
  text-decoration: none;
}

#gmenu div.item1 {
  background: #f660a0;
  color: #fff;
}
#gmenu div.item1:hover {
  background:#faafcf;
}
#gmenu div.item1 a {
  color: #fff;
}
#gmenu div.item2 {
  border-right: 1px #ccc solid;
}
#gmenu div.item2:hover {
  background: #eee;
}
#gmenu div.item3 {
  border-right: 1px #ccc solid;
}
#gmenu div.item3:hover {
  background: #eee;
}

#gmenu ul {
  margin: 0;
}

/*メインイメージ*/
#mainimg {
  background: #333;
  text-align: center;
}
#mainimg img {
  width: 100%;
  margin: 0 auto;
  max-width: 3000px;
}

/*サービス*/
#service {
  margin: 5rem 0;
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
}
#service ul {
  padding: 0;
  margin: 3rem 0;
  list-style: none;
}
#service ul li {
  padding: 0;
  margin: 0;
  transition: 1s;
}
#service ul li:hover {
  background: #eee;
}
#service img {
  width: 100%;
}
#service h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1.5rem;
}
#service p {
  padding-bottom: 1.5rem;
}
#service .contentBtn {
  display: block;
  margin: 4rem 0 1rem 0;
  font-size: 1.2rem;
  padding: 1rem 0.5rem;
  border: 1px solid #a56221;
  border-radius: 10px;
  transition: 1s;
}
#service .contentBtn:hover {
  background: #a56221;
  color: #fff;
}
#service .contentBtn img {
  width: auto;
  margin-top: -0.3rem;
}

#staff {
  background: #569645;
  text-align: center;
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
  margin-bottom: 3rem;
}
#staff h3 {
  margin: 3rem 0 1.5rem 0;
  color: #fff;
  line-height: 2;
}
#staff .staffBtn {
  display: block;
  background: #fff;
  color: #569645;
  border-radius: 10px;
  margin: 0.5rem;
  padding: 0.3rem;
  font-size: 1.2rem;
}

#about {
  background: #eee;
  text-align: center;
  font-family: "Sawarabi Mincho", "Times New Roman", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ",
    Meiryo, serif;
  padding: 3rem 0;
}
#about h2 {
  margin-bottom: 3rem;
}
#about p {
  font-size: 1.2rem;
  padding-top: 1rem;
  font-weight: bold;
}

/*-------------------------------------------
フッター
-------------------------------------------*/

#sitemap {
  background: #230902;
  color: #fff;
  padding: 3rem 0 1rem 0;
}
#sitemap h5 {
  display: inline-block;
  font-size: 1rem;
  border-bottom: 1px solid #fff;
  padding: 0.3rem 5rem 0.3rem 1rem;
  padding: 0.3rem 5rem 0.3rem 1rem;
}
#sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 1rem;
}
#sitemap ul li {
  padding: 0.2rem 0;
}
#sitemap ul li a {
  color: #fff;
}

footer {
  padding: 4rem 0 0 0;
}
footer p.tel {
  font-size: 2.5rem;
  font-weight: bold;
}
footer .lineBtn {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  background: #569645;
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0;
}
footer .telBtn {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  background: #e56c34;
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0;
}
footer .copyright {
  background: #230902;
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
}

/*------------------------------------------------------------------------------------------------------------------
ブログ
---------------------------------------------------------------------------------------------------------------*/
#news {
  background: url(../img/newsback.jpg) repeat;
}
#news .list {
  margin-bottom: 1rem;
}

#news .img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#news .img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  border: #ccc 1px solid;
  padding: 0.1rem;
  box-shadow: 0.25rem 0.25rem 0.5rem gray;
}

#news .img_sp {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  text-align: left;
  display: flex;
  justify-content: left;
  align-items: center;
}

#news .img_sp img {
  width: 100px;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  border: #ccc 1px solid;
  padding: 0.1rem;
  box-shadow: 0.25rem 0.25rem 0.5rem gray;
  margin-right: 2rem;
}

#news .img2 {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
#news .img2 img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  border: #ccc 1px solid;
  padding: 0.1rem;
  box-shadow: 0.25rem 0.25rem 0.5rem gray;
}

#news .date {
  text-align: center;
  font-size: 1rem;
  color: #f05f40;
  font-weight: bold;
}
#news .title {
  text-align: center;
  font-size: 1.1rem;
  color: #253f92;
}
#news a {
  text-decoration: none;
}
#news a:link,
#news a:visited {
  color: #253f92;
}
#news .thumb a:hover {
  opacity: 0.7;
  transform: 0.5;
}

@media (min-width: 1200px) {
  #news .img {
    height: 200px;
  }

  #news .img img {
    max-height: 240px;
  }
  #news .img2 {
    height: auto;
  }

  #news .img2 img {
    max-height: 200px;
  }

  #news .date {
    text-align: left;
  }
  #news .title {
    text-align: left;
  }
}

/*-----------------------------------------------
アニメーション用
-----------------------------------------------*/
#news .service-box {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}
#news .service-icon {
  width: auto;
  padding-right: 0.5rem; /*右側影用*/
  height: 210px; /*下側影用に+10px*/
  text-align: center;
  transition: all 0.5s ease;
}

#news .service-content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  width: auto;
  height: 210px;
  padding: 10px;
  text-align: center;
  transition: all 0.5s ease;
  background-color: #474747;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform: translateY(110px) rotateX(-90deg);
  -moz-transform: translateY(110px) rotateX(-90deg);
  -ms-transform: translateY(110px) rotateX(-90deg);
  -o-transform: translateY(110px) rotateX(-90deg);
  transform: translateY(110px) rotateX(-90deg);
}
#news .service-box .service-icon .front-content {
  position: relative;
  top: 120px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

#news .service-box .service-icon .front-content i {
  font-size: 28px;
  color: #fff;
  font-weight: normal;
}

#news .service-box .service-icon .front-content h3 {
  font-size: 15px;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
  text-transform: uppercase;
}
#news .service-box .service-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#news .service-box .service-content p {
  font-size: 1rem;
  color: #b1b1b1;
  margin: 0;
}
#news .yellow {
  background-color: #ffc000;
}
#news .orange {
  background-color: #fc7f0c;
}
#news .red {
  background-color: #e84b3a;
}
#news .grey {
  background-color: #474747;
}
#news .service-box:hover .service-icon {
  opacity: 0;
  -webkit-transform: translateY(-110px) rotateX(90deg);
  -moz-transform: translateY(-110px) rotateX(90deg);
  -ms-transform: translateY(-110px) rotateX(90deg);
  -o-transform: translateY(-110px) rotateX(90deg);
  transform: translateY(-110px) rotateX(90deg);
}
#news .service-box:hover .service-content {
  opacity: 1;
  -webkit-transform: rotateX(0);
  -moz-transform: rotateX(0);
  -ms-transform: rotateX(0);
  -o-transform: rotateX(0);
  transform: rotateX(0);
}

/*-----------------------------------------------*/

/*------------------------------------------------------------------------------------------------------------------
一覧ページ用
---------------------------------------------------------------------------------------------------------------*/
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  font-size: 13px;
}

.pagination span,
.pagination a {
  display: block;
  width: auto;
  margin: 4px;
  padding: 8px;
  border: 1px solid #000;
  background-color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 16px;
}

/* ページ番号 */
.pagination .pager {
  width: 32px;
}

/* ホバー時 & 現在のページ */
.pagination a:hover,
.pagination .current {
  color: #fff;
  border-color: #000;
  background-color: #000;
}

/* 前へ */
.pagination a.prev {
  margin-right: 16px;
}
/* 次へ */
.pagination a.next {
  margin-left: 16px;
}
/* 最初へ */
.pagination a.first {
}
/* 最後へ */
.pagination a.last {
}

/* Page x / y */
.pagination span.page_num {
  display: none;
}

.slider {
  margin: 0 auto;
}

/* slide-box */

.slide-box {
  position: relative;
  margin: 0;
  padding: 0;
}

/* slide */

.slide {
  position: relative;
  margin: 0;
  padding: 0;
}
.slide .item {
  position: relative;
  height: 100%;
}
.slide .item a {
  display: block;
}
.slide .item::before {
  display: block;
  padding-top: 39%;
  content: "";
}
.slide .item .image {
  position: relative;
  overflow: hidden;
}
.slide .item img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
}
.slide > .slick-list,
.slide > .slick-list > .slick-track,
.slide > .slick-list > .slick-track > .slick-slide > div {
  position: relative;
  height: 100%;
}

/* slide-navigation */

.slide-navigation {
  line-height: 0;
  position: relative;
  margin: 0;
  padding: 0;
}
.slide-navigation .item {
  position: relative;
  cursor: pointer;
}
.slide-navigation .item .image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.slide-navigation .item .image::before {
  display: block;
  padding-top: 35%;
  content: "";
}
.slide-navigation .item .image::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.5;
  background: #000;
}
.slide-navigation .slick-current .image::after {
  opacity: 0;
}
.slide-navigation .item .image {
  position: relative;
  overflow: hidden;
}
.slide-navigation .item .image img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .slide-navigation {
    width: 100%;
  }
  .slide-navigation .item .image::before {
    padding-top: 50%;
  }
}

/* slick */

.slick-vertical .slick-slide {
  border: 0 solid transparent;
}
.slick-arrow {
  z-index: 999;
}
.slick-prev {
  top: 25px;
  bottom: 0;
  left: 20px;
  right: auto;
  margin: auto;
}
.slick-next {
  top: 25px;
  bottom: 0;
  left: auto;
  right: 20px;
  margin: auto;
}

#wrap {
  background-color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

#slider {
  width: 300px;
  margin: 0 auto 30px;
}

.slide-item img {
  width: 100%;
}

#thumbnail-list {
  width: 300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.thumbnail-item {
  flex: 0 1 30%;
  margin-bottom: 10px;
  box-sizing: border-box;
  position: relative;
}
.thumbnail-item:after {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: 0.3s opacity linear;
}
.thumbnail-item.thumbnail-current:after {
  opacity: 0;
}
.thumbnail-item img {
  width: 100%;
  margin: 0 auto;
}
