@charset "UTF-8";

/*////////////////////////*/
/*ヘッダー*/
/*////////////////////////*/
/* ヘッダーの基本設定 */
.header {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  color: #333;
}
.Hlogo {
  position: absolute;
  width: 220px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%)  translateX(-50%);
  -webkit- transform: translateY(-50%)  translateX(-50%);
}

/* チェックボックスを隠す */
.menu-toggle {
  display: none;
}

/* ハンバーガーボタンのデザイン */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  width: 20px;
  height: 17px;
  cursor: pointer;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000;
  transition: 0.3s;
}
.hamburger::before {
    content: "MENU";
    font-family: "Marcellus", serif;
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}
.hamburger::after {
    content: "";
    position: absolute;
    border: solid 1px #000;
    border-radius: 25px;
    width: 45px;
    height: 45px;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}

/* メニューの初期状態（画面外に隠す） */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 25%;
  height: 100vh ;
  padding-top: 80px;
  transition: 0.4s;
  overflow-y: auto;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100vh;
  background-color: #fff;

}

.menu li a {
  /* display: block; */
  width: 100%;
  padding: 15px 0 15px 30px;
  color: #000;
  font-family: "Marcellus", serif;
  text-decoration: none;
}
/* .menu li a:hover {
  color: #287837;
} */


@media (min-width: 768px) {

  /* リンクタグを相対配置の基準にする */
  .je {
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease 0s;

    /* 文字幅の変化によるガタつきを防ぐための固定幅やトランジションが必要な場合は追加 */
  }

  /* ホバー時に元のテキストを透明にする */
  .je:hover {
    color: transparent; /* または visibility: hidden; */
    
  }

  /* ホバー時に data-ja 属性の値（日本語）を表示する */
  .je:hover::before {
    content: attr(data-ja);
    position: absolute;
    top: 17px;
    left: 30px;
    width: 100%;
    font-size: 18px;
    color: #287837; /* ホバー時の文字色を指定してください */
    /* text-align: center; 必要に応じて中央寄せ */

  }
}

@media (max-width: 768px) {

  .menu li a {
    display: block;
    padding: 15px 30px;
  }

}



.blank {
  width: 80px;
  height: 1px;
  background: #000;
  margin: 20px;
  padding-left: 30px;
}

/* チェックが入ったときの動き（メニュー表示） */
.menu-toggle:checked ~ .menu {
  right: 0;
}

/* アイコンのバツ印変形アニメーション */
.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.menu-toggle:checked ~ .hamburger::before {
    content: "CLOSE";
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 5;
}
body:has(.menu-toggle:checked) .overlay {
  opacity: 1;
  visibility: visible;
}





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

.pt-80 {
  padding-top: 80px;
}

.title-box {
  position: relative;
  width: 100%;
  height: 200px ;
}
.title-box-img {
  position: absolute;
  top:0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.title-catch {
  position: absolute;
  color: #fff;
  text-align: center;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translateY(-50%)  translateX(-50%);
  -webkit- transform: translateY(-50%)  translateX(-50%);
}
.title-logo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  width: 100px;
}




/*////////////////////////*/
/*共通ボタン*/
/*////////////////////////*/
.BTN01 a {
  position: relative;
  display: block;
  width: 200px;
  font-size: 18px;
  color: #287837;
  height: 40px;
  line-height: 40px;
	font-family: "Marcellus", serif;
  transition: all 0.6s ease 0s;
}
.BTN01 a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100px;
  width: 0;
  height: 2px;
  background: #287837;
  transition: all 0.6s ease 0s;
}
.BTN01 a:hover::after {
  width: 100px;
  transition: all 0.6s ease 0s;
}

.BTN02 a {
  position: relative;
  display: block;
  width: 200px;
  font-size: 18px;
  color: #fff;
  height: 40px;
  line-height: 40px;
	font-family: "Marcellus", serif;
  transition: all 0.6s ease 0s;
}
.BTN02 a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.6s ease 0s;
}
.BTN02 a:hover::after {
  width: 100px;
  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;
}

