html:not(.responsive) {
  min-width: 1000px;
  /* viewport */
}

* {
  box-sizing: border-box;
}

/*=============================================
 * body
 *=============================================*/
body {
  color: #000;
  font-family: 'Noto Serif JP';
  font-size: 13px;
  line-height: 27px;
  letter-spacing: 0.15em;
  background: url("../img/shared/bg1.jpg");
  min-width: inherit;
  min-height: inherit;
  max-height: 100%;
  text-align: justify;
  padding: 3.33334vw;
}

@media only screen and (min-width: 768px) {
  body {
    font-size: 15px;
    line-height: 40px;
    text-align: left;
    padding: 20px;
    min-width: 1000px;
    /* viewport */
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --app-height: 100%;
  }
  html.open,
  body.menu-open {
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
  }
}

/*=============================================
 * <main>
 *=============================================*/
main {
  clear: both;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wrap {
  width: 1000px;
}

a:hover {
  text-decoration: none;
}

a, img {
  transition: 0.3s all ease-in-out;
}

.bg1 {
  background-image: url("../img/shared/bg1.jpg");
}

.bg2 {
  background-image: url("../img/shared/bg2.jpg");
}

.border-radius-top {
  border-radius: 8px 8px 0 0;
}

.border-radius-bottom {
  border-radius: 0 0 8px 8px;
}

.border-radius {
  border-radius: 8px;
}

.bxs {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
  .bg2 {
    background-size: 19vw;
  }
  .border-radius-top {
    border-radius: 4px 4px 0 0;
  }
  .border-radius-bottom {
    border-radius: 0 0 4px 4px;
  }
  .border-radius {
    border-radius: 4px;
  }
}

.btn-link {
  max-width: 66.67vw;
  width: 100%;
  margin: 0 auto;
}

.btn-link a {
  display: block;
  text-align: center;
  background-image: url("../img/shared/btn_bg_sp.jpg");
  background-size: cover;
  background-position: 50%;
  color: #fff8ee;
  font-size: 14px;
  letter-spacing: 0.15em;
  line-height: 25px;
  padding: 15px 30px 15px 33px;
  position: relative;
  border-radius: 0 20px 0 20px;
}

.btn-link a:after {
  content: '';
  width: 25px;
  height: 1px;
  background: #fff8ee;
  position: absolute;
  right: 0;
  top: 50%;
}

@media screen and (min-width: 768px) {
  .btn-link {
    max-width: none;
    width: 270px;
    margin: 0;
  }
  .btn-link a {
    background-image: url("../img/shared/btn_bg.jpg");
    font-size: 16px;
    line-height: 30px;
  }
  .btn-link a:hover {
    border-radius: 0;
  }
}

.btn-link.popup a:after {
  content: '';
  width: 13px;
  height: auto;
  background: url("../img/shared/icon_plus.png") no-repeat center/100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
}

/*=============================================
 * <header>
 *=============================================*/
body.nav--opened,
body.nav--opened *,
body.nav--opened *:hover,
body.nav--opened *:focus,
body.nav--opened *:active {
  /*    cursor: none !important;*/
  touch-action: none !important;
  pointer-events: none !important;
}

body.nav--opened .hamburger,
body.nav--opened #menu-toggle,
body.nav--opened #menu-toggle *,
body.nav--opened #ft-fixed,
body.nav--opened #ft-fixed * {
  touch-action: auto !important;
  pointer-events: visible !important;
}

.nav--opened {
  overflow: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: none !important;
  pointer-events: none !important;
}

.nav--opened #menu-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
  overflow: auto;
}

.nav--opened #pagetop {
  opacity: 0;
  visibility: hidden;
}

header {
  position: relative;
  background-image: url("../img/shared/bg2.jpg");
  padding-top: 31px;
  border-radius: 4px 4px 0 0;
}

header h1 {
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.15em;
  text-align: center;
  color: #fff;
  opacity: 0.6;
  position: absolute;
  left: 3.33334vw;
  right: 3.33334vw;
  bottom: 3vw;
  z-index: 1;
}

