@charset "UTF-8";

/*////////////////////////*/
/*ヘッダー*/
/*////////////////////////*/
body {
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
}

#header {
  /* box-shadow: 0px 3px 15px rgba(0,0,0,0.2); */
  z-index: 99;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #1eb0f1;
}
#gNav a:hover {
  color: #999;
}
nav li a {
  font-size: 13px;
  letter-spacing: 0.1em;
}
nav li a span {
  display: block;
  font-size: 8px;
  letter-spacing: 0;
}
nav .sub-menu,.mean-container .mean-nav ul ul {
  background: #cdcdcd;
  /*background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);*/
}
@media only screen and ( max-width : 768px ) {
  #header {
/*    padding: 10px 0;*/
    height: 60px;
    background: #1eb0f1;
  }
  .h_logo {
    width: 100px;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 100;
  }
  #gNav .nav {
    overflow-y: auto;
    height: 100vh;
  }
  .mean-nav .container {
    padding: 0;
  }
  nav li .fa {
    display: none;
  }
}

@media print, screen and ( min-width : 769px ) {
  #header {
    height: 80px;
  }
  .h_logo {
    width: 120px;
  }
  #h_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  #gNav ul {
    position: relative;
    display: flex;
    align-items: center;
  }
  #gNav li {
    position: relative;
    margin: 0 1em;
  }
  #gNav li:last-child {
/*    margin-right: 0;*/
  }
  #gNav li i {
    font-size: 16px;
    margin-left: 5px;
  }
  #gNav li a {
    position: relative;
    display: block;
    text-align: center;
    /* height: 80px;
    padding-top: 25px; */
    color: #fff;
  }
  #gNav li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    bottom: -5px;               /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
  }
  #gNav li a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
  }
  .gmenu-last {
    background: #000;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff;
  }
  .gmenu-last:hover {
    background: #00649F;
    color: #fff!important;
  }
  #gNav .sub-menu {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    display: block;
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -100px;
    width: 220px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  #gNav .sub-menu a {
    padding: 10px;
    display: block;
    border-bottom: none;
    padding: 20px;
    line-height: 1.2em;
    height: auto;
  }
  #gNav .sub-menu a:hover:after {
    content: none;
  }
  #gNav .sub-menu li {
    display: block;
    font-size: 16px;
    padding: 0;
    margin: 0;
  }
  #gNav .sub-menu li:last-child {
    border-bottom: none;
  }
  #gNav ul > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  #gNav ul > li:hover a,#gNav .current-menu-item a,#gNav .current-menu-parent a {
    color: #000000;
  }
  #gNav li:hover ul.sub-menu {
    top: 40px;
    visibility: visible;
    opacity: 1;
    z-index: 9999;
  }
  #gNav li ul li:after {
    content: none;
  }
 #gNav li:hover ul.sub-menu a {
    color: #111;
  }
  #gNav .sub-menu li a:hover {
    background: #fff;
  }
  #gNav .contact_btn a:hover {
    color: #fff;
  }
}

/*グローバルメニュー-ホバーアンダーライン*/
.top-menu {
  width: 100%;
  height: 60px;
  background: #fff;
}
.top-menu ul li a {
  position: relative;
  display: block;
  text-align: center;
  height: 60px;
  padding-top: 20px;
}
.top-menu ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #987c63;
  bottom: 10px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}
.top-menu ul li a:hover {
  color: #000000;
}
.top-menu ul li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}


/*ページトップへ*/
#page-top {
  display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
    z-index: 1;
}
#page-top a {
    text-decoration: none;
    color: #fff;
    width: 40px;
    /* padding: 30px 0; */
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}

#about , #message , #histry , #sdgs , #service01 , #service02 , #service03 , #service04 , #service05 , #service06 , #service07 {
  scroll-margin-top: 80px;
}


/*////////////////////////*/
/*下層ページタイトル*/
/*////////////////////////*/
.bread-wrap {
  position:absolute;
  bottom:0;
  left:5%;
}
.breadcrumb {
  font-size: .7rem;
  padding: 5px 0;
  margin-bottom: unset;
}





