@charset "UTF-8";

/*////////////////////////*/
/*ヘッダー*/
/*////////////////////////*/
#header {
  box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
  z-index: 99;
  width: 100%;
  position: sticky;
  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: 260px;
    position: absolute;
    top: 10px;
    left: 10px;
    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: 300px;
  }
  #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 #414042;
    font-size: 14px;
  }
  #gNav li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #006d5e;
    bottom: -10px;               /*アンダーラインが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（相対値）伸長*/
  }
  #gNav .last a {
      border-right: solid 0.5px #414042;
  }
  .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;
    border-left: 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: 30px;
    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;
}

.text-shadow01 {
  text-shadow: #000 1px 0 10px , #000 -1px 0 10px;
}


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



.title-box {
  position: relative;
  width: 100%;
  height: 320px ;
}
.title-box-img {
  position: absolute;
  top:0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 220px;
}
.title-catch {
  position: absolute;
  z-index: 1;
  top: 70%;
  left: 50%;
  transform: translateY(-50%)  translateX(-50%);
  -webkit- transform: translateY(-50%)  translateX(-50%);
}


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

.bg-index01 {
    background: #ebecd5;
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: -1;
}

/*////////////////////////*/
/*共通ボタン*/
/*////////////////////////*/
.BTN01 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  background: #006d5e;
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  border-radius: 3px;
  transition: all 0.6s ease 0s;
}

.BTN01 a:hover {
  background: #000;
  transition: all 0.6s ease 0s;
}

.BTN02 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  background: #808080;
  width: 100%;
  height: 30px;
  line-height: 25px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  border-radius: 3px;
  transition: all 0.6s ease 0s;
}

.BTN02 a:hover {
  background: #987c63;
  transition: all 0.6s ease 0s;
}

.BTN03 a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  border: solid 1px #fff;
  width: 100%;
  height: 30px;
  line-height: 25px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  border-radius: 3px;
  transition: all 0.6s ease 0s;
}

.BTN03 a:hover {
  background: #000;
  transition: all 0.6s ease 0s;
}

.btn-qu01 {
  position: relative;
  border: solid 1px #000;
}
.btn-qu01::after {
  position: absolute;
  bottom: 0px;
  right: 5px;
  content: ">";
  color: #fff;
}
.btn-qu01:hover {
  border: solid 1px #808080;
}

.btn-qu02 {
  position: relative;
  border: solid 1px #808080;
}
.btn-qu02::after {
  position: absolute;
  bottom: 0px;
  right: 5px;
  content: ">";
  color: #fff;
}
.btn-qu02:hover {
  border: solid 1px #cccccc;
}


/*////////////////////////*/
/*ページャー*/
/*////////////////////////*/
.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;
}


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

.bg-footer a {
  color: #fff;
}
.corplogo {
  width: 100px;
}
.Flogo {
  width: 120px;
}
.icon-sns {
  display: block;
  width: 30px;
  height: 30px;
}
.totop {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
}
.fd {
  display: inline-block;
  width: 35px;
}

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

    .posy50-l {
      position: absolute;
      z-index: 1;
      top: 50%;
      left: 0;
      transform: translateY(-50%) ;
      -webkit- transform: translateY(-50%) ;
      width: 100%;
    }
    .cp-ph01 {
      clip-path: polygon(0% 0%, 100% 0%, 60% 100%, 0% 100%);
    }


    .title-box-img02 {
      position: absolute;
      top:0;
      left: 0;
      z-index: -1;
      width: 50%;
      height: 240px;
    }
    .title-catch02 {
      position: absolute;
      z-index: 1;
      top: 0;
      left: 50%;
      width: 50%;
      height: 240px;
      transform: none;
      padding-right: 11% !important;
      padding-top: 80px !important;
    }


}



/*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;
    }
    .title-box {
      position: relative;
      width: 100%;
      height: 200px ;
      z-index: 0;
    }
    .Flogo {
      width: 150px;
      margin: 10px auto;
    }

    .posy50-l-sp {
      position: absolute;
      z-index: 1;
      top: 40px;
      left: 40px;
      width: fit-content;
    }

    .bg-index01 {
        top: 0;
        height: 100%;
    }


    .title-box {
      height: 220px ;
    }
    .title-box-img {
      height: 155px;
    }
















}