header .logo {
  width: 81px;
  position: relative;
  z-index: 1;
  margin: 0 auto -90px;
}

@media only screen and (max-width: 767px) {
  header h1 {
    text-shadow: 0 0 5px #000, 0 0 5px #000;
  }
}

@media only screen and (min-width: 768px) {
  header {
    padding-top: 37px;
    border-radius: 8px 8px 0 0;
  }
  header h1 {
    font-size: 12px;
    line-height: 18px;
    text-align: right;
    left: 65px;
    right: 65px;
    bottom: 37px;
  }
  header .logo {
    width: 140px;
    margin-bottom: -44px;
  }
  header nav {
    position: absolute;
    left: 68px;
    top: 48px;
    z-index: 1;
    font-size: 17px;
    line-height: 31px;
    font-weight: 500;
    letter-spacing: 0.15em;
  }
  header nav ul li a {
    display: block;
    width: 31px;
    padding: 7px 0;
    position: relative;
    z-index: 0;
    cursor: pointer !important;
  }
  header nav ul li a:before {
    content: '';
    background-image: url("../img/shared/btn_bg.jpg");
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.3s all ease-in-out;
    opacity: 0;
  }
  header nav ul li a:hover,
  header nav ul li a.active {
    color: #fff8ee;
  }
  header nav ul li a:hover:before,
  header nav ul li a.active:before {
    opacity: 1;
  }
  header nav ul li + li {
    margin-left: 24px;
  }
  header .contact-group {
    width: 334px;
    position: absolute;
    top: 44px;
    right: 0;
    z-index: 1;
  }
  header .contact-group .tel {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 20px;
    margin-bottom: 30px;
  }
  header .contact-group .tel span {
    font-size: 33px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-top: 2px;
  }
  header .contact-group .tel span img {
    margin: -5px 2px 0 3px;
  }
  header .contact-group .access {
    font-size: 17px;
    letter-spacing: 0.15em;
    font-weight: 500;
    line-height: 30px;
    height: 30px;
    margin-left: 1px;
  }
  header .contact-group .access .sns {
    margin-left: 18px;
    padding-left: 23px;
    border-left: 1px solid #646361;
  }
  header .contact-group .access .sns a {
    display: block;
  }
  header .contact-group .access .sns img {
    margin: -7px 0 0 8px;
  }
}

.nav-fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9;
  transition: 0.3s all ease-in-out;
  opacity: 0;
  visibility: hidden;
}

@media screen and (min-width: 768px) {
  .nav-fixed {
    height: 100px;
    background-image: url("../img/shared/bg1.jpg");
    padding: 24px 20px 0 24px;
  }
  .nav-fixed .navi {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 26px;
    margin-top: 15px;
  }
  .nav-fixed .navi li a {
    display: block;
    padding: 0 8px 0 11px;
    position: relative;
  }
  .nav-fixed .navi li a:after {
    content: '';
    background-image: url("../img/shared/btn_bg.jpg");
    position: absolute;
    left: 0;
    right: 0;
    top: 2px;
    bottom: -1px;
    z-index: -1;
    transition: 0.3s all ease-in-out;
    opacity: 0;
  }
  .nav-fixed .navi li a:hover,
  .nav-fixed .navi li a.active {
    color: #fff8ee;
  }
  .nav-fixed .navi li a:hover:after,
  .nav-fixed .navi li a.active:after {
    opacity: 1;
  }
  .nav-fixed .navi li + li {
    margin-left: 23px;
  }
  .nav-fixed .contact .tel {
    font-size: 12.37px;
    letter-spacing: 0.12em;
    font-weight: 500;
    line-height: 20px;
    margin-right: 26px;
  }
  .nav-fixed .contact .tel span {
    font-size: 28.21px;
    letter-spacing: 0.03em;
    font-weight: 400;
    margin-top: 2px;
  }
  .nav-fixed .contact .tel span img {
    margin: -7px 0 0 3px;
  }
  .nav-fixed .contact .insta {
    margin-top: 5px;
  }
}

