.container {
  @media (min-width:768px) {
   /*padding-top: 50px;*/
  }
  @media (max-width: 767px) {
    padding: 0 15px;
  }
  &.under {
    @media (min-width:768px) {
      padding-top: 80px;
    }
  }
}
*{
  +.sitemap_h3 {
    margin-top: 80px;
    @media (max-width: 767px) {
      margin-top: 50px;
    }
  }
}
.sitemap_h3 {
    border: none !important;
    padding-bottom:0 !important;
    margin-bottom: 0;
    line-height: 1.3;
    color: #222;
    font-weight: bold;
    font-family: 'YuGothic-Bold';
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: none;
    padding-left: 18px;
    padding-bottom: 0;
    margin-bottom: 0;

    @media (max-width: 767px) {
      padding-left: 11px !important;
    }

    >span {
      position: relative;
      display: inline-block;
      padding-right: 45px;
      font-size: 28px;

      @media (max-width: 767px) {
        font-size: 21px;
        padding-right: 30px;
      }

    }
    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 2px;
        height: 105%;
        background-color: #861c3c;
    }
    a {
      position: relative;
      display: inline-block;
      padding-right: 45px;

      @media (max-width: 767px) {
        padding-right: 30px;
      }

      @media print, screen and (min-width: 768px) {
        &:hover {
          &::after {
            transform: scale(1);
            transform-origin: left top;
          }
        }
      }
      span {
        font-size: 28px;
        @media (max-width: 767px) {
          font-size: 21px;
        }
        &::after {
          content: "";
          position: absolute;
          bottom: 12px;
          right: 0px;
          width: 34px;
          height: 13px;
          background: url(/cmn/img/arrow-lg.svg) 50% / cover no-repeat;


        }
        @media (max-width: 767px) {
          &::after {
            width: 23px;
            height: 8px;
            bottom: 10px;
          }
        }
      }
      &::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 100%;
        height: 1px;
        background: #3e3a39;
        transform: scaleX(0);
        transform-origin: right top;
        transition: transform .5s ease;
      }

      &[target="_blank"]{
        span {
        &::after {
          content: '';
          background: url(/cmn/img/icon-blank.svg) no-repeat;
          position: absolute;
          width: 16px;
          height: 16px;
          top: 50%;
          right: 0;
          -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
        }
        @media (max-width: 767px) {

            &::after {
              width: 12px;
              height: 12px;
              top: calc(50% - 2px);
            }
          }

        }
      }
    }
}

#sitemap {
  .under .module__inner .mod-linkArea ul{
    gap: 30px 20px;
    @media (max-width: 767px) {
      gap: 30px 10px;
    }
  }
  .under .module__inner .mod-linkArea.mod-linkArea--sm {
    .sitemap-s-list {
      >li {
        /*
        width: calc((100% - 100px) / 6);
        @media (max-width: 767px) {
          width: calc((100% - 10px) / 2);
        }*/
      }
    }
  }
  .under .module__inner .mod-linkArea ul li {
    width: calc((100% - 60px) / 4);
    margin-right: 0;
    margin-bottom: 0;
    @media (max-width: 767px) {
      width: calc((100% - 10px) / 2);
    }
    >a {
      &[target="_blank"]{
        &::after {
          content: '';
          background: url(/cmn/img/icon-blank.svg) no-repeat;
          position: absolute;
          width: 10px;
          height: 10px;
          top: calc(50% - 5px);
          right: 0;
          -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
        }
      }
      &[href$=".pdf"] {
        &::after {
          content: 'PDF';
          background: none;
          border: 1px solid #c30e1e;
          color: #c30e1e;
          font-size: 10px;
          padding: 1px 8px;
          top: 0;
          margin-left: 10px;
          width: auto;
          height: auto;
          display: inline-block;
        }
      }
    }
  }
  .sitemap-s-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 0 35px;
    @media (max-width: 767px) {
      margin-top: 20px;
      gap: 0 15px;
    }
    >li {
      /*width: calc((100% - 100px) / 6);*/
      @media (max-width: 767px) {
        margin-bottom: 20px;
        /*width: calc((100% - 15px) / 2);*/
      }

    }

    .spacer {
      width: 100%;
    }

  }
}