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

  common.css

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

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

  Reset -  リセット

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

* {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  -webkit-appearance: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



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

  Default -  デフォルト

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

html {
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans JP', "游ゴシック体", YuGothic,
              "游ゴシック Medium", "Yu Gothic Medium",
              "游ゴシック", "Yu Gothic",
              "メイリオ", sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #FBFAF8;
  color: #221816;
  overflow-y: scroll;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  cursor: pointer;
  transition: .3s;
}

a:hover {
  transition: .3s;
}

@media (min-width: 640px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

ul li {
  list-style: none;
}



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

  Flex -  横並び

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

.flex-space-between {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
}

.flex-space-around {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-around;
}

.flex-start {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
}

.flex-start-baseline {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
    align-items: start;
}

.flex-start-center {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
    align-items: center;
}

.flex-center {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
}



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

  Loading -  ローディング

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

#is-loading {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #FFF;
  z-index: 8;
}

#loading {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 200px;
  margin-top: -50px;
  margin-left: -50px;
  text-align: center;
  z-index: 9;
}



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

  Header Bar -  ヘッダーバー

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

.header-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #FBFAF8;
  border-bottom: 1px solid #6A5837;
  z-index: 3;
}

.header-bar-box {
  position: relative;
  width: 100%;
  height: 50px;
}

.header-bar p {
  font-size: 1.6rem;
  text-align: center;
  line-height: 50px;
}

.header-sns-box {
  position: fixed;
  /*width: 20px;
  height: 20px;*/
  left: 20px;
  top: 15px;
  z-index: 98;
}

.header-sns-box i {
  font-size: 25px;
  color: #221816;
  transition: .3s;
}

.header-sns-box i:hover {
  opacity: 0.8;
}

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

  Nav -  ナビゲーション

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

.menu {
  position: fixed;
  height: 20px;
  right: 20px;
  top: 20px;
  width: 25px;
  z-index: 99;
}

.menu__line {
  background: #221816;
  display: block;
  height: 2px;
  position: absolute;
  transition:transform .3s;
  width: 100%;
}

.menu__line-center {
  top: 7px;
}

.menu__line-bottom {
  bottom: 4px;
}

.menu__line-top.active {
  top: 8px;
  transform: rotate(45deg);
}

.menu__line-center.active {
  transform:scaleX(0);
}

.menu__line-bottom.active {
  bottom: 10px;
  transform: rotate(135deg);
}

.gnav {
  background: rgba(0,0,0,0.8);
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 98;
}

.gnav__wrap {
  align-items: center;
  display: flex;
  height: 100%;
  position: absolute;
  width: 100%;
}

.gnav__menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
}

.gnav__menu__item {
  margin: 0 0 30px 100px;
  opacity: 0;
}

.gnav__menu__item a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: .5s;
}

.gnav__menu__item a i {
  color: #fff;
  padding-right: 8px;
  width: 25px;
}

.gnav__menu__item a i.fa-home {
  font-size: 1.5rem;
}

.gnav__menu__item a:hover {
  color: #666;
}

.hero {
  background-position: 50% 50%;
  background-size: cover;
  height: 100vh;
  display: none;
}



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

  Breadcrumb -  パンくずリスト

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

.breadcrumb {
  width: 980px;
  margin: 64px auto;
  padding-left: 16px;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    width: 100%;
    margin: 64px 0;
  }
}

.breadcrumb li {
  display: inline;
  font-size: 1.4rem;
  color: #C0C5C1;
}

.breadcrumb li::after {
  content: '>';
  font-size: 1.4rem;
  padding: 0 16px;
  color: #C0C5C1;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: gray;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

i.home {
  font-size: 1.2rem;
  color: #271E21;
}



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

  Common Item -  共通アイテム

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

.title-eng {
  text-align: center;
  display: block;
  font-size: 1.2rem;
}

.section-line {
  display: block;
  line-height: 5.0;
  text-align: center;
}

.fadeIn {
  transform: translate3d(0, -10px, 0);
  transition: 1s;
  opacity: 0;
}

.fadeIn.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}



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

  Button -  ボタン

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

