@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: 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;
    background: #000;
  }
  .h_logo {
    width: 100px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
  }
  .h_logo a img {
    width: 100%;
    height:100%;
    object-fit: cover;
    font-family: "object-fit: cover;";
  }
  #gNav .nav {
    overflow-y: auto;
    height: 100vh;
  }
  .mean-nav .container {
    padding: 0;
  }
  nav li .fa {
    display: none;
  }
  .tel-sp a {
    position: absolute;
    display: block;
    text-align: center;
    width: 40px;
    top: 8px;
    right: 60px;
    z-index: 99;
  }
  .tel-sp a::after {
    content: "TEL";
    position: absolute;
    bottom: -19px;
    color: #fff;
    font-size: 10px;
    width: 40px;
    left: 0;
    text-align: center;
    display: block;
  }
}

@media print, screen and ( min-width : 769px ) {
  #header {
    height: 80px;
  }
  .h_logo {
    width: 180px;
    height: 80px;
    background: #000;
    position: relative;
  }
  .h_logo a {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
  }
  .h_logo a img {
    width: 125px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
  }
  #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 .8em;
  }
  #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: 30px;
  }
  #gNav li a::after {
    position: absolute;
    left: 30%;
    content: '';
    width: 50%;
    height: 2px;
    background: #B80C10;
    bottom: 25px;               /*アンダーラインが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: -80px;
    width: 160px;
    -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: 60px;
    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;
  }
  .menu-simu {
    height: 50px!important;
    padding: 15px 30px!important;
    background: #324174;
    color: #fff;
  }
  .menu-simu::after {
    display:none;
  }
  .menu-simu:hover {
    color:#fff!important;
    background: #000!important;
  }

}

/*グローバルメニュー-ホバーアンダーライン*/
.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: 5;
}
#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;
}




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

.title-box {
  position: relative;
  width: 100%;
  height: 230px ;
  border-bottom: solid 0.5px #cdcdcd;
  overflow: hidden;
}
.title-box-img {
  position: absolute!important;
  bottom:0;
  right: 0;
  z-index: 0;
  width: 50%;
  height: 200px;
}
.title-catch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: -1;
    background: #F0F0F0;
}
.title-line {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%) ;
    -webkit- transform: translateY(-50%) ;
    width: 300px;
}
.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;
    font-weight: 600;
    color: #fff;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    padding-left: 15px;
    transition: all 0.6s ease 0s;
    background: #25346c;
}
.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;
  width: 100%;
  height: 50px;
  line-height: 50px;
/*  text-align: center;*/
  padding-left:15px;
  transition: all 0.6s ease 0s;
  /*letter-spacing: .15rem;*/
  background: #666;
}
.BTN02 a:after {
  position: absolute;
  top: 24px;
  right: 0;
  background: #fff;
  content: "";
  width: 20px;
  height: 1px;
  transition: all 0.6s ease 0s;
}
.BTN02 a:hover {
  background: #000;
  transition: all 0.6s ease 0s;
}
.BTN02 a:hover:after {
  width: 0;
  height: 1px;
  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;
  background: #fff;
  color: #666;
  border: solid 1px #666;
}
.pager .active {
  background: #666!important;
  color: #fff!important;
}


/*////////////////////////*/
/*フッター*/
/*////////////////////////*/
.bg-footer {
  background: #707070;
}
.bg-footer a {
  color: #fff;
}
.Flogo {
  width: 120px;
}
.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) {

    .float-button__wrap {
      display: none!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 {
      height: 130px ;
    }
    .title-box-img {
      top:0;
      height: 100px;
    }
    .title-catch {
        bottom: 39px;
        width: 75%;
        height: 100px;
    }
    .title-line {
        width: max-content;
        left: 5%;
    }
    .bread-wrap {
      position:absolute;
      bottom:0;
      left:5%;
    }
    .breadcrumb {
      font-size: .7rem;
      padding: 5px 0;
      margin-bottom: unset;
    }

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


    footer {
      padding-bottom:80px;
      z-index: 5;
    }


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



}