@charset "UTF-8";

/*////////////////////////*/
/*ヘッダー*/
/*////////////////////////*/
#header {
  z-index: 99;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
#gNav a:hover {
  color: #999;
}
nav li a {
  font-size: 13px;
  letter-spacing: 0.05em;
}
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 {
    position: fixed;
    height: 60px;
    background: #fff;
  }
  .h_logo {
    width: 120px;
    position: absolute;
    top: 14px;
    left: 14px;
    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: 140px;
  }
  #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;
    padding: 0 20px;
    height: 12px;
    line-height: 12px;
    border-left: solid 0.5px #d9d9d9;
    font-size: 14px;
    color: #d9d9d9;
  }
  #gNav .last a {
    border-right: solid 0.5px #d9d9d9;
  }
  .gmenu-last {
    border-right: solid 0.5px;
  }

  .mail-box a {
    border-left: unset;
    background: #153261;
    width: 100px!important;
    height: 80px!important;
    margin-left: 20px;
    padding: 25px 30px;
    transition: transform 0.3s;
  }
  .mail-box a:hover {
    background: #000;
    transition: transform 0.3s;
  }


  #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;
  }
}

/*グローバルメニュー-ホバーアンダーライン*/
.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: 50px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}

/*////////////////////////*/
/*下層ページタイトル*/
/*////////////////////////*/

/*トップスライダー*/
.title-box {
	position: relative;
	width: 100%;
	height: 300px ;
}
.title-box-img {
  position: absolute;
  right: 0;
  height: 220px;
}
.title-catch {
	position: absolute;
	z-index: 1;
	bottom: 0;
	background:rgba(14,55,129,0.9);
  color:#fff;
  padding: 75px 0 75px 13%;
}

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

.bg01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: -1;
}



/*////////////////////////*/
/*共通ボタン*/
/*////////////////////////*/
.BTN01 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  background: url(/main/assets/images/common/arrow.svg) no-repeat rgba(0,0,0,0.5) center right 25px / 30px ;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  border-radius: 3px;
  transition: all 0.6s ease 0s;
}

.BTN01 a:hover {
  background: url(/main/assets/images/common/arrow.svg) no-repeat rgba(0,0,0,1) center right 25px / 30px ;
  transition: all 0.6s ease 0s;
}

.BTN02 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: 'Bodoni Moda', serif;
  border-radius: 3px;
  border: solid 1px #fff;
  transition: all 0.6s ease 0s;
}

.BTN02 a:hover {
  background: #0e3781;
  transition: all 0.6s ease 0s;
}
.BTN03 {
  background: #00649F;
  position: relative;
  width: 450px;
  height: 110px;
}
.BTN04 {
    position: relative;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 5px;
}

/*////////////////////////*/
/*ページャー*/
/*////////////////////////*/
.pager__item {
  border: solid .5px #0e3781;
  color: #0e3781;
  padding: 2px 15px;
  margin: 0 5px;
  font-size: .8rem;
  background: #fff;
}
.pager__item:hover {
  background: #0e3781!important;
  color: #fff!important;
}
.pager__item-current {
  background: #0e3781!important;
  color: #fff!important;
}


/*////////////////////////*/
/*フッター*/
/*////////////////////////*/

.Flogo {
  width: 170px;
}
.totop {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
}

  .fNav li a {
    position: relative;
    display: block;
    text-align: center;
/*    padding: 5px 0;*/
    width: 100px;
    border-left: solid 0.5px;
    font-size: 12px;
    color: #fff;
  }

  .fNav .last a {
    border-right: solid 0.5px ;
  }

.cont-ilust {
  position: absolute;
  top: 0;
  left: 50%;
  transform:  translateX(-50%);
  -webkit- transform:  translateX(-50%);
  height: 100%;
  width: auto;
}


/*////////////////////////*/
/* 共通の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) {
 footer {
  background: url(/main/assets/images/top/Fbg.png) no-repeat center center / cover ;
  width: 100%;
  padding-top: 250px;
 }
}



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

    .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;
    }
    .sp-menu-logo {
        width: 80%;
        vertical-align: text-top;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .title-box {
      position: relative;
      width: 100%;
      height: 200px ;
      z-index: 0;
    }
    footer {
      background: url(/main/assets/images/top/Fbg.png) no-repeat center center / cover ;
      width: 100%;
      padding-top: 0;
     }
    .Flogo {
      width: 150px;
      margin: 10px auto;
    }
    .cont-ilust {
      display: none;
    }
    .title-box-img {
      height: 160px;
    }
    .title-catch {
      padding: 35px 0 35px 13%;
    }
}