/*////////////////////////*/
/*共通ボタン*/
/*////////////////////////*/
.BTN01 a {
  position: relative;
  display: block;
  font-size: 14px;
  color: #fff;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: start;
  padding-left:20px;
  /* transition: all 0.6s ease 0s; */
  border-radius: 30px;
  background: #1db0f1;
}
.BTN01 .btn-arrow {
  position: absolute;
  top: -2px;
  right: 20px;
  width: 20px;
  height: 20px;
}
.BTN01 a:hover {
  background: #000;
  transition: all 0.6s ease 0s;
}

.BTNfooter a {
  position: relative;
  display: block;
  font-size: 14px;
  color: #fff;
  width: 100%;
  height: 70px;
  line-height: 70px;
  text-align: start;
  padding-left:20px;
  transition: all 0.6s ease 0s;
  border-radius: 40px;
  background: #1db0f1;
}
.BTNfooter .btn-arrow {
  position: absolute;
  top: -2px;
  right: 20px;
  width: 20px;
  height: 20px;
}
.BTNfooter a:hover {
  background: #000;
  transition: all 0.6s ease 0s;
}

.BTN02 a {
    position: relative;
    display: block;
    font-size: 14px;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding-left: 15px;
    border-bottom: solid 1px #1eb0f1;
}
.BTN02 .btn-arrow {
  position: absolute;
  top: -2px;
  right: 20px;
  width: 20px;
  height: 20px;
}
.BTN02 a:hover {
  background: #fff;
  transition: all 0.6s ease 0s;
}

.BTN03 a {
    position: relative;
    display: block;
    font-size: 12px;
    line-height: 35px;
    text-align: start;
    color: #fff;
    width: 100%;
    height: 35px;
    border: solid 1px #fff;
    padding: 0 0 0 15px;
    transition: all 0.6s ease 0s;
}
.BTN03 a:after {
  position: absolute;
  top: 17px;
  right: 0;
  background: #fff;
  content: "";
  width: 20px;
  height: 1px;
  transition: all 0.6s ease 0s;
}
.BTN03 a:hover {
  color:#25346C;
  background: #f2f2f2;
  transition: all 0.6s ease 0s;
}
.BTN03 a:hover:after {
  width: 0;
  height: 1px;
  transition: all 0.6s ease 0s;
}

.BTN05 a {
  position: relative;
  display: block;
  font-size: 14px;
  line-height:20px;
  color: #000;
  width: 100%;
  height: 85px;
  border:solid 1.5px #000;
  padding: 20px 0 0 65px;
  transition: all 0.6s ease 0s;
}
.BTN05 a:after {
  position: absolute;
  top: 42px;
  right: 0;
  background: #000;
  content: "";
  width: 20px;
  height: 1.5px;
  transition: all 0.6s ease 0s;
}
.BTN05 a:hover {
  background: #f2f2f2;
  border:solid 1.5px #25346C;
  transition: all 0.6s ease 0s;
}
.BTN05 a:hover:after {
  width: 0;
  height: 1.5px;
  transition: all 0.6s ease 0s;
}
.BTN05 a img {
    position: absolute;
    top: 22px;
    left: 15px;
    width: 40px;
}



/*////////////////////////*/
/*ページャー*/
/*////////////////////////*/
.pager li a {
  display: block;
  width: 30px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
  margin: 0 5px;
  background: #fff;
  color: #666;
  border: solid 1px #666;
}
.pager .active {
  background: #666!important;
  color: #fff!important;
}
.pager .next a , .pager .pre a {
  border: none;
}

/*////////////////////////*/
/*フッター*/
/*////////////////////////*/
.contact-bg02 {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
    height: 100%;
}
.Flogo {
  width: 120px;
}
.Fsdgs {
  width: 240px;
}




.bg-footer {
  background: #707070;
}
.bg-footer a {
  color: #fff;
}