.nav-fixed.fixed {
  opacity: 1;
  visibility: visible;
}

.has-nav #ft-fixed {
  opacity: 1;
  visibility: visible;
}

.menu-toggle {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 52px 6.66668vw 107px;
  transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  z-index: 9;
  background-image: url("../img/shared/bg1.jpg");
}

.menu-toggle:before {
  content: '';
  width: 42.6667%;
  background-image: url("../img/shared/menu_deco.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center bottom;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.menu-toggle .navi {
  font-size: 18.5px;
  line-height: 32px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.menu-toggle .navi li a {
  display: table;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-toggle .navi li a.active {
  background-image: url("../img/shared/btn_bg.jpg");
  background-size: cover;
  color: #fff;
}

.menu-toggle .navi li + li {
  margin-top: 28px;
}

.menu-toggle .tel {
  max-width: 325px;
  width: 100%;
  background-image: url("../img/shared/bg2.jpg");
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 28px;
  margin: 40px auto 32px;
}

.menu-toggle .tel a {
  display: block;
  padding: 14px 0 20px;
}

.menu-toggle .tel a:hover img {
  opacity: 1 !important;
}

.menu-toggle .tel span {
  font-size: 34px;
  letter-spacing: 0.03em;
}

.menu-toggle .tel span img {
  width: 24px;
  margin: -5px 4px 0 0;
}

.menu-toggle .access {
  max-width: 225px;
  width: 100%;
  margin: 0 auto;
  font-size: 17px;
  font-weight: 500;
  line-height: 35px;
}

.menu-toggle .access li {
  width: 48%;
}

.menu-toggle .access .sns {
  width: 52%;
  text-align: right;
  border-left: 1px solid #5c4f3c;
}

.menu-toggle .access .sns a {
  display: block;
}

.menu-toggle .access .sns img {
  width: 32px;
  margin: -4px 0 0 10px;
}

@media screen and (max-width: 370px) {
  .menu-toggle {
    padding-left: 3.33334vw;
    padding-right: 3.33334vw;
  }
}

/*=============================================
 * key
 *=============================================*/
#key {
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  height: 136vw;
  position: relative;
}

@media only screen and (min-width: 768px) {
  #key {
    height: 780px;
  }
}

/*=============================================
 * <section>
 *=============================================*/
.bg-para {
  width: 100%;
  position: relative;
  z-index: 1;
}

.bg-para .img-parallax {
  clip: rect(0, auto, auto, 0);
  margin-bottom: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
}

.bg-para .img-parallax img {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
}

.remodal .wrapper {
  max-width: 1000px;
  width: 93%;
  margin: 0 auto;
  padding: 5vw 0 10vw;
}

.remodal .pop-ttl {
  font-size: 6vw;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 8vw;
  font-family: 'Shippori Mincho';
}

.remodal .pop-note {
  margin: 5vw 0 8vw;
}

.remodal .pop-block {
  line-height: 24px;
}

.remodal .pop-block .item {
  margin-bottom: 30px;
}

.remodal .pop-block .ttl {
  font-family: 'Shippori Mincho';
  font-size: 5vw;
  letter-spacing: 0.15em;
  font-weight: 500;
  line-height: 8vw;
  border-bottom: 2px solid #654734;
  margin-bottom: 25px;
  padding-bottom: 1vw;
}

.remodal .pop-block .ttl small {
  font-size: 4.2vw;
}

.remodal .pop-block .sttl {
  font-family: 'Shippori Mincho';
  font-size: 16px;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin: 25px 0 10px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #afadaa;
}

.remodal .pop-block .sttl span {
  position: relative;
}

.remodal .pop-block .sttl span:before {
  content: '';
  width: 12px;
  height: 3px;
  background: #654734;
  position: absolute;
  left: -18px;
  top: 11px;
}

.remodal .pop-block .sttl span:after {
  content: '';
  width: 12px;
  height: 3px;
  background: #654734;
  position: absolute;
  right: -15px;
  top: 11px;
}

.remodal .pop-block dl {
  width: 100%;
  display: table;
  border-bottom: 1px solid #afadaa;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.remodal .pop-block dl dt {
  display: table-cell;
  text-align: left;
}

.remodal .pop-block dl dd {
  display: table-cell;
  text-align: right;
  white-space: nowrap;
  padding-left: 5px;
}

.remodal .pop-block ul {
  border-bottom: 1px solid #afadaa;
  padding-bottom: 10px;
  text-align: left;
}

.remodal .pop-block .note3 {
  text-align: left;
}

@media screen and (min-width: 768px) {
  .remodal .wrapper {
    padding: 65px 0 125px;
  }
  .remodal .pop-ttl {
    font-size: 34px;
    line-height: 50px;
  }
  .remodal .pop-note {
    margin: 33px 0 67px;
  }
  .remodal .pop-block {
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
  }
  .remodal .pop-block .col {
    width: 425px;
  }
  .remodal .pop-block .item {
    margin-bottom: 50px;
  }
  .remodal .pop-block .ttl {
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 18px;
    padding-bottom: 3px;
  }
  .remodal .pop-block .ttl small {
    font-size: 22px;
  }
  .remodal .pop-block .sttl {
    font-size: 18px;
    margin: 18px 0 11px;
    padding-bottom: 8px;
  }
  .remodal .pop-block .sttl span:before {
    left: -21px;
    top: 12px;
  }
  .remodal .pop-block .sttl span:after {
    right: -16px;
    top: 12px;
  }
  .remodal .pop-block dl {
    padding: 0 0 9px;
    margin-bottom: 10px;
  }
  .remodal .pop-block ul {
    padding-bottom: 13px;
  }
  .remodal .pop-block .note2 {
    margin-bottom: 23px;
  }
  .remodal .pop-block .note3 {
    margin-right: -10px;
  }
}

/*=============================================
 * <footer>
 *=============================================*/
footer {
  padding: 40px 0 110px;
}

footer .block .coll .logo {
  width: 98px;
  margin: 0 auto 33px;
}

footer .block .coll .text {
  font-size: 11.5px;
  margin: 0 -3vw;
}

footer .block .coll .text .txt1 {
  line-height: 20px;
  margin-bottom: 30px;
}

footer .block .coll .text .txt2 {
  line-height: 27px;
}

footer .block .colr .insta {
  width: 30px;
  margin: 15px auto 25px;
}

footer .block .colr .tel {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 30px;
  font-weight: 500;
  padding: 19px 0 25px;
}

footer .block .colr .tel span {
  font-size: 34px;
  letter-spacing: 0.03em;
}

footer .block .colr .tel span img {
  width: 23px;
  margin: -2px 2px 0 0;
}

footer .block .colr .tel a:hover img {
  opacity: 1 !important;
}

footer .block .colr .row {
  font-size: 11px;
  line-height: 25px;
  margin: 0 -3vw;
}

footer .block .colr .row .copy {
  display: table;
  margin: 28px auto 15px;
  cursor: pointer;
}

footer .block .colr .row .copy:after {
  content: '';
  width: 7px;
  height: 12px;
  background-image: url("../img/shared/icon_copy.png");
  background-repeat: no-repeat;
  background-size: 100%;
  display: inline-block;
  margin-left: 5px;
}

footer .block .colr .row .copy.copied {
  pointer-events: none;
}

footer .block .colr .row #socialbuttons {
  margin-bottom: 25px;
}