.BTN_c0 a {
  border: solid 2px #36903c;
  color: #36903c!important;
  transition: all 0.6s ease 0s;
}
.BTN_c0 a:hover {
  color: #fff!important;
  background: #36903c!important;
  transition: all 0.6s ease 0s;
}
.BTN_c1 a {
  background: #feb401;
  transition: all 0.6s ease 0s;
}
.BTN_c2 a {
  background: #fff;
  color: #44af35;
  transition: all 0.6s ease 0s;
}
.BTN_c3 a {
  background: #d74b5a;
  transition: all 0.6s ease 0s;
}
.BTN_c4 a {
  background: #1750b4;
  transition: all 0.6s ease 0s;
}
.BTN_c5 a {
  background: #36903c;
  transition: all 0.6s ease 0s;
}
.BTN_c6 a {
  background: #f08200;
  transition: all 0.6s ease 0s;
}
.BTN_c7 a {
  background: #00aacb;
  transition: all 0.6s ease 0s;
}
.BTN_c8 a {
  background: #5a32c8;
  transition: all 0.6s ease 0s;
}
.BTN_c9 a {
  background: #eb6f84;
  transition: all 0.6s ease 0s;
}
.BTN_c10 a {
  background: #50a0eb;
  transition: all 0.6s ease 0s;
}


.stat-cat {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  text-align: center;
  padding: 3px 0;
  color: #fff;
}
.stat-cat-bg01 {
  background: #dbcaba;
}
.stat-cat-bg02 {
  background: #a7b697;
}
.stat-cat-bg03 {
  background: #9b6400;
}
.stat-cat-bg04 {
  background: #095c7f;
}

.cat-bg01 {
  background: #d74b5a;
}
.cat-bg02 {
  background: #f08200;
}
.cat-bg03 {
  background: #40786e;
}
.cat-bg04 {
  background: #82774d;
}
.cat-bg05 {
  background: #68759d;
}

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


/*////////////////////////*/
/*フッター*/
/*////////////////////////*/
.icon01 {
  display: inline-block;
  width: 18px;
  height: 18px;
}
.Fbtn01 {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
  padding-top: 5px;
}
.Fbtn02 {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
  padding-top: 22px;
}
.Ficon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 20px;
	transform: translateY(-50%);
	-webkit- transform: translateY(-50%);
}
.Ficon02 {
  position: absolute;
  display: inline-block;
  width: 18px;
  height: 18px;
  top: 50%;
  right: 20px;
	transform: translateY(-50%);
	-webkit- transform: translateY(-50%);
}
.Ficon02 img {
  vertical-align: text-top;
}
.Fbtn01:hover , .Fbtn02:hover {
  background: #000;
}






/*ページトップへ*/
#page-top {
  display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
    z-index: 1;
}
#page-top a {
    text-decoration: none;
    width: 70px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}

/* ボタン全体のスタイル */
.arrow-btn {
  display: inline-flex;
  align-items: start;
  gap: 12px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transform: translateY(0) rotate(-90deg);
}

/* 矢印の親要素（矢印の基準位置） */
.arrow {
  position: relative;
  display: inline-block;
  width: 60px; /* 初期状態の長さ */
  height: 12px;
  transition: width 0.3s ease; /* 伸縮アニメーション */
}

/* 矢印の軸（線） */
.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transform: translateY(-50%);
}

/* 矢印の先端（くの字） */
.arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
}

/* --- ホバー時の動き --- */

/* 1. 軸の長さを伸ばす */
.arrow-btn:hover .arrow {
  width: 80px; /* 40px から 60px に伸びる */
}


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

.breadcrumb {
    font-size: .7rem;
    padding: 10px 0;
    margin-bottom: unset;
    color: #000;
}

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



  .TopBox {
    height: calc(100vh - 80px);
    max-height: 600px;
    overflow-y: hidden;
  }
    .breadcrumb {
        font-size: .8rem;
        justify-content: end;
    }
}



/*SPのみ*/
@media (max-width: 768px) {
    .pt-sp-80 {
      padding-top: 80px;
    }
    .Hlogo {
      width: 160px;
    }
    .hamburger::before {
        display: none;
    }
    .menu {
      width: 55%;
    }
    .title-box {
      position: relative;
      width: 100%;
      height: 120px ;
      z-index: 0;
      margin-top: 60px;
    }
    .fmenu a {
      width: 100%;
      display: block;
      text-align: center;
      height: 50px;
      line-height: 50px;
      border: solid .5px #000;
    }

    .h300 {
      height: 300px;
    }

}