.button {
  width: 350px;
  margin: 64px auto;
  height: 50px;
  line-height: 47px;
}

.button a {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #534741;
  background-color: #534741;
  color: #FFF;
  font-size: 1.4rem;
  transition: all 0.5s ease-out;
  text-align: center;
  position: relative;
}

@media screen and (max-width: 980px) {
  .button {
    width: 60%;
  }

  .button a {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 640px) {
  .button {
    width: 70%;
  }

  .button a {
    font-size: 1.4rem;
  }
}

.button a:hover {
  background: #FFF;
  color: #534741;
  margin-left: 0px;
  margin-top: 0px;
  border: 2px solid #534741;
}

@media screen and (max-width: 640px) {
  /* スマホの場合 */
  .button a:active {
    background: #FFF;
    color: #534741;
    margin-left: 0px;
    margin-top: 0px;
    border: 2px solid #534741;
  }
}


.button a span {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
}

.button a span::after {
  content: ">";
}



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

  Footer -  フッター

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

.footer-area {
  text-align: center;
  margin: 128px 0 50px 0;
}

.footer-line {
  display: block;
  border: 1px solid #6A5837;
  margin-bottom: 1px;
}

.footer-line2 {
  display: block;
  border: 1px solid #FFF;
  margin-bottom: 1px;
}

.footer-box {
  background-color: #6A5837;
  font-size: 1.3rem;
  color: #FFF;
  padding: 64px 0 0;
}

.footer-img-box {
  width: 200px;
  margin: 0 auto 64px;
}

@media screen and (max-width: 640px) {
  .footer-img-box {
    width: 35%;
    margin: 0 auto 64px;
  }
}

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

.footer-text-box img {
  margin-bottom: 64px;
}

.footer-sns-box {
  margin: 64px 0;
}

.footer-sns-box i {
  font-size: 3.0rem;
  margin: 0 24px;
  color: #FFF;
  transition: .3s;
}

.footer-sns-box i:hover {
  color: #000;
  transition: .3s;
}

.sub-text {
  font-size: 1.2rem;
}

.main-text {
  width: 350px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .main-box {
    width: 70%;
  }
}

.tel-text {
  font-size: 2.2rem;
  padding: 32px 0;
  color: #FFF;
}

.tel-text a {
  color: #FFF;
  text-decoration: none;
}

.tel-text i {
  padding-right: 8px;
}

.other-link-box {
  margin: 16px auto;
}

.other-link-box p {
  padding-right: 16px;
}

.other-link-box p a {
  color: #FFF;
  transition: .3s;
}

.other-link-box p a:hover {
  color: #000;
}

@media screen and (max-width: 640px) {
  .footer-box .flex-center {
    display: block;
  }

  .other-link-box p {
    padding: 8px 0;
  }
}

.cr {
  color: #FFF;
  text-align: center;
  margin: 0 auto;
  padding: 16px 0;
}



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

  Footer Bar -  フッターバー

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

.footer-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #FBFAF8;
  border-top: 1px solid #6A5837;
  z-index: 3;
}

.footer-bar-box {
  position: relative;
  width: 980px;
  height: 50px;
  vertical-align: middle;
  padding: 5px 0;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .footer-bar-box {
    width: 100%;
  }
}

.footer-item {
  width: 19.9%;
  text-align: center;
}

.footer-item2 {
  width: 20.4%;
  text-align: center;
}

.footer-item i, .footer-item2 i {
  display: block;
  font-size: 1.8rem;
  text-align: center;
}

.footer-item span, .footer-item2 span {
  font-size: 1.2rem;
}

.footer-bar a {
  display: block;
  width: 100%;
  height: 100%;
  color: #221816;
}

.footer-bar a:active {
  background-color: #221816;
  color: #FFF;
}



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

  Open Campaign -  オープンキャンペーン

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

.open-camp-text {
  color: #F00;
  text-align: left;
}

.open-camp-text-center {
  color: #F00;
  text-align: center;
}