footer .block .colr .row .cookies-link a {
  position: relative;
}

footer .block .colr .row .cookies-link a:after {
  content: '';
  width: 7px;
  height: 7px;
  background-image: url("../img/shared/icon_newwindow.png");
  background-repeat: no-repeat;
  background-size: 100%;
  display: inline-block;
  margin-left: 2px;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 50px 0 0px;
  }
  footer nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 42px;
  }
  footer nav ul li {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 25px;
  }
  footer nav ul li a {
    display: block;
    position: relative;
    z-index: 0;
    padding: 0 9px 0 11px;
  }
  footer nav ul li a:before {
    content: '';
    background-image: url("../img/shared/btn_bg.jpg");
    position: absolute;
    left: 0;
    right: 0;
    top: 1px;
    bottom: -1px;
    z-index: -1;
    transition: 0.3s all ease-in-out;
    opacity: 0;
  }
  footer nav ul li a.active,
  footer nav ul li a:hover {
    color: #fff;
  }
  footer nav ul li a.active:before,
  footer nav ul li a:hover:before {
    opacity: 1;
  }
  footer nav ul li + li {
    margin-left: 29px;
  }
  footer .block {
    padding-top: 32px;
    justify-content: space-between;
    position: relative;
  }
  footer .block:after {
    content: '';
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 62px;
    left: 0;
    right: 0;
  }
  footer .block .coll {
    width: 590px;
    margin-top: 7px;
  }
  footer .block .coll .logo {
    width: 99px;
    margin: 6px 40px 0 0;
  }
  footer .block .coll .logo img {
    width: 100%;
    height: auto;
  }
  footer .block .coll .text {
    text-align: left;
    font-size: 13px;
    margin: 0;
  }
  footer .block .coll .text .txt1 {
    line-height: 22px;
    margin-bottom: 13px;
  }
  footer .block .coll .text .txt2 {
    line-height: 30px;
  }
  footer .block .colr {
    text-align: right;
    position: relative;
  }
  footer .block .colr .insta {
    margin: 0;
    position: absolute;
    right: 0;
    top: 7px;
    z-index: 1;
  }
  footer .block .colr .tel {
    width: 248px;
    border: none;
    text-align: left;
    font-size: 12.37px;
    line-height: 20px;
    padding: 0;
    margin-left: auto;
  }
  footer .block .colr .tel span {
    font-size: 24.89px;
  }
  footer .block .colr .tel span img {
    width: 18px;
    height: auto;
    margin: -2px 2px 0 0;
  }
  footer .block .colr .row {
    line-height: 20px;
    margin: 93px 0 0;
  }
  footer .block .colr .row .copy {
    display: table;
    margin: 0 0 11px auto;
    cursor: pointer;
    letter-spacing: 0.15em;
  }
  footer .block .colr .row .copy:after {
    position: relative;
    top: -1px;
  }
  footer .block .colr .row .copy:hover {
    text-decoration: underline;
  }
  footer .block .colr .row #socialbuttons {
    text-align: right;
    margin: 0 -4px 55px 0;
  }
  footer .block .colr .row .cookies-link {
    letter-spacing: 0.15em;
  }
  footer .block .colr .row .cookies-link a {
    position: relative;
  }
  footer .block .colr .row .cookies-link a:after {
    width: 8px;
    height: 8px;
  }
  footer .block .colr .row .cookies-link a:hover {
    text-decoration: underline;
  }
  footer .block .colr .row address {
    letter-spacing: 0.15em;
    margin-right: -4px;
  }
}

