/* Header
---------------------------------------------------- */
.header .hd-main .logo {
  width: 230px;
  -webkit-filter: drop-shadow(0px 0px 4px #5ba5c3);
          filter: drop-shadow(0px 0px 4px #5ba5c3);
}
@media screen and (max-width: 768px) {
  .header .hd-main .logo {
    width: 30%;
  }
}
@media screen and (max-width: 480px) {
  .header .hd-main .logo {
    width: 40%;
  }
}
.header .hd-main .logo img:hover {
  opacity: 1;
}
.header .hd-main .g-navi {
  margin-left: auto;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-style: normal;
}
.header .hd-main .g-navi * {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.header .hd-main .g-navi ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.header .hd-main .g-navi ul li {
  float: none;
  margin-left: 30px;
}
.header .hd-main .g-navi ul li:first-child {
  margin-left: auto;
}
.header .hd-main .g-navi ul li.active a {
  pointer-events: none;
  color: #FFF;
  background: #5ba5c3;
}
.header .hd-main .g-navi ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 20px;
  padding: 2px 1em 0 1em;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  color: #1d2088;
  background: #FFF;
  border-radius: 999px;
  line-height: 1;
}
.header .hd-main .g-navi ul li a span {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-style: normal;
  margin-top: 2px;
}
.header .hd-main .g-navi ul li a:hover {
  color: #FFF;
  background: #1d2088;
}

/* Home MainVisual Fade Slide
---------------------------------------------------- */
.main-visual {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.main-visual .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 1s ease, visibility 0s linear 1s;
  transition: opacity 1s ease, visibility 0s linear 1s;
  /* The first slide retains the height of the original single image. */
}
.main-visual .slide:first-child {
  position: relative;
}
.main-visual .slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

/* Footer Scroll Animation
---------------------------------------------------- */
.ft-main {
  background: none;
  padding: 30px 0 0;
}
.ft-main .ft-loop {
  position: relative;
  width: 100%;
  height: 104px;
  overflow: hidden;
}
.ft-main .ft-loop .image {
  width: calc(100% + 1412px);
  height: 104px;
  background: url(../images/common/ft_loopimage.png) repeat-x left bottom;
  -webkit-animation: ftloop 100s linear infinite;
          animation: ftloop 100s linear infinite;
}

@-webkit-keyframes ftloop {
  from {
    translate: 0 0;
  }
  to {
    translate: -1412px 0;
  }
}

@keyframes ftloop {
  from {
    translate: 0 0;
  }
  to {
    translate: -1412px 0;
  }
}
/* Service page
---------------------------------------------------- */
#service .slope.bl {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  #service .slope.bl {
    margin-top: 90px;
  }
}
@media screen and (max-width: 480px) {
  #service .slope.bl {
    margin-top: 50px;
  }
}

