@charset 'utf-8';


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

  サイト全体設定

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

body {
  padding-top: 80px;
  background-color: #edede8;
  font-family: 'Noto Serif JP', serif;
  color: #222;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .05rem;
}

h2 {
  display: inline-block;
  margin-bottom: 3rem;
  padding: 10px 0;
  border-bottom: 4px solid #ccc;
}

ul {
  margin-bottom: 2.5rem;
  padding-left: 2.25rem;
  list-style: square;
}

  ul:last-child {
    margin-bottom: 0;
  }

  ul.ul-custom {
    margin-bottom: 2.5rem;
  }

hr {
  margin: 3rem 0;
}

th, td {
  font-size: 16px;
}

th {
  white-space: nowrap;
}

a {
  transition: opacity 0.2s;
}

  a:hover {
    opacity: 0.7;
  }

  a:active {
    opacity: 0.5;
  }

dl {}

  dl + dl {
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
  }

article section {
  padding: 4rem 45px;
  background-color: #fff;
}

  article section + section {
    margin-top: 4rem;
  }

section.bg01 {
  background-image: url(common/img/bg_nature.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

section.last-section {
  position: relative;
  margin-bottom: -120px;
  z-index: 10;
}

@media (max-width: 767px) {

  body {
    padding-top: 50px;
    padding-bottom: 60px;
    font-size: 16px;
  }

  article section {
    padding: 2rem 15px;
  }

}


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

.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.svg);
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}


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

  ヘッダー

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

header {
  background-color: rgba(255, 255, 255, 0.95);
}

header.navbar .navbar-brand span {
  margin-right: 0.5em;
}

header.navbar .navbar-brand img {
  height: 40px;
}

header.navbar .navbar-text {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
}

header.navbar .navbar-tel img {
  height: 64px;
}

@media (max-width: 767px) {

  header.navbar {
    height: 50px;
    padding-left: 0;
    padding-right: 0;
  }

  header.navbar .left {
    width: 100%;
    text-align: center;
  }

  header.navbar .navbar-brand {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    vertical-align: text-bottom;
  }

  header.navbar .navbar-brand img {
    height: 30px;
  }

  header.navbar .navbar-text {
    display: none;
  }

  header.navbar .navbar-tel {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    background-color: rgba(255,255,255,0.8);
    text-align: center;
  }

  header.navbar .navbar-tel a {
    display: inline-block;
  }

  header.navbar .navbar-tel img {
    height: 50px;
  }

}


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

  フッター

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

footer {
  padding: 3rem 0;
  background-color: #222;
  color: #999;
  font-size: 0.75em;
}

footer .copyright {
  text-align: center;
}


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

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

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

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

#hero {
  position: relative;
  height: calc(100vh - 80px);
  background-image: url(common/img/bg_fuji.jpg);
  background-image: url(common/img/bg_osaka.jpg);
  background-size: cover;
  background-position: center center;
}

#hero .message {
  display: inline-block;
  position: absolute;
  top: calc(50% - 3rem);
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: calc(100% - 30px);
  padding: 30px 30px;
  background-color: rgba(255, 255, 255, 0.65);
  font-size: 24px;
  text-align: center;
}

@media (max-width: 767px) {

  #hero .message {
    width: 100%;
    padding: 15px;
    font-size: 18px;
  }

}


/*
  トップページスライダー
----------------------------------------*/

#sliderTopMain {
  background-color: #fff;
}

#sliderTopMain .slick-slide img {
  height: 300px;
}

@media (max-width: 767px) {

  #sliderTopMain .slick-slide img {
    height: 300px;
  }

}


/*
  インスタ埋め込み
----------------------------------------*/

.instagram-media.instagram-media-rendered {
  min-width: 0!important;
}

.snapwidget-widget-outer {
  aspect-ratio: 3 / 3;
}

a.insta-link {
  margin-top: 30px;
}

@media (max-width: 767px) {

  a.insta-link {
    margin-top: 10px;
  }

}


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

#contactBlock {
  /*margin-top: 6rem;*/
  padding: 6rem 0;
  background-color: #fff;
}

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

#contactBlock iframe {
  width: 100%;
}

@media (max-width: 767px) {

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

}

#contactBlock .table.table-type01 th {
  text-align: right;
}

#contactBlock .table.table-type01 tr.yago th {
  vertical-align: middle;
}

#contactBlock .table.table-type01 tr.yago td {
  font-size: 24px;
}

#contactBlock .table.table-type01 tr.yago td small {
  font-size: 0.7em;
}


/*
  Eightデジタル名刺へのリンク
----------------------------------------*/

a.meishi-link {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 40px;
  color: #222;
  font-size: 14px;
  text-decoration: none;
}

a.meishi-link img.logo-eight {
  height: 16px;
  margin-top: -3px;
  margin-right: 0.5em;
  vertical-align: middle;
}


/*
  インスタへのリンク
----------------------------------------*/

a.insta-link {
  display: inline-block;
  padding: 20px 30px;
  border: 1px solid #ccc;
  color: #222;
  text-decoration: none;
}

a.insta-link .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

a.insta-link div + div {
  margin-left: 10px;
}

a.insta-link img.icon-insta {
  height: 60px;
}


/*
  LINEへのリンク
----------------------------------------*/

a.icon_and_link {
  display: inline-block;
  padding: 20px 30px;
  border: 2px solid #222;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}

a.icon_and_link .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

a.icon_and_link div + div {
  margin-left: 10px;
}

a.icon_and_link img {
  height: 60px;
}

a.icon_and_link img.icon-ienakama {
  height: 40px;
}

@media (max-width: 767px) {

  a.icon_and_link {
    display: block;
    padding: 15px 15px;
    font-size: 14px;
  }

  a.icon_and_link img.icon-insta {
    height: 40px;
  }

  a.icon_and_link img.icon-ienakama {
    height: 20px;
  }

}


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

  下スクロールアニメ

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

.scroll {
  position: absolute;
  left: 50%;
  bottom: 45px;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
}

/* 矢印のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 10px;
  width: 20px;
}

/* 矢印のアニメーション */
@keyframes scroll {

  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }

  100% {
    opacity: 0;
  }

}

