@charset "UTF-8";
/*
---------------------------------------------------------------------------------------------------------------------
ヘッダー
---------------------------------------------------------------------------------------------------------------------
*/
#header {
  position: fixed;
  z-index: 100;
  height: 0;
  top: 0; }
  #header .header-logo {
    margin: 0;
    width: 80px;
    height: 80px;
    background-color: #008442;
    border-bottom-right-radius: 15px;
    position: relative; }
    @media (min-width: 768px) {
      #header .header-logo {
        width: 100px;
        height: 86px; } }
    @media (min-width: 1250px) {
      #header .header-logo {
        width: 140px;
        height: 100px; } }
    #header .header-logo a {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: center; }
      #header .header-logo a img {
        width: 70px; }
        @media (min-width: 768px) {
          #header .header-logo a img {
            width: 80px; } }
        @media (min-width: 1250px) {
          #header .header-logo a img {
            width: 120px; } }
  #header .main-menu {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 3%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: end;
    transition: .5s;
    width: calc(100% - 80px);
    background-color: #008442;
    height: 55px;
    /*hoverしたら表示*/ }
    @media (min-width: 768px) {
      #header .main-menu {
        width: calc(100% - 100px);
        height: 60px; } }
    @media (min-width: 1250px) {
      #header .main-menu {
        width: calc(100% - 140px);
        height: 70px; } }
    #header .main-menu::before {
      position: absolute;
      bottom: -15px;
      left: 0;
      width: 15px;
      height: 15px;
      background-color: #008442;
      content: "";
      clip-path: path("M0,15h0V0h15C11.1,0,7.3,1.7,4.4,4.4,1.7,7.3,0,11,0,15Z"); }
    #header .main-menu .name {
      position: absolute;
      left: 5px; }
      #header .main-menu .name p {
        font-size: 1.0em;
        font-weight: bold;
        line-height: 1.0em; }
        #header .main-menu .name p a {
          color: #fff; }
    #header .main-menu nav {
      display: none;
      /*2階層目以降は横並びにしない*/ }
      @media (min-width: 1024px) {
        #header .main-menu nav {
          display: flex;
          align-items: center; } }
      #header .main-menu nav ul {
        margin: 0;
        display: flex;
        align-items: center; }
        #header .main-menu nav ul li {
          margin-right: 20px;
          position: relative; }
          @media (min-width: 1250px) {
            #header .main-menu nav ul li {
              margin-right: 30px; } }
          #header .main-menu nav ul li:nth-child(3) {
            margin-right: 30px; }
            @media (min-width: 1250px) {
              #header .main-menu nav ul li:nth-child(3) {
                margin-right: 40px; } }
          #header .main-menu nav ul li a {
            color: #fff;
            font-size: 0.8em;
            font-weight: 700;
            position: relative;
            display: inline-block;
            transition: .3s;
            text-decoration: none; }
            @media (min-width: 1250px) {
              #header .main-menu nav ul li a {
                font-size: 0.9em; } }
            #header .main-menu nav ul li a::after {
              position: absolute;
              bottom: 0;
              left: 0;
              content: '';
              width: 0;
              height: 1px;
              background-color: #fff;
              transition: .3s; }
            #header .main-menu nav ul li a:hover::after {
              width: 100%; }
          #header .main-menu nav ul li li {
            margin-right: 0; }
            #header .main-menu nav ul li li:nth-child(2) {
              margin-right: 0; }
            #header .main-menu nav ul li li:nth-child(3) {
              margin-right: 0; }
            #header .main-menu nav ul li li:last-child {
              margin-right: 0; }
            #header .main-menu nav ul li li a {
              padding: 10px 10px; }
              #header .main-menu nav ul li li a::after {
                background-color: rgba(0, 0, 0, 0); }
          #header .main-menu nav ul li.has-child::before {
            content: '';
            position: absolute;
            right: -10px;
            top: 9px;
            width: 6px;
            height: 6px;
            border-top: 1px solid #fff;
            border-right: 1px solid #fff;
            transform: rotate(135deg); }
            @media (min-width: 1250px) {
              #header .main-menu nav ul li.has-child::before {
                right: -14px;
                top: 8px; } }
      #header .main-menu nav ul ul {
        display: block; }
      #header .main-menu nav li.has-child ul {
        position: absolute;
        left: -20px;
        top: 30px;
        z-index: 4;
        background-color: #fff;
        border: 3px solid #008442;
        visibility: hidden;
        opacity: 0;
        transition: all .3s;
        border-radius: 10px;
        padding: 5px 10px; }
        #header .main-menu nav li.has-child ul li {
          position: relative; }
          #header .main-menu nav li.has-child ul li:nth-child(4) {
            border-bottom: solid 1px rgba(0, 0, 0, 0.2);
            padding: 0 0 5px 0; }
          #header .main-menu nav li.has-child ul li:nth-child(5) {
            border-bottom: solid 1px rgba(0, 0, 0, 0.2); }
            #header .main-menu nav li.has-child ul li:nth-child(5) a {
              padding: 10px; }
          #header .main-menu nav li.has-child ul li:nth-child(6) a {
            padding: 10px; }
          #header .main-menu nav li.has-child ul li a {
            color: #000;
            width: 180px;
            font-size: 0.8em;
            padding: 5px 10px; }
          #header .main-menu nav li.has-child ul li::after {
            position: absolute;
            top: 50%;
            left: inherit;
            right: 8px;
            content: '';
            margin: -2px 0 0 16px;
            width: 6px;
            height: 6px;
            border: 0px;
            border-top: solid 1px #000;
            border-right: solid 1px #000;
            -ms-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
            transition: .5s; }
        #header .main-menu nav li.has-child ul li:last-child > a {
          border-bottom: none; }
      #header .main-menu nav .header-btn:hover a::after {
        right: 7px; }
      #header .main-menu nav .header-btn a {
        font-size: 1.0em;
        font-weight: bold;
        display: inline-block;
        width: 160px;
        height: 45px;
        line-height: 43px;
        text-align: center;
        border-radius: 10px;
        background-color: #fff;
        transition: .5s;
        position: relative;
        color: #008442;
        padding-right: 15px; }
        #header .main-menu nav .header-btn a::after {
          position: absolute;
          top: 50%;
          right: 15px;
          content: '';
          margin-top: -3px;
          width: 6px;
          height: 6px;
          border: 0px;
          border-top: solid 1px #008442;
          border-right: solid 1px #008442;
          -ms-transform: rotate(45deg);
          -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
          transition: .5s; }
    #header .main-menu nav li.has-child:hover > ul,
    #header .main-menu nav li.has-child ul li:hover > ul,
    #header .main-menu nav li.has-child:active > ul,
    #header .main-menu nav li.has-child ul li:active > ul {
      visibility: visible;
      opacity: 1; }
    #header .main-menu nav li.has-child ul li a:hover,
    #header .main-menu nav li.has-child ul li a:active {
      color: #008442; }
    #header .main-menu nav li.has-child ul li:hover::after {
      left: inherit;
      right: 3px;
      border-top: solid 1px #008442;
      border-right: solid 1px #008442; }
  #header .openbtn {
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 55px;
    height: 55px;
    z-index: 1000;
    transition: .5s;
    /*activeクラスが付与されると線が回転して×に*/ }
    @media (min-width: 768px) {
      #header .openbtn {
        width: 60px;
        height: 60px; } }
    @media (min-width: 1024px) {
      #header .openbtn {
        display: none; } }
    #header .openbtn span {
      display: inline-block;
      transition: all .4s;
      /*アニメーションの設定*/
      position: absolute;
      left: 14px;
      height: 2px;
      background: #fff;
      width: 28px; }
      @media (min-width: 768px) {
        #header .openbtn span {
          left: 15px;
          width: 30px; } }
      #header .openbtn span:nth-child(1) {
        top: 13px; }
        @media (min-width: 768px) {
          #header .openbtn span:nth-child(1) {
            top: 17px; } }
      #header .openbtn span:nth-child(2) {
        top: 20px; }
        @media (min-width: 768px) {
          #header .openbtn span:nth-child(2) {
            top: 24px; } }
      #header .openbtn span:nth-child(3) {
        top: 27px; }
        @media (min-width: 768px) {
          #header .openbtn span:nth-child(3) {
            top: 31px; } }
      #header .openbtn span:nth-of-type(3)::after {
        content: "MENU";
        position: absolute;
        top: 2px;
        left: 0px;
        color: #fff;
        font-size: 0.82em;
        text-transform: uppercase;
        font-family: "Anton", sans-serif;
        font-weight: 400;
        font-style: normal; }
        @media (min-width: 768px) {
          #header .openbtn span:nth-of-type(3)::after {
            font-size: 0.9em; } }
    #header .openbtn.active span {
      width: 24px;
      left: 16px; }
      @media (min-width: 768px) {
        #header .openbtn.active span {
          left: 20px;
          width: 24px; } }
    #header .openbtn.active span:nth-of-type(1) {
      top: 16px;
      transform: translateY(6px) rotate(-45deg); }
      @media (min-width: 768px) {
        #header .openbtn.active span:nth-of-type(1) {
          top: 18px; } }
    #header .openbtn.active span:nth-of-type(2) {
      opacity: 0; }
    #header .openbtn.active span:nth-of-type(3) {
      top: 28px;
      transform: translateY(-6px) rotate(45deg); }
      @media (min-width: 768px) {
        #header .openbtn.active span:nth-of-type(3) {
          top: 30px; } }
    #header .openbtn.active span:nth-of-type(3)::after {
      content: "CLOSE";
      transform: translateY(0) rotate(-45deg);
      top: 5px;
      left: 10px; }
      @media (min-width: 768px) {
        #header .openbtn.active span:nth-of-type(3)::after {
          top: 5px;
          left: 9px; } }

