@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/*-- ボタン初期要素消す --*/
/* aタグのリセットCSS（不要な場合、セレクタごと削除してください） */
a {
  color: inherit;
  text-decoration: none;
}

/* buttonタグのリセットCSS（不要な場合、セレクタごと削除してください） */
button {
  padding: 0;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  /* 各ボタンのCSSクラスに共通で指定しています。不要な場合、削除してください */
  -webkit-user-select: none;
  user-select: none;
}
/*-- ボタン初期要素消すここまで --*/

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

#home {
  background-image: url(../images/background_phone/background_phone_014.jpg);
  min-height: 100vh;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
}

.logo_fadein {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
  opacity: 0.95;
}
.logo_fadein p {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
  width: 200px;
}

body {
  font-family: "Cormorant Garamond", "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  color: #fffefb;
  line-height: 1;
  letter-spacing: 1px;
  background-color: #fffefb;
}

img {
  max-width: 100%;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.search {
  display: block;
  width: 50px;
}

.toggle-menu-button {
  display: block;
  font-size: 20px;
}

.connect-toggle-menu-button {
  display: block;
  font-size: 20px;
}

.toggle-menu-button {
  display: block;
  width: 44px;
  height: 34px;
  background-image: url(../images/icon/toggle-menu-button.png);
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  border-radius: 0;
  outline: none;
}

.connect-toggle-menu-button {
  display: block;
  width: 44px;
  height: 34px;
  background-image: url(../images/icon/connect_toggle-menu-button.png);
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  border-radius: 0;
  outline: none;
}

.header-logo {
  display: block;
  width: 300px;
}

.header-inner {
  padding-left: 40px;
  padding-right: 40px;
  height: 100%;
  position: relative;
}
.header-logo {
  width: 150px;
}

.header-site-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  color: #ffffff;
  background-color: rgba(232, 219, 225, 0.9);
  padding-top: 30px;
  padding-bottom: 50px;
  display: none;
}
/*-- rgb(232, 219, 225); --*/

/*-- フェードイン（サイトメニュー） --*/
.header-site-menu {
  -webkit-animation: fadeIn 3s ease 0s 1 normal;
  animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/*-- フェードインここまで --*/

.header-site-menu.is-show {
  display: block;
}

.site-menu ul {
  display: block;
  text-align: center;
}

.site-menu li {
  margin-top: 20px;
}

.site-menu ul li {
  margin-left: 20px;
  margin-right: 20px;
  line-height: 30px;
}

.site-menu ul li a {
  font-family: "Cormorant Garamond", "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 1px;
}

.site-menu-flex {
  display: flex;
}

.site-menu-flex li {
  font-size: 15px;
  line-height: -30px;
}

.footer {
  color: #ffffff;
  background-color: rgba(232, 219, 225, 0.943);
  padding-top: 40px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-site-menu ul {
  display: flex;
}

.footer-site-menu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.footer-site-menu ul li a {
  font-family: "Cormorant Garamond", "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 1px;
}

.footer-logo {
  display: block;
  width: 370px;
  margin-top: 60px;
}

.footer-mail {
  font-size: 18px;
  margin-top: 18px;
  text-align: center;
}

.footer-time {
  font-size: 18px;
  margin-top: 70px;
  text-align: center;
}

.copyright {
  font-size: 13px;
  margin-top: 30px;
  text-align: center;
}

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

/*スクロールリンクの形状*/
.scroll-top {
  /*表示位置*/
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s; /*それぞれに0.5秒の変化のアニメーション*/
  /*縦書き*/
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  /*改行禁止*/
  white-space: nowrap;
  /*矢印の動き*/
  animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
  0% {
    bottom: 20px;
  }
  50% {
    bottom: 25px;
  }
  100% {
    bottom: 20px;
  }
}

/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
  text-decoration: none;
  color: rgb(89, 89, 89);
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
}

/*スクロールリンクの形状*/

.js-scroll a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #666;
}

.js-scroll a::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -6px;
  width: 1px;
  height: 20px;
  background: rgb(89, 89, 89);
  transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-scroll a::before {
  right: -11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #666;
}

.js-pagetop a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 1px;
  height: 20px;
  background: rgb(89, 89, 89);
  transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-pagetop a::before {
  right: 0;
}

/*検証のためのCSS*/
section {
  padding: 1px 0;
}

@media (max-width: 769px) {
  #home {
    background-size: 100%;
    background-position: center top;
    z-index: 1;
  }

  .header-inner {
    padding: 0.75rem;
  }

  .site-menu ul {
    display: block;
    text-align: center;
  }

  .header-logo {
    display: block;
    width: 130px;
  }

  .footer {
    padding-bottom: 130px;
  }

  .footer-site-menu ul {
    flex-direction: column;
    text-align: center;
  }

  .footer-site-menu li {
    font-size: 20px;
    line-height: 40px;
  }

  .footer-logo {
    max-width: 80%;
  }
}
