a {
  transition: all 0.3s;
}

a:hover {
  opacity: 0.7;
  text-decoration: none;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99;
  padding-top: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
}

.top-logo {
  max-width: 1140px;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  margin: 0.5rem auto;
  padding-right: 15px;
  padding-left: 15px;
}

.top-tel {
  background-color: #3C78B8;
  color: white;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  height: 3.5rem;
  letter-spacing: 0.2rem;
}
.top-tel a {
  color: white;
  text-decoration: none;
}
.top-tel img {
  margin: -0.6rem 0.3rem 0;
}
.top-tel1 {
  margin: 0.5rem 0.5rem 0.5rem 1rem;
  padding: 0.5rem 1rem 0rem 0;
  border-right: 1px solid white;
  font-size: 1.1rem;
}
.top-tel2 {
  margin: 0.3rem 1.0rem 0rem 0.4rem;
  font-size: 2.1rem;
  font-weight: bold;
}

.navbar-nav {
  text-align: right;
}

.column {
}

.column .list-title {
}

.link-button {
  display: inline-block;
  text-align: center;
  letter-spacing: 0.1rem;
  background-color: #072E49;
  color: white;
  border: 0;
  border-radius: 35px;
  padding: 0.5rem 3rem;
	background: #072E49 url(../images/arrow_right.png) right 1rem center/0.8rem auto no-repeat;
}

.link-button:hover {
  color: white;
}

.container.senior {
  margin-bottom: 5rem;
  padding-top: 7rem;
}

.message-title {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.8rem;
  line-height: 3rem;
  margin-bottom: 4rem;
  text-align: left;
}

.message {
  font-size: 1.2rem;
  line-height: 2.2rem;
  padding-right: 0.5rem !important;
  margin-bottom: 4rem;
  text-align: left;
}

.service {
  margin-bottom: 5rem;
  background-color: #f2f2f2;
}

.service .title{
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 0.8rem;
  line-height: 3.5rem;
}

.service .subtitle{
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.8rem;
}

.service a {
  color: black;
}

.service .list-title {
  padding-top: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.service .list-text {
  padding-top: 1.2rem;
  font-size: 1.1rem;
  height: 2rem;
}

.service .list-text-2 {
  padding-top: 1.2rem;
  font-size: 1.1rem;
  height: 7rem;
}

.service .link-button {
  width: 15rem;
  letter-spacing: 0.2rem;
  margin: 2rem 0;
}

.group-map {
	background: #072E49 url("../images/back.png") center no-repeat;
  background-size: cover;
}
.group-map a {
  color: black;
}
.group-map a:hover {
  color: black;
  text-decoration: underline;
}
.group-map .container {
  background-color: rgba(255, 255, 255, 0.8);
}

.group-title {
  font-size: 1.3rem;
  font-weight: bold;
  white-space: nowrap;
  margin-top: 2rem;
}
.group-map ul {
  border-left: 2px solid black;
  padding-left: 1.6rem;
}
.group-map ul li {
  list-style: none;
  padding-bottom: 0.6rem;
}
.group-map ul li:last-of-type {
  padding-bottom: 0;
}

#accordion_menu {
  border-left: none;
}
#accordion_menu > ul {
  padding: 1rem;
  border-left: none;
}
#accordion_menu > li {
  border: #ccc 1px solid;
  margin-bottom: -1px;
  padding-bottom: 0;
}
#accordion_menu a{
  font-size: 1rem;
}
#accordion_menu a[data-toggle="collapse"]{
  display: block;
  padding: 1rem 0 1rem 1.5rem;
  text-decoration: none;
  position: relative;
}
#accordion_menu a[data-toggle="collapse"]:hover{
}
#accordion_menu a[data-toggle="collapse"]::after{
  content:"";
  display: block;
  width: 8px;
  height: 8px;
  border-top: #666 1px solid;
  border-right: #666 1px solid;
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}
#accordion_menu a[aria-expanded=false]::after{
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  transition-duration: 0.3s;
}
#accordion_menu a[aria-expanded=true]::after{
  -webkit-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  transform: rotate(315deg);
  transition-duration: 0.3s;
}
[id^="menu"] li{
  padding: 0.5rem 0 0.5rem 2rem;
}