/* Title Text Animation
---------------------------------------------------- */
.chapter-title {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
}
.chapter-title * {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.chapter-title .anim {
  --delay-speed: 0.05s;
  display: inline-block;
  opacity: 0;
  -webkit-transform-origin: center bottom;
          transform-origin: center bottom;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
.chapter-title .anim:nth-child(1) {
  -webkit-animation-delay: calc(var(--delay-speed) * 0);
          animation-delay: calc(var(--delay-speed) * 0);
}
.chapter-title .anim:nth-child(2) {
  -webkit-animation-delay: calc(var(--delay-speed) * 1);
          animation-delay: calc(var(--delay-speed) * 1);
}
.chapter-title .anim:nth-child(3) {
  -webkit-animation-delay: calc(var(--delay-speed) * 2);
          animation-delay: calc(var(--delay-speed) * 2);
}
.chapter-title .anim:nth-child(4) {
  -webkit-animation-delay: calc(var(--delay-speed) * 3);
          animation-delay: calc(var(--delay-speed) * 3);
}
.chapter-title .anim:nth-child(5) {
  -webkit-animation-delay: calc(var(--delay-speed) * 4);
          animation-delay: calc(var(--delay-speed) * 4);
}
.chapter-title .anim:nth-child(6) {
  -webkit-animation-delay: calc(var(--delay-speed) * 5);
          animation-delay: calc(var(--delay-speed) * 5);
}
.chapter-title .anim:nth-child(7) {
  -webkit-animation-delay: calc(var(--delay-speed) * 6);
          animation-delay: calc(var(--delay-speed) * 6);
}
.chapter-title .anim:nth-child(8) {
  -webkit-animation-delay: calc(var(--delay-speed) * 7);
          animation-delay: calc(var(--delay-speed) * 7);
}
.chapter-title .anim:nth-child(9) {
  -webkit-animation-delay: calc(var(--delay-speed) * 8);
          animation-delay: calc(var(--delay-speed) * 8);
}
.chapter-title .anim:nth-child(10) {
  -webkit-animation-delay: calc(var(--delay-speed) * 9);
          animation-delay: calc(var(--delay-speed) * 9);
}
.chapter-title .anim:nth-child(11) {
  -webkit-animation-delay: calc(var(--delay-speed) * 10);
          animation-delay: calc(var(--delay-speed) * 10);
}
.chapter-title .anim:nth-child(12) {
  -webkit-animation-delay: calc(var(--delay-speed) * 11);
          animation-delay: calc(var(--delay-speed) * 11);
}
.chapter-title .anim:nth-child(13) {
  -webkit-animation-delay: calc(var(--delay-speed) * 12);
          animation-delay: calc(var(--delay-speed) * 12);
}
.chapter-title .anim:nth-child(14) {
  -webkit-animation-delay: calc(var(--delay-speed) * 13);
          animation-delay: calc(var(--delay-speed) * 13);
}
.chapter-title .anim:nth-child(15) {
  -webkit-animation-delay: calc(var(--delay-speed) * 14);
          animation-delay: calc(var(--delay-speed) * 14);
}
.chapter-title .anim:nth-child(16) {
  -webkit-animation-delay: calc(var(--delay-speed) * 15);
          animation-delay: calc(var(--delay-speed) * 15);
}
.chapter-title .anim:nth-child(17) {
  -webkit-animation-delay: calc(var(--delay-speed) * 16);
          animation-delay: calc(var(--delay-speed) * 16);
}
.chapter-title .anim:nth-child(18) {
  -webkit-animation-delay: calc(var(--delay-speed) * 17);
          animation-delay: calc(var(--delay-speed) * 17);
}
.chapter-title .anim:nth-child(19) {
  -webkit-animation-delay: calc(var(--delay-speed) * 18);
          animation-delay: calc(var(--delay-speed) * 18);
}
.chapter-title .anim:nth-child(20) {
  -webkit-animation-delay: calc(var(--delay-speed) * 19);
          animation-delay: calc(var(--delay-speed) * 19);
}
.chapter-title.inView .anim {
  -webkit-animation-name: chapter-title-opacity, chapter-title-scale, chapter-title-translate;
          animation-name: chapter-title-opacity, chapter-title-scale, chapter-title-translate;
  -webkit-animation-duration: 0.15s;
          animation-duration: 0.15s;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

@-webkit-keyframes chapter-title-opacity {
  0% {
    opacity: 0;
  }
  30%, 100% {
    opacity: 1;
  }
}

@keyframes chapter-title-opacity {
  0% {
    opacity: 0;
  }
  30%, 100% {
    opacity: 1;
  }
}
@-webkit-keyframes chapter-title-scale {
  0% {
    scale: 0.3;
  }
  30% {
    scale: 1.5;
  }
  100% {
    scale: 1;
  }
}
@keyframes chapter-title-scale {
  0% {
    scale: 0.3;
  }
  30% {
    scale: 1.5;
  }
  100% {
    scale: 1;
  }
}
@-webkit-keyframes chapter-title-translate {
  0%, 100% {
    translate: 0 0;
  }
  70% {
    translate: 0 -10px;
  }
}
@keyframes chapter-title-translate {
  0%, 100% {
    translate: 0 0;
  }
  70% {
    translate: 0 -10px;
  }
}
/*-------------------------------------------> animation module */
.anim-fadeInUp {
  opacity: 0;
  -webkit-animation-duration: 0.75s;
          animation-duration: 0.75s;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: cubic-bezier(0.67, 0, 0.18, 1);
          animation-timing-function: cubic-bezier(0.67, 0, 0.18, 1);
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.inView .isAnim.inView.anim-fadeInUp,
.inView .isAnim.inView .anim-fadeInUp,
.inView .anim-fadeInUp,
.inView.anim-fadeInUp {
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}

.inView .isAnim.anim-fadeInUp,
.inView .isAnim .anim-fadeInUp {
  -webkit-animation-name: none;
          animation-name: none;
}

.anim-fadeIn {
  opacity: 0;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: cubic-bezier(0.67, 0, 0.18, 1);
          animation-timing-function: cubic-bezier(0.67, 0, 0.18, 1);
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.inView .isAnim.inView.anim-fadeIn,
.inView .isAnim.inView .anim-fadeIn,
.inView .anim-fadeIn,
.inView.anim-fadeIn {
  -webkit-animation-name: fadeIn;
          animation-name: fadeIn;
}

.inView .isAnim.anim-fadeIn,
.inView .isAnim .anim-fadeIn {
  -webkit-animation-name: none;
          animation-name: none;
}

.anim-popup {
  opacity: 0;
  -webkit-animation-duration: 0.15s;
          animation-duration: 0.15s;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.inView .isAnim.inView.anim-popup,
.inView .isAnim.inView .anim-popup,
.inView .anim-popup,
.inView.anim-popup {
  -webkit-animation-name: popup;
          animation-name: popup;
}

.inView .isAnim.anim-popup,
.inView .isAnim .anim-popup {
  -webkit-animation-name: none;
          animation-name: none;
}

/* delay */
.delay0 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

.delay1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

.delay2 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

.delay3 {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}

.delay4 {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}

.delay5 {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

.delay6 {
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}

.delay7 {
  -webkit-animation-delay: 1.4s;
          animation-delay: 1.4s;
}

.delay8 {
  -webkit-animation-delay: 1.6s;
          animation-delay: 1.6s;
}

.delay9 {
  -webkit-animation-delay: 1.8s;
          animation-delay: 1.8s;
}

.delay10 {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

.delay11 {
  -webkit-animation-delay: 2.2s;
          animation-delay: 2.2s;
}

/*-------------------------------------------> keyframe */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
            transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
            transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes popup {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  1% {
    opacity: 1;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  70% {
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes popup {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  1% {
    opacity: 1;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  70% {
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}