@charset "utf-8";
/*################## スマホ縦用　##################*/
@media screen and (min-width: 0px) and (max-width: 480px) {
  /*############ メニュー (index)##########*/
  #header-index {
    background-color: #f8faf4;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }
  #menu-main-index img {
    padding: 15px 0 0 20px;
  }
  /*####### ハンバーガーメニュー #####*/
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh; /*ナビの高さ*/
    background: rgba(4,70,30,0.9);
    /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 90%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav-01 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 200px;
    left: 35%;
    transform: translate(-50%, -50%);
  }
  /*リストのレイアウト設定*/
  #g-nav-01 p a {
    color: #fff;
    font-weight: bold;
  }
  #g-nav-01 li {
    list-style: none;
  }
  #g-nav-01 li a {
    color: #fff;
    text-decoration: none;
    padding: 2px 0 2px 30px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2px;
  }
  #g-nav-02 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 350px;
    left: 40%;
    transform: translate(-50%, -50%);
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #04461e;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
    background-color: #fff;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
    background-color: #fff;
  }
  /* ######## ボタン白（メニューエントリー） ######## */
  .btn-entry {
    width: 190px;
    padding: 12px 0;
    font-size: 14px;
    display: block;
    margin: 25px 0;
    color: #04461e;
    background: #fff;
    line-height: 1;
    border-radius: 30px;
    text-align: center;
  }
  .btn-entry a {
    color: #04461e;
    font-weight: bold;
  }
  .btn-entry:hover {
    opacity: 0.6;
  }
}
/*################## スマホ横用 #################*/
@media screen and (min-width: 481px) and (max-width: 896px) {
  /*############ メニュー (index)##########*/
  #header-index {
    background-color: #f8faf4;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }
  #menu-main-index img {
    padding: 15px 0 0 20px;
  }
  /*####### ハンバーガーメニュー #####*/
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh; /*ナビの高さ*/
    background: rgba(4,70,30,0.9);
    /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 90%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav-01 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 150px;
    left: 35%;
    transform: translate(-50%, -50%);
  }
  /*リストのレイアウト設定*/
  #g-nav-01 p a {
    color: #fff;
    font-weight: bold;
  }
  #g-nav-01 li {
    list-style: none;
  }
  #g-nav-01 li a {
    color: #fff;
    text-decoration: none;
    padding: 2px 0 2px 30px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2px;
  }
  #g-nav-02 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 300px;
    left: 40%;
    transform: translate(-50%, -50%);
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #04461e;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
    background-color: #fff;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
    background-color: #fff;
  }
  /* ######## ボタン白（メニューエントリー） ######## */
  .btn-entry {
    width: 190px;
    padding: 12px 0;
    font-size: 14px;
    display: block;
    margin: 25px 0;
    color: #04461e;
    background: #fff;
    line-height: 1;
    border-radius: 30px;
    text-align: center;
  }
  .btn-entry a {
    color: #04461e;
    font-weight: bold;
  }
  .btn-entry:hover {
    opacity: 0.6;
  }
}
/*################## PC用 #################*/
@media print, screen and (min-width:897px) {
  /*####### ヘッダー(index) #####*/
  #header-index {
    width: 100%;
    margin: 0 auto;
    position: fixed;
    background-color: #f8faf4;
    top: 0;
    z-index: 10;
  }
  #header-index-01 {
    width: 1100px;
    margin: 0 auto;
  }
  #header-index-01 .h-box-1 {
    width: 50%;
    float: left;
    padding-top: 25px;
    display: flex;
    gap: 30px; /* 要素間の間隔（flex専用） */
    align-items: center; /* 縦中央揃え */
  }
  #header-index-01 .h-box-1 p {
    margin: 0; /* デフォルトの上下余白を消す */
    padding: 8px 12px;
    text-align: left;
  }
  #header-index-01 .h-box-2 {
    width: 50%;
    float: left;
    margin: 0 auto;
    padding-top: 50px;
  }
  /*####### メニュー #####*/
  #menu-index {
    list-style-type: none;
    width: 600px;
    height: 50px;
    margin: 0 auto;
    background: #f8faf4;
  }
  #menu-index li {
    position: relative;
    width: 25%;
    float: left;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  #menu-index li a {
    display: block;
    margin: 0;
    padding: 14px 0;
    background: #f8faf4;
    color: #04461e;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }
  #menu-index li ul {
    list-style: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #menu-index li ul li {
    overflow: hidden;
    width: 100%;
    height: 0;
    color: #fff;
    -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
    transition: .2s;
  }
  #menu-index li ul li a {
    padding: 15px 10px;
    background: #f8faf4;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
  }
  #menu-index > li:hover > a {
    opacity: 0.5;
    transition: 0.5s;
  }
  #menu-index > li:hover li:hover > a {
    opacity: 0.5;
    transition: 0.5s;
  }
  #menu-index > li:hover > ul > li {
    overflow: visible;
    height: 50px;
  }
  #menu-index li ul li ul {
    top: 0;
    left: 100%;
  }
  #menu-index li:last-child ul li ul {
    left: -100%;
    width: 100%;
  }
  #menu-index li ul li ul:before {
    position: absolute;
    content: "";
    top: 14px;
    left: -20px;
    width: 0;
    height: 0;
  }
  #menu-index li:last-child ul li ul:before {
    position: absolute;
    content: "";
    top: 13px;
    left: 200%;
    margin-left: -20px;
  }
  #menu-index li ul li:hover > ul > li {
    overflow: visible;
    height: 50px;
  }
  #menu-index li ul li ul li a {
    background: #f8faf4;
    padding: 15px;
  }
  #menu-index li:hover ul li ul li a:hover {
    opacity: 0.7;
    transition: 0.7s;
  }
}
/*################## スマホ・PC共通 ##################*/
/*########## ボタン(検索) ##########*/
.paint-b {
  padding: 8px 25px;
  background-color: #04461e; /*ロゴ色*/
  color: #fff;
  border-radius: 20px;
}
.paint-b a {
  color: #fff;
}
.paint-b:hover {
  opacity: 0.7;
  transition: 0.7s;
}
/*#####　TOPに戻るボタン　#####*/
#t-scroll {
  z-index: 999999; /*最前面に*/
  position: fixed;
  bottom: 100px;
}
#t-scroll a {
  color: #04461e;
  text-align: center;
  text-decoration: none;
}
#t-scroll a:hover {
  opacity: 0.7;
  transition: 0.7s;
}
/* 矢印 */
.header-button {
  margin: 5px;
  width: 170px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #000;
  border: 1px solid;
  cursor: pointer;
}
.header-yazirusi {
  margin-left: 5px;
  width: 25px;
  height: 7px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: skew(45deg);
}