footer {
  width: 100%;
}

.footer-tel {
  background-color: #000851;
  color: white;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  height: 3.5rem;
  letter-spacing: 0.2rem;
}

.footer-tel a {
  color: white;
  text-decoration: none;
}

.footer-tel1 {
  margin: 0.6rem 0.5rem 0.5rem 1rem;
  padding: 0.5rem 1rem 0rem 1rem;
  font-size: 0.8rem;
  border: 1px solid #E0D9D1;
}

.footer-tel img {
  margin: -0.5rem 0.5rem 0;
  width: 35px;
}

.footer-tel2 {
  margin: 1.0rem 1.0rem 0rem 0.1rem;
  font-size: 1.3rem;
  font-weight: bold;
}

.footer-menu {
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  color: #FFF;
  background-color: #B1966B;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  letter-spacing: 0.1rem;
  white-space: nowrap;
}

.footer-menu div {
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center
}

.footer-menu p {
  border-right: 1px solid #FFF;
  border-left: 1px solid #FFF;
  margin-bottom: 0.0rem;
  margin-left: -1px;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.footer-menu a {
  color: #FFF;
}

.footer-menu a:hover {
  text-decoration: none;
}

#page-top a {
  background: #072E49;
  border-radius: 100%;
  width: 4.5rem;
  height: 4.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all .3s;
}
#page-top a:hover {
  text-decoration: none;
}
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  transform: translateY(100px);
}
#page-top img {
  width: 0.8rem;
  margin-top: -0.3rem;
  margin-bottom: 0.2rem;
}
#page-top p {
  margin: 0;
}
#page-top.UpMove {
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
	  transform: translateY(100px);
  }
  to {
    opacity: 1;
  	transform: translateY(0);
  }
}

#page-top.DownMove {
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
  	opacity: 1;
  	transform: translateY(0);
  }
  to {
  	opacity: 1;
  	transform: translateY(100px);
  }
}

@media (min-width: 992px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

@media (max-width: 1199.98px) {
  .top-logo {
    max-width: 960px;
  }

  .message-title {
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 3rem;
  }
  .message {
    font-size: 1.1rem;
    line-height: 2.1rem;
    margin-bottom: 3rem;
  }

  .group-map a {
    font-size: 0.9rem;
  }
  .group-map ul {
    padding-left: 1.4rem;
  }
  .group-map ul li {
    font-size: 0.9rem;
  }
  .group-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 991.98px) {
  header {
    font-size: 1rem;
    height: 4rem;
    padding-top: 0;
  }

  .top-logo {
    max-width: 720px;
    justify-content: center;
  }

  .message-title {
    font-size: 1.8rem;
    line-height: 3rem;
    margin-bottom: 4rem;
  }

  .senior .link-button {
    margin: 2rem 0;
    width: 100%;
  }

  .service {
    margin-bottom: 0;
  }
  .service .list-text, .service .list-text-2 {
    height: auto;
  }
  .service .link-button {
    width: 100%;
  }

  .group-map .container {
    padding-left: 0;
    padding-right: 0;
  }
  .group-map ul {
    padding-left: 0;
  }
  .group-map ul li {
    padding-bottom: 0.6rem;
  }
  .group-map ul li:last-of-type {
    padding-bottom: 0.6rem;
  }
  .group-map a {
    font-size: 1rem;
  }
  .group-map ul li {
    font-size: 1rem;
  }
  .group-title {
    margin-top: 0;
  }

  footer {
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    justify-content: center;
    bottom: 0;
    z-index: 99;
    background-color: #000851;
  }

  .footer-menu {
    margin-bottom: 4rem;
  }
  .footer-tel {
    letter-spacing: 0.1rem;
  }
  .footer-tel img {
    width: 30px;
    margin: -0.3rem 0.5rem 0;
  }
  .footer-tel1 {
    margin: 0.8rem 0.5rem;
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .top-logo {
    max-width: 540px;
  }
}

@media (max-width: 575.98px) {
  .service .title {
    font-size: 2.5rem;
  }
  .service .subtitle {
    font-size: 1.5rem;
  }

  .message {
    font-size: 1rem;
    padding: 1rem;
  }
  .message-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 2.5rem;
  }
}
