@charset "UTF-8";

/********************** header PC **********************/
#header {
  box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
  z-index: 99;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
}
#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;
  }
  .h_logo {
    width: 150px;
    height: 60px;
    background: #000;
    position: relative;
  }
  .h_logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    width: 120px;
  }
  #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: 70px;
  }
  .h_logo {
    width: 200px;
    height: 70px;
    background: #000;
    position: relative;
  }
  .h_logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    width: 160px;
  }
  .gmenu-cont {
/*    width: 200px;*/
    position: relative;
  }
  .gmenu-cont a {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    width: 150px;
    height: 40px;
    background: #90B1C4;
    text-align: center;
    line-height: 40px;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 5px;
  }
  .gmenu-cont a:hover {
    background: #000;
    color: #fff;
  }
  #h_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
  }
  #gNav ul {
    position: relative;
    display: flex;
  }
  #gNav li {
    position: relative;
    padding: 0 0.5em;
  }
  #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: 30px;
    padding-top: 22px;
  }
  .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: 200px;
    -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: #00649F;
  }
  #gNav li:hover ul.sub-menu {
    top: 80px;
    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;
  }


/*表示するテキストが切り替わる*/
.btntextchange{
    /*テキストの基点とするためrelativeを指定*/
  position: relative;

    /*アニメーションの指定*/
    transition: all .2s;
        width: 80px;
        display: block;
    height: 30px;
}

/*hoverした際の変化*/
.btntextchange:hover{

}

.btntextchange span{
    /*絶対配置でテキストの位置を決める*/
  position: absolute;
  left: 50%;
  top:50%;
    transform:translate(-50%,-50%);
    /*アニメーションの指定*/
    transition: all .5s;
  /*ブロック要素にしてテキスト折り返しなし*/
  display: block;
  white-space: nowrap;
/*      font-size: 13px;*/
    letter-spacing: 0.1em;
    text-align: center;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2){
  opacity:0;/*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1){
  opacity:0;/*透過0に*/
}

.btntextchange:hover span:nth-child(2){
  opacity:1;/*不透明に*/
}







}








.title-box {
  position: relative;
  width: 100%;
  height: 200px;
}
.title-box ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
}

.breadcrumb {
  font-size: .8rem;
  padding: 5px 0;
}

.pager li a {
  display: block;
  width: 30px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
  background: #fff;
  color: #666;
  border: solid 1px #666;
}
.pager .active {
  background: #666!important;
  color: #fff!important;
}


/*READ MOREボタン設定*/
.BTN01 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: 'Urbanist', sans-serif;
  transition: all 0.6s ease 0s;
  border-radius: 5px;
  background: #90B1C4;
}

.BTN01 a:hover {
  background: #000;
  color: #fff;
  transition: all 0.6s ease 0s;
}
.BTN01 a:hover:after {
  top: 19px;
  right: 0;
  background: #fff;
  width: 20px;
  height: 1px;
  transition: all 0.6s ease 0s;
}

.BTN02 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  background: #808080;
  width: 250px;
  height: 60px;
  line-height: 58px;
  /*text-align: center;*/
  padding-left: 15px;
  font-family: 'Oswald', sans-serif;
  border: solid 1px #fff;
  transition: all 0.6s ease 0s;
  letter-spacing: .15rem;
}
.BTN02 a:after {
  position: absolute;
  top: 29px;
  right: 0;
  content: "";
  background: #fff;
  width: 20px;
  height: 1px;
  transition: all 0.6s ease 0s;
}
.BTN02 a:hover {
  background: #fff;
  color: #000;
  border: solid 1px #000;
  transition: all 0.6s ease 0s;
}
.BTN02 a:hover:after {
  background: #fff;
  width: 5px;
  height: 1px;
  transition: all 0.6s ease 0s;
}


.page-next ul li {
  width: fit-content;
  padding: 0 5px;
}
.page-next ul li a{
    display: block;
    padding: 5px 10px;
    /* border: solid 1px #000; */
    background: #e4e0e0;
}
.page-next ul .pre a , .page-next ul .next a {
    background: #fff;
}

.icon-tel {
    width: 50px;
    height: 65px;
    margin: 0 auto;
}
.BTN03 {
  background: #00649F;
  position: relative;
  width: 450px;
  height: 110px;
}
.BTN04 {
    position: relative;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 5px;
}

.bg-footer {
  background: #707070;
}
.bg-footer a {
  color: #fff;
}
.Flogo {
  width: 180px;
}



/* 共通の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;
}
/* 共通の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);
}




/*PCのみ*/
@media (min-width: 768px) {
  .main-mt70 {
    margin-top: 70px;
  }

  .gmenu-insta a {
    width: 30px;
    margin: 0 5px;
    /* margin-right: 30px;
    display: block; */
  }

  .snsbox {
    position: absolute;
    top: 0;
    right: 0;
    /* width: 30px;
    display: block; */
  }
  .snsbox a {
    width: 30px;
    padding: 0;
    margin: 0 5px;
  }
}



/*SPのみ*/
@media (max-width: 768px) {
  .main-mt60 {
    margin-top: 60px;
  }
  .title-box {
    height: 140px;
  }

    .sp_menu{
      position: fixed;
      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;
    }
    .icon-tel {
      width: 25px;
    }
    .BTN03 {
      width: 100%;
      height: 100px;
      margin-bottom: 15px;
    }
    .Flogo {
      width: 50%;
      margin: 0 auto;
    }
    .snsbox {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      -webkit- transform: translateX(-50%);
      /* width: 30px;
      display: block; */
    }
      .snsbox a {
    width: 30px;
    padding: 0;
    margin: 0 5px;
  }
}