@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: 14px;
  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: 40px;
    position: absolute;
    top: 5px;
    left: 20px;
    z-index: 100;
  }
  #gNav .nav {
    overflow-y: auto;
    height: 100vh;
  }
  .mean-nav .container {
    padding: 0;
  }
  nav li .fa {
    display: none;
  }
  .icon-sns {
    display: none;
  }
}

@media print, screen and ( min-width : 769px ) {
  #header {
    height: 80px;
  }
  .h_logo {
    width: 50px;
  }
  .icon-sns {
    width: 25px;
    display: block;
  }
  #h_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  #gNav ul {
    position: relative;
    display: flex;
  }
  #gNav li {
    position: relative;
    margin: 0 .6em;
  }
  #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;
    line-height: 80px;
/*    padding-top: 20px;*/
  }
  #gNav li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #103568;
    bottom: 20px;               /*アンダーラインが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（相対値）伸長*/
  }
  .icon-sns a::after {
    display: none;
  }
  .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;
  }
}

.fix-btn {
  position: fixed;
  top:40%;
  right: 0;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
  z-index: 5;
}
.fix-btn li {
  width: 60px;
  height: auto;
}


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

.pager li {
    width: fit-content;
    padding: 0 5px;
}
.pager li a {
    display: block;
    padding: 5px 10px;
    background: #e4e0e0;
}
.pager li .active {
    background: #999797!important;
}

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


/*READ MOREボタン設定*/
.BTN01 a {
  position: relative;
  display: block;
  font-size: 14px;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 0 0 20px;
  text-align: center;
  border-bottom: solid 1px #000;
  transition: all 0.6s ease 0s;
  /*letter-spacing: .15rem;*/
  background: #fff;
}
.BTN01 a:before {
  position: absolute;
  top: 13px;
  left: 0;
  content: "";
  background: url(/assets/images/common/arrow.svg) no-repeat center center / contain;
  width: 15px;
  height: 14px;
  transition: all 0.6s ease 0s;
}
.BTN01 a:hover {
  border: none;
  transition: all 0.6s ease 0s;
}


.BTN02 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #103568;
  width: 250px;
  height: 50px;
  line-height: 48px;
  /*text-align: center;*/
  padding-left: 15px;
  font-family: 'Oswald', sans-serif;
  border: solid 1px #103568;
  transition: all 0.6s ease 0s;
  letter-spacing: .15rem;
}
.BTN02 a:after {
  position: absolute;
  top: 24px;
  right: 0;
  content: "";
  background: #103568;
  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: #103568;
  width: 5px;
  height: 1px;
  transition: all 0.6s ease 0s;
}



.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: 65%;
}
.icon01 {
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: top;
  background: url(/assets/images/common/icon01.svg) no-repeat left center / contain;
}
.icon02 {
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: top;
  background: url(/assets/images/common/icon02.svg) no-repeat left center / contain;
}
.icon03 {
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: top;
  background: url(/assets/images/common/icon03.svg) no-repeat left center / contain;
}

.fbtn01 a {
    display: block;
    border: solid 1px #fff;
    width: 100%;
    background: url(/assets/images/common/icon-tel.svg) no-repeat left 10% center / auto 25px;
    padding: 10px 0 10px 10%;
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    transition: all 0.6s ease 0s;
}

.fbtn02 a {
    display: block;
    border: solid 1px #fff;
    width: 100%;
    background: url(/assets/images/common/icon-mail.svg) no-repeat left 10% center / auto 20px;
    padding: 10px 0 10px 10%;
    font-size: 0.9rem;
    line-height: 1.8rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    transition: all 0.6s ease 0s;
}

.fbtn01 a:hover {
    background: url(/assets/images/common/icon-tel.svg) no-repeat left 10% center / auto 25px #000  ;
    transition: all 0.6s ease 0s;
}

.fbtn02 a:hover {
    background: url(/assets/images/common/icon-mail.svg) no-repeat left 10% center / auto 20px #000 ;
    transition: all 0.6s ease 0s;
}
.ficon-sns {
  width: 25px;
  display: block;
}


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



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

/*背景色が伸びて出現（共通）*/
.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);
  }
}



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


/*PCのみ*/
@media (min-width: 768px) {

}



/*SPのみ*/
@media (max-width: 768px) {

    .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: 100%;
      margin-right: 0;
    }

    .title-box {
        height: 120px;
    }

    .main-mt {
      margin-top: 60px;
    }
    .ficon-sns {
      width: 40px;
    }


}