@charset "UTF-8";

/* ------------ nav ------------ */

nav ul,
nav ul li {
    list-style: none;
    display: block;
}

  nav#global-nav {
    width: 100%;
    height: auto;
    padding: 0.5rem;
    background-image: linear-gradient(90deg, #f3f3f2, #7b7763);
  }
      nav#global-nav ul {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-around;
          list-style-type: none;
          width: 100%;
          height: auto;
          margin: 0 auto;
          padding: 0;

      }

      nav#global-nav ul li {
          flex: 1 0 0%;
          height: 60px;
          position: relative;
      }

        nav#global-nav > ul > li {
            margin-right: 8px;
        }
          nav#global-nav > ul > li:last-child {
              margin-right: 0;
          }


  nav#global-nav ul li a {
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:min(1.1vw,20px);
    letter-spacing: 0;
    color: #fff;
    background-image: linear-gradient(#ee3753, #a51a2d 49%, #940515 52%, #5e050b);
    border: 1px solid #bb8c90;
    border-radius: 2px;
    text-shadow: 1px 1px 3px #000;
    box-shadow: 0 0 0 1px #000;
  }

    nav#global-nav ul li a:hover {
      border:1px solid #f3b7bf;
      text-decoration: none;
      text-shadow: 0 0 4px #fff, 0 0 6px #fff,  0 0 8px #ffcc00, 0 0 10px #ccff00;
    }

nav#global-nav ul li.current-menu-ancestor a,
nav#global-nav ul li.current-menu-item a {
  }


  /* dropDown */

  nav#global-nav ul li ul.sub-menu {
    display: block;
    list-style: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }
    nav#global-nav ul li ul.sub-menu li {
      overflow: hidden;
      width: 100%;
      height: 0;
      color: #fff;
      transition: .2s;
      margin: 0; /* n2added */
    }
      nav#global-nav ul li ul.sub-menu li a {
        padding: 1rem;
        background: #fdfdfa;
        text-align: left;
        font-size: 0.8rem;
        font-weight: normal;
        color: #333;
        border: none;
        border-radius: none;
        box-shadow: none;
        text-shadow: none;
        border: 1px solid #ccc;
      }
      nav#global-nav ul li ul.sub-menu li a:hover {
        color: #fff;
        background: #333;
      }
        nav#global-nav ul li ul.sub-menu {
            height: 0; /* necessary : hover action done just size */
        }
          nav#global-nav ul li ul.sub-menu li.current-menu-item {
              background: #333; color: #fff;
          }
          nav#global-nav ul li ul li.current-menu-item { /*  exsist on current page  */
              background: #333; color: #fff;
          }
              nav#global-nav ul li ul.sub-menu li.current-menu-item a {
                   background: #333; color: #fff;
              }
        nav#global-nav ul li ul.sub-menu li a:before {
          position: static;
          content: "";
          width: auto;
          height: auto;
          background: 0;
        }
        nav#global-nav ul > li:hover > ul > li {
          overflow: visible;
          height: 60px;
        }
          nav#global-nav ul li ul.sub-menu li ul {
            display: block;
            top: 0;
            left: 100%;
          }




/* ------------------------------ breadcrumbs on yoast seo------------------------------ */

p#breadcrumbs {
	padding: 20px 40px;
	background: #fff;
}
  p#breadcrumbs span:not(:first-child) {
      padding-left: 20px;
  }



/* ------------------------------ pageNav ------------------------------ */


nav#pageNav {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;
}

    nav#pageNav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 0;
        background: none;
    }
    nav#pageNav ul li {
        display: block;
		width: 100%;
        height: auto;
        position: relative;
        background: none;
    }
    nav#pageNav ul li a {
        display: flex;
        align-items: center;
		width: 100%;
        height: auto;
        color: #333;
		text-decoration: none;
        }


/* 親 */
  nav#pageNav > ul > li > a { 
      font-weight: bold!important;
	  width: 100%;
      margin: 40px 0 30px;
      font-size: 22px;
      padding: 12px;
      border-bottom: 1px solid #ccc;
  }
    nav#pageNav > ul > li:first-child > a {
        margin: 0 0 30px;
    }