.icon-insta {
  display: block;
  width: 20px;
  height: 20px;
}
.totop {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
}


/*////////////////////////*/
/* 共通のfadeIn */
/*////////////////////////*/
.fadeIn-all {
animation-name: fadeInAnime;/*1で解説*/
animation-fill-mode:forwards;
animation-duration:1.5s;/*3で解説*/
animation-timing-function:ease;/*5で解説*/
animation-delay: 0.5s;/*6で解説*/
animation-direction:normal;/*7で解説*/
opacity: 0;
}
/*1で解説*/
@keyframes fadeInAnime{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadeInTrigger {
  opacity: 0;
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}



/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}


/*////////////////////////*/
/* 共通のfadeUp */
/*////////////////////////*/
.fadeUp-all {
animation-name: fadeUpallAnime;
animation-duration:1s;/*3で解説*/
animation-timing-function:ease;/*5で解説*/
animation-delay: 0.3s;/*6で解説*/
animation-fill-mode:forwards;
opacity: 0;
}
@keyframes fadeUpallAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}
.fadeUpTrigger {
  opacity: 0;
}

/*////////////////////////*/
/* 共通のテキストアニメ テキストを滑らかに出現させるためのCSS*/
/*////////////////////////*/
span.smoothText-all {
overflow: hidden;
display: block;
}
/* アニメーションで傾斜がついている文字列を水平に戻す*/
span.smoothTextTrigger-all{
transition: .8s ease-in-out;
transform: translate3d(0,100%,0) skewY(12deg);
transform-origin: left;
display: block;
}
span.smoothTextTrigger-all.smoothTextAppear-all{
    transform: translate3d(0,0,0) skewY(0);
}


/*////////////////////////*/
/* シャッ（背景色が伸びて出現） */
/*////////////////////////*/

/*背景色が伸びて出現（共通）*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}
@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
  }
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}
@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
}

/*左から*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

/*右から*/
.bgRLextend::before{
  animation-name:bgRLextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
  0% {
    transform-origin:right;
    transform:scaleX(0);
  }
  50% {
    transform-origin:right;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:left;
  }
  100% {
    transform-origin:left;
    transform:scaleX(0);
  }
}



/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}



/*PCのみ*/
@media (min-width: 768px) {
    .title-box {
      padding: 120px 0 60px!important;
    }
    .float-button__wrap {
      display: none!important;/*最初は隠す*/
    }

}



/*SPのみ*/
@media (max-width: 768px) {
    header {
        width: 100%;
        height: 90px;
        z-index: 100;
        position: fixed;
    }
    /* .h_logo {
      width: 120px;
    } */
    #overlay-button {
        right: 1em;
        top: 15px;
    }
    #overlay {
      height: 100%;
      overflow-y: scroll;
    }
    #overlay .menu-wrap {
      position: unset;
      transform: unset;
      padding: 5% 2%;
    }
    .sp_menu{
      position: sticky;
      z-index: 99;
      top: 80px;
      width: 100%;
      font-size: 1em;
      line-height:3.5em;
      text-align: center;
      background-color: #00649F;
      display: none;
      padding: 10px 0;
    }
    .sp_menu a{
      text-decoration: none;
      color: #fff;
    }
    .title-box {
      height: 200px ;
      padding: 80px 0 60px;
    }
    .title-box-img {
      height: 210px;
    }
    .title-catch {
        bottom: 39px;
        width: 75%;
        height: 100px;
    }
    .title-line {
        width: max-content;
        left: 50%;
    }
    .bread-wrap {
      position:absolute;
      bottom:0;
      left:5%;
    }
    .breadcrumb {
      font-size: .7rem;
      padding: 5px 0;
      margin-bottom: unset;
    }

    .Flogo {
      width: 150px;
/*      margin: 10px auto;*/
    }

    .float-button__wrap {
      display: none;/*最初は隠す*/
      width: 100%;
      height: auto;
      position: fixed;
      bottom: 0;
      right: 0px;
      z-index: 10;
    }





}