@charset "utf-8";

/** ***************************************************************************
 * 変数
 * ************************************************************************* */

:root {
  /* フォント */
  --base-color-1: #553728;
  --base-color-2: #251513;
  --base-fontfamily: 'M PLUS Rounded 1c', sans-serif;
  /* 背景色 */
  --bg-color-1: #ffe7e6;
  --bg-color-2: #f2b1aa;
}

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

body {
  color: var(--base-color-1);
  line-height: 1.5;
  font-size: 13px;
  font-family: var(--base-fontfamily);
  font-style: normal;
  font-weight: 500;
  background-color: var(--bg-color-1);
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

a {
  color: inherit;
}

a[href]:hover {
  text-decoration: none;
}

@media screen and (min-width:768px) {

  body {
    letter-spacing: 1px;
    font-size: 21px;
  }

}

/**
 * レイアウト用
 */

div.body {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (min-width:768px) {

  a[href*="tel:"] {
    color: inherit;
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
  }

}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 10;
}

#header div.body {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  #header {
    padding: 20px 0;
  }

  #header div.body {
    padding-right: 130px;
  }

}

/**
 * ロゴ
 */

#header div.logo {
  width: 50%;
  max-width: 108px;
}

#header div.logo a {
  text-decoration: none;
  display: inline-block;
}

@media screen and (min-width:768px) {

  #header div.logo {
    width: auto;
    max-width: 100%;
  }

}

/**
 * インスタグラム
 */

#header div.sns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#header div.sns div.item {
  width: 30px;
}

#header div.sns div.item ~ div.item {
  margin-left: 5px;
}

#header div.sns div.item a {
  text-decoration: none;
  display: block;
}

@media screen and (min-width:768px) {

  #header div.sns div.item {
    width: 50px;
  }

  #header div.sns div.item ~ div.item {
    margin-left: 15px;
  }

}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#header div.drawer-trigger {
  width: 40px;
  cursor: pointer;
  position: fixed;
  z-index: 2;
  top: 8px;
  right: 10px;
}

@media screen and (min-width:768px) {

  #header div.drawer-trigger {
    width: 80px;
    top: 15px;
    right: 20px;
  }

}

/** ***************************************************************************
 * ハンバーガーメニュー
 * ************************************************************************* */

#global-nav {
  width: 100vw;
  max-width: 440px;
  height: 100vh;
  background-color: var(--bg-color-2);
  overflow: hidden;
  position: fixed;
  z-index: 1;
  top: 0;
  transition: right 0.3s ease-in-out 0.0s;
  right: -100vw;
}

body.global-nav-active
#global-nav {
  right: 0;
}

#global-nav div.menu {
  height: 100%;
  padding: 20px 20px 30px;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  transition:
    visibility 0.4s ease-in-out 0.2s,
    opacity 0.4s ease-in-out 0.2s,
    right 0.4s ease-in-out 0.2s;
  visibility: hidden;
  opacity: 0;
  right: 10vw;
}

body.global-nav-active
#global-nav div.menu {
  visibility: visible;
  opacity: 1;
  right: 0;
}

@media screen and (min-width:768px) {

  #global-nav {
    width: auto;
    height: auto;
  }

  #global-nav div.menu {
    padding: 30px 20px 40px;
  }

}

/**
 * タイトル
 */

#global-nav div.title {
  margin-bottom: 25px;
  padding-right: 60px;
  filter: brightness(0) invert(1);
}

@media screen and (min-width:768px) {

  #global-nav div.title {
    margin-bottom: 30px;
    padding-right: 70px;

  }

}

/**
 * ナビゲーション
 */

#global-nav ul.list {
  padding-left: 30px;
  padding-right: 30px;
}

#global-nav ul.list ~ ul.list {
  margin-top: 30px;
}

@media screen and (min-width:768px) {

  #global-nav ul.list {
    padding-left: 20px;
    padding-right: 20px;
  }

}

/**
 * コンテンツ一覧
 */

#global-nav ul.contents li {
  border-top: 3px dotted var(--bg-color-1);
}

#global-nav ul.contents li:last-child {
  border-bottom: 3px dotted var(--bg-color-1);
}

#global-nav ul.contents li a {
  padding: 0.875em 1em 0.875em;
  font-size: 1.125em;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: block;
}

@media screen and (min-width:768px) {

  #global-nav ul.contents li a {
    padding: 0.875em 1em 0.875em;
    line-height: 1.5;
    font-size: 0.875em;
    transition: background-color 0.3s ease-in-out 0.0s;
    background-color: rgba(255, 255, 255, 0.0);
  }

  #global-nav ul.contents li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
  }

}

/**
 * リンク一覧
 */

#global-nav ul.link li ~ li {
  margin-top: 15px;
}

#global-nav ul.link li {
  text-align: center;
}

#global-nav ul.link li a {
  text-decoration: none;
  display: inline-block;
  animation: button-animation 2.0s linear infinite;
}

@keyframes button-animation {
  0%, 7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%, 100% {
    transform: rotateZ(0);
  }
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

#main {
  padding: 50px 0 50px;
  background-image:
    url("../_image/_common/image-bg-1.png"),
    url("../_image/_common/image-bg-1.png");
  background-position:
    left 200px,
    right top;
  background-size: 120px;
  background-repeat: repeat-y;
}

@media screen and (min-width:768px) {

  #main {
    padding: min(7.81vw, 150px) 0 min(7.81vw, 150px);
    background-position:
      left 400px,
      right top;
    background-size: auto;
  }

}

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

#footer {
  padding-top: 60px;
  overflow: hidden;
  background-image: url("../_image/_common/image-bg-2.png");
  background-position: center 10px;
  background-size: auto 40px;
  background-repeat: repeat-x;
}

@media screen and (min-width:768px) {

  #footer {
    padding-top: 140px;
    background-position: center 30px;
    background-size: auto auto;
  }

}

/**
 * コピーライト
 */

#footer div.copyright {
  padding: 15px 0;
  color: var(--base-color-2);
  font-size: 0.67em;
  text-align: center;
  transform: rotate(0.03deg);
  position: relative;
  z-index: 0;
}

#footer div.copyright::after {
  content: '';
  width: 100vw;
  height: 100%;
  background-color: var(--bg-color-2);
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

@media screen and (min-width:768px) {

  #footer div.copyright {
    padding: 35px 0;
  }

}