@media screen and (min-width: 786px) and (max-width: 1200px) {
  footer {
    padding-bottom: 75px;
  }
}

#ft-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  text-align: center;
  width: 100%;
  height: 60px;
  z-index: 10;
  background: url("../img/shared/bg3.jpg");
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.03em;
}

#ft-fixed a {
  display: block;
  height: 60px;
}

#ft-fixed .tel {
  /* ↓↓web予約無しwidth↓↓ */
  width: 50%;
  /* ↓↓web予約有りwidth↓↓ */
  /* width: 85%; */
  font-size: 8.5px;
  letter-spacing: 0.12em;
  font-weight: 500;
  line-height: 17px;
}

#ft-fixed .tel a {
  padding-top: 11px;
}

#ft-fixed .tel span {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

#ft-fixed .tel span img {
  width: 13.5px;
  margin: -2px 2px 0 0;
}

#ft-fixed .tel a:hover img {
  opacity: 1 !important;
}

#ft-fixed .map {
  width: 25%;
  position: relative;
}

#ft-fixed .map:before {
  content: '';
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
}

#ft-fixed .map:after {
  content: '';
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  right: 0;
  top: 13px;
  bottom: 13px;
}

#ft-fixed .map a {
  padding-top: 14px;
}

#ft-fixed .map img {
  display: block;
  width: 12px;
  margin: 0 auto 2px;
}

