*:focus {
  outline: 0 !important;
}

html,
body {
  background-color: #4197b8 !important;
  color: white !important;
}

p {
  margin: 0 !important;
  padding: 0 !important;
}

a,
a:visited,
a:hover,
a:active {
  color: #ffffff;
  text-decoration: none !important;
}

a.animated.text-primary,
a.animated.text-primary:visited,
a.animated.text-primary:hover,
a.animated.text-primary:active {
  color: #4197b8 !important;
}

a.animated {
  position: relative;
  display: inline;
  cursor: pointer;
  transition: color 1s ease;
  padding-bottom: 5px;
  font-size: 14px;
}

a.animated:hover {
  color: #ffffff;
}

a.animated.text-primary:hover {
  color: #4197b8;
}

a.animated:hover:after {
  width: 100%;
}

a.animated:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -0.15em;
  left: 0;
  width: 0;
  height: 2px;
  background: #e5e5e5;
  transition: width 1s ease;
}
a.animated.text-primary:after {
  background: #4197b8;
}

.page hr {
  border: 1px solid #4197b8 !important;
  border-radius: 5px !important;
}

.page hr.black {
  border: 1px solid #707070 !important;
  border-radius: 5px !important;
}

.body {
  position: absolute;
  top: 69px;
  left: 0;
  right: 0;
  bottom: 0;
}

.header {
  overflow: hidden;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1050 !important;
  background-color: #4197b8;
}

html:not([data-scroll="0"]) .header {
  overflow: hidden;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1050 !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.navbar {
  width: 100%;
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  height: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.vertical-centered-cell {
  display: table-cell;
  vertical-align: middle;
}
.logo-title {
  font: 12px system-ui, "Hiragino Sans", "游ゴシック", "Yu Gothic",
    "游ゴシック体", YuGothic, sans-serif;
}

.scaleAnimation {
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
}

.scaleAnimation:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.img-hover-zoom {
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
}

.service-title-line {
  position: absolute;
  left: -15px;
  top: -25%;
  bottom: -25%;
  width: 4px;
  height: 150%;
  background-color: #4197b8;
}
.service-title {
  text-align: left;
  font: 20px/23px system-ui, "Hiragino Sans", "游ゴシック", "Yu Gothic",
    "游ゴシック体", YuGothic, sans-serif;
}
.service-text a {
  font: 17px/23px system-ui, "Hiragino Sans", "游ゴシック", "Yu Gothic",
    "游ゴシック体", YuGothic, sans-serif;
}

@media (min-width: 576px) {
  .service-title-line {
    position: absolute;
    top: unset;
    bottom: -40px;
    left: 15%;
    right: 15%;
    height: 3px;
    width: 70%;
    background-color: #4197b8;
  }
  .service-title {
    text-align: center;
    font: 20px/23px system-ui, "Hiragino Sans", "游ゴシック", "Yu Gothic",
      "游ゴシック体", YuGothic, sans-serif;
  }
}

.sun-rays {
  margin-left: -5px;
  margin-top: -20px;
}

a.mail-to-link {
  color: #4197b8 !important;
  text-decoration: underline !important;
  font-weight: 600;
  word-break: break-all;
}

.no-spacing {
  line-height: 0;
  padding: 0;
  margin: 0;
}

.first-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-height: 700px;
}

.closing-announcement-wrapper {
  position: relative;
  width: 92%;
  max-width: 720px;
  font-size: 14px;
  line-height: 21px;
  height: 200px;
  overflow-y: scroll;
  text-align: left;
  border: solid 1px #afafaf;
  border-radius: 3px;
  margin: 12px auto 0;
  background-color: white;
}

.closing-announcement-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(white, rgba(255, 255, 255, 0.001)); /* transparent keyword is broken in Safari */
}

.closing-announcement-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(rgba(255, 255, 255, 0.001), white); /* transparent keyword is broken in Safari */
}

.closing-announcement {
  overflow-y: scroll;
  background: white;
  width: 100%;
  height: 198px;
  padding: 18px 12px 20px;
  line-height: 1.2;
}

.closing-announcement p {
  font-size: 14px;
  line-height: 27px;
  color: black;
  font-weight: 300;
}