#footer {
  background-color: #008442;
  position: relative;
  bottom: -2em;
  padding: 40px 0 20px; }
  @media (min-width: 1024px) {
    #footer {
      padding: 80px 0 60px; } }
  #footer .footer-in {
    margin: auto;
    width: 90%; }
    @media (min-width: 768px) {
      #footer .footer-in {
        display: flex;
        align-items: center;
        justify-content: center; } }
    #footer .footer-in .footer-L {
      width: 120px;
      margin: auto; }
      @media (min-width: 768px) {
        #footer .footer-in .footer-L {
          margin: unset; } }
      @media (min-width: 1024px) {
        #footer .footer-in .footer-L {
          width: 180px; } }
    #footer .footer-in .footer-R {
      color: #fff;
      text-align: center;
      margin-top: 10px; }
      @media (min-width: 768px) {
        #footer .footer-in .footer-R {
          text-align: left;
          margin: 0 0 0 10px; } }
      @media (min-width: 1024px) {
        #footer .footer-in .footer-R {
          text-align: left;
          margin: 0 0 0 20px; } }
      #footer .footer-in .footer-R .txt h2 {
        font-size: 1.25em; }
        @media (min-width: 1024px) {
          #footer .footer-in .footer-R .txt h2 {
            font-size: 1.56em; } }
      #footer .footer-in .footer-R .txt ul {
        margin-top: 5px; }
        @media (min-width: 1024px) {
          #footer .footer-in .footer-R .txt ul {
            margin-top: 10px; } }
        #footer .footer-in .footer-R .txt ul li {
          font-size: 0.9em;
          line-height: 1.4em; }
          @media (min-width: 1024px) {
            #footer .footer-in .footer-R .txt ul li {
              font-size: 1.125em; } }
  #footer .copylight {
    margin-top: 20px;
    text-align: center; }
    @media (min-width: 768px) {
      #footer .copylight {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 30px; } }
    #footer .copylight h6 {
      font-size: 0.8em;
      font-weight: normal;
      margin-bottom: 20px; }
      @media (min-width: 768px) {
        #footer .copylight h6 {
          margin: 0 20px 0 0; } }
      @media (min-width: 1024px) {
        #footer .copylight h6 {
          font-size: 0.9em; } }
      #footer .copylight h6 a {
        color: #fff;
        position: relative; }
        #footer .copylight h6 a::after {
          position: absolute;
          bottom: 0;
          left: 0;
          content: '';
          width: 100%;
          height: 1px;
          background: #fff;
          transform: scale(0, 1);
          transform-origin: right top;
          transition: transform .3s; }
        #footer .copylight h6 a:hover::after {
          transform-origin: left top;
          transform: scale(1, 1); }
    #footer .copylight p {
      font-size: 0.7em;
      color: #fff; }
      @media (min-width: 1024px) {
        #footer .copylight p {
          font-size: 0.8em; } }