/* 子 */
  nav#pageNav ul li ul {
      display: flex;
      align-items: center;
      justify-content: flex-start;
	  margin: 0;
      padding: 0;
  }

    nav#pageNav ul li ul li {
        width: 100%;
        height: auto;
        text-align: left;
		margin: 0;
    }
      nav#pageNav ul li ul li a {
          display:block;
          padding: 12px;
          margin: 0;
          position: relative;
      }
        nav#pageNav ul li ul li a::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 12px;
            width: 8px;
            height: 8px;
            border-top: 1px dotted #ccc;
            border-right: 1px dotted #ccc;
            transform: rotate(45deg);
            margin-top: -5px;
        }
          nav#pageNav > ul > li > ul > li.page_item_has_children > a::after {
            content: "";
            position: static;
			  border: none;

          }

/* 子 has 子  */
            nav#pageNav > ul > li > ul > li.page_item_has_children { 
                margin: 0 0 30px;
            }
              nav#pageNav > ul > li > ul > li.page_item_has_children > a { 
                  border: none;
                  border-bottom: 1px dotted #ccc;
              }

/* 孫  */
            nav#pageNav  ul  li  ul  li.page_item_has_children ul li { 
                margin:  0 0 0 20px;
            }


    nav#pageNav {
        display: block;
        width: 100%;
        height: auto;
        padding: 0 40px;
        margin: 0 auto;
    }

    nav#pageNav ul li a:hover {
		background: #eee;
		font-weight: bolder;
    }




/* ------------------------------ footer-nav ------------------------------ */

        nav#footer-nav {
          display: block;
          width:100%;
          padding: 20px 0;
          margin: 0;
        }
          nav#footer-nav ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            width: 100%;
            margin: 0 auto;
            padding: 0 0;
            background: none;
          }
            nav#footer-nav ul li {
              display: block;
              position: relative;
              background: none;
            }
            nav#footer-nav ul li a {
              display: flex;
              align-items: center;
              justify-content: space-around;
              font-size: 0.9rem;
              letter-spacing: 0;
              height: auto;
              color: #eee;
              font-weight: normal;
              list-style: none;
              text-decoration: none; 
              padding: 1rem;
              margin: 0;
              border: none;
              position: inherit;
            }
              /*  Hover Effect  */
              nav#footer-nav ul li a:hover {
                font-weight: bold;
              }
              /*  allow Effect remove  */
              nav#footer-nav ul li a::after{
                content: "";
                position: inherit;
                height: 0;
                border: none;
                margin: 0;
              }

	/* 親 */
        nav#footer-nav > ul > li.menu-item-has-children > a,
        nav#footer-nav > ul > li.menu-item-object-page > a,
        nav#footer-nav > ul > li > a { 
          font-weight: 200;
          font-size: 0.8rem;
          letter-spacing: 0;
          min-height: 2rem;
          margin: 0;
        }

    /* 子 */
        nav#footer-nav .sub-menu {
          margin: 0;
          padding: 0;
        }		
        nav#footer-nav .sub-menu .sub-menu {
          margin: 0;
          padding: 0 0 0 1rem;
        }		
          nav#footer-nav ul li ul li a::after {
            content: "";
            position: static;
            border:none;
            transform: none;
            margin: auto;
          }		
              nav#footer-nav ul li ul li:last-child {
                border: none!important;
              }
                nav#footer-nav ul li.current-menu-item > a {
                  font-weight: bold;
                  color: #fff;
                  background: #6D685F;
                }



/* ------------------------------ footer-subnav ------------------------------ */

        nav#footer-subnav {
          display: block;
          width: 100%;
          height: auto;
          padding: 20px 0;
          margin: 0 auto;
        }        
          nav#footer-subnav ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;

            width: 100%;
            height: auto;
            margin: 0 auto;
            padding: 0 0;
          }
          nav#footer-subnav ul li {
            flex: 1 0 0%;
            height: auto;
            position: relative;
          }
              nav#footer-subnav ul li:last-child {
                  /*border-right: 0;*/
              }


            nav#footer-subnav ul li a {
              display: flex;
              align-items: center;
              justify-content: center;

              font-size: 0.8rem;
              height: auto;
              color: #fff;
              font-weight: normal;
              list-style: none;
              text-decoration: none; 
              text-align: center;

              padding: 1rem;
              transition: all  0.4s ease;

              border: none;
              position: inherit;
            }
              /*  Hover Effect  */
              nav#footer-subnav ul li a:hover {
                font-weight: bold;
              }
              /*  allow Effect remove  */
              nav#footer-subnav ul li a::after{
                    content: "";
                    position: inherit;
                    height: 0;
                    border: none;
                    margin: 0;
                  }


