@charset "utf-8";
/* フッター */
#footer {
  width: 100%;
}
footer {
  background-color: var(--light-blue);
  color: #FFF;
  font-size: 1.2rem;
  text-align: center;
  margin: 2em 0 0 0;
  padding: 0;
  position: relative;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.25em 0;
}
footer ul li:nth-of-type(3) {
  width: 100%;
}
footer ul li:nth-of-type(1)::after,
footer ul li:nth-of-type(4)::after {
  color: #000;
  content: " ｜ ";
}
footer ul a {
  color: #000;
  text-decoration: none;
}
footer .copyright {
  background-color: var(--dark-gray);
  font-size: 1.1rem;
  width: 100%;
}
footer .pagetop {
  background-image: url("../images/icon_pagetop.svg");
  background-size: contain;
  bottom: 1em;
  height: 3.5em;
  opacity: 0.85;
  position: fixed;
  right: 0.5em;
  width: 3.5em;
}
footer .pagetop a {
  display: block;
  width: 100%;
  height: 100%;
}
footer .pagetop a::before {
  content: "";
}
footer .pc_apply {
  display: none;
}
@media only screen and (min-width: 768px){
  footer {
    background-color: transparent;
  }
  footer .pc_apply {
    align-items: center;
    background-color: var(--red);
    border-bottom: solid 4px #A90000;
    border-radius: 50%;
    bottom: 1em;
    color: #FFF;
    display: flex;
    font-size: 1.8rem !important;
    font-weight: bold;
    height: 100px;
    justify-content: center;
    line-height: 1.3;
    padding: 0 10px;
    position: fixed;
    right: 1em;
    width: 100px;
    z-index: 100;
  }
  footer .pc_apply a {
    align-items: center;
    color: #FFF;
    display: flex;
    height: 100%;
    text-decoration: none;
    width: 100%;
  }
  footer .pc_apply a:hover {
    text-decoration: none;
  }
  footer a:hover {
    text-decoration: underline;
  }
  footer ul {
    justify-content: flex-start;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0.5rem 0;
    width: 90vw;
  }
  footer li {
    font-size: 1.4rem;
  }
  footer ul li::after {
    color: #000;
    content: "｜";
    padding: 0 0.7rem;
  }
  footer ul li:last-of-type::after {
    content: "";
  }
  footer ul li:nth-of-type(3) {
    width: auto;
  }
  footer > div {
    background-color: var(--dark-gray);
    padding: 0.5rem 0;
  }
  footer > div > div {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0.3rem 0;
    width: 90vw;
  }
  footer .copyright {
    font-size: 1.4rem;
    text-align: left;
    width: 70%;
  }
  footer .pagetop {
    background-image: none;
    bottom: 0;
    height: auto;
    opacity: 1;
    position: relative;
    right: 0;
    text-align: right;
    width: 30%;
  }
  footer .pagetop a {
    color: #FFF;
    text-decoration: none;
  }
  footer .pagetop a::before {
    content: "↑ ページの先頭に戻る";
  }
  footer .pagetop a:hover {
    text-decoration: underline;
  }
}