@charset "utf-8";
@import url("root.css");

/***************************************
---------------- FOOTER ----------------
***************************************/
footer {
  background: var(--sub-color03);
  position: relative;
}
.f_nav{
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}
.f_nav ul{
  display: flex;
  justify-content: flex-end;
}
.f_nav ul li{
  margin-left: 40px;
}
.f_nav ul li a{
  color: var(--base-color03);
}
.copyright {
  font-size: 1.2rem;
  width: 100%;
  text-align: center;
  color: var(--base-color03);
	background:  var(--sub-color03);
	padding: 12px;
}

#page_top a {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 100px;
  color: var(--base-color02);
  text-align: center;
  background: var(--base-color01);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 99;
}
#page_top a::before {
  content: "";
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-bottom: 4px solid var(--base-color02);
  border-right: 4px solid var(--base-color02);
  transform: rotate(225deg);
  margin-bottom: -1px;
}
#page_top a span {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.0;
}
@media screen and (max-width: 787px) {
footer .container {
 padding: 30px 0;
}
.f_nav ul li {
  margin-left: 20px;
}
}
@media only screen and (max-width:768px) {
#page_top{
  display: none;
}
.f_nav {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}
}
@media only screen and (min-width: 600px) {
footer {
  padding-bottom: 80px;
}
}
@media only screen and (max-width: 599px) {
footer {
  padding-bottom: 60px;
}
.f_nav ul {
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
}
.f_nav ul li{
  margin: 0;
}
.f_nav ul li a{
  padding: 0 5px;
  font-size: 1.4rem;
}
}

/*--------------------
追尾バナー
---------------------*/
.fixed-btn {
  display: none;
}
.fixed-btn dl dd {
  background-position: left center;
  background-repeat: no-repeat;
  width: 120px;
  height: 170px;
  background-size: 100%;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: .3s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(.645, .045, .355, 1);
  -webkit-transform: translateX(64px);
  transform: translateX(64px)
}
.fixed-btn dl dd.fixed-btn-mail {
  background-color: #000;
}
.fixed-btn-mail a{
  display: block;
  width: 128px;
}
.fixed-btn dl dd.fixed-btn-tel {
  background-color: #0583e1;
}
.fixed-btn dl dd.fixed-btn-top{
  background-color: var(--base-color01);
  width: 120px;
  height: 60px;
}
.fixed-btn-top a {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  bottom: 100px;
  width: 65px;
  height: 60px;
  background-color: #cda205;
  color: var(--base-color03);
  text-align: center;
  z-index: 99;
}
.fixed-btn-top a::before {
  content: "";
  width: 1px;
  height: 1px;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--base-color03);
  border-left: 10px solid transparent;
  margin-bottom: 5px;
}
.fixed-btn-top a span {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.0;
}

@media only screen and (min-width:769px) {
.fixed-btn dl dd:hover {
  -webkit-transform: translateX(47px);
  transform: translateX(47px)
}
.fixed-btn-mail span{display: none;}
.fixed-btn-tel{display: none;}
}

@media only screen and (max-width:768px) {
.fixed-btn {
  display: block;
  position: fixed;
  z-index: 9;
  top: auto;
  bottom: 0;
  width: 100%
}
.fixed-btn dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-height: 80px;
}
.fixed-btn dl dd {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  width: 30%;
  height: 80px;
  height: 12.5vw;
}
.fixed-btn dl dd.fixed-btn-mail {
  width: 40%;
  height: 80px;
  background-image: none;
  border-radius: 0;
}
.fixed-btn dl dd.fixed-btn-tel {
  width: 40%;
  height: 80px;
}
.fixed-btn dl dd.fixed-btn-top {
  width: 20%;
  height: 80px;
  border-radius: 0;
}
.fixed-btn dl dd .inner {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 80px;
  line-height: 1.0;
  letter-spacing: .05em;
  padding: 0px;
  color: #fff;
  font-weight: 500;
}
.fixed-btn dl dd .inner::before {
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 32px;
  height: 32px;
  margin-bottom: 0px;
}
.fixed-btn dl dd.fixed-btn-mail .inner::before {
  background-image: url(../img/mail_wh.svg);
}
.fixed-btn dl dd.fixed-btn-tel .inner::before {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7434%) hue-rotate(264deg) brightness(116%) contrast(102%);
  background-image: url(../img/icn_tel_bk.svg);
}
.fixed-btn-top a::before {
  content: none;
}
.fixed-btn-top a span.inner::before {
  content: "";
  width: 1px;
  height: 1px;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--base-color03);
  border-left: 10px solid transparent;
  margin-bottom: 5px;
}
.fixed-btn-mail a {
  width: auto;
}

.fixed-btn-top a {
  width: auto;
  height: auto;
}
}
@media only screen and (max-width:599px) {
.fixed-btn dl {
  max-height: 60px;
}
.fixed-btn dl dd .inner {
  font-size: 1.2rem;
  height: 60px;
}
.fixed-btn dl dd .inner::before {
  margin-bottom: 5px;
  width: 26px;
  height: 26px;
}
 .fixed-btn dl dd.fixed-btn-top .inner::before {
  width: 20px;
  height: 20px;
}
.fixed-btn-top a span.inner::before {
  border-right: 10px solid transparent;
  border-bottom: 13px solid var(--base-color03);
  border-left: 10px solid transparent;
}
}