#ft-fixed .hamburger {
  width: 25%;
  height: 60px;
  padding-top: 18px;
}

@media only screen and (max-width: 370px) {
  #ft-fixed .tel {
    width: 54%;
  }
  #ft-fixed .map,
  #ft-fixed .hamburger {
    width: 23%;
  }
}

.nav--opened #ft-fixed .map:after {
  opacity: 0;
}

@media only screen and (max-width: 767px) {
  #pagetop {
    width: 59px;
    right: 6.66668vw;
    bottom: 65px;
  }
}

/*=============================================
 * .socialbuttons
 *=============================================*/
/*=============================================
 * copyright
 *=============================================*/
.db {
  display: block;
}

.df {
  display: flex;
}

.jcfs {
  justify-content: flex-start;
}

.jcc {
  justify-content: center;
}

.jcsb {
  justify-content: space-between;
}

.jcfe {
  justify-content: flex-end;
}

.aifs {
  align-items: flex-start;
}

.aic {
  align-items: center;
}

.aife {
  align-items: flex-end;
}

.sp {
  display: block;
}

.pc {
  display: none;
}

@media only screen and (min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  .df-pc {
    display: flex;
  }
}

/* --------------------------------------------------------------------- */
/* ef */
/* --------------------------------------------------------------------- */
@-webkit-keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-delay: 0.3s;
}

@media only screen and (min-device-width: 375px) and (min-device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  footer {
    padding-bottom: calc(env(safe-area-inset-bottom) + 110px);
  }
  #ft-fixed:after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: url("../img/shared/bg3.jpg");
    z-index: -1;
  }
  #ft-fixed {
    bottom: calc(env(safe-area-inset-bottom) - 0px);
  }
  #pagetop {
    bottom: calc(env(safe-area-inset-bottom) + 65px);
  }
}

/* iPhone XR */
@media only screen and (min-device-width: 414px) and (min-device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
  footer {
    padding-bottom: calc(env(safe-area-inset-bottom) + 110px);
  }
  #ft-fixed:after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: url("../img/shared/bg3.jpg");
    z-index: -1;
  }
  #ft-fixed {
    bottom: calc(env(safe-area-inset-bottom) - 0px);
  }
  #pagetop {
    bottom: calc(env(safe-area-inset-bottom) + 65px);
  }
}

/* iPhone 11 */
@media only screen and (-webkit-min-device-pixel-ratio: 3), only screen and (min--moz-device-pixel-ratio: 3), only screen and (-o-min-device-pixel-ratio: 3 / 1), only screen and (min-device-pixel-ratio: 3), only screen and (min-resolution: 458dpi), only screen and (min-resolution: 3dppx) {
  footer {
    padding-bottom: calc(env(safe-area-inset-bottom) + 110px);
  }
  #ft-fixed:after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: url("../img/shared/bg3.jpg");
    z-index: -1;
  }
  #ft-fixed {
    bottom: calc(env(safe-area-inset-bottom) - 0px);
  }
  #pagetop {
    bottom: calc(env(safe-area-inset-bottom) + 65px);
  }
}

@media only screen and (min-width: 768px) {
  .nav--opened #ft-fixed:after,
  #ft-fixed:after {
    display: none;
  }
}

/*--------------------fixed-------------------*/
#btn-fix {
  position: fixed;
  top: 150px;
  right: 0px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 10;
}

#btn-fix li+li {
  margin-top: 21px;
}

@media screen and (max-height: 768px) {
  #btn-fix {
    text-align: right;
  }

  #btn-fix img {
    width: 70%;
    height: auto;
  }
  .for-pc {
    display: none;
  }

}

.has-nav #btn-fix {
  opacity: 1;
  visibility: visible;
}
